Searched refs:IsValidKey (Results 1 – 7 of 7) sorted by relevance
26 …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()
53 static boolean IsValidKey(const char* key) in IsValidKey() function69 if (!IsValidKey(key) || (value == NULL) || (len > MAX_GET_VALUE_LEN)) { in GetSysParam()108 if (!IsValidKey(key) || !IsValidValue(value, MAX_VALUE_LEN)) { in SetSysParam()
86 return g_DomainList.IsValidKey((domain & OS_SUB_DOMAIN_MASK)); in IsValidDomain()
37 bool IsValidKey(const std::string& key);
59 bool IsValidKey(K key) const in IsValidKey() function
200 settingProvider.IsValidKey("settings.power.suspend_sources");
106 bool SettingProvider::IsValidKey(const std::string& key) in IsValidKey() function in OHOS::PowerMgr::SettingProvider