Home
last modified time | relevance | path

Searched refs:CheckJsonValue (Results 1 - 6 of 6) sorted by relevance

/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()
/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 in OHOS::BackgroundTaskMgr::CommonUtils
/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()
/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()
/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);
/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::string> params) in CheckJsonValue() function in OHOS::ResourceSchedule::HiSysEventObserver
105 if (!CheckJsonValue(root, { "domain_", "name_" }) in OnEvent()

Completed in 3 milliseconds