Home
last modified time | relevance | path

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

/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dstatic_capability_loader_test.cpp235 cJSON_Delete(staticInfoJson);
254 cJSON_Delete(staticInfoJson);
274 cJSON_Delete(staticInfoJson);
293 cJSON_Delete(staticInfoJson);
330 cJSON_Delete(staticInfoJson);
349 cJSON_free(staticInfoJson);
376 cJSON_Delete(staticInfoJson);
391 cJSON_Delete(staticInfoJson);
406 cJSON_Delete(staticInfoJson);
422 cJSON_Delete(staticInfoJson);
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/staticcapabilityloader/
H A Dstatic_capability_loader.cpp130 if (!cJSON_IsObject(staticInfoJson)) { in GetStaticInfo()
154 if (!cJSON_IsObject(staticInfoJson)) { in GetStaticInfoByVersion()
174 if (!cJSON_IsObject(staticInfoJson)) { in GetLatestStaticInfoJson()
195 if (!cJSON_IsObject(staticInfoJson)) { in GetStaticInfoJsonByVersion()
258 if (!cJSON_IsObject(staticInfoJson)) { in GenerateStaticProfiles()
320 cJSON_Delete(staticInfoJson); in LoadStaticInfo()
326 cJSON_Delete(staticInfoJson); in LoadStaticInfo()
330 cJSON_Delete(staticInfoJson); in LoadStaticInfo()
359 cJSON_Delete(staticInfoJson); in LoadStaticProfiles()
366 cJSON_Delete(staticInfoJson); in LoadStaticProfiles()
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/include/staticcapabilityloader/
H A Dstatic_capability_loader.h43 int32_t GetStaticInfo(const cJSON* const staticInfoJson, const std::string& staticCapability,
46 const cJSON* const staticInfoJson, const std::string& staticVersion,
48 cJSON* GetLatestStaticInfoJson(const cJSON* const staticInfoJson);
49 …cJSON* GetStaticInfoJsonByVersion(const cJSON* const staticInfoJson, const std::string& staticVers…
50 int32_t GetStaticVersion(const cJSON* const staticInfoJson, std::string& staticVersion);
52 …const cJSON* const staticInfoJson, std::unordered_map<std::string, CharacteristicProfile>& charPro…
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/contentsensormanager/
H A Dswitch_status_collector.cpp93 int32_t SwitchStatusCollector::GenerateSwitchProfiles(const cJSON* const staticInfoJson, in GenerateSwitchProfiles() argument
96 if (!cJSON_IsObject(staticInfoJson)) { in GenerateSwitchProfiles()
100 cJSON* abilitiesJson = cJSON_GetObjectItemCaseSensitive(staticInfoJson, SWITCH_CALLERS.c_str()); in GenerateSwitchProfiles()
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/include/contentsensormanager/
H A Dswitch_status_collector.h30 int32_t GenerateSwitchProfiles(const cJSON* const staticInfoJson,