/packages/apps/TV/src/com/android/tv/util/ |
D | TvSettings.java | 20 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 …]
|
D | OnboardingUtils.java | 25 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()
|
D | Utils.java | 37 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/ |
D | VisualVoicemailSettingsUtil.java | 20 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()
|
D | VoicemailNotificationSettingsUtil.java | 22 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/ |
D | ViewInfoActivityTest.java | 24 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/ |
D | CellBroadcastAlertService.java | 32 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()
|
D | CellBroadcastReceiverApp.java | 22 import android.preference.PreferenceManager; 38 PreferenceManager.setDefaultValues(this, R.xml.preferences, false); in onCreate()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | CameraPictureSizesCacher.java | 23 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/ |
D | PackagesMonitor.java | 24 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/ |
D | FilteredNumbersUtil.java | 26 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/ |
D | EditInfoActivity.java | 29 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/ |
D | RestrictedProfilePinDialogFragment.java | 26 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/ |
D | FilteredNumbersUtilTest.java | 24 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/ |
D | ObjectFactory.java | 17 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/ |
D | OpenWnn.java | 27 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/ |
D | SharedPreferencesUtils.java | 21 import android.preference.PreferenceManager; 49 PreferenceManager.getDefaultSharedPreferences(context); in initialize()
|
/packages/apps/Dialer/src/com/android/dialer/ |
D | DialerApplication.java | 22 import android.preference.PreferenceManager; 44 new BlockedNumbersAutoMigrator(PreferenceManager.getDefaultSharedPreferences(this), in onCreate()
|
/packages/screensavers/WebView/src/com/android/dreams/web/ |
D | SetURL.java | 22 import android.preference.PreferenceManager; 48 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in set()
|
D | SetURLInteractive.java | 22 import android.preference.PreferenceManager; 48 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in set()
|
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/edit/ |
D | EditInfoActivityTest.java | 24 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/ |
D | VisualVoicemailEnabledChecker.java | 7 import android.preference.PreferenceManager; 50 mPrefs = PreferenceManager.getDefaultSharedPreferences(mContext); in VisualVoicemailEnabledChecker()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/ |
D | AccountsChangedReceiver.java | 24 import android.preference.PreferenceManager; 48 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceive()
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | FirstRunDetector.java | 21 import android.preference.PreferenceManager; 80 SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(context); in initializeTimeOfFirstRun()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | BootCompletedReceiver.java | 38 import android.preference.PreferenceManager; 56 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceive()
|