Home
last modified time | relevance | path

Searched refs:businessSubType (Results 1 - 2 of 2) sorted by relevance

/base/update/updateservice/services/engine/src/
H A Dupdate_service_cache.cpp37 bool UpdateServiceCache::IsTypelegal(BusinessSubType businessSubType) in IsTypelegal() argument
39 bool isLegal = businessSubType == BusinessSubType::FIRMWARE || businessSubType == BusinessSubType::PARAM; in IsTypelegal()
41 ENGINE_LOGI("IsTypelegal type %{public}d", CAST_INT(businessSubType)); in IsTypelegal()
46 bool UpdateServiceCache::IsParamType(BusinessSubType businessSubType) in IsParamType() argument
48 return businessSubType == BusinessSubType::PARAM; in IsParamType()
51 UpgradeInfo UpdateServiceCache::GetUpgradeInfo(BusinessSubType businessSubType) in GetUpgradeInfo() argument
53 if (!IsTypelegal(businessSubType)) { in GetUpgradeInfo()
58 return IsParamType(businessSubType) ? paramUpgradeInfo_ : upgradeInfo_; in GetUpgradeInfo()
74 uint64_t UpdateServiceCache::GetCheckInterval(BusinessSubType businessSubType) in GetCheckInterval() argument
83 SetCheckInterval(BusinessSubType businessSubType, uint64_t interval) SetCheckInterval() argument
96 GetDownloadInterval(BusinessSubType businessSubType) GetDownloadInterval() argument
105 SetDownloadInterval(BusinessSubType businessSubType, uint64_t interval) SetDownloadInterval() argument
118 GetUpgradeInterval(BusinessSubType businessSubType) GetUpgradeInterval() argument
128 SetUpgradeStartTime(BusinessSubType businessSubType, uint64_t time) SetUpgradeStartTime() argument
141 SetUpgradeEndTime(BusinessSubType businessSubType, uint64_t time) SetUpgradeEndTime() argument
[all...]
/base/update/updateservice/services/engine/include/
H A Dupdate_service_cache.h29 static UpgradeInfo GetUpgradeInfo(BusinessSubType businessSubType);
31 static uint64_t GetCheckInterval(BusinessSubType businessSubType);
32 static void SetCheckInterval(BusinessSubType businessSubType, uint64_t interval);
33 static uint64_t GetDownloadInterval(BusinessSubType businessSubType);
34 static void SetDownloadInterval(BusinessSubType businessSubType, uint64_t interval);
35 static UpgradeInterval GetUpgradeInterval(BusinessSubType businessSubType);
36 static void SetUpgradeStartTime(BusinessSubType businessSubType, uint64_t time);
37 static void SetUpgradeEndTime(BusinessSubType businessSubType, uint64_t time);
40 static bool IsTypelegal(BusinessSubType businessSubType);
41 static bool IsParamType(BusinessSubType businessSubType);
[all...]

Completed in 2 milliseconds