Home
last modified time | relevance | path

Searched refs:getPreferences (Results 1 – 14 of 14) 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/Browser/src/com/android/browser/
DGoogleAccountLogin.java99 Editor ed = BrowserSettings.getInstance().getPreferences().edit(); in saveLoginTime()
255 long lastLogin = BrowserSettings.getInstance().getPreferences() in isLoggedIn()
DBrowserBookmarksPage.java330 SharedPreferences prefs = BrowserSettings.getInstance().getPreferences(); in onCreate()
353 SharedPreferences prefs = BrowserSettings.getInstance().getPreferences(); in onPause()
DSystemAllowGeolocationOrigins.java92 .getPreferences();
DBrowserSettings.java533 public SharedPreferences getPreferences() { in getPreferences() method in BrowserSettings
/packages/apps/Browser/src/com/android/browser/preferences/
DDebugPreferencesFragment.java45 BrowserSettings.getInstance().getPreferences().edit() in onPreferenceClick()
/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.java513 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()