Searched refs:EXPECT_CALL (Results 26 - 50 of 148) sorted by relevance

123456

/external/libbrillo/brillo/streams/
H A Dstream_unittest.cc76 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 Dopenssl_stream_bio_unittests.cc41 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 Dgmock-spec-builders_test.cc125 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 Dgmock_leak_test_.cc62 EXPECT_CALL(*foo, DoThis());
89 EXPECT_CALL(*foo2, DoThis());
H A Dgmock-generated-function-mockers_test.cc194 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 Dgmock-spec-builders_test.cc126 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 Dgmock_leak_test_.cc62 EXPECT_CALL(*foo, DoThis());
89 EXPECT_CALL(*foo2, DoThis());
H A Dgmock-generated-function-mockers_test.cc192 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 Dgoogle_crashdump_uploader_test.cc63 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 Dgmock_leak_test_.cc62 EXPECT_CALL(*foo, DoThis());
89 EXPECT_CALL(*foo2, DoThis());
/external/webrtc/webrtc/modules/audio_coding/neteq/
H A Dnormal_unittest.cc43 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 Dtimestamp_scaler_unittest.cc30 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 Ddelay_manager_unittest.cc54 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 Dcall_stats_unittest.cc52 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 Dvie_remb_unittest.cc58 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 Dencoder_state_feedback_unittest.cc72 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 Dpairingsessiontest.cc98 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 Dclientpairingsessiontest.cc76 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 Ddbus_signal_handler_unittest.cc36 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 Dminidump_processor_unittest.cc333 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 Drent_a_codec_unittest.cc107 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 Ddwarf2reader_cfi_unittest.cc154 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 Dhttp_connection_curl_unittest.cc155 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 Dagc_unittest.cc95 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 Dmemory_dump_manager_unittest.cc275 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...]

Completed in 809 milliseconds

123456