/external/chromium_org/chromeos/cryptohome/ |
D | mock_async_method_caller.cc | 7 using ::testing::Invoke; 31 WithArgs<2>(Invoke(this, &MockAsyncMethodCaller::DoCallback))); in SetUp() 34 WithArgs<3>(Invoke(this, &MockAsyncMethodCaller::DoCallback))); in SetUp() 37 WithArgs<3>(Invoke(this, &MockAsyncMethodCaller::DoCallback))); in SetUp() 40 WithArgs<3>(Invoke(this, &MockAsyncMethodCaller::DoCallback))); in SetUp() 43 WithArgs<0>(Invoke(this, &MockAsyncMethodCaller::DoCallback))); in SetUp() 46 WithArgs<1>(Invoke(this, &MockAsyncMethodCaller::DoCallback))); in SetUp() 49 WithArgs<1>(Invoke(this, in SetUp() 53 WithArgs<2>(Invoke(this, &MockAsyncMethodCaller::DoCallback))); in SetUp() 56 WithArgs<4>(Invoke(this, in SetUp() [all …]
|
D | mock_homedir_methods.cc | 12 using ::testing::Invoke; 27 WithArgs<2>(Invoke(this, &MockHomedirMethods::DoGetDataCallback))); in SetUp() 29 WithArgs<2>(Invoke(this, &MockHomedirMethods::DoCallback))); in SetUp() 31 WithArgs<3>(Invoke(this, &MockHomedirMethods::DoMountCallback))); in SetUp() 33 WithArgs<4>(Invoke(this, &MockHomedirMethods::DoCallback))); in SetUp() 35 WithArgs<4>(Invoke(this, &MockHomedirMethods::DoCallback))); in SetUp() 37 WithArgs<3>(Invoke(this, &MockHomedirMethods::DoCallback))); in SetUp()
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/mock/ |
D | mock_external_decoder_pcm16b.h | 24 using ::testing::Invoke; 59 .WillByDefault(Invoke(&real_, &ExternalPcm16B::Decode)); in MockExternalPcm16B() 61 .WillByDefault(Invoke(&real_, &ExternalPcm16B::HasDecodePlc)); in MockExternalPcm16B() 63 .WillByDefault(Invoke(&real_, &ExternalPcm16B::DecodePlc)); in MockExternalPcm16B() 65 .WillByDefault(Invoke(&real_, &ExternalPcm16B::Init)); in MockExternalPcm16B() 67 .WillByDefault(Invoke(&real_, &ExternalPcm16B::IncomingPacket)); in MockExternalPcm16B() 69 .WillByDefault(Invoke(&real_, &ExternalPcm16B::ErrorCode)); in MockExternalPcm16B() 71 .WillByDefault(Invoke(&real_, &ExternalPcm16B::codec_type)); in MockExternalPcm16B()
|
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
D | channelmanager.cc | 143 worker_thread_->Invoke<bool>( in Construct() 296 worker_thread_->Invoke<void>(Bind(&ChannelManager::Terminate_w, this)); in Terminate() 320 return worker_thread_->Invoke<VoiceChannel*>( in CreateVoiceChannel() 346 worker_thread_->Invoke<void>( in DestroyVoiceChannel() 367 return worker_thread_->Invoke<VideoChannel*>( in CreateVideoChannel() 397 worker_thread_->Invoke<void>( in DestroyVideoChannel() 418 return worker_thread_->Invoke<DataChannel*>( in CreateDataChannel() 450 worker_thread_->Invoke<void>( in DestroyDataChannel() 469 return worker_thread_->Invoke<Soundclip*>( in CreateSoundclip() 489 worker_thread_->Invoke<void>( in DestroySoundclip() [all …]
|
/external/chromium_org/sync/engine/ |
D | sync_scheduler_unittest.cc | 32 using testing::Invoke; 305 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateNormalSuccess), in TEST_F() 321 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateNormalSuccess), in TEST_F() 334 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateConfigureSuccess), in TEST_F() 364 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateConfigureFailed), in TEST_F() 366 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateConfigureFailed), in TEST_F() 391 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateConfigureSuccess), in TEST_F() 412 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateConfigureFailed), in TEST_F() 443 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateConfigureFailed), in TEST_F() 461 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateConfigureFailed), in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/sync_file_system/ |
D | mock_remote_file_sync_service.cc | 17 using ::testing::Invoke; 27 .WillByDefault(Invoke(this, &self::AddServiceObserverStub)); in MockRemoteFileSyncService() 29 .WillByDefault(Invoke(this, &self::AddFileStatusObserverStub)); in MockRemoteFileSyncService() 31 .WillByDefault(Invoke(this, &self::RegisterOriginStub)); in MockRemoteFileSyncService() 34 Invoke(this, &self::DeleteOriginDirectoryStub)); in MockRemoteFileSyncService() 36 .WillByDefault(Invoke(this, &self::ProcessRemoteChangeStub)); in MockRemoteFileSyncService() 40 .WillByDefault(Invoke(this, &self::GetCurrentStateStub)); in MockRemoteFileSyncService()
|
/external/chromium_org/chrome/browser/chromeos/attestation/ |
D | attestation_policy_observer_unittest.cc | 24 using testing::Invoke; 114 .WillRepeatedly(WithArgs<3>(Invoke(DBusCallbackTrue))); in SetupMocks() 116 .WillRepeatedly(WithArgs<3>(Invoke(FakeDBusData(certificate)))); in SetupMocks() 119 .WillRepeatedly(WithArgs<3>(Invoke(DBusCallbackFalse))); in SetupMocks() 126 .WillRepeatedly(WithArgs<3>(Invoke( in SetupMocks() 138 .WillOnce(WithArgs<1>(Invoke(StatusCallbackSuccess))); in SetupMocks() 141 .WillOnce(WithArgs<4>(Invoke(DBusCallbackTrue))); in SetupMocks() 149 .WillOnce(WithArgs<4>(Invoke(CertCallbackSuccess))); in SetupMocks() 237 .WillOnce(WithArgs<3>(Invoke(DBusCallbackError))) in TEST_F() 238 .WillRepeatedly(WithArgs<3>(Invoke(DBusCallbackFalse))); in TEST_F()
|
/external/clang/test/SemaCXX/ |
D | typo-correction.cpp | 138 Invoke(); // expected-error{{use of undeclared identifier 'Invoke'}} in Test() 139 Invoke("foo"); // expected-error{{use of undeclared identifier 'Invoke'; did you mean 'revoke'?}} in Test() 140 Invoke("foo", "bar"); // expected-error{{use of undeclared identifier 'Invoke'}} in Test() 143 Invoke(); // expected-error{{use of undeclared identifier 'Invoke'}} in Test2() 144 Invoke("foo"); // expected-error{{use of undeclared identifier 'Invoke'; did you mean 'revoke'?}} in Test2() 145 …Invoke("foo", 7); // expected-error{{use of undeclared identifier 'Invoke'; did you mean 'invoke'?… in Test2() 146 Invoke("foo", 7, 22); // expected-error{{use of undeclared identifier 'Invoke'}} in Test2()
|
/external/chromium_org/chrome/browser/extensions/api/enterprise_platform_keys_private/ |
D | enterprise_platform_keys_private_api_unittest.cc | 34 using testing::Invoke; 145 .WillByDefault(WithArgs<3>(Invoke(FakeBoolDBusMethod( in EPKPChallengeKeyTestBase() 148 .WillByDefault(Invoke(FakeBoolDBusMethod( in EPKPChallengeKeyTestBase() 151 .WillByDefault(Invoke(RegisterKeyCallbackTrue)); in EPKPChallengeKeyTestBase() 154 .WillByDefault(Invoke(SignChallengeCallbackTrue)); in EPKPChallengeKeyTestBase() 156 .WillByDefault(Invoke(GetCertificateCallbackTrue)); in EPKPChallengeKeyTestBase() 269 .WillRepeatedly(WithArgs<3>(Invoke(FakeBoolDBusMethod( in TEST_F() 278 .WillRepeatedly(Invoke(GetCertificateCallbackFalse)); in TEST_F() 287 .WillRepeatedly(Invoke(SignChallengeCallbackFalse)); in TEST_F() 295 .WillRepeatedly(WithArgs<3>(Invoke(FakeBoolDBusMethod( in TEST_F() [all …]
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
D | proxy.h | 66 void Invoke(C* c, M m) { r_ = (c->*m)(); } in Invoke() function 68 void Invoke(C* c, M m, T1 a1) { r_ = (c->*m)(a1); } in Invoke() function 70 void Invoke(C* c, M m, T1 a1, T2 a2) { r_ = (c->*m)(a1, a2); } in Invoke() function 72 void Invoke(C* c, M m, T1 a1, T2 a2, T3 a3) { r_ = (c->*m)(a1, a2, a3); } in Invoke() function 84 void Invoke(C* c, M m) { (c->*m)(); } in Invoke() function 86 void Invoke(C* c, M m, T1 a1) { (c->*m)(a1); } in Invoke() function 88 void Invoke(C* c, M m, T1 a1, T2 a2) { (c->*m)(a1, a2); } in Invoke() function 90 void Invoke(C* c, M m, T1 a1, T2 a2, T3 a3) { (c->*m)(a1, a2, a3); } in Invoke() function 108 void OnMessage(rtc::Message*) { r_.Invoke(c_, m_);} in OnMessage() 128 void OnMessage(rtc::Message*) { r_.Invoke(c_, m_); } in OnMessage() [all …]
|
/external/chromium_org/remoting/host/setup/ |
D | daemon_installer_win.cc | 126 HRESULT hr = dispatch::Invoke(update3_.get(), L"createAppBundleWeb", in Install() 137 hr = dispatch::Invoke(V_DISPATCH(&bundle_), L"initialize", DISPATCH_METHOD, in Install() 148 hr = dispatch::Invoke(V_DISPATCH(&bundle_), L"createApp", DISPATCH_METHOD, in Install() 155 hr = dispatch::Invoke(V_DISPATCH(&bundle_), L"checkForUpdate", in Install() 162 hr = dispatch::Invoke(V_DISPATCH(&bundle_), L"appWeb", in Install() 183 HRESULT hr = dispatch::Invoke(V_DISPATCH(&app_), L"currentState", in PollInstallationStatus() 195 hr = dispatch::Invoke(V_DISPATCH(¤t_state), L"stateValue", in PollInstallationStatus() 216 hr = dispatch::Invoke(V_DISPATCH(&bundle_), L"download", in PollInstallationStatus() 228 hr = dispatch::Invoke(V_DISPATCH(&bundle_), L"install", in PollInstallationStatus() 244 hr = dispatch::Invoke(V_DISPATCH(¤t_state), L"errorCode", in PollInstallationStatus()
|
/external/chromium_org/content/browser/media/capture/ |
D | web_contents_audio_input_stream_unittest.cc | 26 using ::testing::Invoke; 99 .WillByDefault(Invoke(&real_, &VirtualAudioInputStream::Open)); in MockVirtualAudioInputStream() 101 .WillByDefault(Invoke(&real_, &VirtualAudioInputStream::Start)); in MockVirtualAudioInputStream() 103 .WillByDefault(Invoke(&real_, &VirtualAudioInputStream::Stop)); in MockVirtualAudioInputStream() 105 .WillByDefault(Invoke(&real_, &VirtualAudioInputStream::Close)); in MockVirtualAudioInputStream() 107 .WillByDefault(Invoke(&real_, &VirtualAudioInputStream::GetMaxVolume)); in MockVirtualAudioInputStream() 109 .WillByDefault(Invoke(&real_, &VirtualAudioInputStream::SetVolume)); in MockVirtualAudioInputStream() 111 .WillByDefault(Invoke(&real_, &VirtualAudioInputStream::GetVolume)); in MockVirtualAudioInputStream() 114 Invoke(&real_, &VirtualAudioInputStream::SetAutomaticGainControl)); in MockVirtualAudioInputStream() 117 Invoke(&real_, &VirtualAudioInputStream::GetAutomaticGainControl)); in MockVirtualAudioInputStream() [all …]
|
/external/chromium_org/base/strings/ |
D | string_number_conversions.cc | 143 static bool Invoke(char c) { in Invoke() function in base::__anon35c183d00111::WhitespaceHelper 150 static bool Invoke(char16 c) { in Invoke() function in base::__anon35c183d00111::WhitespaceHelper 156 return WhitespaceHelper<CHAR>::Invoke(c); in LocalIsWhitespace() 174 static bool Invoke(const_iterator begin, in Invoke() function in base::__anon35c183d00111::IteratorRangeToNumber 187 } else if (!Negative::Invoke(begin + 1, end, output)) { in Invoke() 194 if (!Positive::Invoke(begin, end, output)) { in Invoke() 211 static bool Invoke(const_iterator begin, const_iterator end, in Invoke() function in base::__anon35c183d00111::IteratorRangeToNumber::Base 351 return IteratorRangeToNumber<StringPieceToNumberTraits<VALUE, 10> >::Invoke( in StringToIntImpl() 364 return IteratorRangeToNumber<StringPiece16ToNumberTraits<VALUE, 10> >::Invoke( in String16ToIntImpl() 506 return IteratorRangeToNumber<HexIteratorRangeToIntTraits>::Invoke( in HexStringToInt() [all …]
|
/external/chromium_org/chrome/browser/speech/extension_api/ |
D | tts_extension_apitest.cc | 30 using ::testing::Invoke; 230 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F() 250 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F() 273 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F() 287 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F() 292 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F() 315 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F() 329 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F() 331 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F() 344 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium_org/remoting/base/ |
D | dispatch_win.h | 119 HRESULT Invoke(IDispatch* object, in Invoke() function 149 hr = object->Invoke(disp_id, IID_NULL, LOCALE_USER_DEFAULT, flags, in Invoke() 164 HRESULT Invoke(IDispatch* object, in Invoke() function 200 hr = object->Invoke(disp_id, IID_NULL, LOCALE_USER_DEFAULT, flags, in Invoke() 217 HRESULT Invoke(IDispatch* object, in Invoke() function 257 hr = object->Invoke(disp_id, IID_NULL, LOCALE_USER_DEFAULT, flags, in Invoke() 275 HRESULT Invoke(IDispatch* object, in Invoke() function 319 hr = object->Invoke(disp_id, IID_NULL, LOCALE_USER_DEFAULT, flags, in Invoke() 338 HRESULT Invoke(IDispatch* object, in Invoke() function 386 hr = object->Invoke(disp_id, IID_NULL, LOCALE_USER_DEFAULT, flags, in Invoke() [all …]
|
D | dispatch_win.h.pump | 7 $$ MAX_ARITY controls the number of arguments that dispatch::Invoke() supports. 30 // IDispatch::Invoke(). The latter accepts parameters as an array of 31 // |VARIANTARG| structures. The calling convention of IDispatch::Invoke() is: 33 // - [out] parameters are initialized by IDispatch::Invoke(). It is up to 58 // that they can be passed to IDispatch::Invoke. 69 // IDispatch::Invoke(). 108 // Invoke() is a convenience wrapper for IDispatch::Invoke. It takes care of 130 HRESULT Invoke(IDispatch* object, 166 // Invoke the method passing the parameters via the DISPPARAMS structure. 183 hr = object->Invoke(disp_id, IID_NULL, LOCALE_USER_DEFAULT, flags,
|
/external/chromium_org/chromeos/attestation/ |
D | attestation_flow_unittest.cc | 17 using testing::Invoke; 81 .WillRepeatedly(Invoke(DBusCallbackFalse)); in TEST_F() 156 .WillRepeatedly(Invoke(DBusCallbackFalse)); in TEST_F() 184 .WillRepeatedly(Invoke(DBusCallbackFalse)); in TEST_F() 217 .WillOnce(WithArgs<2>(Invoke(AsyncCallbackFalse))); in TEST_F() 221 .WillRepeatedly(Invoke(DBusCallbackFalse)); in TEST_F() 263 .WillRepeatedly(Invoke(DBusCallbackTrue)); in TEST_F() 297 .WillRepeatedly(Invoke(DBusCallbackTrue)); in TEST_F() 326 .WillRepeatedly(Invoke(DBusCallbackTrue)); in TEST_F() 354 .WillRepeatedly(Invoke(DBusCallbackFail)); in TEST_F() [all …]
|
/external/chromium_org/remoting/host/win/ |
D | worker_process_launcher_unittest.cc | 32 using testing::Invoke; 199 .WillRepeatedly(Invoke(this, &WorkerProcessLauncherTest::SendToProcess)); in SetUp() 202 .WillRepeatedly(Invoke(this, in SetUp() 206 .WillRepeatedly(Invoke(this, &WorkerProcessLauncherTest::KillProcess)); in SetUp() 384 .WillRepeatedly(Invoke(this, &WorkerProcessLauncherTest::LaunchProcess)); in TEST_F() 401 .WillRepeatedly(Invoke( in TEST_F() 420 .WillRepeatedly(Invoke( in TEST_F() 443 .WillRepeatedly(Invoke( in TEST_F() 466 .WillRepeatedly(Invoke( in TEST_F() 487 .WillRepeatedly(Invoke( in TEST_F() [all …]
|
/external/chromium_org/chromeos/dbus/ |
D | mock_cryptohome_client.cc | 12 using ::testing::Invoke; 29 .WillByDefault(Invoke(&RunCallbackWithTrue)); in MockCryptohomeClient() 31 .WillByDefault(Invoke(&RunCallbackWithTrue)); in MockCryptohomeClient()
|
/external/chromium_org/third_party/webrtc/base/ |
D | thread_unittest.cc | 260 TEST(ThreadTest, DISABLED_ON_MAC(Invoke)) { in TEST() argument 265 EXPECT_EQ(42, thread.Invoke<int>(FunctorA())); in TEST() 268 thread.Invoke<void>(f2); in TEST() 275 EXPECT_EQ(999, thread.Invoke<int>(&LocalFuncs::Func1)); in TEST() 276 thread.Invoke<void>(&LocalFuncs::Func2); in TEST() 292 thread->Invoke<void>(Bind(&Set, out)); in TEST() 297 other_thread.Invoke<void>( in TEST() 316 thread->Invoke<void>(Bind(&Set, out)); in TEST() 344 thread_b.Invoke<void>(Bind(&LocalFuncs::AsyncInvokeSetAndWait, in TEST() 426 thread.Invoke<void>(Bind(&AsyncInvokeTest::AsyncInvokeIntCallback, in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/chromeos/login/ |
D | mock_login_utils.cc | 23 .WillByDefault(Invoke(fake, &FakeLoginUtils::DoBrowserLaunch)); in DelegateToFake() 25 .WillByDefault(Invoke(fake, &FakeLoginUtils::PrepareProfile)); in DelegateToFake() 27 .WillByDefault(Invoke(fake, &FakeLoginUtils::CreateAuthenticator)); in DelegateToFake()
|
/external/chromium_org/chrome/browser/chromeos/dbus/ |
D | service_provider_test_helper.cc | 16 using ::testing::Invoke; 52 .WillOnce(Invoke(this, &ServiceProviderTestHelper::MockExportMethod)); in SetUp() 70 Invoke(this, &ServiceProviderTestHelper::MockCallMethodAndBlock)); in SetUp() 90 .WillOnce(Invoke(this, &ServiceProviderTestHelper::MockSendSignal)); in SetUpReturnSignal() 96 .WillOnce(Invoke(this, &ServiceProviderTestHelper::MockConnectToSignal)); in SetUpReturnSignal()
|
/external/chromium_org/gpu/command_buffer/service/ |
D | gpu_tracer_unittest.cc | 28 using ::testing::Invoke; 180 Invoke(&gl_fake_queries_, &GlFakeQueries::GenQueriesARB)); in SetupTimerQueryMocks() 185 Invoke(&gl_fake_queries_, &GlFakeQueries::GetQueryObjectiv)); in SetupTimerQueryMocks() 190 Invoke(&gl_fake_queries_, &GlFakeQueries::QueryCounter)); in SetupTimerQueryMocks() 195 Invoke(&gl_fake_queries_, &GlFakeQueries::GetQueryObjectui64v)); in SetupTimerQueryMocks() 200 Invoke(&gl_fake_queries_, &GlFakeQueries::DeleteQueriesARB)); in SetupTimerQueryMocks()
|
/external/chromium_org/extensions/browser/api/bluetooth/ |
D | bluetooth_private_apitest.cc | 132 WithArgs<0, 1>(Invoke(this, &BluetoothPrivateApiTest::SetName))); in IN_PROC_BROWSER_TEST_F() 134 WithArgs<0, 1>(Invoke(this, &BluetoothPrivateApiTest::SetPowered))); in IN_PROC_BROWSER_TEST_F() 136 WithArgs<0, 1>(Invoke(this, &BluetoothPrivateApiTest::SetDiscoverable))); in IN_PROC_BROWSER_TEST_F() 153 .WillOnce(WithoutArgs(Invoke( in IN_PROC_BROWSER_TEST_F() 167 Invoke(this, &BluetoothPrivateApiTest::DispatchPincodePairingEvent))); in IN_PROC_BROWSER_TEST_F() 179 Invoke(this, &BluetoothPrivateApiTest::DispatchPasskeyPairingEvent))); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/content/renderer/media/ |
D | mock_web_rtc_peer_connection_handler_client.cc | 18 ON_CALL(*this, didGenerateICECandidate(_)).WillByDefault(testing::Invoke( in MockWebRTCPeerConnectionHandlerClient() 21 ON_CALL(*this, didAddRemoteStream(_)).WillByDefault(testing::Invoke( in MockWebRTCPeerConnectionHandlerClient() 24 ON_CALL(*this, didRemoveRemoteStream(_)).WillByDefault(testing::Invoke( in MockWebRTCPeerConnectionHandlerClient()
|