Home
last modified time | relevance | path

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

/ohos5.0/base/location/frameworks/js/napi/source/
H A Dnapi_util.cpp52 SetValueDouble(env, "satellitesNumber", svNum, result); in SatelliteStatusToJs()
106 SetValueDouble(env, "latitude", locationInfo->GetLatitude(), result); in LocationToJs()
107 SetValueDouble(env, "longitude", locationInfo->GetLongitude(), result); in LocationToJs()
108 SetValueDouble(env, "altitude", locationInfo->GetAltitude(), result); in LocationToJs()
109 SetValueDouble(env, "accuracy", locationInfo->GetAccuracy(), result); in LocationToJs()
110 SetValueDouble(env, "speed", locationInfo->GetSpeed(), result); in LocationToJs()
112 SetValueDouble(env, "direction", locationInfo->GetDirection(), result); in LocationToJs()
169 SetValueDouble(env, "longitude", locationInfo->GetLongitude(), result); in SystemLocationToJs()
170 SetValueDouble(env, "latitude", locationInfo->GetLatitude(), result); in SystemLocationToJs()
171 SetValueDouble(env, "altitude", locationInfo->GetAltitude(), result); in SystemLocationToJs()
[all …]
/ohos5.0/foundation/multimedia/audio_framework/frameworks/js/napi/common/
H A Dnapi_param_utils.cpp95 napi_status NapiParamUtils::SetValueDouble(const napi_env &env, const double &value, napi_value &re… in SetValueDouble() function in OHOS::AudioStandard::NapiParamUtils
113 napi_status NapiParamUtils::SetValueDouble(const napi_env &env, const std::string &fieldStr, in SetValueDouble() function in OHOS::AudioStandard::NapiParamUtils
117 napi_status status = SetValueDouble(env, value, jsValue); in SetValueDouble()
664 SetValueDouble(env, "x", micDesc->position_.x, jsPositionObj); in SetMicrophoneDescriptor()
665 SetValueDouble(env, "y", micDesc->position_.y, jsPositionObj); in SetMicrophoneDescriptor()
666 SetValueDouble(env, "z", micDesc->position_.z, jsPositionObj); in SetMicrophoneDescriptor()
670 SetValueDouble(env, "x", micDesc->orientation_.x, jsOrientationObj); in SetMicrophoneDescriptor()
671 SetValueDouble(env, "y", micDesc->orientation_.y, jsOrientationObj); in SetMicrophoneDescriptor()
672 SetValueDouble(env, "z", micDesc->orientation_.z, jsOrientationObj); in SetMicrophoneDescriptor()
H A Dnapi_param_utils.h108 static napi_status SetValueDouble(const napi_env &env, const double &value, napi_value &result);
110 static napi_status SetValueDouble(const napi_env &env, const std::string &fieldStr,
/ohos5.0/base/location/frameworks/js/napi/include/
H A Dnapi_util.h68 napi_status SetValueDouble(const napi_env& env, const char* fieldStr, const double doubleValue, nap…
/ohos5.0/foundation/multimedia/audio_framework/frameworks/js/napi/audiomanager/
H A Dnapi_audio_volume_group_manager.cpp1100 NapiParamUtils::SetValueDouble(env, context->volumeInDb, output); in GetSystemVolumeInDb()
1142 NapiParamUtils::SetValueDouble(env, volumeInDb, result); in GetSystemVolumeInDbSync()
1352 NapiParamUtils::SetValueDouble(env, context->outputMaxAmplitude, output); in GetMaxAmplitudeForOutputDevice()
1394 NapiParamUtils::SetValueDouble(env, context->inputMaxAmplitude, output); in GetMaxAmplitudeForInputDevice()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/js/napi/audiorenderer/
H A Dnapi_audio_renderer.cpp923 NapiParamUtils::SetValueDouble(env, volLevel, result); in GetVolume()
1108 NapiParamUtils::SetValueDouble(env, context->volLevel, output); in GetMinStreamVolume()
1125 NapiParamUtils::SetValueDouble(env, volLevel, result); in GetMinStreamVolumeSync()
1151 NapiParamUtils::SetValueDouble(env, context->volLevel, output); in GetMaxStreamVolume()
1168 NapiParamUtils::SetValueDouble(env, volLevel, result); in GetMaxStreamVolumeSync()