Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java121 public static final int MAX_LENGTH_PER_STRING = 32768; field in SettingsState
862 final boolean isNameTooLong = name.length() > SettingsState.MAX_LENGTH_PER_STRING; in insertSettingLocked()
864 value != null && value.length() > SettingsState.MAX_LENGTH_PER_STRING; in insertSettingLocked()
871 + MAX_LENGTH_PER_STRING + "."; in insertSettingLocked()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsStateTest.java652 final String largeKey = Strings.repeat("A", SettingsState.MAX_LENGTH_PER_STRING + 1); in testLargeSettingKey()
679 final String largeValue = Strings.repeat("A", SettingsState.MAX_LENGTH_PER_STRING + 1); in testLargeSettingValue()