Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/settings/
DAppUpgrader.java107 SharedPreferences defaultPreferences = settingsManager.getDefaultPreferences(); in getLastVersion() local
108 if (defaultPreferences.contains(OLD_KEY_UPGRADE_VERSION)) { in getLastVersion()
109 Map<String, ?> allPrefs = defaultPreferences.getAll(); in getLastVersion()
111 defaultPreferences.edit().remove(OLD_KEY_UPGRADE_VERSION).apply(); in getLastVersion()
175 SharedPreferences defaultPreferences = settingsManager.getDefaultPreferences(); in upgradeTypesToStrings() local
180 if (defaultPreferences.contains(Keys.KEY_RECORD_LOCATION)) { in upgradeTypesToStrings()
181 boolean location = removeBoolean(defaultPreferences, Keys.KEY_RECORD_LOCATION); in upgradeTypesToStrings()
186 if (defaultPreferences.contains(Keys.KEY_USER_SELECTED_ASPECT_RATIO)) { in upgradeTypesToStrings()
187 boolean userSelectedAspectRatio = removeBoolean(defaultPreferences, in upgradeTypesToStrings()
194 if (defaultPreferences.contains(Keys.KEY_EXPOSURE_COMPENSATION_ENABLED)) { in upgradeTypesToStrings()
[all …]
/packages/apps/TV/src/com/android/tv/util/account/
DAccountHelperImpl.java102 SharedPreferences defaultPreferences = in selectAccount() local
104 defaultPreferences.edit().putString(SELECTED_ACCOUNT, account.name).commit(); in selectAccount()