Home
last modified time | relevance | path

Searched refs:offenders (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsValidatorsTest.java251 String offenders = getOffenders(concat(Settings.System.SETTINGS_TO_BACKUP, in ensureAllBackedUpSystemSettingsHaveValidators() local
254 failIfOffendersPresent(offenders, "Settings.System"); in ensureAllBackedUpSystemSettingsHaveValidators()
259 String offenders = getOffenders(concat(Settings.Global.SETTINGS_TO_BACKUP, in ensureAllBackedUpGlobalSettingsHaveValidators() local
262 failIfOffendersPresent(offenders, "Settings.Global"); in ensureAllBackedUpGlobalSettingsHaveValidators()
267 String offenders = getOffenders(concat(Settings.Secure.SETTINGS_TO_BACKUP, in ensureAllBackedUpSecureSettingsHaveValidators() local
270 failIfOffendersPresent(offenders, "Settings.Secure"); in ensureAllBackedUpSecureSettingsHaveValidators()
273 private void failIfOffendersPresent(String offenders, String settingsType) { in failIfOffendersPresent() argument
274 if (offenders.length() > 0) { in failIfOffendersPresent()
276 + " validator, but those don't: " + offenders); in failIfOffendersPresent()
281 StringBuilder offenders = new StringBuilder(); in getOffenders() local
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java342 String offenders = getOffenders(concat(Settings.System.SETTINGS_TO_BACKUP, in ensureAllBackedUpSystemSettingsHaveValidators() local
345 failToBootIfOffendersPresent(offenders, "Settings.System"); in ensureAllBackedUpSystemSettingsHaveValidators()
349 String offenders = getOffenders(concat(Settings.Global.SETTINGS_TO_BACKUP, in ensureAllBackedUpGlobalSettingsHaveValidators() local
352 failToBootIfOffendersPresent(offenders, "Settings.Global"); in ensureAllBackedUpGlobalSettingsHaveValidators()
356 String offenders = getOffenders(concat(Settings.Secure.SETTINGS_TO_BACKUP, in ensureAllBackedUpSecureSettingsHaveValidators() local
359 failToBootIfOffendersPresent(offenders, "Settings.Secure"); in ensureAllBackedUpSecureSettingsHaveValidators()
362 private void failToBootIfOffendersPresent(String offenders, String settingsType) { in failToBootIfOffendersPresent() argument
363 if (offenders.length() > 0) { in failToBootIfOffendersPresent()
365 + " have to have a non-null validator, but those don't: " + offenders); in failToBootIfOffendersPresent()
371 StringBuilder offenders = new StringBuilder(); in getOffenders() local
[all …]