Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DVoicemailNotificationSettingsUtil.java48 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in setVibrationEnabled()
61 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getVibrationPreference()
67 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in setRingtoneUri()
82 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getRingTonePreference()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumePrefs.java61 return PreferenceManager.getDefaultSharedPreferences(context); in prefs()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/util/
DUceUtils.java312 PreferenceManager.getDefaultSharedPreferences(context); in saveDeviceStateToPreference()
321 PreferenceManager.getDefaultSharedPreferences(context); in restoreDeviceState()
354 PreferenceManager.getDefaultSharedPreferences(context); in removeDeviceStateFromPreference()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java100 SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(this); in onStart()
226 SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(this); in loadXmlFromNetwork()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/activity/
DA11yMenuSettingsActivity.java95 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in isLargeButtonsEnabled()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccCardControllerTest.java80 mSp = PreferenceManager.getDefaultSharedPreferences(mContext); in setUp()
121 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); in tearDown()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhone.java617 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context); in Phone()
993 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getContext()); in disableDnsCheck()
1613 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getContext()); in updateSavedNetworkOperator()
1665 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getContext()); in getSavedNetworkSelection()
1677 PreferenceManager.getDefaultSharedPreferences(getContext()).edit(). in clearSavedNetworkSelection()
1706 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getContext()); in saveClirSetting()
2187 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); in getCallForwardingIndicatorFromSharedPref()
2229 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); in setCallForwardingIndicatorInSharedPref()
2850 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getContext()); in eraseDataInSharedPreferences()
3126 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); in setVoiceMessageCount()
[all …]
DCarrierServiceStateTracker.java435 && PreferenceManager.getDefaultSharedPreferences(context) in shouldSilenceEmrgNetNotif()
736 PreferenceManager.getDefaultSharedPreferences(context).edit(); in onReceive()
DGsmCdmaPhone.java1909 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getContext()); in storeVoiceMailNumber()
1931 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getContext()); in getVoiceMailNumber()
1941 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getContext()); in getVoiceMailNumber()
1993 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getContext()); in getVmSimImsi()
1998 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getContext()); in setVmSimImsi()
3176 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getContext()); in syncClirSetting()
3831 PreferenceManager.getDefaultSharedPreferences(mContext); in currentSlotSubIdChanged()
DPhoneFactory.java627 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(sContext); in dump()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/
DEabContactSyncController.java332 PreferenceManager.getDefaultSharedPreferences(context); in setLastUpdatedTime()
338 PreferenceManager.getDefaultSharedPreferences(context); in getLastUpdatedTime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleBackupHelper.java125 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); in performBackup()
166 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); in restoreEntity()
DPeopleSpaceWidgetManager.java199 mSharedPrefs = PreferenceManager.getDefaultSharedPreferences(mContext); in PeopleSpaceWidgetManager()
288 mSharedPrefs = PreferenceManager.getDefaultSharedPreferences(context); in PeopleSpaceWidgetManager()
1321 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); in remapSharedFile()
1404 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleBackupFollowUpJob.java110 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(this); in onStartJob()
DPeopleSpaceUtils.java112 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context); in setSharedPreferencesStorageForTile()
131 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context); in removeSharedPreferencesStorageForTile()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DPeopleBackupFollowUpJobTest.java85 private final SharedPreferences mSp = PreferenceManager.getDefaultSharedPreferences(mContext);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataSettingsManager.java597 PreferenceManager.getDefaultSharedPreferences(mPhone.getContext()); in isDataRoamingFromUserAction()
624 PreferenceManager.getDefaultSharedPreferences(mPhone.getContext()).edit(); in setDataRoamingFromUserAction()
DLinkBandwidthEstimator.java1202 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences( in update()
1228 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences( in getValue()
1236 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences( in getCount()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccController.java310 mUseRemovableEsimAsDefault = PreferenceManager.getDefaultSharedPreferences(mContext) in UiccController()
1262 PreferenceManager.getDefaultSharedPreferences(mContext).getString(CARD_STRINGS, ""); in loadCardStrings()
1272 PreferenceManager.getDefaultSharedPreferences(mContext).edit(); in saveCardStrings()
1723 PreferenceManager.getDefaultSharedPreferences(mContext).edit(); in setRemovableEsimAsDefaultEuicc()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java184 return PreferenceManager.getDefaultSharedPreferences(this); in getPreferences()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/
DAccessibilityMenuService.java213 mPrefs = PreferenceManager.getDefaultSharedPreferences(this); in onServiceConnected()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java1062 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); in testDeleteAllWidgetsForConversationsUncachesShortcutAndRemovesListeners()
1117 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); in testOnAppWidgetOptionsChangedNoWidgetAdded()
1203 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); in testAugmentTileFromNotifications()
1534 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); in testRemapSharedFile()
1753 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); in clearStorage()
1770 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); in setStorageForTile()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DPinStorageTest.java106 PreferenceManager.getDefaultSharedPreferences(InstrumentationRegistry.getContext()) in setUp()
/frameworks/base/core/java/android/preference/
DPreferenceManager.java544 public static SharedPreferences getDefaultSharedPreferences(Context context) { in getDefaultSharedPreferences() method in PreferenceManager
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyStateTracker.java1120 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext); in isEmergencyCallbackModeSupported()
1863 sp = PreferenceManager.getDefaultSharedPreferences(mContext); in onCarrierConfigurationChanged()
1906 sp = PreferenceManager.getDefaultSharedPreferences(mContext); in onCarrierConfigurationChanged()

12