/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/SystemUI/tests/utils/src/com/android/systemui/util/ |
D | FakeSharedPreferences.kt | 67 override fun edit(): SharedPreferences.Editor { in <lambda>() 68 return Editor() in <lambda>() 83 private inner class Editor : SharedPreferences.Editor { in <lambda>() class in com.android.systemui.util.FakeSharedPreferences 89 override fun putString(key: String, value: String?): SharedPreferences.Editor { in <lambda>() 101 ): SharedPreferences.Editor { in <lambda>() 110 override fun putInt(key: String, value: Int): SharedPreferences.Editor { in <lambda>() 115 override fun putLong(key: String, value: Long): SharedPreferences.Editor { in <lambda>() 120 override fun putFloat(key: String, value: Float): SharedPreferences.Editor { in <lambda>() 125 override fun putBoolean(key: String, value: Boolean): SharedPreferences.Editor { in <lambda>() 130 override fun remove(key: String): SharedPreferences.Editor { in <lambda>() [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/SystemUI/tests/src/com/android/systemui/util/ |
D | FakeSharedPreferencesTest.kt | 100 SharedPreferences.Editor::putString, in <lambda>() 106 SharedPreferences.Editor::putStringSet, in <lambda>() 109 Data("keyInt", 10, SharedPreferences.Editor::putInt, { getInt(it, 0) }), in <lambda>() 110 Data("keyLong", 11L, SharedPreferences.Editor::putLong, { getLong(it, 0L) }), in <lambda>() 114 SharedPreferences.Editor::putFloat, in <lambda>() 120 SharedPreferences.Editor::putBoolean, in <lambda>() 248 private val setter: SharedPreferences.Editor.(String, T) -> SharedPreferences.Editor, in <lambda>() 251 fun set(editor: SharedPreferences.Editor): SharedPreferences.Editor { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | PeopleBackupHelper.java | 134 SharedPreferences.Editor backupEditor = backupSp.edit(); in performBackup() 167 SharedPreferences.Editor editor = sp.edit(); in restoreEntity() 170 SharedPreferences.Editor followUpEditor = followUp.edit(); in restoreEntity() 195 public void backupKey(Map.Entry<String, ?> entry, SharedPreferences.Editor backupEditor, in backupKey() 225 boolean restoreKey(Map.Entry<String, ?> entry, SharedPreferences.Editor editor, in restoreKey() 226 SharedPreferences.Editor followUpEditor, SharedPreferences backupSp) { in restoreKey() 251 private void backupWidgetIdKey(String key, String uriString, SharedPreferences.Editor editor, in backupWidgetIdKey() 269 private void restoreWidgetIdKey(String key, String uriString, SharedPreferences.Editor editor, in restoreWidgetIdKey() 286 SharedPreferences.Editor editor, List<String> existingWidgets) { in backupPeopleTileKey() 316 Set<String> widgetIds, SharedPreferences.Editor editor, in restorePeopleTileKeyAndCorrespondingWidgetFile() [all …]
|
/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/SystemUI/src/com/android/systemui/people/ |
D | SharedPreferencesHelper.java | 32 SharedPreferences.Editor editor = sp.edit(); in clear() 45 SharedPreferences.Editor editor = sp.edit(); in setPeopleTileKey()
|
D | PeopleBackupFollowUpJob.java | 111 SharedPreferences.Editor editor = sp.edit(); in onStartJob() 114 SharedPreferences.Editor followUpEditor = followUp.edit(); in onStartJob() 141 SharedPreferences.Editor followUpEditor) { in processFollowUpFile() 187 SharedPreferences.Editor followUpEditor, SharedPreferences sp) { in cancelJobAndClearRemainingWidgets()
|
D | PeopleSpaceUtils.java | 113 SharedPreferences.Editor editor = sp.edit(); in setSharedPreferencesStorageForTile() 132 SharedPreferences.Editor editor = sp.edit(); in removeSharedPreferencesStorageForTile() 141 SharedPreferences.Editor widgetEditor = widgetSp.edit(); in removeSharedPreferencesStorageForTile() 148 private static void addAppWidgetIdForKey(SharedPreferences sp, SharedPreferences.Editor editor, in addAppWidgetIdForKey() 157 SharedPreferences.Editor editor, in removeAppWidgetIdForKey()
|
/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() 635 public boolean resetSelection(int textIndex, Editor editor) { in resetSelection()
|
D | OWNERS | 11 per-file TextView*, EditText.java, Editor.java = siyamed@google.com, nona@google.com, clarabayarri@…
|
/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()
|
/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/packages/WAPPushManager/ |
D | proguard.flags | 6 -keep class android.content.SharedPreferences$Editor {
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | EditorCursorDragTest.java | 206 Editor editor = tv.getEditorForTesting(); in testCursorDrag_diagonal_thresholdConfig() 292 Editor editor = tv.getEditorForTesting(); in testEditor_onTouchEvent_quickTapAfterDrag() 347 Editor editor = tv.getEditorForTesting(); in testEditor_onTouchEvent_mouseDrag() 376 Editor editor = tv.getEditorForTesting(); in testEditor_onTouchEvent_cursorDrag() 411 Editor editor = tv.getEditorForTesting(); in testEditor_onTouchEvent_selectionDrag() 451 Editor editor = tv.getEditorForTesting(); in testCursorDrag_nonSelectableTextView() 537 Editor editor = tv.getEditorForTesting(); in testLineChangeSlop() 565 Editor editor = tv.getEditorForTesting(); in testCursorDrag_multiTouch() 608 Editor editor = tv.getEditorForTesting(); in testCursorDrag_snapDistance() 785 Editor editor = tv.getEditorForTesting(); in simulateDrag()
|
/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)
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupPreferences.java | 35 private final SharedPreferences.Editor mEditor;
|