Home
last modified time | relevance | path

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

/ohos5.0/base/update/updateservice/interfaces/inner_api/feature/update/model/download/
H A Dresume_download_options.h23 NetType allowNetwork = NetType::WIFI; member
H A Ddownload_options.h24 NetType allowNetwork = NetType::WIFI; member
/ohos5.0/base/update/updateservice/frameworks/js/napi/update/common/src/
H A Dclient_helper.cpp469 int allowNetwork = 0; in GetNetType() local
470 NapiCommonUtils::GetInt32(env, arg, "allowNetwork", allowNetwork); in GetNetType()
473 PARAM_CHECK(IsValidEnum(netTypeList, allowNetwork), return ClientStatus::CLIENT_INVALID_TYPE, in GetNetType()
474 "GetNetType error, invalid NetType:%{public}d", allowNetwork); in GetNetType()
475 netType = static_cast<NetType>(allowNetwork); in GetNetType()
503 ClientStatus ret = GetNetType(env, arg, downloadOptions.allowNetwork); in GetOptionsFromArg()
523 return GetNetType(env, arg, resumeDownloadOptions.allowNetwork); in GetOptionsFromArg()
/ohos5.0/base/update/updateservice/interfaces/inner_api/feature/update/model/message_parcel/src/
H A Dmessage_parcel_helper.cpp343 downloadOptions.allowNetwork = static_cast<NetType>(reply.ReadUint32()); in ReadDownloadOptions()
350 data.WriteUint32(static_cast<uint32_t>(downloadOptions.allowNetwork)); in WriteDownloadOptions()
371 resumeDownloadOptions.allowNetwork = static_cast<NetType>(reply.ReadUint32()); in ReadResumeDownloadOptions()
378 data.WriteUint32(static_cast<uint32_t>(resumeDownloadOptions.allowNetwork)); in WriteResumeDownloadOptions()
/ohos5.0/base/update/updateservice/services/engine/src/
H A Dupdate_service_impl_firmware.cpp70 …E_LOGI("Download allowNetwork:%{public}d order:%{public}d", CAST_INT(downloadOptions.allowNetwork), in Download()
89 DownloadMode::MANUAL, downloadOptions.allowNetwork, downloadOptions.order); in Download()
108 …MWARE_LOGI("ResumeDownload allowNetwork:%{public}d", CAST_INT(resumeDownloadOptions.allowNetwork)); in ResumeDownload()
H A Dupdate_service.cpp268 …NGINE_LOGI("ResumeDownload allowNetwork:%{public}d", CAST_INT(resumeDownloadOptions.allowNetwork)); in ResumeDownload()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-update-sys.md648 allowNetwork: update.NetType.CELLULAR, // 允许数据网络下载
701 allowNetwork: update.NetType.CELLULAR, // 允许数据网络下载
751 allowNetwork: update.NetType.CELLULAR, // 允许数据网络下载
803 allowNetwork: update.NetType.CELLULAR, // 允许数据网络下载
1836 | allowNetwork | [NetType](#nettype) | 是 | 网络类型。 |
1847 | allowNetwork | [NetType](#nettype) | 是 | 网络类型。 |
/ohos5.0/base/update/update_app/common/src/main/ets/manager/
H A DUpdateManager.ts316 allowNetwork: downloadNetwork,
343 allowNetwork: downloadNetwork
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta2/
H A Djs-apidiff-update.md80 | ohos.update | ResumeDownloadOptions | allowNetwork: NetType; | 新增 |
82 | ohos.update | DownloadOptions | allowNetwork: NetType; | 新增 |
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta2/
H A Djs-apidiff-update.md80 | ohos.update | ResumeDownloadOptions | allowNetwork: NetType; | Added|
82 | ohos.update | DownloadOptions | allowNetwork: NetType; | Added|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-update.md83 |访问级别有变化|类名:DownloadOptions;<br>方法or属性:allowNetwork: NetType;<br>旧版本信息:|类名:DownloadOptions;<br>方法or…
84 …类名:ResumeDownloadOptions;<br>方法or属性:allowNetwork: NetType;<br>旧版本信息:|类名:ResumeDownloadOptions;<br>…
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-update-sys.md648 allowNetwork: update.NetType.CELLULAR, // Whether to allow download over data network
701 allowNetwork: update.NetType.CELLULAR, // Whether to allow download over data network
751 allowNetwork: update.NetType.CELLULAR, // Whether to allow download over data network
803 allowNetwork: update.NetType.CELLULAR, // Whether to allow download over data network
1836 | allowNetwork | [NetType](#nettype) | Yes | Network type.|
1847 | allowNetwork | [NetType](#nettype) | Yes | Network type.|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-update.md130 |新增|NA|类名:DownloadOptions;<br>方法or属性:allowNetwork: NetType;|@ohos.update.d.ts|
131 |新增|NA|类名:ResumeDownloadOptions;<br>方法or属性:allowNetwork: NetType;|@ohos.update.d.ts|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/
H A Djs-apidiff-update.md83 …ttribute name: allowNetwork: NetType;<br>Old version information: |Class name: DownloadOptions;<br…
84 …ibute name: allowNetwork: NetType;<br>Old version information: |Class name: ResumeDownloadOptions;…
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-update.md130 |Added|NA|Class name: DownloadOptions;<br>Method or attribute name: allowNetwork: NetType;|@ohos.up…
131 |Added|NA|Class name: ResumeDownloadOptions;<br>Method or attribute name: allowNetwork: NetType;|@o…