Searched refs:GetNativeInt32 (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/base/sensors/sensor/frameworks/js/napi/src/ |
H A D | sensor_js.cpp | 305 if (!GetNativeInt32(env, args[0], sensorTypeId)) { in Once() 405 if (!GetNativeInt32(env, args[0], sensorTypeId)) { in On() 491 … if ((!IsMatchType(env, args[0], napi_number)) || (!GetNativeInt32(env, args[0], sensorTypeId))) { in Off() 650 if (!GetNativeInt32(env, napiAxisX, axisX)) { in TransformCoordinateSystem() 660 if (!GetNativeInt32(env, napiAxisY, axisY)) { in TransformCoordinateSystem() 1089 if (!GetNativeInt32(env, args[0], sensorTypeId)) { in GetSingleSensor() 1148 if (!GetNativeInt32(env, args[0], sensorTypeId)) { in GetSingleSensorSync()
|
H A D | sensor_napi_utils.cpp | 106 bool GetNativeInt32(const napi_env &env, const napi_value &value, int32_t &number) in GetNativeInt32() function
|
/ohos5.0/base/sensors/sensor/frameworks/js/napi/include/ |
H A D | sensor_napi_utils.h | 34 bool GetNativeInt32(const napi_env &env, const napi_value &value, int32_t &number);
|