Searched refs:CheckJsonValue (Results 1 - 6 of 6) sorted by relevance
/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()
|
/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 in OHOS::BackgroundTaskMgr::CommonUtils
|
/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()
|
/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()
|
/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);
|
/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::string> params) in CheckJsonValue() function in OHOS::ResourceSchedule::HiSysEventObserver 105 if (!CheckJsonValue(root, { "domain_", "name_" }) in OnEvent()
|
Completed in 3 milliseconds