Home
last modified time | relevance | path

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

/base/msdp/device_status/frameworks/js/napi/interaction/coordination/src/
Djs_coordination_context.cpp72 if (!UtilNapi::TypeOf(env, argv[ZERO_PARAM], napi_function)) { in Prepare()
93 if (!UtilNapi::TypeOf(env, argv[ZERO_PARAM], napi_function)) { in Unprepare()
111 if (!UtilNapi::TypeOf(env, argv[ZERO_PARAM], napi_string)) { in Activate()
115 if (!UtilNapi::TypeOf(env, argv[ONE_PARAM], napi_number)) { in Activate()
133 if (!UtilNapi::TypeOf(env, argv[TWO_PARAM], napi_function)) { in Activate()
151 if (!UtilNapi::TypeOf(env, argv[ZERO_PARAM], napi_boolean)) { in Deactivate()
165 if (!UtilNapi::TypeOf(env, argv[ONE_PARAM], napi_function)) { in Deactivate()
183 if (!UtilNapi::TypeOf(env, argv[ZERO_PARAM], napi_string)) { in GetCrossingSwitchState()
200 if (!UtilNapi::TypeOf(env, argv[ONE_PARAM], napi_function)) { in GetCrossingSwitchState()
218 if (!UtilNapi::TypeOf(env, argv[ZERO_PARAM], napi_string)) { in On()
[all …]
/base/msdp/device_status/frameworks/js/napi/interaction/cooperate/src/
Djs_cooperate_context.cpp69 if (!UtilNapi::TypeOf(env, argv[ZERO_PARAM], napi_boolean)) { in Enable()
83 if (!UtilNapi::TypeOf(env, argv[ONE_PARAM], napi_function)) { in Enable()
101 if (!UtilNapi::TypeOf(env, argv[ZERO_PARAM], napi_string)) { in Start()
105 if (!UtilNapi::TypeOf(env, argv[ONE_PARAM], napi_number)) { in Start()
123 if (!UtilNapi::TypeOf(env, argv[TWO_PARAM], napi_function)) { in Start()
144 if (!UtilNapi::TypeOf(env, argv[ZERO_PARAM], napi_function)) { in Stop()
162 if (!UtilNapi::TypeOf(env, argv[ZERO_PARAM], napi_string)) { in GetState()
179 if (!UtilNapi::TypeOf(env, argv[ONE_PARAM], napi_function)) { in GetState()
197 if (!UtilNapi::TypeOf(env, argv[ZERO_PARAM], napi_string)) { in On()
212 if (!UtilNapi::TypeOf(env, argv[ONE_PARAM], napi_function)) { in On()
[all …]
/base/msdp/device_status/frameworks/js/napi/interaction/drag/src/
Djs_drag_context.cpp163 if (!UtilNapi::TypeOf(env, argv[ZERO_PARAM], napi_string)) { in On()
174 if (!UtilNapi::TypeOf(env, argv[ONE_PARAM], napi_function)) { in On()
193 if ((argc == ZERO_PARAM) || (!UtilNapi::TypeOf(env, argv[ZERO_PARAM], napi_string))) { in Off()
208 …if (UtilNapi::TypeOf(env, argv[ONE_PARAM], napi_undefined) || UtilNapi::TypeOf(env, argv[ONE_PARAM… in Off()
212 if (!UtilNapi::TypeOf(env, argv[ONE_PARAM], napi_function)) { in Off()
/base/msdp/device_status/utils/common/src/
Dutil_napi.cpp20 namespace UtilNapi { namespace
/base/msdp/device_status/utils/common/include/
Dutil_napi.h83 namespace UtilNapi {
/base/msdp/device_status/utils/common/
Dlibdevicestatus_util_map26 "OHOS::Msdp::UtilNapi::TypeOf(napi_env__*, napi_value__*, napi_valuetype)";