/frameworks/base/core/java/android/content/ |
D | SharedPreferences.java | 77 public interface Editor { interface 90 Editor putString(String key, @Nullable String value); in putString() 103 Editor putStringSet(String key, @Nullable Set<String> values); in putStringSet() 115 Editor putInt(String key, int value); in putInt() 127 Editor putLong(String key, long value); in putLong() 139 Editor putFloat(String key, float value); in putFloat() 151 Editor putBoolean(String key, boolean value); in putBoolean() 167 Editor remove(String key); in remove() 181 Editor clear(); in clear() 365 Editor edit(); in edit()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeSharedPreferences.java | 29 private Editor mEditor; 72 public Editor edit() { in edit() 76 mEditor = new Editor() { in edit() 78 public Editor putString(String key, String value) { in edit() 83 public Editor putStringSet(String key, Set<String> values) { in edit() 88 public Editor putInt(String key, int value) { in edit() 93 public Editor putLong(String key, long value) { in edit() 98 public Editor putFloat(String key, float value) { in edit() 103 public Editor putBoolean(String key, boolean value) { in edit() 108 public Editor remove(String key) { in edit() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
D | SharedPreferencesLogger.java | 91 public Editor edit() { in edit() 205 public class EditorLogger implements Editor { 207 public Editor putString(String key, @Nullable String value) { in putString() 213 public Editor putStringSet(String key, @Nullable Set<String> values) { in putStringSet() 219 public Editor putInt(String key, int value) { in putInt() 225 public Editor putLong(String key, long value) { in putLong() 231 public Editor putFloat(String key, float value) { in putFloat() 237 public Editor putBoolean(String key, boolean value) { in putBoolean() 243 public Editor remove(String key) { in remove() 248 public Editor clear() { in clear()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/ |
D | SharedPreferenceLoggerTest.java | 59 final SharedPreferences.Editor editor = mSharedPrefLogger.edit(); in putInt_shouldNotLogInitialPut() 77 final SharedPreferences.Editor editor = mSharedPrefLogger.edit(); in putBoolean_shouldNotLogInitialPut() 99 final SharedPreferences.Editor editor = mSharedPrefLogger.edit(); in putLong_shouldNotLogInitialPut() 115 final SharedPreferences.Editor editor = mSharedPrefLogger.edit(); in putLong_biggerThanIntMax_shouldLogIntMax() 129 final SharedPreferences.Editor editor = mSharedPrefLogger.edit(); in putLong_smallerThanIntMin_shouldLogIntMin() 142 final SharedPreferences.Editor editor = mSharedPrefLogger.edit(); in putFloat_shouldNotLogInitialPut()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | VoicemailNotificationSettingsUtil.java | 49 SharedPreferences.Editor editor = prefs.edit(); in setVibrationEnabled() 70 SharedPreferences.Editor editor = prefs.edit(); in setRingtoneUri() 110 SharedPreferences.Editor editor = prefs.edit(); in migrateVoicemailVibrationSettingsIfNeeded() 123 SharedPreferences.Editor editor = prefs.edit(); in migrateVoicemailVibrationSettingsIfNeeded() 149 SharedPreferences.Editor editor = prefs.edit(); in migrateVoicemailRingtoneSettingsIfNeeded()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | DragHandleUtils.java | 30 import android.widget.Editor; 46 onView(isAssignableFrom(Editor.SelectionHandleView.class)) in assertNoSelectionHandles() 59 isAssignableFrom(Editor.HandleView.class))) in onHandleView()
|
D | TextViewActions.java | 25 import android.widget.Editor; 26 import android.widget.Editor.HandleView; 357 Editor.HandleView.class)); in dragHandle()
|
/frameworks/ex/common/java/com/android/common/ |
D | SharedPreferencesCompat.java | 32 Class cls = SharedPreferences.Editor.class; 39 public static void apply(SharedPreferences.Editor editor) { in apply()
|
D | OperationScheduler.java | 315 SharedPreferences.Editor editor = mStorage.edit(); in onTransientError()
|
/frameworks/base/core/java/android/app/ |
D | SharedPreferencesImpl.java | 345 public Editor edit() { in edit() 388 public final class EditorImpl implements Editor { 398 public Editor putString(String key, @Nullable String value) { in putString() 405 public Editor putStringSet(String key, @Nullable Set<String> values) { in putStringSet() 413 public Editor putInt(String key, int value) { in putInt() 420 public Editor putLong(String key, long value) { in putLong() 427 public Editor putFloat(String key, float value) { in putFloat() 434 public Editor putBoolean(String key, boolean value) { in putBoolean() 442 public Editor remove(String key) { in remove() 450 public Editor clear() { in clear()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
D | ApprovedPrintServices.java | 103 SharedPreferences.Editor editor = mPreferences.edit(); in addApprovedService() 153 SharedPreferences.Editor editor = mPreferences.edit(); in pruneApprovedServices()
|
/frameworks/base/core/java/android/widget/ |
D | SelectionActionModeHelper.java | 50 import android.widget.Editor.SelectionModifierCursorController; 76 private final Editor mEditor; 89 SelectionActionModeHelper(@NonNull Editor editor) { in SelectionActionModeHelper() 277 startActionMode(Editor.TextActionMode.TEXT_LINK, result); in startLinkActionMode() 281 startActionMode(Editor.TextActionMode.SELECTION, result); in startSelectionActionMode() 285 @Editor.TextActionMode int actionMode, @Nullable SelectionResult result) { in startActionMode() 295 } else if (result != null && actionMode == Editor.TextActionMode.TEXT_LINK) { in startActionMode() 308 case Editor.TextActionMode.SELECTION: in startActionMode() 311 case Editor.TextActionMode.TEXT_LINK: in startActionMode() 633 public boolean resetSelection(int textIndex, Editor editor) { in resetSelection()
|
D | OWNERS | 1 per-file TextView.java, EditText.java, Editor.java = siyamed@google.com, nona@google.com, clarabaya…
|
/frameworks/base/core/java/android/preference/ |
D | Preference.java | 1256 public SharedPreferences.Editor getEditor() { in getEditor() 1618 private void tryCommit(SharedPreferences.Editor editor) { in tryCommit() 1655 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistString() 1708 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistStringSet() 1761 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistInt() 1815 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistFloat() 1869 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistLong() 1923 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistBoolean()
|
D | PreferenceManager.java | 118 private SharedPreferences.Editor mEditor; 672 SharedPreferences.Editor editor = in setDefaultValues() 695 SharedPreferences.Editor getEditor() { in getEditor()
|
/frameworks/base/packages/WAPPushManager/ |
D | proguard.flags | 6 -keep class android.content.SharedPreferences$Editor {
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | TestAppWidgetConfigure.java | 46 … SharedPreferences.Editor prefs = getSharedPreferences(TestAppWidgetProvider.PREFS_NAME, 0)
|
D | AppWidgetHostActivity.java | 93 SharedPreferences.Editor prefs = getPreferences(0).edit(); in configureAppWidget()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | ConnectionRecordManager.java | 74 final SharedPreferences.Editor editor = getSharedPreferences(context).edit(); in setConnectionRecord()
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/keys/ |
D | TertiaryKeyRotationTracker.java | 103 SharedPreferences.Editor editor = mSharedPreferences.edit(); in markAllForRotation()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierKeyDownloadManager.java | 204 SharedPreferences.Editor editor = getDefaultSharedPreferences(mContext).edit(); in cleanupDownloadPreferences() 540 SharedPreferences.Editor editor = getDefaultSharedPreferences(mContext).edit(); in downloadKey()
|
D | Phone.java | 848 SharedPreferences.Editor editor = sp.edit(); in disableDnsCheck() 1460 SharedPreferences.Editor editor = sp.edit(); in updateSavedNetworkOperator() 1543 SharedPreferences.Editor editor = sp.edit(); in saveClirSetting() 2016 SharedPreferences.Editor editor = sp.edit(); in getCallForwardingIndicatorFromSharedPref() 2036 SharedPreferences.Editor editor = sp.edit(); in setCallForwardingIndicatorInSharedPref() 2759 SharedPreferences.Editor editor = sp.edit(); in setVoiceMessageCount() 2809 SharedPreferences.Editor editor = sp.edit(); in getStoredVoiceMessageCount() 3788 SharedPreferences.Editor spEditor = in setRoamingOverrideHelper()
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 125 SharedPreferences.Editor editor = prefs.edit();
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 749 SharedPreferences.Editor editor = preferences.edit(); in migratePhonebookPermissionChoice() 773 SharedPreferences.Editor editor = preferences.edit(); in migrateMessagePermissionChoice()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierKeyDownloadMgrTest.java | 243 SharedPreferences.Editor editor = getDefaultSharedPreferences(mContext).edit(); in testDownloadComplete()
|