/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 talk_base::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)");
|
/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
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
webrtcsession_unittest.cc | 373 // Creates a local offer and applies it. Starts ice. 377 SessionDescriptionInterface* offer = CreateOffer(NULL); local 378 SetLocalDescriptionWithoutError(offer); 501 JsepSessionDescription* offer( 503 ASSERT_TRUE(offer != NULL); 504 VerifyNoCryptoParams(offer->description(), false); 506 offer); 508 // Answer should be NULL as no crypto params in offer. 516 scoped_ptr<JsepSessionDescription> offer( 518 ASSERT_TRUE(offer.get() != NULL) 613 SessionDescriptionInterface* offer = CreateRemoteOffer(); local 778 JsepSessionDescription* offer = new JsepSessionDescription( local 834 SessionDescriptionInterface* offer = CreateOffer(&constraints); local 904 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1004 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1127 SessionDescriptionInterface* offer = NULL; local 1139 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1194 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1251 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1297 JsepSessionDescription* offer = CreateRemoteOffer( local 1313 SessionDescriptionInterface* offer = NULL; local 1326 SessionDescriptionInterface* offer = NULL; local 1344 JsepSessionDescription* offer = local 1373 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1402 JsepSessionDescription* offer = CreateRemoteOffer( local 1423 SessionDescriptionInterface* offer = NULL; local 1439 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1460 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1489 JsepSessionDescription* offer = local 1513 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1525 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1535 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1545 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1555 SessionDescriptionInterface* offer = CreateRemoteOffer(); local 1578 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1635 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1695 SessionDescriptionInterface* offer = CreateRemoteOffer(); local 1769 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1962 SessionDescriptionInterface* offer = CreateOffer(NULL); local 2124 SessionDescriptionInterface* offer = CreateOffer(NULL); local 2181 SessionDescriptionInterface* offer = CreateOffer(NULL); local 2359 SessionDescriptionInterface* offer = CreateOffer(&constraints); local 2397 SessionDescriptionInterface* offer = CreateOffer(&constraints); local 2567 SessionDescriptionInterface* offer = CreateOffer(NULL); local 2579 SessionDescriptionInterface* offer = CreateRemoteOffer(); local 2593 SessionDescriptionInterface* offer = CreateOffer(NULL); local 2615 SessionDescriptionInterface* offer = CreateOffer(NULL); local 2629 SessionDescriptionInterface* offer = CreateOffer(NULL); local 2651 SessionDescriptionInterface* offer = CreateOffer(NULL); local 2696 SessionDescriptionInterface* offer = CreateOffer(NULL); local 2744 SessionDescriptionInterface* offer = CreateRemoteOffer(); local 2765 SessionDescriptionInterface* offer = CreateRemoteOffer(); local 2899 SessionDescriptionInterface* offer = CreateOffer(NULL); local 2943 SessionDescriptionInterface* offer = CreateRemoteOffer(options); local 2997 JsepSessionDescription* offer = local 3049 JsepSessionDescription* offer = CreateRemoteOfferWithSctpPort( local 3210 SessionDescriptionInterface* offer = CreateOffer(NULL); local 3236 SessionDescriptionInterface* offer = CreateOffer(NULL); local [all...] |
/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 | 238 void TestTransportInfo(bool offer, const MediaSessionOptions& options, 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) { 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.get() != NULL) 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...] |
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/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/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
IntentSenderActivity.java | 43 mResult.offer(new Result(resultCode, data), 5, TimeUnit.SECONDS);
|
/external/glide/library/src/main/java/com/bumptech/glide/util/ |
ByteArrayPool.java | 54 tempQueue.offer(bytes);
|
/external/guava/guava/src/com/google/common/eventbus/ |
AsyncEventBus.java | 66 eventsToDispatch.offer(new EventWithHandler(event, handler));
|
/external/smack/src/org/jivesoftware/smackx/muc/ |
ConnectionDetachedPacketCollector.java | 118 while (!resultQueue.offer(packet)) {
|