Home
last modified time | relevance | path

Searched refs:SetPropertyString (Results 1 – 9 of 9) sorted by relevance

/foundation/multimedia/player_framework/frameworks/js/common/
Dcommon_napi.cpp392 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()
Dcommon_napi.h53 …static bool SetPropertyString(napi_env env, napi_value &obj, const std::string &key, const std::st…
/foundation/multimedia/player_framework/frameworks/js/avrecorder/
Davrecorder_callback.cpp389 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()
Davrecorder_napi.cpp1707 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/
Drecorder_capability_napi.cpp387 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/
Dnapi_common.h68 static void SetPropertyString(napi_env env, napi_value object, const std::string &propertyName,
Dnapi_common.cpp99 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/
Dnapi_net_policy.cpp384 … NapiCommon::SetPropertyString(env, elementObject, "periodDuration", item.periodDuration_); in GetNetQuotaPoliciesCallback()
/foundation/multimedia/player_framework/frameworks/js/avplayer/
Davplayer_callback.cpp248 (void)CommonNapi::SetPropertyString(subtitleRef->env_, args[0], "text", text); in UvWork()