/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/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 <tt>add</tt>, <tt>put</tt> or <tt>offer</tt> a <tt>null</tt>. 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
|
DelayQueue.java | 99 return offer(e); 109 public boolean offer(E e) { method in class:DelayQueue 113 q.offer(e); 132 offer(e); 145 public boolean offer(E e, long timeout, TimeUnit unit) { method in class:DelayQueue 146 return offer(e);
|
/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/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)) {
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
ContactStatusLoaderTest.java | 65 mProvider.mCursors.offer( 100 mProvider.mCursors.offer(cursor1); 103 mProvider.mCursors.offer(new MatrixCursor(ContactStatusLoader.PHOTO_PROJECTION)); 129 mProvider.mCursors.offer(cursor1); 147 mProvider.mCursors.offer(cursor1); 151 mProvider.mCursors.offer(cursor2);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
PriorityQueueTest.java | 44 integerQueue.offer(array[i]); 85 integerQueue.offer(0); 113 integerQueue.offer(array[i]); 141 integerQueue.offer(array[i]); 156 integerQueue.offer(array[i]); 185 integerQueue.offer(array[i]); 317 queue.offer(array[i]); 355 integerQueue.offer(array[i]); 409 * @tests java.util.PriorityQueue#offer(Object) 416 queue.offer(array[i]) [all...] |
/external/chromium/third_party/libjingle/source/talk/session/tunnel/ |
tunnelsessionclient.h | 87 const SessionDescription* offer) = 0; 133 const SessionDescription* offer);
|
securetunnelsessionclient.h | 95 const SessionDescription* offer);
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/ |
AbstractKernel.java | 118 if( !envelopes.offer( env ) ) {
|
/external/smack/src/org/jivesoftware/smack/ |
PacketCollector.java | 154 while (!resultQueue.offer(packet)) {
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
mediasessionclient.cc | 139 SessionDescription* offer = new SessionDescription(); local 170 offer->AddContent(CN_AUDIO, NS_JINGLE_RTP, audio); 203 offer->AddContent(CN_VIDEO, NS_JINGLE_RTP, video); 206 return offer; 239 bool SelectCrypto(const MediaContentDescription* offer, CryptoParams *crypto) { 240 bool audio = offer->type() == MEDIA_TYPE_AUDIO; 241 const CryptoParamsVec& cryptos = offer->cryptos(); 254 const SessionDescription* offer, const CallOptions& options) { 255 // The answer contains the intersection of the codecs in the offer with the 257 // XEP-0167, we retain the same payload ids from the offer in the answer 363 const SessionDescription* offer = session->remote_description(); local [all...] |
call.cc | 69 const SessionDescription* offer = session_client_->CreateOffer(options); local 72 AddSession(session, offer); 73 session->Initiate(jid.Str(), offer); 86 Session* session, const SessionDescription* offer) { 87 AddSession(session, offer); 199 bool Call::AddSession(Session *session, const SessionDescription* offer) { 204 const ContentInfo* audio_offer = GetFirstAudioContent(offer); 205 const ContentInfo* video_offer = GetFirstVideoContent(offer);
|
call.h | 105 void IncomingSession(Session *session, const SessionDescription* offer); 107 bool AddSession(Session *session, const SessionDescription* offer);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ForwardingQueueTest.java | 93 @Override public boolean offer(T o) { method in class:ForwardingQueueTest.StandardImplForwardingQueue 186 forward.offer("asdf"); 187 assertEquals("[offer(Object)]", getCalls());
|