| /foundation/multimedia/player_framework/frameworks/js/common/ |
| D | common_napi.cpp | 392 bool CommonNapi::SetPropertyString(napi_env env, napi_value &obj, const std::string &key, const std… in SetPropertyString() function in OHOS::Media::CommonNapi 427 … CHECK_AND_RETURN_RET(SetPropertyString(env, buffer, iter.first, strValue) == true, nullptr); in CreateFormatBuffer() 455 (void)SetPropertyString(env, result, iter.first, strValue); in CreateFormatBufferByRef() 709 SetPropertyString(env, result, "name", deviceInfo.deviceName_); in SetDeviceDescriptor() 710 SetPropertyString(env, result, "address", deviceInfo.macAddress_); in SetDeviceDescriptor() 711 SetPropertyString(env, result, "networkId", deviceInfo.networkId_); in SetDeviceDescriptor() 712 SetPropertyString(env, result, "displayName", deviceInfo.displayName_); in SetDeviceDescriptor()
|
| D | common_napi.h | 53 …static bool SetPropertyString(napi_env env, napi_value &obj, const std::string &key, const std::st…
|
| /foundation/multimedia/player_framework/frameworks/js/avrecorder/ |
| D | avrecorder_callback.cpp | 389 setRet = CommonNapi::SetPropertyString(env, element, "name", value_.inputDeviceInfo.deviceName); in SetDeviceProperty() 391 …setRet = CommonNapi::SetPropertyString(env, element, "address", value_.inputDeviceInfo.macAddress); in SetDeviceProperty() 393 …setRet = CommonNapi::SetPropertyString(env, element, "networkId", value_.inputDeviceInfo.networkId… in SetDeviceProperty() 395 …setRet = CommonNapi::SetPropertyString(env, element, "displayName", value_.inputDeviceInfo.display… in SetDeviceProperty()
|
| D | avrecorder_napi.cpp | 1707 setRet = CommonNapi::SetPropertyString(env, result, "audioCodec", audioCodec); in GetJsResult() 1716 setRet = CommonNapi::SetPropertyString(env, result, "fileFormat", fileFormat); in GetJsResult() 1725 setRet = CommonNapi::SetPropertyString(env, result, "videoCodec", videoCodec); in GetJsResult() 1814 setRet = CommonNapi::SetPropertyString(env, result, "url", value_->url); in GetJsResult() 1820 setRet = CommonNapi::SetPropertyString(env, profile, "fileFormat", fileFormat); in GetJsResult() 1844 setRet = CommonNapi::SetPropertyString(env, profile, "audioCodec", audioCodec); in audioToSet() 1870 setRet = CommonNapi::SetPropertyString(env, profile, "videoCodec", videoCodec); in videoToSet() 1922 setRet = CommonNapi::SetPropertyString(env, encoderInfo, "mimeType", encoderCapData.mimeType); in GetAudioEncoderInfo() 1925 setRet = CommonNapi::SetPropertyString(env, encoderInfo, "type", encoderCapData.type); in GetAudioEncoderInfo() 1952 setRet = CommonNapi::SetPropertyString(env, encoderInfo, "mimeType", encoderCapData.mimeType); in GetVideoEncoderInfo() [all …]
|
| /foundation/multimedia/player_framework/frameworks/js/recorder/ |
| D | recorder_capability_napi.cpp | 387 setRet = CommonNapi::SetPropertyString(env, result, "audioCodec", value_->audioCodec); in GetJsResult() 393 setRet = CommonNapi::SetPropertyString(env, result, "fileFormat", value_->containerFormatType); in GetJsResult() 399 setRet = CommonNapi::SetPropertyString(env, result, "videoCodec", value_->videoCodec); in GetJsResult()
|
| /foundation/communication/netmanager_base/frameworks/js/napi/common/ |
| D | napi_common.h | 68 static void SetPropertyString(napi_env env, napi_value object, const std::string &propertyName,
|
| D | napi_common.cpp | 99 void NapiCommon::SetPropertyString( in SetPropertyString() function in OHOS::NetManagerStandard::NapiCommon 401 SetPropertyString(env, result, MSG, errorMessage); in CreateErrorMessage()
|
| /foundation/communication/netmanager_base/frameworks/js/napi/netpolicy/src/ |
| D | napi_net_policy.cpp | 384 … NapiCommon::SetPropertyString(env, elementObject, "periodDuration", item.periodDuration_); in GetNetQuotaPoliciesCallback()
|
| /foundation/multimedia/player_framework/frameworks/js/avplayer/ |
| D | avplayer_callback.cpp | 248 (void)CommonNapi::SetPropertyString(subtitleRef->env_, args[0], "text", text); in UvWork()
|