Searched refs:callback (Results 1 - 25 of 313) sorted by relevance

1234567891011>>

/system/tpm/tpm_manager/client/
H A Dtpm_nvram_dbus_proxy.cc51 const DefineSpaceCallback& callback) {
52 CallMethod<DefineSpaceReply>(tpm_manager::kDefineSpace, request, callback);
56 const DestroySpaceCallback& callback) {
57 CallMethod<DestroySpaceReply>(tpm_manager::kDestroySpace, request, callback);
61 const WriteSpaceCallback& callback) {
62 CallMethod<WriteSpaceReply>(tpm_manager::kWriteSpace, request, callback);
66 const ReadSpaceCallback& callback) {
67 CallMethod<ReadSpaceReply>(tpm_manager::kReadSpace, request, callback);
71 const LockSpaceCallback& callback) {
72 CallMethod<LockSpaceReply>(tpm_manager::kLockSpace, request, callback);
50 DefineSpace(const DefineSpaceRequest& request, const DefineSpaceCallback& callback) argument
55 DestroySpace(const DestroySpaceRequest& request, const DestroySpaceCallback& callback) argument
60 WriteSpace(const WriteSpaceRequest& request, const WriteSpaceCallback& callback) argument
65 ReadSpace(const ReadSpaceRequest& request, const ReadSpaceCallback& callback) argument
70 LockSpace(const LockSpaceRequest& request, const LockSpaceCallback& callback) argument
75 ListSpaces(const ListSpacesRequest& request, const ListSpacesCallback& callback) argument
80 GetSpaceInfo(const GetSpaceInfoRequest& request, const GetSpaceInfoCallback& callback) argument
88 CallMethod(const std::string& method_name, const RequestProtobufType& request, const CallbackType& callback) argument
[all...]
H A Dtpm_nvram_binder_proxy.h42 const DefineSpaceCallback& callback) override;
44 const DestroySpaceCallback& callback) override;
46 const WriteSpaceCallback& callback) override;
48 const ReadSpaceCallback& callback) override;
50 const LockSpaceCallback& callback) override;
52 const ListSpacesCallback& callback) override;
54 const GetSpaceInfoCallback& callback) override;
H A Dtpm_ownership_dbus_proxy.cc51 const GetTpmStatusCallback& callback) {
52 CallMethod<GetTpmStatusReply>(tpm_manager::kGetTpmStatus, request, callback);
57 const TakeOwnershipCallback& callback) {
59 callback);
64 const RemoveOwnerDependencyCallback& callback) {
66 request, callback);
74 const CallbackType& callback) {
75 auto on_error = [callback](brillo::Error* error) {
78 callback.Run(reply);
82 method_name, callback, bas
50 GetTpmStatus(const GetTpmStatusRequest& request, const GetTpmStatusCallback& callback) argument
55 TakeOwnership( const TakeOwnershipRequest& request, const TakeOwnershipCallback& callback) argument
62 RemoveOwnerDependency( const RemoveOwnerDependencyRequest& request, const RemoveOwnerDependencyCallback& callback) argument
72 CallMethod(const std::string& method_name, const RequestProtobufType& request, const CallbackType& callback) argument
[all...]
H A Dtpm_nvram_dbus_proxy.h49 const DefineSpaceCallback& callback) override;
51 const DestroySpaceCallback& callback) override;
53 const WriteSpaceCallback& callback) override;
55 const ReadSpaceCallback& callback) override;
57 const LockSpaceCallback& callback) override;
59 const ListSpacesCallback& callback) override;
61 const GetSpaceInfoCallback& callback) override;
74 const CallbackType& callback);
H A Dtpm_ownership_binder_proxy.h43 const GetTpmStatusCallback& callback) override;
45 const TakeOwnershipCallback& callback) override;
48 const RemoveOwnerDependencyCallback& callback) override;
H A Dtpm_ownership_dbus_proxy.h49 const GetTpmStatusCallback& callback) override;
51 const TakeOwnershipCallback& callback) override;
54 const RemoveOwnerDependencyCallback& callback) override;
67 const CallbackType& callback);
/system/tpm/tpm_manager/common/
H A Dmock_tpm_nvram_interface.h33 const DefineSpaceCallback& callback));
36 const DestroySpaceCallback& callback));
39 const WriteSpaceCallback& callback));
42 const ReadSpaceCallback& callback));
45 const LockSpaceCallback& callback));
48 const ListSpacesCallback& callback));
51 const GetSpaceInfoCallback& callback));
H A Dmock_tpm_ownership_interface.h33 const GetTpmStatusCallback& callback));
36 const TakeOwnershipCallback& callback));
39 const RemoveOwnerDependencyCallback& callback));
H A Dtpm_ownership_interface.h20 #include <base/callback.h>
37 const GetTpmStatusCallback& callback) = 0;
42 const TakeOwnershipCallback& callback) = 0;
50 const RemoveOwnerDependencyCallback& callback) = 0;
H A Dtpm_nvram_interface.h20 #include <base/callback.h>
37 const DefineSpaceCallback& callback) = 0;
42 const DestroySpaceCallback& callback) = 0;
47 const WriteSpaceCallback& callback) = 0;
52 const ReadSpaceCallback& callback) = 0;
57 const LockSpaceCallback& callback) = 0;
62 const ListSpacesCallback& callback) = 0;
67 const GetSpaceInfoCallback& callback) = 0;
/system/extras/simpleperf/
H A DIOEventLoop.h41 // Register a read Event, so [callback] is called when [fd] can be read
44 IOEventRef AddReadEvent(int fd, const std::function<bool()>& callback);
46 // Register a write Event, so [callback] is called when [fd] can be written
48 IOEventRef AddWriteEvent(int fd, const std::function<bool()>& callback);
50 // Register a signal Event, so [callback] is called each time signal [sig]
52 bool AddSignalEvent(int sig, const std::function<bool()>& callback);
56 const std::function<bool()>& callback);
58 // Register a periodic Event, so [callback] is called periodically every
61 const std::function<bool()>& callback);
64 // in a callback functio
[all...]
H A DIOEventLoop.cpp27 std::function<bool()> callback; member in struct:IOEvent
30 IOEvent(IOEventLoop* loop, const std::function<bool()>& callback) argument
31 : loop(loop), e(nullptr), callback(callback), enabled(false) {}
77 if (!e->callback()) {
93 const std::function<bool()>& callback) {
97 return AddEvent(fd, EV_READ | EV_PERSIST, nullptr, callback);
101 const std::function<bool()>& callback) {
105 return AddEvent(fd, EV_WRITE | EV_PERSIST, nullptr, callback);
109 const std::function<bool()>& callback) {
92 AddReadEvent(int fd, const std::function<bool()>& callback) argument
100 AddWriteEvent(int fd, const std::function<bool()>& callback) argument
108 AddSignalEvent(int sig, const std::function<bool()>& callback) argument
113 AddSignalEvents(std::vector<int> sigs, const std::function<bool()>& callback) argument
123 AddPeriodicEvent(timeval duration, const std::function<bool()>& callback) argument
128 AddEvent(int fd_or_sig, short events, timeval* timeout, const std::function<bool()>& callback) argument
[all...]
/system/bt/service/doc/
H A DIBluetooth.txt46 * the IBluetoothCallback.onBluetoothStateChange callback.
57 * the IBluetoothCallback.onBluetoothStateChange callback.
86 * Registers a callback receiver which can be used to listen to state updates
90 void registerCallback(in IBluetoothCallback callback);
93 * Unregisters a previously registered callback.
95 void unregisterCallback(in IBluetoothCallback callback);
/system/tpm/attestation/client/
H A Ddbus_proxy.cc53 const CreateGoogleAttestedKeyCallback& callback) {
54 auto on_error = [callback](brillo::Error* error) {
57 callback.Run(reply);
61 attestation::kCreateGoogleAttestedKey, callback, base::Bind(on_error),
66 const GetKeyInfoCallback& callback) {
67 auto on_error = [callback](brillo::Error* error) {
70 callback.Run(reply);
74 attestation::kGetKeyInfo, callback, base::Bind(on_error), request);
78 const GetEndorsementInfoCallback& callback) {
79 auto on_error = [callback](brill
51 CreateGoogleAttestedKey( const CreateGoogleAttestedKeyRequest& request, const CreateGoogleAttestedKeyCallback& callback) argument
65 GetKeyInfo(const GetKeyInfoRequest& request, const GetKeyInfoCallback& callback) argument
77 GetEndorsementInfo(const GetEndorsementInfoRequest& request, const GetEndorsementInfoCallback& callback) argument
90 GetAttestationKeyInfo( const GetAttestationKeyInfoRequest& request, const GetAttestationKeyInfoCallback& callback) argument
104 ActivateAttestationKey( const ActivateAttestationKeyRequest& request, const ActivateAttestationKeyCallback& callback) argument
118 CreateCertifiableKey( const CreateCertifiableKeyRequest& request, const CreateCertifiableKeyCallback& callback) argument
132 Decrypt(const DecryptRequest& request, const DecryptCallback& callback) argument
144 Sign(const SignRequest& request, const SignCallback& callback) argument
155 RegisterKeyWithChapsToken( const RegisterKeyWithChapsTokenRequest& request, const RegisterKeyWithChapsTokenCallback& callback) argument
[all...]
H A Ddbus_proxy.h44 const CreateGoogleAttestedKeyCallback& callback) override;
46 const GetKeyInfoCallback& callback) override;
48 const GetEndorsementInfoCallback& callback) override;
51 const GetAttestationKeyInfoCallback& callback) override;
54 const ActivateAttestationKeyCallback& callback) override;
57 const CreateCertifiableKeyCallback& callback) override;
59 const DecryptCallback& callback) override;
60 void Sign(const SignRequest& request, const SignCallback& callback) override;
63 const RegisterKeyWithChapsTokenCallback& callback) override;
/system/tpm/attestation/common/
H A Dattestation_interface.h46 const CreateGoogleAttestedKeyCallback& callback) = 0;
51 const GetKeyInfoCallback& callback) = 0;
59 const GetEndorsementInfoCallback& callback) = 0;
67 const GetAttestationKeyInfoCallback& callback) = 0;
75 const ActivateAttestationKeyCallback& callback) = 0;
83 const CreateCertifiableKeyCallback& callback) = 0;
88 const DecryptCallback& callback) = 0;
93 const SignCallback& callback) = 0;
101 const RegisterKeyWithChapsTokenCallback& callback) = 0;
/system/bt/service/common/android/bluetooth/
H A DIBluetoothGattClient.aidl23 boolean RegisterClient(in IBluetoothGattClientCallback callback);
/system/connectivity/wificond/
H A Dlooper_backed_event_loop.cpp27 explicit EventLoopCallback(const std::function<void()>& callback) argument
28 : callback_(callback) {
45 explicit WatchFdCallback(const std::function<void(int)>& callback) argument
46 : callback_(callback) {
54 // callback is called.
79 void LooperBackedEventLoop::PostTask(const std::function<void()>& callback) { argument
81 new EventLoopCallback(callback);
86 const std::function<void()>& callback,
88 sp<android::MessageHandler> looper_callback = new EventLoopCallback(callback);
95 const std::function<void(int)>& callback) {
85 PostDelayedTask( const std::function<void()>& callback, int64_t delay_ms) argument
92 WatchFileDescriptor( int fd, ReadyMode mode, const std::function<void(int)>& callback) argument
[all...]
H A Dlooper_backed_event_loop.h34 void PostTask(const std::function<void()>& callback) override;
37 void PostDelayedTask(const std::function<void()>& callback,
43 const std::function<void(int)>& callback) override;
/system/update_engine/
H A Dproxy_resolver_unittest.cc47 auto callback = base::Bind( local
58 resolver_.GetProxiesForUrl("http://foo", callback));
59 // Check the callback is not called until the message loop runs.
68 auto callback = base::Bind( local
72 ProxyRequestId request = resolver_.GetProxiesForUrl("http://foo", callback);
81 auto callback = base::Bind( local
84 resolver_.GetProxiesForUrl("http://foo", callback);
85 resolver_.GetProxiesForUrl("http://bar", callback);
H A Dproxy_resolver.cc44 const string& url, const ProxiesResolvedFn& callback) {
49 callback));
57 void DirectProxyResolver::ReturnCallback(const ProxiesResolvedFn& callback) { argument
63 callback.Run(proxies);
43 GetProxiesForUrl( const string& url, const ProxiesResolvedFn& callback) argument
/system/core/init/
H A Duevent_listener.h46 void RegenerateUevents(const ListenerCallback& callback) const;
48 const ListenerCallback& callback) const;
49 void Poll(const ListenerCallback& callback,
54 ListenerAction RegenerateUeventsForDir(DIR* d, const ListenerCallback& callback) const;
/system/update_engine/binder_bindings/android/os/
H A DIUpdateEngine.aidl29 boolean bind(IUpdateEngineCallback callback);
31 boolean unbind(IUpdateEngineCallback callback);
/system/bt/binder/android/bluetooth/
H A DIBluetoothManager.aidl32 IBluetooth registerAdapter(in IBluetoothManagerCallback callback);
33 void unregisterAdapter(in IBluetoothManagerCallback callback);
34 void registerStateChangeCallback(in IBluetoothStateChangeCallback callback);
35 void unregisterStateChangeCallback(in IBluetoothStateChangeCallback callback);
/system/connectivity/wificond/aidl/android/net/wifi/
H A DIApInterface.aidl31 // @param callback Object to add a set of event callbacks.
33 boolean startHostapd(IApInterfaceEventCallback callback);

Completed in 262 milliseconds

1234567891011>>