Home
last modified time | relevance | path

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

1234567

/system/update_engine/common/
Dscoped_task_id.h95 Callable&& callback, in PostTask()
111 void ExecuteTask(Callable&& callback) { in ExecuteTask()
116 std::move(callback)(); in ExecuteTask() local
/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()
84 const std::function<void()>& callback, in PostDelayedTask()
92 const std::function<void(int)>& callback) { in WatchFileDescriptor()
/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/
DVtsHalWifiKeystoreV1_0TargetTest.cpp199 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_P() local
214 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_P() local
233 auto callback = [&callbackInvoked](IKeystore::KeystoreStatusCode /*status*/, in TEST_P() local
258 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_P() local
281 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_P() local
305 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_P() local
320 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_P() local
335 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_P() local
354 auto callback = [&statusCode](IKeystore::KeystoreStatusCode status, in TEST_P() local
380 auto callback = [&statusCode, &cert](IKeystore::KeystoreStatusCode status, in TEST_P() local
[all …]
/system/connectivity/wificond/aidl/android/net/wifi/nl80211/
DIWificond.aidl81 oneway void RegisterCallback(IInterfaceEventCallback callback); in RegisterCallback()
89 oneway void UnregisterCallback(IInterfaceEventCallback callback); in UnregisterCallback()
97 oneway void registerWificondEventCallback(IWificondEventCallback callback); in registerWificondEventCallback()
105 oneway void unregisterWificondEventCallback(IWificondEventCallback callback); in unregisterWificondEventCallback()
/system/extras/simpleperf/
DIOEventLoop.cpp30 std::function<bool()> callback; member
117 IOEventRef IOEventLoop::AddReadEvent(int fd, const std::function<bool()>& callback, in AddReadEvent()
125 IOEventRef IOEventLoop::AddWriteEvent(int fd, const std::function<bool()>& callback, in AddWriteEvent()
133 bool IOEventLoop::AddSignalEvent(int sig, const std::function<bool()>& callback, in AddSignalEvent()
138 bool IOEventLoop::AddSignalEvents(std::vector<int> sigs, const std::function<bool()>& callback, in AddSignalEvents()
148 IOEventRef IOEventLoop::AddPeriodicEvent(timeval duration, const std::function<bool()>& callback, in AddPeriodicEvent()
154 const std::function<bool()>& callback, IOEventPriority priority) { in AddEvent()
/system/hardware/interfaces/suspend/aidl/aidl_api/android.system.suspend.control/current/android/system/suspend/
DISuspendControlService.aidl21 boolean registerCallback(android.system.suspend.ISuspendCallback callback); in registerCallback()
22 …boolean registerWakelockCallback(android.system.suspend.IWakelockCallback callback, @utf8InCpp Str… in registerWakelockCallback()
/system/hardware/interfaces/suspend/aidl/android/system/suspend/
DISuspendControlService.aidl35 boolean registerCallback(ISuspendCallback callback); in registerCallback()
44 boolean registerWakelockCallback(IWakelockCallback callback, @utf8InCpp String name); in registerWakelockCallback()
/system/hardware/interfaces/suspend/aidl/aidl_api/android.system.suspend.control/1/android/system/suspend/
DISuspendControlService.aidl37 boolean registerCallback(android.system.suspend.ISuspendCallback callback); in registerCallback()
38 …boolean registerWakelockCallback(android.system.suspend.IWakelockCallback callback, @utf8InCpp Str… in registerWakelockCallback()
/system/libprocinfo/include/procinfo/
Dprocess_map.h176 inline bool ReadMapFileContent(char* content, const MapInfoParamsCallback& callback) { in ReadMapFileContent()
200 inline bool ReadMapFileContent(char* content, const MapInfoCallback& callback) { in ReadMapFileContent()
225 const MapInfoCallback& callback) { in ReadMapFile()
234 inline bool ReadMapFile(const std::string& map_file, const MapInfoParamsCallback& callback, in ReadMapFile()
243 const MapInfoParamsCallback& callback) { in ReadMapFile()
248 inline bool ReadProcessMaps(pid_t pid, const MapInfoCallback& callback) { in ReadProcessMaps()
252 inline bool ReadProcessMaps(pid_t pid, const MapInfoParamsCallback& callback, in ReadProcessMaps()
257 inline bool ReadProcessMaps(pid_t pid, const MapInfoParamsCallback& callback) { in ReadProcessMaps()
270 const CallbackType& callback) { in ReadMapFileAsyncSafe()
/system/core/debuggerd/libdebuggerd/
Dtombstone_proto_to_text.cpp78 static void print_thread_header(CallbackType callback, const Tombstone& tombstone, in print_thread_header()
98 static void print_register_row(CallbackType callback, int word_size, in print_register_row()
108 static void print_thread_registers(CallbackType callback, const Tombstone& tombstone, in print_thread_registers()
162 static void print_backtrace(CallbackType callback, const Tombstone& tombstone, in print_backtrace()
190 static void print_thread_backtrace(CallbackType callback, const Tombstone& tombstone, in print_thread_backtrace()
202 static void print_thread_memory_dump(CallbackType callback, const Tombstone& tombstone, in print_thread_memory_dump()
252 static void print_thread(CallbackType callback, const Tombstone& tombstone, const Thread& thread) { in print_thread()
259 static void print_tag_dump(CallbackType callback, const Tombstone& tombstone) { in print_tag_dump()
313 static void print_memory_maps(CallbackType callback, const Tombstone& tombstone) { in print_memory_maps()
389 static void print_main_thread(CallbackType callback, const Tombstone& tombstone, in print_main_thread()
[all …]
/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/aosp/
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()
91 const android::sp<IUpdateEngineCallback>& callback, bool* return_value) { in unbind()
192 bool BinderUpdateEngineAndroidService::UnbindCallback(const IBinder* callback) { in UnbindCallback()
229 const android::sp<IUpdateEngineCallback>& callback) in CleanupSuccessfulUpdateCallback()
252 const android::sp<IUpdateEngineCallback>& callback) { in cleanupSuccessfulUpdate()
Dbinder_service_stable_android.cc59 const android::sp<IUpdateEngineStableCallback>& callback, in bind()
96 const android::sp<IUpdateEngineStableCallback>& callback, in unbind()
123 const IBinder* callback) { in UnbindCallback()
/system/chre/platform/tests/
Dlog_buffer_test.cc53 TestLogBufferCallback callback; in TEST() local
73 TestLogBufferCallback callback; in TEST() local
96 TestLogBufferCallback callback; in TEST() local
115 TestLogBufferCallback callback; in TEST() local
133 TestLogBufferCallback callback; in TEST() local
160 TestLogBufferCallback callback; in TEST() local
175 TestLogBufferCallback callback; in TEST() local
190 TestLogBufferCallback callback; in TEST() local
205 TestLogBufferCallback callback; in TEST() local
221 TestLogBufferCallback callback; in TEST() local
[all …]
/system/update_engine/stable/aidl_api/libupdate_engine_stable/current/android/os/
DIUpdateEngineStable.aidl21 boolean bind(android.os.IUpdateEngineStableCallback callback); in bind()
22 boolean unbind(android.os.IUpdateEngineStableCallback callback); in unbind()
/system/update_engine/stable/android/os/
DIUpdateEngineStable.aidl59 boolean bind(IUpdateEngineStableCallback callback); in bind()
74 boolean unbind(IUpdateEngineStableCallback callback); in unbind()
/system/update_engine/stable/aidl_api/libupdate_engine_stable/1/android/os/
DIUpdateEngineStable.aidl37 boolean bind(android.os.IUpdateEngineStableCallback callback); in bind()
38 boolean unbind(android.os.IUpdateEngineStableCallback callback); in unbind()
/system/update_engine/binder_bindings/android/os/
DIUpdateEngine.aidl35 boolean bind(IUpdateEngineCallback callback); in bind()
37 boolean unbind(IUpdateEngineCallback callback); in unbind()
78 void cleanupSuccessfulUpdate(IUpdateEngineCallback callback); in cleanupSuccessfulUpdate()
/system/chre/platform/tinysys/
Dsystem_timer.cc41 SystemTimerCallback *callback = systemTimer->mCallback; in callbackRunner() local
81 bool SystemTimer::set(SystemTimerCallback *callback, void *data, in set()
/system/tools/aidl/tests/
Daidl_test_client_delegate.cpp65 sp<INamedCallback> callback; in TEST_F() local
100 sp<INamedCallback> callback; in TEST_F() local
120 sp<INamedCallback> callback; in TEST_F() local
150 sp<INamedCallback> callback; in TEST_F() local
163 sp<INamedCallback> callback; in TEST_F() local
/system/security/keystore2/apc_compat/
Dapc_compat.cpp56 finalize(uint32_t responseCode, ApcCompatCallback callback, in finalize()
93 uint32_t promptUserConfirmation(ApcCompatCallback callback, const char* prompt_text, in promptUserConfirmation()
132 ApcCompatCallback callback; in finalize() local
218 uint32_t promptUserConfirmation(ApcCompatCallback callback, const char* prompt_text, in promptUserConfirmation()
267 ApcCompatCallback callback; in finalize() local
381 uint32_t promptUserConfirmation(ApcCompatCallback callback, const char* prompt_text, in promptUserConfirmation()
424 uint32_t promptUserConfirmation(ApcCompatServiceHandle handle, ApcCompatCallback callback, in promptUserConfirmation()
/system/connectivity/wificond/tests/
Dap_interface_impl_unittest.cpp102 sp<MockApInterfaceEventCallback> callback(new MockApInterfaceEventCallback()); in TEST_F() local
124 sp<MockApInterfaceEventCallback> callback(new MockApInterfaceEventCallback()); in TEST_F() local
146 sp<MockApInterfaceEventCallback> callback(new MockApInterfaceEventCallback()); in TEST_F() local
/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.h134 TypedSystemEventCallbackFunction<T> *callback) { in deferCallback()
160 LambdaT callback) { in deferCallback()
196 SystemEventCallbackFunction *callback, in setDelayedCallback()
/system/memory/lmkd/
Dwatchdog.h30 Watchdog(int timeout, void (*callback)()) : in Watchdog()

1234567