Home
last modified time | relevance | path

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

123

/external/webrtc/modules/audio_processing/agc/
Dagc_manager_direct_unittest.cc22 using ::testing::DoAll;
143 .WillOnce(DoAll(SetArgPointee<0>(5), Return(true))); in TEST_F()
148 .WillOnce(DoAll(SetArgPointee<0>(10), Return(true))); in TEST_F()
153 .WillOnce(DoAll(SetArgPointee<0>(11), Return(true))); in TEST_F()
158 .WillOnce(DoAll(SetArgPointee<0>(20), Return(true))); in TEST_F()
164 .WillOnce(DoAll(SetArgPointee<0>(5), Return(true))); in TEST_F()
167 .WillOnce(DoAll(SetArgPointee<0>(0), Return(true))); in TEST_F()
172 .WillOnce(DoAll(SetArgPointee<0>(-1), Return(true))); in TEST_F()
177 .WillOnce(DoAll(SetArgPointee<0>(-1), Return(true))); in TEST_F()
182 .WillOnce(DoAll(SetArgPointee<0>(-9), Return(true))); in TEST_F()
[all …]
/external/libbrillo/brillo/streams/
Dstream_test.cc17 using testing::DoAll;
136 DoAll(SetArgPointee<2>(0), SetArgPointee<3>(false), Return(true))); in TEST()
138 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
158 .WillOnce(DoAll(SetArgPointee<2>(7), in TEST()
181 DoAll(SetArgPointee<2>(5), SetArgPointee<3>(false), Return(true))); in TEST()
221 DoAll(SetArgPointee<2>(0), SetArgPointee<3>(false), Return(true))); in TEST()
223 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
233 .WillOnce(DoAll(SetArgPointee<2>(7), in TEST()
238 DoAll(SetArgPointee<2>(0), SetArgPointee<3>(false), Return(true))); in TEST()
240 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
[all …]
Dopenssl_stream_bio_test.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_test.cc15 using testing::DoAll;
108 .WillOnce(DoAll(SetArgPointee<2>(10), in TEST_F()
117 .WillOnce(DoAll(SetArgPointee<2>(0), SetArgPointee<3>(true), Return(true))); in TEST_F()
119 .WillOnce(DoAll(SetArgPointee<2>(100), in TEST_F()
128 .WillOnce(DoAll(SetArgPointee<2>(0), SetArgPointee<3>(true), Return(true))); in TEST_F()
140 .WillOnce(DoAll(SetArgPointee<2>(10), in TEST_F()
147 .WillOnce(DoAll(SetArgPointee<2>(0), in TEST_F()
151 .WillOnce(DoAll(SetArgPointee<2>(0), in TEST_F()
157 .WillOnce(DoAll(SetArgPointee<2>(100), in TEST_F()
164 .WillOnce(DoAll(SetArgPointee<2>(0), in TEST_F()
Dmemory_containers_test.cc15 using testing::DoAll;
118 .WillOnce(DoAll(WithArgs<1>(Invoke(OnReadError)), Return(nullptr))); in TEST_F()
185 .WillOnce(DoAll(WithArgs<1>(Invoke(OnWriteError)), Return(false))); in TEST_F()
207 .WillOnce(DoAll(WithArgs<1>(Invoke(OnWriteError)), Return(nullptr))); in TEST_F()
Dmemory_stream_test.cc18 using testing::DoAll;
155 .WillOnce(DoAll(SetArgPointee<3>(5), Return(true))); in TEST_F()
164 .WillOnce(DoAll(SetArgPointee<3>(100), Return(true))); in TEST_F()
173 .WillOnce(DoAll(SetArgPointee<3>(0), Return(true))); in TEST_F()
186 .WillOnce(DoAll(SetArgPointee<3>(5), Return(true))); in TEST_F()
194 .WillOnce(DoAll(SetArgPointee<3>(100), Return(true))); in TEST_F()
202 .WillOnce(DoAll(SetArgPointee<3>(10), Return(true))); in TEST_F()
/external/libchrome/base/nix/
Dxdg_util_unittest.cc54 .WillOnce(DoAll(SetArgPointee<1>(kDesktopGnome), Return(true))); in TEST()
63 .WillOnce(DoAll(SetArgPointee<1>(kDesktopMATE), Return(true))); in TEST()
72 .WillOnce(DoAll(SetArgPointee<1>(kDesktopKDE4), Return(true))); in TEST()
81 .WillOnce(DoAll(SetArgPointee<1>(kDesktopKDE), Return(true))); in TEST()
90 .WillOnce(DoAll(SetArgPointee<1>(kDesktopXFCE), Return(true))); in TEST()
99 .WillOnce(DoAll(SetArgPointee<1>(kXdgDesktopCinnamon), Return(true))); in TEST()
108 .WillOnce(DoAll(SetArgPointee<1>(kXdgDesktopGNOME), Return(true))); in TEST()
117 .WillOnce(DoAll(SetArgPointee<1>(kXdgDesktopUnity), Return(true))); in TEST()
119 .WillOnce(DoAll(SetArgPointee<1>(kDesktopGnomeFallback), Return(true))); in TEST()
128 .WillOnce(DoAll(SetArgPointee<1>(kXdgDesktopKDE), Return(true))); in TEST()
[all …]
/external/webrtc/modules/utility/source/
Dprocess_thread_impl_unittest.cc27 using ::testing::DoAll;
95 .WillOnce(DoAll(SetEvent(&event), Return())) in TEST()
117 .WillOnce(DoAll(SetEvent(&event), Return())) in TEST()
142 .WillOnce(DoAll(SetEvent(&event), Increment(&process_count), Return())) in TEST()
143 .WillRepeatedly(DoAll(Increment(&process_count), Return())); in TEST()
177 .WillOnce(DoAll(SetTimestamp(&start_time), Return(milliseconds))) in ProcessCallAfterAFewMs()
180 .WillOnce(DoAll(SetTimestamp(&called_time), SetEvent(&event), Return())) in ProcessCallAfterAFewMs()
240 .WillRepeatedly(DoAll(Increment(&callback_count), Return())); in TEST()
280 DoAll(SetTimestamp(&start_time), SetEvent(&started), Return(1000))) in TEST()
283 .WillOnce(DoAll(SetTimestamp(&called_time), SetEvent(&called), Return())) in TEST()
/external/webrtc/pc/
Dproxy_unittest.cc21 using ::testing::DoAll;
130 .WillOnce(DoAll( in TEST_F()
139 .WillOnce(DoAll( in TEST_F()
149 .WillOnce(DoAll( in TEST_F()
159 .WillOnce(DoAll( in TEST_F()
170 .WillOnce(DoAll( in TEST_F()
218 .WillOnce(DoAll(InvokeWithoutArgs(this, &ProxyTest::CheckSignalingThread), in TEST_F()
226 .WillOnce(DoAll(InvokeWithoutArgs(this, &ProxyTest::CheckSignalingThread), in TEST_F()
235 .WillOnce(DoAll(InvokeWithoutArgs(this, &ProxyTest::CheckWorkerThread), in TEST_F()
244 .WillOnce(DoAll(InvokeWithoutArgs(this, &ProxyTest::CheckSignalingThread), in TEST_F()
[all …]
/external/perfetto/src/trace_processor/importers/syscalls/
Dsyscall_tracker_unittest.cc27 using ::testing::DoAll;
71 .WillOnce(DoAll(SaveArg<3>(&begin_name), Return(base::nullopt))); in TEST_F()
73 .WillOnce(DoAll(SaveArg<3>(&end_name), Return(base::nullopt))); in TEST_F()
97 .WillOnce(DoAll(SaveArg<3>(&begin_name), Return(base::nullopt))); in TEST_F()
99 .WillOnce(DoAll(SaveArg<3>(&end_name), Return(base::nullopt))); in TEST_F()
114 .WillOnce(DoAll(SaveArg<3>(&begin_name), Return(base::nullopt))); in TEST_F()
116 .WillOnce(DoAll(SaveArg<3>(&end_name), Return(base::nullopt))); in TEST_F()
/external/pdfium/core/fxcrt/
Dcfx_timer_unittest.cpp15 using testing::DoAll;
36 .WillOnce(DoAll(SaveArg<1>(&fn1), Return(1001))); in TEST()
38 .WillOnce(DoAll(SaveArg<1>(&fn2), Return(1002))); in TEST()
66 .WillOnce(DoAll(SaveArg<1>(&fn1), Return(1001))); in TEST()
/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/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/libbrillo/brillo/namespaces/
Dmount_namespace_test.cc18 using ::testing::DoAll;
46 .WillOnce(DoAll(SetArgPointee<1>(0x00000000), Return(0))); in TEST_F()
74 .WillOnce(DoAll(SetArgPointee<1>(0xFFFFFFFF), Return(0))); in TEST_F()
84 .WillOnce(DoAll(SetArgPointee<1>(0x00000000), Return(0))); 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/openscreen/util/
Dtrace_logging_unittest.cc29 using ::testing::DoAll;
92 .WillOnce(DoAll(Invoke(ValidateTraceTimestampDiff<delay_in_ms>), in TEST()
147 DoAll(Invoke(ValidateTraceErrorCode<Error::Code::kNone>), in TEST()
177 .WillOnce(DoAll( in TEST()
182 DoAll(Invoke(ValidateTraceErrorCode<Error::Code::kNone>), in TEST()
216 .WillOnce(DoAll( in TEST()
253 .WillOnce(DoAll( in TEST()
258 DoAll(Invoke(ValidateTraceErrorCode<Error::Code::kNone>), in TEST()
294 .WillOnce(DoAll( in TEST()
/external/libbrillo/brillo/http/
Dhttp_transport_curl_test.cc18 using testing::DoAll;
258 .WillRepeatedly(DoAll(SetArgPointee<2>(200), Return(CURLE_OK))); in TEST_F()
263 .WillOnce(DoAll(SaveArg<1>(&socket_callback), Return(CURLM_OK))); in TEST_F()
268 .WillOnce(DoAll(SaveArg<1>(&timer_callback), Return(CURLM_OK))); in TEST_F()
289 .WillOnce(DoAll(SetArgPointee<3>(1), in TEST_F()
292 .WillRepeatedly(DoAll(SetArgPointee<3>(0), Return(CURLM_OK))); in TEST_F()
300 .WillOnce(DoAll(SetArgPointee<1>(0), Return(&msg))) in TEST_F()
301 .WillRepeatedly(DoAll(SetArgPointee<1>(0), Return(nullptr))); in TEST_F()
303 .WillRepeatedly(DoAll(SetArgPointee<2>(connection.get()), in TEST_F()
Dhttp_connection_curl_test.cc23 using testing::DoAll;
262 DoAll(SaveCallback<2>(&performer_, &CurlPerformer::read_callback), in TEST_F()
273 DoAll(SaveCallback<2>(&performer_, &CurlPerformer::write_callback), in TEST_F()
281 DoAll(SaveCallback<2>(&performer_, &CurlPerformer::header_callback), in TEST_F()
290 .WillOnce(DoAll(SetArgPointee<2>(status_code::Ok), Return(CURLE_OK))); in TEST_F()
310 .WillOnce(DoAll(SetArgPointee<2>(status_code::Ok), Return(CURLE_OK))); in TEST_F()
/external/angle/src/libANGLE/
DFence_unittest.cpp64 .WillOnce(DoAll(SetArgumentPointee<1>(static_cast<GLboolean>(GL_FALSE)), in TEST_F()
66 .WillOnce(DoAll(SetArgumentPointee<1>(static_cast<GLboolean>(GL_TRUE)), in TEST_F()
122 .WillOnce(DoAll(SetArgumentPointee<1>(GL_UNSIGNALED), Return(angle::Result::Continue))) in TEST_F()
123 .WillOnce(DoAll(SetArgumentPointee<1>(GL_SIGNALED), Return(angle::Result::Continue))) in TEST_F()
/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/libwebm/webm_parser/tests/
Dmaster_value_parser_test.cc20 using testing::DoAll;
274 .WillOnce(DoAll(SetArgPointee<2>(Action::kRead), in TEST_F()
292 .WillOnce(DoAll(SetArgPointee<2>(Action::kSkip), in TEST_F()
323 .WillOnce(DoAll(SetArgPointee<2>(Action::kSkip), in TEST_F()
355 .WillOnce(DoAll(SetArgPointee<2>(Action::kSkip), in TEST_F()
Dcluster_parser_test.cc18 using testing::DoAll;
230 .WillOnce(DoAll(SetArgPointee<2>(Action::kSkip), in TEST_F()
257 .WillOnce(DoAll(SetArgPointee<1>(Action::kSkip), in TEST_F()
Dsegment_parser_test.cc20 using testing::DoAll;
70 .WillOnce(DoAll(SetArgPointee<1>(Action::kRead), in TEST_F()
285 .WillOnce(DoAll(SetArgPointee<1>(Action::kSkip), in TEST_F()
/external/toolchain-utils/
Dbuildbot_test_llvm.py108 def DoAll(self): member in ToolchainVerifier
175 return fv.DoAll()
188 buildbucket_id = fv.DoAll()
/external/openscreen/discovery/mdns/
Dmdns_trackers_unittest.cc30 using testing::DoAll;
452 DoAll(WithArgs<0>(VerifyTruncated(false)), Return(Error::None()))); in TEST_F()
459 DoAll(WithArgs<0>(VerifyTruncated(false)), Return(Error::None()))); in TEST_F()
470 .WillOnce(DoAll( in TEST_F()
500 .WillOnce(DoAll(WithArgs<0>(VerifyTruncated(true)), in TEST_F()
503 .WillOnce(DoAll(WithArgs<0>(VerifyTruncated(true)), in TEST_F()
506 .WillOnce(DoAll(WithArgs<0>(VerifyTruncated(false)), in TEST_F()

123