Searched refs:GetInt32FromJsonValue (Results 1 - 4 of 4) sorted by relevance
/foundation/resourceschedule/device_standby/services/test/unittest/ |
H A D | standby_utils_unit_test.cpp | 55 * @tc.desc: test GetInt32FromJsonValue. 63 bool ret = JsonUtils::GetInt32FromJsonValue(jsonValue, "", value); in HWTEST_F() 66 JsonUtils::GetInt32FromJsonValue(jsonValue, "", value); in HWTEST_F() 67 JsonUtils::GetInt32FromJsonValue(jsonValue, JSON_KEY, value); in HWTEST_F() 68 JsonUtils::GetInt32FromJsonValue(jsonValue, JSON_ERROR_KEY, value); in HWTEST_F() 70 ret = JsonUtils::GetInt32FromJsonValue(jsonValue, JSON_ERROR_KEY, value); in HWTEST_F() 72 JsonUtils::GetInt32FromJsonValue(jsonValue, JSON_KEY, value); in HWTEST_F()
|
/foundation/resourceschedule/device_standby/utils/policy/include/ |
H A D | json_utils.h | 65 static bool GetInt32FromJsonValue(const nlohmann::json& jsonValue, const std::string& key, int32_t& value);
|
/foundation/resourceschedule/device_standby/utils/policy/src/ |
H A D | json_utils.cpp | 116 bool JsonUtils::GetInt32FromJsonValue(const nlohmann::json& jsonValue, const std::string& key, int32_t& value) in GetInt32FromJsonValue() function in OHOS::DevStandbyMgr::JsonUtils
|
H A D | standby_config_manager.cpp | 687 !JsonUtils::GetInt32FromJsonValue(singleLtdAppItem, TAG_TIMER_PERIOD, timerClockApp.timerPeriod_))) { in ParseTimerResCtrlConfig() 762 !JsonUtils::GetInt32FromJsonValue(singleLtdItem, TAG_MAX_DURATION_LIM, duration)) { in ParseTimeLimitedConfig()
|
Completed in 5 milliseconds