Home
last modified time | relevance | path

Searched refs:PreferenceManager (Results 1 – 25 of 122) sorted by relevance

12345

/packages/apps/TV/src/com/android/tv/util/
DTvSettings.java20 import android.preference.PreferenceManager;
109 return PreferenceManager.getDefaultSharedPreferences(context).getInt( in getPipLayout()
121 PreferenceManager.getDefaultSharedPreferences(context).edit().putInt( in setPipLayout()
135 return PreferenceManager.getDefaultSharedPreferences(context).getInt( in getPipSize()
145 PreferenceManager.getDefaultSharedPreferences(context).edit().putInt( in setPipSize()
151 return PreferenceManager.getDefaultSharedPreferences(context).getString( in getMultiAudioId()
156 PreferenceManager.getDefaultSharedPreferences(context).edit().putString( in setMultiAudioId()
161 return PreferenceManager.getDefaultSharedPreferences(context).getString( in getMultiAudioLanguage()
166 PreferenceManager.getDefaultSharedPreferences(context).edit().putString( in setMultiAudioLanguage()
171 return PreferenceManager.getDefaultSharedPreferences(context).getInt( in getMultiAudioChannelCount()
[all …]
DOnboardingUtils.java25 import android.preference.PreferenceManager;
51 return PreferenceManager.getDefaultSharedPreferences(context) in isFirstBoot()
59 PreferenceManager.getDefaultSharedPreferences(context) in setFirstBootCompleted()
70 int versionCode = PreferenceManager.getDefaultSharedPreferences(context) in isFirstRunWithCurrentVersion()
80 PreferenceManager.getDefaultSharedPreferences(context).edit() in setFirstRunWithCurrentVersionCompleted()
DUtils.java37 import android.preference.PreferenceManager;
161 PreferenceManager.getDefaultSharedPreferences(context).edit() in setLastWatchedChannel()
168 PreferenceManager.getDefaultSharedPreferences(context).edit() in setLastWatchedChannel()
170 PreferenceManager.getDefaultSharedPreferences(context).edit() in setLastWatchedChannel()
177 return PreferenceManager.getDefaultSharedPreferences(context) in getLastWatchedChannelId()
182 return PreferenceManager.getDefaultSharedPreferences(context) in getLastWatchedChannelIdForInput()
187 return PreferenceManager.getDefaultSharedPreferences(context) in getLastWatchedChannelUri()
/packages/services/Telephony/src/com/android/phone/settings/
DVisualVoicemailSettingsUtil.java20 import android.preference.PreferenceManager;
61 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in setVisualVoicemailEnabled()
76 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in isVisualVoicemailEnabled()
96 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in isVisualVoicemailUserSet()
104 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in setVisualVoicemailCredentialsFromStatusMessage()
124 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getVisualVoicemailCredentials()
130 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getVisualVoicemailRetryInterval()
143 PreferenceManager.getDefaultSharedPreferences(context).edit(); in setVisualVoicemailRetryInterval()
152 PreferenceManager.getDefaultSharedPreferences(context).edit(); in setVisualVoicemailLastFullSyncTime()
161 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getVisualVoicemailLastFullSyncTime()
DVoicemailNotificationSettingsUtil.java22 import android.preference.PreferenceManager;
49 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(phone.getContext()); in setVibrationEnabled()
56 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(phone.getContext()); in isVibrationEnabled()
62 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(phone.getContext()); in setRingtoneUri()
71 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(phone.getContext()); in getRingtoneUri()
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/view/
DViewInfoActivityTest.java24 import android.preference.PreferenceManager;
68 PreferenceManager.getDefaultSharedPreferences(getActivity()).edit().clear().commit(); in setUp()
73 PreferenceManager.getDefaultSharedPreferences(getActivity()).edit().clear().commit(); in tearDown()
92 PreferenceManager.getDefaultSharedPreferences(getActivity()) in testNameSet()
111 PreferenceManager.getDefaultSharedPreferences(getActivity()) in testEmergencyInfoSet()
131 PreferenceManager.getDefaultSharedPreferences(getActivity()) in testEmergencyContactSet()
154 PreferenceManager.getDefaultSharedPreferences(getActivity()).edit() in testInfoAndEmergencyContactsSet()
158 PreferenceManager.getDefaultSharedPreferences(getActivity()) in testInfoAndEmergencyContactsSet()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java32 import android.preference.PreferenceManager;
283 boolean emergencyAlertEnabled = PreferenceManager.getDefaultSharedPreferences(this). in isMessageEnabledByUser()
293 PreferenceManager.getDefaultSharedPreferences(this) in isMessageEnabledByUser()
308 PreferenceManager.getDefaultSharedPreferences(this).getBoolean( in isMessageEnabledByUser()
313 PreferenceManager.getDefaultSharedPreferences(this).getBoolean( in isMessageEnabledByUser()
318 PreferenceManager.getDefaultSharedPreferences(this) in isMessageEnabledByUser()
326 PreferenceManager.getDefaultSharedPreferences(this) in isMessageEnabledByUser()
366 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in openEmergencyAlertNotification()
DCellBroadcastReceiverApp.java22 import android.preference.PreferenceManager;
38 PreferenceManager.setDefaultValues(this, R.xml.preferences, false); in onCreate()
/packages/apps/Camera2/src/com/android/camera/settings/
DCameraPictureSizesCacher.java23 import android.preference.PreferenceManager;
46 SharedPreferences defaultPrefs = PreferenceManager.getDefaultSharedPreferences(context); in updateSizesForCamera()
86 SharedPreferences defaultPrefs = PreferenceManager.getDefaultSharedPreferences(context); in getSizesForCamera()
112 SharedPreferences defaultPrefs = PreferenceManager.getDefaultSharedPreferences(context); in getCachedSizesForCamera()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPackagesMonitor.java24 import android.preference.PreferenceManager;
33 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getPackagesVersion()
56 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceiveAsync()
/packages/apps/Dialer/src/com/android/dialer/filterednumber/
DFilteredNumbersUtil.java26 import android.preference.PreferenceManager;
277 Long lastEmergencyCallTime = PreferenceManager.getDefaultSharedPreferences(context) in hasRecentEmergencyCall()
292 PreferenceManager.getDefaultSharedPreferences(context) in recordLastEmergencyCallTime()
307 if (PreferenceManager.getDefaultSharedPreferences(context) in maybeNotifyCallBlockingDisabled()
343 PreferenceManager.getDefaultSharedPreferences(context) in maybeNotifyCallBlockingDisabled()
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/
DEditInfoActivity.java29 import android.preference.PreferenceManager;
78 long lastConsentTimeMs = PreferenceManager.getDefaultSharedPreferences(this) in onResume()
139 SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this); in onClearAllPreferences()
169 PreferenceManager.getDefaultSharedPreferences( in onCreateDialog()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfilePinDialogFragment.java26 import android.preference.PreferenceManager;
54 return PreferenceManager.getDefaultSharedPreferences(context).getLong( in getDisablePinUntil()
63 PreferenceManager.getDefaultSharedPreferences(context).edit().putLong( in setDisablePinUntil()
/packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/
DFilteredNumbersUtilTest.java24 import android.preference.PreferenceManager;
62 PreferenceManager.getDefaultSharedPreferences(mContext) in setUp()
100 PreferenceManager.getDefaultSharedPreferences(mContext) in testShouldBlockVoicemail_AfterEmergencyCall()
/packages/apps/ContactsCommon/src/com/android/contacts/commonbind/
DObjectFactory.java17 import com.android.contacts.common.preference.PreferenceManager;
30 public static PreferenceManager getPreferenceManager(Context context) { return null; } in getPreferenceManager()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnn.java27 import android.preference.PreferenceManager;
98 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(this); in onCreate()
140 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(this); in onCreateInputView()
241 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(this); in onStartInputView()
/packages/apps/TV/common/src/com/android/tv/common/
DSharedPreferencesUtils.java21 import android.preference.PreferenceManager;
49 PreferenceManager.getDefaultSharedPreferences(context); in initialize()
/packages/apps/Dialer/src/com/android/dialer/
DDialerApplication.java22 import android.preference.PreferenceManager;
44 new BlockedNumbersAutoMigrator(PreferenceManager.getDefaultSharedPreferences(this), in onCreate()
/packages/screensavers/WebView/src/com/android/dreams/web/
DSetURL.java22 import android.preference.PreferenceManager;
48 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in set()
DSetURLInteractive.java22 import android.preference.PreferenceManager;
48 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in set()
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/edit/
DEditInfoActivityTest.java24 import android.preference.PreferenceManager;
57 PreferenceManager.getDefaultSharedPreferences(getActivity()).edit().clear().commit(); in setUp()
67 PreferenceManager.getDefaultSharedPreferences(getActivity()).edit().clear().commit(); in tearDown()
274 PreferenceManager.getDefaultSharedPreferences(activity).edit() in testWarningDialogTimer_overOneDayAgo()
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVisualVoicemailEnabledChecker.java7 import android.preference.PreferenceManager;
50 mPrefs = PreferenceManager.getDefaultSharedPreferences(mContext); in VisualVoicemailEnabledChecker()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/
DAccountsChangedReceiver.java24 import android.preference.PreferenceManager;
48 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceive()
/packages/apps/Camera2/src/com/android/camera/app/
DFirstRunDetector.java21 import android.preference.PreferenceManager;
80 SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(context); in initializeTimeOfFirstRun()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DBootCompletedReceiver.java38 import android.preference.PreferenceManager;
56 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceive()

12345