Home
last modified time | relevance | path

Searched refs:getDefaultSharedPreferences (Results 1 – 25 of 108) sorted by relevance

12345

/packages/apps/TV/src/com/android/tv/util/
DTvSettings.java109 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()
176 PreferenceManager.getDefaultSharedPreferences(context).edit().putInt( in setMultiAudioChannelCount()
[all …]
DOnboardingUtils.java51 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.java161 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()
DSetupUtils.java71 mSharedPreferences = PreferenceManager.getDefaultSharedPreferences(tvApplication); in SetupUtils()
274 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context); in grantEpgPermissionToSetUpPackages()
/packages/services/Telephony/src/com/android/phone/settings/
DVisualVoicemailSettingsUtil.java61 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.java49 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.java68 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.java283 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()
/packages/apps/Camera2/src/com/android/camera/settings/
DCameraPictureSizesCacher.java46 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/Dialer/src/com/android/dialer/filterednumber/
DFilteredNumbersUtil.java277 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.java78 long lastConsentTimeMs = PreferenceManager.getDefaultSharedPreferences(this) in onResume()
139 SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this); in onClearAllPreferences()
169 PreferenceManager.getDefaultSharedPreferences( in onCreateDialog()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPackagesMonitor.java33 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getPackagesVersion()
56 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceiveAsync()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfilePinDialogFragment.java54 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.java62 PreferenceManager.getDefaultSharedPreferences(mContext) in setUp()
100 PreferenceManager.getDefaultSharedPreferences(mContext) in testShouldBlockVoicemail_AfterEmergencyCall()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnn.java98 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/DeskClock/src/com/android/deskclock/
DDeskClockBackupAgent.java92 final SharedPreferences prefs = Utils.getDefaultSharedPreferences(this); in onRestoreFinished()
116 final SharedPreferences prefs = Utils.getDefaultSharedPreferences(context); in processRestoredData()
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/edit/
DEditInfoActivityTest.java57 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/Gallery2/src/com/android/gallery3d/onetimeinitializer/
DGalleryWidgetMigrator.java61 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in migrateGalleryWidgets()
108 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in migrateLocalEntries()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputTestsBase.java161 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mLatinIME); in setBooleanPreference()
170 return PreferenceManager.getDefaultSharedPreferences(mLatinIME) in getBooleanPreference()
176 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mLatinIME); in setStringPreference()
/packages/apps/Dialer/src/com/android/dialer/compat/
DFilteredNumberCompat.java148 return PreferenceManager.getDefaultSharedPreferences(DialerApplication.getContext()) in hasMigratedToNewBlocking()
160 PreferenceManager.getDefaultSharedPreferences( in setHasMigratedToNewBlocking()
/packages/apps/TV/common/src/com/android/tv/common/
DSharedPreferencesUtils.java49 PreferenceManager.getDefaultSharedPreferences(context); in initialize()
/packages/apps/Dialer/src/com/android/dialer/
DDialerApplication.java44 new BlockedNumbersAutoMigrator(PreferenceManager.getDefaultSharedPreferences(this), in onCreate()
/packages/screensavers/WebView/src/com/android/dreams/web/
DSetURL.java48 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in set()
DSetURLInteractive.java48 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in set()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmStateManager.java161 SharedPreferences prefs = Utils.getDefaultSharedPreferences(context); in getGlobalIntentId()
166 SharedPreferences prefs = Utils.getDefaultSharedPreferences(context); in updateGlobalIntentId()
483 String snoozeMinutesStr = Utils.getDefaultSharedPreferences(context) in setSnoozeState()
521 final String snoozeMinutesStr = Utils.getDefaultSharedPreferences(context) in getSnoozedMinutes()

12345