/packages/apps/TV/src/com/android/tv/util/ |
D | TvSettings.java | 76 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 …]
|
D | Utils.java | 164 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 …]
|
D | OnboardingUtils.java | 44 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/ |
D | EditInfoActivityTest.java | 66 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/ |
D | CellBroadcastReceiver.java | 180 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()
|
D | CellBroadcastAlertService.java | 215 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/ |
D | ViewInfoActivityTest.java | 82 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/ |
D | DeskClockApplication.java | 38 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/ |
D | EpgFetchHelper.java | 258 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/ |
D | CameraPictureSizesCacher.java | 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/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/ |
D | EmergencyContactsPreferenceTest.java | 75 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/ |
D | Receiver.java | 74 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()
|
D | StopTraceService.java | 41 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onHandleIntent() 51 PreferenceManager.getDefaultSharedPreferences(context) in onHandleIntent()
|
D | QsService.java | 51 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in update() 67 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in onClick()
|
D | UserConsentActivityDialog.java | 91 PreferenceManager.getDefaultSharedPreferences(context); in getShowDialogState() 97 PreferenceManager.getDefaultSharedPreferences(context); in setShowDialogState()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/ |
D | TaskSchedulerJobService.java | 64 () -> 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/ |
D | AccountHelperImpl.java | 41 mDefaultPreferences = PreferenceManager.getDefaultSharedPreferences(mContext); in AccountHelperImpl() 103 PreferenceManager.getDefaultSharedPreferences(mContext); in selectAccount()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PackagesMonitor.java | 34 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getPackagesVersion() 59 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceiveAsync()
|
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ |
D | ConcreteCreator.java | 77 if (!PreferenceManager.getDefaultSharedPreferences(context) in createNewAssistedDialingMediator() 90 PreferenceManager.getDefaultSharedPreferences(context) in createNewAssistedDialingMediator()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/util/ |
D | PreferenceUtils.java | 39 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in hasAtLeastOnePreferenceSet() 50 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in hasAtLeastOneEmergencyContact()
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | TransientRowHelper.java | 102 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/ |
D | HdHomeRunTunerManager.java | 63 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/ |
D | MainActivity.java | 43 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/ |
D | RestrictedProfilePinDialogFragment.java | 74 return PreferenceManager.getDefaultSharedPreferences(context).getLong( in getDisablePinUntil() 83 PreferenceManager.getDefaultSharedPreferences(context).edit().putLong( in setDisablePinUntil()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | PackageReplacedReceiver.java | 55 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceive() 116 PreferenceManager.getDefaultSharedPreferences(context) in doInBackground()
|