Home
last modified time | relevance | path

Searched refs:DoAll (Results 1 – 25 of 55) sorted by relevance

123

/external/webrtc/webrtc/modules/audio_processing/agc/
Dagc_manager_direct_unittest.cc22 using ::testing::DoAll;
111 .WillOnce(DoAll(SetArgPointee<0>(5), Return(true))); in TEST_F()
116 .WillOnce(DoAll(SetArgPointee<0>(10), Return(true))); in TEST_F()
121 .WillOnce(DoAll(SetArgPointee<0>(11), Return(true))); in TEST_F()
126 .WillOnce(DoAll(SetArgPointee<0>(20), Return(true))); in TEST_F()
132 .WillOnce(DoAll(SetArgPointee<0>(5), Return(true))); in TEST_F()
135 .WillOnce(DoAll(SetArgPointee<0>(0), Return(true))); in TEST_F()
140 .WillOnce(DoAll(SetArgPointee<0>(-1), Return(true))); in TEST_F()
145 .WillOnce(DoAll(SetArgPointee<0>(-1), Return(true))); in TEST_F()
150 .WillOnce(DoAll(SetArgPointee<0>(-9), Return(true))); in TEST_F()
[all …]
/external/libbrillo/brillo/streams/
Dstream_unittest.cc17 using testing::DoAll;
127 DoAll(SetArgPointee<2>(0), SetArgPointee<3>(false), Return(true))); in TEST()
129 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
149 .WillOnce(DoAll(SetArgPointee<2>(7), in TEST()
172 DoAll(SetArgPointee<2>(5), SetArgPointee<3>(false), Return(true))); in TEST()
212 DoAll(SetArgPointee<2>(0), SetArgPointee<3>(false), Return(true))); in TEST()
214 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
224 .WillOnce(DoAll(SetArgPointee<2>(7), in TEST()
229 DoAll(SetArgPointee<2>(0), SetArgPointee<3>(false), Return(true))); in TEST()
231 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
[all …]
Dopenssl_stream_bio_unittests.cc14 using testing::DoAll;
42 .WillOnce(DoAll(SetArgPointee<2>(10), in TEST_F()
51 .WillOnce(DoAll(SetArgPointee<2>(3), in TEST_F()
60 .WillOnce(DoAll(SetArgPointee<2>(0), in TEST_F()
70 .WillOnce(DoAll(SetArgPointee<2>(0), in TEST_F()
88 .WillOnce(DoAll(SetArgPointee<2>(10), Return(true))); in TEST_F()
95 .WillOnce(DoAll(SetArgPointee<2>(3), Return(true))); in TEST_F()
102 .WillOnce(DoAll(SetArgPointee<2>(0), Return(true))); in TEST_F()
Dinput_stream_set_unittest.cc14 using testing::DoAll;
107 .WillOnce(DoAll(SetArgPointee<2>(10), in TEST_F()
116 .WillOnce(DoAll(SetArgPointee<2>(0), SetArgPointee<3>(true), Return(true))); in TEST_F()
118 .WillOnce(DoAll(SetArgPointee<2>(100), in TEST_F()
127 .WillOnce(DoAll(SetArgPointee<2>(0), SetArgPointee<3>(true), Return(true))); in TEST_F()
139 .WillOnce(DoAll(SetArgPointee<2>(10), in TEST_F()
146 .WillOnce(DoAll(SetArgPointee<2>(0), in TEST_F()
150 .WillOnce(DoAll(SetArgPointee<2>(0), in TEST_F()
156 .WillOnce(DoAll(SetArgPointee<2>(100), in TEST_F()
163 .WillOnce(DoAll(SetArgPointee<2>(0), in TEST_F()
Dmemory_stream_unittest.cc17 using testing::DoAll;
148 .WillOnce(DoAll(SetArgPointee<3>(5), Return(true))); in TEST_F()
157 .WillOnce(DoAll(SetArgPointee<3>(100), Return(true))); in TEST_F()
166 .WillOnce(DoAll(SetArgPointee<3>(0), Return(true))); in TEST_F()
179 .WillOnce(DoAll(SetArgPointee<3>(5), Return(true))); in TEST_F()
187 .WillOnce(DoAll(SetArgPointee<3>(100), Return(true))); in TEST_F()
195 .WillOnce(DoAll(SetArgPointee<3>(10), Return(true))); in TEST_F()
Dmemory_containers_unittest.cc15 using testing::DoAll;
112 .WillOnce(DoAll(WithArgs<1>(Invoke(OnReadError)), Return(nullptr))); in TEST_F()
179 .WillOnce(DoAll(WithArgs<1>(Invoke(OnWriteError)), Return(false))); in TEST_F()
201 .WillOnce(DoAll(WithArgs<1>(Invoke(OnWriteError)), Return(nullptr))); in TEST_F()
/external/webrtc/webrtc/modules/utility/source/
Dprocess_thread_impl_unittest.cc22 using ::testing::DoAll;
80 .WillOnce(DoAll(SetEvent(event.get()), Return(0))) in TEST()
100 .WillOnce(DoAll(SetEvent(event.get()), Return(0))) in TEST()
123 .WillOnce(DoAll(SetEvent(event.get()), in TEST()
126 .WillRepeatedly(DoAll(Increment(&process_count), Return(0))); in TEST()
160 .WillOnce(DoAll(SetTimestamp(&start_time), in ProcessCallAfterAFewMs()
164 .WillOnce(DoAll(SetTimestamp(&called_time), in ProcessCallAfterAFewMs()
227 .WillRepeatedly(DoAll(Increment(&callback_count), in TEST()
267 .WillOnce(DoAll(SetTimestamp(&start_time), in TEST()
272 .WillOnce(DoAll(SetTimestamp(&called_time), in TEST()
/external/webrtc/talk/app/webrtc/
Dproxy_unittest.cc39 using ::testing::DoAll;
123 DoAll(InvokeWithoutArgs(this, &ProxyTest::CheckThread), in TEST_F()
133 DoAll(InvokeWithoutArgs(this, &ProxyTest::CheckThread), in TEST_F()
144 DoAll(InvokeWithoutArgs(this, &ProxyTest::CheckThread), in TEST_F()
154 DoAll(InvokeWithoutArgs(this, &ProxyTest::CheckThread), in TEST_F()
165 DoAll(InvokeWithoutArgs(this, &ProxyTest::CheckThread), in TEST_F()
Dstatscollector_unittest.cc53 using testing::DoAll;
545 .WillRepeatedly(DoAll(SetArgPointee<1>(kLocalTrackId), Return(true))); in AddOutgoingVideoTrackStats()
554 .WillRepeatedly(DoAll(SetArgPointee<1>(kRemoteTrackId), Return(true))); in AddIncomingVideoTrackStats()
566 .WillOnce(DoAll(SetArgPointee<1>(kLocalTrackId), Return(true))); in AddOutgoingAudioTrackStats()
578 .WillOnce(DoAll(SetArgPointee<1>(kRemoteTrackId), Return(true))); in AddIncomingAudioTrackStats()
615 .WillRepeatedly(DoAll(SetArgPointee<0>(session_stats_), in SetupAndVerifyAudioTrackStats()
628 .WillOnce(DoAll(SetArgPointee<0>(*stats_read), Return(true))); in SetupAndVerifyAudioTrackStats()
704 .WillOnce(DoAll(SetArgPointee<1>(local_certificate), Return(true))); in TestCertificateReports()
708 DoAll(SetArgPointee<1>(remote_cert.GetReference()), Return(true))); in TestCertificateReports()
710 .WillOnce(DoAll(SetArgPointee<0>(session_stats), in TestCertificateReports()
[all …]
/external/grpc-grpc/test/cpp/end2end/
Dmock_test.cc46 using ::testing::DoAll;
268 .WillOnce(DoAll(SetArgPointee<2>(resp), Return(Status::OK))); in TEST_F()
288 .WillOnce(DoAll(SetArgPointee<1>(resp), Return(w))); in TEST_F()
306 .WillOnce(DoAll(SetArgPointee<0>(resp1), Return(true))) in TEST_F()
307 .WillOnce(DoAll(SetArgPointee<0>(resp2), Return(true))) in TEST_F()
329 .WillRepeatedly(DoAll(SaveArg<0>(&msg), Return(true))); in TEST_F()
331 .WillOnce(DoAll(WithArg<0>(copy(&msg)), Return(true))) in TEST_F()
332 .WillOnce(DoAll(WithArg<0>(copy(&msg)), Return(true))) in TEST_F()
333 .WillOnce(DoAll(WithArg<0>(copy(&msg)), Return(true))) in TEST_F()
/external/libbrillo/brillo/http/
Dhttp_transport_curl_unittest.cc17 using testing::DoAll;
253 .WillRepeatedly(DoAll(SetArgPointee<2>(200), Return(CURLE_OK))); in TEST_F()
258 .WillOnce(DoAll(SaveArg<1>(&socket_callback), Return(CURLM_OK))); in TEST_F()
263 .WillOnce(DoAll(SaveArg<1>(&timer_callback), Return(CURLM_OK))); in TEST_F()
284 .WillOnce(DoAll(SetArgPointee<3>(1), in TEST_F()
287 .WillRepeatedly(DoAll(SetArgPointee<3>(0), Return(CURLM_OK))); in TEST_F()
295 .WillOnce(DoAll(SetArgPointee<1>(0), Return(&msg))) in TEST_F()
296 .WillRepeatedly(DoAll(SetArgPointee<1>(0), Return(nullptr))); in TEST_F()
298 .WillRepeatedly(DoAll(SetArgPointee<2>(connection.get()), in TEST_F()
Dhttp_connection_curl_unittest.cc22 using testing::DoAll;
261 DoAll(SaveCallback<2>(&performer_, &CurlPerformer::read_callback), in TEST_F()
272 DoAll(SaveCallback<2>(&performer_, &CurlPerformer::write_callback), in TEST_F()
280 DoAll(SaveCallback<2>(&performer_, &CurlPerformer::header_callback), in TEST_F()
289 .WillOnce(DoAll(SetArgPointee<2>(status_code::Ok), Return(CURLE_OK))); in TEST_F()
309 .WillOnce(DoAll(SetArgPointee<2>(status_code::Ok), Return(CURLE_OK))); in TEST_F()
Dhttp_request_unittest.cc18 using testing::DoAll;
183 .WillOnce(DoAll(SetArgPointee<2>(0), Return(true))); in TEST_F()
197 .WillOnce(DoAll(WithArg<0>(Invoke(finish_request_async)), Return(23))); in TEST_F()
/external/nos/host/generic/libnos_transport/test/
Dtest.cpp28 using ::testing::DoAll;
218 .WillOnce(DoAll(ReadStatusV0_Idle(), Return(0))); \
224 .WillOnce(DoAll(ReadStatusV1_Idle(), Return(0))); \
230 .WillOnce(DoAll(ReadStatusV1_IdleWithBadCrc(), Return(0))); \
236 .WillOnce(DoAll(ReadStatusV1_BadCrc(), Return(0))); \
242 .WillOnce(DoAll(ReadStatusV1_Working(), Return(0))); \
248 .WillOnce(DoAll(ReadStatusV0_DoneWithData(0), Return(0))); \
254 .WillOnce(DoAll(ReadStatusV0_DoneWithData((reply_len)), Return(0))); \
260 .WillOnce(DoAll(ReadStatusV1_DoneWithData(nullptr, 0), Return(0))); \
266 .WillOnce(DoAll(ReadStatusV1_DoneWithData((reply), (reply_len)), Return(0))); \
[all …]
/external/nos/host/generic/libnos/generator/test/
Dtest.cpp38 using ::testing::DoAll;
86 .WillOnce(DoAll(SetArgPointee<3>(responseBytes), Return(APP_SUCCESS))); in TEST()
121 .WillOnce(DoAll(SetArgPointee<3>(responseBytes), Return(APP_ERROR_BOGUS_ARGS))); in TEST()
136 .WillOnce(DoAll(SetArgPointee<3>(garbledResponse), Return(APP_SUCCESS))); in TEST()
166 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
/external/webrtc/webrtc/audio/
Daudio_send_stream_unittest.cc124 using testing::DoAll; 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/nos/host/android/hals/weaver/test/
Dtest.cpp23 using ::testing::DoAll;
51 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
146 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
163 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
180 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
196 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
/external/grpc-grpc/doc/
Dunit_testing.md147 Expect_CALL(stub, Echo(_,_,_)).Times(Atleast(1)).WillOnce(DoAll(SetArgPointee<2>(resp), Return(Stat…
162 EXPECT_CALL(*rw, Write(_, _)).Times(3).WillRepeatedly(DoAll(SaveArg<0>(&msg), Return(true)));
164 WillOnce(DoAll(WithArg<0>(copy(&msg)), Return(true))).
165 WillOnce(DoAll(WithArg<0>(copy(&msg)), Return(true))).
166 WillOnce(DoAll(WithArg<0>(copy(&msg)), Return(true))).
/external/nos/host/android/hals/oemlock/test/
Dtest.cpp27 using ::testing::DoAll;
181 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
196 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
278 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
293 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_impl_unittest.cc319 .WillRepeatedly(DoAll(SetArgPointee<2>(kPayloadType), in TEST_F()
532 .WillOnce(DoAll(SetArrayArgument<3>(dummy_output, in TEST_F()
575 .WillOnce(DoAll(SetArrayArgument<3>(dummy_output, in TEST_F()
693 .WillOnce(DoAll(SetArrayArgument<3>(dummy_output, in TEST_F()
700 .WillOnce(DoAll(SetArrayArgument<3>(dummy_output, in TEST_F()
707 .WillOnce(DoAll(SetArrayArgument<3>(dummy_output, in TEST_F()
714 .WillOnce(DoAll(SetArrayArgument<3>(dummy_output, in TEST_F()
844 .WillOnce(DoAll(SetArrayArgument<3>(dummy_output, in TEST_F()
965 DoAll(SetArrayArgument<3>(dummy_output, in TEST_F()
1040 DoAll(SetArrayArgument<3>(dummy_output, in TEST_F()
[all …]
/external/googletest/googlemock/test/
Dgmock-generated-actions_test.cc53 using testing::DoAll;
257 Action<int(int*)> a = DoAll(SetArgPointee<0>(1), // NOLINT in TEST()
266 Action<int(int*, int*)> a = DoAll(SetArgPointee<0>(1), // NOLINT in TEST()
279 DoAll(SetArgPointee<0>(1), in TEST()
294 DoAll(SetArgPointee<0>(1), in TEST()
311 DoAll(SetArgPointee<0>(1), in TEST()
330 DoAll(SetArgPointee<0>(1), in TEST()
352 DoAll(SetArgPointee<0>(1), in TEST()
376 DoAll(SetArgPointee<0>(1), in TEST()
403 DoAll(SetArgPointee<0>(1), in TEST()
/external/google-breakpad/src/testing/test/
Dgmock-generated-actions_test.cc57 using testing::DoAll;
422 Action<int(int*)> a = DoAll(SetArgPointee<0>(1), // NOLINT in TEST()
431 Action<int(int*, int*)> a = DoAll(SetArgPointee<0>(1), // NOLINT in TEST()
444 DoAll(SetArgPointee<0>(1), in TEST()
459 DoAll(SetArgPointee<0>(1), in TEST()
476 DoAll(SetArgPointee<0>(1), in TEST()
495 DoAll(SetArgPointee<0>(1), in TEST()
517 DoAll(SetArgPointee<0>(1), in TEST()
541 DoAll(SetArgPointee<0>(1), in TEST()
568 DoAll(SetArgPointee<0>(1), in TEST()
/external/toolchain-utils/
Dbuildbot_test_llvm.py112 def DoAll(self): member in ToolchainVerifier
192 buildbucket_id = fv.DoAll()
Dbuildbot_test_toolchains.py243 def DoAll(self): member in ToolchainComparator
320 return fc.DoAll()
/external/google-breakpad/src/processor/
Dcfi_frame_info_unittest.cc50 using testing::DoAll;
513 .WillRepeatedly(DoAll(SetArgumentPointee<1>(0xdc1975eba8602302ULL), in TEST_F()
518 .WillRepeatedly(DoAll(SetArgumentPointee<1>(0xba5ad6d9acce28deULL), in TEST_F()

123