/system/tpm/tpm_manager/client/ |
H A D | tpm_nvram_dbus_proxy.cc | 51 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 D | tpm_nvram_binder_proxy.h | 42 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 D | tpm_ownership_dbus_proxy.cc | 51 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 D | tpm_nvram_dbus_proxy.h | 49 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 D | tpm_ownership_binder_proxy.h | 43 const GetTpmStatusCallback& callback) override; 45 const TakeOwnershipCallback& callback) override; 48 const RemoveOwnerDependencyCallback& callback) override;
|
H A D | tpm_ownership_dbus_proxy.h | 49 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 D | mock_tpm_nvram_interface.h | 33 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 D | mock_tpm_ownership_interface.h | 33 const GetTpmStatusCallback& callback)); 36 const TakeOwnershipCallback& callback)); 39 const RemoveOwnerDependencyCallback& callback));
|
H A D | tpm_ownership_interface.h | 20 #include <base/callback.h> 37 const GetTpmStatusCallback& callback) = 0; 42 const TakeOwnershipCallback& callback) = 0; 50 const RemoveOwnerDependencyCallback& callback) = 0;
|
H A D | tpm_nvram_interface.h | 20 #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 D | IOEventLoop.h | 41 // 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 D | IOEventLoop.cpp | 27 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 D | IBluetooth.txt | 46 * 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 D | dbus_proxy.cc | 53 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 D | dbus_proxy.h | 44 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 D | attestation_interface.h | 46 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 D | IBluetoothGattClient.aidl | 23 boolean RegisterClient(in IBluetoothGattClientCallback callback);
|
/system/connectivity/wificond/ |
H A D | looper_backed_event_loop.cpp | 27 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 D | looper_backed_event_loop.h | 34 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 D | proxy_resolver_unittest.cc | 47 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 D | proxy_resolver.cc | 44 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 D | uevent_listener.h | 46 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 D | IUpdateEngine.aidl | 29 boolean bind(IUpdateEngineCallback callback); 31 boolean unbind(IUpdateEngineCallback callback);
|
/system/bt/binder/android/bluetooth/ |
H A D | IBluetoothManager.aidl | 32 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 D | IApInterface.aidl | 31 // @param callback Object to add a set of event callbacks. 33 boolean startHostapd(IApInterfaceEventCallback callback);
|