Home
last modified time | relevance | path

Searched refs:allowNetwork (Results 1 – 7 of 7) sorted by relevance

/base/update/updateservice/interfaces/kits/js/declaration/
D@ohos.update.d.ts1042 allowNetwork: NetType; property
1072 allowNetwork: NetType; property
/base/update/updateservice/services/engine/src/
Dupdate_service_impl_firmware.cpp55 …E_LOGI("Download allowNetwork:%{public}d order:%{public}d", CAST_INT(downloadOptions.allowNetwork), in Download()
67 DownloadMode::MANUAL, downloadOptions.allowNetwork, downloadOptions.order); in Download()
86 …MWARE_LOGI("ResumeDownload allowNetwork:%{public}d", CAST_INT(resumeDownloadOptions.allowNetwork)); in ResumeDownload()
Dmessage_parcel_helper.cpp335 downloadOptions.allowNetwork = static_cast<NetType>(reply.ReadUint32()); in ReadDownloadOptions()
342 data.WriteUint32(static_cast<uint32_t>(downloadOptions.allowNetwork)); in WriteDownloadOptions()
363 resumeDownloadOptions.allowNetwork = static_cast<NetType>(reply.ReadUint32()); in ReadResumeDownloadOptions()
370 data.WriteUint32(static_cast<uint32_t>(resumeDownloadOptions.allowNetwork)); in WriteResumeDownloadOptions()
Dupdate_service.cpp263 …NGINE_LOGI("ResumeDownload allowNetwork:%{public}d", CAST_INT(resumeDownloadOptions.allowNetwork)); in ResumeDownload()
/base/update/updateservice/frameworks/js/napi/base/src/
Dclient_helper.cpp427 int allowNetwork = 0; in GetNetType() local
428 NapiUtil::GetInt32(env, arg, "allowNetwork", allowNetwork); in GetNetType()
431 PARAM_CHECK(IsValidEnum(netTypeList, allowNetwork), return ClientStatus::CLIENT_INVALID_TYPE, in GetNetType()
432 "GetNetType error, invalid NetType:%{public}d", allowNetwork); in GetNetType()
433 netType = static_cast<NetType>(allowNetwork); in GetNetType()
460 ClientStatus ret = GetNetType(env, arg, downloadOptions.allowNetwork); in GetOptionsFromArg()
480 return GetNetType(env, arg, resumeDownloadOptions.allowNetwork); in GetOptionsFromArg()
/base/update/update_app/common/src/main/ets/manager/
DUpdateManager.ts316 allowNetwork: downloadNetwork,
343 allowNetwork: downloadNetwork
/base/update/updateservice/interfaces/inner_api/include/
Dupdate_helper.h327 NetType allowNetwork = NetType::WIFI; member
332 NetType allowNetwork = NetType::WIFI; member