Home
last modified time | relevance | path

Searched refs:WillRepeatedly (Results 1 – 25 of 79) sorted by relevance

1234

/external/google-breakpad/src/processor/
Dminidump_processor_unittest.cc333 EXPECT_CALL(dump, path()).WillRepeatedly(Return("mock minidump")); in TEST_F()
334 EXPECT_CALL(dump, Read()).WillRepeatedly(Return(true)); in TEST_F()
340 WillRepeatedly(Return(&fakeHeader)); in TEST_F()
348 WillRepeatedly(Return(reinterpret_cast<MinidumpSystemInfo*>(NULL))); in TEST_F()
371 _, _, _, _)).WillRepeatedly(Return(SymbolSupplier::NOT_FOUND)); in TEST_F()
389 _, _, _, _)).WillRepeatedly(Return(SymbolSupplier::NOT_FOUND)); in TEST_F()
483 EXPECT_CALL(dump, path()).WillRepeatedly(Return("mock minidump")); in TEST_F()
484 EXPECT_CALL(dump, Read()).WillRepeatedly(Return(true)); in TEST_F()
488 EXPECT_CALL(dump, header()).WillRepeatedly(Return(&fake_header)); in TEST_F()
497 WillRepeatedly(Return(&dump_system_info)); in TEST_F()
[all …]
/external/webrtc/talk/app/webrtc/
Dstatscollector_unittest.cc513 EXPECT_CALL(session_, GetTransportStats(_)).WillRepeatedly(Return(false)); in StatsCollectorTest()
515 EXPECT_CALL(session_, video_channel()).WillRepeatedly(ReturnNull()); in StatsCollectorTest()
516 EXPECT_CALL(session_, voice_channel()).WillRepeatedly(ReturnNull()); in StatsCollectorTest()
517 EXPECT_CALL(pc_, session()).WillRepeatedly(Return(&session_)); in StatsCollectorTest()
519 .WillRepeatedly(ReturnRef(data_channels_)); in StatsCollectorTest()
545 .WillRepeatedly(DoAll(SetArgPointee<1>(kLocalTrackId), Return(true))); in AddOutgoingVideoTrackStats()
554 .WillRepeatedly(DoAll(SetArgPointee<1>(kRemoteTrackId), Return(true))); in AddIncomingVideoTrackStats()
615 .WillRepeatedly(DoAll(SetArgPointee<0>(session_stats_), in SetupAndVerifyAudioTrackStats()
624 EXPECT_CALL(session_, voice_channel()).WillRepeatedly( in SetupAndVerifyAudioTrackStats()
626 EXPECT_CALL(session_, video_channel()).WillRepeatedly(ReturnNull()); in SetupAndVerifyAudioTrackStats()
[all …]
/external/webrtc/webrtc/modules/utility/source/
Dprocess_thread_impl_unittest.cc78 EXPECT_CALL(module, TimeUntilNextProcess()).WillRepeatedly(Return(0)); in TEST()
81 .WillRepeatedly(Return(0)); in TEST()
98 EXPECT_CALL(module, TimeUntilNextProcess()).WillRepeatedly(Return(0)); in TEST()
101 .WillRepeatedly(Return(0)); in TEST()
121 EXPECT_CALL(module, TimeUntilNextProcess()).WillRepeatedly(Return(0)); in TEST()
126 .WillRepeatedly(DoAll(Increment(&process_count), Return(0))); in TEST()
162 .WillRepeatedly(Return(milliseconds)); in ProcessCallAfterAFewMs()
167 .WillRepeatedly(Return(0)); in ProcessCallAfterAFewMs()
225 .WillRepeatedly(Return(20)); in TEST()
227 .WillRepeatedly(DoAll(Increment(&callback_count), in TEST()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/
Daudio_encoder_cng_unittest.cc43 EXPECT_CALL(mock_encoder_, NumChannels()).WillRepeatedly(Return(1)); in AudioEncoderCngTest()
65 .WillRepeatedly(Return(sample_rate_hz_)); in CreateCng()
71 .WillRepeatedly(Return(kMockMaxEncodedBytes)); in CreateCng()
105 .WillRepeatedly(Return(blocks_per_frame)); in CheckBlockGrouping()
108 .WillRepeatedly(Return(active_speech ? Vad::kActive : Vad::kPassive)); in CheckBlockGrouping()
136 .WillRepeatedly(Return(blocks_per_frame)); in CheckVadInputSize()
171 .WillRepeatedly(Return(blocks_per_frame)); in CheckMixedActivePassive()
223 .WillRepeatedly(Return(1U)); in TEST_F()
257 .WillRepeatedly(Return(kBlocksPerFrame)); in TEST_F()
260 .WillRepeatedly(Return(Vad::kPassive)); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_impl_unittest.cc275 EXPECT_CALL(mock_decoder, Channels()).WillRepeatedly(Return(1)); in TEST_F()
292 .WillRepeatedly(Return(false)); // This is not RED. in TEST_F()
295 .WillRepeatedly(Return(DecoderDatabase::kOK)); // Payload type is valid. in TEST_F()
297 .WillRepeatedly(Return(false)); // This is not DTMF. in TEST_F()
300 .WillRepeatedly(Return(&mock_decoder)); in TEST_F()
302 .WillRepeatedly(Return(false)); // This is not CNG. in TEST_F()
306 .WillRepeatedly(Return(&info)); in TEST_F()
319 .WillRepeatedly(DoAll(SetArgPointee<2>(kPayloadType), in TEST_F()
343 .WillRepeatedly(Return(-1)); in TEST_F()
360 .WillRepeatedly(Return(PayloadSplitter::kOK)); in TEST_F()
[all …]
Dtimestamp_scaler_unittest.cc31 .WillRepeatedly(Return(&info)); in TEST()
52 .WillRepeatedly(Return(&info)); in TEST()
77 .WillRepeatedly(Return(&info)); in TEST()
101 .WillRepeatedly(Return(&info)); in TEST()
132 .WillRepeatedly(Return(&info_g722)); in TEST()
134 .WillRepeatedly(Return(&info_cng)); in TEST()
172 .WillRepeatedly(Return(&info)); in TEST()
200 .WillRepeatedly(Return(&info)); in TEST()
229 .WillRepeatedly(Return(&info)); in TEST()
269 .WillRepeatedly(Return(&info)); in TEST()
Dpacket_buffer_unittest.cc172 .WillRepeatedly(Return(false)); in TEST()
174 .WillRepeatedly(Return(false)); in TEST()
213 .WillRepeatedly(Return(false)); in TEST()
215 .WillRepeatedly(Return(false)); in TEST()
343 .WillRepeatedly(Return(false)); in TEST()
345 .WillRepeatedly(Return(false)); in TEST()
417 .WillRepeatedly(Return(false)); in TEST()
419 .WillRepeatedly(Return(false)); in TEST()
Dpayload_splitter_unittest.cc378 .WillRepeatedly(Return(info0.get())); in TEST()
383 .WillRepeatedly(Return(info1.get())); in TEST()
388 .WillRepeatedly(Return(info2.get())); in TEST()
393 .WillRepeatedly(Return(info3.get())); in TEST()
398 .WillRepeatedly(Return(info4.get())); in TEST()
403 .WillRepeatedly(Return(info5.get())); in TEST()
436 .WillRepeatedly(ReturnNull()); in TEST()
541 .WillRepeatedly(Return(info.get())); in TEST_P()
629 .WillRepeatedly(Return(info.get())); in TEST_P()
693 .WillRepeatedly(Return(info.get())); in TEST()
[all …]
Ddelay_manager_unittest.cc231 .WillRepeatedly(Return(true)); in TEST_F()
233 .WillRepeatedly(Return(kExpectedTarget)); in TEST_F()
262 .WillRepeatedly(Return(true)); in TEST_F()
264 .WillRepeatedly(Return(kExpectedTarget)); in TEST_F()
/external/webrtc/webrtc/modules/audio_processing/agc/
Dagc_manager_direct_unittest.cc224 .WillRepeatedly(Return(false)); in TEST_F()
231 .WillRepeatedly(Return(false)); in TEST_F()
248 .WillRepeatedly(Return(false)); in TEST_F()
256 .WillRepeatedly(Return(false)); in TEST_F()
271 .WillRepeatedly(Return(false)); in TEST_F()
282 .WillRepeatedly(Return(false)); in TEST_F()
302 .WillRepeatedly(Return(false)); in TEST_F()
324 .WillRepeatedly(Return(false)); in TEST_F()
402 .WillRepeatedly(DoAll(SetArgPointee<0>(30), Return(true))); in TEST_F()
457 EXPECT_CALL(*agc_, AnalyzePreproc(_, _)).WillRepeatedly(Return(0)); in TEST_F()
[all …]
Dagc_unittest.cc114 .WillRepeatedly(SaveArg<1>(&last_level)); in TEST_F()
121 .WillRepeatedly(SaveArg<1>(&last_level)); in TEST_F()
136 .WillRepeatedly(SaveArg<1>(&last_level)); in TEST_F()
144 .WillRepeatedly(SaveArg<1>(&last_level)); in TEST_F()
/external/webrtc/webrtc/modules/audio_coding/acm2/
Drent_a_codec_unittest.cc108 .WillRepeatedly(Return(kSampleRateHz)); in TEST()
109 EXPECT_CALL(external_encoder, NumChannels()).WillRepeatedly(Return(1)); in TEST()
110 EXPECT_CALL(external_encoder, SetFec(false)).WillRepeatedly(Return(true)); in TEST()
164 EXPECT_CALL(speech_encoder, NumChannels()).WillRepeatedly(Return(1)); in TestCngAndRedResetSpeechEncoder()
166 .WillRepeatedly(Return(2)); in TestCngAndRedResetSpeechEncoder()
167 EXPECT_CALL(speech_encoder, SampleRateHz()).WillRepeatedly(Return(8000)); in TestCngAndRedResetSpeechEncoder()
168 EXPECT_CALL(speech_encoder, SetFec(false)).WillRepeatedly(Return(true)); in TestCngAndRedResetSpeechEncoder()
Dcodec_manager_unittest.cc26 EXPECT_CALL(*enc, SampleRateHz()).WillRepeatedly(Return(8000)); in CreateMockEncoder()
27 EXPECT_CALL(*enc, NumChannels()).WillRepeatedly(Return(1)); in CreateMockEncoder()
28 EXPECT_CALL(*enc, Max10MsFramesInAPacket()).WillRepeatedly(Return(1)); in CreateMockEncoder()
Daudio_coding_module_unittest_oldapi.cc1006 .WillRepeatedly(Invoke(&decoder, &AudioDecoderPcmU::IncomingPacket));
1009 .WillRepeatedly(Invoke(&decoder, &AudioDecoderPcmU::Channels));
1012 .WillRepeatedly(Invoke(&decode_forwarder, &DecodeForwarder::Decode));
1015 .WillRepeatedly(Invoke(&decoder, &AudioDecoderPcmU::HasDecodePlc));
1018 .WillRepeatedly(Invoke(&decoder, &AudioDecoderPcmU::PacketDuration));
1641 .WillRepeatedly(Invoke(&encoder, &AudioEncoderPcmU::MaxEncodedBytes)); in TEST_F()
1644 .WillRepeatedly(Invoke(&encoder, &AudioEncoderPcmU::SampleRateHz)); in TEST_F()
1647 .WillRepeatedly(Invoke(&encoder, &AudioEncoderPcmU::NumChannels)); in TEST_F()
1650 .WillRepeatedly(Invoke(&encoder, &AudioEncoderPcmU::RtpTimestampRateHz)); in TEST_F()
1653 .WillRepeatedly( in TEST_F()
[all …]
/external/libchrome/base/
Dgmock_unittest.cc87 EXPECT_CALL(mock, OutputParam(_)).WillRepeatedly(SetArgPointee<0>(5)); in TEST()
98 EXPECT_CALL(mock, OutputParam(_)).WillRepeatedly(SetArgPointee<0>(5)); in TEST()
113 .WillRepeatedly(ReturnSecond()); in TEST()
127 .WillRepeatedly(WithArg<1>(ReturnVal())); in TEST()
/external/webrtc/webrtc/audio/
Daudio_send_stream_unittest.cc137 .WillRepeatedly(Return(kCallStats)); in SetupMockForGetStats()
139 .WillRepeatedly(Return(report_blocks)); in SetupMockForGetStats()
142 .WillRepeatedly(DoAll(SetArgReferee<1>(kCodecInst), Return(0))); in SetupMockForGetStats()
144 .WillRepeatedly(DoAll(SetArgReferee<0>(kSpeechInputLevel), Return(0))); in SetupMockForGetStats()
146 .WillRepeatedly(DoAll(SetArgReferee<0>(true), Return(0))); in SetupMockForGetStats()
148 .WillRepeatedly(DoAll(SetArgReferee<0>(kEchoReturnLoss), in SetupMockForGetStats()
152 .WillRepeatedly(DoAll(SetArgReferee<0>(kEchoDelayMedian), in SetupMockForGetStats()
/external/webrtc/webrtc/modules/audio_coding/codecs/red/
Daudio_encoder_copy_red_unittest.cc45 EXPECT_CALL(mock_encoder_, NumChannels()).WillRepeatedly(Return(1U)); in AudioEncoderCopyRedTest()
47 .WillRepeatedly(Return(sample_rate_hz_)); in AudioEncoderCopyRedTest()
49 .WillRepeatedly(Return(kMockMaxEncodedBytes)); in AudioEncoderCopyRedTest()
147 .WillRepeatedly(Return(AudioEncoder::EncodedInfo())); in TEST_F()
222 .WillRepeatedly(Invoke(&helper, &MockEncodeHelper::Encode)); in TEST_F()
253 .WillRepeatedly(Invoke(&helper, &MockEncodeHelper::Encode)); in TEST_F()
290 .WillRepeatedly(Invoke(&helper, &MockEncodeHelper::Encode)); in TEST_F()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dfec_receiver_unittest.cc67 .Times(times).WillRepeatedly(Return(true)); in VerifyReconstructedMediaPacket()
134 .WillRepeatedly(Return(true)); in InjectGarbagePacketLength()
298 .Times(1).WillRepeatedly(Return(true)); in TEST_F()
313 .Times(1).WillRepeatedly(Return(true)); in TEST_F()
320 .Times(1).WillRepeatedly(Return(true)); in TEST_F()
342 .Times(1).WillRepeatedly(Return(true)); in TEST_F()
357 .Times(1).WillRepeatedly(Return(true)); in TEST_F()
403 .Times(1).WillRepeatedly(Return(true)); in TEST_F()
/external/google-breakpad/src/testing/test/
Dgmock-spec-builders_test.cc355 .WillRepeatedly(Return()); in TEST()
479 .WillRepeatedly(Return()) in TEST()
493 .WillRepeatedly(Return()); in TEST()
505 .WillRepeatedly(Return()) in TEST()
506 .WillRepeatedly(Return()); in TEST()
517 .WillRepeatedly(Return()); in TEST()
578 .WillRepeatedly(Return(1)); in TEST()
591 .WillRepeatedly(Return(2)); in TEST()
625 .WillRepeatedly(Return(1)); // #4 in TEST()
629 .WillRepeatedly(Return(2)); // #5 in TEST()
[all …]
/external/perfetto/src/traced/probes/ps/
Dprocess_stats_data_source_unittest.cc237 .WillRepeatedly(Invoke([](int32_t pid, const std::string&) { in TEST_F()
303 EXPECT_CALL(*data_source, OpenProcDir()).WillRepeatedly(Invoke([&fake_proc] { in TEST_F()
311 .WillRepeatedly(Invoke([checkpoint, &iter](int32_t p, in TEST_F()
320 .WillRepeatedly(Invoke( in TEST_F()
376 EXPECT_CALL(*data_source, OpenProcDir()).WillRepeatedly(Invoke([&fake_proc] { in TEST_F()
383 .WillRepeatedly(Invoke([checkpoint](int32_t p, const std::string&) { in TEST_F()
391 .WillRepeatedly( in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Scalar/
DLoopPassManagerTest.cpp733 .WillRepeatedly(Invoke([](Loop &L, LoopAnalysisManager &AM, in TEST_F()
740 .WillRepeatedly(Invoke([](Loop &L, LoopAnalysisManager &AM, in TEST_F()
752 .WillRepeatedly(Invoke([](Loop &L, LoopAnalysisManager &AM, in TEST_F()
936 .WillRepeatedly(Invoke(getLoopAnalysisResult)); in TEST_F()
981 .WillRepeatedly(Invoke(getLoopAnalysisResult)); in TEST_F()
1023 .WillRepeatedly(Invoke(getLoopAnalysisResult)); in TEST_F()
1029 .WillRepeatedly(Invoke(getLoopAnalysisResult)); in TEST_F()
1036 .WillRepeatedly(Invoke(getLoopAnalysisResult)); in TEST_F()
1043 .WillRepeatedly(Invoke(getLoopAnalysisResult)); in TEST_F()
1170 .WillRepeatedly(Invoke(getLoopAnalysisResult)); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/pacing/
Dpaced_sender_unittest.cc132 .WillRepeatedly(Return(true)); in SendAndExpectPacket()
177 .WillRepeatedly(Return(true)); in TEST_F()
223 .WillRepeatedly(Return(true)); in TEST_F()
290 .WillRepeatedly(Return(true)); in TEST_F()
483 .WillRepeatedly(Return(true)); in TEST_F()
494 .WillRepeatedly(Return(true)); in TEST_F()
595 .WillRepeatedly(Return(true)); in TEST_F()
598 .WillRepeatedly(Return(true)); in TEST_F()
889 .WillRepeatedly(Return(true)); in TEST_F()
898 .WillRepeatedly(Return(true)); in TEST_F()
/external/libbrillo/brillo/http/
Dhttp_transport_curl_unittest.cc43 .WillRepeatedly(Return(CURLE_OK)); in SetUp()
253 .WillRepeatedly(DoAll(SetArgPointee<2>(200), Return(CURLE_OK))); in TEST_F()
277 .Times(2).WillRepeatedly(Return(CURLM_OK)); in TEST_F()
287 .WillRepeatedly(DoAll(SetArgPointee<3>(0), Return(CURLM_OK))); in TEST_F()
296 .WillRepeatedly(DoAll(SetArgPointee<1>(0), Return(nullptr))); in TEST_F()
298 .WillRepeatedly(DoAll(SetArgPointee<2>(connection.get()), in TEST_F()
/external/googletest/googlemock/test/
Dgmock-spec-builders_test.cc366 .WillRepeatedly(Return()); in TEST()
490 .WillRepeatedly(Return()) in TEST()
504 .WillRepeatedly(Return()); in TEST()
516 .WillRepeatedly(Return()) in TEST()
517 .WillRepeatedly(Return()); in TEST()
528 .WillRepeatedly(Return()); in TEST()
589 .WillRepeatedly(Return(1)); in TEST()
602 .WillRepeatedly(Return(2)); in TEST()
636 .WillRepeatedly(Return(1)); // #4 in TEST()
640 .WillRepeatedly(Return(2)); // #5 in TEST()
[all …]
/external/perfetto/src/traced/service/
Dlazy_producer_unittest.cc72 .WillRepeatedly(Return(true)); in TEST()
94 .WillRepeatedly(Return(true)); in TEST()

1234