Home
last modified time | relevance | path

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

12

/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/ThemePicker/src/com/android/customization/module/
DDefaultCustomizationInjector.java46 public synchronized WallpaperPreferences getPreferences(Context context) { in getPreferences() method in DefaultCustomizationInjector
56 return (CustomizationPreferences) getPreferences(context); in getCustomizationPreferences()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDailyLoggingAlarmReceiver.java56 WallpaperPreferences preferences = injector.getPreferences(appContext); in onReceive()
98 WallpaperPreferences preferences = injector.getPreferences(appContext); in logDailyWallpaperRotationStatus()
DDefaultRotatingWallpaperComponentChecker.java40 WallpaperPreferences preferences = injector.getPreferences(context); in getCurrentRotatingWallpaperComponent()
DDailyLoggingAlarmScheduler.java42 WallpaperPreferences preferences = injector.getPreferences(appContext); in setAlarm()
DInjector.java69 WallpaperPreferences getPreferences(Context context); in getPreferences() method
DBaseWallpaperInjector.java64 public synchronized WallpaperPreferences getPreferences(Context context) { in getPreferences() method in BaseWallpaperInjector
DDefaultWallpaperRefresher.java64 mWallpaperPreferences = injector.getPreferences(mAppContext); in DefaultWallpaperRefresher()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperPickerDelegate.java93 mPreferences = injector.getPreferences(activity); in WallpaperPickerDelegate()
374 public WallpaperPreferences getPreferences() { in getPreferences() method in WallpaperPickerDelegate
DWallpaperDisabledFragment.java83 … WallpaperPreferences preferences = InjectorProvider.getInjector().getPreferences(getActivity()); in onResume()
DTopLevelPickerActivity.java627 String currentlySetCollectionId = mDelegate.getPreferences().getHomeWallpaperCollectionId(); in populateCategoryTabs()
866 mDelegate.getPreferences().setPendingWallpaperSetStatus( in setCustomPhotoWallpaper()
892 mDelegate.getPreferences().setPendingWallpaperSetStatus( in setCustomPhotoWallpaper()
DPreviewFragment.java221 injector.getPreferences(appContext), mUserEventLogger, mTestingModeEnabled); in onCreate()
393 InjectorProvider.getInjector().getPreferences(getActivity()); in onResume()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment.java245 mWallpaperPreferences = injector.getPreferences(appContext); in onCreate()
411 … WallpaperPreferences preferences = InjectorProvider.getInjector().getPreferences(getActivity()); in onResume()
1013 … WallpaperPreferences prefs = InjectorProvider.getInjector().getPreferences(getContext());
DDesktopRotationHolder.java55 mWallpaperPreferences = InjectorProvider.getInjector().getPreferences(hostActivity); in DesktopRotationHolder()
DSetIndividualHolder.java63 String remoteWallpaperId = InjectorProvider.getInjector().getPreferences( in bindWallpaper()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/backup/
DMissingHashCodeGenerator.java58 WallpaperPreferences wallpaperPreferences = injector.getPreferences(context); in onReceive()
DMissingHashCodeGeneratorJobService.java86 WallpaperPreferences wallpaperPreferences = injector.getPreferences(context); in onStartJob()
/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/ThemePicker/src/com/android/customization/picker/theme/
DCustomThemeActivity.java110 injector.getPreferences(this), mUserEventLogger, false), in onCreate()
/packages/apps/ThemePicker/src/com/android/customization/picker/
DCustomizationPickerActivity.java197 injector.getPreferences(this), mUserEventLogger, false); in initSections()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapStore.java228 String devUID = Preferences.getPreferences(context).getDeviceUID(); in getImapId()

12