Home
last modified time | relevance | path

Searched defs:callback (Results 1 – 25 of 215) sorted by relevance

123456789

/system/bt/service/ipc/binder/
Dremote_callback_list.h114 bool RemoteCallbackList<T>::Register(const sp<T>& callback) { in Register()
138 bool RemoteCallbackList<T>::Unregister(const sp<T>& callback) { in Unregister()
152 void RemoteCallbackList<T>::ForEach(const std::function<void(T*)>& callback) { in ForEach()
181 const sp<T>& callback, RemoteCallbackList<T>* owner) in CallbackDeathRecipient()
Dbluetooth_binder_server.cc166 Status BluetoothBinderServer::RegisterCallback( in RegisterCallback()
177 Status BluetoothBinderServer::UnregisterCallback( in UnregisterCallback()
391 callbacks_.ForEach([prev_state, new_state](IBluetoothCallback* callback) { in OnAdapterStateChanged()
401 callbacks_.ForEach([&addr_s16, connected](IBluetoothCallback* callback) { in OnDeviceConnectionStateChanged()
409 callbacks_.ForEach([scan_enabled](IBluetoothCallback* callback) { in OnScanEnableChanged()
428 pass_key](IBluetoothCallback* callback) { in OnSspRequest()
441 callbacks_.ForEach([status, &addr_s16, state](IBluetoothCallback* callback) { in OnBondStateChanged()
456 callbacks_.ForEach([status, &devices_s16](IBluetoothCallback* callback) { in OnGetBondedDevices()
471 [status, &addr_s16, &binder_props](IBluetoothCallback* callback) { in OnGetRemoteDeviceProperties()
483 callbacks_.ForEach([&binder_props](IBluetoothCallback* callback) { in OnDeviceFound()
Dbluetooth_le_advertiser_binder_server.cc43 const android::sp<IBluetoothLeAdvertiserCallback>& callback, in RegisterAdvertiser()
84 auto callback = [=](bluetooth::BLEStatus status) { in StartMultiAdvertising() local
129 auto callback = [=](bluetooth::BLEStatus status) { in StopMultiAdvertising() local
172 bluetooth::BLEStatus status, android::sp<IInterface> callback, in OnRegisterInstanceImpl()
Dbluetooth_gatt_client_binder_server.cc39 const android::sp<IBluetoothGattClientCallback>& callback, in RegisterClient()
76 bluetooth::BLEStatus status, android::sp<IInterface> callback, in OnRegisterInstanceImpl()
/system/extras/simpleperf/
DIOEventLoop.cpp28 std::function<bool()> callback; member
113 const std::function<bool()>& callback) { in AddReadEvent()
121 const std::function<bool()>& callback) { in AddWriteEvent()
129 const std::function<bool()>& callback) { in AddSignalEvent()
134 const std::function<bool()>& callback) { in AddSignalEvents()
143 IOEventRef IOEventLoop::AddPeriodicEvent(timeval duration, const std::function<bool()>& callback) { in AddPeriodicEvent()
148 const std::function<bool()>& callback) { in AddEvent()
/system/connectivity/wificond/
Dlooper_backed_event_loop.cpp27 explicit EventLoopCallback(const std::function<void()>& callback) in EventLoopCallback()
45 explicit WatchFdCallback(const std::function<void(int)>& callback) in WatchFdCallback()
79 void LooperBackedEventLoop::PostTask(const std::function<void()>& callback) { in PostTask()
86 const std::function<void()>& callback, in PostDelayedTask()
95 const std::function<void(int)>& callback) { in WatchFileDescriptor()
/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/
DVtsHalWifiKeystoreV1_0TargetTest.cpp227 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_P() local
242 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_P() local
261 auto callback = [&callbackInvoked](IKeystore::KeystoreStatusCode /*status*/, in TEST_P() local
286 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_P() local
309 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_P() local
334 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_P() local
358 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_P() local
373 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_P() local
388 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_P() local
407 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_P() local
[all …]
/system/chre/platform/slpi/
Ddebug_dump.cc38 debugDumpCbFunc *callback; member
48 debugDumpReadyCbFunc *callback; member
65 bool registerDebugDumpCallback(const char *name, debugDumpCbFunc *callback, in registerDebugDumpCallback()
77 void unregisterDebugDumpCallback(debugDumpCbFunc *callback) { in unregisterDebugDumpCallback()
/system/core/libappfuse/
DFuseAppLoop.cc32 bool HandleLookUp(FuseAppLoop* loop, FuseBuffer* buffer, FuseAppLoopCallback* callback) { in HandleLookUp()
57 bool HandleGetAttr(FuseAppLoop* loop, FuseBuffer* buffer, FuseAppLoopCallback* callback) { in HandleGetAttr()
67 bool HandleRead(FuseAppLoop* loop, FuseBuffer* buffer, FuseAppLoopCallback* callback) { in HandleRead()
77 bool HandleWrite(FuseAppLoop* loop, FuseBuffer* buffer, FuseAppLoopCallback* callback) { in HandleWrite()
88 bool HandleMessage(FuseAppLoop* loop, FuseBuffer* buffer, int fd, FuseAppLoopCallback* callback) { in HandleMessage()
199 void FuseAppLoop::Start(FuseAppLoopCallback* callback) { in Start()
/system/bt/binder/android/bluetooth/
DIBluetoothManager.aidl32 IBluetooth registerAdapter(in IBluetoothManagerCallback callback); in registerAdapter()
33 void unregisterAdapter(in IBluetoothManagerCallback callback); in unregisterAdapter()
35 void registerStateChangeCallback(in IBluetoothStateChangeCallback callback); in registerStateChangeCallback()
37 void unregisterStateChangeCallback(in IBluetoothStateChangeCallback callback); in unregisterStateChangeCallback()
/system/update_engine/
Dbinder_service_android.cc61 for (auto& callback : callbacks_) { in SendStatusUpdate() local
68 for (auto& callback : callbacks_) { in SendPayloadApplicationComplete() local
74 const android::sp<IUpdateEngineCallback>& callback, bool* return_value) { in bind()
106 const android::sp<IUpdateEngineCallback>& callback, bool* return_value) { in unbind()
189 bool BinderUpdateEngineAndroidService::UnbindCallback(const IBinder* callback) { in UnbindCallback()
226 const android::sp<IUpdateEngineCallback>& callback) in CleanupSuccessfulUpdateCallback()
249 const android::sp<IUpdateEngineCallback>& callback) { in cleanupSuccessfulUpdate()
Dchrome_browser_proxy_resolver.cc36 const std::string& url, const ProxiesResolvedFn& callback) { in GetProxiesForUrl()
62 ProxiesResolvedFn callback = it->second; in OnGetChromeProxyServers() local
/system/bt/gd/fuzz/
Dhelpers.h41 void InvokeIfValid(common::ContextualOnceCallback<void(TView)> callback, std::vector<uint8_t> data)… in InvokeIfValid()
50 void InvokeIfValid(common::ContextualCallback<void(TView)> callback, std::vector<uint8_t> data) { in InvokeIfValid()
/system/update_engine/common/
Dproxy_resolver.cc44 const string& url, const ProxiesResolvedFn& callback) { in GetProxiesForUrl()
57 void DirectProxyResolver::ReturnCallback(const ProxiesResolvedFn& callback) { in ReturnCallback()
Dproxy_resolver_unittest.cc47 auto callback = base::Bind( in TEST_F() local
68 auto callback = base::Bind( in TEST_F() local
81 auto callback = base::Bind( in TEST_F() local
Dhttp_fetcher.cc48 const Closure& callback) { in ResolveProxiesForUrl()
74 Closure* callback = callback_.release(); in ProxiesResolved() local
/system/update_engine/binder_bindings/android/os/
DIUpdateEngine.aidl35 boolean bind(IUpdateEngineCallback callback); in bind()
37 boolean unbind(IUpdateEngineCallback callback); in unbind()
73 void cleanupSuccessfulUpdate(IUpdateEngineCallback callback); in cleanupSuccessfulUpdate()
/system/bt/gd/neighbor/
Dname.cc35 ReadRemoteNameCallback callback; member
40 CancelRemoteNameCallback callback; member
156 ReadRemoteNameCallback callback, in ReadRemoteNameRequest()
175 hci::Address address, CancelRemoteNameCallback callback, os::Handler* handler) { in CancelRemoteNameRequest()
204 ReadRemoteNameCallback callback, in ReadRemoteNameRequest()
220 hci::Address address, CancelRemoteNameCallback callback, os::Handler* handler) { in CancelRemoteNameRequest()
/system/bt/gd/hci/
Dle_address_manager.cc116 LeAddressManager::AddressPolicy LeAddressManager::Register(LeAddressManagerCallback* callback) { in Register()
121 void LeAddressManager::register_client(LeAddressManagerCallback* callback) { in register_client()
129 void LeAddressManager::Unregister(LeAddressManagerCallback* callback) { in Unregister()
133 void LeAddressManager::unregister_client(LeAddressManagerCallback* callback) { in unregister_client()
140 void LeAddressManager::AckPause(LeAddressManagerCallback* callback) { in AckPause()
144 void LeAddressManager::AckResume(LeAddressManagerCallback* callback) { in AckResume()
171 void LeAddressManager::ack_pause(LeAddressManagerCallback* callback) { in ack_pause()
196 void LeAddressManager::ack_resume(LeAddressManagerCallback* callback) { in ack_resume()
/system/bt/gd/common/
Dbidi_queue.h36 void RegisterEnqueue(::bluetooth::os::Handler* handler, EnqueueCallback callback) override { in RegisterEnqueue()
44 void RegisterDequeue(::bluetooth::os::Handler* handler, DequeueCallback callback) override { in RegisterDequeue()
Dcontextual_callback.h38 ContextualOnceCallback(common::OnceCallback<R(Args...)>&& callback, IPostableContext* context) in ContextualOnceCallback()
74 ContextualCallback(common::Callback<R(Args...)>&& callback, IPostableContext* context) in ContextualCallback()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dasync_manager.cc274 const TaskCallback& callback) { in ExecAsync()
282 const TaskCallback& callback) { in ExecAsyncPeriodically()
343 std::chrono::milliseconds period, const TaskCallback& callback, in Task()
352 const TaskCallback& callback, AsyncUserId user) in Task()
373 TaskCallback callback; member in test_vendor_lib::AsyncManager::AsyncTaskManager::Task
435 TaskCallback callback; in ThreadRoutine() local
513 const TaskCallback& callback) { in ExecAsync()
519 std::chrono::milliseconds period, const TaskCallback& callback) { in ExecAsyncPeriodically()
/system/bt/service/
Dlow_energy_advertiser.cc144 const StatusCallback& callback) { in StartAdvertising()
189 bool LowEnergyAdvertiser::StopAdvertising(const StatusCallback& callback) { in StopAdvertising()
296 const Uuid& app_uuid, const RegisterCallback& callback) { in RegisterInstance()
321 const RegisterCallback& callback, const Uuid& app_uuid, in RegisterAdvertiserCallback()
/system/connectivity/wificond/aidl/android/net/wifi/
DIWificond.aidl68 oneway void RegisterCallback(IInterfaceEventCallback callback); in RegisterCallback()
76 oneway void UnregisterCallback(IInterfaceEventCallback callback); in UnregisterCallback()
/system/bt/service/test/
Dlow_energy_advertiser_unittest.cc113 auto callback = [&](std::unique_ptr<LowEnergyAdvertiser> advertiser) { in SetUp() local
127 const std::function<void(std::unique_ptr<LowEnergyAdvertiser> advertiser)> in RegisterTestAdvertiser()
176 std::function<void(BLEStatus)> callback, in AdvertiseDataTestHelper()
214 auto callback = [&](BLEStatus in_status, const Uuid& uuid, in TEST_F() local
287 auto callback = [&](BLEStatus status) { in TEST_F() local
353 auto callback = [&](BLEStatus status) { in TEST_F() local
530 auto callback = [&](BLEStatus status) { in TEST_F() local

123456789