Home
last modified time | relevance | path

Searched refs:offer (Results 1 – 25 of 669) sorted by relevance

12345678910>>...27

/external/webrtc/talk/app/webrtc/
Dwebrtcsession_unittest.cc607 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 …]
Dpeerconnectioninterface_unittest.cc668 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/
Dmediasession_unittest.cc285 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 …]
Dsrtpfilter_unittest.cc154 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 …]
Dmediasession.cc213 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/
Dtransportdescriptionfactory_unittest.cc74 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 …]
Dtransportdescriptionfactory.cc52 const TransportDescription* offer, in CreateAnswer() argument
56 if (!offer) { in CreateAnswer()
74 if (offer && offer->identity_fingerprint.get()) { in CreateAnswer()
/external/webrtc/webrtc/tools/rtcbot/test/
Dsimple_offer_answer.js22 function gotOffer(offer) { argument
25 pc1.setLocalDescription(offer, expectedCall, test.fail);
26 pc2.setRemoteDescription(offer, expectedCall, test.fail);
Dwebrtc_video_streaming.js69 function gotOffer(offer) { argument
71 pc1.setLocalDescription(offer, onSetSessionDescriptionSuccess, test.fail);
72 pc2.setRemoteDescription(offer, onSetSessionDescriptionSuccess,
Dtwo_way_video_streaming.js76 function gotOffer(offer) { argument
78 pc1.setLocalDescription(offer, onSetSessionDescriptionSuccess, test.fail);
79 pc2.setRemoteDescription(offer, onSetSessionDescriptionSuccess,
DoneWayVideoStreamingWithDownloadingFile.js73 function gotOffer(offer) { argument
75 pc1.setLocalDescription(offer, onSetSessionDescriptionSuccess, test.fail);
76 pc2.setRemoteDescription(offer, onSetSessionDescriptionSuccess,
Dthree_bots_video_conference.js95 function gotOffer(offer) { argument
97 pc1.setLocalDescription(offer, onSetSessionDescriptionSuccess, test.fail);
98 pc2.setRemoteDescription(offer, onSetSessionDescriptionSuccess,
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DQueueOfferTester.java38 getQueue().offer(samples.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-tests/benchmark/com/google/common/util/concurrent/
DMonitorBasedPriorityBlockingQueue.java174 return offer(e); in add()
188 public boolean offer(E e) { in offer() method in MonitorBasedPriorityBlockingQueue
192 boolean ok = q.offer(e); in offer()
214 offer(e); // never need to block in put()
231 public boolean offer(E e, long timeout, TimeUnit unit) { in offer() method in MonitorBasedPriorityBlockingQueue
233 return offer(e); // never need to block in offer()
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/
DInterpreterInstaller.java179 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/
DBaseKeyPool.java19 public void offer(T key) { in offer() method in BaseKeyPool
21 keyPool.offer(key); in offer()
DGroupedLinkedMap.java29 key.offer(); in put()
41 key.offer(); in get()
63 last.key.offer(); in removeLast()
DSizeStrategy.java40 keyPool.offer(key); in get()
171 public void offer() { in offer() method in SizeStrategy.Key
172 pool.offer(this); in offer()
/external/guava/guava/src/com/google/common/collect/
DForwardingQueue.java54 public boolean offer(E o) { in offer() method in ForwardingQueue
55 return delegate().offer(o); in offer()
DForwardingBlockingDeque.java100 public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException { in offer() method in ForwardingBlockingDeque
101 return delegate().offer(e, timeout, unit); in offer()
/external/guava/guava/src/com/google/common/util/concurrent/
DForwardingBlockingQueue.java53 @Override public boolean offer(E e, long timeout, TimeUnit unit) in offer() method in ForwardingBlockingQueue
55 return delegate().offer(e, timeout, unit); in offer()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DTreeVisitor.java88 queue.offer(node); in visitBreadthFirst()
92 queue.offer(child); in visitBreadthFirst()
/external/guava/guava-tests/test/com/google/common/collect/
DSynchronizedQueueTest.java44 public boolean offer(E o) { in offer() method in SynchronizedQueueTest.TestQueue
46 return delegate.offer(o); in offer()
157 create().offer("foo"); in testHoldsLockOnAllOperations()
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/
DGestureHelper.java64 queuedSingleTaps.offer(e); in GestureHelper()
76 queuedFingerHold.offer(new ScrollEvent(e2, in GestureHelper()
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/
DGestureHelper.java64 queuedSingleTaps.offer(e); in GestureHelper()
76 queuedFingerHold.offer(new ScrollEvent(e2, in GestureHelper()

12345678910>>...27