/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
H A D | 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 && 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 D | 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...] |
H A D | 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/ |
H A D | 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/session/media/ |
H A D | mediasession_unittest.cc | 208 void TestTransportInfo(bool offer, const MediaSessionOptions& options, argument 236 if (offer) { 239 talk_base::scoped_ptr<SessionDescription> offer; local 240 offer.reset(f1_.CreateOffer(options, NULL)); 241 desc.reset(f1_.CreateAnswer(offer.get(), options, current_desc.get())); 306 void TestCryptoWithBundle(bool offer) { argument 314 if (offer) { 356 // |expected_direction_in_answer| in an answer if the offer direction is set 363 talk_base::scoped_ptr<SessionDescription> offer( 365 ASSERT_TRUE(offer 885 talk_base::scoped_ptr<SessionDescription> offer; local 1769 talk_base::scoped_ptr<SessionDescription> offer, answer; local 1890 talk_base::scoped_ptr<SessionDescription> offer, answer; local [all...] |
H A D | 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 multipl 226 std::vector<CryptoParams> offer; local [all...] |
H A D | mediasession.cc | 178 static bool SelectCrypto(const MediaContentDescription* offer, argument 181 bool audio = offer->type() == MEDIA_TYPE_AUDIO; 182 const CryptoParamsVec& cryptos = offer->cryptos(); 689 // stream is created. The created content is added to the offer. 700 MediaContentDescriptionImpl<C>* offer) { 701 offer->AddCodecs(codecs); 702 offer->SortCodecs(); 704 offer->set_crypto_required(secure_policy == SEC_REQUIRED); 705 offer->set_rtcp_mux(options.rtcp_mux_enabled); 706 offer 691 CreateMediaContentOffer( const MediaSessionOptions& options, const std::vector<C>& codecs, const SecureMediaPolicy& 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 902 CreateMediaContentAnswer( const MediaContentDescriptionImpl<C>* offer, const MediaSessionOptions& options, const std::vector<C>& local_codecs, const SecureMediaPolicy& 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 1248 CreateAnswer( const SessionDescription* offer, const MediaSessionOptions& options, const SessionDescription* current_description) const argument [all...] |
/external/dhcpcd/ |
H A D | 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;
|
H A D | 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 [all...] |
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
H A D | webrtcsession_unittest.cc | 346 // Creates a local offer and applies it. Starts ice. 350 SessionDescriptionInterface* offer = CreateOffer(NULL); local 351 SetLocalDescriptionWithoutError(offer); 474 JsepSessionDescription* offer( 476 ASSERT_TRUE(offer != NULL); 477 VerifyNoCryptoParams(offer->description(), false); 479 offer); 481 // Answer should be NULL as no crypto params in offer. 489 scoped_ptr<JsepSessionDescription> offer( 491 ASSERT_TRUE(offer 557 SessionDescriptionInterface* offer = CreateRemoteOffer(); local 593 CreateCryptoOfferAndNonCryptoAnswer(SessionDescriptionInterface** offer, SessionDescriptionInterface** nocrypto_answer) argument 668 JsepSessionDescription* offer = new JsepSessionDescription( local 683 CreateRemoteAnswer( const SessionDescriptionInterface* offer, cricket::MediaSessionOptions options, cricket::SecurePolicy policy) argument 701 CreateRemoteAnswer( const SessionDescriptionInterface* offer, cricket::MediaSessionOptions options) argument 711 CreateRemoteAnswer( const SessionDescriptionInterface* offer) argument 724 SessionDescriptionInterface* offer = CreateOffer(&constraints); local 792 SessionDescriptionInterface* offer = CreateOffer(NULL); local 880 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1006 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1061 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1118 JsepSessionDescription* offer = CreateRemoteOffer( local 1134 SessionDescriptionInterface* offer = NULL; local 1147 SessionDescriptionInterface* offer = NULL; local 1161 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1176 JsepSessionDescription* offer = CreateRemoteOffer(options); local 1201 JsepSessionDescription* offer = CreateRemoteOffer( local 1223 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1235 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1245 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1256 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1268 SessionDescriptionInterface* offer = CreateRemoteOffer(); local 1291 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1350 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1408 SessionDescriptionInterface* offer = CreateRemoteOffer(); local 1482 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1675 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1837 SessionDescriptionInterface* offer = CreateOffer(NULL); local 1894 SessionDescriptionInterface* offer = CreateOffer(NULL); local 2024 SessionDescriptionInterface* offer = CreateOffer(&constraints); local 2062 SessionDescriptionInterface* offer = CreateOffer(&constraints); local 2206 SessionDescriptionInterface* offer = CreateOffer(NULL); local 2218 SessionDescriptionInterface* offer = CreateRemoteOffer(); local 2232 SessionDescriptionInterface* offer = CreateOffer(NULL); local 2254 SessionDescriptionInterface* offer = CreateOffer(NULL); local 2268 SessionDescriptionInterface* offer = CreateOffer(NULL); local 2290 SessionDescriptionInterface* offer = CreateOffer(NULL); local 2335 SessionDescriptionInterface* offer = CreateOffer(NULL); local 2374 SessionDescriptionInterface* offer = CreateRemoteOffer(); local 2395 SessionDescriptionInterface* offer = CreateRemoteOffer(); local 2529 SessionDescriptionInterface* offer = CreateOffer(NULL); local 2561 SessionDescriptionInterface* offer = CreateRemoteOffer(options); local 2611 JsepSessionDescription* offer = local 2663 JsepSessionDescription* offer = CreateRemoteOfferWithSctpPort( local 2817 SessionDescriptionInterface* offer = CreateOffer(NULL); local [all...] |
H A D | peerconnectioninterface_unittest.cc | 352 bool DoCreateOfferAnswer(SessionDescriptionInterface** desc, bool offer) { argument 356 if (offer) { 429 talk_base::scoped_ptr<SessionDescriptionInterface> offer; local 430 EXPECT_TRUE(DoCreateOffer(offer.use())); 432 EXPECT_TRUE(offer->ToString(&sdp)); 481 talk_base::scoped_ptr<SessionDescriptionInterface> offer; local 482 ASSERT_TRUE(DoCreateOffer(offer.use())); 491 EXPECT_TRUE(offer->ToString(&sdp)); 501 void CreateAnswerAsRemoteDescription(const std::string& offer) { argument 504 EXPECT_TRUE(answer->Initialize(offer, NUL 509 CreatePrAnswerAndAnswerAsRemoteDescription(const std::string& offer) argument 602 std::string offer; local 659 SessionDescriptionInterface* offer = NULL; local 680 SessionDescriptionInterface* offer = NULL; local 705 scoped_ptr<SessionDescriptionInterface> offer; local 1186 talk_base::scoped_ptr<SessionDescriptionInterface> offer; local [all...] |
/external/guava/guava/src/com/google/common/collect/ |
H A D | 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/ |
H A D | ForwardingBlockingQueue.java | 53 @Override public boolean offer(E e, long timeout, TimeUnit unit) method in class:ForwardingBlockingQueue 55 return delegate().offer(e, timeout, unit);
|
/external/guava/guava/src/com/google/common/eventbus/ |
H A D | AsyncEventBus.java | 66 eventsToDispatch.offer(new EventWithHandler(event, handler));
|
/external/smack/src/org/jivesoftware/smackx/muc/ |
H A D | ConnectionDetachedPacketCollector.java | 118 while (!resultQueue.offer(packet)) {
|
/external/chromium_org/third_party/libjingle/source/talk/session/tunnel/ |
H A D | 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, 303 CreateAnswer( const SessionDescription* offer) argument [all...] |
H A D | securetunnelsessionclient.h | 95 const SessionDescription* offer);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
H A D | 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(arra [all...] |
/external/chromium/third_party/libjingle/source/talk/session/tunnel/ |
H A D | securetunnelsessionclient.h | 95 const SessionDescription* offer);
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
H A D | profile_signin_confirmation_view_controller.h | 55 offerProfileCreation:(bool)offer;
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/ |
H A D | AbstractKernel.java | 118 if( !envelopes.offer( env ) ) {
|
/external/smack/src/org/jivesoftware/smack/ |
H A D | PacketCollector.java | 154 while (!resultQueue.offer(packet)) {
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
H A D | 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) { argument 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 i 253 CreateAnswer( const SessionDescription* offer, const CallOptions& options) argument 363 const SessionDescription* offer = session->remote_description(); local [all...] |
H A D | 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) { argument 204 const ContentInfo* audio_offer = GetFirstAudioContent(offer); 205 const ContentInfo* video_offer = GetFirstVideoContent(offer); 85 IncomingSession( Session* session, const SessionDescription* offer) argument
|
H A D | call.h | 105 void IncomingSession(Session *session, const SessionDescription* offer); 107 bool AddSession(Session *session, const SessionDescription* offer);
|