Searched defs:offer (Results 1 - 25 of 34) sorted by relevance

12

/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
H A DPoolable.java4 public void offer(); method in interface:Poolable
H A DBaseKeyPool.java29 public void offer(T key) { method in class:BaseKeyPool
31 keyPool.offer(key);
H A DAttributeStrategy.java117 public void offer() { method in class:AttributeStrategy.Key
118 pool.offer(this);
H A DSizeStrategy.java36 keyPool.offer(key);
175 public void offer() { method in class:SizeStrategy.Key
176 pool.offer(this);
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dtransportdescriptionfactory.cc84 const TransportDescription* offer,
87 // A NULL offer is treated as a GICE transport description.
94 if (offer && offer->transport_type == NS_JINGLE_ICE_UDP &&
98 } else if (offer && offer->transport_type == NS_JINGLE_ICE_UDP &&
99 offer->HasOption(ICE_OPTION_GICE) &&
103 } else if ((!offer || offer->transport_type == NS_GINGLE_P2P) &&
125 if (offer
83 CreateAnswer( const TransportDescription* offer, const TransportOptions& options, const TransportDescription* current_description) const argument
[all...]
H A Dtransport.cc321 // As Transport must know TD is offer or answer and cricket::Transport
775 // session renegotiation, the new offer will have the google-ice ICE option,
809 const TransportDescription* offer; local
813 offer = local_description_.get();
816 offer = remote_description_.get();
820 TransportProtocol offer_proto = TransportProtocolFromDescription(offer);
/external/guava/guava/src/com/google/common/collect/
H A DForwardingQueue.java34 * #offer} which can lead to unexpected behavior. In this case, you should
35 * override {@code offer} as well, either providing your own implementation, or
55 public boolean offer(E o) { method in class:ForwardingQueue
56 return delegate().offer(o);
80 * A sensible definition of {@link #offer} in terms of {@link #add}. If you
81 * override {@link #add}, you may wish to override {@link #offer} to forward
H A DMinMaxPriorityQueue.java74 * <li>The enqueing and dequeing operations ({@link #offer}, {@link #add}, and
208 queue.offer(element);
251 offer(element);
258 offer(element);
270 @Override public boolean offer(E element) { method in class:MinMaxPriorityQueue
/external/guava/guava/src/com/google/common/util/concurrent/
H A DForwardingBlockingQueue.java53 @Override public boolean offer(E e, long timeout, TimeUnit unit) method in class:ForwardingBlockingQueue
55 return delegate().offer(e, timeout, unit);
/external/chromium_org/third_party/libjingle/source/talk/session/media/
H A Dmediasessionclient.h128 SessionDescription* CreateAnswer(const SessionDescription* offer, argument
130 return desc_factory_.CreateAnswer(offer, options, NULL);
H A Dsrtpfilter_unittest.cc148 std::vector<CryptoParams> offer(MakeVector(kTestCryptoParams1));
150 offer.push_back(kTestCryptoParams1);
151 offer[1].tag = 2;
152 offer[1].cipher_suite = CS_AES_CM_128_HMAC_SHA1_32;
155 EXPECT_TRUE(f1_.SetOffer(offer, CS_LOCAL));
162 std::vector<CryptoParams> offer, answer; local
163 EXPECT_TRUE(f1_.SetOffer(offer, CS_LOCAL));
178 std::vector<CryptoParams> offer(MakeVector(kTestCryptoParams1));
182 EXPECT_TRUE(f1_.SetOffer(offer, CS_LOCAL));
187 // Test that we can set offer multipl
226 std::vector<CryptoParams> offer; local
[all...]
H A Dcall.cc131 void Call::IncomingSession(Session* session, const SessionDescription* offer) { argument
132 AddSession(session, offer);
137 UpdateRemoteMediaStreams(session, offer->contents(), false);
260 bool Call::AddSession(Session* session, const SessionDescription* offer) { argument
269 const ContentInfo* audio_offer = GetFirstAudioContent(offer);
270 const ContentInfo* video_offer = GetFirstVideoContent(offer);
271 const ContentInfo* data_offer = GetFirstDataContent(offer);
306 const DataContentDescription* data = GetFirstDataContentDescription(offer);
1104 const SessionDescription* offer = session_client_->CreateOffer(options); local
1113 AddSession(session, offer);
[all...]
H A Dmediasession_unittest.cc238 void TestTransportInfo(bool offer, const MediaSessionOptions& options, argument
266 if (offer) {
269 talk_base::scoped_ptr<SessionDescription> offer; local
270 offer.reset(f1_.CreateOffer(options, NULL));
271 desc.reset(f1_.CreateAnswer(offer.get(), options, current_desc.get()));
336 void TestCryptoWithBundle(bool offer) { argument
344 if (offer) {
386 // |expected_direction_in_answer| in an answer if the offer direction is set
393 talk_base::scoped_ptr<SessionDescription> offer(
395 ASSERT_TRUE(offer
915 talk_base::scoped_ptr<SessionDescription> offer; local
1859 talk_base::scoped_ptr<SessionDescription> offer, answer; local
1980 talk_base::scoped_ptr<SessionDescription> offer, answer; local
[all...]
H A Dmediasessionclient.cc134 const SessionDescription* offer = session->remote_description(); local
135 const SessionDescription* accept = CreateAnswer(offer, CallOptions());
161 call->IncomingSession(session, offer);
H A Dmediasession.cc182 static bool SelectCrypto(const MediaContentDescription* offer, argument
185 bool audio = offer->type() == MEDIA_TYPE_AUDIO;
186 const CryptoParamsVec& cryptos = offer->cryptos();
707 // stream is created. The created content is added to the offer.
718 MediaContentDescriptionImpl<C>* offer) {
719 offer->AddCodecs(codecs);
720 offer->SortCodecs();
723 offer->set_crypto_required(CT_SDES);
725 offer->set_rtcp_mux(options.rtcp_mux_enabled);
726 offer
709 CreateMediaContentOffer( const MediaSessionOptions& options, const std::vector<C>& codecs, const SecurePolicy& secure_policy, const CryptoParamsVec* current_cryptos, const std::vector<std::string>& crypto_suites, const RtpHeaderExtensions& rtp_extensions, bool add_legacy_stream, StreamParamsVec* current_streams, MediaContentDescriptionImpl<C>* offer) argument
926 CreateMediaContentAnswer( const MediaContentDescriptionImpl<C>* offer, const MediaSessionOptions& options, const std::vector<C>& local_codecs, const SecurePolicy& sdes_policy, const CryptoParamsVec* current_cryptos, const RtpHeaderExtensions& local_rtp_extenstions, StreamParamsVec* current_streams, bool add_legacy_stream, bool bundle_enabled, MediaContentDescriptionImpl<C>* answer) argument
1296 CreateAnswer( const SessionDescription* offer, const MediaSessionOptions& options, const SessionDescription* current_description) const argument
[all...]
/external/chromium_org/third_party/libjingle/source/talk/session/tunnel/
H A Dsecuretunnelsessionclient.cc290 const SessionDescription* offer) {
293 if (!FindSecureTunnelContent(offer, &content_name, &offer_tunnel))
289 CreateAnswer( const SessionDescription* offer) argument
H A Dtunnelsessionclient.cc189 SessionDescription* offer = CreateOffer(data->jid, data->description); local
190 if (offer == NULL) {
198 session->Initiate(data->jid.Str(), offer);
289 SessionDescription* offer = NewTunnelSessionDescription( local
295 offer->AddTransportInfo(TransportInfo(CN_TUNNEL, *tdesc));
297 delete offer;
298 offer = NULL;
300 return offer;
304 const SessionDescription* offer) {
307 if (!FindTunnelContent(offer,
303 CreateAnswer( const SessionDescription* offer) argument
[all...]
/external/guava/guava-tests/test/com/google/common/collect/
H A DForwardingQueueTest.java93 @Override public boolean offer(T o) { method in class:ForwardingQueueTest.StandardImplForwardingQueue
186 forward.offer("asdf");
187 assertEquals("[offer(Object)]", getCalls());
/external/qemu/slirp/
H A Dtcp_input.c1697 tcp_mss(struct tcpcb *tp, u_int offer) argument
1704 DEBUG_ARG("offer = %d", offer);
1707 if (offer)
1708 mss = min(mss, offer);
1710 if (mss < tp->t_maxseg || offer != 0)
/external/qemu/slirp-android/
H A Dtcp_input.c1703 tcp_mss(struct tcpcb *tp, u_int offer) argument
1710 DEBUG_ARG("offer = %d", offer);
1713 if (offer)
1714 mss = min(mss, offer);
1716 if (mss < tp->t_maxseg || offer != 0)
/external/chromium_org/chrome/browser/renderer_host/
H A Dchrome_resource_dispatcher_host_delegate.cc525 OneClickSigninHelper::Offer offer = local
527 switch (offer) {
/external/dhcpcd/
H A Ddhcpcd.h68 struct dhcp_message *offer; member in struct:if_state
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
H A Dpeerconnectioninterface_unittest.cc363 bool DoCreateOfferAnswer(SessionDescriptionInterface** desc, bool offer) { argument
367 if (offer) {
441 talk_base::scoped_ptr<SessionDescriptionInterface> offer; local
442 EXPECT_TRUE(DoCreateOffer(offer.use()));
444 EXPECT_TRUE(offer->ToString(&sdp));
493 talk_base::scoped_ptr<SessionDescriptionInterface> offer; local
494 ASSERT_TRUE(DoCreateOffer(offer.use()));
503 EXPECT_TRUE(offer->ToString(&sdp));
515 void CreateAnswerAsRemoteDescription(const std::string& offer) { argument
518 EXPECT_TRUE(answer->Initialize(offer, NUL
523 CreatePrAnswerAndAnswerAsRemoteDescription(const std::string& offer) argument
616 std::string offer; local
673 SessionDescriptionInterface* offer = NULL; local
694 SessionDescriptionInterface* offer = NULL; local
719 scoped_ptr<SessionDescriptionInterface> offer; local
1197 talk_base::scoped_ptr<SessionDescriptionInterface> offer; local
[all...]
H A Dpeerconnection_unittest.cc593 talk_base::scoped_ptr<SessionDescriptionInterface> offer; local
594 EXPECT_TRUE(DoCreateOffer(offer.use()));
596 if (offer->description()->GetContentByName("audio")) {
597 offer->description()->GetContentByName("audio")->rejected = !audio;
599 if (offer->description()->GetContentByName("video")) {
600 offer->description()->GetContentByName("video")->rejected = !video;
604 EXPECT_TRUE(offer->ToString(&sdp));
605 EXPECT_TRUE(DoSetLocalDescription(offer.release()));
749 webrtc::CreateSessionDescription("offer", msg, NULL));
770 bool offer) {
769 DoCreateOfferAnswer(SessionDescriptionInterface** desc, bool offer) argument
[all...]
H A Dwebrtcsession.cc78 // Compares |answer| against |offer|. Comparision is done
79 // for number of m-lines in answer against offer. If matches true will be
82 const SessionDescription* answer, const SessionDescription* offer) {
83 if (offer->contents().size() != answer->contents().size())
86 for (size_t i = 0; i < offer->contents().size(); ++i) {
87 if ((offer->contents()[i].name) != answer->contents()[i].name) {
92 offer->contents()[i].description);
739 // Transport and Media channels will be created only when offer is set.
780 // Transport and Media channels will be created only when offer is set.
883 << "without any offer (loca
81 VerifyMediaDescriptions( const SessionDescription* answer, const SessionDescription* offer) argument
[all...]

Completed in 1021 milliseconds

12