Home
last modified time | relevance | path

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

/foundation/multimedia/media_standard/frameworks/kitsimpl/js/mediacapability/
Dmedia_capability_vcaps_napi.cpp323 …(void)CommonNapi::SetPropertyInt32(env, jsResult, "type", static_cast<int32_t>(codecInfo->GetType(… in GetCodecInfo()
325 (void)CommonNapi::SetPropertyInt32(env, jsResult, "isHardwareAccelerated", in GetCodecInfo()
327 (void)CommonNapi::SetPropertyInt32(env, jsResult, "isSoftwareOnly", in GetCodecInfo()
329 …(void)CommonNapi::SetPropertyInt32(env, jsResult, "isVendor", static_cast<int32_t>(codecInfo->IsVe… in GetCodecInfo()
351 …CHECK_AND_RETURN_RET(CommonNapi::SetPropertyInt32(env, jsResult, "min", range.minVal) == true, und… in SupportedBitrate()
352 …CHECK_AND_RETURN_RET(CommonNapi::SetPropertyInt32(env, jsResult, "max", range.maxVal) == true, und… in SupportedBitrate()
443 …CHECK_AND_RETURN_RET(CommonNapi::SetPropertyInt32(env, jsResult, "min", range.minVal) == true, und… in SupportedWidth()
444 …CHECK_AND_RETURN_RET(CommonNapi::SetPropertyInt32(env, jsResult, "max", range.maxVal) == true, und… in SupportedWidth()
466 …CHECK_AND_RETURN_RET(CommonNapi::SetPropertyInt32(env, jsResult, "min", range.minVal) == true, und… in SupportedHeight()
467 …CHECK_AND_RETURN_RET(CommonNapi::SetPropertyInt32(env, jsResult, "max", range.maxVal) == true, und… in SupportedHeight()
[all …]
Dmedia_capability_utils.cpp37 (void)CommonNapi::SetPropertyInt32(env, obj, "type", static_cast<int32_t>(info->GetType())); in AddCodecInfo()
39 (void)CommonNapi::SetPropertyInt32(env, obj, "isHardwareAccelerated", in AddCodecInfo()
41 …(void)CommonNapi::SetPropertyInt32(env, obj, "isSoftwareOnly", static_cast<int32_t>(info->IsSoftwa… in AddCodecInfo()
42 … (void)CommonNapi::SetPropertyInt32(env, obj, "isVendor", static_cast<int32_t>(info->IsVendor())); in AddCodecInfo()
/foundation/multimedia/media_standard/frameworks/kitsimpl/js/common/
Dcommon_napi.h44 …static bool SetPropertyInt32(napi_env env, napi_value &obj, const std::string &key, int32_t value);
121 if (!CommonNapi::SetPropertyInt32(env, result, "min", min_)) { in GetJsResult()
125 if (!CommonNapi::SetPropertyInt32(env, result, "max", max_)) { in GetJsResult()
Dcommon_napi.cpp268 CHECK_AND_RETURN_RET(SetPropertyInt32(env, range, "min", min) == true, false); in AddRangeProperty()
269 CHECK_AND_RETURN_RET(SetPropertyInt32(env, range, "max", max) == true, false); in AddRangeProperty()
306 bool CommonNapi::SetPropertyInt32(napi_env env, napi_value &obj, const std::string &key, int32_t va… in SetPropertyInt32() function in OHOS::Media::CommonNapi
372 … CHECK_AND_RETURN_RET(SetPropertyInt32(env, buffer, iter.first, intValue) == true, nullptr); in CreateFormatBuffer()
400 (void)SetPropertyInt32(env, result, iter.first, intValue); in CreateFormatBufferByRef()
/foundation/communication/netmanager_base/frameworks/js/napi/netpolicy/src/
Dnapi_net_policy_observer.cpp29 NapiCommon::SetPropertyInt32(eventListener.env, info, "policy", static_cast<int32_t>(policy)); in OnNetUidPolicyEvent()
Dnapi_net_policy.cpp385 NapiCommon::SetPropertyInt32(env, elementObject, "netType", item.netType_); in GetNetQuotaPoliciesCallback()
394 … NapiCommon::SetPropertyInt32(env, elementObject, "metered", static_cast<int32_t>(item.metered_)); in GetNetQuotaPoliciesCallback()
/foundation/communication/netmanager_base/frameworks/js/napi/netstats/src/
Dnet_stats_callback.cpp56 NapiCommon::SetPropertyInt32(listen.env, callbackValue, "uid", static_cast<int32_t>(uid)); in NetUidStatsChanged()
/foundation/communication/netmanager_base/frameworks/js/napi/common/
Dnapi_common.h66 static void SetPropertyInt32(
Dnapi_common.cpp70 void NapiCommon::SetPropertyInt32( in SetPropertyInt32() function in OHOS::NetManagerStandard::NapiCommon
/foundation/communication/netmanager_base/frameworks/js/napi/netconn/src/
Dnapi_net_conn.cpp212 NapiCommon::SetPropertyInt32(env, thisVar, "netId", netId); in DeclareNetConnNew()
272 NapiCommon::SetPropertyInt32(env, info, "family", netAddr.type_); in ReadNetAddressInfo()
273 NapiCommon::SetPropertyInt32(env, info, "port", netAddr.port_); in ReadNetAddressInfo()
282 NapiCommon::SetPropertyInt32(env, info, "prefixLength", netAddr.prefixlen_); in ReadLinkAddressInfo()
334 NapiCommon::SetPropertyInt32(env, info, "mtu", netLinkInfo.mtu_); in ReadNetLinkInfo()
/foundation/communication/netmanager_ext/frameworks/js/napi/ethernet/src/
Dnapi_ethernet.cpp167 NapiCommon::SetPropertyInt32(env, info, "mode", context->ipMode); in CompleteGetIfaceConfig()