Lines Matching refs:sharedPrefs
68 private static void addToStringSet(SharedPreferences sharedPrefs,
70 Set<String> strings = sharedPrefs.getStringSet(key, null);
81 SharedPreferences sharedPrefs, PendingInstallShortcutInfo info) {
101 SharedPreferences.Editor editor = sharedPrefs.edit();
102 addToStringSet(sharedPrefs, editor, APPS_PENDING_INSTALL, json.toString());
111 SharedPreferences sharedPrefs) {
113 Set<String> strings = sharedPrefs.getStringSet(APPS_PENDING_INSTALL, null);
150 sharedPrefs.edit().putStringSet(APPS_PENDING_INSTALL, new HashSet<String>()).commit();
280 final SharedPreferences sharedPrefs, int[] result) {
302 final int newAppsScreen = sharedPrefs.getInt(
304 SharedPreferences.Editor editor = sharedPrefs.edit();
306 addToStringSet(sharedPrefs,