Searched refs:DeviceStatusNapi (Results 1 – 2 of 2) sorted by relevance
42 thread_local DeviceStatusNapi *g_obj = nullptr;44 std::map<int32_t, sptr<IRemoteDevStaCallback>> DeviceStatusNapi::callbackMap_;45 napi_ref DeviceStatusNapi::devicestatusValueRef_ = nullptr;72 DeviceStatusNapi* deviceStatusNapi = DeviceStatusNapi::GetDeviceStatusNapi(); in EmitOnEvent()80 DeviceStatusNapi* DeviceStatusNapi::GetDeviceStatusNapi() in GetDeviceStatusNapi()85 DeviceStatusNapi::DeviceStatusNapi(napi_env env) : DeviceStatusEvent(env) in DeviceStatusNapi() function in OHOS::Msdp::DeviceStatus::DeviceStatusNapi97 DeviceStatusNapi::~DeviceStatusNapi() in ~DeviceStatusNapi()111 void DeviceStatusNapi::OnDeviceStatusChangedDone(int32_t type, int32_t value, bool isOnce) in OnDeviceStatusChangedDone()118 int32_t DeviceStatusNapi::ConvertTypeToInt(const std::string &type) in ConvertTypeToInt()137 bool DeviceStatusNapi::CheckArguments(napi_env env, napi_callback_info info) in CheckArguments()[all …]
45 class DeviceStatusNapi : public DeviceStatusEvent {47 explicit DeviceStatusNapi(napi_env env);48 virtual ~DeviceStatusNapi();60 static DeviceStatusNapi* GetDeviceStatusNapi();