Home
last modified time | relevance | path

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

/hardware/interfaces/wifi/aidl/default/
Daidl_callback_util.h49 void* cbPtr = reinterpret_cast<void*>(cb->asBinder().get()); in addCallback() local
50 const auto& cbPosition = findCbInSet(cbPtr); in addCallback()
56 if (AIBinder_linkToDeath(cb->asBinder().get(), death_handler_, cbPtr /* cookie */) != in addCallback()
62 callback_handler_map_[cbPtr] = reinterpret_cast<void*>(this); in addCallback()
113 typename std::set<std::shared_ptr<CallbackType>>::iterator findCbInSet(void* cbPtr) { in findCbInSet() argument
115 cb_set_.begin(), cb_set_.end(), [cbPtr](const std::shared_ptr<CallbackType>& p) { in findCbInSet()
116 return cbPtr == reinterpret_cast<void*>(p->asBinder().get()); in findCbInSet()
121 bool removeCbFromHandlerMap(void* cbPtr) { in removeCbFromHandlerMap() argument
122 auto cbQuery = callback_handler_map_.find(cbPtr); in removeCbFromHandlerMap()
130 void handleCallbackDeath(void* cbPtr) { in handleCallbackDeath() argument
[all …]