/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/ |
Poolable.java | 4 public void offer(); method in interface:Poolable
|
BaseKeyPool.java | 29 public void offer(T key) { method in class:BaseKeyPool 31 keyPool.offer(key);
|
/libcore/luni/src/main/java/java/util/ |
Queue.java | 35 * <td>{@link #offer offer(e)}</td> 61 * <p>The {@link #offer offer} method inserts an element if possible, 65 * <tt>offer</tt> method is designed for use when failure is a normal, 151 boolean offer(E e); method in interface:Queue
|
AbstractQueue.java | 18 * {@link #element element} are based on {@link #offer offer}, {@link 24 * minimally define a method {@link Queue#offer} which does not permit 51 * <p>This implementation returns <tt>true</tt> if <tt>offer</tt> succeeds, 66 if (offer(e))
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
transportdescriptionfactory.cc | 84 const TransportDescription* offer, 87 // A NULL offer is treated as a GICE transport description. 94 if (offer && offer->transport_type == NS_JINGLE_ICE_UDP && 96 // Offer is ICE or hybrid, we support ICE or hybrid: use ICE. 98 } else if (offer && offer->transport_type == NS_JINGLE_ICE_UDP && 99 offer->HasOption(ICE_OPTION_GICE) && 102 // Offer is hybrid, we support GICE: use GICE. 103 } else if ((!offer || offer->transport_type == NS_GINGLE_P2P) & [all...] |
transportdescriptionfactory_unittest.cc | 72 // 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...] |
transportdescriptionfactory.h | 63 // 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/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
QueueOfferTester.java | 25 * 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/ |
webrtcsession_unittest.cc | 382 // 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.get() != NULL) 552 SessionDescriptionInterface* offer = CreateOffer(); local 652 SessionDescriptionInterface* offer = CreateRemoteOffer(); local 817 JsepSessionDescription* offer = new JsepSessionDescription( local 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...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
BlockingQueue.java | 43 * <td>{@link #offer offer(e)}</td> 45 * <td>{@link #offer(Object, long, TimeUnit) offer(e, time, unit)}</td> 65 * to {@code add}, {@code put} or {@code offer} a {@code null}. A 158 * use {@link #offer(Object) offer}. 189 boolean offer(E e); method in interface:BlockingQueue 223 boolean offer(E e, long timeout, TimeUnit unit) method in interface:BlockingQueue
|
BlockingDeque.java | 113 * <td>{@link #offer(Object) offer(e)}</td> 121 * <td>{@link #offer(Object, long, TimeUnit) offer(e, time, unit)}</td> 408 * use {@link #offer(Object) offer}. 440 boolean offer(E e); method in interface:BlockingDeque 477 boolean offer(E e, long timeout, TimeUnit unit) method in interface:BlockingDeque
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
PooledCache.java | 23 void offer(V scrapValue); method in interface:PooledCache
|
/external/dhcpcd/ |
ipv4ll.c | 102 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;
|
arp.c | 84 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->ciaddr [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ForwardingQueue.java | 34 * #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/ |
srtpfilter_unittest.cc | 148 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 multiple times from the same source 226 std::vector<CryptoParams> offer; local [all...] |
mediasession_unittest.cc | 254 void TestTransportInfo(bool offer, const MediaSessionOptions& options, 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) { 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.get() != NULL) 1003 rtc::scoped_ptr<SessionDescription> offer; local 1949 rtc::scoped_ptr<SessionDescription> offer, answer; local 2070 rtc::scoped_ptr<SessionDescription> offer, answer; local [all...] |
mediasession.cc | 182 static bool SelectCrypto(const MediaContentDescription* offer, 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->set_multistream(options.is_muc) [all...] |
/external/chromium_org/third_party/webrtc/tools/rtcbot/test/ |
simple_offer_answer.js | 9 // 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);
|
webrtc_video_streaming.js | 66 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/src/com/google/common/util/concurrent/ |
ForwardingBlockingQueue.java | 53 @Override public boolean offer(E e, long timeout, TimeUnit unit) method in class:ForwardingBlockingQueue 55 return delegate().offer(e, timeout, unit);
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
SipAudioCall.java | 736 SimpleSessionDescription offer = 739 Media media = offer.newMedia( 745 if (DBG) log("createOffer: offer=" + offer); 746 return offer; 751 SimpleSessionDescription offer = 756 for (Media media : offer.getMedia()) { 788 } else if(offer.getAttribute("recvonly") != null) { 790 } else if(offer.getAttribute("sendonly") != null) { 812 SimpleSessionDescription offer = createContinueOffer() [all...] |
/art/test/114-ParallelGC/src/ |
Main.java | 63 checkTimeout(queues.get(0).offer(Boolean.TRUE, TIMEOUT_VALUE, TimeUnit.MINUTES)); method 133 checkTimeout(pushTo.offer(Boolean.FALSE, TIMEOUT_VALUE, TimeUnit.MINUTES)); 144 checkTimeout(pushTo.offer(Boolean.TRUE, TIMEOUT_VALUE, TimeUnit.MINUTES));
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
MyActivity.java | 45 if (mResult.offer(resultCode) == false) {
|
/external/glide/library/src/main/java/com/bumptech/glide/util/ |
ByteArrayPool.java | 54 tempQueue.offer(bytes);
|