Searched refs:offer (Results 1 - 25 of 75) sorted by relevance

123

/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 DGroupedLinkedMap.java29 key.offer();
41 key.offer();
63 last.key.offer();
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 Dtransportdescriptionfactory_unittest.cc72 // This test ice restart by doing two offer answer exchanges. On the second
74 // in the offer and answer is changed.
88 // The initial offer / answer exchange.
89 rtc::scoped_ptr<TransportDescription> offer(f1_.CreateOffer(
92 f2_.CreateAnswer(offer.get(),
95 // Create an updated offer where we restart ice.
98 options, offer.get()));
100 VerifyUfragAndPasswordChanged(dtls, offer.get(), restart_offer.get());
136 // Test that in the default case, we generate the expected G-ICE offer.
144 // Test generating a hybrid offer
[all...]
H A Dtransportdescriptionfactory.h63 // Creates a transport description suitable for use in an offer.
66 // Create a transport description that is a response to an offer.
68 const TransportDescription* offer,
/external/chromium_org/third_party/webrtc/tools/rtcbot/test/
H A Dsimple_offer_answer.js9 // Test that offer/answer between 2 peers completes successfully.
27 function gotOffer(offer) {
28 test.log("Got offer");
30 pc1.setLocalDescription(offer, expectedCall, test.fail);
31 pc2.setRemoteDescription(offer, expectedCall, test.fail);
H A Dwebrtc_video_streaming.js66 test.log("Creating offer.");
69 function gotOffer(offer) {
70 test.log("Got offer");
71 pc1.setLocalDescription(offer, onSetSessionDescriptionSuccess, test.fail);
72 pc2.setRemoteDescription(offer, onSetSessionDescriptionSuccess,
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DQueueOfferTester.java25 * A generic JUnit test which tests offer operations on a queue. Can't be
37 assertTrue("offer(notPresent) should return true",
38 getQueue().offer(samples.e3));
44 assertTrue("offer(null) should return true", getQueue().offer(null));
51 getQueue().offer(null);
52 fail("offer(null) should throw");
57 "Should not contain null after unsupported offer(null)");
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
H A Dwebrtcsession_unittest.cc382 // Creates a local offer and applies it. Starts ice.
386 SessionDescriptionInterface* offer = CreateOffer(); local
387 SetLocalDescriptionWithoutError(offer);
518 JsepSessionDescription* offer(
520 ASSERT_TRUE(offer != NULL);
521 VerifyNoCryptoParams(offer->description(), false);
523 offer);
525 // Answer should be NULL as no crypto params in offer.
533 scoped_ptr<JsepSessionDescription> offer(
535 ASSERT_TRUE(offer
552 SessionDescriptionInterface* offer = CreateOffer(); local
652 SessionDescriptionInterface* offer = CreateRemoteOffer(); local
719 CreateCryptoOfferAndNonCryptoAnswer(SessionDescriptionInterface** offer, SessionDescriptionInterface** nocrypto_answer) argument
734 CreateDtlsOfferAndNonDtlsAnswer(SessionDescriptionInterface** offer, SessionDescriptionInterface** nodtls_answer) argument
817 JsepSessionDescription* offer = new JsepSessionDescription( local
832 CreateRemoteAnswer( const SessionDescriptionInterface* offer, cricket::MediaSessionOptions options, cricket::SecurePolicy policy) argument
850 CreateRemoteAnswer( const SessionDescriptionInterface* offer, cricket::MediaSessionOptions options) argument
860 CreateRemoteAnswer( const SessionDescriptionInterface* offer) argument
875 SessionDescriptionInterface* offer = CreateOffer(options); local
945 SessionDescriptionInterface* offer = CreateOffer(); local
1045 SessionDescriptionInterface* offer = CreateOffer(); local
1228 SessionDescriptionInterface* offer = NULL; local
1240 SessionDescriptionInterface* offer = CreateOffer(); local
1294 SessionDescriptionInterface* offer = CreateOffer(); local
1351 SessionDescriptionInterface* offer = CreateOffer(); local
1397 JsepSessionDescription* offer = CreateRemoteOffer( local
1413 SessionDescriptionInterface* offer = NULL; local
1426 SessionDescriptionInterface* offer = NULL; local
1444 JsepSessionDescription* offer = local
1473 SessionDescriptionInterface* offer = CreateOffer(); local
1502 JsepSessionDescription* offer = CreateRemoteOffer( local
1523 SessionDescriptionInterface* offer = NULL; local
1539 SessionDescriptionInterface* offer = CreateOffer(); local
1560 SessionDescriptionInterface* offer = CreateOffer(); local
1589 JsepSessionDescription* offer = local
1613 SessionDescriptionInterface* offer = CreateOffer(); local
1625 SessionDescriptionInterface* offer = CreateOffer(); local
1635 SessionDescriptionInterface* offer = CreateOffer(); local
1645 SessionDescriptionInterface* offer = CreateOffer(); local
1655 SessionDescriptionInterface* offer = CreateRemoteOffer(); local
1678 SessionDescriptionInterface* offer = CreateOffer(); local
1735 SessionDescriptionInterface* offer = CreateOffer(); local
1795 SessionDescriptionInterface* offer = CreateRemoteOffer(); local
1869 SessionDescriptionInterface* offer = CreateOffer(); local
2076 SessionDescriptionInterface* offer = CreateOffer(); local
2241 SessionDescriptionInterface* offer = CreateOffer(); local
2297 SessionDescriptionInterface* offer = CreateOffer(); local
2477 SessionDescriptionInterface* offer = CreateOffer(options); local
2518 SessionDescriptionInterface* offer = CreateOffer(options); local
2688 SessionDescriptionInterface* offer = CreateOffer(); local
2700 SessionDescriptionInterface* offer = CreateRemoteOffer(); local
2714 SessionDescriptionInterface* offer = CreateOffer(); local
2736 SessionDescriptionInterface* offer = CreateOffer(); local
2750 SessionDescriptionInterface* offer = CreateOffer(); local
2772 SessionDescriptionInterface* offer = CreateOffer(); local
2817 SessionDescriptionInterface* offer = CreateOffer(); local
2865 SessionDescriptionInterface* offer = CreateRemoteOffer(); local
2886 SessionDescriptionInterface* offer = CreateRemoteOffer(); local
3016 SessionDescriptionInterface* offer = CreateOffer(); local
3059 SessionDescriptionInterface* offer = CreateRemoteOffer(options); local
3113 JsepSessionDescription* offer = local
3165 JsepSessionDescription* offer = CreateRemoteOfferWithSctpPort( local
3329 SessionDescriptionInterface* offer = CreateOffer(); local
3355 SessionDescriptionInterface* offer = CreateOffer(); local
3384 SessionDescriptionInterface* offer = CreateOffer(); local
3405 SessionDescriptionInterface* offer = CreateOffer(); local
3435 SessionDescriptionInterface* offer = CreateOffer(); local
[all...]
H A Dpeerconnectioninterface_unittest.cc363 bool DoCreateOfferAnswer(SessionDescriptionInterface** desc, bool offer) { argument
367 if (offer) {
441 rtc::scoped_ptr<SessionDescriptionInterface> offer; local
442 EXPECT_TRUE(DoCreateOffer(offer.use()));
444 EXPECT_TRUE(offer->ToString(&sdp));
493 rtc::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
1200 rtc::scoped_ptr<SessionDescriptionInterface> offer; local
[all...]
/external/dhcpcd/
H A Dipv4ll.c102 if (iface->state->offer == NULL)
105 addr = iface->state->offer->yiaddr;
106 free(iface->state->offer);
115 iface->state->offer = find_ipv4ll_lease(addr);
117 iface->state->offer = make_ipv4ll_lease(addr);
145 free(iface->state->offer);
146 iface->state->offer = NULL;
H A Darp.c84 if ((iface->state->offer != NULL &&
85 iface->state->offer->cookie != htonl(MAGIC_COOKIE)) ||
176 if (state->offer &&
177 (reply_s == state->offer->yiaddr ||
178 (reply_s == 0 && reply_t == state->offer->yiaddr)))
179 state->fail.s_addr = state->offer->yiaddr;
259 } else if (state->offer) {
260 if (state->offer->yiaddr)
261 addr.s_addr = state->offer->yiaddr;
263 addr.s_addr = state->offer
[all...]
/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
/external/chromium_org/third_party/libjingle/source/talk/session/media/
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 Dmediasession_unittest.cc254 void TestTransportInfo(bool offer, const MediaSessionOptions& options, argument
282 if (offer) {
285 rtc::scoped_ptr<SessionDescription> offer; local
286 offer.reset(f1_.CreateOffer(options, NULL));
287 desc.reset(f1_.CreateAnswer(offer.get(), options, current_desc.get()));
352 void TestCryptoWithBundle(bool offer) { argument
360 if (offer) {
402 // |expected_direction_in_answer| in an answer if the offer direction is set
409 rtc::scoped_ptr<SessionDescription> offer(
411 ASSERT_TRUE(offer
1003 rtc::scoped_ptr<SessionDescription> offer; local
1949 rtc::scoped_ptr<SessionDescription> offer, answer; local
2070 rtc::scoped_ptr<SessionDescription> offer, answer; local
[all...]
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
931 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
1239 CreateAnswer( const SessionDescription* offer, const MediaSessionOptions& options, const SessionDescription* current_description) const argument
1570 AddAudioContentForAnswer( const SessionDescription* offer, const MediaSessionOptions& options, const SessionDescription* current_description, StreamParamsVec* current_streams, SessionDescription* answer) const argument
1630 AddVideoContentForAnswer( const SessionDescription* offer, const MediaSessionOptions& options, const SessionDescription* current_description, StreamParamsVec* current_streams, SessionDescription* answer) const argument
1686 AddDataContentForAnswer( const SessionDescription* offer, const MediaSessionOptions& options, const SessionDescription* current_description, StreamParamsVec* current_streams, SessionDescription* answer) const argument
[all...]
/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/glide/library/src/main/java/com/bumptech/glide/util/
H A DByteArrayPool.java54 tempQueue.offer(bytes);
/external/guava/guava/src/com/google/common/eventbus/
H A DAsyncEventBus.java66 eventsToDispatch.offer(new EventWithHandler(event, handler));
/external/smack/src/org/jivesoftware/smackx/muc/
H A DConnectionDetachedPacketCollector.java118 while (!resultQueue.offer(packet)) {
/external/chromium_org/third_party/libjingle/source/talk/session/tunnel/
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/chromium_org/components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/
H A DSignalingThreadMock.java75 boolean success = mExecutionQueue.offer(new PostWrapper(runnable));
144 boolean success = mExecutionQueue.offer(this);
/external/chromium_org/sync/js/
H A DREADME.js8 offer better safety guarantees, and to dispatch requests to different threads.

Completed in 2343 milliseconds

123