/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/cache/ |
H A D | json_parser.cpp | 48 bool JsonParser::CheckJsonValue(const Json::Value& eventJson, const std::vector<std::string>& field… in CheckJsonValue() function in OHOS::HiviewDFX::JsonParser 97 if (!ParseJsonString(root, jsonStr) || !CheckJsonValue(root, PLUGIN_STATS_FIELDS)) { in ParsePluginStatsEvent() 121 if (!ParseJsonString(root, jsonStr) || !CheckJsonValue(root, SYS_USAGE_FIELDS)) { in ParseSysUsageEvent()
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/ |
H A D | resource_application_record.cpp | 93 if (!CommonUtils::CheckJsonValue(value, {"uid", "pid", "bundleName", "resourceNumber"}) || in ParseFromJson() 112 …if (!CommonUtils::CheckJsonValue(persistTime, {"resourceIndex", "isPersist", "endTime", "reason"})… in ParseFromJson()
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/common/src/ |
H A D | data_storage_helper.cpp | 126 … if (jsonObj.is_null() || !jsonObj.is_object() || !CommonUtils::CheckJsonValue(jsonObj, {PARAM})) { in ParseFastSuspendDozeTime() 131 … if (param.is_null() || !param.is_object() || !CommonUtils::CheckJsonValue(param, {FAST_FROZEN})) { in ParseFastSuspendDozeTime() 137 !CommonUtils::CheckJsonValue(fastFrozen, {ENABLE, DOZE_TIME})) { in ParseFastSuspendDozeTime()
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/ |
H A D | continuous_task_record.cpp | 180 if (value.is_null() || !value.is_object() || !CommonUtils::CheckJsonValue(value, { "bundleName", in ParseFromJson() 208 if (!CommonUtils::CheckJsonValue(infoVal, { "bundleName", "abilityName" }) in ParseFromJson()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/cache/include/ |
H A D | json_parser.h | 34 static bool CheckJsonValue(const Json::Value& value, const std::vector<std::string>& fields);
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/common/include/ |
H A D | common_utils.h | 26 … static bool CheckJsonValue(const nlohmann::json &value, std::initializer_list<std::string> params) in CheckJsonValue() function
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/observer/include/ |
H A D | hisysevent_observer.h | 43 bool CheckJsonValue(const nlohmann::json& value, std::initializer_list<std::string> params);
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/observer/src/ |
H A D | hisysevent_observer.cpp | 78 bool HiSysEventObserver::CheckJsonValue(const nlohmann::json& value, std::initializer_list<std::str… in CheckJsonValue() function in OHOS::ResourceSchedule::HiSysEventObserver 105 if (!CheckJsonValue(root, { "domain_", "name_" }) in OnEvent()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/test/unittest/ |
H A D | fold_app_usage_test.cpp | 311 ASSERT_FALSE(JsonParser::CheckJsonValue(object, fields));
|