HomeSort by relevance Sort by last modified time
    Searched refs:offer (Results 1 - 25 of 147) sorted by null

1 2 3 4 5 6

  /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))
Deque.java 88 * <td>{@link java.util.Queue#offer offer(e)}</td>
358 * use {@link #offer(Object) offer}.
396 boolean offer(E e); method in interface:Deque
  /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 77 // This test ice restart by doing two offer answer exchanges. On the second
79 // in the offer and answer is changed.
93 // The initial offer / answer exchange.
94 talk_base::scoped_ptr<TransportDescription> offer(f1_.CreateOffer(
97 f2_.CreateAnswer(offer.get(),
100 // Create an updated offer where we restart ice.
103 options, offer.get()));
105 VerifyUfragAndPasswordChanged(dtls, offer.get(), restart_offer.get());
141 // Test that in the default case, we generate the expected G-ICE offer.
149 // Test generating a hybrid offer
    [all...]
transportdescriptionfactory.h 64 // Creates a transport description suitable for use in an offer.
67 // Create a transport description that is a response to an offer.
69 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
  /packages/apps/UnifiedEmail/src/com/android/bitmap/
PooledCache.java 23 void offer(V scrapValue); method in interface:PooledCache
AltBitmapCache.java 90 public void offer(final ReusableBitmap value) { method in class:AltBitmapCache
92 super.offer(value);
93 if (DEBUG) LogUtils.d(TAG, "AltBitmapCache: offer +1");
  /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/chromium_org/third_party/libjingle/source/talk/session/media/
mediasession_unittest.cc 208 void TestTransportInfo(bool offer, const MediaSessionOptions& options,
242 if (offer) {
245 talk_base::scoped_ptr<SessionDescription> offer; local
246 offer.reset(f1_.CreateOffer(options, NULL));
247 desc.reset(f1_.CreateAnswer(offer.get(), options, current_desc.get()));
312 void TestCryptoWithBundle(bool offer) {
320 if (offer) {
362 // |expected_direction_in_answer| in an answer if the offer direction is set
369 talk_base::scoped_ptr<SessionDescription> offer(
371 ASSERT_TRUE(offer.get() != NULL)
1741 talk_base::scoped_ptr<SessionDescription> offer, answer; local
1842 talk_base::scoped_ptr<SessionDescription> offer, answer; local
    [all...]
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.cc 172 static bool SelectCrypto(const MediaContentDescription* offer,
175 bool audio = offer->type() == MEDIA_TYPE_AUDIO;
176 const CryptoParamsVec& cryptos = offer->cryptos();
667 // stream is created. The created content is added to the offer.
678 MediaContentDescriptionImpl<C>* offer) {
679 offer->AddCodecs(codecs);
680 offer->SortCodecs();
682 offer->set_crypto_required(secure_policy == SEC_REQUIRED);
683 offer->set_rtcp_mux(options.rtcp_mux_enabled);
684 offer->set_multistream(options.is_muc)
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
webrtcsession_unittest.cc 333 // Creates a local offer and applies it. Starts ice.
337 SessionDescriptionInterface* offer = CreateOffer(NULL); local
338 SetLocalDescriptionWithoutError(offer);
470 JsepSessionDescription* offer(
472 ASSERT_TRUE(offer != NULL);
473 VerifyNoCryptoParams(offer->description(), false);
475 offer);
477 // Answer should be NULL as no crypto params in offer.
485 scoped_ptr<JsepSessionDescription> offer(
487 ASSERT_TRUE(offer.get() != NULL)
528 SessionDescriptionInterface* offer = CreateRemoteOffer(); local
666 SessionDescriptionInterface* offer = CreateOffer(&constraints); local
734 SessionDescriptionInterface* offer = CreateOffer(NULL); local
816 SessionDescriptionInterface* offer = CreateOffer(NULL); local
937 SessionDescriptionInterface* offer = CreateOffer(NULL); local
992 SessionDescriptionInterface* offer = CreateOffer(NULL); local
1049 JsepSessionDescription* offer = CreateRemoteOffer( local
1065 SessionDescriptionInterface* offer = NULL; local
1078 SessionDescriptionInterface* offer = NULL; local
1092 SessionDescriptionInterface* offer = CreateOffer(NULL); local
1107 JsepSessionDescription* offer = CreateRemoteOffer(options); local
1132 JsepSessionDescription* offer = CreateRemoteOffer( local
1154 SessionDescriptionInterface* offer = CreateOffer(NULL); local
1166 SessionDescriptionInterface* offer = CreateOffer(NULL); local
1176 SessionDescriptionInterface* offer = CreateOffer(NULL); local
1187 SessionDescriptionInterface* offer = CreateOffer(NULL); local
1199 SessionDescriptionInterface* offer = CreateRemoteOffer(); local
1222 SessionDescriptionInterface* offer = CreateOffer(NULL); local
1281 SessionDescriptionInterface* offer = CreateOffer(NULL); local
1339 SessionDescriptionInterface* offer = CreateRemoteOffer(); local
1413 SessionDescriptionInterface* offer = CreateOffer(NULL); local
1606 SessionDescriptionInterface* offer = CreateOffer(NULL); local
1768 SessionDescriptionInterface* offer = CreateOffer(NULL); local
1825 SessionDescriptionInterface* offer = CreateOffer(NULL); local
1930 SessionDescriptionInterface* offer = CreateOffer(&constraints); local
1968 SessionDescriptionInterface* offer = CreateOffer(&constraints); local
2112 SessionDescriptionInterface* offer = CreateOffer(NULL); local
2124 SessionDescriptionInterface* offer = CreateRemoteOffer(); local
2138 SessionDescriptionInterface* offer = CreateOffer(NULL); local
2160 SessionDescriptionInterface* offer = CreateOffer(NULL); local
2174 SessionDescriptionInterface* offer = CreateOffer(NULL); local
2196 SessionDescriptionInterface* offer = CreateOffer(NULL); local
2241 SessionDescriptionInterface* offer = CreateOffer(NULL); local
2280 SessionDescriptionInterface* offer = CreateRemoteOffer(); local
2301 SessionDescriptionInterface* offer = CreateRemoteOffer(); local
2435 SessionDescriptionInterface* offer = CreateOffer(NULL); local
2467 SessionDescriptionInterface* offer = CreateRemoteOffer(options); local
    [all...]
peerconnectioninterface_unittest.cc 345 bool DoCreateOfferAnswer(SessionDescriptionInterface** desc, bool offer) {
349 if (offer) {
422 talk_base::scoped_ptr<SessionDescriptionInterface> offer; local
423 EXPECT_TRUE(DoCreateOffer(offer.use()));
425 EXPECT_TRUE(offer->ToString(&sdp));
474 talk_base::scoped_ptr<SessionDescriptionInterface> offer; local
475 ASSERT_TRUE(DoCreateOffer(offer.use()));
484 EXPECT_TRUE(offer->ToString(&sdp));
494 void CreateAnswerAsRemoteDescription(const std::string& offer) {
497 EXPECT_TRUE(answer->Initialize(offer, NULL))
595 std::string offer; local
652 SessionDescriptionInterface* offer = NULL; local
673 SessionDescriptionInterface* offer = NULL; local
698 scoped_ptr<SessionDescriptionInterface> offer; local
1203 talk_base::scoped_ptr<SessionDescriptionInterface> offer; local
    [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/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...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DictionaryPool.java 126 public boolean offer(final DictAndKeyboard dict) { method in class:DictionaryPool
129 return super.offer(dummyDict);
131 return super.offer(dict);
  /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)) {
  /external/chromium_org/third_party/libjingle/source/talk/session/tunnel/
tunnelsessionclient.cc 189 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, &content_name, &offer_tunnel)
    [all...]

Completed in 803 milliseconds

1 2 3 4 5 6