Searched refs:addCallback (Results 1 – 8 of 8) sorted by relevance
49 void addCallback(int64_t templateQueueWorkerId, std::function<void(int64_t)> callback);100 mWorker->addCallback(mCallbackId, [&](int64_t packageId) { process(packageId); }); in TemplatePriorityQueueWorker()
56 void PriorityQueueWorkerPool::addCallback(int64_t templateQueueWorkerId, in addCallback() function in aidl::google::hardware::power::impl::pixel::PriorityQueueWorkerPool
47 bool addCallback(const std::shared_ptr<CallbackType>& cb) { in addCallback() function
240 if (!event_cb_handler_.addCallback(event_callback)) { in registerEventCallbackInternal()
413 if (!event_cb_handler_.addCallback(callback)) { in registerEventCallbackInternal()
824 if (!event_cb_handler_.addCallback(callback)) { in registerEventCallbackInternal()
661 if (!event_cb_handler_.addCallback(event_callback)) { in registerEventCallbackInternal()
54 p->addCallback(pqId, [&](int64_t packageId) { in TEST()