Home
last modified time | relevance | path

Searched refs:syncRunOnUiThread (Results 1 – 25 of 38) sorted by relevance

12

/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/
DSimpleSaveActivityTest.java142 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testAutoFillOneDatasetAndSave()
151 mActivity.syncRunOnUiThread(() -> { in testAutoFillOneDatasetAndSave()
170 mActivity.syncRunOnUiThread( in testAutoFillOneDatasetAndSave_largeAssistStructure()
187 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testAutoFillOneDatasetAndSave_largeAssistStructure()
203 mActivity.syncRunOnUiThread(() -> { in testAutoFillOneDatasetAndSave_largeAssistStructure()
321 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in saveTest()
327 mActivity.syncRunOnUiThread(() -> mActivity.mCommit.performClick()); in saveTest()
365 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testPartitionedSave()
381 mActivity.syncRunOnUiThread(() -> mActivity.mPassword.requestFocus()); in testPartitionedSave()
387 mActivity.syncRunOnUiThread(() -> mActivity.mCommit.performClick()); in testPartitionedSave()
[all …]
DPreSimpleSaveActivityTest.java85 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in saveUiRestoredAfterTappingLinkTest()
90 mActivity.syncRunOnUiThread(() -> mActivity.mSubmit.performClick()); in saveUiRestoredAfterTappingLinkTest()
143 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in tapLinkThenTapBackThenStartOverTest()
148 mActivity.syncRunOnUiThread(() -> mActivity.mSubmit.performClick()); in tapLinkThenTapBackThenStartOverTest()
199 newActivty.syncRunOnUiThread(() -> newActivty.mPassword.requestFocus()); in tapLinkThenTapBackThenStartOverTest()
206 newActivty.syncRunOnUiThread(() -> newActivty.mCommit.performClick()); in tapLinkThenTapBackThenStartOverTest()
234 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in saveUiCancelledAfterTappingLinkTest()
239 mActivity.syncRunOnUiThread(() -> mActivity.mSubmit.performClick()); in saveUiCancelledAfterTappingLinkTest()
296 mActivity.syncRunOnUiThread(() -> mActivity.mSubmit.performClick()); in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest()
329 newActivty.syncRunOnUiThread(() -> newActivty.mCommit.performClick()); in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest()
[all …]
DOptionalSaveActivityTest.java124 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus());
134 mActivity.syncRunOnUiThread(changes);
181 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus());
191 mActivity.syncRunOnUiThread(changes);
312 mActivity.syncRunOnUiThread(() -> {
327 mActivity.syncRunOnUiThread(changes);
410 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus());
423 mActivity.syncRunOnUiThread(changes);
627 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus());
631 mActivity.syncRunOnUiThread(changes);
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DLoginActivity.java257 syncRunOnUiThread(() -> getAutofillManager().requestAutofill(mUsernameEditText)); in forceAutofillOnUsername()
261 syncRunOnUiThread(() -> getAutofillManager().requestAutofill(mPasswordEditText)); in forceAutofillOnPassword()
268 syncRunOnUiThread(() -> v.visit(mUsernameLabel)); in onUsernameLabel()
275 syncRunOnUiThread(() -> v.visit(mUsernameEditText)); in onUsername()
280 syncRunOnUiThread(() -> ((View) mUsernameContainer.getParent()).requestFocus()); in clearFocus()
301 syncRunOnUiThread(() -> v.visit(mPasswordLabel)); in onPasswordLabel()
308 syncRunOnUiThread(() -> v.visit(mPasswordEditText)); in onPassword()
315 syncRunOnUiThread(() -> v.visit(mLoginButton)); in onLogin()
322 syncRunOnUiThread(() -> v.visit(mCancelButton)); in onCancel()
337 syncRunOnUiThread(() -> mLoginButton.performClick()); in tapLogin()
[all …]
DCheckoutActivity.java177 syncRunOnUiThread(() -> v.visit(mCcNumber)); in onCcNumber()
184 syncRunOnUiThread(() -> v.visit(mCcExpiration)); in onCcExpiration()
191 syncRunOnUiThread(() -> v.visit(mCcExpirationAdapter)); in onCcExpirationAdapter()
198 syncRunOnUiThread(() -> v.visit(mAddress)); in onAddress()
205 syncRunOnUiThread(() -> v.visit(mHomeAddress)); in onHomeAddress()
212 syncRunOnUiThread(() -> v.visit(mWorkAddress)); in onWorkAddress()
219 syncRunOnUiThread(() -> v.visit(mSaveCc)); in onSaveCc()
227 syncRunOnUiThread(() -> mBuyButton.performClick()); in tapBuy()
DAbstractAutoFillActivity.java56 public final void syncRunOnUiThread(Runnable action) { in syncRunOnUiThread() method in AbstractAutoFillActivity
57 syncRunOnUiThread(action, Timeouts.UI_TIMEOUT.ms()); in syncRunOnUiThread()
64 public final void syncRunOnUiThread(Runnable action, long timeoutMs) { in syncRunOnUiThread() method in AbstractAutoFillActivity
101 syncRunOnUiThread(() -> view.getGlobalVisibleRect(srcRect)); in takeScreenshot()
DUsernameOnlyActivity.java49 syncRunOnUiThread(() -> mUsernameEditText.requestFocus()); in focusOnUsername()
53 syncRunOnUiThread(() -> mUsernameEditText.setText(username)); in setUsername()
DAbstractTimePickerActivity.java119 syncRunOnUiThread(() -> v.visit(mOutput)); in onOutput()
126 syncRunOnUiThread(() -> { in setTime() method
137 syncRunOnUiThread(() -> mOk.performClick()); in tapOk()
DAbstractDatePickerActivity.java123 syncRunOnUiThread(() -> v.visit(mOutput)); in onOutput()
130 syncRunOnUiThread(() -> mDatePicker.updateDate(year, month, day)); in setDate()
138 syncRunOnUiThread(() -> mOk.performClick()); in tapOk()
DPasswordOnlyActivity.java64 syncRunOnUiThread(() -> mPasswordEditText.requestFocus()); in focusOnPassword()
68 syncRunOnUiThread(() -> mPasswordEditText.setText(password)); in setPassword()
DDialogLauncherActivity.java57 syncRunOnUiThread(() -> v.visit(mDialog.mUsernameEditText)); in onUsername()
61 syncRunOnUiThread(() -> mLaunchButton.performClick()); in launchDialog()
81 syncRunOnUiThread( in maximizeDialog()
DWebViewActivity.java86 syncRunOnUiThread(() -> { in loadWebView() method
151 syncRunOnUiThread(() -> { in loadOutsideViews() method
179 syncRunOnUiThread(() -> mParent.requestFocus()); in clearFocus()
DPreSimpleSaveActivity.java69 syncRunOnUiThread(() -> mPreInput.setText(input)); in setTextAndWaitTextChange()
DGridActivity.java105 syncRunOnUiThread(() -> v.visit(cell)); in onCell()
131 syncRunOnUiThread(() -> mGrid.addView(cell)); in addCell()
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/
DMultiScreenDifferentActivitiesTest.java58 activity1.syncRunOnUiThread(() -> activity1.mPreInput.requestFocus()); in testActivityNotDelayedIsNotMerged()
66 activity2.syncRunOnUiThread(() -> activity2.mInput.requestFocus()); in testActivityNotDelayedIsNotMerged()
70 activity2.syncRunOnUiThread(() -> { in testActivityNotDelayedIsNotMerged()
101 activity1.syncRunOnUiThread(() -> activity1.mPreInput.requestFocus()); in testDelayedActivityIsMerged()
105 activity1.syncRunOnUiThread(() -> { in testDelayedActivityIsMerged()
114 activity2.syncRunOnUiThread(() -> activity2.mInput.requestFocus()); in testDelayedActivityIsMerged()
118 activity2.syncRunOnUiThread(() -> { in testDelayedActivityIsMerged()
148 activity2.syncRunOnUiThread(() -> { in testDelayedActivityIsMerged()
DDisableAutofillTest.java117 activity.syncRunOnUiThread(() -> activity.mInput.requestFocus()); in launchSimpleSaveActivity()
126 activity.syncRunOnUiThread(() -> activity.mPassword.requestFocus()); in launchSimpleSaveActivity()
171 activity.syncRunOnUiThread(() -> activity.mPreInput.requestFocus()); in launchPreSimpleSaveActivity()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DAutoFinishSessionTest.java91 mActivity.syncRunOnUiThread(() -> mEditText2.requestFocus());
97 mActivity.syncRunOnUiThread(() -> mEditText1.requestFocus());
100 mActivity.syncRunOnUiThread(() -> {
113 mActivity.syncRunOnUiThread(secondRemove);
221 mActivity.syncRunOnUiThread(() -> mEditText2.requestFocus());
227 mActivity.syncRunOnUiThread(() -> mEditText1.requestFocus());
229 mActivity.syncRunOnUiThread(() -> {
240 mActivity.syncRunOnUiThread(removeInBackGround);
252 mActivity.syncRunOnUiThread(removeInForeGroup);
266 () -> mActivity.syncRunOnUiThread(() -> {
DAttachedContextActivityTest.java63 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus());
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DMultipleFragmentLoginTest.java79 mActivity.syncRunOnUiThread(() -> mEditText2.requestFocus());
97 mActivity.syncRunOnUiThread(() -> mEditText1.requestFocus());
102 mActivity.syncRunOnUiThread(() -> mEditText2.setText("editText2-manually-filled"));
118 mActivity.syncRunOnUiThread(
162 mActivity.syncRunOnUiThread(() -> editText5.setText("editText5-manually-filled"));
226 mActivity.syncRunOnUiThread(() -> mEditText2.requestFocus());
233 mActivity.syncRunOnUiThread(() -> mEditText1.requestFocus());
238 mActivity.syncRunOnUiThread(
DCheckoutActivityTest.java477 mActivity.syncRunOnUiThread(() -> editText.setText("test"));
485 mActivity.syncRunOnUiThread(() -> editText.setEnabled(false));
487 mActivity.syncRunOnUiThread(() -> editText.setText("test"));
541 mActivity.syncRunOnUiThread(() -> compoundButton.setChecked(true));
545 mActivity.syncRunOnUiThread(() -> compoundButton.setEnabled(false));
604 mActivity.syncRunOnUiThread(() -> spinner.setSelection(1));
608 mActivity.syncRunOnUiThread(() -> spinner.setEnabled(false));
671 mActivity.syncRunOnUiThread(() -> datePicker.updateDate(2017, 3, 7));
675 mActivity.syncRunOnUiThread(() -> datePicker.setEnabled(false));
706 mActivity.syncRunOnUiThread(() -> {
[all …]
DVirtualContainerActivityCompatModeTest.java174 mActivity.syncRunOnUiThread(() -> mActivity.mUrlBar.requestFocus()); in testFocusOnUrlBarIsIgnored()
206 mActivity.syncRunOnUiThread(() -> mActivity.mUrlBar.setText("http://null/dev")); in testUrlBarChangeIgnoredWhenServiceCanSave()
265 mActivity.syncRunOnUiThread(() -> mActivity.mUrlBar.setText("http://null/dev")); in testUrlBarChangeCancelSessionWhenServiceCannotSave()
300 mActivity.syncRunOnUiThread(() -> mActivity.mUrlBar.setText("http://null/dev")); in testUrlBarChangeCancelSessionWhenServiceReturnsNullResponse()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAbstractContentCaptureActivity.java109 public final void syncRunOnUiThread(@NonNull Runnable action) { in syncRunOnUiThread() method in AbstractContentCaptureActivity
110 syncRunOnUiThread(action, Helper.GENERIC_TIMEOUT_MS); in syncRunOnUiThread()
119 syncRunOnUiThread(() -> { in syncCallOnUiThread() method
137 public final void syncRunOnUiThread(@NonNull Runnable action, long timeoutMs) { in syncRunOnUiThread() method in AbstractContentCaptureActivity
DResizingEditActivity.java45 syncRunOnUiThread(() -> { in showSoftInputOnExtraInputEditText() method
DLoginActivityTest.java403 activity.syncRunOnUiThread(() -> { in testTextChanged()
435 activity.syncRunOnUiThread(() -> { in testTextChangeBuffer()
490 activity.syncRunOnUiThread(() -> { in testComposingSpan_mergedEvent()
527 activity.syncRunOnUiThread(() -> { in testComposingSpan_notMergedWithoutComposing()
572 activity.syncRunOnUiThread(() -> { in testComposingSpan_differentEditText()
609 activity.syncRunOnUiThread(() -> { in testComposingSpan_eventsForSpanChanges()
700 activity.syncRunOnUiThread(() -> activity.mUsername.setText("D'OH")); in testDisabledByApp()
731 activity.syncRunOnUiThread(() -> activity.mUsername.setText("D'OH")); in testDisabledFlagSecureAndByApp()
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DDisableAutofillTest.java58 preSimpleActivity.syncRunOnUiThread(() -> preInput.requestFocus()); in testAugmentedAutofill_standardAutofillDisabledByService_sameActivity()
96 preSimpleActivity.syncRunOnUiThread(() -> preInput.requestFocus()); in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity()
114 simpleActivity.syncRunOnUiThread(() -> input.requestFocus()); in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity()

12