/cts/helpers/default/src/com/android/cts/helpers/aosp/ |
D | DefaultCtsPrintHelper.java | 112 Until.findObject(By.res("com.android.printspooler:id/print_button")), in submitPrintJob() 125 UiObject retryButton = mDevice.findObject(new UiSelector().resourceId( in retryPrintJob() 145 button = mDevice.findObject(new UiSelector().resourceId("android:id/button1")); in answerPrintServicesWarning() 147 button = mDevice.findObject(new UiSelector().resourceId("android:id/button2")); in answerPrintServicesWarning() 162 Until.findObject( in selectPrinter() 171 UiObject2 printerOption = mDevice.wait(Until.findObject(By.text(printerName)), timeout); in selectPrinter() 188 UiObject printerItem = mDevice.findObject( in selectPrinterWhenAvailable() 208 UiObject orientationSpinner = mDevice.findObject(new UiSelector().resourceId( in setPageOrientation() 211 UiObject orientationOption = mDevice.findObject(new UiSelector().text(orientation)); in setPageOrientation() 222 UiObject orientationSpinner = mDevice.findObject(new UiSelector().resourceId( in getPageOrientation() [all …]
|
/cts/common/device-side/interactive/automation/src/main/java/com/android/interactive/steps/settings/password/ |
D | SetPin15911591StepAutomation.java | 35 TestApis.ui().device().findObject( in automate() 39 TestApis.ui().device().findObject( in automate() 43 TestApis.ui().device().findObject( in automate() 47 UiObject nextButton = TestApis.ui().device().findObject(new UiSelector().text("Next")); in automate() 52 TestApis.ui().device().findObject( in automate() 56 UiObject confirmButton = TestApis.ui().device().findObject( in automate() 62 UiObject doneButton = TestApis.ui().device().findObject( in automate()
|
D | SetPin1591StepAutomation.java | 35 TestApis.ui().device().findObject( in automate() 39 TestApis.ui().device().findObject( in automate() 43 TestApis.ui().device().findObject( in automate() 47 UiObject nextButton = TestApis.ui().device().findObject(new UiSelector().text("Next")); in automate() 52 TestApis.ui().device().findObject( in automate() 56 UiObject confirmButton = TestApis.ui().device().findObject( in automate() 62 UiObject doneButton = TestApis.ui().device().findObject( in automate()
|
D | SetPin4444StepAutomation.java | 35 TestApis.ui().device().findObject( in automate() 39 TestApis.ui().device().findObject( in automate() 43 TestApis.ui().device().findObject( in automate() 49 UiObject nextButton = TestApis.ui().device().findObject(new UiSelector().text("Next")); in automate() 54 TestApis.ui().device().findObject( in automate() 58 UiObject confirmButton = TestApis.ui().device().findObject( in automate() 64 UiObject doneButton = TestApis.ui().device().findObject( in automate()
|
D | IsItPossibleToSetPin4444StepAutomation.java | 33 TestApis.ui().device().findObject( in automate() 37 TestApis.ui().device().findObject( in automate() 41 TestApis.ui().device().findObject( in automate() 45 TestApis.ui().device().findObject( in automate() 49 return !TestApis.ui().device().findObject( in automate()
|
D | IsItPossibleToSetPin1591StepAutomation.java | 33 TestApis.ui().device().findObject( in automate() 37 TestApis.ui().device().findObject( in automate() 41 TestApis.ui().device().findObject( in automate() 45 TestApis.ui().device().findObject( in automate() 49 return !TestApis.ui().device().findObject( in automate()
|
D | IsItPossibleToSetNoScreenLockOrPasswordStepAutomation.java | 31 TestApis.ui().device().findObject( in automate() 35 if (!TestApis.ui().device().findObject( in automate() 41 TestApis.ui().device().findObject( in automate() 45 return !TestApis.ui().device().findObject( in automate()
|
D | SetNoScreenLockOrPasswordStepAutomation.java | 32 TestApis.ui().device().findObject( in automate() 36 TestApis.ui().device().findObject( in automate()
|
/cts/tests/app/src/android/app/cts/ |
D | UpdateMediaTapToTransferSenderDisplayTest.kt | 84 val chip = uiDevice.findObject(By.res(MEDIA_SENDER_CHIP_ID)) in tearDown() 153 val chip = uiDevice.findObject(By.res(MEDIA_SENDER_CHIP_ID)) in almostCloseToStartCast_displaysChip() 169 val chip = uiDevice.findObject(By.res(MEDIA_SENDER_CHIP_ID)) in almostCloseToEndCast_displaysChip() 185 val chip = uiDevice.findObject(By.res(MEDIA_SENDER_CHIP_ID)) in transferToReceiverTriggered_displaysChip() 201 val chip = uiDevice.findObject(By.res(MEDIA_SENDER_CHIP_ID)) in transferToThisDeviceTriggered_displaysChip() 225 val chip = uiDevice.findObject(By.res(MEDIA_SENDER_CHIP_ID)) in transferToReceiverSucceeded_nullCallback_displaysChip() 249 val chip = uiDevice.findObject(By.res(MEDIA_SENDER_CHIP_ID)) in transferToReceiverSucceeded_withCallbackAndExecutor_displaysChip() 273 val chip = uiDevice.findObject(By.res(MEDIA_SENDER_CHIP_ID)) in transferToThisDeviceSucceeded_nullCallback_displaysChip() 297 val chip = uiDevice.findObject(By.res(MEDIA_SENDER_CHIP_ID)) in transferToThisDeviceSucceeded_withCallbackAndExecutor_displaysChip() 321 val chip = uiDevice.findObject(By.res(MEDIA_SENDER_CHIP_ID)) in transferToReceiverFailed_displaysChip() [all …]
|
D | UpdateMediaTapToTransferReceiverDisplayTest.kt | 83 val chip = uiDevice.findObject(By.res(MEDIA_RECEIVER_CHIP_ID)) in tearDown() 111 val chip = uiDevice.findObject(By.res(MEDIA_RECEIVER_CHIP_ID)) in closeToSender_displaysChip() 128 val chip = uiDevice.findObject(By.res(MEDIA_RECEIVER_CHIP_ID)) in farFromSender_hidesChip() 141 val chip = uiDevice.findObject(By.res(MEDIA_RECEIVER_CHIP_ID)) in farFromSender_hidesChip() 158 val chip = uiDevice.findObject(By.res(MEDIA_RECEIVER_CHIP_ID)) in transferToReceiverSucceeded_hidesChip() 171 val chip = uiDevice.findObject(By.res(MEDIA_RECEIVER_CHIP_ID)) in transferToReceiverSucceeded_hidesChip() 188 val chip = uiDevice.findObject(By.res(MEDIA_RECEIVER_CHIP_ID)) in transferToReceiverFailed_hidesChip() 201 val chip = uiDevice.findObject(By.res(MEDIA_RECEIVER_CHIP_ID)) in transferToReceiverFailed_hidesChip()
|
/cts/common/device-side/interactive/automation/src/main/java/com/android/interactive/steps/settings/ |
D | IsThereTextExplainingThatAnITAdminHasLimitedThisFunctionalityStepAutomation.java | 32 return TestApis.ui().device().findObject( in automate() 34 || TestApis.ui().device().findObject( in automate() 36 || TestApis.ui().device().findObject( in automate()
|
/cts/common/device-side/interactive/automation/src/main/java/com/android/interactive/steps/enterprise/settings/ |
D | AccountsRemoveWorkProfileStepAutomation.java | 36 TestApis.ui().device().findObject(new UiSelector().text("Work").className( in automate() 40 TestApis.ui().device().findObject(new UiSelector().text("Remove work profile").className( in automate() 44 TestApis.ui().device().findObject(new UiSelector().text("Delete").className( in automate()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | ExtractViewTest.java | 101 assertThat(mUiDevice.wait(Until.findObject(EXTRACT_EDIT_TEXT_SELECTOR), TIMEOUT)) in testOnCreateExtractTextView() 131 Until.findObject(By.text(MockIme.CUSTOM_EXTRACT_EDIT_TEXT_LABEL)), TIMEOUT)) in testOnCreateExtractTextViewWithCustomView() 133 assertThat(mUiDevice.wait(Until.findObject(EXTRACT_EDIT_TEXT_SELECTOR), TIMEOUT)) in testOnCreateExtractTextViewWithCustomView() 135 assertThat(mUiDevice.wait(Until.findObject(EXTRACT_ACCESSORIES_SELECTOR), TIMEOUT)) in testOnCreateExtractTextViewWithCustomView() 137 assertThat(mUiDevice.wait(Until.findObject(EXTRACT_ACTION_SELECTOR), TIMEOUT)) in testOnCreateExtractTextViewWithCustomView() 170 assertThat(mUiDevice.wait(Until.findObject(By.text(label)), TIMEOUT)).isNotNull(); in testSetExtractView() 171 assertThat(mUiDevice.wait(Until.findObject(EXTRACT_EDIT_TEXT_SELECTOR), TIMEOUT)) in testSetExtractView() 173 assertThat(mUiDevice.wait(Until.findObject(EXTRACT_ACCESSORIES_SELECTOR), TIMEOUT)) in testSetExtractView() 175 assertThat(mUiDevice.wait(Until.findObject(EXTRACT_ACTION_SELECTOR), TIMEOUT)) in testSetExtractView()
|
/cts/tests/tests/content/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/ |
D | CtsSyncAccountAccessOtherCertTestCases.java | 118 UiObject2 scrollable = uiDevice.findObject(By.scrollable(true)); in testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount() 122 Until.findObject(By.text("Clear all"))); in testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount() 124 clear = uiDevice.findObject(By.text("Clear all")); in testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount() 145 Until.findObject(By.text(OPEN_NOTIFICATION_WATCH)), UI_TIMEOUT_MILLIS); in testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount() 157 Until.findObject(By.text(PERMISSION_REQUESTED)), UI_TIMEOUT_MILLIS); in testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount() 185 uiDevice.wait(Until.findObject(By.text(ALLOW_SYNC)), UI_TIMEOUT_MILLIS).click(); in testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount() 199 return uiDevice.findObject(By.text(PERMISSION_REQUESTED)); in findPermissionNotificationInStream() 207 return uiDevice.findObject(By.text(PERMISSION_REQUESTED)); in findPermissionNotificationInStream()
|
/cts/common/device-side/interactive/automation/src/main/java/com/google/android/interactive/helpers/ |
D | QuickSettingsHelper.java | 50 Until.findObject(By.res("com.android.systemui:id/footer_page_indicator")), 5000); in findTileWithLabel() 52 UiObject2 quickSettings = device.findObject(By.res("com.android.systemui:id/qs_pager")); in findTileWithLabel() 58 UiObject2 tile = device.findObject(By.text(label)); in findTileWithLabel()
|
/cts/tests/tests/companion/uicommon/src/android/companion/cts/uicommon/ |
D | CompanionDeviceManagerUi.kt | 53 Until.findObject( in waitUntilVisible() 69 Until.findObject(POSITIVE_BUTTON), "Positive button not found or not clickable") in waitUntilPositiveButtonIsEnabledAndClick() 81 ui.wait(Until.findObject(CONFIRMATION_UI), 2.seconds.inWholeMilliseconds)?.let { in waitUntilPositiveButtonIsEnabledAndClick() 99 Until.findObject(POSITIVE_BUTTON), "Positive button") in waitUntilAppAppeared() 102 ui.wait(Until.findObject(SCROLLABLE_PERMISSION_LIST), 2.seconds.inWholeMilliseconds)?.let { in waitUntilAppAppeared() 121 Until.findObject(selector), "$description is not found") in click()
|
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/ |
D | DialogTests.java | 130 uiDevice.wait(Until.findObject(By.text(expectedTitle)), UI_TIMEOUT_MS)); in verifyDialogAndPressUnsuspend() 135 final UiObject2 unsuspendButton = uiDevice.findObject( in verifyDialogAndPressUnsuspend() 171 mUiDevice.wait(Until.findObject(By.text(expectedTitle)), UI_TIMEOUT_MS)); in testInterceptorActivity_moreDetails() 173 mUiDevice.findObject(By.text(expectedMessage))); in testInterceptorActivity_moreDetails() 177 final UiObject2 moreDetailsButton = mUiDevice.findObject( in testInterceptorActivity_moreDetails() 214 mUiDevice.wait(Until.findObject(By.text(expectedTitle)), UI_TIMEOUT_MS)); in testInterceptorActivity_strings() 216 mUiDevice.findObject(By.text(expectedMessage))); in testInterceptorActivity_strings() 220 final UiObject2 moreDetailsButton = mUiDevice.findObject( in testInterceptorActivity_strings()
|
/cts/hostsidetests/harmfulappwarning/testapp/src/android/harmfulappwarning/testapp/ |
D | HarmfulAppWarningDeviceTest.java | 75 getUiDevice().wait(Until.findObject(By.res("android:id/message")), TIMEOUT_MILLIS); in verifyWarningShown() 76 UiObject2 obj = getUiDevice().findObject(By.res("android:id/message")); in verifyWarningShown() 92 UiObject2 obj = getUiDevice().findObject(By.res("android:id/button2")); in clickLaunchAnyway() 98 UiObject2 obj = getUiDevice().findObject(By.res("android:id/button1")); in clickUninstall()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | MediaProjectionTests.java | 97 mDevice.wait(Until.findObject(By.res(CANCEL_RESOURCE_ID)), 5000L); in testMediaProjectionPermissionDialogCancel() 117 mDevice.wait(Until.findObject(By.res(SPINNER_RESOURCE_ID)), 5000L); in testMediaProjectionShowAppSelector() 127 mDevice.wait(Until.findObject(By.text(sSingleAppString)), 5000L); in testMediaProjectionShowAppSelector() 132 mDevice.wait(Until.findObject(By.res(ACCEPT_RESOURCE_ID)), 5000L); in testMediaProjectionShowAppSelector()
|
/cts/common/device-side/interactive/automation/src/main/java/com/google/android/interactive/steps/enterprise/sharesheet/ |
D | IsDialogSecondaryActionCancelStepAutomation.java | 34 device.wait(Until.findObject(By.res("android:id/use_same_profile_browser")), 2000); in automate() 35 String resolverTitle = device.findObject( in automate()
|
D | SelectOpenBrowserMiniResolverStepAutomation.java | 35 device.wait(Until.findObject(By.res("android:id/use_same_profile_browser")), 2000); in automate() 36 device.findObject( in automate()
|
D | IsDialogPrimaryActionOpenStepAutomation.java | 34 device.wait(Until.findObject(By.res("android:id/button_open")), 2000); in automate() 35 String resolverTitle = device.findObject( in automate()
|
D | IsDialogSecondaryActionUseWorkBrowserStepAutomation.java | 34 device.wait(Until.findObject(By.res("android:id/use_same_profile_browser")), 2000); in automate() 35 String resolverTitle = device.findObject( in automate()
|
D | SelectCancelMiniResolverStepAutomation.java | 35 device.wait(Until.findObject(By.res("android:id/use_same_profile_browser")), 2000); in automate() 36 device.findObject( in automate()
|
D | IsDialogSecondaryActionUsePersonalBrowserStepAutomation.java | 34 device.wait(Until.findObject(By.res("android:id/use_same_profile_browser")), 2000); in automate() 35 String resolverTitle = device.findObject( in automate()
|