Searched refs:typeHandler (Results 1 – 2 of 2) sorted by relevance
173 std::shared_ptr<DeviceStatusEventListener> &typeHandler) in CheckRet() argument175 CHKPV(typeHandler); in CheckRet()181 status = napi_get_reference_value(env_, typeHandler->onHandlerRef, &handler); in CheckRet()238 std::map<int32_t, std::list<std::shared_ptr<DeviceStatusEventListener>>>::iterator typeHandler; in OnEvent() local240 typeHandler = eventOnceMap_.find(eventType); in OnEvent()241 if (typeHandler == eventOnceMap_.end()) { in OnEvent()247 typeHandler = eventMap_.find(eventType); in OnEvent()248 if (typeHandler == eventMap_.end()) { in OnEvent()255 typeHandler->second.size(), eventType); in OnEvent()256 for (auto handler : typeHandler->second) { in OnEvent()
44 std::shared_ptr<DeviceStatusEventListener> &typeHandler);