/external/webrtc/webrtc/modules/pacing/ |
D | packet_router_unittest.cc | 47 EXPECT_CALL(rtp_1, SendingMedia()).Times(1).WillOnce(Return(true)); in TEST_F() 48 EXPECT_CALL(rtp_1, SSRC()).Times(1).WillOnce(Return(kSsrc1)); in TEST_F() 51 .Times(1) in TEST_F() 53 EXPECT_CALL(rtp_2, TimeToSendPacket(_, _, _, _)).Times(0); in TEST_F() 62 EXPECT_CALL(rtp_1, SendingMedia()).Times(1).WillOnce(Return(false)); in TEST_F() 63 EXPECT_CALL(rtp_2, SendingMedia()).Times(1).WillOnce(Return(true)); in TEST_F() 64 EXPECT_CALL(rtp_2, SSRC()).Times(1).WillOnce(Return(kSsrc2)); in TEST_F() 65 EXPECT_CALL(rtp_1, TimeToSendPacket(_, _, _, _)).Times(0); in TEST_F() 68 .Times(1) in TEST_F() 74 EXPECT_CALL(rtp_1, SendingMedia()).Times(1).WillOnce(Return(false)); in TEST_F() [all …]
|
D | paced_sender_unittest.cc | 131 .Times(1) in SendAndExpectPacket() 168 EXPECT_CALL(callback_, TimeToSendPadding(_)).Times(0); in TEST_F() 176 .Times(1) in TEST_F() 217 EXPECT_CALL(callback_, TimeToSendPadding(_)).Times(0); in TEST_F() 222 .Times(3) in TEST_F() 280 EXPECT_CALL(callback_, TimeToSendPadding(_)).Times(0); in TEST_F() 289 .Times(1) in TEST_F() 372 EXPECT_CALL(callback_, TimeToSendPadding(_)).Times(0); in TEST_F() 379 EXPECT_CALL(callback_, TimeToSendPadding(250)).Times(1). in TEST_F() 404 EXPECT_CALL(callback_, TimeToSendPadding(250)).Times(1). in TEST_F() [all …]
|
/external/webrtc/webrtc/video/ |
D | payload_router_unittest.cc | 48 .Times(0); in TEST_F() 55 .Times(1); in TEST_F() 62 .Times(0); in TEST_F() 69 .Times(1); in TEST_F() 77 .Times(0); in TEST_F() 100 .Times(1); in TEST_F() 102 .Times(0); in TEST_F() 113 .Times(1); in TEST_F() 115 .Times(0); in TEST_F() 122 .Times(0); in TEST_F() [all …]
|
D | call_stats_unittest.cc | 52 EXPECT_CALL(stats_observer, OnRttUpdate(kRtt, kRtt)).Times(1); in TEST_F() 58 EXPECT_CALL(stats_observer, OnRttUpdate(_, _)).Times(0); in TEST_F() 72 EXPECT_CALL(stats_observer, OnRttUpdate(_, _)).Times(0); in TEST_F() 77 EXPECT_CALL(stats_observer, OnRttUpdate(_, _)).Times(1); in TEST_F() 83 EXPECT_CALL(stats_observer, OnRttUpdate(_, _)).Times(0); in TEST_F() 88 EXPECT_CALL(stats_observer, OnRttUpdate(_, _)).Times(1); in TEST_F() 111 EXPECT_CALL(stats_observer_1, OnRttUpdate(kRtt, kRtt)).Times(1); in TEST_F() 112 EXPECT_CALL(stats_observer_2, OnRttUpdate(kRtt, kRtt)).Times(1); in TEST_F() 120 EXPECT_CALL(stats_observer_1, OnRttUpdate(kRtt, kRtt)).Times(1); in TEST_F() 121 EXPECT_CALL(stats_observer_2, OnRttUpdate(kRtt, kRtt)).Times(0); in TEST_F() [all …]
|
D | vie_remb_unittest.cc | 59 .Times(1); in TEST_F() 64 .Times(1); in TEST_F() 84 .Times(1); in TEST_F() 91 .Times(1); in TEST_F() 110 .Times(1); in TEST_F() 118 .Times(1); in TEST_F() 141 .Times(1); in TEST_F() 146 .Times(0); in TEST_F() 151 .Times(0); in TEST_F() 175 .Times(1); in TEST_F() [all …]
|
D | encoder_state_feedback_unittest.cc | 73 .Times(1); in TEST_F() 79 .Times(1); in TEST_F() 85 .Times(1); in TEST_F() 105 .Times(1); in TEST_F() 107 .Times(1); in TEST_F() 116 .Times(1); in TEST_F() 118 .Times(1); in TEST_F() 127 .Times(1); in TEST_F() 129 .Times(1); in TEST_F() 137 .Times(1); in TEST_F()
|
D | overuse_frame_detector_unittest.cc | 119 EXPECT_CALL(*(observer_.get()), OveruseDetected()).Times(1); in TEST_F() 125 EXPECT_CALL(*(observer_.get()), OveruseDetected()).Times(1); in TEST_F() 128 EXPECT_CALL(*(observer_.get()), NormalUsage()).Times(testing::AtLeast(1)); in TEST_F() 135 EXPECT_CALL(*(observer_.get()), OveruseDetected()).Times(0); in TEST_F() 137 EXPECT_CALL(*(observer_.get()), NormalUsage()).Times(0); in TEST_F() 142 EXPECT_CALL(*(observer_.get()), OveruseDetected()).Times(2); in TEST_F() 145 EXPECT_CALL(*(observer_.get()), NormalUsage()).Times(testing::AtLeast(1)); in TEST_F() 164 EXPECT_CALL(*(observer_.get()), NormalUsage()).Times(0); in TEST_F() 165 EXPECT_CALL(*(observer_.get()), OveruseDetected()).Times(64); in TEST_F() 172 EXPECT_CALL(*(observer_.get()), OveruseDetected()).Times(1); in TEST_F() [all …]
|
/external/libchrome/base/trace_event/ |
D | memory_dump_manager_unittest.cc | 275 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(0); in TEST_F() 276 EXPECT_CALL(mdp, OnMemoryDump(_, _)).Times(0); in TEST_F() 284 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(3); in TEST_F() 285 EXPECT_CALL(mdp, OnMemoryDump(_, _)).Times(3).WillRepeatedly(Return(true)); in TEST_F() 296 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(3); in TEST_F() 297 EXPECT_CALL(mdp, OnMemoryDump(_, _)).Times(0); in TEST_F() 314 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(1); in TEST_F() 325 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(1); in TEST_F() 344 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(2); in TEST_F() 346 .Times(2) in TEST_F() [all …]
|
/external/webrtc/talk/app/webrtc/ |
D | rtpsenderreceiver_unittest.cc | 160 .Times(1); in DestroyAudioRtpSender() 165 EXPECT_CALL(video_provider_, SetCaptureDevice(kVideoSsrc, NULL)).Times(1); in DestroyVideoRtpSender() 166 EXPECT_CALL(video_provider_, SetVideoSend(kVideoSsrc, false, _)).Times(1); in DestroyVideoRtpSender() 344 EXPECT_CALL(audio_provider_, SetAudioSend(kAudioSsrc, false, _, _)).Times(1); in TEST_F() 359 EXPECT_CALL(audio_provider_, SetAudioSend(kAudioSsrc, false, _, _)).Times(1); in TEST_F() 376 EXPECT_CALL(video_provider_, SetCaptureDevice(kVideoSsrc, nullptr)).Times(1); in TEST_F() 377 EXPECT_CALL(video_provider_, SetVideoSend(kVideoSsrc, false, _)).Times(1); in TEST_F() 394 EXPECT_CALL(video_provider_, SetCaptureDevice(kVideoSsrc, nullptr)).Times(1); in TEST_F() 395 EXPECT_CALL(video_provider_, SetVideoSend(kVideoSsrc, false, _)).Times(1); in TEST_F() 408 EXPECT_CALL(audio_provider_, SetAudioSend(kAudioSsrc, false, _, _)).Times(1); in TEST_F() [all …]
|
D | proxy_unittest.cc | 114 .Times(Exactly(1)) in TEST_F() 121 .Times(Exactly(1)) in TEST_F() 131 .Times(Exactly(1)) in TEST_F() 142 .Times(Exactly(1)) in TEST_F() 152 .Times(Exactly(1)) in TEST_F() 163 .Times(Exactly(1)) in TEST_F()
|
/external/webrtc/webrtc/test/ |
D | fake_network_pipe_unittest.cc | 92 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(0); in TEST_F() 97 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(1); in TEST_F() 102 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(8); in TEST_F() 107 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(1); in TEST_F() 131 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(0); in TEST_F() 136 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(1); in TEST_F() 141 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(1); in TEST_F() 165 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(2); in TEST_F() 188 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(2); in TEST_F() 219 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(0); in TEST_F() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/agc/ |
D | agc_unittest.cc | 95 EXPECT_CALL(checker_, LevelChanged(Lt(500), Eq(179))).Times(1); in TEST_F() 96 EXPECT_CALL(checker_, LevelChanged(_, Gt(179))).Times(AtLeast(1)); in TEST_F() 104 EXPECT_CALL(checker_, LevelChanged(Lt(500), Eq(77))).Times(1); in TEST_F() 105 EXPECT_CALL(checker_, LevelChanged(_, Lt(77))).Times(AtLeast(1)); in TEST_F() 113 .Times(AtLeast(2)) in TEST_F() 120 .Times(AtLeast(2)) in TEST_F() 129 EXPECT_CALL(checker_, LevelChanged(_, _)).Times(0); in TEST_F() 135 .Times(AtLeast(2)) in TEST_F() 143 .Times(AtLeast(2)) in TEST_F() 152 .Times(AtLeast(0)); in TEST_F()
|
D | agc_manager_direct_unittest.cc | 225 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F() 232 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F() 237 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F() 242 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F() 249 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F() 257 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F() 262 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F() 277 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F() 290 EXPECT_CALL(gctrl_, set_compression_gain_db(_)).Times(0); in TEST_F() 377 EXPECT_CALL(*agc_, Reset()).Times(1); in TEST_F() [all …]
|
/external/libbrillo/brillo/dbus/ |
D | dbus_signal_handler_unittest.cc | 36 EXPECT_CALL(*bus_, AssertOnOriginThread()).Times(AnyNumber()); in SetUp() 37 EXPECT_CALL(*bus_, AssertOnDBusThread()).Times(AnyNumber()); in SetUp() 74 .Times(1); in TEST_F() 86 EXPECT_CALL(sink, Handler(10, 20, 30.5)).Times(1); in TEST_F() 97 EXPECT_CALL(sink, Handler(std::string{"foo"}, std::string{"bar"})).Times(1); in TEST_F() 107 EXPECT_CALL(sink, Handler()).Times(1); in TEST_F() 118 EXPECT_CALL(sink, Handler()).Times(0); in TEST_F() 129 EXPECT_CALL(sink, Handler(_, _)).Times(0); in TEST_F() 140 EXPECT_CALL(sink, Handler(_, _)).Times(0); in TEST_F()
|
D | async_event_sequencer_unittest.cc | 40 EXPECT_CALL(*this, HandleCompletion(true)).Times(1); in TEST_F() 49 EXPECT_CALL(*this, HandleCompletion(true)).Times(1); in TEST_F() 58 EXPECT_CALL(*this, HandleCompletion(false)).Times(1); in TEST_F() 69 EXPECT_CALL(*this, HandleCompletion(true)).Times(1); in TEST_F() 80 EXPECT_CALL(*this, HandleCompletion(false)).Times(1); in TEST_F() 90 EXPECT_CALL(*this, HandleCompletion(true)).Times(1); in TEST_F()
|
D | exported_object_manager_unittest.cc | 105 EXPECT_CALL(*bus_, AssertOnOriginThread()).Times(AnyNumber()); in SetUp() 106 EXPECT_CALL(*bus_, AssertOnDBusThread()).Times(AnyNumber()); in SetUp() 109 EXPECT_CALL(*bus_, GetExportedObject(kTestPath)).Times(1).WillOnce( in SetUp() 112 .Times(AnyNumber()); in SetUp() 119 EXPECT_CALL(*mock_exported_object_, Unregister()).Times(1); in TearDown() 140 .Times(1).WillOnce(Invoke(&VerifyInterfaceClaimSignal)); in TEST_F() 146 EXPECT_CALL(*mock_exported_object_, SendSignal(_)).Times(1); in TEST_F() 148 .Times(1).WillOnce(Invoke(&VerifyInterfaceDropSignal)); in TEST_F() 166 EXPECT_CALL(*mock_exported_object_, SendSignal(_)).Times(1); in TEST_F()
|
/external/webrtc/webrtc/modules/video_coding/ |
D | video_coding_robustness_unittest.cc | 86 .Times(1); in TEST_F() 93 .Times(1) in TEST_F() 135 EXPECT_CALL(request_callback_, ResendPackets(_, _)).Times(0); in TEST_F() 136 EXPECT_CALL(frame_type_callback_, RequestKeyFrame()).Times(1); in TEST_F() 155 EXPECT_CALL(decoder_, InitDecode(_, _)).Times(1); in TEST_F() 156 EXPECT_CALL(decoder_, Release()).Times(1); in TEST_F() 160 .Times(0); in TEST_F() 162 EXPECT_CALL(decoder_, Copy()).Times(0); in TEST_F() 163 EXPECT_CALL(decoderCopy_, Copy()).Times(0); in TEST_F() 170 .Times(1) in TEST_F() [all …]
|
/external/webrtc/webrtc/modules/utility/source/ |
D | process_thread_impl_unittest.cc | 82 EXPECT_CALL(module, ProcessThreadAttached(&thread)).Times(1); in TEST() 87 EXPECT_CALL(module, ProcessThreadAttached(nullptr)).Times(1); in TEST() 105 EXPECT_CALL(module, ProcessThreadAttached(&thread)).Times(1); in TEST() 109 EXPECT_CALL(module, ProcessThreadAttached(nullptr)).Times(1); in TEST() 130 EXPECT_CALL(module, ProcessThreadAttached(&thread)).Times(1); in TEST() 135 EXPECT_CALL(module, ProcessThreadAttached(nullptr)).Times(1); in TEST() 169 EXPECT_CALL(module, ProcessThreadAttached(&thread)).Times(1); in ProcessCallAfterAFewMs() 176 EXPECT_CALL(module, ProcessThreadAttached(nullptr)).Times(1); in ProcessCallAfterAFewMs() 230 EXPECT_CALL(module, ProcessThreadAttached(&thread)).Times(1); in TEST() 235 EXPECT_CALL(module, ProcessThreadAttached(nullptr)).Times(1); in TEST() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/ |
D | audio_processing_impl_unittest.cc | 41 EXPECT_CALL(mock, InitializeLocked()).Times(1); in TEST() 49 .Times(0); in TEST() 56 .Times(1); in TEST() 62 .Times(2); in TEST() 72 .Times(0); in TEST()
|
/external/webrtc/webrtc/modules/video_coding/codecs/test/ |
D | videoprocessor_unittest.cc | 56 EXPECT_CALL(encoder_mock_, InitEncode(_, _, _)).Times(1); in ExpectInit() 58 .Times(AtLeast(1)); in ExpectInit() 59 EXPECT_CALL(decoder_mock_, InitDecode(_, _)).Times(1); in ExpectInit() 61 .Times(AtLeast(1)); in ExpectInit() 77 EXPECT_CALL(encoder_mock_, Encode(_, _, _)).Times(1); in TEST_F()
|
/external/google-breakpad/src/testing/test/ |
D | gmock-spec-builders_test.cc | 126 .Times(AnyNumber()); in TEST() 309 .Times(0); in TEST() 312 .Times(0); in TEST() 332 .Times(1) in TEST() 367 .Times(1) in TEST() 368 .Times(2); in TEST() 382 .Times(1); in TEST() 416 .Times(AnyNumber()); in TEST() 468 .Times(AnyNumber()) in TEST() 573 .Times(0); in TEST() [all …]
|
/external/google-breakpad/src/common/linux/ |
D | google_crashdump_uploader_test.cc | 63 EXPECT_CALL(m, Init()).Times(1).WillOnce(Return(false)); in TEST_F() 87 EXPECT_CALL(m, Init()).Times(1).WillOnce(Return(true)); in TEST_F() 90 SendRequest("http://foo.com",_,_,_,_)).Times(1).WillOnce(Return(true)); in TEST_F() 109 EXPECT_CALL(m, Init()).Times(1).WillOnce(Return(true)); in TEST_F() 110 EXPECT_CALL(m, SendRequest(_,_,_,_,_)).Times(0); in TEST_F()
|
/external/v8/testing/gmock/test/ |
D | gmock-spec-builders_test.cc | 127 .Times(AnyNumber()); in TEST() 317 .Times(0); in TEST() 320 .Times(0); in TEST() 340 .Times(1) in TEST() 375 .Times(1) in TEST() 376 .Times(2); in TEST() 390 .Times(1); in TEST() 424 .Times(AnyNumber()); in TEST() 476 .Times(AnyNumber()) in TEST() 581 .Times(0); in TEST() [all …]
|
/external/googletest/googlemock/test/ |
D | gmock-spec-builders_test.cc | 126 .Times(AnyNumber()); in TEST() 316 .Times(0); in TEST() 319 .Times(0); in TEST() 339 .Times(1) in TEST() 374 .Times(1) in TEST() 375 .Times(2); in TEST() 389 .Times(1); in TEST() 423 .Times(AnyNumber()); in TEST() 475 .Times(AnyNumber()) in TEST() 580 .Times(0); in TEST() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | neteq_impl_unittest.cc | 104 EXPECT_CALL(*mock_delay_peak_detector_, Reset()).Times(1); in CreateInstance() 112 EXPECT_CALL(*mock_delay_manager_, set_streaming_mode(false)).Times(1); in CreateInstance() 178 EXPECT_CALL(*mock_buffer_level_filter_, Die()).Times(1); in ~NetEqImplTest() 181 EXPECT_CALL(*mock_decoder_database_, Die()).Times(1); in ~NetEqImplTest() 184 EXPECT_CALL(*mock_delay_manager_, Die()).Times(1); in ~NetEqImplTest() 187 EXPECT_CALL(*mock_delay_peak_detector_, Die()).Times(1); in ~NetEqImplTest() 190 EXPECT_CALL(*mock_dtmf_buffer_, Die()).Times(1); in ~NetEqImplTest() 193 EXPECT_CALL(*mock_dtmf_tone_generator_, Die()).Times(1); in ~NetEqImplTest() 196 EXPECT_CALL(*mock_packet_buffer_, Die()).Times(1); in ~NetEqImplTest() 288 EXPECT_CALL(mock_decoder, Die()).Times(1); // Called when deleted. in TEST_F() [all …]
|