Home
last modified time | relevance | path

Searched refs:NetType (Results 1 – 5 of 5) sorted by relevance

/base/update/updateservice/interfaces/kits/js/declaration/
D@ohos.update.d.ts527 allowNetwork: NetType;
548 allowNetwork: NetType;
907 export enum NetType { enum
/base/update/updateservice/interfaces/inner_api/include/
Dupdate_helper.h122 enum class NetType { enum
261 NetType allowNetwork = NetType::WIFI;
266 NetType allowNetwork = NetType::WIFI;
/base/update/updateservice/frameworks/js/napi/base/src/
Dclient_helper.cpp442 ClientStatus ClientHelper::GetNetType(napi_env env, const napi_value arg, NetType &netType) in GetNetType()
446 …static const std::list netTypeList = {NetType::CELLULAR, NetType::METERED_WIFI, NetType::NOT_METER… in GetNetType()
447 NetType::WIFI, NetType::CELLULAR_AND_WIFI}; in GetNetType()
450 netType = static_cast<NetType>(allowNetwork); in GetNetType()
/base/update/updateservice/frameworks/js/napi/base/include/
Dclient_helper.h219 static ClientStatus GetNetType(napi_env env, const napi_value arg, NetType &netType);
/base/update/updateservice/services/engine/src/
Dupdate_helper.cpp335 downloadOptions.allowNetwork = static_cast<NetType>(reply.ReadUint32()); in ReadDownloadOptions()
361 resumeDownloadOptions.allowNetwork = static_cast<NetType>(reply.ReadUint32()); in ReadResumeDownloadOptions()