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.java85 import com.android.providers.settings.SettingsState.Setting;
187 public static final int SETTINGS_TYPE_GLOBAL = SettingsState.SETTINGS_TYPE_GLOBAL;
188 public static final int SETTINGS_TYPE_SYSTEM = SettingsState.SETTINGS_TYPE_SYSTEM;
189 public static final int SETTINGS_TYPE_SECURE = SettingsState.SETTINGS_TYPE_SECURE;
190 public static final int SETTINGS_TYPE_SSAID = SettingsState.SETTINGS_TYPE_SSAID;
191 public static final int SETTINGS_TYPE_CONFIG = SettingsState.SETTINGS_TYPE_CONFIG;
294 return SettingsState.makeKey(type, userId); in makeKey()
298 return SettingsState.getTypeFromKey(key); in getTypeFromKey()
302 return SettingsState.getUserIdFromKey(key); in getUserIdFromKey()
306 return SettingsState.settingTypeToString(type); in settingTypeToString()
[all …]
DSettingsProtoDumpUtil.java38 SettingsState configSettings = settingsRegistry.getSettingsLocked( in dumpProtoLocked()
45 SettingsState globalSettings = settingsRegistry.getSettingsLocked( in dumpProtoLocked()
76 SettingsState secureSettings = settingsRegistry.getSettingsLocked( in dumpProtoUserSettingsLocked()
82 SettingsState systemSettings = settingsRegistry.getSettingsLocked( in dumpProtoUserSettingsLocked()
92 @NonNull ProtoOutputStream p, long fieldId, @NonNull SettingsState s) { in dumpProtoGlobalSettingsLocked()
1610 private static void dumpRepeatedSetting(@NonNull SettingsState settings, in dumpRepeatedSetting()
1620 private static void dumpSetting(@NonNull SettingsState settings, in dumpSetting()
1622 SettingsState.Setting setting = settings.getSettingLocked(settingName); in dumpSetting()
1638 @NonNull ProtoOutputStream p, long fieldId, @NonNull SettingsState s) { in dumpProtoSecureSettingsLocked()
2507 @NonNull ProtoOutputStream p, long fieldId, @NonNull SettingsState s) { in dumpProtoSystemSettingsLocked()
DSettingsState.java84 final class SettingsState { class
254 public SettingsState(Context context, Object lock, File file, int key, in SettingsState() method in SettingsState
/frameworks/base/packages/SettingsProvider/
DAndroid.bp24 "src/com/android/providers/settings/SettingsState.java",
/frameworks/base/cmds/statsd/src/
Datoms.proto2903 * frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/SettingsState.java