/frameworks/base/core/java/android/content/ |
D | SharedPreferences.java | 80 public interface Editor { interface 93 Editor putString(String key, @Nullable String value); in putString() 106 Editor putStringSet(String key, @Nullable Set<String> values); in putStringSet() 118 Editor putInt(String key, int value); in putInt() 130 Editor putLong(String key, long value); in putLong() 142 Editor putFloat(String key, float value); in putFloat() 154 Editor putBoolean(String key, boolean value); in putBoolean() 170 Editor remove(String key); in remove() 184 Editor clear(); in clear() 368 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/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/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/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; 222 Editor.HandleView.class)); in longPressAndDragHandle() 262 Editor.HandleView.class)); in doubleTapAndDragHandle() 437 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()
|
/frameworks/base/core/java/android/app/ |
D | SharedPreferencesImpl.java | 359 public Editor edit() { in edit() 405 public final class EditorImpl implements Editor { 415 public Editor putString(String key, @Nullable String value) { in putString() 422 public Editor putStringSet(String key, @Nullable Set<String> values) { in putStringSet() 430 public Editor putInt(String key, int value) { in putInt() 437 public Editor putLong(String key, long value) { in putLong() 444 public Editor putFloat(String key, float value) { in putFloat() 451 public Editor putBoolean(String key, boolean value) { in putBoolean() 459 public Editor remove(String key) { in remove() 467 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 | OWNERS | 1 per-file TextView.java, EditText.java, Editor.java = siyamed@google.com, nona@google.com, clarabaya…
|
D | SelectionActionModeHelper.java | 49 import android.widget.Editor.SelectionModifierCursorController; 75 private final Editor mEditor; 88 SelectionActionModeHelper(@NonNull Editor editor) { in SelectionActionModeHelper() 276 startActionMode(Editor.TextActionMode.TEXT_LINK, result); in startLinkActionMode() 280 startActionMode(Editor.TextActionMode.SELECTION, result); in startSelectionActionMode() 284 @Editor.TextActionMode int actionMode, @Nullable SelectionResult result) { in startActionMode() 294 } else if (result != null && actionMode == Editor.TextActionMode.TEXT_LINK) { in startActionMode() 307 case Editor.TextActionMode.SELECTION: in startActionMode() 310 case Editor.TextActionMode.TEXT_LINK: in startActionMode() 631 public boolean resetSelection(int textIndex, Editor editor) { in resetSelection()
|
D | EditorTouchState.java | 19 import static android.widget.Editor.logCursor;
|
/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/BackupEncryption/src/com/android/server/backup/encryption/ |
D | CryptoSettings.java | 23 import android.content.SharedPreferences.Editor; 216 Editor sharedPrefsEditor = mSharedPreferences.edit(); in clearAllSettingsForBackup()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | EditorCursorDragTest.java | 260 Editor editor = tv.getEditorForTesting(); in testEditor_onTouchEvent_quickTapAfterDrag() 315 Editor editor = tv.getEditorForTesting(); in testEditor_onTouchEvent_mouseDrag() 344 Editor editor = tv.getEditorForTesting(); in testEditor_onTouchEvent_cursorDrag() 379 Editor editor = tv.getEditorForTesting(); in testEditor_onTouchEvent_selectionDrag() 419 Editor editor = tv.getEditorForTesting(); in testCursorDrag_nonSelectableTextView() 505 Editor editor = tv.getEditorForTesting(); in testLineChangeSlop() 533 Editor editor = tv.getEditorForTesting(); in testCursorDrag_multiTouch() 576 Editor editor = tv.getEditorForTesting(); in testCursorDrag_snapDistance() 753 Editor editor = tv.getEditorForTesting(); in simulateDrag()
|
/frameworks/base/packages/WAPPushManager/ |
D | proguard.flags | 6 -keep class android.content.SharedPreferences$Editor {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | ConnectionRecordManager.java | 74 final SharedPreferences.Editor editor = getSharedPreferences(context).edit(); in setConnectionRecord()
|
/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/services/backup/java/com/android/server/backup/ |
D | UserBackupPreferences.java | 35 private final SharedPreferences.Editor mEditor;
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/keys/ |
D | TertiaryKeyRotationTracker.java | 117 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()
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 125 SharedPreferences.Editor editor = prefs.edit();
|