Home
last modified time | relevance | path

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

12345

/packages/apps/TV/src/com/android/tv/util/
DTvSettings.java76 return PreferenceManager.getDefaultSharedPreferences(context) in getMultiAudioId()
81 PreferenceManager.getDefaultSharedPreferences(context) in setMultiAudioId()
88 return PreferenceManager.getDefaultSharedPreferences(context) in getMultiAudioLanguage()
93 PreferenceManager.getDefaultSharedPreferences(context) in setMultiAudioLanguage()
100 return PreferenceManager.getDefaultSharedPreferences(context) in getMultiAudioChannelCount()
105 PreferenceManager.getDefaultSharedPreferences(context) in setMultiAudioChannelCount()
115 PreferenceManager.getDefaultSharedPreferences(context) in setDvrPlaybackTrackSettings()
120 PreferenceManager.getDefaultSharedPreferences(context) in setDvrPlaybackTrackSettings()
129 PreferenceManager.getDefaultSharedPreferences(context) in setDvrPlaybackTrackSettings()
134 PreferenceManager.getDefaultSharedPreferences(context) in setDvrPlaybackTrackSettings()
[all …]
DUtils.java164 PreferenceManager.getDefaultSharedPreferences(context) in setLastWatchedChannel()
173 PreferenceManager.getDefaultSharedPreferences(context) in setLastWatchedChannel()
187 PreferenceManager.getDefaultSharedPreferences(context) in setRecordingFailedReason()
198 PreferenceManager.getDefaultSharedPreferences(context) in addFailedScheduledRecordingInfo()
208 PreferenceManager.getDefaultSharedPreferences(context) in clearFailedScheduledRecordingInfoSet()
217 PreferenceManager.getDefaultSharedPreferences(context) in clearRecordingFailedReason()
224 return PreferenceManager.getDefaultSharedPreferences(context) in getLastWatchedChannelId()
229 return PreferenceManager.getDefaultSharedPreferences(context) in getLastWatchedChannelIdForInput()
234 return PreferenceManager.getDefaultSharedPreferences(context) in getLastWatchedChannelUri()
240 return PreferenceManager.getDefaultSharedPreferences(context) in getLastWatchedTunerInputId()
[all …]
DOnboardingUtils.java44 return PreferenceManager.getDefaultSharedPreferences(context) in isFirstBoot()
50 PreferenceManager.getDefaultSharedPreferences(context) in setFirstBootCompleted()
62 PreferenceManager.getDefaultSharedPreferences(context) in isFirstRunWithCurrentVersion()
72 PreferenceManager.getDefaultSharedPreferences(context) in setFirstRunWithCurrentVersionCompleted()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/edit/
DEditInfoActivityTest.java66 PreferenceManager.getDefaultSharedPreferences(mTargetContext).edit().clear().commit(); in setUp()
71 PreferenceManager.getDefaultSharedPreferences(mTargetContext).edit().clear().commit(); in tearDown()
103 PreferenceManager.getDefaultSharedPreferences(mTargetContext).edit().putString( in testClearAllPreferences()
105 PreferenceManager.getDefaultSharedPreferences(mTargetContext).edit().putString( in testClearAllPreferences()
107 PreferenceManager.getDefaultSharedPreferences(mTargetContext).edit().putString( in testClearAllPreferences()
109 PreferenceManager.getDefaultSharedPreferences(mTargetContext).edit().putString( in testClearAllPreferences()
111 PreferenceManager.getDefaultSharedPreferences(mTargetContext).edit().putString( in testClearAllPreferences()
113 PreferenceManager.getDefaultSharedPreferences(mTargetContext).edit().putString( in testClearAllPreferences()
118 PreferenceManager.getDefaultSharedPreferences(mTargetContext) in testClearAllPreferences()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiver.java180 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); in setTestingMode()
189 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context); in isTestingMode()
199 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); in setServiceState()
207 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context); in getServiceState()
216 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); in adjustReminderInterval()
243 public SharedPreferences getDefaultSharedPreferences() { in getDefaultSharedPreferences() method in CellBroadcastReceiver
244 return PreferenceManager.getDefaultSharedPreferences(mContext); in getDefaultSharedPreferences()
264 SharedPreferences sp = getDefaultSharedPreferences(); in initializeSharedPreference()
319 .getDefaultSharedPreferences(mContext).edit(); in migrateSharedPreferenceFromLegacy()
388 SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(context); in tryCdmaSetCategory()
DCellBroadcastAlertService.java215 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in shouldDisplayMessage()
369 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in isChannelEnabled()
379 && PreferenceManager.getDefaultSharedPreferences(this) in isChannelEnabled()
413 && PreferenceManager.getDefaultSharedPreferences(this) in isChannelEnabled()
425 && PreferenceManager.getDefaultSharedPreferences(this).getBoolean( in isChannelEnabled()
437 && PreferenceManager.getDefaultSharedPreferences(this).getBoolean( in isChannelEnabled()
443 && PreferenceManager.getDefaultSharedPreferences(this).getBoolean( in isChannelEnabled()
449 && PreferenceManager.getDefaultSharedPreferences(this) in isChannelEnabled()
467 && PreferenceManager.getDefaultSharedPreferences(this) in isChannelEnabled()
475 && PreferenceManager.getDefaultSharedPreferences(this) in isChannelEnabled()
[all …]
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/view/
DViewInfoActivityTest.java82 PreferenceManager.getDefaultSharedPreferences(mTargetContext).edit().clear().commit(); in tearDown()
102 PreferenceManager.getDefaultSharedPreferences(mTargetContext) in testNameSet()
124 PreferenceManager.getDefaultSharedPreferences(mTargetContext) in testMedicalInfoSet()
146 PreferenceManager.getDefaultSharedPreferences(mTargetContext) in testEmergencyContactsSet()
171 PreferenceManager.getDefaultSharedPreferences(mTargetContext) in testMedicalInfoAndEmergencyContactsSet()
174 PreferenceManager.getDefaultSharedPreferences(mTargetContext) in testMedicalInfoAndEmergencyContactsSet()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClockApplication.java38 final SharedPreferences prefs = getDefaultSharedPreferences(applicationContext); in onCreate()
50 private static SharedPreferences getDefaultSharedPreferences(Context context) { in getDefaultSharedPreferences() method in DeskClockApplication
63 return PreferenceManager.getDefaultSharedPreferences(storageContext); in getDefaultSharedPreferences()
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetchHelper.java258 PreferenceManager.getDefaultSharedPreferences(context) in setLastLineupId()
268 PreferenceManager.getDefaultSharedPreferences(context) in getLastLineupId()
282 PreferenceManager.getDefaultSharedPreferences(context) in setLastEpgUpdatedTimestamp()
292 PreferenceManager.getDefaultSharedPreferences(context) in getLastEpgUpdatedTimestamp()
/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/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/
DEmergencyContactsPreferenceTest.java75 PreferenceManager.getDefaultSharedPreferences(mTargetContext).edit().clear().commit(); in setUp()
80 PreferenceManager.getDefaultSharedPreferences(mTargetContext) in setUp()
93 PreferenceManager.getDefaultSharedPreferences(mTargetContext).edit().clear().commit(); in tearDown()
/packages/apps/Traceur/src/com/android/traceur/
DReceiver.java74 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceive()
100 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in updateTracing()
149 PreferenceManager.getDefaultSharedPreferences(context) in updateQuickSettings()
209 PreferenceManager.getDefaultSharedPreferences(context); in updateDeveloperOptionsWatcher()
DStopTraceService.java41 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onHandleIntent()
51 PreferenceManager.getDefaultSharedPreferences(context) in onHandleIntent()
DQsService.java51 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in update()
67 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in onClick()
DUserConsentActivityDialog.java91 PreferenceManager.getDefaultSharedPreferences(context); in getShowDialogState()
97 PreferenceManager.getDefaultSharedPreferences(context); in setShowDialogState()
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DTaskSchedulerJobService.java64 () -> PreferenceManager.getDefaultSharedPreferences(this).getInt(EXPECTED_JOB_ID, 0)); in onStartJob()
128 PreferenceManager.getDefaultSharedPreferences(context) in scheduleJob()
181 SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(context); in createJobId()
/packages/apps/TV/src/com/android/tv/util/account/
DAccountHelperImpl.java41 mDefaultPreferences = PreferenceManager.getDefaultSharedPreferences(mContext); in AccountHelperImpl()
103 PreferenceManager.getDefaultSharedPreferences(mContext); in selectAccount()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPackagesMonitor.java34 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getPackagesVersion()
59 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceiveAsync()
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/
DConcreteCreator.java77 if (!PreferenceManager.getDefaultSharedPreferences(context) in createNewAssistedDialingMediator()
90 PreferenceManager.getDefaultSharedPreferences(context) in createNewAssistedDialingMediator()
/packages/apps/EmergencyInfo/src/com/android/emergency/util/
DPreferenceUtils.java39 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in hasAtLeastOnePreferenceSet()
50 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in hasAtLeastOneEmergencyContact()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTransientRowHelper.java102 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mContext); in getLastDeletionBootCount()
108 SharedPreferences.Editor editor = PreferenceManager.getDefaultSharedPreferences(mContext) in setLastDeletionBootCount()
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunTunerManager.java63 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context); in acquireDevice()
114 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context); in markAsScannedDevice()
/packages/services/Car/tests/obd2_app/src/com/google/android/car/obd2app/
DMainActivity.java43 SharedPreferences appPreferences = PreferenceManager.getDefaultSharedPreferences(this); in getBluetoothDongleMacFromPreferences()
48 SharedPreferences appPreferences = PreferenceManager.getDefaultSharedPreferences(this); in getScanDelayFromPreferences()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfilePinDialogFragment.java74 return PreferenceManager.getDefaultSharedPreferences(context).getLong( in getDisablePinUntil()
83 PreferenceManager.getDefaultSharedPreferences(context).edit().putLong( in setDisablePinUntil()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DPackageReplacedReceiver.java55 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceive()
116 PreferenceManager.getDefaultSharedPreferences(context) in doInBackground()

12345