Home
last modified time | relevance | path

Searched refs:CheckJsonValue (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
H A Djson_parser.cpp48 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 Dresource_application_record.cpp93 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 Ddata_storage_helper.cpp126 … 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 Dcontinuous_task_record.cpp180 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 Djson_parser.h34 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 Dcommon_utils.h26 … 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 Dhisysevent_observer.h43 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 Dhisysevent_observer.cpp78 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 Dfold_app_usage_test.cpp311 ASSERT_FALSE(JsonParser::CheckJsonValue(object, fields));