Home
last modified time | relevance | path

Searched defs:prefs (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DVoicemailNotificationSettingsUtil.java48 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in setVibrationEnabled() local
61 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getVibrationPreference() local
67 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in setRingtoneUri() local
82 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getRingTonePreference() local
97 Context context, SharedPreferences prefs) { in migrateVoicemailVibrationSettingsIfNeeded()
136 Context context, SharedPreferences prefs) { in migrateVoicemailRingtoneSettingsIfNeeded()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportPrefs.java37 final SharedPreferences prefs = context.getSharedPreferences( in getWarningState() local
43 final SharedPreferences prefs = context.getSharedPreferences( in setWarningState() local
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoService.java97 final PrefState prefs = new PrefState(context); in triggerFoodResponse() local
132 static Cat newRandomCat(Context context, PrefState prefs) { in newRandomCat()
139 static Cat getExistingCat(PrefState prefs) { in getExistingCat()
DNekoDialog.java52 PrefState prefs = new PrefState(getContext()); in onFoodSelected() local
DNekoControlsService.kt81 private lateinit var prefs: PrefState variable in com.android.egg.neko.NekoControlsService
/frameworks/base/apct-tests/perftests/core/src/android/os/
DSharedPreferencesTest.java43 SharedPreferences prefs = context.getSharedPreferences("test", Context.MODE_PRIVATE); in timeCachedGetSharedPreferences() local
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DRemoveReceiver.java33 SharedPreferences prefs = context.getSharedPreferences( in onReceive() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaResumeListener.kt130 val prefs = context.getSharedPreferences(MEDIA_PREFERENCES, Context.MODE_PRIVATE) in loadSavedComponents() constant
251 val prefs = context.getSharedPreferences(MEDIA_PREFERENCES, Context.MODE_PRIVATE) in updateResumptionList() constant
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
DTestAppWidgetProvider.java53 SharedPreferences prefs = context.getSharedPreferences( in onReceive() local
DAppWidgetHostActivity.java93 SharedPreferences.Editor prefs = getPreferences(0).edit(); in configureAppWidget() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeviceControlsControllerImpl.kt126 val prefs = userContextProvider.userContext.getSharedPreferences( in <lambda>() constant
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneResultAdapter.java144 SharedPreferences prefs = mContext.getSharedPreferences(SHARED_PREFS_NAME, in onSetFilter() local
197 SharedPreferences prefs = mContext.getSharedPreferences(SHARED_PREFS_NAME, in saveRecentTimezone() local
/frameworks/base/telephony/java/android/telephony/
DMbmsDownloadSession.java553 SharedPreferences prefs = mContext.getSharedPreferences( in setTempFileRootDirectory() local
587 SharedPreferences prefs = mContext.getSharedPreferences( in getTempFileRootDirectory() local
626 SharedPreferences prefs = mContext.getSharedPreferences( in download() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumePrefs.java60 private static SharedPreferences prefs(Context context) { in prefs() method in VolumePrefs
/frameworks/multidex/library/src/androidx/multidex/
DMultiDexExtractor.java223 SharedPreferences prefs = getMultiDexPreferences(context); in isModified() local
326 SharedPreferences prefs = getMultiDexPreferences(context); in putStoredApkInfo() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DLocaleTracker.java603 final SharedPreferences prefs = mPhone.getContext().getSharedPreferences( in updateLastKnownCountryIso() local
620 final SharedPreferences prefs = mPhone.getContext().getSharedPreferences( in getLastKnownCountryIso() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DSettingsInjector.java181 final List<Preference> prefs = new ArrayList<>(); in getInjectedSettings() local
190 result.put(userHandle.getIdentifier(), prefs); in getInjectedSettings() local
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java132 SharedPreferences prefs = getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE); in onFullBackup() local
274 SharedPreferences prefs = getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE); in onRestoreFinished() local
/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsTempFileProvider.java177 SharedPreferences prefs = context.getSharedPreferences(TEMP_FILE_ROOT_PREF_FILE_NAME, 0); in getEmbmsTempFileDir() local
/frameworks/base/services/core/java/com/android/server/recoverysystem/
DRecoverySystemService.java543 PreferencesManager prefs = mInjector.getMetricsPrefs(); in reportMetricsOnRequestLskf() local
625 PreferencesManager prefs = mInjector.getMetricsPrefs(); in reportMetricsOnPreparedForReboot() local
846 PreferencesManager prefs = mInjector.getMetricsPrefs(); in reportMetricsOnRebootWithLskf() local
/frameworks/base/services/net/java/android/net/
DConnectivityModuleConnector.java309 final SharedPreferences prefs = getSharedPreferences(); in maybeCrashWithTerribleFailure() local
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java1768 PackagePreferences prefs = getOrCreatePackagePreferencesLocked(packageName, uid); in setAppImportanceLocked() local
1784 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in getNotificationDelegate() local
1802 PackagePreferences prefs = getOrCreatePackagePreferencesLocked(sourcePkg, sourceUid); in setNotificationDelegate() local
1817 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in revokeNotificationDelegate() local
1834 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in toggleNotificationDelegate() local
1852 PackagePreferences prefs = getPackagePreferencesLocked(sourcePkg, sourceUid); in isDelegateAllowed() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDndTile.java113 public static boolean isVisible(SharedPreferences prefs) { in isVisible()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeUtil.java365 final SharedPreferences prefs = pref.getSharedPreferences(); in removeUnnecessaryNonPersistentPreference() local
DInputMethodAndSubtypeUtilCompat.java365 final SharedPreferences prefs = pref.getSharedPreferences(); in removeUnnecessaryNonPersistentPreference() local

12