Home
last modified time | relevance | path

Searched refs:SettingsState (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsStateTest.java51 assertFalse(SettingsState.isBinary(" abc 日本語")); in testIsBinary()
55 SettingsState.isBinary(String.valueOf(ch))); in testIsBinary()
59 SettingsState.isBinary(String.valueOf(ch))); in testIsBinary()
64 SettingsState.isBinary(String.valueOf(ch))); in testIsBinary()
68 SettingsState.isBinary(String.valueOf(ch))); in testIsBinary()
70 assertTrue(SettingsState.isBinary("\ufffe")); in testIsBinary()
71 assertTrue(SettingsState.isBinary("\uffff")); in testIsBinary()
73 assertFalse(SettingsState.isBinary(null)); in testIsBinary()
100 SettingsState.writeSingleSetting( in testWriteReadNoCrash()
101 SettingsState.SETTINGS_VERSION_NEW_ENCODING, in testWriteReadNoCrash()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java82 import com.android.providers.settings.SettingsState.Setting;
179 public static final int SETTINGS_TYPE_GLOBAL = SettingsState.SETTINGS_TYPE_GLOBAL;
180 public static final int SETTINGS_TYPE_SYSTEM = SettingsState.SETTINGS_TYPE_SYSTEM;
181 public static final int SETTINGS_TYPE_SECURE = SettingsState.SETTINGS_TYPE_SECURE;
182 public static final int SETTINGS_TYPE_SSAID = SettingsState.SETTINGS_TYPE_SSAID;
282 return SettingsState.makeKey(type, userId); in makeKey()
286 return SettingsState.getTypeFromKey(key); in getTypeFromKey()
290 return SettingsState.getUserIdFromKey(key); in getUserIdFromKey()
294 return SettingsState.settingTypeToString(type); in settingTypeToString()
298 return SettingsState.keyToString(key); in keyToString()
[all …]
DSettingsProtoDumpUtil.java39 SettingsState globalSettings = settingsRegistry.getSettingsLocked( in dumpProtoLocked()
70 SettingsState secureSettings = settingsRegistry.getSettingsLocked( in dumpProtoUserSettingsLocked()
76 SettingsState systemSettings = settingsRegistry.getSettingsLocked( in dumpProtoUserSettingsLocked()
86 @NonNull ProtoOutputStream p, long fieldId, @NonNull SettingsState s) { in dumpProtoGlobalSettingsLocked()
1485 private static void dumpRepeatedSetting(@NonNull SettingsState settings, in dumpRepeatedSetting()
1495 private static void dumpSetting(@NonNull SettingsState settings, in dumpSetting()
1497 SettingsState.Setting setting = settings.getSettingLocked(settingName); in dumpSetting()
1513 @NonNull ProtoOutputStream p, long fieldId, @NonNull SettingsState s) { in dumpProtoSecureSettingsLocked()
2280 @NonNull ProtoOutputStream p, long fieldId, @NonNull SettingsState s) { in dumpProtoSystemSettingsLocked()
DSettingsState.java83 final class SettingsState { class
249 public SettingsState(Context context, Object lock, File file, int key, in SettingsState() method in SettingsState
/frameworks/base/packages/SettingsProvider/test/
DAndroid.mk10 ../src/com/android/providers/settings/SettingsState.java \
/frameworks/base/cmds/statsd/src/
Datoms.proto1142 * frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/SettingsState.java