Home
last modified time | relevance | path

Searched refs:IsValidKey (Results 1 – 7 of 7) sorted by relevance

/base/powermgr/power_manager/services/native/src/setting/
Dsetting_helper.cpp26 …return SettingProvider::GetInstance(POWER_MANAGER_SERVICE_ID).IsValidKey(SETTING_DISPLAY_OFF_TIME_… in IsDisplayOffTimeSettingValid()
73 …return SettingProvider::GetInstance(POWER_MANAGER_SERVICE_ID).IsValidKey(SETTING_AUTO_ADJUST_BRIGH… in IsAutoAdjustBrightnessSettingValid()
88 … return SettingProvider::GetInstance(POWER_MANAGER_SERVICE_ID).IsValidKey(SETTING_BRIGHTNESS_KEY); in IsBrightnessSettingValid()
103 return SettingProvider::GetInstance(POWER_MANAGER_SERVICE_ID).IsValidKey(SETTING_VIBRATION_KEY); in IsVibrationSettingValid()
117 …return SettingProvider::GetInstance(POWER_MANAGER_SERVICE_ID).IsValidKey(SETTING_WINDOW_ROTATION_K… in IsWindowRotationSettingValid()
152 …return SettingProvider::GetInstance(POWER_MANAGER_SERVICE_ID).IsValidKey(SETTING_POWER_SUSPEND_SOU… in IsSuspendSourcesSettingValid()
199 …return SettingProvider::GetInstance(POWER_MANAGER_SERVICE_ID).IsValidKey(SETTING_POWER_WAKEUP_SOUR… in IsWakeupSourcesSettingValid()
/base/startup/init/simulator/parameter/src/param_impl_posix/
Dparam_impl_posix.c53 static boolean IsValidKey(const char* key) in IsValidKey() function
69 if (!IsValidKey(key) || (value == NULL) || (len > MAX_GET_VALUE_LEN)) { in GetSysParam()
108 if (!IsValidKey(key) || !IsValidValue(value, MAX_VALUE_LEN)) { in SetSysParam()
/base/hiviewdfx/hilog/services/hilogd/
Dlog_domains.cpp86 return g_DomainList.IsValidKey((domain & OS_SUB_DOMAIN_MASK)); in IsValidDomain()
/base/powermgr/power_manager/utils/setting/include/
Dsetting_provider.h37 bool IsValidKey(const std::string& key);
/base/hiviewdfx/hilog/frameworks/libhilog/utils/include/
Dlog_utils.h59 bool IsValidKey(K key) const in IsValidKey() function
/base/powermgr/power_manager/test/unittest/src/
Dpower_mgr_util_test.cpp200 settingProvider.IsValidKey("settings.power.suspend_sources");
/base/powermgr/power_manager/utils/setting/src/
Dsetting_provider.cpp106 bool SettingProvider::IsValidKey(const std::string& key) in IsValidKey() function in OHOS::PowerMgr::SettingProvider