Home
last modified time | relevance | path

Searched refs:setText (Results 1 – 25 of 214) sorted by relevance

123456789

/cts/tests/autofillservice/src/android/autofillservice/cts/
DOptionalSaveActivityTest.java80 mActivity.mAddress1.setText("742 Evergreen Terrace"); // required in testNoAutofillSaveAll()
81 mActivity.mAddress2.setText("Simpsons House"); // not required in testNoAutofillSaveAll()
82 mActivity.mCity.setText("Springfield"); // required in testNoAutofillSaveAll()
83 mActivity.mFavoriteColor.setText("Yellow"); // lol in testNoAutofillSaveAll()
95 mActivity.mAddress1.setText("742 Evergreen Terrace"); // required in testNoAutofillSaveRequiredOnly()
96 mActivity.mCity.setText("Springfield"); // required in testNoAutofillSaveRequiredOnly()
147 mActivity.mAddress2.setText("Simpsons House"); // not required in testNoAutofillFirstRequiredFieldMissing()
148 mActivity.mCity.setText("Springfield"); // required in testNoAutofillFirstRequiredFieldMissing()
149 mActivity.mFavoriteColor.setText("Yellow"); // lol in testNoAutofillFirstRequiredFieldMissing()
156 mActivity.mAddress1.setText("742 Evergreen Terrace"); // required in testNoAutofillSecondRequiredFieldMissing()
[all …]
DSimpleSaveActivityTest.java121 mActivity.mInput.setText("ID"); in testAutoFillOneDatasetAndSave()
122 mActivity.mPassword.setText("PASS"); in testAutoFillOneDatasetAndSave()
177 input.setText("ID"); in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly()
178 password.setText("PASS"); in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly()
224 mActivity.mInput.setText("108"); in saveTest()
265 mActivity.mInput.setText("108"); in testSave_launchIntent()
295 mActivity.mInput.setText("108"); in testSaveThenStartNewSessionRightAway()
327 mActivity.mInput.setText("108"); in testSaveWithParcelableOnClientState()
381 mActivity.mInput.setText("108"); in testCancelPreventsSaveUiFromShowing()
429 mActivity.mInput.setText("108"); in dismissSaveTest()
[all …]
DVirtualContainerActivityCompatModeTest.java194 mActivity.mUsername.setText("foo"); in testUrlBarChangeIgnoredWhenServiceCanSave()
196 mActivity.mPassword.setText("bar"); in testUrlBarChangeIgnoredWhenServiceCanSave()
202 mActivity.syncRunOnUiThread(() -> mActivity.mUrlBar.setText("http://null/dev")); in testUrlBarChangeIgnoredWhenServiceCanSave()
253 mActivity.mUsername.setText("foo"); in testUrlBarChangeCancelSessionWhenServiceCannotSave()
255 mActivity.mPassword.setText("bar"); in testUrlBarChangeCancelSessionWhenServiceCannotSave()
261 mActivity.syncRunOnUiThread(() -> mActivity.mUrlBar.setText("http://null/dev")); in testUrlBarChangeCancelSessionWhenServiceCannotSave()
285 mActivity.mUsername.setText("foo"); in testUrlBarChangeCancelSessionWhenServiceReturnsNullResponse()
287 mActivity.mPassword.setText("bar"); in testUrlBarChangeCancelSessionWhenServiceReturnsNullResponse()
293 mActivity.syncRunOnUiThread(() -> mActivity.mUrlBar.setText("http://null/dev")); in testUrlBarChangeCancelSessionWhenServiceReturnsNullResponse()
DFieldsClassificationTest.java188 mActivity.setText(1, 1, "fully"); in simpleHitTest()
230 mActivity.setText(1, 1, firstMatch ? "IAM111" : "IAM222"); in manyUserData_oneDetectableField()
273 mActivity.setText(1, 1, "fully"); // 100% in testHit_oneUserData_manyDetectableFields()
274 mActivity.setText(1, 2, "fooly"); // 60% in testHit_oneUserData_manyDetectableFields()
319 mActivity.setText(1, 1, "fully"); // u1: 100% u2: 20% in testHit_manyUserData_manyDetectableFields()
320 mActivity.setText(1, 2, "empty"); // u1: 20% u2: 100% in testHit_manyUserData_manyDetectableFields()
321 mActivity.setText(2, 1, "fooly"); // u1: 60% u2: 20% in testHit_manyUserData_manyDetectableFields()
322 mActivity.setText(2, 2, "emppy"); // u1: 20% u2: 80% in testHit_manyUserData_manyDetectableFields()
374 mActivity.setText(1, 1, "fully"); // u1: 100% u2: 20% in testHit_manyUserDataPerField_manyDetectableFields()
375 mActivity.setText(1, 2, "empty"); // u1: 20% u2: 100% in testHit_manyUserDataPerField_manyDetectableFields()
[all …]
DPreFilledLoginActivityTest.java65 mActivity.onUsernameLabel((v) -> v.setText("DA USER")); in testSanitization()
66 mActivity.onPasswordLabel((v) -> v.setText(R.string.new_password_label)); in testSanitization()
87 mActivity.onUsername((v) -> v.setText("malkovich")); in testSanitization()
88 mActivity.onPassword((v) -> v.setText("malkovich")); in testSanitization()
DAuthenticationTest.java405 mActivity.onUsername((v) -> v.setText("a")); in testDatasetAuthNoFiltering()
410 mActivity.onUsername((v) -> v.setText("")); in testDatasetAuthNoFiltering()
475 mActivity.onUsername((v) -> v.setText("a")); in testDatasetAuthFilteringUsingAutofillValue()
480 mActivity.onUsername((v) -> v.setText("")); in testDatasetAuthFilteringUsingAutofillValue()
485 mActivity.onUsername((v) -> v.setText("d")); in testDatasetAuthFilteringUsingAutofillValue()
489 mActivity.onUsername((v) -> v.setText("du")); in testDatasetAuthFilteringUsingAutofillValue()
491 mActivity.onUsername((v) -> v.setText("dud")); in testDatasetAuthFilteringUsingAutofillValue()
493 mActivity.onUsername((v) -> v.setText("dude")); in testDatasetAuthFilteringUsingAutofillValue()
495 mActivity.onUsername((v) -> v.setText("dude,")); in testDatasetAuthFilteringUsingAutofillValue()
499 mActivity.onUsername((v) -> v.setText("dude")); in testDatasetAuthFilteringUsingAutofillValue()
[all …]
DOptionalSaveActivity.java87 mAddress1.setText(""); in resetFields()
88 mAddress2.setText(""); in resetFields()
89 mCity.setText(""); in resetFields()
90 mFavoriteColor.setText(""); in resetFields()
/cts/tests/tests/widget/src/android/widget/cts/util/
DListItemFactory.java59 topButton.setText("top (position " + position + ")"); in twoButtonsSeparatedByFiller()
66 middleFiller.setText("filler"); in twoButtonsSeparatedByFiller()
71 bottomButton.setText("bottom (position " + position + ")"); in twoButtonsSeparatedByFiller()
120 button.setText("left"); in horizontalButtonSlots()
128 button.setText("center"); in horizontalButtonSlots()
136 button.setText("right"); in horizontalButtonSlots()
157 result.setText(text); in button()
177 ((Button) convertView).setText(text); in convertButton()
197 result.setText(text); in text()
217 ((TextView) convertView).setText(text); in convertText()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DKeyChainTestActivity.java100 mLogView.setText("Key generated successfully."); in doInBackground()
102 mLogView.setText("Failed generating key."); in doInBackground()
106 mLogView.setText("Security exception while generating key."); in doInBackground()
134 mLogView.setText("Test ready"); in onKeyPairGenerated()
135 mInstructionsView.setText(R.string.provisioning_byod_keychain_info_first_test); in onKeyPairGenerated()
138 mLogView.setText("FAILED certificate installation."); in onKeyPairGenerated()
142 mLogView.setText("Error generating a certificate."); in onKeyPairGenerated()
175 mLogView.setText("Starting key generation"); in onClick()
194 mLogView.setText("Waiting for prompt"); in onClick()
231 mLogView.setText("Waiting for prompt"); in onClick()
[all …]
DCrossProfileTestActivity.java56 textView.setText(R.string.provisioning_byod_cross_profile_app_work); in onCreate()
58 textView.setText(R.string.provisioning_byod_cross_profile_app_personal); in onCreate()
60 textView.setText(R.string.provisioning_byod_cross_profile_app_ctsverifier); in onCreate()
/cts/tests/tests/widget/src/android/widget/cts/
DEditTextTest.java100 mEditText1.setText("android", BufferType.NORMAL); in testAccessText()
103 mEditText1.setText("", BufferType.SPANNABLE); in testAccessText()
106 mEditText1.setText(null, BufferType.EDITABLE); in testAccessText()
113 mEditText1.setText("android", BufferType.EDITABLE); in testSetSelectionIndex()
128 mEditText1.setText("android", BufferType.EDITABLE); in testSetSelectionIndexBeforeFirst()
135 mEditText1.setText("android", BufferType.EDITABLE); in testSetSelectionIndexAfterLast()
142 mEditText1.setText("android", BufferType.EDITABLE); in testSetSelectionStartEnd()
165 mEditText1.setText("android", BufferType.EDITABLE); in testSetSelectionStartEndBeforeFirst()
172 mEditText1.setText("android", BufferType.EDITABLE); in testSetSelectionStartEndAfterLast()
180 mEditText1.setText(string, BufferType.EDITABLE); in testSelectAll()
[all …]
DMultiAutoCompleteTextViewTest.java101 private void setText(final MultiAutoCompleteTextView m, final CharSequence c) { in setText() method in MultiAutoCompleteTextViewTest
102 m.setText(c); in setText()
118 setText(mMultiAutoCompleteTextView_country, "Ar"); in testMultiAutoCompleteTextView()
121 setText(mMultiAutoCompleteTextView_country, "Arg"); in testMultiAutoCompleteTextView()
124 setText(mMultiAutoCompleteTextView_country, "Argentina"); in testMultiAutoCompleteTextView()
127 setText(mMultiAutoCompleteTextView_name, "J"); in testMultiAutoCompleteTextView()
130 setText(mMultiAutoCompleteTextView_name, "Ja"); in testMultiAutoCompleteTextView()
133 setText(mMultiAutoCompleteTextView_name, "Jacky"); in testMultiAutoCompleteTextView()
155 mMultiAutoCompleteTextView_country.setText(str); in testPerformValidation()
180 multiAutoCompleteTextView.setText(text); in testPerformFiltering()
[all …]
DTextSwitcherTest.java82 tv1.setText(viewText1); in testSetText()
83 tv2.setText(viewText2); in testSetText()
94 mTextSwitcher.setText(changedText); in testSetText()
100 mTextSwitcher.setText(changedText); in testSetText()
106 mTextSwitcher.setText(null); in testSetText()
122 tv1.setText(viewText1); in testSetCurrentText()
123 tv2.setText(viewText2); in testSetCurrentText()
DExpandableListWithHeaders.java46 header.setText("Header View"); in onCreate()
52 footer.setText("Footer View"); in onCreate()
/cts/tests/tests/text/src/android/text/cts/
DClipboardManagerTest.java49 mClipboardManager.setText(expected); in testAccessText()
55 mClipboardManager.setText(""); in testHasText()
58 mClipboardManager.setText("test"); in testHasText()
61 mClipboardManager.setText(null); in testHasText()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioInputDeviceNotificationsActivity.java49 mConnectView.setText( in onAudioDevicesAdded()
56 mDisconnectView.setText( in onAudioDevicesRemoved()
78 ((TextView)findViewById(R.id.info_text)).setText(mContext.getResources().getString( in onCreate()
84 mConnectView.setText(""); in onCreate()
85 mDisconnectView.setText(""); in onCreate()
DAudioOutputDeviceNotificationsActivity.java49 mConnectView.setText( in onAudioDevicesAdded()
56 mDisconnectView.setText( in onAudioDevicesRemoved()
78 ((TextView)findViewById(R.id.info_text)).setText(mContext.getResources().getString( in onCreate()
84 mConnectView.setText(""); in onCreate()
85 mDisconnectView.setText(""); in onCreate()
DUSBAudioPeripheralActivity.java85 mProfileNameTx.setText(mSelectedProfile.getName()); in showProfileStatus()
86 mProfileDescriptionTx.setText(mSelectedProfile.getDescription()); in showProfileStatus()
88 mProfileNameTx.setText(""); in showProfileStatus()
89 mProfileDescriptionTx.setText(""); in showProfileStatus()
107 mPeripheralNameTx.setText(ctrlText); in showPeripheralStatus()
109 mPeripheralNameTx.setText("Disconnected"); in showPeripheralStatus()
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DMain.java51 mStatusMessage.setText(getString(R.string.status_no_test)); in onCreate()
103 mStatusMessage.setText(status); in onStatusUpdate()
108 mStatusMessage.setText(getString(R.string.status_finished)); in onSuccess()
114 mStatusMessage.setText(error); in onFail()
120 mStatusMessage.setText(getString(R.string.status_abort)); in onAbort()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DTvAppVerifierActivity.java84 instructions.setText(instructionTextId); in createUserItem()
87 button.setText(buttonTextId); in createUserItem()
100 instructions.setText(instructionCharSequence); in createUserItem()
103 button.setText(buttonTextId); in createUserItem()
116 instructions.setText(stringId); in createAutoItem()
128 button.setText(buttonTextId); in createButtonItem()
/cts/tests/tests/text/src/android/text/method/cts/
DReplacementTransformationMethodTest.java68 mEditText.setText("010101"); in testGetTransformation()
95 mEditText.setText("010101"); in testGetTransformationWithAbmornalReplacement()
103 mEditText.setText("010101"); in testGetTransformationWithAbmornalReplacement()
115 mEditText.setText("010101"); in testGetTransformationWithAbnormalOriginal()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
DResponderTestActivity.java127 mMyDeviceView.setText("Device Name: " + myDevice.deviceName); in onReceive()
143 mTextView.setText(msg); in onTestMsgReceived()
153 mTextView.setText(getReadyMsgId()); in onTestSuccess()
164 mTextView.setText(reason); in onTestFailed()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/flashlight/
DCameraFlashlightActivity.java255 mInstructionTextView.setText(String.format( in updateButtonsAndInstructionLocked()
260 mInstructionTextView.setText(R.string.camera_flashlight_next_text); in updateButtonsAndInstructionLocked()
261 mInstructionButton.setText(R.string.camera_flashlight_next_button); in updateButtonsAndInstructionLocked()
264 mInstructionTextView.setText(R.string.camera_flashlight_failed_text); in updateButtonsAndInstructionLocked()
265 mInstructionButton.setText(R.string.camera_flashlight_done_button); in updateButtonsAndInstructionLocked()
268 mInstructionTextView.setText(R.string.camera_flashlight_passed_text); in updateButtonsAndInstructionLocked()
269 mInstructionButton.setText(R.string.camera_flashlight_done_button); in updateButtonsAndInstructionLocked()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java125 mTestInfoView.setText(R.string.multinetwork_connectivity_test_running);
130 mTestInfoView.setText(progressMessageResourceId);
150 mTestNameView.setText(mCurrentValidator.mTestDescription);
169 mStartButton.setText("" + mSecondsToCompletion);
313 mTestInfoView.setText(R.string.multinetwork_connectivity_test_all_prereq_1); in checkPreRequisites()
317 mTestInfoView.setText(R.string.multinetwork_connectivity_test_all_prereq_2); in checkPreRequisites()
341 mTestNameView.setText(mCurrentValidator.mTestDescription); in setupCurrentTestStateOnResume()
345 mStartButton.setText(R.string.multinetwork_connectivity_test_start); in setupCurrentTestStateOnResume()
349 mTestInfoView.setText(getResources().getString( in setupCurrentTestStateOnResume()
353 mStartButton.setText(R.string.multinetwork_connectivity_test_continue); in setupCurrentTestStateOnResume()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DLlcpVersionActivity.java56 mTextView.setText(R.string.nfc_llcp_version_check_info); in onCreate()
109 mTextView.setText(R.string.nfc_llcp_version_check_failure); in createNdefMessage()
117 mTextView.setText(R.string.nfc_llcp_version_check_success); in createNdefMessage()

123456789