Searched defs:callback (Results 1 - 25 of 189) sorted by relevance

12345678

/system/firewalld/
H A Dfirewall_service.cc28 void FirewallService::RegisterAsync(const CompletionAction& callback) { argument
42 dbus_object_.RegisterAsync(callback);
/system/webservd/libwebserv/
H A Drequest_handler_callback.cc20 const base::Callback<HandlerSignature>& callback) : callback_(callback) {
19 RequestHandlerCallback( const base::Callback<HandlerSignature>& callback) argument
/system/bt/stack/include/
H A Dbtu.h37 void (*callback)(BT_HDR *); member in struct:__anon1130
41 void (*callback)(BT_HDR *); member in struct:__anon1131
47 void (*callback)(BT_HDR *); member in struct:__anon1132
/system/connectivity/shill/net/
H A Drtnl_listener.cc26 const Callback<void(const RTNLMessage&)>& callback)
27 : RTNLListener{listen_flags, callback, RTNLHandler::GetInstance()} {}
30 const Callback<void(const RTNLMessage&)>& callback,
33 callback_(callback),
25 RTNLListener(int listen_flags, const Callback<void(const RTNLMessage&)>& callback) argument
29 RTNLListener(int listen_flags, const Callback<void(const RTNLMessage&)>& callback, RTNLHandler* rtnl_handler) argument
/system/connectivity/shill/
H A Dresult_aggregator.cc24 ResultAggregator::ResultAggregator(const ResultCallback& callback) argument
25 : ResultAggregator(callback, nullptr, -1) {}
27 ResultAggregator::ResultAggregator(const ResultCallback& callback, argument
31 callback_(callback),
36 CHECK(!callback.is_null());
38 dispatcher->PostDelayedTask(timeout_callback_.callback(),
H A Dconnection_tester.cc51 const Callback<void()>& callback)
55 tester_callback_(callback),
48 ConnectionTester( ConnectionRefPtr connection, EventDispatcher* dispatcher, const Callback<void()>& callback) argument
H A Ddns_client_factory.cc44 const DNSClient::ClientCallback& callback) {
50 callback);
38 CreateDNSClient( IPAddress::Family family, const string& interface_name, const vector<string>& dns_servers, int timeout_ms, EventDispatcher* dispatcher, const DNSClient::ClientCallback& callback) argument
H A Deap_listener.h22 #include <base/callback.h>
33 // callback when a request frame arrives.
51 const EapRequestReceivedCallback& callback) {
52 request_received_callback_ = callback;
64 // Retrieves an EAP packet from |socket_|. This is the callback method
50 set_request_received_callback( const EapRequestReceivedCallback& callback) argument
H A Dproperty_observer.h22 #include <base/callback.h>
35 // calls the supplied callback and updates the saved value.
42 Callback callback)
43 : accessor_(accessor), callback_(callback) {
41 PropertyObserver(std::shared_ptr<AccessorInterface<T>> accessor, Callback callback) argument
/system/tpm/attestation/client/
H A Ddbus_proxy_test.cc76 auto callback = [&callback_count](const CreateGoogleAttestedKeyReply& reply) { local
89 proxy_.CreateGoogleAttestedKey(request, base::Bind(callback));
122 auto callback = [&callback_count](const GetKeyInfoReply& reply) { local
135 proxy_.GetKeyInfo(request, base::Bind(callback));
163 auto callback = [&callback_count](const GetEndorsementInfoReply& reply) { local
171 proxy_.GetEndorsementInfo(request, base::Bind(callback));
202 auto callback = [&callback_count](const GetAttestationKeyInfoReply& reply) { local
213 proxy_.GetAttestationKeyInfo(request, base::Bind(callback));
245 auto callback = [&callback_count](const ActivateAttestationKeyReply& reply) { local
255 proxy_.ActivateAttestationKey(request, base::Bind(callback));
287 auto callback = [&callback_count](const CreateCertifiableKeyReply& reply) { local
328 auto callback = [&callback_count](const DecryptReply& reply) { local
366 auto callback = [&callback_count](const SignReply& reply) { local
402 auto callback = [&callback_count]( local
[all...]
/system/tpm/tpm_manager/client/
H A Dtpm_ownership_dbus_proxy_test.cc74 auto callback = [&callback_count](const GetTpmStatusReply& reply) { local
85 proxy_.GetTpmStatus(request, base::Bind(callback));
110 auto callback = [&callback_count](const TakeOwnershipReply& reply) { local
115 proxy_.TakeOwnership(request, base::Bind(callback));
143 auto callback = [&callback_count](const RemoveOwnerDependencyReply& reply) { local
149 proxy_.RemoveOwnerDependency(request, base::Bind(callback));
H A Dtpm_nvram_dbus_proxy_test.cc73 auto callback = [&callback_count](const DefineNvramReply& reply) { local
80 proxy_.DefineNvram(request, base::Bind(callback));
107 auto callback = [&callback_count](const DestroyNvramReply& reply) { local
113 proxy_.DestroyNvram(request, base::Bind(callback));
142 auto callback = [&callback_count](const WriteNvramReply& reply) { local
149 proxy_.WriteNvram(request, base::Bind(callback));
178 auto callback = [&callback_count, nvram_data](const ReadNvramReply& reply) { local
186 proxy_.ReadNvram(request, base::Bind(callback));
215 auto callback = [&callback_count, nvram_defined]( local
224 proxy_.IsNvramDefined(request, base::Bind(callback));
253 auto callback = [&callback_count, nvram_locked]( local
291 auto callback = [&callback_count, nvram_size]( local
[all...]
H A Dtpm_ownership_dbus_proxy.cc52 const GetTpmStatusCallback& callback) {
53 CallMethod<GetTpmStatusReply>(tpm_manager::kGetTpmStatus, request, callback);
58 const TakeOwnershipCallback& callback) {
60 tpm_manager::kTakeOwnership, request, callback);
65 const RemoveOwnerDependencyCallback& callback) {
67 tpm_manager::kRemoveOwnerDependency, request, callback);
75 const CallbackType& callback) {
76 auto on_error = [callback](brillo::Error* error) {
79 callback.Run(reply);
86 callback,
50 GetTpmStatus( const GetTpmStatusRequest& request, const GetTpmStatusCallback& callback) argument
56 TakeOwnership( const TakeOwnershipRequest& request, const TakeOwnershipCallback& callback) argument
63 RemoveOwnerDependency( const RemoveOwnerDependencyRequest& request, const RemoveOwnerDependencyCallback& callback) argument
73 CallMethod(const std::string& method_name, const RequestProtobufType& request, const CallbackType& callback) argument
[all...]
/system/update_engine/
H A Dproxy_resolver.cc43 ProxiesResolvedFn callback,
50 callback,
55 void DirectProxyResolver::ReturnCallback(ProxiesResolvedFn callback, argument
62 (*callback)(proxies, data);
42 GetProxiesForUrl(const string& url, ProxiesResolvedFn callback, void* data) argument
/system/bt/service/common/bluetooth/binder/
H A DIBluetoothGattClient.cpp46 sp<IBinder> callback = data.readStrongBinder(); local
48 interface_cast<IBluetoothGattClientCallback>(callback));
74 const android::sp<IBluetoothGattClientCallback>& callback) {
78 data.writeStrongBinder(IInterface::asBinder(callback.get()));
73 RegisterClient( const android::sp<IBluetoothGattClientCallback>& callback) argument
/system/bt/service/example/heart_rate/
H A Dserver_main.cpp126 auto callback = [&](bool success) { local
141 if (!hr->Run(callback)) {
/system/core/libbinderwrapper/
H A Dreal_binder_wrapper.cc32 explicit DeathRecipient(const base::Closure& callback) argument
33 : callback_(callback) {}
88 const base::Closure& callback) {
89 sp<DeathRecipient> recipient(new DeathRecipient(callback));
86 RegisterForDeathNotifications( const sp<IBinder>& binder, const base::Closure& callback) argument
/system/core/libutils/
H A Dmisc.cpp40 sysprop_change_callback callback; member in struct:android::sysprop_change_callback_info
56 info.callback = cb;
84 listeners[i].callback();
/system/tpm/tpm_manager/server/
H A Ddbus_service.cc39 void DBusService::Register(const CompletionAction& callback) { argument
126 dbus_object_.RegisterAsync(callback);
138 // callback.
141 // A callback that sends off the reply protobuf.
142 auto callback = [](const SharedResponsePointer& response,
148 base::Bind(callback, SharedResponsePointer(std::move(response))));
160 // copy the callback.
163 // A callback that sends off the reply protobuf.
164 auto callback = [](const SharedResponsePointer& response,
170 base::Bind(callback, SharedResponsePointe
[all...]
/system/tpm/trunks/
H A Dtpm_handle.cc22 #include <base/callback.h>
61 const ResponseCallback& callback) {
62 callback.Run(SendCommandAndWait(command));
60 SendCommand(const std::string& command, const ResponseCallback& callback) argument
H A Dtpm_simulator_handle.cc31 #include <base/callback.h>
59 const ResponseCallback& callback) {
60 callback.Run(SendCommandAndWait(command));
58 SendCommand(const std::string& command, const ResponseCallback& callback) argument
H A Dtrunks_binder_proxy.cc20 #include <base/callback.h>
36 ResponseObserver(const trunks::CommandTransceiver::ResponseCallback& callback) argument
37 : callback_(callback) {}
74 const ResponseCallback& callback) {
82 callback.Run(CreateErrorResponse(TRUNKS_RC_IPC_ERROR));
85 android::sp<ResponseObserver> observer(new ResponseObserver(callback));
90 callback.Run(CreateErrorResponse(TRUNKS_RC_IPC_ERROR));
73 SendCommand(const std::string& command, const ResponseCallback& callback) argument
/system/update_engine/common/
H A Dboot_control_stub.cc57 base::Callback<void(bool)> callback) {
56 MarkBootSuccessfulAsync( base::Callback<void(bool)> callback) argument
H A Dhttp_fetcher.cc50 const Closure& callback) {
52 callback_.reset(new Closure(callback));
76 Closure* callback = callback_.release(); local
78 callback->Run();
79 delete callback;
49 ResolveProxiesForUrl(const string& url, const Closure& callback) argument
H A Dsubprocess.h27 #include <base/callback.h>
38 // be saved and used to cancel the callback request and kill your process. If
66 // Launches a process in the background and calls the passed |callback| when
72 pid_t Exec(const std::vector<std::string>& cmd, const ExecCallback& callback);
76 const ExecCallback& callback);
78 // Kills the running process with SIGTERM and ignores the callback.
82 // file descriptor is available until the callback for the child |pid|
111 explicit SubprocessRecord(const ExecCallback& callback) argument
112 : callback(callback) {}
115 ExecCallback callback; member in struct:chromeos_update_engine::Subprocess::SubprocessRecord
[all...]

Completed in 360 milliseconds

12345678