Home
last modified time | relevance | path

Searched refs:Invoke (Results 1 – 25 of 206) sorted by relevance

123456789

/external/webrtc/talk/session/media/
Dchannelmanager.cc126 worker_thread_->Invoke<void>(Bind( in ~ChannelManager()
196 worker_thread_->Invoke<bool>(rtc::Bind( in Init()
200 initialized_ = worker_thread_->Invoke<bool>(Bind( in Init()
228 worker_thread_->Invoke<void>(Bind(&ChannelManager::Terminate_w, this)); in Terminate()
256 return worker_thread_->Invoke<VoiceChannel*>( in CreateVoiceChannel()
289 worker_thread_->Invoke<void>( in DestroyVoiceChannel()
314 return worker_thread_->Invoke<VideoChannel*>( in CreateVideoChannel()
347 worker_thread_->Invoke<void>( in DestroyVideoChannel()
372 return worker_thread_->Invoke<DataChannel*>( in CreateDataChannel()
406 worker_thread_->Invoke<void>( in DestroyDataChannel()
[all …]
/external/google-breakpad/src/testing/test/
Dgmock-more-actions_test.cc58 using testing::Invoke;
235 Action<int()> a = Invoke(Nullary); // NOLINT in TEST()
241 Action<bool(int)> a = Invoke(Unary); // NOLINT in TEST()
248 Action<const char*(const char*, short)> a = Invoke(Binary); // NOLINT in TEST()
255 Action<int(int, char, short)> a = Invoke(Ternary); // NOLINT in TEST()
261 Action<int(int, int, int, int)> a = Invoke(SumOf4); // NOLINT in TEST()
267 Action<int(int, int, int, int, int)> a = Invoke(SumOf5); // NOLINT in TEST()
273 Action<int(int, int, int, int, int, int)> a = Invoke(SumOf6); // NOLINT in TEST()
285 Invoke(Concat7); in TEST()
296 Invoke(Concat8); in TEST()
[all …]
Dgmock-generated-actions_test.cc58 using testing::Invoke;
286 Action<bool(double x, int n)> a = WithArgs<1>(Invoke(Unary)); // NOLINT in TEST()
294 WithArgs<0, 2>(Invoke(Binary)); in TEST()
302 WithArgs<0, 2, 3>(Invoke(Ternary)); in TEST()
309 WithArgs<4, 3, 1, 0>(Invoke(Concat4)); in TEST()
318 WithArgs<4, 3, 2, 1, 0>(Invoke(Concat5)); in TEST()
327 WithArgs<0, 1, 2, 2, 1, 0>(Invoke(Concat6)); in TEST()
335 WithArgs<0, 1, 2, 3, 2, 1, 0>(Invoke(Concat7)); in TEST()
344 WithArgs<0, 1, 2, 3, 0, 1, 2, 3>(Invoke(Concat8)); in TEST()
353 WithArgs<0, 1, 2, 3, 1, 2, 3, 2, 3>(Invoke(Concat9)); in TEST()
[all …]
/external/gmock/test/
Dgmock-more-actions_test.cc58 using testing::Invoke;
235 Action<int()> a = Invoke(Nullary); // NOLINT in TEST()
241 Action<bool(int)> a = Invoke(Unary); // NOLINT in TEST()
248 Action<const char*(const char*, short)> a = Invoke(Binary); // NOLINT in TEST()
255 Action<int(int, char, short)> a = Invoke(Ternary); // NOLINT in TEST()
261 Action<int(int, int, int, int)> a = Invoke(SumOf4); // NOLINT in TEST()
267 Action<int(int, int, int, int, int)> a = Invoke(SumOf5); // NOLINT in TEST()
273 Action<int(int, int, int, int, int, int)> a = Invoke(SumOf6); // NOLINT in TEST()
285 Invoke(Concat7); in TEST()
296 Invoke(Concat8); in TEST()
[all …]
Dgmock-generated-actions_test.cc58 using testing::Invoke;
286 Action<bool(double x, int n)> a = WithArgs<1>(Invoke(Unary)); // NOLINT in TEST()
294 WithArgs<0, 2>(Invoke(Binary)); in TEST()
302 WithArgs<0, 2, 3>(Invoke(Ternary)); in TEST()
309 WithArgs<4, 3, 1, 0>(Invoke(Concat4)); in TEST()
318 WithArgs<4, 3, 2, 1, 0>(Invoke(Concat5)); in TEST()
327 WithArgs<0, 1, 2, 2, 1, 0>(Invoke(Concat6)); in TEST()
335 WithArgs<0, 1, 2, 3, 2, 1, 0>(Invoke(Concat7)); in TEST()
344 WithArgs<0, 1, 2, 3, 0, 1, 2, 3>(Invoke(Concat8)); in TEST()
353 WithArgs<0, 1, 2, 3, 1, 2, 3, 2, 3>(Invoke(Concat9)); in TEST()
[all …]
/external/webrtc/talk/app/webrtc/
Dproxy.h67 void Invoke(C* c, M m) { r_ = (c->*m)(); } in Invoke() function
69 void Invoke(C* c, M m, T1 a1) { r_ = (c->*m)(a1); } in Invoke() function
71 void Invoke(C* c, M m, T1 a1, T2 a2) { r_ = (c->*m)(a1, a2); } in Invoke() function
73 void Invoke(C* c, M m, T1 a1, T2 a2, T3 a3) { r_ = (c->*m)(a1, a2, a3); } in Invoke() function
76 void Invoke(C* c, M m, T1 a1, T2 a2, T3 a3, T4 a4) { in Invoke() function
81 void Invoke(C* c, M m, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5) { in Invoke() function
95 void Invoke(C* c, M m) { (c->*m)(); } in Invoke() function
97 void Invoke(C* c, M m, T1 a1) { (c->*m)(a1); } in Invoke() function
99 void Invoke(C* c, M m, T1 a1, T2 a2) { (c->*m)(a1, a2); } in Invoke() function
101 void Invoke(C* c, M m, T1 a1, T2 a2, T3 a3) { (c->*m)(a1, a2, a3); } in Invoke() function
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/mock/
Dmock_external_decoder_pcm16b.h24 using ::testing::Invoke;
55 .WillByDefault(Invoke(&real_, &ExternalPcm16B::DecodeInternal)); in MockExternalPcm16B()
57 .WillByDefault(Invoke(&real_, &ExternalPcm16B::HasDecodePlc)); in MockExternalPcm16B()
59 .WillByDefault(Invoke(&real_, &ExternalPcm16B::DecodePlc)); in MockExternalPcm16B()
61 .WillByDefault(Invoke(&real_, &ExternalPcm16B::Reset)); in MockExternalPcm16B()
63 .WillByDefault(Invoke(&real_, &ExternalPcm16B::IncomingPacket)); in MockExternalPcm16B()
65 .WillByDefault(Invoke(&real_, &ExternalPcm16B::ErrorCode)); in MockExternalPcm16B()
/external/libbrillo/brillo/dbus/
Ddbus_param_reader_unittest.cc24 EXPECT_TRUE(DBusParamReader<false>::Invoke(callback, &reader, nullptr)); in TEST()
39 (DBusParamReader<false, int>::Invoke(callback, &reader, nullptr))); in TEST()
59 EXPECT_TRUE((DBusParamReader<false, bool, int, VariantDictionary>::Invoke( in TEST()
80 (DBusParamReader<false, bool, int>::Invoke(callback, &reader, &error))); in TEST()
100 (DBusParamReader<false, bool, int>::Invoke(callback, &reader, &error))); in TEST()
121 DBusParamReader<false, bool, double>::Invoke(callback, &reader, &error))); in TEST()
137 (DBusParamReader<true, int*>::Invoke(callback, &reader, nullptr))); in TEST()
153 DBusParamReader<true, int, double*>::Invoke(callback, &reader, nullptr))); in TEST()
169 DBusParamReader<true, double*, int>::Invoke(callback, &reader, nullptr))); in TEST()
203 bool*>::Invoke(callback, &reader, nullptr))); in TEST()
[all …]
Ddbus_param_reader.h55 static bool Invoke(const CallbackType& handler,
108 return DBusParamReader<allow_out_params, RestOfParams...>::Invoke(
134 return DBusParamReader<allow_out_params, RestOfParams...>::Invoke(
147 static bool Invoke(const CallbackType& handler,
Ddbus_object_internal_impl.h89 if (!DBusParamReader<false, Args...>::Invoke( in HandleMethod()
126 if (!DBusParamReader<true, Args...>::Invoke( in HandleMethod()
176 if (!DBusParamReader<true, Args...>::Invoke( in HandleMethod()
228 if (!DBusParamReader<true, Args...>::Invoke( in HandleMethod()
269 if (!DBusParamReader<false, Args...>::Invoke( in HandleMethod()
316 if (!DBusParamReader<false, Args...>::Invoke( in HandleMethod()
/external/libchrome/base/strings/
Dstring_number_conversions.cc104 static bool Invoke(char c) { in Invoke() function in base::__anonbc38e10f0111::WhitespaceHelper
111 static bool Invoke(char16 c) { in Invoke() function in base::__anonbc38e10f0111::WhitespaceHelper
117 return WhitespaceHelper<CHAR>::Invoke(c); in LocalIsWhitespace()
135 static bool Invoke(const_iterator begin, in Invoke() function in base::__anonbc38e10f0111::IteratorRangeToNumber
148 } else if (!Negative::Invoke(begin + 1, end, output)) { in Invoke()
155 if (!Positive::Invoke(begin, end, output)) { in Invoke()
172 static bool Invoke(const_iterator begin, const_iterator end, in Invoke() function in base::__anonbc38e10f0111::IteratorRangeToNumber::Base
309 return IteratorRangeToNumber<StringPieceToNumberTraits<VALUE, 10> >::Invoke( in StringToIntImpl()
322 return IteratorRangeToNumber<StringPiece16ToNumberTraits<VALUE, 10> >::Invoke( in String16ToIntImpl()
465 return IteratorRangeToNumber<HexIteratorRangeToIntTraits>::Invoke( in HexStringToInt()
[all …]
/external/libweave/third_party/chromium/base/strings/
Dstring_number_conversions.cc103 static bool Invoke(char c) { in Invoke() function in base::__anonabc555550111::WhitespaceHelper
109 return WhitespaceHelper<CHAR>::Invoke(c); in LocalIsWhitespace()
127 static bool Invoke(const_iterator begin, in Invoke() function in base::__anonabc555550111::IteratorRangeToNumber
140 } else if (!Negative::Invoke(begin + 1, end, output)) { in Invoke()
147 if (!Positive::Invoke(begin, end, output)) { in Invoke()
164 static bool Invoke(const_iterator begin, const_iterator end, in Invoke() function in base::__anonabc555550111::IteratorRangeToNumber::Base
301 return IteratorRangeToNumber<StringPieceToNumberTraits<VALUE, 10> >::Invoke( in StringToIntImpl()
404 return IteratorRangeToNumber<HexIteratorRangeToIntTraits>::Invoke( in HexStringToInt()
409 return IteratorRangeToNumber<HexIteratorRangeToUIntTraits>::Invoke( in HexStringToUInt()
414 return IteratorRangeToNumber<HexIteratorRangeToInt64Traits>::Invoke( in HexStringToInt64()
[all …]
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_estimator_proxy_unittest.cc21 using ::testing::Invoke;
66 .WillOnce(Invoke([this](rtcp::TransportFeedback* packet) { in TEST_F()
92 .WillOnce(Invoke([this](rtcp::TransportFeedback* packet) { in TEST_F()
128 .WillOnce(Invoke([kTooLargeDelta, this](rtcp::TransportFeedback* packet) { in TEST_F()
147 .WillOnce(Invoke([kTooLargeDelta, this](rtcp::TransportFeedback* packet) { in TEST_F()
174 .WillOnce(Invoke([this](rtcp::TransportFeedback* packet) { in TEST_F()
192 .WillOnce(Invoke([this](rtcp::TransportFeedback* packet) { in TEST_F()
216 .WillOnce(Invoke([kTimeoutTimeMs, this](rtcp::TransportFeedback* packet) { in TEST_F()
232 .WillOnce(Invoke([kTimeoutTimeMs, this](rtcp::TransportFeedback* packet) { in TEST_F()
252 .WillOnce(Invoke([kTimeoutTimeMs, this](rtcp::TransportFeedback* packet) { in TEST_F()
Dtransport_feedback_adapter_unittest.cc27 using ::testing::Invoke;
145 .WillOnce(Invoke( in TEST_F()
187 .WillOnce(Invoke([expected_packets, in TEST_F()
224 .WillOnce(Invoke([expected_packets, this]( in TEST_F()
293 .WillOnce(Invoke([sent_packets, &received_feedback]( in TEST_F()
312 .WillOnce(Invoke( in TEST_F()
/external/libweave/src/
Daccess_api_handler_unittest.cc18 using testing::Invoke;
48 .WillRepeatedly(Invoke([this](const std::string& json) { in SetUp()
53 Invoke(&component_manager_, &ComponentManager::SetStateProperties)); in SetUp()
56 Invoke(&component_manager_, &ComponentManager::SetStateProperty)); in SetUp()
58 .WillRepeatedly(Invoke([this](const std::string& name, in SetUp()
70 Invoke(&component_manager_, &ComponentManager::AddCommandHandler)); in SetUp()
188 Invoke([](const DoneCallback& callback) { callback.Run(nullptr); }))); in TEST_F()
212 Invoke([](const DoneCallback& callback) { callback.Run(nullptr); }))); in TEST_F()
Dbase_api_handler_unittest.cc24 using testing::Invoke;
35 .WillRepeatedly(Invoke([this](const std::string& json) { in SetUp()
40 Invoke(&component_manager_, &ComponentManager::SetStateProperties)); in SetUp()
43 Invoke(&component_manager_, &ComponentManager::SetStateProperty)); in SetUp()
45 .WillRepeatedly(Invoke([this](const std::string& name, in SetUp()
56 Invoke(&component_manager_, &ComponentManager::AddCommandHandler)); in SetUp()
Ddevice_registration_info_unittest.cc25 using testing::Invoke;
135 .WillOnce(Invoke([](Settings* settings) { in ReloadDefaults()
255 Invoke([](const std::string& data, in TEST_F()
276 Invoke([](const std::string& data, in TEST_F()
298 Invoke([](const std::string& data, in TEST_F()
327 Invoke([](const std::string& data, in TEST_F()
357 Invoke([](const std::string& data, in TEST_F()
418 Invoke([](const std::string& data, in TEST_F()
495 Invoke([](const HttpClient::SendRequestCallback& callback) { in TEST_F()
514 .WillOnce(WithArgs<3, 4>(Invoke([]( in TEST_F()
[all …]
Daccess_black_list_manager_impl_unittest.cc38 .WillOnce(testing::WithArgs<1, 2>(testing::Invoke( in SetUp()
70 .WillOnce(testing::WithArgs<1, 2>(testing::Invoke( in TEST_F()
97 .WillRepeatedly(testing::WithArgs<1, 2>(testing::Invoke( in TEST_F()
116 .WillOnce(testing::WithArgs<1, 2>(testing::Invoke( in TEST_F()
144 testing::Invoke([](const DoneCallback& callback) { in SetUp()
/external/webrtc/webrtc/base/
Dthread_unittest.cc267 TEST(ThreadTest, Invoke) { in TEST() argument
272 EXPECT_EQ(42, thread.Invoke<int>(FunctorA())); in TEST()
275 thread.Invoke<void>(f2); in TEST()
282 EXPECT_EQ(999, thread.Invoke<int>(&LocalFuncs::Func1)); in TEST()
283 thread.Invoke<void>(&LocalFuncs::Func2); in TEST()
299 thread->Invoke<void>(Bind(&Set, out)); in TEST()
304 other_thread.Invoke<void>( in TEST()
342 thread->Invoke<void>(Bind(&Set, out)); in TEST()
373 thread_b.Invoke<void>(Bind(&LocalFuncs::AsyncInvokeSetAndWait, in TEST()
455 thread.Invoke<void>(Bind(&AsyncInvokeTest::AsyncInvokeIntCallback, in TEST_F()
[all …]
/external/webrtc/webrtc/p2p/base/
Dtransportcontroller.cc48 worker_thread_->Invoke<void>( in ~TransportController()
55 return worker_thread_->Invoke<bool>(rtc::Bind( in SetSslMaxProtocolVersion()
60 worker_thread_->Invoke<void>( in SetIceConfig()
65 worker_thread_->Invoke<void>( in SetIceRole()
71 return worker_thread_->Invoke<bool>(rtc::Bind( in GetSslRole()
77 return worker_thread_->Invoke<bool>(rtc::Bind( in SetLocalCertificate()
84 return worker_thread_->Invoke<bool>( in GetLocalCertificate()
92 return worker_thread_->Invoke<bool>( in GetRemoteSSLCertificate()
102 return worker_thread_->Invoke<bool>( in SetLocalTransportDescription()
112 return worker_thread_->Invoke<bool>( in SetRemoteTransportDescription()
[all …]
/external/libbrillo/brillo/message_loops/
Dmock_message_loop.h36 .WillByDefault(::testing::Invoke( in MockMessageLoop()
45 .WillByDefault(::testing::Invoke( in MockMessageLoop()
52 .WillByDefault(::testing::Invoke(&fake_loop_, in MockMessageLoop()
55 .WillByDefault(::testing::Invoke(&fake_loop_, in MockMessageLoop()
/external/clang/test/SemaCXX/
Dtypo-correction.cpp139 Invoke(); // expected-error{{use of undeclared identifier 'Invoke'}} in Test()
140 Invoke("foo"); // expected-error{{use of undeclared identifier 'Invoke'; did you mean 'revoke'?}} in Test()
141 Invoke("foo", "bar"); // expected-error{{use of undeclared identifier 'Invoke'}} in Test()
144 Invoke(); // expected-error{{use of undeclared identifier 'Invoke'}} in Test2()
145 Invoke("foo"); // expected-error{{use of undeclared identifier 'Invoke'; did you mean 'revoke'?}} in Test2()
146Invoke("foo", 7); // expected-error{{use of undeclared identifier 'Invoke'; did you mean 'invoke'?… in Test2()
147 Invoke("foo", 7, 22); // expected-error{{use of undeclared identifier 'Invoke'}} in Test2()
/external/libchrome/base/trace_event/
Dmemory_dump_manager_unittest.cc33 using testing::Invoke;
81 .WillByDefault(Invoke( in MemoryDumpManagerDelegateForTesting()
269 .WillRepeatedly(Invoke([session_state](const MemoryDumpArgs&, in TEST_F()
276 .WillRepeatedly(Invoke([session_state](const MemoryDumpArgs&, in TEST_F()
406 .WillRepeatedly(Invoke( in TEST_F()
491 Invoke([&mdp2](const MemoryDumpArgs&, ProcessMemoryDump*) -> bool { in TEST_F()
527 Invoke([&mdp2](const MemoryDumpArgs&, ProcessMemoryDump*) -> bool { in TEST_F()
583 .WillOnce(Invoke(on_dump)); in TEST_F()
630 .WillOnce(Invoke(on_dump)); in TEST_F()
767 .WillOnce(Invoke([quit_closure](const MemoryDumpRequestArgs& args, in TEST_F()
[all …]
/external/libweave/src/privet/
Dprivet_handler_unittest.cc26 using testing::Invoke;
142 .WillRepeatedly(DoAll(Invoke(set_error), Return(false))); in SetNoWifiAndGcd()
200 .WillRepeatedly(WithArgs<2>(Invoke([](ErrorPtr* error) { in TEST_F()
383 .WillRepeatedly(WithArgs<6>(Invoke(set_error))); in TEST_F()
605 EXPECT_CALL(wifi_, ConfigureCredentials(_, _, _)).WillOnce(Invoke(set_error)); in TEST_F()
644 EXPECT_CALL(cloud_, Setup(_, _, _)).WillOnce(Invoke(set_error)); in TEST_F()
861 .WillOnce(WithArgs<1>(Invoke(error_handler))); in TEST_F()
875 .WillOnce(WithArgs<2>(Invoke( in TEST_F()
890 .WillOnce(WithArgs<2>(Invoke( in TEST_F()
902 Invoke([&error](const CloudDelegate::CommandDoneCallback& callback) { in TEST_F()
[all …]
/external/gmock/include/gmock/
Dgmock-generated-function-mockers.h71 R Invoke() { in Invoke() function
92 R Invoke(A1 a1) { in Invoke() function
113 R Invoke(A1 a1, A2 a2) { in Invoke() function
135 R Invoke(A1 a1, A2 a2, A3 a3) { in Invoke() function
157 R Invoke(A1 a1, A2 a2, A3 a3, A4 a4) { in Invoke() function
181 R Invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5) { in Invoke() function
206 R Invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6) { in Invoke() function
231 R Invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7) { in Invoke() function
256 R Invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8) { in Invoke() function
282 R Invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9) { in Invoke() function
[all …]

123456789