/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | VoicemailNotificationSettingsUtil.java | 48 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in setVibrationEnabled() local 49 SharedPreferences.Editor editor = prefs.edit(); in setVibrationEnabled() 61 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getVibrationPreference() local 62 migrateVoicemailVibrationSettingsIfNeeded(context, prefs); in getVibrationPreference() 63 return prefs.getBoolean(getVoicemailVibrationSharedPrefsKey(), false /* defValue */); in getVibrationPreference() 67 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in setRingtoneUri() local 70 SharedPreferences.Editor editor = prefs.edit(); in setRingtoneUri() 82 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getRingTonePreference() local 83 migrateVoicemailRingtoneSettingsIfNeeded(context, prefs); in getRingTonePreference() 84 String uriString = prefs.getString( in getRingTonePreference() [all …]
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportPrefs.java | 37 final SharedPreferences prefs = context.getSharedPreferences( in getWarningState() local 39 return prefs.getInt(KEY_WARNING_STATE, def); in getWarningState() 43 final SharedPreferences prefs = context.getSharedPreferences( in setWarningState() local 45 prefs.edit().putInt(KEY_WARNING_STATE, value).apply(); in setWarningState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumePrefs.java | 51 prefs(c).unregisterOnSharedPreferenceChangeListener(listener); in unregisterCallbacks() 55 prefs(c).registerOnSharedPreferenceChangeListener(listener); in registerCallbacks() 58 private static SharedPreferences prefs(Context context) { in prefs() method in VolumePrefs 63 return prefs(context).getBoolean(key, def); in get()
|
D | ZenModePanel.java | 1002 public void onSharedPreferenceChanged(SharedPreferences prefs, String key) { in onSharedPreferenceChanged() argument
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | TestAppWidgetConfigure.java | 46 … SharedPreferences.Editor prefs = getSharedPreferences(TestAppWidgetProvider.PREFS_NAME, 0) 48 prefs.putString(TestAppWidgetProvider.PREF_PREFIX_KEY, text); 49 prefs.commit();
|
D | TestAppWidgetProvider.java | 53 SharedPreferences prefs = context.getSharedPreferences( in onReceive() local 55 String prefix = prefs.getString(PREF_PREFIX_KEY, "hai"); in onReceive()
|
D | AppWidgetHostActivity.java | 93 SharedPreferences.Editor prefs = getPreferences(0).edit(); in configureAppWidget() local 94 prefs.putInt(PENDING_APPWIDGET_ID, appWidgetId); in configureAppWidget() 95 prefs.commit(); in configureAppWidget()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoService.java | 71 final PrefState prefs = new PrefState(this); in onStartJob() local 72 int food = prefs.getFoodState(); in onStartJob() 74 prefs.setFoodState(0); // nom in onStartJob() 78 List<Cat> cats = prefs.getCats(); in onStartJob() 84 prefs.addCat(cat); in onStartJob()
|
D | NekoDialog.java | 50 PrefState prefs = new PrefState(getContext()); in onFoodSelected() local 51 int currentState = prefs.getFoodState(); in onFoodSelected() 56 prefs.setFoodState(food.getType()); in onFoodSelected()
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 114 SharedPreferences prefs = getSharedPreferences(PREF_GROUP_SETTINGS, MODE_PRIVATE); 115 int val = prefs.getInt(PREF_KEY, 0); 123 SharedPreferences prefs = getSharedPreferences(PREF_GROUP_SETTINGS, MODE_PRIVATE); 124 int val = prefs.getInt(PREF_KEY, 0); 125 SharedPreferences.Editor editor = prefs.edit();
|
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgent.java | 122 SharedPreferences prefs = getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE); in onFullBackup() local 123 final int lastSysGeneration = prefs.getInt(SYSTEM_GENERATION, -1); in onFullBackup() 124 final int lastLockGeneration = prefs.getInt(LOCK_GENERATION, -1); in onFullBackup() 165 prefs.edit().putInt(SYSTEM_GENERATION, sysGeneration).apply(); in onFullBackup() 176 prefs.edit().putInt(LOCK_GENERATION, lockGeneration).apply(); in onFullBackup() 253 SharedPreferences prefs = getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE); in onRestoreFinished() local 254 prefs.edit() in onRestoreFinished()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneResultAdapter.java | 144 SharedPreferences prefs = mContext.getSharedPreferences(SHARED_PREFS_NAME, in onSetFilter() local 146 String recentsString = prefs.getString(KEY_RECENT_TIMEZONES, null); in onSetFilter() 197 SharedPreferences prefs = mContext.getSharedPreferences(SHARED_PREFS_NAME, in saveRecentTimezone() local 199 String recentsString = prefs.getString(KEY_RECENT_TIMEZONES, null); in saveRecentTimezone() 234 prefs.edit().putString(KEY_RECENT_TIMEZONES, recentsString).apply(); in saveRecentTimezone()
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/settings/ |
D | SettingsExampleFragment.java | 37 startPreferenceFragment(buildPreferenceFragment(R.xml.prefs, null)); in onPreferenceStartInitialScreen() 49 PreferenceFragment frag = buildPreferenceFragment(R.xml.prefs, preferenceScreen.getKey()); in onPreferenceStartScreen()
|
/frameworks/multidex/library/src/android/support/multidex/ |
D | MultiDexExtractor.java | 203 SharedPreferences prefs = getMultiDexPreferences(context); in isModified() local 204 return (prefs.getLong(KEY_TIME_STAMP, NO_VALUE) != getTimeStamp(archive)) in isModified() 205 || (prefs.getLong(KEY_CRC, NO_VALUE) != currentCrc); in isModified() 308 SharedPreferences prefs = getMultiDexPreferences(context); in putStoredApkInfo() local 309 SharedPreferences.Editor edit = prefs.edit(); in putStoredApkInfo()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
D | InputMethodAndSubtypeUtil.java | 364 final SharedPreferences prefs = pref.getSharedPreferences(); in removeUnnecessaryNonPersistentPreference() local 365 if (prefs != null && prefs.contains(key)) { in removeUnnecessaryNonPersistentPreference() 366 prefs.edit().remove(key).apply(); in removeUnnecessaryNonPersistentPreference()
|
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
D | SettingsFragment.java | 34 private static final int sPreferenceResId = R.xml.prefs;
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
D | OMADMAdapter.java | 373 SharedPreferences prefs = context.getSharedPreferences("dmconfig", 0); in readValueFromFile() local 374 if (prefs.contains(propName)) { in readValueFromFile() 375 ret = prefs.getString(propName, ""); in readValueFromFile()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceActivity.java | 637 mPrefsContainer = (ViewGroup) findViewById(com.android.internal.R.id.prefs); in onCreate() 1259 transaction.replace(com.android.internal.R.id.prefs, f); in switchToHeaderInner() 1364 transaction.replace(com.android.internal.R.id.prefs, fragment); in startPreferenceFragment() 1400 transaction.replace(com.android.internal.R.id.prefs, f); in startPreferencePanel()
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 486 final File prefs = getSharedPreferencesPath(name); in deleteSharedPreferences() local 487 final File prefsBackup = SharedPreferencesImpl.makeBackupFile(prefs); in deleteSharedPreferences() 491 cache.remove(prefs); in deleteSharedPreferences() 493 prefs.delete(); in deleteSharedPreferences() 497 return !(prefs.exists() || prefsBackup.exists()); in deleteSharedPreferences()
|
/frameworks/base/ |
D | preloaded-classes | 4111 java.util.prefs.AbstractPreferences 4112 java.util.prefs.FileSystemPreferences 4113 java.util.prefs.Preferences
|
D | compiled-classes-phone | 7606 java.util.prefs.AbstractPreferences 7607 java.util.prefs.FileSystemPreferences 7608 java.util.prefs.Preferences
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 50647 package java.util.prefs { 50649 public abstract class AbstractPreferences extends java.util.prefs.Preferences { 50650 ctor protected AbstractPreferences(java.util.prefs.AbstractPreferences, java.lang.String); 50652 method public void addNodeChangeListener(java.util.prefs.NodeChangeListener); 50653 method public void addPreferenceChangeListener(java.util.prefs.PreferenceChangeListener); 50654 method protected final java.util.prefs.AbstractPreferences[] cachedChildren(); 50655 method protected abstract java.util.prefs.AbstractPreferences childSpi(java.lang.String); 50656 method public java.lang.String[] childrenNames() throws java.util.prefs.BackingStoreException; 50657 …method protected abstract java.lang.String[] childrenNamesSpi() throws java.util.prefs.BackingStor… 50658 method public void clear() throws java.util.prefs.BackingStoreException; [all …]
|
/frameworks/base/api/ |
D | current.txt | 67220 package java.util.prefs { 67222 public abstract class AbstractPreferences extends java.util.prefs.Preferences { 67223 ctor protected AbstractPreferences(java.util.prefs.AbstractPreferences, java.lang.String); 67225 method public void addNodeChangeListener(java.util.prefs.NodeChangeListener); 67226 method public void addPreferenceChangeListener(java.util.prefs.PreferenceChangeListener); 67227 method protected final java.util.prefs.AbstractPreferences[] cachedChildren(); 67228 method protected abstract java.util.prefs.AbstractPreferences childSpi(java.lang.String); 67229 method public java.lang.String[] childrenNames() throws java.util.prefs.BackingStoreException; 67230 …method protected abstract java.lang.String[] childrenNamesSpi() throws java.util.prefs.BackingStor… 67231 method public void clear() throws java.util.prefs.BackingStoreException; [all …]
|
D | system-current.txt | 71128 package java.util.prefs { 71130 public abstract class AbstractPreferences extends java.util.prefs.Preferences { 71131 ctor protected AbstractPreferences(java.util.prefs.AbstractPreferences, java.lang.String); 71133 method public void addNodeChangeListener(java.util.prefs.NodeChangeListener); 71134 method public void addPreferenceChangeListener(java.util.prefs.PreferenceChangeListener); 71135 method protected final java.util.prefs.AbstractPreferences[] cachedChildren(); 71136 method protected abstract java.util.prefs.AbstractPreferences childSpi(java.lang.String); 71137 method public java.lang.String[] childrenNames() throws java.util.prefs.BackingStoreException; 71138 …method protected abstract java.lang.String[] childrenNamesSpi() throws java.util.prefs.BackingStor… 71139 method public void clear() throws java.util.prefs.BackingStoreException; [all …]
|
/frameworks/base/services/ |
D | profile-classes | 6830 Ljava/util/prefs/AbstractPreferences; 6831 Ljava/util/prefs/FileSystemPreferences; 6832 Ljava/util/prefs/Preferences;
|