/foundation/multimedia/media_standard/frameworks/kitsimpl/js/mediacapability/ |
D | media_capability_vcaps_napi.cpp | 323 …(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 …]
|
D | media_capability_utils.cpp | 37 (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/ |
D | common_napi.h | 44 …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()
|
D | common_napi.cpp | 268 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/ |
D | napi_net_policy_observer.cpp | 29 NapiCommon::SetPropertyInt32(eventListener.env, info, "policy", static_cast<int32_t>(policy)); in OnNetUidPolicyEvent()
|
D | napi_net_policy.cpp | 385 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/ |
D | net_stats_callback.cpp | 56 NapiCommon::SetPropertyInt32(listen.env, callbackValue, "uid", static_cast<int32_t>(uid)); in NetUidStatsChanged()
|
/foundation/communication/netmanager_base/frameworks/js/napi/common/ |
D | napi_common.h | 66 static void SetPropertyInt32(
|
D | napi_common.cpp | 70 void NapiCommon::SetPropertyInt32( in SetPropertyInt32() function in OHOS::NetManagerStandard::NapiCommon
|
/foundation/communication/netmanager_base/frameworks/js/napi/netconn/src/ |
D | napi_net_conn.cpp | 212 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/ |
D | napi_ethernet.cpp | 167 NapiCommon::SetPropertyInt32(env, info, "mode", context->ipMode); in CompleteGetIfaceConfig()
|