/system/tpm/tpm_manager/server/ |
mock_local_data_store.cc | 21 using testing::DoAll; 30 .WillByDefault(DoAll(SetArgPointee<0>(ByRef(fake_)), Return(true))); 32 .WillByDefault(DoAll(SaveArg<0>(&fake_), Return(true)));
|
/external/libbrillo/brillo/streams/ |
stream_unittest.cc | 17 using testing::DoAll; 119 DoAll(SetArgPointee<2>(0), SetArgPointee<3>(false), Return(true))); 121 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); 153 .WillOnce(DoAll(SetArgPointee<2>(7), 178 DoAll(SetArgPointee<2>(5), SetArgPointee<3>(false), Return(true))); 227 DoAll(SetArgPointee<2>(0), SetArgPointee<3>(false), Return(true))); 229 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); 243 .WillOnce(DoAll(SetArgPointee<2>(7), 248 DoAll(SetArgPointee<2>(0), SetArgPointee<3>(false), Return(true))); 250 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))) [all...] |
openssl_stream_bio_unittests.cc | 14 using testing::DoAll; 42 .WillOnce(DoAll(SetArgPointee<2>(10), 51 .WillOnce(DoAll(SetArgPointee<2>(3), 60 .WillOnce(DoAll(SetArgPointee<2>(0), 70 .WillOnce(DoAll(SetArgPointee<2>(0), 88 .WillOnce(DoAll(SetArgPointee<2>(10), Return(true))); 95 .WillOnce(DoAll(SetArgPointee<2>(3), Return(true))); 102 .WillOnce(DoAll(SetArgPointee<2>(0), Return(true)));
|
input_stream_set_unittest.cc | 14 using testing::DoAll; 107 .WillOnce(DoAll(SetArgPointee<2>(10), 116 .WillOnce(DoAll(SetArgPointee<2>(0), SetArgPointee<3>(true), Return(true))); 118 .WillOnce(DoAll(SetArgPointee<2>(100), 127 .WillOnce(DoAll(SetArgPointee<2>(0), SetArgPointee<3>(true), Return(true))); 139 .WillOnce(DoAll(SetArgPointee<2>(10), 146 .WillOnce(DoAll(SetArgPointee<2>(0), 150 .WillOnce(DoAll(SetArgPointee<2>(0), 156 .WillOnce(DoAll(SetArgPointee<2>(100), 163 .WillOnce(DoAll(SetArgPointee<2>(0) [all...] |
/external/webrtc/webrtc/modules/audio_processing/agc/ |
agc_manager_direct_unittest.cc | 22 using ::testing::DoAll; 111 .WillOnce(DoAll(SetArgPointee<0>(5), Return(true))); 116 .WillOnce(DoAll(SetArgPointee<0>(10), Return(true))); 121 .WillOnce(DoAll(SetArgPointee<0>(11), Return(true))); 126 .WillOnce(DoAll(SetArgPointee<0>(20), Return(true))); 132 .WillOnce(DoAll(SetArgPointee<0>(5), Return(true))); 135 .WillOnce(DoAll(SetArgPointee<0>(0), Return(true))); 140 .WillOnce(DoAll(SetArgPointee<0>(-1), Return(true))); 145 .WillOnce(DoAll(SetArgPointee<0>(-1), Return(true))); 150 .WillOnce(DoAll(SetArgPointee<0>(-9), Return(true))) [all...] |
/system/update_engine/update_manager/ |
real_updater_provider_unittest.cc | 42 using testing::DoAll; 123 .WillOnce(DoAll(SetArgPointee<0>(kUpdateBootTime), Return(true))); 146 .WillOnce(DoAll( 161 .WillOnce(DoAll(ActionSetUpdateEngineStatusProgress(0.0), Return(true))); 167 .WillOnce(DoAll(ActionSetUpdateEngineStatusProgress(0.3), Return(true))); 173 .WillOnce(DoAll(ActionSetUpdateEngineStatusProgress(1.0), Return(true))); 185 .WillOnce(DoAll(ActionSetUpdateEngineStatusProgress(-2.0), Return(true))); 191 .WillOnce(DoAll(ActionSetUpdateEngineStatusProgress(2.0), Return(true))); 197 .WillOnce(DoAll( 205 .WillOnce(DoAll(ActionSetUpdateEngineStatusStatus [all...] |
real_system_provider_unittest.cc | 36 using testing::DoAll; 56 DoAll(SetArgPointee<0>(kRequiredPlatformVersion), Return(true))); 121 DoAll(SetArgPointee<0>(kRequiredPlatformVersion), Return(true)));
|
real_device_policy_provider_unittest.cc | 49 using testing::DoAll; 201 .WillOnce(DoAll(SetArgPointee<0>(string("mychannel")), Return(true))); 205 .WillOnce(DoAll(SetArgPointee<0>(true), Return(true))); 229 .WillRepeatedly(DoAll(SetArgPointee<0>(1234), Return(true))); 245 .WillRepeatedly(DoAll(SetArgPointee<0>(-1), Return(true))); 260 .WillRepeatedly(DoAll(
|
/hardware/libhardware/modules/camera/3_4/metadata/ |
v4l2_control_delegate_test.cpp | 51 .WillOnce(DoAll(SetArgPointee<1>(device_result), Return(0))); 53 .WillOnce(DoAll(SetArgPointee<1>(conversion_result), Return(0))); 63 .WillOnce(DoAll(SetArgPointee<1>(device_result), Return(0))); 84 .WillOnce(DoAll(SetArgPointee<1>(conversion_result), Return(0))); 102 .WillOnce(DoAll(SetArgPointee<1>(conversion_result), Return(0)));
|
partial_metadata_factory_test.cpp | 174 .WillOnce(DoAll(SetArgPointee<1>(query_result), Return(0))); 193 .WillOnce(DoAll(SetArgPointee<1>(query_result), Return(0))); 216 .WillOnce(DoAll(SetArgPointee<1>(query_result), Return(0))); 240 .WillOnce(DoAll(SetArgPointee<1>(query_result), Return(0))); 265 .WillOnce(DoAll(SetArgPointee<1>(query_result), Return(0))); 270 .WillOnce(DoAll(SetArgPointee<1>(kv.second), Return(0))); 299 .WillOnce(DoAll(SetArgPointee<1>(query_result), Return(0))); 323 .WillOnce(DoAll(SetArgPointee<1>(query_result), Return(0))); 349 .WillOnce(DoAll(SetArgPointee<1>(query_result), Return(0))); 354 .WillOnce(DoAll(SetArgPointee<1>(kv.second), Return(0))) [all...] |
slider_control_options_test.cpp | 68 .WillOnce(DoAll(SetArgPointee<1>(expected), Return(true))); 84 .WillOnce(DoAll(SetArgPointee<1>(default_val), Return(true))); 100 .WillOnce(DoAll(SetArgPointee<1>(default_val), Return(true)));
|
menu_control_options_test.cpp | 65 .WillOnce(DoAll(SetArgPointee<1>(expected), Return(true))); 78 .WillOnce(DoAll(SetArgPointee<1>(default_val), Return(true)));
|
/system/core/adb/ |
bugreport_test.cpp | 31 using ::testing::DoAll; 139 .WillOnce(DoAll(WithArg<2>(WriteOnStderr(version.c_str())), 162 .WillOnce(DoAll(WithArg<2>(WriteOnStderr("")), 170 .WillOnce(DoAll(WithArg<2>(WriteOnStdout(bugreport)), Return(0))); 185 .WillOnce(DoAll(WithArg<2>(WriteOnStdout("OK:/device/da_bugreport.zip")), 203 .WillOnce(DoAll(WithArg<2>(WriteOnStdout("BEGIN:/device/da_bugreport.zip\n")), 219 .WillOnce(DoAll(WithArg<2>(WriteOnStdout("OK:/device/bugreport.zip")), 234 .WillOnce(DoAll(WithArg<2>(WriteOnStdout("OK:/device")), 254 // NOTE: DoAll accepts at most 10 arguments, and we're almost reached that limit... 255 .WillOnce(DoAll( [all...] |
/external/webrtc/webrtc/modules/utility/source/ |
process_thread_impl_unittest.cc | 22 using ::testing::DoAll; 80 .WillOnce(DoAll(SetEvent(event.get()), Return(0))) 100 .WillOnce(DoAll(SetEvent(event.get()), Return(0))) 123 .WillOnce(DoAll(SetEvent(event.get()), 126 .WillRepeatedly(DoAll(Increment(&process_count), Return(0))); 160 .WillOnce(DoAll(SetTimestamp(&start_time), 164 .WillOnce(DoAll(SetTimestamp(&called_time), 227 .WillRepeatedly(DoAll(Increment(&callback_count), 267 .WillOnce(DoAll(SetTimestamp(&start_time), 272 .WillOnce(DoAll(SetTimestamp(&called_time) [all...] |
/external/webrtc/talk/app/webrtc/ |
proxy_unittest.cc | 39 using ::testing::DoAll; 123 DoAll(InvokeWithoutArgs(this, &ProxyTest::CheckThread), 133 DoAll(InvokeWithoutArgs(this, &ProxyTest::CheckThread), 144 DoAll(InvokeWithoutArgs(this, &ProxyTest::CheckThread), 154 DoAll(InvokeWithoutArgs(this, &ProxyTest::CheckThread), 165 DoAll(InvokeWithoutArgs(this, &ProxyTest::CheckThread),
|
/system/update_engine/ |
certificate_checker_unittest.cc | 30 using ::testing::DoAll; 80 .WillOnce(DoAll( 97 .WillOnce(DoAll( 103 .WillOnce(DoAll(SetArgPointee<1>(digest_hex_), Return(true))); 115 .WillOnce(DoAll( 121 .WillOnce(DoAll(SetArgPointee<1>(diff_digest_hex_), Return(true)));
|
/system/bt/profile/avrcp/tests/ |
avrcp_connection_handler_test.cc | 50 .WillOnce(DoAll(SaveArg<3>(sdp_cb), Return(0))); 75 .WillRepeatedly(DoAll(SetArgPointee<2>(AVRC_REV_1_6), Return(true))); 97 DoAll(SetArgPointee<0>(1), SaveArgPointee<1>(&conn_cb), Return(0))); 120 DoAll(SetArgPointee<0>(1), SaveArgPointee<1>(&conn_cb), Return(0))); 144 DoAll(SetArgPointee<0>(1), SaveArgPointee<1>(&conn_cb), Return(0))); 169 DoAll(SetArgPointee<0>(1), SaveArgPointee<1>(&conn_cb), Return(0))) 171 DoAll(SetArgPointee<0>(2), SaveArgPointee<1>(&conn_cb), Return(0))); 213 DoAll(SetArgPointee<0>(1), SaveArgPointee<1>(&conn_cb), Return(0))) 215 DoAll(SetArgPointee<0>(2), SaveArgPointee<1>(&conn_cb), Return(0))); 249 DoAll(SetArgPointee<0>(1), SaveArgPointee<1>(&conn_cb), Return(0)) [all...] |
/hardware/libhardware/modules/camera/3_4/ |
format_metadata_factory_test.cpp | 78 .WillOnce(DoAll(SetArgPointee<0>(formats), Return(0))); 81 .WillOnce(DoAll(SetArgPointee<0>(qualified_formats), Return(0))); 87 .WillRepeatedly(DoAll(SetArgPointee<1>(format_sizes), Return(0))); 92 DoAll(SetArgPointee<2>(durations[format][size]), Return(0))); 139 .WillOnce(DoAll(SetArgPointee<0>(formats), Return(0))); 145 .WillOnce(DoAll(SetArgPointee<0>(qualified_formats), Return(0))); 151 .WillRepeatedly(DoAll(SetArgPointee<1>(format_sizes), Return(0))); 156 DoAll(SetArgPointee<2>(durations[format][size]), Return(0)));
|
static_properties_test.cpp | 56 .WillOnce(DoAll(SetArgPointee<0>(test_facing_), Return(0))); 59 .WillOnce(DoAll(SetArgPointee<0>(test_orientation_), Return(0))); 62 .WillOnce(DoAll(SetArgPointee<0>(test_max_inputs_), Return(0))); 65 .WillOnce(DoAll(SetArgPointee<0>(test_max_raw_outputs_), 72 DoAll(SetArgPointee<0>(test_request_capabilities_), Return(0))); 75 .WillOnce(DoAll(SetArgPointee<0>(test_configs_), Return(0))); 78 .WillOnce(DoAll(SetArgPointee<0>(test_stalls_), Return(0))); 81 .WillOnce(DoAll(SetArgPointee<0>(test_reprocess_map_), Return(0))); 275 .WillOnce(DoAll(SetArgPointee<0>(0), Return(0))); 295 .WillOnce(DoAll(SetArgPointee<0>(configs), Return(0))) [all...] |
/system/tpm/trunks/ |
session_manager_test.cc | 33 using testing::DoAll; 107 .WillOnce(DoAll(SetArgPointee<2>(public_data), Return(TPM_RC_SUCCESS))); 113 .WillOnce(DoAll(SetArgPointee<8>(nonce), Return(TPM_RC_SUCCESS))); 123 .WillOnce(DoAll(SetArgPointee<2>(public_data), Return(TPM_RC_SUCCESS))); 130 .WillOnce(DoAll(SetArgPointee<2>(public_data), Return(TPM_RC_SUCCESS))); 141 .WillOnce(DoAll(SetArgPointee<2>(public_data), Return(TPM_RC_SUCCESS))); 156 .WillOnce(DoAll(SetArgPointee<2>(public_data), Return(TPM_RC_SUCCESS))); 162 .WillOnce(DoAll(SetArgPointee<8>(nonce), Return(TPM_RC_SUCCESS)));
|
/system/connectivity/wificond/tests/ |
netlink_utils_unittest.cpp | 32 using testing::DoAll; 317 WillOnce(DoAll(MakeupResponse(response), Return(true))); 329 WillOnce(DoAll(MakeupResponse(response), Return(true))); 340 WillOnce(DoAll(MakeupResponse(response), Return(true))); 351 WillOnce(DoAll(MakeupResponse(response), Return(true))); 381 WillOnce(DoAll(MakeupResponse(response), Return(true))); 423 WillOnce(DoAll(MakeupResponse(response), Return(true))); 476 WillOnce(DoAll(MakeupResponse(response), Return(true))); 496 WillOnce(DoAll(MakeupResponse(response), Return(true))); 517 WillOnce(DoAll(MakeupResponse(get_wiphy_response), Return(true))) [all...] |
/system/netd/server/ |
XfrmControllerTest.cpp | 66 using ::testing::DoAll; 165 .WillOnce(DoAll(SetArg3IntValue(UDP_ENCAP_ESPINUDP), Return(netdutils::status::ok))); 203 .WillOnce(DoAll(SetArg3IntValue(0), Return(netdutils::status::ok))); 214 .WillOnce(DoAll(SetArg3IntValue(0), Return(netdutils::status::ok))); 239 .WillOnce(DoAll(SaveFlattenedIovecs<1>(&nlMsgBuf), Return(expectedMsgLength))); 241 .WillOnce(DoAll(SetArgSlice<1>(responseSlice), Return(responseSlice))); 292 .WillOnce(DoAll(SaveFlattenedIovecs<1>(&nlMsgBuf), Return(expectedMsgLength))); 294 .WillOnce(DoAll(SetArgSlice<1>(responseSlice), Return(responseSlice))); 416 .WillOnce(DoAll(SetArgPointee<1>(socketaddr), Return(netdutils::status::ok))); 447 .WillOnce(DoAll(SetArgPointee<1>(socketaddr), Return(netdutils::status::ok))) [all...] |
NFLogListenerTest.cpp | 35 using ::testing::DoAll; 68 .WillOnce(DoAll(SaveArg<1>(&mPacketFn), Return(ok))); 70 .WillOnce(DoAll(SaveArg<1>(&mDoneFn), Return(ok)));
|
/external/libbrillo/brillo/http/ |
http_transport_curl_unittest.cc | 17 using testing::DoAll; 224 .WillRepeatedly(DoAll(SetArgPointee<2>(200), Return(CURLE_OK))); 229 .WillOnce(DoAll(SaveArg<1>(&socket_callback), Return(CURLM_OK))); 234 .WillOnce(DoAll(SaveArg<1>(&timer_callback), Return(CURLM_OK))); 259 .WillOnce(DoAll(SetArgPointee<3>(1), 262 .WillRepeatedly(DoAll(SetArgPointee<3>(0), Return(CURLM_OK))); 270 .WillOnce(DoAll(SetArgPointee<1>(0), Return(&msg))) 271 .WillRepeatedly(DoAll(SetArgPointee<1>(0), Return(nullptr))); 273 .WillRepeatedly(DoAll(SetArgPointee<2>(connection.get()),
|
/external/nos/host/generic/libnos/generator/test/ |
test.cpp | 38 using ::testing::DoAll; 86 .WillOnce(DoAll(SetArgPointee<3>(responseBytes), Return(APP_SUCCESS))); 121 .WillOnce(DoAll(SetArgPointee<3>(responseBytes), Return(APP_ERROR_BOGUS_ARGS))); 136 .WillOnce(DoAll(SetArgPointee<3>(garbledResponse), Return(APP_SUCCESS))); 166 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS)));
|