/ohos5.0/base/update/updateservice/interfaces/inner_api/feature/update/model/download/ |
H A D | resume_download_options.h | 23 NetType allowNetwork = NetType::WIFI; member
|
H A D | download_options.h | 24 NetType allowNetwork = NetType::WIFI; member
|
/ohos5.0/base/update/updateservice/frameworks/js/napi/update/common/src/ |
H A D | client_helper.cpp | 469 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 D | message_parcel_helper.cpp | 343 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 D | update_service_impl_firmware.cpp | 70 …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 D | update_service.cpp | 268 …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 D | js-apis-update-sys.md | 648 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 D | UpdateManager.ts | 316 allowNetwork: downloadNetwork, 343 allowNetwork: downloadNetwork
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta2/ |
H A D | js-apidiff-update.md | 80 | ohos.update | ResumeDownloadOptions | allowNetwork: NetType; | 新增 | 82 | ohos.update | DownloadOptions | allowNetwork: NetType; | 新增 |
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta2/ |
H A D | js-apidiff-update.md | 80 | 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 D | js-apidiff-update.md | 83 |访问级别有变化|类名: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 D | js-apis-update-sys.md | 648 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 D | js-apidiff-update.md | 130 |新增|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 D | js-apidiff-update.md | 83 …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 D | js-apidiff-update.md | 130 |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…
|