Home
last modified time | relevance | path

Searched refs:GetCallback (Results 1 – 25 of 37) sorted by relevance

12

/external/cronet/base/test/
Dtest_future_unittest.cc70 PostDelayedTask(base::BindOnce(future.GetCallback(), expected_value), in TEST_F()
81 PostDelayedTask(base::BindOnce(future.GetCallback(), kAnyValue), in TEST_F()
106 PostDelayedTask(base::BindOnce(future.GetCallback(), expected_value), in TEST_F()
126 RunLater(base::BindOnce(future.GetCallback(), MoveOnlyValue(expected_data))); in TEST_F()
176 future.GetCallback<const int&>(); in TEST_F()
189 callback = future.GetCallback(); in TEST_F()
201 RunLater(base::BindOnce(future.GetCallback(), expected_int_value, in TEST_F()
216 RunLater(base::BindOnce(future.GetCallback(), expected_int_value, in TEST_F()
231 RunLater(base::BindOnce(future.GetCallback(), expected_int_value, in TEST_F()
247 future.GetCallback<int, const std::string&>(); in TEST_F()
[all …]
Dtest_future.h187 base::OnceCallback<void(CallbackArgumentsTypes...)> GetCallback() { in GetCallback() function
198 base::OnceCallback<void(Types...)> GetCallback() { in GetCallback() function
199 return GetCallback<Types...>(); in GetCallback()
303 base::OnceCallback<void()> GetCallback() { in GetCallback() function
304 return base::BindOnce(implementation_.GetCallback(), true); in GetCallback()
Drepeating_test_future_unittest.cc168 RunLater(BindOnce(future.GetCallback(), "value")); in TEST_F()
176 RunLater(BindLambdaForTesting([callback = future.GetCallback()]() { in TEST_F()
191 future.GetCallback<const std::string&>(); in TEST_F()
217 RunLater(BindOnce(future.GetCallback(), expected_int_value, in TEST_F()
233 future.GetCallback<const int&, std::string>(); in TEST_F()
246 base::OnceCallback<void(const std::string&)> callback = future.GetCallback(); in TEST_F()
260 future.GetCallback(); in TEST_F()
Drepeating_test_future.h133 base::RepeatingCallback<void(CallbackArgumentsTypes...)> GetCallback() { in GetCallback() function
144 base::RepeatingCallback<void(Types...)> GetCallback() { in GetCallback() function
145 return GetCallback<Types...>(); in GetCallback()
/external/cronet/net/dns/
Ddns_config_service_linux_unittest.cc150 DnsConfigService::CallbackType GetCallback() { in GetCallback() function in net::__anonf21f73060111::CallbackHelper
333 service_.ReadConfig(callback_helper.GetCallback()); in TEST_F()
367 service_.ReadConfig(callback_helper.GetCallback()); in TEST_F()
395 service_.ReadConfig(callback_helper.GetCallback()); in TEST_F()
436 service_.ReadConfig(callback_helper.GetCallback()); in TEST_F()
454 service_.ReadConfig(callback_helper.GetCallback()); in TEST_F()
472 service_.ReadConfig(callback_helper.GetCallback()); in TEST_F()
492 service_.ReadConfig(callback_helper.GetCallback()); in TEST_F()
521 service_.ReadConfig(callback_helper.GetCallback()); in TEST_F()
545 service_.ReadConfig(callback_helper.GetCallback()); in TEST_F()
[all …]
/external/angle/third_party/abseil-cpp/absl/cleanup/internal/
Dcleanup.h61 ::new (GetCallbackBuffer()) Callback(std::move(other.GetCallback())); in Storage()
75 Callback& GetCallback() { in GetCallback() function
83 GetCallback().~Callback(); in DestroyCallback()
87 std::move(GetCallback())(); in InvokeCallback()
/external/cronet/third_party/abseil-cpp/absl/cleanup/internal/
Dcleanup.h61 ::new (GetCallbackBuffer()) Callback(std::move(other.GetCallback())); in Storage()
75 Callback& GetCallback() { in GetCallback() function
83 GetCallback().~Callback(); in DestroyCallback()
87 std::move(GetCallback())(); in InvokeCallback()
/external/tensorflow/third_party/absl/abseil-cpp/absl/cleanup/internal/
Dcleanup.h61 ::new (GetCallbackBuffer()) Callback(std::move(other.GetCallback())); in Storage()
75 Callback& GetCallback() { in GetCallback() function
83 GetCallback().~Callback(); in DestroyCallback()
87 std::move(GetCallback())(); in InvokeCallback()
/external/abseil-cpp/absl/cleanup/internal/
Dcleanup.h61 ::new (GetCallbackBuffer()) Callback(std::move(other.GetCallback())); in Storage()
75 Callback& GetCallback() { in GetCallback() function
83 GetCallback().~Callback(); in DestroyCallback()
87 std::move(GetCallback())(); in InvokeCallback()
/external/webrtc/third_party/abseil-cpp/absl/cleanup/internal/
Dcleanup.h61 ::new (GetCallbackBuffer()) Callback(std::move(other.GetCallback())); in Storage()
75 Callback& GetCallback() { in GetCallback() function
83 GetCallback().~Callback(); in DestroyCallback()
87 std::move(GetCallback())(); in InvokeCallback()
/external/cronet/components/prefs/
Dpref_service_unittest.cc45 registrar.Add(pref_name, obs.GetCallback()); in TEST()
101 registrar.Add(pref_name, obs.GetCallback()); in TEST()
117 registrar_two.Add(pref_name, obs2.GetCallback()); in TEST()
416 registrar.Add(kName, observer_.GetCallback()); in TEST_F()
437 registrar.Add(kName, observer_.GetCallback()); in TEST_F()
464 registrar.Add(kName, observer_.GetCallback()); in TEST_F()
Dscoped_user_pref_update_unittest.cc27 registrar_.Add(kDictPref, dict_observer_.GetCallback()); in SetUp()
28 registrar_.Add(kListPref, list_observer_.GetCallback()); in SetUp()
Dmock_pref_change_callback.cc15 PrefChangeRegistrar::NamedChangeCallback MockPrefChangeCallback::GetCallback() { in GetCallback() function in MockPrefChangeCallback
Dmock_pref_change_callback.h37 PrefChangeRegistrar::NamedChangeCallback GetCallback();
/external/libchrome/dbus/
Dproperty.h253 typedef base::Callback<void(bool success)> GetCallback; typedef
260 virtual void Get(PropertyBase* property, GetCallback callback);
261 virtual void OnGet(PropertyBase* property, GetCallback callback,
389 virtual void Get(dbus::PropertySet::GetCallback callback) { in Get()
Dproperty.cc101 void PropertySet::Get(PropertyBase* property, GetCallback callback) { in Get()
116 void PropertySet::OnGet(PropertyBase* property, GetCallback callback, in OnGet()
/external/tensorflow/tensorflow/core/debug/
Ddebug_callback_registry.h48 EventCallback* GetCallback(const string& key);
Ddebug_callback_registry.cc37 DebugCallbackRegistry::EventCallback* DebugCallbackRegistry::GetCallback( in GetCallback() function in tensorflow::DebugCallbackRegistry
/external/libbrillo/brillo/dbus/
Ddbus_property.h32 void Get(::dbus::PropertySet::GetCallback callback) { in Get()
/external/libchrome/components/policy/core/common/
Dpolicy_test_utils.h32 GetChromePolicyDetailsCallback GetCallback() const;
Dpolicy_statistics_collector_unittest.cc102 policy_details_.GetCallback(), in SetUp()
Dpolicy_test_utils.cc30 GetChromePolicyDetailsCallback PolicyDetailsMap::GetCallback() const { in GetCallback() function in policy::PolicyDetailsMap
/external/libchrome/base/trace_event/
Dtrace_buffer.h94 OutputCallback GetCallback();
/external/cronet/base/trace_event/
Dtrace_buffer.h95 OutputCallback GetCallback();
/external/cronet/net/cert/
Dnss_cert_database_unittest.cc159 cert_db_->ListCerts(future.GetCallback()); in TEST_F()
188 cert_db_->ListCertsInfo(future.GetCallback(), in TEST_F()
194 cert_db_->ListCertsInfo(future.GetCallback(), in TEST_F()
244 cert_db_->ListCertsInfo(future.GetCallback(), in TEST_F()
250 cert_db_->ListCertsInfo(future.GetCallback(), in TEST_F()

12