/foundation/multimedia/player_framework/frameworks/js/common/ |
H A D | common_napi.cpp | 391 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 D | common_napi.h | 72 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 D | napi_common.h | 68 static void SetPropertyString(napi_env env, napi_value object, const std::string &propertyName,
|
H A D | napi_common.cpp | 99 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 D | avrecorder_callback.cpp | 482 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 D | avrecorder_napi.cpp | 2373 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 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/multimedia/player_framework/frameworks/js/avplayer/ |
H A D | avplayer_callback.cpp | 347 (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 D | napi_net_policy.cpp | 384 NapiCommon::SetPropertyString(env, elementObject, "periodDuration", item.periodDuration_); in GetNetQuotaPoliciesCallback()
|