Home
last modified time | relevance | path

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

/foundation/multimedia/player_framework/frameworks/js/common/
H A Dcommon_napi.cpp391 ret = CommonNapi::SetPropertyString(env, obj, key, sValue); in SetPropertyByValueType()
392 CHECK_AND_RETURN_RET_LOG(ret, ret, "SetPropertyString failed, key %{public}s", key.c_str()); in SetPropertyByValueType()
398 CHECK_AND_RETURN_RET_LOG(ret, ret, "SetPropertyString failed, key %{public}s", key.c_str()); in SetPropertyByValueType()
404 CHECK_AND_RETURN_RET_LOG(ret, ret, "SetPropertyString failed, key %{public}s", key.c_str()); in SetPropertyByValueType()
547 bool CommonNapi::SetPropertyString(napi_env env, napi_value &obj, const std::string &key, const std::string &value) in SetPropertyString() function in OHOS::Media::CommonNapi
598 CHECK_AND_RETURN_RET(SetPropertyString(env, buffer, iter.first, strValue) == true, nullptr); in CreateFormatBuffer()
632 (void)SetPropertyString(env, result, iter.first, strValue); in CreateFormatBufferByRef()
904 SetPropertyString(env, result, "name", deviceInfo.deviceName_); in SetDeviceDescriptor()
905 SetPropertyString(env, result, "address", deviceInfo.macAddress_); in SetDeviceDescriptor()
906 SetPropertyString(en in SetDeviceDescriptor()
[all...]
H A Dcommon_napi.h72 static bool SetPropertyString(napi_env env, napi_value &obj, const std::string &key, const std::string &value);
/foundation/communication/netmanager_base/frameworks/js/napi/common/
H A Dnapi_common.h68 static void SetPropertyString(napi_env env, napi_value object, const std::string &propertyName,
H A Dnapi_common.cpp99 void NapiCommon::SetPropertyString( in SetPropertyString() function in OHOS::NetManagerStandard::NapiCommon
401 SetPropertyString(env, result, MSG, errorMessage); in CreateErrorMessage()
/foundation/multimedia/player_framework/frameworks/js/avrecorder/
H A Davrecorder_callback.cpp482 setRet = CommonNapi::SetPropertyString(env, element, "name", value_.inputDeviceInfo.deviceName); in SetDeviceProperty()
484 setRet = CommonNapi::SetPropertyString(env, element, "address", value_.inputDeviceInfo.macAddress); in SetDeviceProperty()
486 setRet = CommonNapi::SetPropertyString(env, element, "networkId", value_.inputDeviceInfo.networkId); in SetDeviceProperty()
488 setRet = CommonNapi::SetPropertyString(env, element, "displayName", value_.inputDeviceInfo.displayName); in SetDeviceProperty()
H A Davrecorder_napi.cpp2373 setRet = CommonNapi::SetPropertyString(env, result, "audioCodec", audioCodec);
2382 setRet = CommonNapi::SetPropertyString(env, result, "fileFormat", fileFormat);
2391 setRet = CommonNapi::SetPropertyString(env, result, "videoCodec", videoCodec);
2484 setRet = CommonNapi::SetPropertyString(env, result, "url", value_->url);
2490 setRet = CommonNapi::SetPropertyString(env, profile, "fileFormat", fileFormat);
2514 setRet = CommonNapi::SetPropertyString(env, profile, "audioCodec", audioCodec);
2540 setRet = CommonNapi::SetPropertyString(env, profile, "videoCodec", videoCodec);
2592 setRet = CommonNapi::SetPropertyString(env, encoderInfo, "mimeType", encoderCapData.mimeType);
2595 setRet = CommonNapi::SetPropertyString(env, encoderInfo, "type", encoderCapData.type);
2622 setRet = CommonNapi::SetPropertyString(en
[all...]
/foundation/multimedia/player_framework/frameworks/js/recorder/
H A 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/multimedia/player_framework/frameworks/js/avplayer/
H A Davplayer_callback.cpp347 (void)CommonNapi::SetPropertyString(subtitleRef->env_, args[0], "text", text);
579 CommonNapi::SetPropertyString(subtitleRef->env_, args[0], "text", valueMap.text);
/foundation/communication/netmanager_base/frameworks/js/napi/netpolicy/src/
H A Dnapi_net_policy.cpp384 NapiCommon::SetPropertyString(env, elementObject, "periodDuration", item.periodDuration_); in GetNetQuotaPoliciesCallback()

Completed in 14 milliseconds