Home
last modified time | relevance | path

Searched refs:getPreferences (Results 1 – 11 of 11) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DMailAppProvider.java325 return getPreferences().getString(LAST_VIEWED_ACCOUNT_KEY, null); in getLastViewedAccount()
332 final SharedPreferences.Editor editor = getPreferences().edit(); in setLastViewedAccount()
342 return getPreferences().getString(LAST_SENT_FROM_ACCOUNT_KEY, null); in getLastSentFromAccount()
350 final SharedPreferences.Editor editor = getPreferences().edit(); in setLastSentFromAccount()
358 final String accountsJson = getPreferences().getString(ACCOUNT_LIST_KEY, null); in loadCachedAccountList()
412 final SharedPreferences.Editor editor = getPreferences().edit(); in cacheAccountList()
417 private SharedPreferences getPreferences() { in getPreferences() method in MailAppProvider
/packages/apps/Email/provider_src/com/android/email/
DPreferences.java101 public static synchronized Preferences getPreferences(Context context) { in getPreferences() method in Preferences
109 return getPreferences(context).mSharedPreferences; in getSharedPreferences()
113 return getPreferences(context).mSharedPreferences.getString(ACCOUNT_UUIDS, null); in getLegacyBackupPreference()
117 getPreferences(context).mSharedPreferences.edit().remove(ACCOUNT_UUIDS).apply(); in clearLegacyBackupPreference()
DDebugUtils.java18 final Preferences prefs = Preferences.getPreferences(context); in init()
32 Preferences prefs = Preferences.getPreferences(context); in updateLoggingFlags()
/packages/apps/ContactsCommon/src/com/android/contacts/common/preference/
DPreferenceManager.java23 List<Preference> getPreferences(); in getPreferences() method
DDisplayOptionsPreferenceFragment.java83 for (Preference preference : preferenceManager.getPreferences()) { in addExtraPreferences()
/packages/apps/Email/src/com/android/email/activity/setup/
DDebugFragment.java55 mPreferences = Preferences.getPreferences(context); in onCreateView()
/packages/apps/Email/src/com/android/email/preferences/
DEmailPreferenceMigrator.java73 final Preferences preferences = Preferences.getPreferences(context); in migrate()
/packages/apps/Email/provider_src/com/android/email/service/
DEmailBroadcastProcessorService.java311 final Preferences pref = Preferences.getPreferences(this); in performOneTimeInitialization()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapStore.java228 String devUID = Preferences.getPreferences(context).getDeviceUID(); in getImapId()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java494 final SharedPreferences preferences = getActivity().getPreferences( in onCreateDialog()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java2293 Preferences.getPreferences(getContext()).setLastUsedAccountId(accountId); in call()
3735 Preferences.getPreferences(getContext()).getLastUsedAccountId(); in addCombinedAccountRow()