Home
last modified time | relevance | path

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

1234567

/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/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/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.cpp225 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_F() local
240 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_F() local
259 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_F() local
281 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_F() local
304 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_F() local
329 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_F() local
353 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_F() local
368 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_F() local
383 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_F() local
402 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_F() local
[all …]
/system/update_engine/
Dbinder_service_android.cc46 for (auto& callback : callbacks_) { in SendStatusUpdate() local
53 for (auto& callback : callbacks_) { in SendPayloadApplicationComplete() local
59 const android::sp<IUpdateEngineCallback>& callback, bool* return_value) { in bind()
83 const android::sp<IUpdateEngineCallback>& callback, bool* return_value) { in unbind()
155 bool BinderUpdateEngineAndroidService::UnbindCallback(const IBinder* callback) { in UnbindCallback()
Dchrome_browser_proxy_resolver.cc36 const std::string& url, const ProxiesResolvedFn& callback) { in GetProxiesForUrl()
62 ProxiesResolvedFn callback = it->second; in OnGetChromeProxyServers() local
/system/bt/binder/android/bluetooth/
DIBluetoothManager.aidl32 IBluetooth registerAdapter(in IBluetoothManagerCallback callback); in registerAdapter()
33 void unregisterAdapter(in IBluetoothManagerCallback callback); in unregisterAdapter()
34 void registerStateChangeCallback(in IBluetoothStateChangeCallback callback); in registerStateChangeCallback()
35 void unregisterStateChangeCallback(in IBluetoothStateChangeCallback callback); in unregisterStateChangeCallback()
/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/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/chre/platform/slpi/
Ddebug_dump.cc39 bool registerDebugDumpCallback(const char *name, debugDumpCbFunc *callback, in registerDebugDumpCallback()
48 void unregisterDebugDumpCallback(debugDumpCbFunc *callback) { in unregisterDebugDumpCallback()
/system/update_engine/binder_bindings/android/os/
DIUpdateEngine.aidl29 boolean bind(IUpdateEngineCallback callback); in bind()
31 boolean unbind(IUpdateEngineCallback callback); in unbind()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dasync_manager.cc274 AsyncTaskId ExecAsync(std::chrono::milliseconds delay, const TaskCallback& callback) { in ExecAsync()
279 const TaskCallback& callback) { in ExecAsyncPeriodically()
322 …ono::steady_clock::time_point time, std::chrono::milliseconds period, const TaskCallback& callback) in Task()
324 Task(std::chrono::steady_clock::time_point time, const TaskCallback& callback) in Task()
341 TaskCallback callback; member in test_vendor_lib::AsyncManager::AsyncTaskManager::Task
406 TaskCallback callback; in ThreadRoutine() local
476 AsyncTaskId AsyncManager::ExecAsync(std::chrono::milliseconds delay, const TaskCallback& callback) { in ExecAsync()
481 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
/system/core/libprocinfo/include/procinfo/
Dprocess_map.h34 bool ReadMapFileContent(char* content, const CallbackType& callback) { in ReadMapFileContent()
146 const char*)>& callback) { in ReadMapFile()
156 const char*)>& callback) { in ReadProcessMaps()
/system/core/libbinderwrapper/
Dreal_binder_wrapper.cc32 explicit DeathRecipient(const ::base::Closure& callback) in DeathRecipient()
86 bool RealBinderWrapper::RegisterForDeathNotifications( in RegisterForDeathNotifications()
/system/chre/core/include/chre/core/
Devent_loop_manager.h89 SystemCallbackFunction *callback) { in deferCallback()
111 SystemCallbackFunction *callback, in setDelayedCallback()
/system/hardware/interfaces/suspend/1.0/default/
DSuspendControlService.cpp43 binder::Status SuspendControlService::registerCallback(const sp<ISuspendCallback>& callback, in registerCallback()
83 for (const auto& callback : callbacksCopy) { in notifyWakeup() local
/system/hardware/interfaces/suspend/aidl/android/system/suspend/
DISuspendControlService.aidl42 boolean registerCallback(ISuspendCallback callback); in registerCallback()

1234567