Home
last modified time | relevance | path

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

/base/msdp/device_status/frameworks/js/napi/src/
Ddevicestatus_event.cpp173 std::shared_ptr<DeviceStatusEventListener> &typeHandler) in CheckRet() argument
175 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() local
240 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()
/base/msdp/device_status/frameworks/js/napi/include/
Ddevicestatus_event.h44 std::shared_ptr<DeviceStatusEventListener> &typeHandler);