Searched refs:staticVersion (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | static_capability_loader_test.cpp | 287 std::string staticVersion = "1.0"; variable 306 std::string staticVersion = "1.0"; variable 324 std::string staticVersion = ""; variable 343 std::string staticVersion = "1.0"; variable 387 std::string staticVersion = "1.0"; variable 402 std::string staticVersion = ""; variable 552 std::string staticVersion = ""; variable 567 std::string staticVersion = ""; variable 583 std::string staticVersion = ""; variable 598 std::string staticVersion = ""; variable [all …]
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/staticcapabilitycollector/ |
H A D | static_capability_collector.cpp | 53 std::string staticVersion = ""; in CollectStaticCapability() local 55 …StaticCapabilityLoader::GetInstance().LoadStaticInfo(staticCapability, staticVersion, staticProfil… in CollectStaticCapability() 56 if (staticVersion.empty() || staticProfileMap.empty()) { in CollectStaticCapability() 61 AddStaticCapabilityToDB(staticVersion, staticCapability); in CollectStaticCapability() 77 int32_t StaticCapabilityCollector::AddStaticCapabilityToDB(const std::string& staticVersion, in AddStaticCapabilityToDB() argument 81 if (staticVersion.empty() || staticVersion.size() >= MAX_STRING_LEN) { in AddStaticCapabilityToDB() 95 …dStringToObject(characteristicValueJson, STATIC_CAPABILITY_VERSION.c_str(), staticVersion.c_str()); in AddStaticCapabilityToDB()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/staticcapabilityloader/ |
H A D | static_capability_loader.cpp | 127 … std::string& staticVersion, std::unordered_map<std::string, CharacteristicProfile>& charProfiles) in GetStaticInfo() argument 139 GetStaticVersion(lastStaticInfoJson, staticVersion); in GetStaticInfo() 147 …const std::string& staticVersion, std::unordered_map<std::string, CharacteristicProfile>& charProf… in GetStaticInfoByVersion() argument 158 if (staticVersion.empty() || staticVersion.size() > MAX_STRING_LEN) { in GetStaticInfoByVersion() 162 cJSON* json = GetStaticInfoJsonByVersion(staticInfoJson, staticVersion); in GetStaticInfoByVersion() 192 const std::string& staticVersion) in GetStaticInfoJsonByVersion() argument 199 if (staticVersion.empty() || staticVersion.size() > MAX_STRING_LEN) { in GetStaticInfoJsonByVersion() 225 if (StaticVersionCheck(staticVersion, version)) { in GetStaticInfoJsonByVersion() 246 staticVersion = dpVersionJson->valuestring; in GetStaticVersion() 346 if (staticVersion.empty() || staticVersion.size() > MAX_STRING_LEN) { in LoadStaticProfiles() [all …]
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/include/staticcapabilityloader/ |
H A D | static_capability_loader.h | 35 int32_t LoadStaticInfo(const std::string& staticCapability, std::string& staticVersion, 38 …const std::string& staticVersion, std::unordered_map<std::string, CharacteristicProfile>& charProf… 44 … std::string& staticVersion, std::unordered_map<std::string, CharacteristicProfile>& charProfiles); 46 const cJSON* const staticInfoJson, const std::string& staticVersion, 49 …N* GetStaticInfoJsonByVersion(const cJSON* const staticInfoJson, const std::string& staticVersion); 50 int32_t GetStaticVersion(const cJSON* const staticInfoJson, std::string& staticVersion);
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/include/staticcapabilitycollector/ |
H A D | static_capability_collector.h | 34 …int32_t AddStaticCapabilityToDB(const std::string& staticVersion, const std::string& staticCapabil…
|