Home
last modified time | relevance | path

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

12

/cts/tests/autofillservice/src/android/autofillservice/cts/
DSimpleSaveActivityTest.java117 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testAutoFillOneDatasetAndSave()
125 mActivity.syncRunOnUiThread(() -> { in testAutoFillOneDatasetAndSave()
146 mActivity.syncRunOnUiThread( in testAutoFillOneDatasetAndSave_largeAssistStructure()
163 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testAutoFillOneDatasetAndSave_largeAssistStructure()
178 mActivity.syncRunOnUiThread(() -> { in testAutoFillOneDatasetAndSave_largeAssistStructure()
288 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in saveTest()
292 mActivity.syncRunOnUiThread(() -> { in saveTest()
333 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testPartitionedSave()
337 mActivity.syncRunOnUiThread(() -> mActivity.mInput.setText("108")); in testPartitionedSave()
349 mActivity.syncRunOnUiThread(() -> mActivity.mPassword.requestFocus()); in testPartitionedSave()
[all …]
DLoginActivity.java214 syncRunOnUiThread(() -> getAutofillManager().requestAutofill(mUsernameEditText)); in forceAutofillOnUsername()
218 syncRunOnUiThread(() -> getAutofillManager().requestAutofill(mPasswordEditText)); in forceAutofillOnPassword()
225 syncRunOnUiThread(() -> v.visit(mUsernameLabel)); in onUsernameLabel()
232 syncRunOnUiThread(() -> v.visit(mUsernameEditText)); in onUsername()
239 syncRunOnUiThread(() -> ((View) mUsernameContainer.getParent()).requestFocus()); in clearFocus()
260 syncRunOnUiThread(() -> v.visit(mPasswordLabel)); in onPasswordLabel()
267 syncRunOnUiThread(() -> v.visit(mPasswordEditText)); in onPassword()
274 syncRunOnUiThread(() -> v.visit(mLoginButton)); in onLogin()
289 syncRunOnUiThread(() -> mLoginButton.performClick()); in tapLogin()
300 syncRunOnUiThread(() -> mSaveButton.performClick()); in tapSave()
[all …]
DAutofillValueTest.java172 mActivity.syncRunOnUiThread(() -> {
182 mActivity.syncRunOnUiThread(() -> mEditText.setVisibility(View.VISIBLE));
227 mActivity.syncRunOnUiThread(() -> mEditText.setText("test"));
230 mActivity.syncRunOnUiThread(() -> mEditText.setEnabled(false));
236 mActivity.syncRunOnUiThread(() -> mCompoundButton.setVisibility(View.VISIBLE));
280 mActivity.syncRunOnUiThread(() -> mCompoundButton.setChecked(true));
283 mActivity.syncRunOnUiThread(() -> mCompoundButton.setEnabled(false));
289 mActivity.syncRunOnUiThread(() -> mSpinner.setVisibility(View.VISIBLE));
338 mActivity.syncRunOnUiThread(() -> mSpinner.setSelection(1));
341 mActivity.syncRunOnUiThread(() -> mSpinner.setEnabled(false));
[all …]
DAutoFinishSessionTest.java86 mActivity.syncRunOnUiThread(() -> mEditText2.requestFocus());
92 mActivity.syncRunOnUiThread(() -> mEditText1.requestFocus());
95 mActivity.syncRunOnUiThread(() -> {
108 mActivity.syncRunOnUiThread(secondRemove);
216 mActivity.syncRunOnUiThread(() -> mEditText2.requestFocus());
222 mActivity.syncRunOnUiThread(() -> mEditText1.requestFocus());
224 mActivity.syncRunOnUiThread(() -> {
235 mActivity.syncRunOnUiThread(removeInBackGround);
247 mActivity.syncRunOnUiThread(removeInForeGroup);
261 () -> mActivity.syncRunOnUiThread(() -> {
DMultiScreenDifferentActivitiesTest.java53 activity1.syncRunOnUiThread(() -> activity1.mPreInput.requestFocus()); in testActivityNotDelayedIsNotMerged()
61 activity2.syncRunOnUiThread(() -> activity2.mInput.requestFocus()); in testActivityNotDelayedIsNotMerged()
65 activity2.syncRunOnUiThread(() -> { in testActivityNotDelayedIsNotMerged()
96 activity1.syncRunOnUiThread(() -> activity1.mPreInput.requestFocus()); in testDelayedActivityIsMerged()
100 activity1.syncRunOnUiThread(() -> { in testDelayedActivityIsMerged()
109 activity2.syncRunOnUiThread(() -> activity2.mInput.requestFocus()); in testDelayedActivityIsMerged()
113 activity2.syncRunOnUiThread(() -> { in testDelayedActivityIsMerged()
DPreSimpleSaveActivityTest.java74 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in saveUiRestoredAfterTappingLinkTest()
78 mActivity.syncRunOnUiThread(() -> { in saveUiRestoredAfterTappingLinkTest()
133 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in tapLinkThenTapBackThenStartOverTest()
137 mActivity.syncRunOnUiThread(() -> { in tapLinkThenTapBackThenStartOverTest()
190 newActivty.syncRunOnUiThread(() -> newActivty.mPassword.requestFocus()); in tapLinkThenTapBackThenStartOverTest()
196 newActivty.syncRunOnUiThread(() -> { in tapLinkThenTapBackThenStartOverTest()
226 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in saveUiCancelledAfterTappingLinkTest()
230 mActivity.syncRunOnUiThread(() -> { in saveUiCancelledAfterTappingLinkTest()
288 mActivity.syncRunOnUiThread(() -> { in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest()
322 newActivty.syncRunOnUiThread(() -> { in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest()
[all …]
DCheckoutActivity.java157 syncRunOnUiThread(() -> v.visit(mCcNumber)); in onCcNumber()
164 syncRunOnUiThread(() -> v.visit(mCcExpiration)); in onCcExpiration()
171 syncRunOnUiThread(() -> v.visit(mCcExpirationAdapter)); in onCcExpirationAdapter()
178 syncRunOnUiThread(() -> v.visit(mAddress)); in onAddress()
185 syncRunOnUiThread(() -> v.visit(mHomeAddress)); in onHomeAddress()
192 syncRunOnUiThread(() -> v.visit(mSaveCc)); in onSaveCc()
200 syncRunOnUiThread(() -> mBuyButton.performClick()); in tapBuy()
DMultipleFragmentLoginTest.java72 mActivity.syncRunOnUiThread(() -> mEditText2.requestFocus());
90 mActivity.syncRunOnUiThread(() -> mEditText1.requestFocus());
95 mActivity.syncRunOnUiThread(() -> mEditText2.setText("editText2-manually-filled"));
111 mActivity.syncRunOnUiThread(
155 mActivity.syncRunOnUiThread(() -> editText5.setText("editText5-manually-filled"));
219 mActivity.syncRunOnUiThread(() -> mEditText2.requestFocus());
226 mActivity.syncRunOnUiThread(() -> mEditText1.requestFocus());
231 mActivity.syncRunOnUiThread(
DOptionalSaveActivityTest.java118 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus());
128 mActivity.syncRunOnUiThread(changes);
175 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus());
185 mActivity.syncRunOnUiThread(changes);
306 mActivity.syncRunOnUiThread(() -> { mActivity.mAddress1.requestFocus(); });
319 mActivity.syncRunOnUiThread(changes);
402 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus());
415 mActivity.syncRunOnUiThread(changes);
619 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus());
623 mActivity.syncRunOnUiThread(changes);
[all …]
DAbstractAutoFillActivity.java51 public final void syncRunOnUiThread(Runnable action) { in syncRunOnUiThread() method in AbstractAutoFillActivity
52 syncRunOnUiThread(action, Timeouts.UI_TIMEOUT.ms()); in syncRunOnUiThread()
59 public final void syncRunOnUiThread(Runnable action, long timeoutMs) { in syncRunOnUiThread() method in AbstractAutoFillActivity
96 syncRunOnUiThread(() -> view.getGlobalVisibleRect(srcRect)); in takeScreenshot()
DAbstractTimePickerActivity.java115 syncRunOnUiThread(() -> v.visit(mOutput)); in onOutput()
122 syncRunOnUiThread(() -> { in setTime() method
133 syncRunOnUiThread(() -> mOk.performClick()); in tapOk()
DAbstractDatePickerActivity.java119 syncRunOnUiThread(() -> v.visit(mOutput)); in onOutput()
126 syncRunOnUiThread(() -> mDatePicker.updateDate(year, month, day)); in setDate()
134 syncRunOnUiThread(() -> mOk.performClick()); in tapOk()
DUsernameOnlyActivity.java48 syncRunOnUiThread(() -> mUsernameEditText.requestFocus()); in focusOnUsername()
52 syncRunOnUiThread(() -> mUsernameEditText.setText(username)); in setUsername()
DDialogLauncherActivity.java53 syncRunOnUiThread(() -> v.visit(mDialog.mUsernameEditText)); in onUsername()
57 syncRunOnUiThread(() -> mLaunchButton.performClick()); in launchDialog()
77 syncRunOnUiThread( in maximizeDialog()
DPasswordOnlyActivity.java63 syncRunOnUiThread(() -> mPasswordEditText.requestFocus()); in focusOnPassword()
67 syncRunOnUiThread(() -> mPasswordEditText.setText(password)); in setPassword()
DVirtualContainerActivityCompatModeTest.java166 mActivity.syncRunOnUiThread(() -> mActivity.mUrlBar.requestFocus()); in testFocusOnUrlBarIsIgnored()
198 mActivity.syncRunOnUiThread(() -> mActivity.mUrlBar.setText("http://null/dev")); in testUrlBarChangeIgnoredWhenServiceCanSave()
257 mActivity.syncRunOnUiThread(() -> mActivity.mUrlBar.setText("http://null/dev")); in testUrlBarChangeCancelSessionWhenServiceCannotSave()
291 mActivity.syncRunOnUiThread(() -> mActivity.mUrlBar.setText("http://null/dev")); in testUrlBarChangeCancelSessionWhenServiceReturnsNullResponse()
DDisableAutofillTest.java96 activity.syncRunOnUiThread(() -> activity.mInput.requestFocus()); in launchSimpleSaveActivity()
103 activity.syncRunOnUiThread(() -> activity.mPassword.requestFocus()); in launchSimpleSaveActivity()
148 activity.syncRunOnUiThread(() -> activity.mPreInput.requestFocus()); in launchPreSimpleSaveActivity()
DWebViewActivity.java80 syncRunOnUiThread(() -> { in loadWebView() method
145 syncRunOnUiThread(() -> { in loadOutsideViews() method
DAttachedContextActivityTest.java56 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus());
DGridActivity.java101 syncRunOnUiThread(() -> v.visit(cell)); in onCell()
127 syncRunOnUiThread(() -> mGrid.addView(cell)); in addCell()
DOnClickActionTest.java110 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus());
114 mActivity.syncRunOnUiThread(() -> {
DViewAttributesTest.java130 mActivity.syncRunOnUiThread(() -> {
149 mActivity.syncRunOnUiThread(() -> editTextNoHint.setVisibility(View.VISIBLE));
DWebViewMultiScreenLoginActivity.java68 syncRunOnUiThread(() -> { in loadWebView() method
/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
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DDisableAutofillTest.java55 preSimpleActivity.syncRunOnUiThread(() -> preInput.requestFocus()); in testAugmentedAutofill_standardAutofillDisabledByService_sameActivity()
93 preSimpleActivity.syncRunOnUiThread(() -> preInput.requestFocus()); in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity()
111 simpleActivity.syncRunOnUiThread(() -> input.requestFocus()); in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity()

12