/packages/apps/TV/src/com/android/tv/util/ |
D | TvSettings.java | 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() 176 PreferenceManager.getDefaultSharedPreferences(context).edit().putInt( in setMultiAudioChannelCount() [all …]
|
D | OnboardingUtils.java | 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()
|
D | Utils.java | 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()
|
D | SetupUtils.java | 71 mSharedPreferences = PreferenceManager.getDefaultSharedPreferences(tvApplication); in SetupUtils() 274 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context); in grantEpgPermissionToSetUpPackages()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | VisualVoicemailSettingsUtil.java | 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()
|
D | VoicemailNotificationSettingsUtil.java | 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/ |
D | ViewInfoActivityTest.java | 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/ |
D | CellBroadcastAlertService.java | 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()
|
/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/Dialer/src/com/android/dialer/filterednumber/ |
D | FilteredNumbersUtil.java | 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/ |
D | EditInfoActivity.java | 78 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/ |
D | PackagesMonitor.java | 33 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/ |
D | RestrictedProfilePinDialogFragment.java | 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/ |
D | FilteredNumbersUtilTest.java | 62 PreferenceManager.getDefaultSharedPreferences(mContext) in setUp() 100 PreferenceManager.getDefaultSharedPreferences(mContext) in testShouldBlockVoicemail_AfterEmergencyCall()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | OpenWnn.java | 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/DeskClock/src/com/android/deskclock/ |
D | DeskClockBackupAgent.java | 92 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/ |
D | EditInfoActivityTest.java | 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/Gallery2/src/com/android/gallery3d/onetimeinitializer/ |
D | GalleryWidgetMigrator.java | 61 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in migrateGalleryWidgets() 108 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in migrateLocalEntries()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | InputTestsBase.java | 161 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/ |
D | FilteredNumberCompat.java | 148 return PreferenceManager.getDefaultSharedPreferences(DialerApplication.getContext()) in hasMigratedToNewBlocking() 160 PreferenceManager.getDefaultSharedPreferences( in setHasMigratedToNewBlocking()
|
/packages/apps/TV/common/src/com/android/tv/common/ |
D | SharedPreferencesUtils.java | 49 PreferenceManager.getDefaultSharedPreferences(context); in initialize()
|
/packages/apps/Dialer/src/com/android/dialer/ |
D | DialerApplication.java | 44 new BlockedNumbersAutoMigrator(PreferenceManager.getDefaultSharedPreferences(this), in onCreate()
|
/packages/screensavers/WebView/src/com/android/dreams/web/ |
D | SetURL.java | 48 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in set()
|
D | SetURLInteractive.java | 48 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in set()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmStateManager.java | 161 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()
|