Searched refs:getPrefs (Results 1 – 13 of 13) sorted by relevance
55 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
186 private SharedPreferences getPrefs() { in getPrefs() method in DockService213 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()
95 SharedPreferences sp = Utilities.getPrefs(context); in removeFromInstallQueue()193 addToInstallQueue(Utilities.getPrefs(context), info); in queuePendingShortcutInfo()207 SharedPreferences sp = Utilities.getPrefs(context); in flushInstallQueue()
76 SharedPreferences.Editor editor = Utilities.getPrefs(mLauncher).edit(); in onClick()255 Utilities.getPrefs(ctx).edit() in markFirstRunClingDismissed()
276 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()
64 SharedPreferences prefs = Utilities.getPrefs(context); in dataChanged()
153 return getPrefs(context).getBoolean(ALLOW_ROTATION_PREFERENCE_KEY, allowRotationPref); in isAllowRotationPrefEnabled()799 public static SharedPreferences getPrefs(Context context) { in getPrefs() method in Utilities
426 mSharedPrefs = Utilities.getPrefs(this); in onCreate()
19 SharedPreferences sp = Utilities.getPrefs(this); in onCreate()
31 mPrefs = Utilities.getPrefs(mTargetContext); in setUp()
43 boolean show = Utilities.getPrefs(launcher).getBoolean(SHOW_WEIGHT_WATCHER, true); in addWeightWatcher()
100 SharedPreferences prefs = Utilities.getPrefs(mContext); in getUserCreationTime()
891 Utilities.getPrefs(context).edit()905 SharedPreferences prefs = Utilities.getPrefs(context);979 … for (String s : Utilities.getPrefs(context).getStringSet(KEY_MIGRATION_WIDGET_MINSIZE,