Home
last modified time | relevance | path

Searched defs:editor (Results 1 – 25 of 28) sorted by relevance

12

/cts/tests/tests/content/src/android/content/cts/
DSharedPreferencesTest.java96 SharedPreferences.Editor editor = prefs.edit().putString("test-key", null); in testPutNullRemovesKey() local
106 public abstract void setUp(SharedPreferences.Editor editor); in setUp()
110 public abstract void subsequentEdit(SharedPreferences.Editor editor); in subsequentEdit()
120 SharedPreferences.Editor editor; in test() local
148 public void setUp(SharedPreferences.Editor editor) { in testRedundantBoolean()
151 public void subsequentEdit(SharedPreferences.Editor editor) { in testRedundantBoolean()
159 public void setUp(SharedPreferences.Editor editor) { in testRedundantString()
162 public void subsequentEdit(SharedPreferences.Editor editor) { in testRedundantString()
170 public void setUp(SharedPreferences.Editor editor) { in testNonRedundantString()
173 public void subsequentEdit(SharedPreferences.Editor editor) { in testNonRedundantString()
[all …]
/cts/tests/sample/src/android/sample/
DSampleDeviceActivity.java49 Editor editor = mPreferences.edit(); in savePreference() local
71 Editor editor = mPreferences.edit(); in clearPreferences() local
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39797/test-app/src/android/security/cts/CVE_2021_39797_test/
DPocActivity.java45 SharedPreferences.Editor editor = prefs.edit(); in onCreate() local
50 SharedPreferences.Editor editor = prefs.edit(); in onCreate() local
/cts/tests/inputmethod/testapp/src/android/view/inputmethod/ctstestapp/
DTranslucentActivity.java38 final var editor = new EditText(this); in onCreate() local
/cts/libs/install/testapp/src/com/android/cts/install/lib/testapp/
DCrashingMainActivity.java38 SharedPreferences.Editor editor = preferences.edit(); in incrementCountAndBroadcast() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DAutomaticZenRuleStatusReceiver.java36 SharedPreferences.Editor editor = prefs.edit(); in onReceive() local
DBlockChangeReceiver.java35 SharedPreferences.Editor editor = prefs.edit(); in onReceive() local
DNotificationListenerVerifierActivity.java478 SharedPreferences.Editor editor = prefs.edit(); in tearDown() local
656 SharedPreferences.Editor editor = prefs.edit(); in tearDown() local
733 SharedPreferences.Editor editor = prefs.edit(); in tearDown() local
804 SharedPreferences.Editor editor = prefs.edit(); in tearDown() local
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
DBroadcastIntentReceiver.java38 SharedPreferences.Editor editor = prefs.edit(); in onReceive() local
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39701/src/android/security/cts/CVE_2021_39701/
DPocService.java49 SharedPreferences.Editor editor = sharedPref.edit(); in setResult() local
/cts/tests/tests/widget/src/android/widget/cts/
DEditTextTest.java758 Editor editor = et.getEditorForTesting(); in testCursorNotBlinkingOnNewActivity_WithoutFocus() local
767 Editor editor = et.getEditorForTesting(); in testCursorBlinkingOnNewActivity_WithFocus() local
781 Editor editor = et.getEditorForTesting(); in testSuspendAndResumeBlinkingCursor() local
824 Editor editor = editText.getEditorForTesting(); in testCursorBlinking_ViewDynamicallyAdded_WithFocus() local
845 Editor editor = editText.getEditorForTesting(); in testCursorNotBlinking_ViewDynamicallyAdded_NoFocus() local
865 Editor editor = editText.getEditorForTesting(); in testCursorSuspendBlinking_ViewDynamicallyRemoved() local
889 Editor editor = editText.getEditorForTesting(); in testCursorBlinking_ViewDynamically_RemovedAdded_NeverHadFocus() local
917 Editor editor = editText.getEditorForTesting(); in testCursorResumeBlinking_AfterFocusedView_DynamicallyRemovedAdded() local
/cts/hostsidetests/backup/ProfileKeyValueApp/src/android.cts.backup.profilekeyvalueapp/
DProfileKeyValueBackupRestoreTest.java59 SharedPreferences.Editor editor = mPreferences.edit(); in writeSharedPrefsAndAssertSuccess() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
DPolicySerializationTestActivity.java136 SharedPreferences.Editor editor = prefs.edit(); in generateRandomPolicy() local
176 SharedPreferences.Editor editor = prefs.edit(); in handleAddDeviceAdminResult() local
264 void saveExpectedValue(SharedPreferences.Editor editor); in saveExpectedValue()
378 public final void saveExpectedValue(Editor editor) { in saveExpectedValue()
402 public final void saveExpectedValue(Editor editor) { in saveExpectedValue()
/cts/hostsidetests/backup/includeexcludeapp/src/android/cts/backup/includeexcludeapp/
DIncludeExcludeTest.java273 SharedPreferences.Editor editor = mIncludeSharedPref1.edit(); in generateSharedPrefs() local
302 SharedPreferences.Editor editor = mIncludeSharedPref1.edit(); in deleteSharedPref() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/offhost/
DSimpleOffhostReaderActivity.java294 SharedPreferences.Editor editor = mPrefs.edit(); in onItemSelected() local
302 SharedPreferences.Editor editor = mPrefs.edit(); in onItemSelected() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DCtsInteractiveActivity.java65 Editor editor = getSharedPreferences("CTSInteractive", Context.MODE_PRIVATE).edit(); in onStart() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/
DGarageModeChecker.java166 SharedPreferences.Editor editor = prefs.edit(); in onStartJob() local
206 SharedPreferences.Editor editor = null; in doInBackground() local
DGarageModeTestActivity.java87 SharedPreferences.Editor editor = prefs.edit(); in onCreate() local
/cts/hostsidetests/backup/RestoreAnyVersion/src/
DRestoreAnyVersionTest.java103 SharedPreferences.Editor editor = prefs.edit(); in saveAppVersionCodeToSharedPreference() local
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
DCreatePrivateDataTest.java109 SharedPreferences.Editor editor = prefs.edit(); in writeToPreferences() local
/cts/tests/framework/base/windowmanager/src/android/server/wm/keyguard/
DKeyguardLockedTests.java460 EditText editor = new EditText(activity); in createViews() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/
DVrListenerVerifierActivity.java694 SharedPreferences.Editor editor = sharedPref.edit(); in setStatusOfTest() local
700 SharedPreferences.Editor editor = sharedPref.edit(); in clear() local
/cts/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/
DKeyValueBackupRestoreTest.java231 SharedPreferences.Editor editor = prefs.edit(); in saveSharedPreferencesValues() local
/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/
DMediaBitstreamsDeviceSideTest.java231 Editor editor = settings.edit(); in setup() local
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DWindowInsetsControllerTests.java719 View editor = getOnMainSync(rootView::findFocus); in testShowIme_immediatelyAfterDetachAndReattach() local
1106 EditText editor = new EditText(activity); in setViews() local

12