Home
last modified time | relevance | path

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

1234567891011

/cts/tests/autofillservice/src/android/autofillservice/cts/
DOptionalSaveActivityTest.java80 mActivity.mAddress1.setText("742 Evergreen Terrace"); // required
81 mActivity.mAddress2.setText("Simpsons House"); // not required
82 mActivity.mCity.setText("Springfield"); // required
83 mActivity.mFavoriteColor.setText("Yellow"); // lol
95 mActivity.mAddress1.setText("742 Evergreen Terrace"); // required
96 mActivity.mCity.setText("Springfield"); // required
147 mActivity.mAddress2.setText("Simpsons House"); // not required
148 mActivity.mCity.setText("Springfield"); // required
149 mActivity.mFavoriteColor.setText("Yellow"); // lol
156 mActivity.mAddress1.setText("742 Evergreen Terrace"); // required
[all …]
DSimpleSaveActivityTest.java126 mActivity.mInput.setText("ID"); in testAutoFillOneDatasetAndSave()
127 mActivity.mPassword.setText("PASS"); in testAutoFillOneDatasetAndSave()
179 mActivity.mInput.setText("ID"); in testAutoFillOneDatasetAndSave_largeAssistStructure()
180 mActivity.mPassword.setText("PASS"); in testAutoFillOneDatasetAndSave_largeAssistStructure()
243 input.setText("ID"); in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly()
244 password.setText("PASS"); in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly()
293 mActivity.mInput.setText("108"); in saveTest()
337 mActivity.syncRunOnUiThread(() -> mActivity.mInput.setText("108")); in testPartitionedSave()
354 mActivity.mPassword.setText("42"); in testPartitionedSave()
394 mActivity.mInput.setText("108"); in testDelayedSave()
[all …]
DFieldsClassificationTest.java198 mActivity.setText(1, 1, "t 5678"); in testMiss_exactMatchAlgorithm()
235 mActivity.setText(1, 1, "T1234"); in testHit_exactMatchLast4Algorithm()
273 mActivity.setText(1, 1, "T1234"); in testHit_useDefaultAlgorithm()
310 mActivity.setText(1, 1, "fully"); in simpleHitTest()
347 mActivity.setText(1, 1, "fully"); in testHit_sameValueForMultipleCategories()
396 mActivity.setText(1, 1, firstMatch ? "IAM111" : "IAM222"); in manyUserData_oneDetectableField()
443 mActivity.setText(1, 1, "fully"); // 100% in testHit_oneUserData_manyDetectableFields()
444 mActivity.setText(1, 2, "fooly"); // 60% in testHit_oneUserData_manyDetectableFields()
493 mActivity.setText(1, 1, "fully"); // u1: 100% u2: 20% in testHit_manyUserData_manyDetectableFields()
494 mActivity.setText(1, 2, "empty"); // u1: 20% u2: 100% in testHit_manyUserData_manyDetectableFields()
[all …]
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 …]
DVirtualContainerActivityCompatModeTest.java190 mActivity.mUsername.setText("foo"); in testUrlBarChangeIgnoredWhenServiceCanSave()
192 mActivity.mPassword.setText("bar"); in testUrlBarChangeIgnoredWhenServiceCanSave()
198 mActivity.syncRunOnUiThread(() -> mActivity.mUrlBar.setText("http://null/dev")); in testUrlBarChangeIgnoredWhenServiceCanSave()
249 mActivity.mUsername.setText("foo"); in testUrlBarChangeCancelSessionWhenServiceCannotSave()
251 mActivity.mPassword.setText("bar"); in testUrlBarChangeCancelSessionWhenServiceCannotSave()
257 mActivity.syncRunOnUiThread(() -> mActivity.mUrlBar.setText("http://null/dev")); in testUrlBarChangeCancelSessionWhenServiceCannotSave()
281 mActivity.mUsername.setText("foo"); in testUrlBarChangeCancelSessionWhenServiceReturnsNullResponse()
285 mActivity.mPassword.setText("bar"); in testUrlBarChangeCancelSessionWhenServiceReturnsNullResponse()
291 mActivity.syncRunOnUiThread(() -> mActivity.mUrlBar.setText("http://null/dev")); in testUrlBarChangeCancelSessionWhenServiceReturnsNullResponse()
DFillEventHistoryTest.java220 mActivity.onPassword((v) -> v.setText("new password")); in testDatasetSelected_twoResponses()
418 mActivity.onUsername((v) -> v.setText("malkovich")); in testEventsFromPreviousSessionIsDiscarded()
419 mActivity.onPassword((v) -> v.setText("malkovich")); in testEventsFromPreviousSessionIsDiscarded()
443 mActivity.onUsername((v) -> v.setText("malkovich")); in testContextCommitted_whenServiceDidntDoAnything()
444 mActivity.onPassword((v) -> v.setText("malkovich")); in testContextCommitted_whenServiceDidntDoAnything()
469 mActivity.onUsername((v) -> v.setText("malkovich")); in textContextCommitted_withoutDatasets()
470 mActivity.onPassword((v) -> v.setText("malkovich")); in textContextCommitted_withoutDatasets()
573 mActivity.onUsername((v) -> v.setText("USERNAME")); in testContextCommitted_idlessDatasets()
574 mActivity.onPassword((v) -> v.setText("USERNAME")); in testContextCommitted_idlessDatasets()
624 mActivity.onPassword((v) -> v.setText("username1")); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
[all …]
DPreFilledLoginActivityTest.java65 mActivity.onUsernameLabel((v) -> v.setText("DA USER"));
66 mActivity.onPasswordLabel((v) -> v.setText(R.string.new_password_label));
87 mActivity.onUsername((v) -> v.setText("malkovich"));
88 mActivity.onPassword((v) -> v.setText("malkovich"));
DVirtualContainerActivityTest.java558 mActivity.mUsername.setText("foo"); in saveTest()
560 mActivity.mPassword.setText("bar"); in saveTest()
634 mActivity.mUsername.setText("foo"); in testSaveNotShown_initialValues_noUserInput()
635 mActivity.mPassword.setText("bar"); in testSaveNotShown_initialValues_noUserInput()
659 mActivity.mUsername.setText("foo"); in testSaveNotShown_initialValues_noUserInput_serviceDatasets()
660 mActivity.mPassword.setText("bar"); in testSaveNotShown_initialValues_noUserInput_serviceDatasets()
690 mActivity.mUsername.setText("foo"); in testSaveNotShown_userInputMatchesDatasets()
691 mActivity.mPassword.setText("bar"); in testSaveNotShown_userInputMatchesDatasets()
749 mActivity.mUsername.setText("a"); in testDatasetFiltering()
753 mActivity.mUsername.setText("aa"); in testDatasetFiltering()
[all …]
/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()
236 mLogView.setText("Prompt should not appear."); in onClick()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DEditTextTest.java103 mEditText1.setText("android", BufferType.NORMAL); in testAccessText()
106 mEditText1.setText("", BufferType.SPANNABLE); in testAccessText()
109 mEditText1.setText(null, BufferType.EDITABLE); in testAccessText()
116 mEditText1.setText("android", BufferType.EDITABLE); in testSetSelectionIndex()
131 mEditText1.setText("android", BufferType.EDITABLE); in testSetSelectionIndexBeforeFirst()
138 mEditText1.setText("android", BufferType.EDITABLE); in testSetSelectionIndexAfterLast()
145 mEditText1.setText("android", BufferType.EDITABLE); in testSetSelectionStartEnd()
168 mEditText1.setText("android", BufferType.EDITABLE); in testSetSelectionStartEndBeforeFirst()
175 mEditText1.setText("android", BufferType.EDITABLE); in testSetSelectionStartEndAfterLast()
183 mEditText1.setText(string, BufferType.EDITABLE); in testSelectAll()
[all …]
DMultiAutoCompleteTextViewTest.java102 private void setText(final MultiAutoCompleteTextView m, final CharSequence c) { in setText() method in MultiAutoCompleteTextViewTest
103 m.setText(c); in setText()
119 setText(mMultiAutoCompleteTextView_country, "Ar"); in testMultiAutoCompleteTextView()
122 setText(mMultiAutoCompleteTextView_country, "Arg"); in testMultiAutoCompleteTextView()
125 setText(mMultiAutoCompleteTextView_country, "Argentina"); in testMultiAutoCompleteTextView()
128 setText(mMultiAutoCompleteTextView_name, "J"); in testMultiAutoCompleteTextView()
131 setText(mMultiAutoCompleteTextView_name, "Ja"); in testMultiAutoCompleteTextView()
134 setText(mMultiAutoCompleteTextView_name, "Jacky"); in testMultiAutoCompleteTextView()
156 mMultiAutoCompleteTextView_country.setText(str); in testPerformValidation()
181 multiAutoCompleteTextView.setText(text); in testPerformFiltering()
[all …]
DTextSwitcherTest.java83 tv1.setText(viewText1); in testSetText()
84 tv2.setText(viewText2); in testSetText()
95 mTextSwitcher.setText(changedText); in testSetText()
101 mTextSwitcher.setText(changedText); in testSetText()
107 mTextSwitcher.setText(null); in testSetText()
123 tv1.setText(viewText1); in testSetCurrentText()
124 tv2.setText(viewText2); in testSetCurrentText()
DAutoCompleteTextViewTest.java219 () -> mAutoCompleteTextView.setText("TryToTest")); in testEnoughToFilter()
223 () -> mAutoCompleteTextView.setText("No")); in testEnoughToFilter()
333 mAutoCompleteTextView.setText(STRING_TEST); in testOnTextChanged()
338 mAutoCompleteTextView.setText(STRING_CHECK); in testOnTextChanged()
367 mAutoCompleteTextView.setText(STRING_TEST); in testPopupWindow()
442 mAutoCompleteTextView.setText("testT"); in refreshAutoCompleteResults_addItem()
474 mAutoCompleteTextView.setText("testT"); in refreshAutoCompleteResults_removeItem()
505 mAutoCompleteTextView.setText("tes"); in refreshAutoCompleteResults_threshold_changeText()
510 mAutoCompleteTextView.setText("test"); in refreshAutoCompleteResults_threshold_changeText()
518 mAutoCompleteTextView.setText("tes"); in refreshAutoCompleteResults_threshold_changeText()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DProAudioActivity.java111 mInputDeviceTxt.setText( in showConnectedAudioPeripheral()
114 mOutputDeviceTxt.setText( in showConnectedAudioPeripheral()
251 mRoundTripLatencyTxt.setText(String.format("%.2f ms", mRoundTripLatency)); in onActivityResult()
253 mRoundTripConfidenceTxt.setText(String.format("%.2f", mRoundTripConfidence)); in onActivityResult()
275 ((TextView)findViewById(R.id.proAudioHasProAudioLbl)).setText("" + mClaimsProAudio); in onCreate()
285 ((TextView)findViewById(R.id.proAudioHasLLALbl)).setText("" + mClaimsLowLatencyAudio); in onCreate()
288 ((TextView)findViewById(R.id.proAudioHasMIDILbl)).setText("" + mClaimsMIDI); in onCreate()
291 ((TextView)findViewById(R.id.proAudioMidiHasUSBHostLbl)).setText("" + mClaimsUSBHostMode); in onCreate()
295 R.id.proAudioMidiHasUSBPeripheralLbl)).setText("" + mClaimsUSBPeripheralMode); in onCreate()
345 mHDMISupportLbl.setText(getResources().getString( in scanPeripheralList()
[all …]
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.java90 mProfileNameTx.setText(mSelectedProfile.getName()); in showProfileStatus()
91 mProfileDescriptionTx.setText(mSelectedProfile.getDescription()); in showProfileStatus()
93 mProfileNameTx.setText(""); in showProfileStatus()
94 mProfileDescriptionTx.setText(""); in showProfileStatus()
112 mPeripheralNameTx.setText(ctrlText); in showPeripheralStatus()
114 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/cts/
DClipboardManagerTest.java59 mClipboardManager.setText(expected); in testAccessText()
65 mClipboardManager.setText(""); in testHasText()
68 mClipboardManager.setText("test"); in testHasText()
71 mClipboardManager.setText(null); in testHasText()
/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/p2p/
DResponderTestActivity.java114 mMyDeviceView.setText("Device Name: " + wifiP2pDevice.deviceName); in onResume()
144 mMyDeviceView.setText("Device Name: " + myDevice.deviceName); in onReceive()
160 mTextView.setText(msg); in onTestMsgReceived()
170 mTextView.setText(getReadyMsgId()); in onTestSuccess()
181 mTextView.setText(reason); in onTestFailed()
/cts/tests/tests/view/src/android/view/cts/
DView_UsingViewsTest.java137 mEditText.setText(null); in testSetProperties()
187 v.setText("Test setDuplicateParentStateEnabled"); in testSetProperties()
287 mSymbolTextView.setText(ARGENTINA_SYMBOL); in testSetFocus()
376 mEditText.setText(null); in testSetupListeners()
395 mActivityRule.runOnUiThread(() -> mEditText.setText("Germany")); in testSetupListeners()
402 mActivityRule.runOnUiThread(() -> mEditText.setText(ARGENTINA)); in testSetupListeners()
408 mActivityRule.runOnUiThread(() -> mEditText.setText(AMERICA)); in testSetupListeners()
414 mActivityRule.runOnUiThread(() -> mEditText.setText(CHINA)); in testSetupListeners()
420 mActivityRule.runOnUiThread(() -> mEditText.setText("Unknown")); in testSetupListeners()
457 mSymbolTextView.setText(ARGENTINA_SYMBOL); in showPicture()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DBaseSensorTestActivity.java300 textAppender.setText(text); in appendText()
608 mNextButton.setText(nextButtonText); in setNextButtonText()
626 mRetryButton.setText(showRetryCount); in updateRetryButton()
653 button.setText(textResId); in enableTestResultButton()
673 textAppender.setText(testName); in logTestStart()
679 textAppender.setText(getString(instructionsResId, params)); in logInstructions()
685 textAppender.setText(getString(messageResId, params)); in logMessage()
754 textAppender.setText(testSummary); in logTestEnd()
809 public void setText(String text) { in setText() method in BaseSensorTestActivity.TextAppender
810 mTextView.setText(text); in setText()
[all …]

1234567891011