Home
last modified time | relevance | path

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

/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_utils_unit_test.cpp77 * @tc.desc: test GetBoolFromJsonValue.
85 bool ret = JsonUtils::GetBoolFromJsonValue(jsonValue, "", value); in HWTEST_F()
88 JsonUtils::GetBoolFromJsonValue(jsonValue, "", value); in HWTEST_F()
89 JsonUtils::GetBoolFromJsonValue(jsonValue, JSON_KEY, value); in HWTEST_F()
90 JsonUtils::GetBoolFromJsonValue(jsonValue, JSON_ERROR_KEY, value); in HWTEST_F()
92 ret = JsonUtils::GetBoolFromJsonValue(jsonValue, JSON_ERROR_KEY, value); in HWTEST_F()
94 JsonUtils::GetBoolFromJsonValue(jsonValue, JSON_KEY, value); in HWTEST_F()
/foundation/resourceschedule/device_standby/utils/policy/include/
H A Djson_utils.h75 static bool GetBoolFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, bool& value);
/foundation/resourceschedule/device_standby/utils/policy/src/
H A Djson_utils.cpp128 bool JsonUtils::GetBoolFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, bool& value) in GetBoolFromJsonValue() function in OHOS::DevStandbyMgr::JsonUtils
H A Dstandby_config_manager.cpp686 (!JsonUtils::GetBoolFromJsonValue(singleLtdAppItem, TAG_TIMER_CLOCK, timerClockApp.isTimerClock_) && in ParseTimerResCtrlConfig()

Completed in 3 milliseconds