Home
last modified time | relevance | path

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

12345678910>>...16

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioColdStartBaseActivity.java86 mAttributesTxt.setText("" + mSampleRate + " Hz " + mNumExchangeFrames + " Frames"); in showAttributes()
91 mOpenTimeTxt.setText("Open: " + makeMSString(timeMs)); in showOpenTime()
96 mStartTimeTxt.setText("Start: " + makeMSString(timeMs)); in showStartTime()
100 mLatencyTxt.setText("Latency: " + mColdStartlatencyMS); in showColdStartLatency()
103 mResultsTxt.setText("Invalid cold start latency."); in showColdStartLatency()
105 mResultsTxt.setText("PASS. Meets RECOMMENDED latency of " in showColdStartLatency()
108 mResultsTxt.setText("PASS. Meets REQUIRED latency of " + getRequiredTimeMS() + "ms"); in showColdStartLatency()
110 mResultsTxt.setText("FAIL. Did not meet REQUIRED latency of " + getRequiredTimeMS() in showColdStartLatency()
116 mAttributesTxt.setText(""); in clearResults()
117 mOpenTimeTxt.setText(""); in clearResults()
[all …]
DUSBAudioPeripheralAttributesActivity.java83 mTestStatusTx.setText("Pass - No USB Host Mode Support."); in setUsbAudioStatus()
95 tx.setText(sb.toString()); in formatChannelIndexMasks()
109 tx.setText(sb.toString()); in formatChannelPositionMasks()
119 tx.setText(sb.toString()); in formatEncodings()
129 tx.setText(sb.toString()); in formatRates()
150 mInChanMasksTx.setText(NA_STRING); in updateConnectedPeripheralAttribs()
151 mInPosMasksTx.setText(NA_STRING); in updateConnectedPeripheralAttribs()
152 mInEncodingsTx.setText(NA_STRING); in updateConnectedPeripheralAttribs()
153 mInRatesTx.setText(NA_STRING); in updateConnectedPeripheralAttribs()
171 mOutChanMaskTx.setText(NA_STRING); in updateConnectedPeripheralAttribs()
[all …]
DProAudioActivity.java173 mTestStatusLbl.setText(getResources().getString(R.string.audio_general_reportlogtest)); in displayTestResults()
175 mTestStatusLbl.setText(strings.getString(R.string.audio_proaudio_pass)); in displayTestResults()
177 mTestStatusLbl.setText(strings.getString(R.string.audio_proaudio_midinotreported)); in displayTestResults()
179 mTestStatusLbl.setText(strings.getString(R.string.audio_proaudio_usbhostnotreported)); in displayTestResults()
181 mTestStatusLbl.setText(strings.getString( in displayTestResults()
185 mTestStatusLbl.setText(strings.getString(R.string.audio_proaudio_hdmiNotFound)); in displayTestResults()
187 mTestStatusLbl.setText(strings.getString(R.string.hdmi_insufficient)); in displayTestResults()
202 ((TextView)findViewById(R.id.proAudioHasProAudioLbl)).setText("" + mClaimsProAudio); in onCreate()
212 ((TextView)findViewById(R.id.proAudioHasLLALbl)).setText("" + mClaimsLowLatencyAudio); in onCreate()
215 ((TextView)findViewById(R.id.proAudioHasMIDILbl)).setText("" + mClaimsMIDI); in onCreate()
[all …]
DAudioTap2ToneActivity.java173 .setText(String.format(Locale.getDefault(), in onCreate()
177 .setText(mHasMic ? yesString : noString); in onCreate()
179 .setText(mHasSpeaker ? yesString : noString); in onCreate()
181 .setText(claimsProAudio ? yesString : noString); in onCreate()
183 .setText(claimsLowLatencyAudio ? yesString : noString); in onCreate()
197 ((TextView) findViewById(R.id.audio_t2t_mpc)).setText(mediaPerformanceClassString); in onCreate()
215 .setText("" + mMaxRequiredLatency + "ms"); in onCreate()
298 mBuffSizeView.setText( in startAudio()
310 mResultsView.setText(getString(R.string.audio_tap2tone_bad_streams)); in startAudio()
338 mSpecView.setText(""); in clearResults()
[all …]
DUSBAudioPeripheralNotificationsTest.java104 mHeadsetInName.setText( in showConnectedDevices()
107 mHeadsetInName.setText(""); in showConnectedDevices()
111 mHeadsetOutName.setText( in showConnectedDevices()
114 mHeadsetOutName.setText(""); in showConnectedDevices()
118 mUsbDeviceInName.setText( in showConnectedDevices()
121 mUsbDeviceInName.setText(""); in showConnectedDevices()
125 mUsbDeviceOutName.setText( in showConnectedDevices()
128 mUsbDeviceOutName.setText(""); in showConnectedDevices()
213 mHeadsetPlugMessage.setText(sb.toString()); in reportPlugIntent()
DUsbMidiAudioActivity.java100 ((TextView) findViewById(R.id.midiHasMIDILbl)).setText(String.valueOf(mHasMIDI)); in onCreate()
216 mUsbMidiInputDeviceLbl.setText(mUsbMidiTestModule.getInputName()); in showConnectedMIDIPeripheral()
217 mUsbMidiOutputDeviceLbl.setText(mUsbMidiTestModule.getOutputName()); in showConnectedMIDIPeripheral()
225 mUsbMidiTestStatusTxt.setText(getTestStatusString(mUsbMidiTestModule.getTestStatus())); in showUsbMidiTestStatus()
305 mPlayBtn.setText(getString(R.string.audio_uap_play_stopBtn)); in onClick()
307 mUsbAudioTestStatusTxt.setText(getString(R.string.uap_test_playing)); in onClick()
310 mUsbAudioTestStatusTxt.setText(getString(R.string.audio_general_fail)); in onClick()
316 mPlayBtn.setText(getString(R.string.audio_uap_play_playBtn)); in onClick()
317 mUsbAudioTestStatusTxt.setText(getString(R.string.audio_general_ok)); in onClick()
319 mUsbAudioTestStatusTxt.setText(getString(R.string.audio_general_fail)); in onClick()
DAudioOutputDeviceNotificationsActivity.java54 mConnectView.setText( in onAudioDevicesAdded()
66 mDisconnectView.setText( in onAudioDevicesRemoved()
87 mInfoView.setText(mContext.getResources().getString( in onCreate()
93 mConnectView.setText(""); in onCreate()
95 mDisconnectView.setText(""); in onCreate()
DAudioInputDeviceNotificationsActivity.java54 mConnectView.setText( in onAudioDevicesAdded()
66 mDisconnectView.setText( in onAudioDevicesRemoved()
87 mInfoView.setText(mContext.getResources().getString( in onCreate()
93 mConnectView.setText(""); in onCreate()
95 mDisconnectView.setText(""); in onCreate()
DMidiTestActivityBase.java106 ((TextView)findViewById(R.id.midiHasMIDILbl)).setText("" + mHasMIDI); in onCreate()
224 mUSBIInputDeviceLbl.setText(mUSBTestModule.getInputName()); in showConnectedMIDIPeripheral()
225 mUSBOutputDeviceLbl.setText(mUSBTestModule.getOutputName()); in showConnectedMIDIPeripheral()
229 mVirtInputDeviceLbl.setText(mVirtualTestModule.getInputName()); in showConnectedMIDIPeripheral()
230 mVirtOutputDeviceLbl.setText(mVirtualTestModule.getOutputName()); in showConnectedMIDIPeripheral()
234 mBTInputDeviceLbl.setText(mBTTestModule.getInputName()); in showConnectedMIDIPeripheral()
235 mBTOutputDeviceLbl.setText(mBTTestModule.getOutputName()); in showConnectedMIDIPeripheral()
245 mUSBTestStatusTxt.setText(getTestStatusString(mUSBTestModule.getTestStatus())); in showUSBTestStatus()
249 mVirtTestStatusTxt.setText(getTestStatusString(mVirtualTestModule.getTestStatus())); in showVirtTestStatus()
253 mBTTestStatusTxt.setText(getTestStatusString(mBTTestModule.getTestStatus())); in showBTTestStatus()
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/
DOptionalSaveActivityTest.java86 mActivity.mAddress1.setText("742 Evergreen Terrace"); // required
87 mActivity.mAddress2.setText("Simpsons House"); // not required
88 mActivity.mCity.setText("Springfield"); // required
89 mActivity.mFavoriteColor.setText("Yellow"); // lol
101 mActivity.mAddress1.setText("742 Evergreen Terrace"); // required
102 mActivity.mCity.setText("Springfield"); // required
153 mActivity.mAddress2.setText("Simpsons House"); // not required
154 mActivity.mCity.setText("Springfield"); // required
155 mActivity.mFavoriteColor.setText("Yellow"); // lol
162 mActivity.mAddress1.setText("742 Evergreen Terrace"); // required
[all …]
DAutofillSaveDialogTest.java85 loginActivity.onUsername((v) -> v.setText("test")); in testShowSaveUiHideIcon()
138 loginActivity.onUsername((v) -> v.setText("test")); in testShowSaveUiCustomServiceLabel()
184 loginActivity.onUsername((v) -> v.setText("test")); in testShowSaveUiWhenLaunchActivityWithFlagClearTopAndSingleTop()
229 loginActivity.onUsername((v) -> v.setText("test")); in testShowSaveUiWhenLaunchActivityWithFlagClearTaskAndNewTask()
289 loginActivity.onUsername((v) -> v.setText("test")); in testShowSaveUiAfterLoginViewReset()
292 loginActivity.onUsername((v) -> v.setText("")); in testShowSaveUiAfterLoginViewReset()
340 loginActivity.onUsername((v) -> v.setText("test")); in testDontShowSaveUiIfViewIsResetToEmptyProgressively()
342 loginActivity.onUsername((v) -> v.setText("tes")); in testDontShowSaveUiIfViewIsResetToEmptyProgressively()
343 loginActivity.onUsername((v) -> v.setText("te")); in testDontShowSaveUiIfViewIsResetToEmptyProgressively()
344 loginActivity.onUsername((v) -> v.setText("t")); in testDontShowSaveUiIfViewIsResetToEmptyProgressively()
[all …]
/cts/apps/NotesApp/src/com.android.cts.notesapp/
DNotesAppActivity.java67 mStatusMessageTextView.setText(R.string.permission_not_available); in onCreate()
76 mStatusMessageTextView.setText(R.string.can_use_api_returned_true); in onCreate()
78 mStatusMessageTextView.setText(R.string.can_use_api_returned_false); in onCreate()
94 mStatusMessageTextView.setText(R.string.api_call_failed); in onActivityResult()
106 mStatusMessageTextView.setText(R.string.api_call_failed); in onActivityResult()
108 mStatusMessageTextView.setText(R.string.launch_and_add); in onActivityResult()
113 mStatusMessageTextView.setText(R.string.launch_and_cancel); in onActivityResult()
117 mStatusMessageTextView.setText(R.string.launch_window_unsupported); in onActivityResult()
121 mStatusMessageTextView.setText(R.string.launch_blocked_by_admin); in onActivityResult()
125 mStatusMessageTextView.setText(R.string.api_call_failed); in onActivityResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DKeyChainTestActivity.java94 getLogView().setText("Key generated successfully."); in doInBackground()
96 getLogView().setText("Failed generating key."); in doInBackground()
100 getLogView().setText("Security exception while generating key."); in doInBackground()
128 getLogView().setText("Test ready"); in onKeyPairGenerated()
129 getInstructionsView().setText( in onKeyPairGenerated()
133 getLogView().setText("FAILED certificate installation."); in onKeyPairGenerated()
137 getLogView().setText("Error generating a certificate."); in onKeyPairGenerated()
170 getLogView().setText("Starting key generation"); in onClick()
189 getLogView().setText("Waiting for prompt"); in onClick()
231 getLogView().setText("Prompt should not appear."); in onClick()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineFilteringTest.java83 mActivity.onUsername((v) -> v.setText("t")); in testFiltering_filtersByPrefix()
88 mActivity.onUsername((v) -> v.setText("ta")); in testFiltering_filtersByPrefix()
93 mActivity.onUsername((v) -> v.setText("t")); in testFiltering_filtersByPrefix()
122 mActivity.onUsername((v) -> v.setText("s")); in testFiltering_privacy()
128 mActivity.onUsername((v) -> v.setText("sa")); in testFiltering_privacy()
133 mActivity.onUsername((v) -> v.setText("s")); in testFiltering_privacy()
138 mActivity.onUsername((v) -> v.setText("se")); in testFiltering_privacy()
166 mActivity.onUsername((v) -> v.setText("ser")); in testFiltering_privacy_textReplacement()
172 mActivity.onUsername((v) -> v.setText("aaa")); in testFiltering_privacy_textReplacement()
173 mActivity.onUsername((v) -> v.setText("bbb")); in testFiltering_privacy_textReplacement()
[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/car/
DGearSelectionTestActivity.java73 mExpectedGearSelectionTextView.setText("CONNECTING ERROR"); in setUpTest()
82 mExpectedGearSelectionTextView.setText("GEAR CONFIG ERROR"); in setUpTest()
89 mExpectedGearSelectionTextView.setText(VehicleGear.toString(mSupportedGears.get(0))); in setUpTest()
96 mExpectedGearSelectionTextView.setText("CONNECTING ERROR"); in setUpTest()
106 mExpectedGearSelectionTextView.setText("INTERRUPTED"); in setUpTest()
124 mCurrentGearSelectionTextView.setText(VehicleGear.toString(newGearSelection)); in onChangeEvent()
134 mExpectedGearSelectionTextView.setText( in onChangeEvent()
141 mExpectedGearSelectionTextView.setText("Finished"); in onChangeEvent()
160 runOnUiThread(() -> mExpectedGearSelectionTextView.setText("Failed(Timeout)")); in unregisterIfTimeout()
DParkingBrakeOnTestActivity.java56 mInstructionTextView.setText("Waiting to get first PARKING_BRAKE_ON callback"); in onCreate()
66 mInstructionTextView.setText("ERROR: Unable to register for PARKING_BRAKE_ON callback"); in onCreate()
93 mCurrentParkingBrakeOnValueTextView.setText(mCurrentParkingBrakeOnValue.toString());
97 mInstructionTextView.setText("Test Finished!");
100 mInstructionTextView.setText("Disengage the Parking Brake");
102 mInstructionTextView.setText("Engage the Parking Brake");
/cts/tests/tests/text/src/android/text/cts/
DClipboardManagerTest.java61 mClipboardManager.setText(expected); in testAccessText()
67 mClipboardManager.setText(""); in testHasText()
70 mClipboardManager.setText("test"); in testHasText()
73 mClipboardManager.setText(null); in testHasText()
/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/notifications/
DBubbleActivity.java86 mTestMessage.setText("Test failed -- height too small! bubble expanded view is: " in checkHeight()
89 mTestMessage.setText("Test Passed!"); in checkHeight()
102 mTestMessage.setText("Test failed --" in checkHeight()
107 mTestMessage.setText("Test Passed!"); in checkHeight()
117 mTestMessage.setText("Test failed -- bottom of the bubble expanded view " in checkHeight()
120 mTestMessage.setText("Test Passed!"); in checkHeight()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewStyleShortcutTest.java181 et.setText("0123456789", TextView.BufferType.EDITABLE); in testStyleShortcutEnabled()
208 et.setText("0123456789", TextView.BufferType.EDITABLE); in testBold()
226 et.setText("0123456789", TextView.BufferType.EDITABLE); in testBoldOnlySelectedRegion()
250 et.setText("0123456789", TextView.BufferType.EDITABLE); in testBoldSelectIntersectedRegion()
276 et.setText("0123456789", TextView.BufferType.EDITABLE); in testBoldSelectCoveredRegion()
302 et.setText("0123456789", TextView.BufferType.EDITABLE); in testBoldSelectSubRegion()
323 et.setText("0123456789", TextView.BufferType.EDITABLE); in testItalic()
341 et.setText("0123456789", TextView.BufferType.EDITABLE); in testItalicOnlySelectedRegion()
365 et.setText("0123456789", TextView.BufferType.EDITABLE); in testItalicSelectIntersectedRegion()
391 et.setText("0123456789", TextView.BufferType.EDITABLE); in testItalicSelectCoveredRegion()
[all …]
DMultiAutoCompleteTextViewTest.java111 private void setText(final MultiAutoCompleteTextView m, final CharSequence c) { in setText() method in MultiAutoCompleteTextViewTest
112 m.setText(c); in setText()
128 setText(mMultiAutoCompleteTextView_country, "Ar"); in testMultiAutoCompleteTextView()
131 setText(mMultiAutoCompleteTextView_country, "Arg"); in testMultiAutoCompleteTextView()
134 setText(mMultiAutoCompleteTextView_country, "Argentina"); in testMultiAutoCompleteTextView()
137 setText(mMultiAutoCompleteTextView_name, "J"); in testMultiAutoCompleteTextView()
140 setText(mMultiAutoCompleteTextView_name, "Ja"); in testMultiAutoCompleteTextView()
143 setText(mMultiAutoCompleteTextView_name, "Jacky"); in testMultiAutoCompleteTextView()
165 mMultiAutoCompleteTextView_country.setText(str); in testPerformValidation()
190 multiAutoCompleteTextView.setText(text); in testPerformFiltering()
[all …]
DEditTextTest.java152 mEditText1.setText("android", BufferType.NORMAL); in testAccessText()
155 mEditText1.setText("", BufferType.SPANNABLE); in testAccessText()
158 mEditText1.setText(null, BufferType.EDITABLE); in testAccessText()
165 mEditText1.setText("android", BufferType.EDITABLE); in testSetSelectionIndex()
180 mEditText1.setText("android", BufferType.EDITABLE); in testSetSelectionIndexBeforeFirst()
187 mEditText1.setText("android", BufferType.EDITABLE); in testSetSelectionIndexAfterLast()
194 mEditText1.setText("android", BufferType.EDITABLE); in testSetSelectionStartEnd()
217 mEditText1.setText("android", BufferType.EDITABLE); in testSetSelectionStartEndBeforeFirst()
224 mEditText1.setText("android", BufferType.EDITABLE); in testSetSelectionStartEndAfterLast()
232 mEditText1.setText(string, BufferType.EDITABLE); in testSelectAll()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/webcam/
DWebcamTestActivity.java191 mInstructionTextView.setText(R.string.camera_webcam_start_text); in updateButtonsAndInstructions()
200 mInstructionTextView.setText(R.string.camera_webcam_confirm_frames_text); in updateButtonsAndInstructions()
203 mInstructionTextView.setText(R.string.camera_webcam_not_supported_text); in updateButtonsAndInstructions()
207 mInstructionTextView.setText(R.string.camera_webcam_results_pass_frames_pass_text); in updateButtonsAndInstructions()
211 mInstructionTextView.setText(R.string.camera_webcam_results_fail_frames_pass_text); in updateButtonsAndInstructions()
215 mInstructionTextView.setText(R.string.camera_webcam_results_pass_frames_fail_text); in updateButtonsAndInstructions()
219 mInstructionTextView.setText(R.string.camera_webcam_results_fail_frames_fail_text); in updateButtonsAndInstructions()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vibrations/
DHasVibratorVerifierActivity.java87 hasVibratorApiResultTextView.setText( in onCreate()
109 mVibrateCountdownTextView.setText( in startTestCountdown()
132 mTestResultTextView.setText(R.string.has_vibrator_test_vibrate_and_pass_message); in onYesButtonClicked()
134 mTestResultTextView.setText(R.string.has_vibrator_test_no_vibrate_and_fail_message); in onYesButtonClicked()
147 mTestResultTextView.setText(R.string.has_vibrator_test_no_vibrate_and_pass_message); in onNoButtonClicked()
149 mTestResultTextView.setText(R.string.has_vibrator_test_vibrate_and_fail_message); in onNoButtonClicked()

12345678910>>...16