Home
last modified time | relevance | path

Searched refs:observer1 (Results 1 – 4 of 4) sorted by relevance

/external/openscreen/osp/impl/
Dservice_listener_impl_unittest.cc367 MockObserver observer1; in TEST_F() local
369 service_listener_->AddObserver(&observer1); in TEST_F()
372 EXPECT_CALL(observer1, OnStarted()); in TEST_F()
379 EXPECT_CALL(observer1, OnSearching()); in TEST_F()
382 EXPECT_CALL(observer1, OnStarted()); in TEST_F()
386 service_listener_->RemoveObserver(&observer1); in TEST_F()
389 EXPECT_CALL(observer1, OnSuspended()).Times(0); in TEST_F()
396 EXPECT_CALL(observer1, OnStarted()).Times(0); in TEST_F()
/external/webrtc/modules/rtp_rtcp/source/
Drtcp_transceiver_impl_unittest.cc544 StrictMock<MockMediaReceiverRtcpObserver> observer1; in TEST() local
547 rtcp_transceiver.AddMediaReceiverRtcpObserver(kRemoteSsrc, &observer1); in TEST()
558 EXPECT_CALL(observer1, OnSenderReport(kRemoteSsrc, kRemoteNtp, kRemoteRtp)); in TEST()
565 StrictMock<MockMediaReceiverRtcpObserver> observer1; in TEST() local
568 rtcp_transceiver.AddMediaReceiverRtcpObserver(kRemoteSsrc, &observer1); in TEST()
575 rtcp_transceiver.RemoveMediaReceiverRtcpObserver(kRemoteSsrc, &observer1); in TEST()
577 EXPECT_CALL(observer1, OnSenderReport(_, _, _)).Times(0); in TEST()
585 StrictMock<MockMediaReceiverRtcpObserver> observer1; in TEST() local
588 rtcp_transceiver.AddMediaReceiverRtcpObserver(kRemoteSsrc1, &observer1); in TEST()
599 EXPECT_CALL(observer1, OnSenderReport(kRemoteSsrc1, kRemoteNtp, kRemoteRtp)); in TEST()
[all …]
/external/webrtc/pc/
Dpeer_connection_interface_unittest.cc1904 std::unique_ptr<MockDataChannelObserver> observer1( in TEST_P() local
1916 EXPECT_TRUE_WAIT(observer1->IsOpen(), kTimeout); in TEST_P()
1924 EXPECT_EQ_WAIT(data_to_send1, observer1->last_message(), kTimeout); in TEST_P()
1930 EXPECT_FALSE(observer1->IsOpen()); in TEST_P()
1952 std::unique_ptr<MockDataChannelObserver> observer1( in TEST_P() local
1961 EXPECT_TRUE_WAIT(observer1->IsOpen(), kTimeout); in TEST_P()
1980 std::unique_ptr<MockDataChannelObserver> observer1( in TEST_P() local
1985 EXPECT_TRUE_WAIT(observer1->IsOpen(), kTimeout); in TEST_P()
1991 EXPECT_FALSE(observer1->IsOpen()); in TEST_P()
2216 std::unique_ptr<MockDataChannelObserver> observer1( in TEST_P() local
[all …]
/external/perfetto/src/tracing/test/
Dapi_integrationtest.cc3845 Observer observer1; in TEST_P() local
3847 perfetto::TrackEvent::AddSessionObserver(&observer1); in TEST_P()
3852 perfetto::TrackEvent::RemoveSessionObserver(&observer1); in TEST_P()
3861 Observer observer1; in TEST_P() local
3863 perfetto::TrackEvent::AddSessionObserver(&observer1); in TEST_P()
3867 perfetto::TrackEvent::RemoveSessionObserver(&observer1); in TEST_P()