Home
last modified time | relevance | path

Searched refs:GetInt32FromJsonValue (Results 1 - 4 of 4) sorted by relevance

/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_utils_unit_test.cpp55 * @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 Djson_utils.h65 static bool GetInt32FromJsonValue(const nlohmann::json& jsonValue, const std::string& key, int32_t& value);
/foundation/resourceschedule/device_standby/utils/policy/src/
H A Djson_utils.cpp116 bool JsonUtils::GetInt32FromJsonValue(const nlohmann::json& jsonValue, const std::string& key, int32_t& value) in GetInt32FromJsonValue() function in OHOS::DevStandbyMgr::JsonUtils
H A Dstandby_config_manager.cpp687 !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