Home
last modified time | relevance | path

Searched refs:SetPropertyInt32 (Results 1 - 11 of 11) sorted by relevance

/foundation/multimedia/player_framework/frameworks/js/recorder/
H A Drecorder_capability_napi.cpp383 setRet = CommonNapi::SetPropertyInt32(env, result, "audioBitrate", value_->audioBitrate); in GetJsResult()
385 setRet = CommonNapi::SetPropertyInt32(env, result, "audioChannels", value_->audioChannels); in GetJsResult()
389 setRet = CommonNapi::SetPropertyInt32(env, result, "audioSampleRate", value_->audioSampleRate); in GetJsResult()
391 setRet = CommonNapi::SetPropertyInt32(env, result, "durationTime", value_->durationTime); in GetJsResult()
395 setRet = CommonNapi::SetPropertyInt32(env, result, "qualityLevel", value_->qualityLevel); in GetJsResult()
397 setRet = CommonNapi::SetPropertyInt32(env, result, "videoBitrate", value_->videoBitrate); in GetJsResult()
401 setRet = CommonNapi::SetPropertyInt32(env, result, "videoFrameWidth", value_->videoFrameWidth); in GetJsResult()
403 setRet = CommonNapi::SetPropertyInt32(env, result, "videoFrameHeight", value_->videoFrameHeight); in GetJsResult()
405 setRet = CommonNapi::SetPropertyInt32(env, result, "videoFrameRate", value_->videoFrameRate); in GetJsResult()
/foundation/multimedia/player_framework/frameworks/js/avrecorder/
H A Davrecorder_callback.cpp440 setRet = CommonNapi::SetPropertyInt32(env, result, "streamId", value_.sessionId); in GetJsResult()
442 setRet = CommonNapi::SetPropertyInt32(env, result, "clientUid", value_.clientUID); in GetJsResult()
444 setRet = CommonNapi::SetPropertyInt32(env, result, "capturerState", value_.capturerState); in GetJsResult()
462 setRet = CommonNapi::SetPropertyInt32(env, captureInfo, "source", in SetAudioCapturerInfo()
465 setRet = CommonNapi::SetPropertyInt32(env, captureInfo, "capturerFlags", value_.capturerInfo.capturerFlags); in SetAudioCapturerInfo()
474 setRet = CommonNapi::SetPropertyInt32(env, element, "deviceRole", in SetDeviceProperty()
477 setRet = CommonNapi::SetPropertyInt32(env, element, "deviceType", in SetDeviceProperty()
480 setRet = CommonNapi::SetPropertyInt32(env, element, "id", value_.inputDeviceInfo.deviceId); in SetDeviceProperty()
490 setRet = CommonNapi::SetPropertyInt32(env, element, "interruptGroupId", in SetDeviceProperty()
493 setRet = CommonNapi::SetPropertyInt32(en in SetDeviceProperty()
[all...]
H A Davrecorder_napi.cpp2365 setRet = CommonNapi::SetPropertyInt32(env, result, "audioBitrate", value_->audioBitrate);
2367 setRet = CommonNapi::SetPropertyInt32(env, result, "audioChannels", value_->audioChannels);
2376 setRet = CommonNapi::SetPropertyInt32(env, result, "audioSampleRate", value_->audioSampleRate);
2385 setRet = CommonNapi::SetPropertyInt32(env, result, "videoBitrate", value_->videoBitrate);
2395 setRet = CommonNapi::SetPropertyInt32(env, result, "videoFrameWidth", value_->videoFrameWidth);
2397 setRet = CommonNapi::SetPropertyInt32(env, result, "videoFrameHeight", value_->videoFrameHeight);
2399 setRet = CommonNapi::SetPropertyInt32(env, result, "videoFrameRate", value_->videoFrameRate);
2502 setRet = CommonNapi::SetPropertyInt32(env, result, "audioSourceType", value_->audioSourceType);
2504 setRet = CommonNapi::SetPropertyInt32(env, profile, "audioBitrate", value_->profile.audioBitrate);
2506 setRet = CommonNapi::SetPropertyInt32(en
[all...]
/foundation/multimedia/player_framework/frameworks/js/common/
H A Dcommon_napi.cpp397 ret = CommonNapi::SetPropertyInt32(env, obj, key, value); in SetPropertyByValueType()
419 CHECK_AND_RETURN_RET(SetPropertyInt32(env, range, "min", min) == true, false); in AddRangeProperty()
420 CHECK_AND_RETURN_RET(SetPropertyInt32(env, range, "max", max) == true, false); in AddRangeProperty()
475 bool CommonNapi::SetPropertyInt32(napi_env env, napi_value &obj, const std::string &key, int32_t value) in SetPropertyInt32() function in OHOS::Media::CommonNapi
577 CHECK_AND_RETURN_RET(SetPropertyInt32(env, buffer, iter.first, intValue) == true, nullptr); in CreateFormatBuffer()
585 CHECK_AND_RETURN_RET(SetPropertyInt32(env, buffer, iter.first, intValue) == true, nullptr); in CreateFormatBuffer()
593 CHECK_AND_RETURN_RET(SetPropertyInt32(env, buffer, iter.first, intValue) == true, nullptr); in CreateFormatBuffer()
622 (void)SetPropertyInt32(env, result, iter.first, intValue); in CreateFormatBufferByRef()
901 SetPropertyInt32(env, result, "deviceRole", static_cast<int32_t>(deviceInfo.deviceRole_)); in SetDeviceDescriptor()
902 SetPropertyInt32(en in SetDeviceDescriptor()
[all...]
H A Dcommon_napi.h68 static bool SetPropertyInt32(napi_env env, napi_value &obj, const std::string &key, int32_t value);
200 if (!CommonNapi::SetPropertyInt32(env, result, "min", min_)) {
204 if (!CommonNapi::SetPropertyInt32(env, result, "max", max_)) {
/foundation/communication/netmanager_base/frameworks/js/napi/common/
H A Dnapi_common.h65 static void SetPropertyInt32(napi_env env, napi_value object, const std::string &propertyName, int32_t property);
H A Dnapi_common.cpp75 void NapiCommon::SetPropertyInt32( in SetPropertyInt32() function in OHOS::NetManagerStandard::NapiCommon
400 SetPropertyInt32(env, result, CODE, errorCode); in CreateErrorMessage()
/foundation/multimedia/player_framework/frameworks/js/player/
H A Dplayer_callback_napi.cpp617 CommonNapi::SetPropertyInt32(ref->env_, args[0], "eventType", in OnJsCallBackInterrupt()
619 CommonNapi::SetPropertyInt32(ref->env_, args[0], "forceType", in OnJsCallBackInterrupt()
621 CommonNapi::SetPropertyInt32(ref->env_, args[0], "hintType", in OnJsCallBackInterrupt()
/foundation/multimedia/player_framework/frameworks/js/avplayer/
H A Davplayer_callback.cpp431 CommonNapi::SetPropertyInt32(propertyIntRef->env_, args[0], it.first, it.second);
580 CommonNapi::SetPropertyInt32(subtitleRef->env_, args[0], "startTime", valueMap.pts);
581 CommonNapi::SetPropertyInt32(subtitleRef->env_, args[0], "duration", valueMap.duration);
617 bool res = CommonNapi::SetPropertyInt32(deviceChangeRef->env_, args[0], "changeReason",
H A Davplayer_napi.cpp2207 CommonNapi::SetPropertyInt32(env, result, "content", content); in JsGetAudioRendererInfo()
2208 CommonNapi::SetPropertyInt32(env, result, "usage", usage); in JsGetAudioRendererInfo()
2209 CommonNapi::SetPropertyInt32(env, result, "rendererFlags", rendererFlags); in JsGetAudioRendererInfo()
/foundation/communication/netmanager_base/frameworks/js/napi/netpolicy/src/
H A Dnapi_net_policy.cpp379 NapiCommon::SetPropertyInt32(env, elementObject, "netType", item.netType_); in GetNetQuotaPoliciesCallback()
388 NapiCommon::SetPropertyInt32(env, elementObject, "metered", static_cast<int32_t>(item.metered_)); in GetNetQuotaPoliciesCallback()

Completed in 18 milliseconds