/base/sensors/sensor/vibration_convert/interfaces/js/src/ |
H A D | vibrator_convert_js.cpp | 126 CHKCF(GetPropertyInt32(env, value, "fd", fileDescriptor.fd), "Get vibrate fd failed"); in ParseParameter() 136 CHKCF(GetPropertyInt32(env, value, "transientDetection", audioSetting.transientDetection), in ParseAudioSettings() 138 CHKCF(GetPropertyInt32(env, value, "intensityTreshold", audioSetting.intensityTreshold), in ParseAudioSettings() 140 CHKCF(GetPropertyInt32(env, value, "frequencyTreshold", audioSetting.frequencyTreshold), in ParseAudioSettings() 142 CHKCF(GetPropertyInt32(env, value, "frequencyMaxValue", audioSetting.frequencyMaxValue), in ParseAudioSettings() 144 CHKCF(GetPropertyInt32(env, value, "frequencyMinValue", audioSetting.frequencyMinValue), in ParseAudioSettings()
|
H A D | vibrator_convert_napi_utils.cpp | 98 bool GetPropertyInt32(const napi_env &env, const napi_value &value, const std::string &type, int32_t &result) in GetPropertyInt32() function
|
/base/sensors/miscdevice/frameworks/js/napi/vibrator/src/ |
H A D | vibrator_js.cpp | 222 CHKCF(GetPropertyInt32(env, pointsElement, "time", point.time), "Get points time fail"); in ParseVibratorCurvePoint() 223 CHKCF(GetPropertyInt32(env, pointsElement, "intensity", point.intensity), "Get points intensity fail"); in ParseVibratorCurvePoint() 224 CHKCF(GetPropertyInt32(env, pointsElement, "frequency", point.frequency), "Get points frequency fail"); in ParseVibratorCurvePoint() 260 CHKCF(GetPropertyInt32(env, element, "eventType", type), "Get type fail"); in ParseVibrateEvent() 262 CHKCF(GetPropertyInt32(env, element, "time", event.time), "Get time fail"); in ParseVibrateEvent() 263 CHKCF(GetPropertyInt32(env, element, "duration", event.duration), "Get duration fail"); in ParseVibrateEvent() 264 CHKCF(GetPropertyInt32(env, element, "intensity", event.intensity), "Get intensity fail"); in ParseVibrateEvent() 265 CHKCF(GetPropertyInt32(env, element, "frequency", event.frequency), "Get frequency fail"); in ParseVibrateEvent() 266 CHKCF(GetPropertyInt32(env, element, "index", event.index), "Get index fail"); in ParseVibrateEvent() 293 CHKCF(GetPropertyInt32(en in ParseVibratorPattern() [all...] |
H A D | vibrator_napi_utils.cpp | 187 bool GetPropertyInt32(const napi_env &env, const napi_value &value, const std::string &type, int32_t &result) in GetPropertyInt32() function
|
/base/hiviewdfx/hitrace/interfaces/js/kits/napi/include/ |
H A D | napi_hitrace_util.h | 45 static uint32_t GetPropertyInt32(const napi_env env, const napi_value& object,
|
/base/sensors/sensor/vibration_convert/interfaces/js/include/ |
H A D | vibrator_convert_napi_utils.h | 69 bool GetPropertyInt32(const napi_env &env, const napi_value &value, const std::string &type, int32_t &result);
|
/base/sensors/miscdevice/frameworks/js/napi/vibrator/include/ |
H A D | vibrator_napi_utils.h | 76 bool GetPropertyInt32(const napi_env &env, const napi_value &value, const std::string &type, int32_t &result);
|
/base/hiviewdfx/hitrace/interfaces/js/kits/napi/src/ |
H A D | napi_hitrace_util.cpp | 131 uint32_t flags = NapiHitraceUtil::GetPropertyInt32(env, valueObject, FLAGS_ATTR);
in TransHiTraceIdJsObjectToNative() 163 uint32_t NapiHitraceUtil::GetPropertyInt32(const napi_env env, const napi_value& object,
in GetPropertyInt32() function in OHOS::HiviewDFX::NapiHitraceUtil
|