/external/libbrillo/brillo/streams/ |
H A D | stream_unittest.cc | 76 EXPECT_CALL(stream_mock, GetPosition()).WillOnce(Return(123)); 77 EXPECT_CALL(stream_mock, SetSizeBlocking(123, _)).WillOnce(Return(true)); 83 EXPECT_CALL(stream_mock, Seek(12345, Whence::FROM_BEGIN, _, _)) 90 EXPECT_CALL(stream_mock, Seek(max_offset, _, _, _)) 117 EXPECT_CALL(stream_mock, ReadNonBlocking(buf, 10, _, _, _)) 120 EXPECT_CALL(stream_mock, WaitForData(AccessMode::READ, _, _)) 152 EXPECT_CALL(stream_mock, ReadNonBlocking(buf, 10, _, _, _)) 176 EXPECT_CALL(stream_mock, ReadNonBlocking(buf, 10, _, _, _)) 179 EXPECT_CALL(stream_mock, WaitForData(_, _, _)).Times(0); 225 EXPECT_CALL(stream_moc [all...] |
H A D | openssl_stream_bio_unittests.cc | 41 EXPECT_CALL(*stream_, ReadNonBlocking(buffer, 10, _, _, _)) 50 EXPECT_CALL(*stream_, ReadNonBlocking(buffer, 10, _, _, _)) 59 EXPECT_CALL(*stream_, ReadNonBlocking(buffer, 10, _, _, _)) 69 EXPECT_CALL(*stream_, ReadNonBlocking(buffer, 10, _, _, _)) 79 EXPECT_CALL(*stream_, ReadNonBlocking(buffer, 10, _, _, _)) 87 EXPECT_CALL(*stream_, WriteNonBlocking(buffer, 10, _, _)) 94 EXPECT_CALL(*stream_, WriteNonBlocking(buffer, 10, _, _)) 101 EXPECT_CALL(*stream_, WriteNonBlocking(buffer, 10, _, _)) 109 EXPECT_CALL(*stream_, WriteNonBlocking(buffer, 10, _, _)) 116 EXPECT_CALL(*stream [all...] |
/external/googletest/googlemock/test/ |
H A D | gmock-spec-builders_test.cc | 125 EXPECT_CALL(incomplete, ByRefFunc(_)) 178 // Tests that EXPECT_CALL and ON_CALL compile in a presence of macro 217 EXPECT_CALL(cc, Method()); 224 EXPECT_CALL(cc, Method()).WillOnce(Return(42)); 290 // Tests that EXPECT_CALL evaluates its arguments exactly once as 296 EXPECT_CALL(*pa++, DoA(_)); 305 EXPECT_CALL(a, DoA(n++)); 310 // Tests that the syntax of EXPECT_CALL() is enforced at run time. 315 EXPECT_CALL(a, DoA(5)) 317 EXPECT_CALL( [all...] |
H A D | gmock_leak_test_.cc | 62 EXPECT_CALL(*foo, DoThis()); 89 EXPECT_CALL(*foo2, DoThis());
|
H A D | gmock-generated-function-mockers_test.cc | 194 EXPECT_CALL(mock_foo_, VoidReturning(Lt(100))); 200 EXPECT_CALL(mock_foo_, Nullary()) 210 EXPECT_CALL(mock_foo_, Unary(Eq(2))) 220 EXPECT_CALL(mock_foo_, Binary(2, _)) 228 EXPECT_CALL(mock_foo_, Decimal(true, 'a', 0, 0, 1L, A<float>(), 238 EXPECT_CALL(mock_foo_, TakesNonConstReference(Ref(a))) 247 EXPECT_CALL(mock_foo_, TakesConstReference(Ref(a))) 256 EXPECT_CALL(mock_foo_, TakesConst(Lt(10))) 265 EXPECT_CALL(mock_foo_, OverloadedOnArgumentNumber()) 267 EXPECT_CALL(mock_foo [all...] |
/external/v8/testing/gmock/test/ |
H A D | gmock-spec-builders_test.cc | 126 EXPECT_CALL(incomplete, ByRefFunc(_)) 179 // Tests that EXPECT_CALL and ON_CALL compile in a presence of macro 218 EXPECT_CALL(cc, Method()); 225 EXPECT_CALL(cc, Method()).WillOnce(Return(42)); 291 // Tests that EXPECT_CALL evaluates its arguments exactly once as 297 EXPECT_CALL(*pa++, DoA(_)); 306 EXPECT_CALL(a, DoA(n++)); 311 // Tests that the syntax of EXPECT_CALL() is enforced at run time. 316 EXPECT_CALL(a, DoA(5)) 318 EXPECT_CALL( [all...] |
H A D | gmock_leak_test_.cc | 62 EXPECT_CALL(*foo, DoThis()); 89 EXPECT_CALL(*foo2, DoThis());
|
H A D | gmock-generated-function-mockers_test.cc | 192 EXPECT_CALL(mock_foo_, VoidReturning(Lt(100))); 198 EXPECT_CALL(mock_foo_, Nullary()) 208 EXPECT_CALL(mock_foo_, Unary(Eq(2))) 218 EXPECT_CALL(mock_foo_, Binary(2, _)) 226 EXPECT_CALL(mock_foo_, Decimal(true, 'a', 0, 0, 1L, A<float>(), 236 EXPECT_CALL(mock_foo_, TakesNonConstReference(Ref(a))) 245 EXPECT_CALL(mock_foo_, TakesConstReference(Ref(a))) 254 EXPECT_CALL(mock_foo_, TakesConst(Lt(10))) 263 EXPECT_CALL(mock_foo_, OverloadedOnArgumentNumber()) 265 EXPECT_CALL(mock_foo [all...] |
/external/google-breakpad/src/common/linux/ |
H A D | google_crashdump_uploader_test.cc | 63 EXPECT_CALL(m, Init()).Times(1).WillOnce(Return(false)); 87 EXPECT_CALL(m, Init()).Times(1).WillOnce(Return(true)); 88 EXPECT_CALL(m, AddFile(tempfn, _)).WillOnce(Return(true)); 89 EXPECT_CALL(m, 109 EXPECT_CALL(m, Init()).Times(1).WillOnce(Return(true)); 110 EXPECT_CALL(m, SendRequest(_,_,_,_,_)).Times(0);
|
/external/google-breakpad/src/testing/test/ |
H A D | gmock_leak_test_.cc | 62 EXPECT_CALL(*foo, DoThis()); 89 EXPECT_CALL(*foo2, DoThis());
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
H A D | normal_unittest.cc | 43 EXPECT_CALL(db, Die()); // Called when |db| goes out of scope. 73 EXPECT_CALL(expand, SetParametersForNormalAfterExpand()); 74 EXPECT_CALL(expand, Process(_)); 75 EXPECT_CALL(expand, Reset()); 88 EXPECT_CALL(db, Die()); // Called when |db| goes out of scope. 89 EXPECT_CALL(expand, Die()); // Called when |expand| goes out of scope. 120 EXPECT_CALL(db, Die()); // Called when |db| goes out of scope. 121 EXPECT_CALL(expand, Die()); // Called when |expand| goes out of scope.
|
H A D | timestamp_scaler_unittest.cc | 30 EXPECT_CALL(db, GetDecoderInfo(kRtpPayloadType)) 42 EXPECT_CALL(db, Die()); // Called when database object is deleted. 51 EXPECT_CALL(db, GetDecoderInfo(kRtpPayloadType)) 68 EXPECT_CALL(db, Die()); // Called when database object is deleted. 76 EXPECT_CALL(db, GetDecoderInfo(kRtpPayloadType)) 92 EXPECT_CALL(db, Die()); // Called when database object is deleted. 100 EXPECT_CALL(db, GetDecoderInfo(kRtpPayloadType)) 120 EXPECT_CALL(db, Die()); // Called when database object is deleted. 131 EXPECT_CALL(db, GetDecoderInfo(kRtpPayloadTypeG722)) 133 EXPECT_CALL(d [all...] |
H A D | delay_manager_unittest.cc | 54 EXPECT_CALL(detector_, Reset()) 60 EXPECT_CALL(detector_, SetPacketAudioLength(lengt_ms)); 72 EXPECT_CALL(detector_, IncrementCounter(kTimeStepMs)) 78 EXPECT_CALL(detector_, Die()); 101 EXPECT_CALL(detector_, SetPacketAudioLength(kLengthMs)) 111 EXPECT_CALL(detector_, peak_found()) 120 EXPECT_CALL(detector_, IncrementCounter(kTimeStepMs)) 135 EXPECT_CALL(detector_, Update(1, 1)) 159 EXPECT_CALL(detector_, Update(2, 2)) 183 EXPECT_CALL(detector [all...] |
/external/webrtc/webrtc/video/ |
H A D | call_stats_unittest.cc | 52 EXPECT_CALL(stats_observer, OnRttUpdate(kRtt, kRtt)).Times(1); 58 EXPECT_CALL(stats_observer, OnRttUpdate(_, _)).Times(0); 72 EXPECT_CALL(stats_observer, OnRttUpdate(_, _)).Times(0); 77 EXPECT_CALL(stats_observer, OnRttUpdate(_, _)).Times(1); 83 EXPECT_CALL(stats_observer, OnRttUpdate(_, _)).Times(0); 88 EXPECT_CALL(stats_observer, OnRttUpdate(_, _)).Times(1); 111 EXPECT_CALL(stats_observer_1, OnRttUpdate(kRtt, kRtt)).Times(1); 112 EXPECT_CALL(stats_observer_2, OnRttUpdate(kRtt, kRtt)).Times(1); 120 EXPECT_CALL(stats_observer_1, OnRttUpdate(kRtt, kRtt)).Times(1); 121 EXPECT_CALL(stats_observer_ [all...] |
H A D | vie_remb_unittest.cc | 58 EXPECT_CALL(rtp, SetREMBData(bitrate_estimate, ssrcs)) 63 EXPECT_CALL(rtp, SetREMBData(bitrate_estimate - 100, ssrcs)) 83 EXPECT_CALL(rtp, SetREMBData(bitrate_estimate, ssrcs)) 90 EXPECT_CALL(rtp, SetREMBData(bitrate_estimate, ssrcs)) 109 EXPECT_CALL(rtp_0, SetREMBData(bitrate_estimate[0], ssrcs)) 117 EXPECT_CALL(rtp_0, SetREMBData(bitrate_estimate[1], ssrcs)) 140 EXPECT_CALL(rtp_0, SetREMBData(bitrate_estimate, ssrcs)) 145 EXPECT_CALL(rtp_0, SetREMBData(_, _)) 150 EXPECT_CALL(rtp_0, SetREMBData(_, _)) 174 EXPECT_CALL(rtp_ [all...] |
H A D | encoder_state_feedback_unittest.cc | 72 EXPECT_CALL(encoder, OnReceivedIntraFrameRequest(ssrc)) 78 EXPECT_CALL(encoder, OnReceivedSLI(ssrc, sli_picture_id)) 84 EXPECT_CALL(encoder, OnReceivedRPSI(ssrc, rpsi_picture_id)) 104 EXPECT_CALL(encoder_1, OnReceivedIntraFrameRequest(ssrc_1)) 106 EXPECT_CALL(encoder_2, OnReceivedIntraFrameRequest(ssrc_2)) 115 EXPECT_CALL(encoder_1, OnReceivedSLI(ssrc_1, sli_pid_1)) 117 EXPECT_CALL(encoder_2, OnReceivedSLI(ssrc_2, sli_pid_2)) 126 EXPECT_CALL(encoder_1, OnReceivedRPSI(ssrc_1, rpsi_pid_1)) 128 EXPECT_CALL(encoder_2, OnReceivedRPSI(ssrc_2, rpsi_pid_2)) 136 EXPECT_CALL(encoder_ [all...] |
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/ |
H A D | pairingsessiontest.cc | 98 EXPECT_CALL(listener_, OnSessionCreated()); 99 EXPECT_CALL(session_, DoInitializationPhase()); 143 EXPECT_CALL(listener_, OnPerformInputDeviceRole()); 157 EXPECT_CALL(challenge_, GetGamma(_)).WillOnce(Return(new Gamma(10, 0x5))); 158 EXPECT_CALL(listener_, OnPerformOutputDeviceRole(Gamma(10, 0x5))); 159 EXPECT_CALL(wire_, GetNextMessage()); 198 EXPECT_CALL(listener_, OnPerformInputDeviceRole()); 206 EXPECT_CALL(challenge_, CheckGamma(gamma)).WillOnce(Return(true)); 207 EXPECT_CALL(challenge_, ExtractNonce(gamma)) 209 EXPECT_CALL(challenge [all...] |
H A D | clientpairingsessiontest.cc | 76 EXPECT_CALL(listener_, OnSessionCreated()); 78 EXPECT_CALL(wire_, SendPairingRequestMessage( 81 EXPECT_CALL(wire_, GetNextMessage()); 106 EXPECT_CALL(wire_, SendConfigurationMessage(_)); 107 EXPECT_CALL(wire_, GetNextMessage()); 115 EXPECT_CALL(wire_, SendOptionsMessage(_)); 116 EXPECT_CALL(wire_, GetNextMessage()); 131 EXPECT_CALL(wire_, SendConfigurationMessage(_)); 132 EXPECT_CALL(wire_, GetNextMessage()); 149 EXPECT_CALL(listener [all...] |
/external/libbrillo/brillo/dbus/ |
H A D | dbus_signal_handler_unittest.cc | 36 EXPECT_CALL(*bus_, AssertOnOriginThread()).Times(AnyNumber()); 37 EXPECT_CALL(*bus_, AssertOnDBusThread()).Times(AnyNumber()); 41 EXPECT_CALL(*bus_, 52 EXPECT_CALL(*mock_object_proxy_, ConnectToSignal(kInterface, kSignal, _, _)) 73 EXPECT_CALL(*mock_object_proxy_, ConnectToSignal(kInterface, kSignal, _, _)) 86 EXPECT_CALL(sink, Handler(10, 20, 30.5)).Times(1); 97 EXPECT_CALL(sink, Handler(std::string{"foo"}, std::string{"bar"})).Times(1); 107 EXPECT_CALL(sink, Handler()).Times(1); 118 EXPECT_CALL(sink, Handler()).Times(0); 129 EXPECT_CALL(sin [all...] |
/external/google-breakpad/src/processor/ |
H A D | minidump_processor_unittest.cc | 333 EXPECT_CALL(dump, path()).WillRepeatedly(Return("mock minidump")); 334 EXPECT_CALL(dump, Read()).WillRepeatedly(Return(true)); 338 EXPECT_CALL(dump, header()). 345 EXPECT_CALL(dump, GetThreadList()). 347 EXPECT_CALL(dump, GetSystemInfo()). 364 EXPECT_CALL(supplier, GetCStringSymbolData( 368 EXPECT_CALL(supplier, GetCStringSymbolData( 374 EXPECT_CALL(supplier, FreeSymbolData(_)).Times(AnyNumber()); 382 EXPECT_CALL(supplier, GetCStringSymbolData( 386 EXPECT_CALL(supplie [all...] |
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
H A D | rent_a_codec_unittest.cc | 107 EXPECT_CALL(external_encoder, SampleRateHz()) 109 EXPECT_CALL(external_encoder, NumChannels()).WillRepeatedly(Return(1)); 110 EXPECT_CALL(external_encoder, SetFec(false)).WillRepeatedly(Return(true)); 124 EXPECT_CALL(external_encoder, 128 EXPECT_CALL(external_encoder, Mark("A")); 129 EXPECT_CALL(external_encoder, Mark("B")); 131 EXPECT_CALL(external_encoder, 135 EXPECT_CALL(external_encoder, Die()); 164 EXPECT_CALL(speech_encoder, NumChannels()).WillRepeatedly(Return(1)); 165 EXPECT_CALL(speech_encode [all...] |
/external/google-breakpad/src/common/dwarf/ |
H A D | dwarf2reader_cfi_unittest.cc | 154 EXPECT_CALL(handler, UndefinedRule(_, _)).Times(0); 155 EXPECT_CALL(handler, SameValueRule(_, _)).Times(0); 156 EXPECT_CALL(handler, OffsetRule(_, _, _, _)).Times(0); 157 EXPECT_CALL(handler, ValOffsetRule(_, _, _, _)).Times(0); 158 EXPECT_CALL(handler, RegisterRule(_, _, _)).Times(0); 159 EXPECT_CALL(handler, ExpressionRule(_, _, _)).Times(0); 160 EXPECT_CALL(handler, ValExpressionRule(_, _, _)).Times(0); 161 EXPECT_CALL(handler, PersonalityRoutine(_, _)).Times(0); 162 EXPECT_CALL(handler, LanguageSpecificDataArea(_, _)).Times(0); 163 EXPECT_CALL(handle [all...] |
/external/libbrillo/brillo/http/ |
H A D | http_connection_curl_unittest.cc | 155 EXPECT_CALL(*curl_api_, EasySetOptPtr(handle_, CURLOPT_PRIVATE, _)) 163 EXPECT_CALL(*curl_api_, EasyCleanup(handle_)).Times(1); 184 EXPECT_CALL(*curl_api_, 187 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_VERBOSE, 1)) 191 EXPECT_CALL( 196 EXPECT_CALL(*curl_api_, EasySetOptCallback(handle_, CURLOPT_READFUNCTION, _)) 198 EXPECT_CALL(*curl_api_, EasySetOptPtr(handle_, CURLOPT_READDATA, _)) 201 EXPECT_CALL(*curl_api_, EasySetOptPtr(handle_, CURLOPT_HTTPHEADER, _)) 204 EXPECT_CALL(*curl_api_, EasySetOptCallback(handle_, CURLOPT_WRITEFUNCTION, _)) 206 EXPECT_CALL(*curl_api [all...] |
/external/webrtc/webrtc/modules/audio_processing/agc/ |
H A D | agc_unittest.cc | 95 EXPECT_CALL(checker_, LevelChanged(Lt(500), Eq(179))).Times(1); 96 EXPECT_CALL(checker_, LevelChanged(_, Gt(179))).Times(AtLeast(1)); 104 EXPECT_CALL(checker_, LevelChanged(Lt(500), Eq(77))).Times(1); 105 EXPECT_CALL(checker_, LevelChanged(_, Lt(77))).Times(AtLeast(1)); 112 EXPECT_CALL(checker_, LevelChanged(_, GtPointee(&last_level))) 119 EXPECT_CALL(checker_, LevelChanged(_, LtPointee(&last_level))) 129 EXPECT_CALL(checker_, LevelChanged(_, _)).Times(0); 134 EXPECT_CALL(checker_, LevelChanged(_, GtPointee(&last_level))) 142 EXPECT_CALL(checker_, LevelChanged(_, _)) 150 EXPECT_CALL(checker [all...] |
/external/libchrome/base/trace_event/ |
H A D | memory_dump_manager_unittest.cc | 275 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(0); 276 EXPECT_CALL(mdp, OnMemoryDump(_, _)).Times(0); 284 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(3); 285 EXPECT_CALL(mdp, OnMemoryDump(_, _)).Times(3).WillRepeatedly(Return(true)); 296 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(3); 297 EXPECT_CALL(mdp, OnMemoryDump(_, _)).Times(0); 314 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(1); 315 EXPECT_CALL(mdp, OnMemoryDump(IsDetailedDump(), _)).WillOnce(Return(true)); 325 EXPECT_CALL(*delegate_, RequestGlobalMemoryDump(_, _)).Times(1); 326 EXPECT_CALL(md [all...] |