Home
last modified time | relevance | path

Searched refs:getPrefs (Results 1 – 13 of 13) sorted by relevance

/packages/services/Telephony/src/com/android/phone/settings/
DVoicemailProviderSettingsUtil.java55 SharedPreferences prefs = getPrefs(context); in load()
103 SharedPreferences prefs = getPrefs(context); in save()
136 SharedPreferences prefs = getPrefs(context); in delete()
143 private static SharedPreferences getPrefs(Context context) { in getPrefs() method in VoicemailProviderSettingsUtil
/packages/apps/Settings/src/com/android/settings/bluetooth/
DDockService.java186 private SharedPreferences getPrefs() { in getPrefs() method in DockService
213 final SharedPreferences prefs = getPrefs(); in onStartCommand()
315 final SharedPreferences prefs = getPrefs(); in msgTypeDisableBluetooth()
342 final SharedPreferences prefs = getPrefs(); in msgTypeUndockedPermanent()
383 getPrefs().edit().remove(KEY_DISABLE_BT).apply(); in msgTypeDocked()
704 getPrefs().edit().remove(KEY_DISABLE_BT_WHEN_UNDOCKED).apply(); in handleBtStateChange()
713 getPrefs().edit().remove(KEY_DISABLE_BT).apply(); in handleBtStateChange()
742 final SharedPreferences prefs = getPrefs(); in handleBluetoothStateOn()
841 getPrefs().edit().putBoolean( in applyBtSettings()
/packages/apps/Launcher3/src/com/android/launcher3/
DInstallShortcutReceiver.java95 SharedPreferences sp = Utilities.getPrefs(context); in removeFromInstallQueue()
193 addToInstallQueue(Utilities.getPrefs(context), info); in queuePendingShortcutInfo()
207 SharedPreferences sp = Utilities.getPrefs(context); in flushInstallQueue()
DLauncherClings.java76 SharedPreferences.Editor editor = Utilities.getPrefs(mLauncher).edit(); in onClick()
255 Utilities.getPrefs(ctx).edit() in markFirstRunClingDismissed()
DLauncherProvider.java276 Utilities.getPrefs(getContext()).getBoolean(arg, extras.getBoolean( in call()
283 Utilities.getPrefs(getContext()).edit().putBoolean(arg, value).apply(); in call()
365 Utilities.getPrefs(getContext()).edit().remove(EMPTY_DATABASE_CREATED).commit(); in clearFlagEmptyDbCreated()
376 SharedPreferences sp = Utilities.getPrefs(getContext()); in loadDefaultFavoritesIfNecessary()
587 Utilities.getPrefs(mContext).edit().putBoolean(EMPTY_DATABASE_CREATED, true).commit(); in onEmptyDbCreated()
670 Utilities.getPrefs(mContext).edit().putBoolean(EMPTY_DATABASE_CREATED, false).commit(); in setFlagJustLoadedOldDb()
DLauncherBackupAgentHelper.java64 SharedPreferences prefs = Utilities.getPrefs(context); in dataChanged()
DUtilities.java153 return getPrefs(context).getBoolean(ALLOW_ROTATION_PREFERENCE_KEY, allowRotationPref); in isAllowRotationPrefEnabled()
799 public static SharedPreferences getPrefs(Context context) { in getPrefs() method in Utilities
DLauncher.java426 mSharedPrefs = Utilities.getPrefs(this); in onCreate()
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DToggleWeightWatcher.java19 SharedPreferences sp = Utilities.getPrefs(this); in onCreate()
/packages/apps/Launcher3/tests/src/com/android/launcher3/
DRotationPreferenceTest.java31 mPrefs = Utilities.getPrefs(mTargetContext); in setUp()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DTestingUtils.java43 boolean show = Utilities.getPrefs(launcher).getBoolean(SHOW_WEIGHT_WATCHER, true); in addWeightWatcher()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DUserManagerCompatVL.java100 SharedPreferences prefs = Utilities.getPrefs(mContext); in getUserCreationTime()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java891 Utilities.getPrefs(context).edit()
905 SharedPreferences prefs = Utilities.getPrefs(context);
979 … for (String s : Utilities.getPrefs(context).getStringSet(KEY_MIGRATION_WIDGET_MINSIZE,