/packages/modules/AdServices/adservices/tests/cts/ui/libs/src/com/android/adservices/tests/ui/libs/ |
D | UiUtils.java | 63 public static final int LAUNCH_TIMEOUT = 5000; field in UiUtils 298 device.waitForIdle(LAUNCH_TIMEOUT); in verifyNotification() 300 Thread.sleep(LAUNCH_TIMEOUT); in verifyNotification() 313 device.waitForIdle(LAUNCH_TIMEOUT); in verifyNotification() 314 Thread.sleep(LAUNCH_TIMEOUT); in verifyNotification() 328 Thread.sleep(LAUNCH_TIMEOUT); in setupOTAStrings() 332 Thread.sleep(LAUNCH_TIMEOUT); in setupOTAStrings() 360 Thread.sleep(LAUNCH_TIMEOUT); in clearNotifications() 371 Thread.sleep(LAUNCH_TIMEOUT); in clearNotifications() 379 Thread.sleep(LAUNCH_TIMEOUT); in verifyNotificationAndSettingsPage() [all …]
|
D | AdservicesWorkflows.java | 21 import static com.android.adservices.tests.ui.libs.UiUtils.LAUNCH_TIMEOUT; 51 device.wait(Until.hasObject(By.pkg(packageName).depth(0)), LAUNCH_TIMEOUT); in startNotificationActivity() 66 device.wait(Until.hasObject(By.pkg(packageName).depth(0)), LAUNCH_TIMEOUT); in startSettingsActivity()
|
/packages/modules/AdServices/adservices/apk/tests/util/java/com/android/adservices/ui/util/ |
D | SettingsTestUtil.java | 19 import static com.android.adservices.ui.util.AdServicesUiTestCase.LAUNCH_TIMEOUT; 47 ApkTestUtil.launchSettingView(device, LAUNCH_TIMEOUT); in settingsRemoveMainToggleAndMeasurementEntryTestUtil() 70 ApkTestUtil.launchSettingView(device, LAUNCH_TIMEOUT); in settingsRemoveMainToggleAndMeasurementEntryTestRvcUxUtil() 92 ApkTestUtil.launchSettingView(device, LAUNCH_TIMEOUT); in measurementDialogTestUtil() 112 ApkTestUtil.launchSettingView(device, LAUNCH_TIMEOUT); in topicsToggleTestUtil() 145 ApkTestUtil.launchSettingView(device, LAUNCH_TIMEOUT); in fledgeToggleTestUtil() 178 ApkTestUtil.launchSettingView(device, LAUNCH_TIMEOUT); in measurementToggleTestUtil() 213 ApkTestUtil.launchSettingView(device, LAUNCH_TIMEOUT); in topicsSubtitleTestUtil() 224 ApkTestUtil.launchSettingView(device, LAUNCH_TIMEOUT); in appsSubtitleTestUtil() 235 ApkTestUtil.launchSettingView(device, LAUNCH_TIMEOUT); in measurementSubtitleTestUtil() [all …]
|
D | NotificationActivityTestUtil.java | 21 import static com.android.adservices.ui.util.AdServicesUiTestCase.LAUNCH_TIMEOUT; 75 device.wait(Until.hasObject(By.pkg(notificationPackage).depth(0)), LAUNCH_TIMEOUT); in startActivity() 101 device.wait(Until.hasObject(By.pkg(notificationPackage).depth(0)), LAUNCH_TIMEOUT); in startRenotifyPasActivity()
|
D | AdServicesUiTestCase.java | 46 public static final int LAUNCH_TIMEOUT = 5_000; field in AdServicesUiTestCase 73 mDevice.wait(Until.hasObject(By.pkg(launcherPackage).depth(0)), LAUNCH_TIMEOUT); in setUpDevice()
|
/packages/modules/AdServices/adservices/tests/cts/ui/gaux/legacy/src/com.android.adservices.tests.ui.gaux/ |
D | OTAStringsCorruptFileUiAutomatorTest.java | 46 private static final int LAUNCH_TIMEOUT = 5000; field in OTAStringsCorruptFileUiAutomatorTest 78 Thread.sleep(LAUNCH_TIMEOUT); in initTestClass() 99 sDevice.wait(Until.hasObject(By.pkg(launcherPackage).depth(0)), LAUNCH_TIMEOUT); in initTestCase()
|
D | OTAStringsUiAutomatorTest.java | 49 private static final int LAUNCH_TIMEOUT = 5000; field in OTAStringsUiAutomatorTest 71 Thread.sleep(LAUNCH_TIMEOUT); in initTestClass() 104 sDevice.wait(Until.hasObject(By.pkg(launcherPackage).depth(0)), LAUNCH_TIMEOUT); in initTestCase()
|
/packages/modules/AdServices/adservices/apk/tests/notification/src/com/android/adservices/ui/notifications/ |
D | ConsentNotificationTriggerTest.java | 113 private static final int LAUNCH_TIMEOUT = 5000; field in ConsentNotificationTriggerTest 204 LAUNCH_TIMEOUT); in testEuNotification_gaUxFlagEnabled() 222 Thread.sleep(LAUNCH_TIMEOUT); in testEuNotification_gaUxFlagEnabled() 319 LAUNCH_TIMEOUT); in testEuNotifications_gaUxEnabled_nonDismissable() 342 notificationCard.waitForExists(LAUNCH_TIMEOUT); in testEuNotifications_gaUxEnabled_nonDismissable() 346 Thread.sleep(LAUNCH_TIMEOUT); in testEuNotifications_gaUxEnabled_nonDismissable() 405 LAUNCH_TIMEOUT); in testEuNotifications_gaUxEnabled_nonDismissable_dismissedOnConfirmationPage() 427 notificationCard.waitForExists(LAUNCH_TIMEOUT); in testEuNotifications_gaUxEnabled_nonDismissable_dismissedOnConfirmationPage() 432 Thread.sleep(LAUNCH_TIMEOUT); in testEuNotifications_gaUxEnabled_nonDismissable_dismissedOnConfirmationPage() 444 Thread.sleep(LAUNCH_TIMEOUT); in testEuNotifications_gaUxEnabled_nonDismissable_dismissedOnConfirmationPage() [all …]
|
/packages/modules/AdServices/adservices/apk/tests/settings/src/com/android/adservices/ui/settings/ |
D | AppConsentSettingsUiAutomatorTest.java | 63 private static final int LAUNCH_TIMEOUT = 5000; field in AppConsentSettingsUiAutomatorTest 207 sDevice.wait(Until.hasObject(By.pkg(privacySandboxUi).depth(0)), LAUNCH_TIMEOUT); in launchSettingApp() 221 sDevice.wait(Until.hasObject(By.pkg(launcherPackage).depth(0)), LAUNCH_TIMEOUT); in appConsentTest() 330 sDevice.wait(Until.hasObject(By.pkg(TEST_APP_NAME).depth(0)), LAUNCH_TIMEOUT); in initiateTestAppConsent()
|
D | DialogFragmentTest.java | 76 private static final int LAUNCH_TIMEOUT = 5000; field in DialogFragmentTest 163 sDevice.wait(Until.hasObject(By.pkg(launcherPackage).depth(0)), LAUNCH_TIMEOUT); in startActivityFromHomeAndCheckMainSwitch() 173 Until.hasObject(By.pkg(PRIVACY_SANDBOX_TEST_PACKAGE).depth(0)), LAUNCH_TIMEOUT); in startActivityFromHomeAndCheckMainSwitch()
|
D | ConsentSettingsUiAutomatorTest.java | 137 ApkTestUtil.launchSettingViewGivenUx(mDevice, LAUNCH_TIMEOUT, "BETA_UX"); in consentTest()
|
/packages/modules/AdServices/adservices/tests/cts/ui/libs/src/com/android/adservices/tests/ui/libs/pages/ |
D | NotificationPages.java | 19 import static com.android.adservices.tests.ui.libs.UiUtils.LAUNCH_TIMEOUT; 54 Thread.sleep(LAUNCH_TIMEOUT); in verifyNotification() 116 Until.findObject(sysuiResSelector(NOTIFICATION_SCROLLER)), LAUNCH_TIMEOUT); in verifyNotification() 127 Thread.sleep(LAUNCH_TIMEOUT); in verifyNotification()
|