/external/webrtc/webrtc/modules/audio_processing/agc/ |
D | agc_manager_direct_unittest.cc | 26 using ::testing::SetArgPointee; 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/ |
D | stream_unittest.cc | 21 using testing::SetArgPointee; 127 DoAll(SetArgPointee<2>(0), SetArgPointee<3>(false), Return(true))); in TEST() 149 .WillOnce(DoAll(SetArgPointee<2>(7), in TEST() 150 SetArgPointee<3>(false), 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() 224 .WillOnce(DoAll(SetArgPointee<2>(7), in TEST() 225 SetArgPointee<3>(false), in TEST() 229 DoAll(SetArgPointee<2>(0), SetArgPointee<3>(false), Return(true))); in TEST() 238 .WillOnce(DoAll(SetArgPointee<2>(3), in TEST() [all …]
|
D | input_stream_set_unittest.cc | 17 using testing::SetArgPointee; 107 .WillOnce(DoAll(SetArgPointee<2>(10), in TEST_F() 108 SetArgPointee<3>(false), 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() 119 SetArgPointee<3>(false), 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() 140 SetArgPointee<3>(false), in TEST_F() 146 .WillOnce(DoAll(SetArgPointee<2>(0), in TEST_F() [all …]
|
D | openssl_stream_bio_unittests.cc | 16 using testing::SetArgPointee; 42 .WillOnce(DoAll(SetArgPointee<2>(10), in TEST_F() 43 SetArgPointee<3>(false), in TEST_F() 51 .WillOnce(DoAll(SetArgPointee<2>(3), in TEST_F() 52 SetArgPointee<3>(false), in TEST_F() 60 .WillOnce(DoAll(SetArgPointee<2>(0), in TEST_F() 61 SetArgPointee<3>(false), in TEST_F() 70 .WillOnce(DoAll(SetArgPointee<2>(0), in TEST_F() 71 SetArgPointee<3>(true), in TEST_F() 88 .WillOnce(DoAll(SetArgPointee<2>(10), Return(true))); in TEST_F() [all …]
|
D | memory_stream_unittest.cc | 19 using testing::SetArgPointee; 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()
|
/external/googletest/googlemock/test/ |
D | gmock-generated-actions_test.cc | 57 using testing::SetArgPointee; 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() 267 SetArgPointee<1>(2), in TEST() 279 DoAll(SetArgPointee<0>(1), in TEST() 280 SetArgPointee<1>(2), in TEST() 281 SetArgPointee<2>('a'), in TEST() 294 DoAll(SetArgPointee<0>(1), in TEST() 295 SetArgPointee<1>(2), in TEST() 296 SetArgPointee<2>('a'), in TEST() [all …]
|
D | gmock-actions_test.cc | 76 using testing::SetArgPointee; 786 Action<MyFunction> a = SetArgPointee<1>(2); in TEST() 794 a = SetArgPointee<2>('a'); in TEST() 805 Action<MyFunction> a = SetArgPointee<0>("hi"); in TEST() 812 a = SetArgPointee<1>("world"); in TEST() 821 Action<MyFunction> a = SetArgPointee<0>(L"world"); in TEST() 829 Action<MyStringFunction> a2 = SetArgPointee<0>(L"world"); in TEST() 841 Action<MyFunction> a = SetArgPointee<1>(hi); in TEST() 850 a = SetArgPointee<2>(world); in TEST() 860 Action<MyFunction> a = SetArgPointee<1>(hi); in TEST() [all …]
|
D | gmock_link_test.h | 172 using testing::SetArgPointee; 294 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(SetArgPointee<0>('y')); in TEST() 389 .WillOnce(DoAll(SetArgPointee<0>('y'), Return())); in TEST()
|
/external/google-breakpad/src/testing/test/ |
D | gmock-generated-actions_test.cc | 61 using testing::SetArgPointee; 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() 432 SetArgPointee<1>(2), in TEST() 444 DoAll(SetArgPointee<0>(1), in TEST() 445 SetArgPointee<1>(2), in TEST() 446 SetArgPointee<2>('a'), in TEST() 459 DoAll(SetArgPointee<0>(1), in TEST() 460 SetArgPointee<1>(2), in TEST() 461 SetArgPointee<2>('a'), in TEST() [all …]
|
D | gmock-actions_test.cc | 72 using testing::SetArgPointee; 702 Action<MyFunction> a = SetArgPointee<1>(2); in TEST() 710 a = SetArgPointee<2>('a'); in TEST() 723 Action<MyFunction> a = SetArgPointee<0>("hi"); in TEST() 730 a = SetArgPointee<1>("world"); in TEST() 739 Action<MyFunction> a = SetArgPointee<0>(L"world"); in TEST() 747 Action<MyStringFunction> a2 = SetArgPointee<0>(L"world"); in TEST() 760 Action<MyFunction> a = SetArgPointee<1>(hi); in TEST() 769 a = SetArgPointee<2>(world); in TEST() 779 Action<MyFunction> a = SetArgPointee<1>(hi); in TEST() [all …]
|
D | gmock_link_test.h | 167 using testing::SetArgPointee; 289 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(SetArgPointee<0>('y')); in TEST() 384 .WillOnce(DoAll(SetArgPointee<0>('y'), Return())); in TEST()
|
/external/nos/host/generic/libnos/generator/test/ |
D | test.cpp | 41 using ::testing::SetArgPointee; 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/talk/app/webrtc/ |
D | statscollector_unittest.cc | 58 using testing::SetArgPointee; 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/libchrome/base/ |
D | gmock_unittest.cc | 16 using testing::SetArgPointee; 87 EXPECT_CALL(mock, OutputParam(_)).WillRepeatedly(SetArgPointee<0>(5)); in TEST() 98 EXPECT_CALL(mock, OutputParam(_)).WillRepeatedly(SetArgPointee<0>(5)); in TEST()
|
/external/nos/host/android/hals/weaver/test/ |
D | test.cpp | 27 using ::testing::SetArgPointee; 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/libbrillo/brillo/http/ |
D | http_transport_curl_unittest.cc | 21 using testing::SetArgPointee; 253 .WillRepeatedly(DoAll(SetArgPointee<2>(200), Return(CURLE_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()
|
D | http_connection_curl_unittest.cc | 25 using testing::SetArgPointee; 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()
|
D | http_request_unittest.cc | 21 using testing::SetArgPointee; 183 .WillOnce(DoAll(SetArgPointee<2>(0), Return(true))); in TEST_F()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | neteq_impl_unittest.cc | 36 using ::testing::SetArgPointee; 319 .WillRepeatedly(DoAll(SetArgPointee<2>(kPayloadType), in TEST_F() 534 SetArgPointee<4>(AudioDecoder::kSpeech), in TEST_F() 577 SetArgPointee<4>(AudioDecoder::kSpeech), in TEST_F() 695 SetArgPointee<4>(AudioDecoder::kSpeech), in TEST_F() 702 SetArgPointee<4>(AudioDecoder::kComfortNoise), in TEST_F() 709 SetArgPointee<4>(AudioDecoder::kComfortNoise), in TEST_F() 716 SetArgPointee<4>(AudioDecoder::kSpeech), in TEST_F() 847 SetArgPointee<4>(AudioDecoder::kSpeech), in TEST_F() 967 SetArgPointee<4>(AudioDecoder::kSpeech), in TEST_F() [all …]
|
/external/grpc-grpc/test/cpp/end2end/ |
D | mock_test.cc | 50 using ::testing::SetArgPointee; 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()
|
/external/nos/host/android/hals/oemlock/test/ |
D | test.cpp | 31 using ::testing::SetArgPointee; 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/google-breakpad/src/testing/ |
D | CHANGES | 12 * SetArgPointee<> now accepts string literals. 24 * SetArgumentPointee is deprecated in favor of SetArgPointee.
|
/external/nos/host/android/hals/keymaster/test/ |
D | import_wrapped_key_test.cpp | 45 using ::testing::SetArgPointee; 371 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
|
D | import_key_test.cpp | 43 using ::testing::SetArgPointee; 377 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS))); in TEST()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | remote_ntp_time_estimator_unittest.cc | 20 using ::testing::SetArgPointee;
|