/external/webrtc/talk/app/webrtc/ |
D | webrtcsession_unittest.cc | 607 SessionDescriptionInterface* offer = CreateOffer(); in InitiateCall() local 608 SetLocalDescriptionWithoutError(offer); in InitiateCall() 738 JsepSessionDescription* offer( in VerifyAnswerFromNonCryptoOffer() local 740 ASSERT_TRUE(offer != NULL); in VerifyAnswerFromNonCryptoOffer() 741 VerifyNoCryptoParams(offer->description(), false); in VerifyAnswerFromNonCryptoOffer() 743 offer); in VerifyAnswerFromNonCryptoOffer() 753 scoped_ptr<JsepSessionDescription> offer( in VerifyAnswerFromCryptoOffer() local 755 ASSERT_TRUE(offer.get() != NULL); in VerifyAnswerFromCryptoOffer() 756 VerifyCryptoParams(offer->description()); in VerifyAnswerFromCryptoOffer() 757 SetRemoteDescriptionWithoutError(offer.release()); in VerifyAnswerFromCryptoOffer() [all …]
|
D | peerconnectioninterface_unittest.cc | 668 bool offer, in DoCreateOfferAnswer() argument 673 if (offer) { in DoCreateOfferAnswer() 749 rtc::scoped_ptr<SessionDescriptionInterface> offer; in CreateOfferAsRemoteDescription() local 750 ASSERT_TRUE(DoCreateOffer(offer.use(), nullptr)); in CreateOfferAsRemoteDescription() 752 EXPECT_TRUE(offer->ToString(&sdp)); in CreateOfferAsRemoteDescription() 809 rtc::scoped_ptr<SessionDescriptionInterface> offer; in CreateOfferAsLocalDescription() local 810 ASSERT_TRUE(DoCreateOffer(offer.use(), nullptr)); in CreateOfferAsLocalDescription() 819 EXPECT_TRUE(offer->ToString(&sdp)); in CreateOfferAsLocalDescription() 979 scoped_ptr<SessionDescriptionInterface> offer; in TEST_F() local 980 ASSERT_TRUE(DoCreateOffer(offer.accept(), nullptr)); in TEST_F() [all …]
|
/external/webrtc/talk/session/media/ |
D | mediasession_unittest.cc | 285 void TestTransportInfo(bool offer, const MediaSessionOptions& options, in TestTransportInfo() argument 310 if (offer) { in TestTransportInfo() 313 rtc::scoped_ptr<SessionDescription> offer; in TestTransportInfo() local 314 offer.reset(f1_.CreateOffer(options, NULL)); in TestTransportInfo() 315 desc.reset(f1_.CreateAnswer(offer.get(), options, current_desc.get())); in TestTransportInfo() 380 void TestCryptoWithBundle(bool offer) { in TestCryptoWithBundle() argument 388 if (offer) { in TestCryptoWithBundle() 437 rtc::scoped_ptr<SessionDescription> offer( in TestMediaDirectionInAnswer() local 439 ASSERT_TRUE(offer.get() != NULL); in TestMediaDirectionInAnswer() 440 ContentInfo* ac_offer= offer->GetContentByName("audio"); in TestMediaDirectionInAnswer() [all …]
|
D | srtpfilter_unittest.cc | 154 std::vector<CryptoParams> offer(MakeVector(kTestCryptoParams1)); in TEST_F() local 156 offer.push_back(kTestCryptoParams1); in TEST_F() 157 offer[1].tag = 2; in TEST_F() 158 offer[1].cipher_suite = CS_AES_CM_128_HMAC_SHA1_32; in TEST_F() 161 EXPECT_TRUE(f1_.SetOffer(offer, CS_LOCAL)); in TEST_F() 169 std::vector<CryptoParams> offer, answer; in TEST_F() local 170 EXPECT_TRUE(f1_.SetOffer(offer, CS_LOCAL)); in TEST_F() 185 std::vector<CryptoParams> offer(MakeVector(kTestCryptoParams1)); in TEST_F() local 189 EXPECT_TRUE(f1_.SetOffer(offer, CS_LOCAL)); in TEST_F() 237 std::vector<CryptoParams> offer; in TEST_F() local [all …]
|
D | mediasession.cc | 213 static bool SelectCrypto(const MediaContentDescription* offer, in SelectCrypto() argument 216 bool audio = offer->type() == MEDIA_TYPE_AUDIO; in SelectCrypto() 217 const CryptoParamsVec& cryptos = offer->cryptos(); in SelectCrypto() 758 MediaContentDescriptionImpl<C>* offer) { in CreateMediaContentOffer() argument 759 offer->AddCodecs(codecs); in CreateMediaContentOffer() 760 offer->SortCodecs(); in CreateMediaContentOffer() 763 offer->set_crypto_required(CT_SDES); in CreateMediaContentOffer() 765 offer->set_rtcp_mux(options.rtcp_mux_enabled); in CreateMediaContentOffer() 771 offer->set_multistream(options.is_muc); in CreateMediaContentOffer() 772 offer->set_rtp_header_extensions(rtp_extensions); in CreateMediaContentOffer() [all …]
|
/external/webrtc/webrtc/p2p/base/ |
D | transportdescriptionfactory_unittest.cc | 74 rtc::scoped_ptr<TransportDescription> offer(f1_.CreateOffer( in TestIceRestart() local 77 f2_.CreateAnswer(offer.get(), in TestIceRestart() 83 options, offer.get())); in TestIceRestart() 85 VerifyUfragAndPasswordChanged(dtls, offer.get(), restart_offer.get()); in TestIceRestart() 169 scoped_ptr<TransportDescription> offer(f1_.CreateOffer( in TEST_F() local 171 ASSERT_TRUE(offer.get() != NULL); in TEST_F() 173 offer.get(), TransportOptions(), NULL)); in TEST_F() 175 desc.reset(f2_.CreateAnswer(offer.get(), TransportOptions(), in TEST_F() 182 scoped_ptr<TransportDescription> offer( in TEST_F() local 184 ASSERT_TRUE(offer.get() != NULL); in TEST_F() [all …]
|
D | transportdescriptionfactory.cc | 52 const TransportDescription* offer, in CreateAnswer() argument 56 if (!offer) { in CreateAnswer() 74 if (offer && offer->identity_fingerprint.get()) { in CreateAnswer()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/channels/ |
D | ChannelFlowTest.kt | 15 assertTrue(offer(1)) in <lambda>() 16 assertTrue(offer(2)) in <lambda>() 17 assertTrue(offer(3)) in <lambda>() 25 assertTrue(offer(1)) in <lambda>() 26 assertTrue(offer(2)) in <lambda>() 27 assertFalse(offer(3)) in <lambda>() 35 assertTrue(offer(1)) in <lambda>() 36 assertTrue(offer(2)) in <lambda>() 37 assertTrue(offer(3)) in <lambda>() 38 assertTrue(offer(4)) in <lambda>() [all …]
|
D | ChannelBuildersFlowTest.kt | 121 assertTrue(channel.offer(1)) // Handed to the coroutine in <lambda>() 122 assertTrue(channel.offer(2)) // Buffered in <lambda>() 123 assertFalse(channel.offer(3)) // Failed to offer in <lambda>() 127 assertTrue(channel.offer(4)) // Handed to the coroutine in <lambda>() 128 assertTrue(channel.offer(5)) // Buffered in <lambda>() 129 assertFalse(channel.offer(6)) // Failed to offer in <lambda>()
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/test/guide/ |
D | example-reactive-basic-09.kt | 14 broadcast.offer("one") in <lambda>() 15 broadcast.offer("two") in <lambda>() 20 broadcast.offer("three") in <lambda>() 21 broadcast.offer("four") in <lambda>()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | TopKSelectorTest.java | 62 top.offer(i); in testZeroK() 74 top.offer(3); in testOfferedFewerThanK() 75 top.offer(5); in testOfferedFewerThanK() 76 top.offer(2); in testOfferedFewerThanK() 115 top.offer(1); in testWorstCase() 117 top.offer(0); in testWorstCase()
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | TopKSelectorTest.java | 62 top.offer(i); in testZeroK() 74 top.offer(3); in testOfferedFewerThanK() 75 top.offer(5); in testOfferedFewerThanK() 76 top.offer(2); in testOfferedFewerThanK() 115 top.offer(1); in testWorstCase() 117 top.offer(0); in testWorstCase()
|
/external/webrtc/webrtc/tools/rtcbot/test/ |
D | simple_offer_answer.js | 22 function gotOffer(offer) { argument 25 pc1.setLocalDescription(offer, expectedCall, test.fail); 26 pc2.setRemoteDescription(offer, expectedCall, test.fail);
|
D | webrtc_video_streaming.js | 69 function gotOffer(offer) { argument 71 pc1.setLocalDescription(offer, onSetSessionDescriptionSuccess, test.fail); 72 pc2.setRemoteDescription(offer, onSetSessionDescriptionSuccess,
|
D | two_way_video_streaming.js | 76 function gotOffer(offer) { argument 78 pc1.setLocalDescription(offer, onSetSessionDescriptionSuccess, test.fail); 79 pc2.setRemoteDescription(offer, onSetSessionDescriptionSuccess,
|
D | three_bots_video_conference.js | 95 function gotOffer(offer) { argument 97 pc1.setLocalDescription(offer, onSetSessionDescriptionSuccess, test.fail); 98 pc2.setRemoteDescription(offer, onSetSessionDescriptionSuccess,
|
D | oneWayVideoStreamingWithDownloadingFile.js | 73 function gotOffer(offer) { argument 75 pc1.setLocalDescription(offer, onSetSessionDescriptionSuccess, test.fail); 76 pc2.setRemoteDescription(offer, onSetSessionDescriptionSuccess,
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/channels/ |
D | ArrayChannelTest.kt | 91 assertTrue(q.offer(1)) in <lambda>() 109 assertTrue(q.offer(2)) in <lambda>() 111 assertTrue(q.offer(3)) in <lambda>() 113 assertFalse(q.offer(4)) in <lambda>() 160 channel.offer(-1) in <lambda>()
|
D | ConflatedChannelTest.kt | 15 assertTrue(q.offer(1)) in testBasicConflationOfferPoll() 16 assertTrue(q.offer(2)) in testBasicConflationOfferPoll() 17 assertTrue(q.offer(3)) in testBasicConflationOfferPoll()
|
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | QueueOfferTester.java | 38 assertTrue("offer(notPresent) should return true", getQueue().offer(e3())); in testOffer_supportedNotPresent() 44 assertTrue("offer(null) should return true", getQueue().offer(null)); in testOffer_nullSupported() 51 getQueue().offer(null); in testOffer_nullUnsupported()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | QueueOfferTester.java | 38 assertTrue("offer(notPresent) should return true", getQueue().offer(e3())); in testOffer_supportedNotPresent() 44 assertTrue("offer(null) should return true", getQueue().offer(null)); in testOffer_nullSupported() 51 getQueue().offer(null); in testOffer_nullUnsupported()
|
/external/guava/android/guava-tests/benchmark/com/google/common/util/concurrent/ |
D | MonitorBasedPriorityBlockingQueue.java | 157 return offer(e); in add() 170 public boolean offer(E e) { in offer() method in MonitorBasedPriorityBlockingQueue 174 boolean ok = q.offer(e); in offer() 197 public boolean offer(E e, long timeout, TimeUnit unit) { in offer() method in MonitorBasedPriorityBlockingQueue 199 return offer(e); // never need to block in offer() 213 offer(e); // never need to block in put()
|
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
D | MonitorBasedPriorityBlockingQueue.java | 157 return offer(e); in add() 170 public boolean offer(E e) { in offer() method in MonitorBasedPriorityBlockingQueue 174 boolean ok = q.offer(e); in offer() 197 public boolean offer(E e, long timeout, TimeUnit unit) { in offer() method in MonitorBasedPriorityBlockingQueue 199 return offer(e); // never need to block in offer() 213 offer(e); // never need to block in put()
|
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/ |
D | InterpreterInstaller.java | 179 mTaskQueue.offer(RequestCode.DOWNLOAD_INTERPRETER); in InterpreterInstaller() 180 mTaskQueue.offer(RequestCode.EXTRACT_INTERPRETER); in InterpreterInstaller() 183 mTaskQueue.offer(RequestCode.DOWNLOAD_INTERPRETER_EXTRAS); in InterpreterInstaller() 184 mTaskQueue.offer(RequestCode.EXTRACT_INTERPRETER_EXTRAS); in InterpreterInstaller() 187 mTaskQueue.offer(RequestCode.DOWNLOAD_SCRIPTS); in InterpreterInstaller() 188 mTaskQueue.offer(RequestCode.EXTRACT_SCRIPTS); in InterpreterInstaller()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/ |
D | BaseKeyPool.java | 19 public void offer(T key) { in offer() method in BaseKeyPool 21 keyPool.offer(key); in offer()
|