Home
last modified time | relevance | path

Searched refs:addCallback (Results 1 – 8 of 8) sorted by relevance

/hardware/google/pixel/power-libperfmgr/aidl/
DBackgroundWorker.h49 void addCallback(int64_t templateQueueWorkerId, std::function<void(int64_t)> callback);
100 mWorker->addCallback(mCallbackId, [&](int64_t packageId) { process(packageId); }); in TemplatePriorityQueueWorker()
DBackgroundWorker.cpp56 void PriorityQueueWorkerPool::addCallback(int64_t templateQueueWorkerId, in addCallback() function in aidl::google::hardware::power::impl::pixel::PriorityQueueWorkerPool
/hardware/interfaces/wifi/aidl/default/
Daidl_callback_util.h47 bool addCallback(const std::shared_ptr<CallbackType>& cb) { in addCallback() function
Dwifi.cpp240 if (!event_cb_handler_.addCallback(event_callback)) { in registerEventCallbackInternal()
Dwifi_sta_iface.cpp413 if (!event_cb_handler_.addCallback(callback)) { in registerEventCallbackInternal()
Dwifi_nan_iface.cpp824 if (!event_cb_handler_.addCallback(callback)) { in registerEventCallbackInternal()
Dwifi_chip.cpp661 if (!event_cb_handler_.addCallback(event_callback)) { in registerEventCallbackInternal()
/hardware/google/pixel/power-libperfmgr/aidl/tests/
DBackgroundWorkerTest.cpp54 p->addCallback(pqId, [&](int64_t packageId) { in TEST()