/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | CameraPreference.java | 54 public SharedPreferences getSharedPreferences() { method in class:CameraPreference
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/testing/ |
H A D | InjectedServices.java | 53 public SharedPreferences getSharedPreferences() { method in class:InjectedServices
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
H A D | CityDAO.java | 64 final SharedPreferences prefs = getSharedPreferences(context); 83 final SharedPreferences prefs = getSharedPreferences(context); 153 private static SharedPreferences getSharedPreferences(Context context) { method in class:CityDAO
|
H A D | SettingsDAO.java | 52 final SharedPreferences prefs = getSharedPreferences(context); 63 final SharedPreferences prefs = getSharedPreferences(context); 72 final SharedPreferences prefs = getSharedPreferences(context); 80 final SharedPreferences prefs = getSharedPreferences(context); 92 final SharedPreferences prefs = getSharedPreferences(context); 118 final SharedPreferences prefs = getSharedPreferences(context); 128 final SharedPreferences prefs = getSharedPreferences(context); 137 final SharedPreferences prefs = getSharedPreferences(context); 143 final SharedPreferences prefs = getSharedPreferences(context); 150 private static SharedPreferences getSharedPreferences(Contex method in class:SettingsDAO [all...] |
H A D | StopwatchDAO.java | 62 final SharedPreferences prefs = getSharedPreferences(context); 74 final SharedPreferences prefs = getSharedPreferences(context); 94 final SharedPreferences prefs = getSharedPreferences(context); 129 getSharedPreferences(context).edit() 139 final SharedPreferences prefs = getSharedPreferences(context); 151 private static SharedPreferences getSharedPreferences(Context context) { method in class:StopwatchDAO
|
H A D | TimerDAO.java | 76 final SharedPreferences prefs = getSharedPreferences(context); 109 final SharedPreferences prefs = getSharedPreferences(context); 142 final SharedPreferences prefs = getSharedPreferences(context); 162 final SharedPreferences prefs = getSharedPreferences(context); 190 final SharedPreferences prefs = getSharedPreferences(context); 194 private static SharedPreferences getSharedPreferences(Context context) { method in class:TimerDAO
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
H A D | ConfirmDeletionDialog.java | 74 SharedPreferences.Editor editor = getSharedPreferences().edit(); 111 SharedPreferences sp = getSharedPreferences(); 117 private SharedPreferences getSharedPreferences() { method in class:ConfirmDeletionDialog 118 return getContext().getSharedPreferences(Constants.SHARED_PREFERENCE_NAME,
|
H A D | StorageManagerUpsellDialog.java | 81 SharedPreferences sp = getSharedPreferences(getContext()); 95 SharedPreferences sp = getSharedPreferences(getContext()); 118 long nextTimeToShow = getSharedPreferences(context).getLong(NEXT_SHOW_TIME, 0); 127 private static SharedPreferences getSharedPreferences(Context context) { method in class:StorageManagerUpsellDialog 128 return context.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE);
|
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | ContactsActivity.java | 55 public SharedPreferences getSharedPreferences(String name, int mode) { method in class:ContactsActivity 58 SharedPreferences prefs = services.getSharedPreferences(); 64 return super.getSharedPreferences(name, mode);
|
H A D | ContactsApplication.java | 75 public SharedPreferences getSharedPreferences(String name, int mode) { method in class:ContactsApplication 77 SharedPreferences prefs = sInjectedServices.getSharedPreferences(); 83 return super.getSharedPreferences(name, mode);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | ContactListFilterController.java | 89 mFilter = ContactListFilter.restoreDefaultPreferences(getSharedPreferences()); 108 private SharedPreferences getSharedPreferences() { method in class:ContactListFilterControllerImpl 122 ContactListFilter.storeToPreferences(getSharedPreferences(), mFilter); 151 ContactListFilter.restoreDefaultPreferences(getSharedPreferences()),
|
/packages/apps/TV/src/com/android/tv/util/ |
H A D | RecurringRunner.java | 113 private SharedPreferences getSharedPreferences() { method in class:RecurringRunner 114 return mContext.getSharedPreferences(SharedPreferencesUtils.SHARED_PREF_RECURRING_RUNNER, 122 long next = getSharedPreferences().getLong(mName, System.currentTimeMillis()); 131 getSharedPreferences().edit().putLong(mName, next).apply();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
H A D | SubScreenFragment.java | 79 final SharedPreferences getSharedPreferences() { method in class:SubScreenFragment 80 return getPreferenceManager().getSharedPreferences(); 119 getSharedPreferences().registerOnSharedPreferenceChangeListener( 125 getSharedPreferences().unregisterOnSharedPreferenceChangeListener(
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | LocalBluetoothPreferences.java | 56 private static SharedPreferences getSharedPreferences(Context context) { method in class:LocalBluetoothPreferences 57 return context.getSharedPreferences(SHARED_PREFERENCES_NAME, Context.MODE_PRIVATE); 61 return getSharedPreferences(context).getLong( 86 SharedPreferences sharedPreferences = getSharedPreferences(context); 136 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); 145 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); 155 SharedPreferences.Editor editor = getSharedPreferences(context).edit(); 165 return getSharedPreferences(context).contains(KEY_DOCK_AUTO_CONNECT + addr); 169 return getSharedPreferences(context).getBoolean(KEY_DOCK_AUTO_CONNECT + addr, 174 SharedPreferences.Editor editor = getSharedPreferences(contex [all...] |
/packages/apps/TV/src/com/android/tv/receiver/ |
H A D | AudioCapabilitiesReceiver.java | 123 private SharedPreferences getSharedPreferences() { method in class:AudioCapabilitiesReceiver 124 return mContext.getSharedPreferences(SharedPreferencesUtils.SHARED_PREF_AUDIO_CAPABILITIES, 129 return getSharedPreferences().getBoolean(key, def); 133 getSharedPreferences().edit().putBoolean(key, val).apply(); 137 return getSharedPreferences().getInt(key, def); 141 getSharedPreferences().edit().putInt(key, val).apply();
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/ |
H A D | UsbTunerPreferences.java | 56 return getSharedPreferences(context) 65 getSharedPreferences(context).edit() 75 return getSharedPreferences(context) 84 getSharedPreferences(context).edit() 94 return getSharedPreferences(context) 103 getSharedPreferences(context).edit() 113 return getSharedPreferences(context) 122 getSharedPreferences(context).edit() 128 private static SharedPreferences getSharedPreferences(Context context) { method in class:UsbTunerPreferences 129 return context.getSharedPreferences(SHARED_PREFS_NAM [all...] |
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/ |
H A D | MyMockContext.java | 109 public SharedPreferences getSharedPreferences(String name, int mode) { method in class:MyMockContext 110 return mRealTestContext.getSharedPreferences(name, mode); 130 SharedPreferences prefs = mRealTestContext.getSharedPreferences(
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | VisualVoicemailSmsFilterConfig.java | 78 private static SharedPreferences getSharedPreferences(Context context) { method in class:VisualVoicemailSmsFilterConfig 97 mPrefsEditor = getSharedPreferences(context).edit(); 137 mPrefs = getSharedPreferences(context);
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | CalendarUtils.java | 126 SharedPreferences prefs = getSharedPreferences((Context)cookie, mPrefsName); 223 SharedPreferences prefs = getSharedPreferences(context, mPrefsName); 273 SharedPreferences prefs = getSharedPreferences(context, mPrefsName); 331 // SharedPreferences prefs = getSharedPreferences(context); 346 // SharedPreferences prefs = getSharedPreferences(context, prefsName); 353 public static SharedPreferences getSharedPreferences(Context context, String prefsName) { method in class:CalendarUtils 354 return context.getSharedPreferences(prefsName, Context.MODE_PRIVATE);
|
H A D | GeneralPreferences.java | 133 public static SharedPreferences getSharedPreferences(Context context) { method in class:GeneralPreferences 134 return context.getSharedPreferences(SHARED_PREFS_NAME, Context.MODE_PRIVATE); 152 final SharedPreferences sharedPreferences = getSharedPreferences(activity); 191 SharedPreferences prefs = CalendarUtils.getSharedPreferences(activity, 252 getPreferenceScreen().getSharedPreferences() 273 getPreferenceScreen().getSharedPreferences()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
H A D | DbTestUtils.java | 74 public SharedPreferences getSharedPreferences(String name, int mode) { method in class:DbTestUtils.FakeContext 78 return super.getSharedPreferences(name, mode);
|
/packages/apps/Email/tests/src/com/android/email/ |
H A D | DBTestHelper.java | 206 public SharedPreferences getSharedPreferences(String name, int mode) { method in class:DBTestHelper.ProviderContextSetupHelper.MyIsolatedContext
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
H A D | VersionedPrefs.java | 64 mSharedPreferences = context.getSharedPreferences(sharedPrefsName, Context.MODE_PRIVATE); 98 protected SharedPreferences getSharedPreferences() { method in class:VersionedPrefs 194 final SharedPreferences sharedPreferences = getSharedPreferences(); 263 final Map<String, ?> allPrefs = getSharedPreferences().getAll();
|
/packages/apps/Email/provider_src/com/android/email/ |
H A D | Preferences.java | 92 mSharedPreferences = context.getSharedPreferences(PREFERENCES_FILE, Context.MODE_PRIVATE); 108 public static SharedPreferences getSharedPreferences(Context context) { method in class:Preferences
|
/packages/apps/Settings/tests/unit/src/com/android/settings/ |
H A D | TetherServiceTest.java | 362 public SharedPreferences getSharedPreferences(String name, int mode) { method in class:TetherServiceTest.TestContextWrapper 367 return super.getSharedPreferences(name, mode);
|