/packages/modules/AdServices/adservices/tests/cts/ui/gaux/debugchannel/src/com/android/adservices/tests/ui/gaux/debugchannel/ |
D | GaUxDebugChannelTest.java | 32 import com.android.adservices.tests.ui.libs.UiUtils; 62 UiUtils.setBinderTimeout(); in setUp() 64 UiUtils.resetAdServicesConsentData(sContext); in setUp() 68 UiUtils.enableNotificationPermission(); in setUp() 74 UiUtils.enableConsentDebugMode(); in setUp() 75 UiUtils.disableNotificationFlowV2(); in setUp() 76 UiUtils.disableOtaStrings(); in setUp() 96 UiUtils.takeScreenshot(mDevice, getClass().getSimpleName() + "_" + mTestName + "_"); in tearDown() 108 UiUtils.turnOffEnableAdsServicesAPI(); in testApiDisabled() 136 UiUtils.turnOnEnableAdsServicesAPI(); in testApiDisabled() [all …]
|
/packages/modules/AdServices/adservices/tests/cts/ui/u18ux/debugchannel/src/com/android/adservices/tests/ui/u18ux/debugchannel/ |
D | U18UxDebugChannelTest.java | 34 import com.android.adservices.tests.ui.libs.UiUtils; 67 UiUtils.setBinderTimeout(); in setUp() 70 UiUtils.resetAdServicesConsentData(sContext); in setUp() 74 UiUtils.enableNotificationPermission(); in setUp() 75 UiUtils.disableNotificationFlowV2(); in setUp() 76 UiUtils.disableOtaStrings(); in setUp() 80 UiUtils.enableConsentDebugMode(); in setUp() 101 UiUtils.takeScreenshot(mDevice, getClass().getSimpleName() + "_" + mTestName + "_"); in tearDown() 112 UiUtils.enableU18(); in testEntrypointDisabled() 113 UiUtils.enableGa(); in testEntrypointDisabled() [all …]
|
/packages/modules/AdServices/adservices/tests/cts/ui/gaux/rpostotachannel/src/com/android/adservices/tests/ui/gaux/rpostotachannel/ |
D | GaUxRvcPostOTAChannelTest.java | 33 import com.android.adservices.tests.ui.libs.UiUtils; 62 UiUtils.resetAdServicesConsentData(sContext); in setUp() 64 UiUtils.enableNotificationPermission(); in setUp() 65 UiUtils.enableGa(); in setUp() 66 UiUtils.enableRvc(); in setUp() 67 UiUtils.enableRvcNotification(); in setUp() 68 UiUtils.disableNotificationFlowV2(); in setUp() 69 UiUtils.disableOtaStrings(); in setUp() 94 UiUtils.takeScreenshot(mDevice, getClass().getSimpleName() + "_" + mTestName + "_"); in tearDown() 107 UiUtils.setAsRowDevice(); in testU18ToGAForRPostOTA_optInMsmt() [all …]
|
/packages/modules/AdServices/adservices/tests/cts/ui/gaux/legacy/src/com.android.adservices.tests.ui.gaux/ |
D | ReconsentNotificationTriggerTest.java | 35 import com.android.adservices.tests.ui.libs.UiUtils; 74 UiUtils.enableNotificationPermission(); in setUp() 79 UiUtils.disableConsentDebugMode(); in setUp() 80 UiUtils.disableSchedulingParams(); in setUp() 81 UiUtils.setSourceOfTruthToPPAPI(); in setUp() 82 UiUtils.clearSavedStatus(); in setUp() 83 UiUtils.disableNotificationFlowV2(); in setUp() 84 UiUtils.disableOtaStrings(); in setUp() 91 UiUtils.takeScreenshot(mDevice, getClass().getSimpleName() + "_" + mTestName + "_"); in tearDown() 134 UiUtils.restartAdservices(); in testRowAdIdEnabledGaUxEnabledReConsentSecondNotDisplayed() [all …]
|
D | GaUxNotificationTriggerTest.java | 33 import com.android.adservices.tests.ui.libs.UiUtils; 67 UiUtils.enableNotificationPermission(); in setUp() 73 UiUtils.enableConsentDebugMode(); in setUp() 74 UiUtils.disableNotificationFlowV2(); in setUp() 75 UiUtils.disableOtaStrings(); in setUp() 84 UiUtils.takeScreenshot(mDevice, getClass().getSimpleName() + "_" + mTestName + "_"); in tearDown() 99 UiUtils.setAsRowDevice(); in testGaRowAdIdEnabled() 100 UiUtils.enableGa(); in testGaRowAdIdEnabled() 121 UiUtils.setAsRowDevice(); in testGaRowAdIdDisabled() 122 UiUtils.enableGa(); in testGaRowAdIdDisabled() [all …]
|
D | GaUxNotificationRetriggerTest.java | 33 import com.android.adservices.tests.ui.libs.UiUtils; 68 UiUtils.enableNotificationPermission(); in setUp() 70 UiUtils.resetAdServicesConsentData(sContext); in setUp() 76 UiUtils.disableNotificationFlowV2(); in setUp() 77 UiUtils.disableOtaStrings(); in setUp() 78 UiUtils.turnOffEnableAdServicesSystemApi(); in setUp() 88 UiUtils.takeScreenshot(mDevice, getClass().getSimpleName() + "_" + mTestName + "_"); in tearDown() 103 UiUtils.setAsRowDevice(); in testGaRowAdIdEnabled() 104 UiUtils.enableGa(); in testGaRowAdIdEnabled() 134 UiUtils.setAsRowDevice(); in testGaRowAdIdDisabled() [all …]
|
D | OTAStringsCorruptFileUiAutomatorTest.java | 32 import com.android.adservices.tests.ui.libs.UiUtils; 72 UiUtils.connectToWifi(); in initTestClass() 74 UiUtils.setOTADownloadTimeout(0); in initTestClass() 75 UiUtils.enableOtaStrings(); in initTestClass() 83 UiUtils.disableOtaStrings(); in tearDownTestClass() 113 UiUtils.setupOTAStrings(sContext, sDevice, sCommonManager, CORRUPT_ARSC_FILE_MDD_URL); in checkCorruptedARSCFile_OTAFailTest() 116 UiUtils.verifyNotificationAndSettingsPage(sContext, sDevice, false); in checkCorruptedARSCFile_OTAFailTest() 121 UiUtils.setupOTAStrings(sContext, sDevice, sCommonManager, XML_FIL_MDD_URL); in checkXMLFile_OTAFailTest() 124 UiUtils.verifyNotificationAndSettingsPage(sContext, sDevice, false); in checkXMLFile_OTAFailTest()
|
D | OTAStringsUiAutomatorTest.java | 33 import com.android.adservices.tests.ui.libs.UiUtils; 68 UiUtils.connectToWifi(); in initTestClass() 73 UiUtils.disableNotificationFlowV2(); in initTestClass() 78 UiUtils.setupOTAStrings(sContext, sDevice, sCommonManager, MDD_URL); in initTestClass() 85 UiUtils.turnOffWifi(); in cleanup() 115 UiUtils.enableBeta(); in checkOTAStringsNotificationAndSettingsPageTest() 116 UiUtils.setAsRowDevice(); in checkOTAStringsNotificationAndSettingsPageTest() 121 UiUtils.verifyNotificationAndSettingsPage(sContext, sDevice, true); in checkOTAStringsNotificationAndSettingsPageTest()
|
/packages/modules/AdServices/adservices/tests/cts/ui/gaux/graduationchannel/src/com/android/adservices/tests/ui/gaux/graduationchannel/ |
D | GaUxGraduationChannelTest.java | 32 import com.android.adservices.tests.ui.libs.UiUtils; 63 UiUtils.setBinderTimeout(); in setUp() 65 UiUtils.resetAdServicesConsentData(sContext); in setUp() 67 UiUtils.enableNotificationPermission(); in setUp() 68 UiUtils.enableGa(); in setUp() 69 UiUtils.disableNotificationFlowV2(); in setUp() 70 UiUtils.disableOtaStrings(); in setUp() 91 UiUtils.refreshConsentResetToken(); in setUp() 122 UiUtils.takeScreenshot(mDevice, getClass().getSimpleName() + "_" + mTestName + "_"); in tearDown() 135 UiUtils.setAsRowDevice(); in testRowU18ToGaAdIdEnabled() [all …]
|
/packages/modules/AdServices/adservices/tests/cts/ui/odp/common/src/com/android/adservices/tests/ui/common/ |
D | CommonServicesTest.java | 41 import com.android.adservices.tests.ui.libs.UiUtils; 83 UiUtils.setBinderTimeout(); in setUp() 85 UiUtils.resetAdServicesConsentData(sContext); in setUp() 86 UiUtils.enableNotificationPermission(); in setUp() 87 UiUtils.enableGa(); in setUp() 88 UiUtils.enablePas(); in setUp() 89 UiUtils.enableU18(); in setUp() 90 UiUtils.setFlipFlow(true); in setUp() 91 UiUtils.disableOtaStrings(); in setUp() 92 UiUtils.setGetAdservicesCommonStatesServiceEnable(true); in setUp() [all …]
|
/packages/modules/AdServices/adservices/tests/cts/ui/u18ux/detentionchannel/src/com/android/adservices/tests/ui/u18ux/detentionchannel/ |
D | U18UxDetentionChannelTest.java | 32 import com.android.adservices.tests.ui.libs.UiUtils; 60 UiUtils.setBinderTimeout(); in setUp() 62 UiUtils.resetAdServicesConsentData(sContext); in setUp() 63 UiUtils.enableNotificationPermission(); in setUp() 64 UiUtils.enableGa(); in setUp() 65 UiUtils.disableNotificationFlowV2(); in setUp() 66 UiUtils.disableOtaStrings(); in setUp() 71 UiUtils.enableU18(); in setUp() 88 UiUtils.refreshConsentResetToken(); in setUp() 116 UiUtils.restartAdservices(); in setUp() [all …]
|
/packages/modules/AdServices/adservices/tests/cts/ui/libs/src/com/android/adservices/tests/ui/libs/ |
D | AdservicesWorkflows.java | 21 import static com.android.adservices.tests.ui.libs.UiUtils.LAUNCH_TIMEOUT; 93 UiUtils.setAsEuDevice(); in testNotificationActivityFlow() 95 UiUtils.setAsRowDevice(); in testNotificationActivityFlow() 99 UiUtils.enableGa(); in testNotificationActivityFlow() 102 UiUtils.enableBeta(); in testNotificationActivityFlow() 105 UiUtils.enableGa(); in testNotificationActivityFlow() 106 UiUtils.enableU18(); in testNotificationActivityFlow() 109 UiUtils.enableGa(); in testNotificationActivityFlow() 110 UiUtils.enableRvc(); in testNotificationActivityFlow() 114 UiUtils.setFlipFlow(isV2); in testNotificationActivityFlow() [all …]
|
/packages/modules/AdServices/adservices/apk/tests/engonly/gaux/graduationchannel/src/com/android/adservices/tests/ui/gaux/graduationchannel/ |
D | ExtGaUxGraduationChannelRowTest.java | 33 import com.android.adservices.tests.ui.libs.UiUtils; 69 UiUtils.resetAdServicesConsentData(sContext); in setUp() 71 UiUtils.enableNotificationPermission(); in setUp() 72 UiUtils.enableGa(); in setUp() 73 UiUtils.disableNotificationFlowV2(); in setUp() 74 UiUtils.disableOtaStrings(); in setUp() 95 UiUtils.refreshConsentResetToken(); in setUp() 128 UiUtils.takeScreenshot(mDevice, getClass().getSimpleName() + "_" + mTestName + "_"); in tearDown() 139 UiUtils.setAsRowDevice(); in testRowU18ToGaAdIdEnabled() 140 UiUtils.enableU18(); in testRowU18ToGaAdIdEnabled() [all …]
|
/packages/modules/AdServices/adservices/tests/cts/ui/rvcux/alreadyenrolledchannel/src/com/android/adservices/tests/ui/rvcux/alreadyenrolledchannel/ |
D | RvcUxAlreadyEnrolledChannelTest.java | 34 import com.android.adservices.tests.ui.libs.UiUtils; 67 UiUtils.setBinderTimeout(); in setUp() 69 UiUtils.resetAdServicesConsentData(sContext); in setUp() 71 UiUtils.enableNotificationPermission(); in setUp() 72 UiUtils.enableGa(); in setUp() 73 UiUtils.enableRvc(); in setUp() 74 UiUtils.disableNotificationFlowV2(); in setUp() 75 UiUtils.disableOtaStrings(); in setUp() 102 UiUtils.takeScreenshot(mDevice, getClass().getSimpleName() + "_" + mTestName + "_"); in tearDown() 112 UiUtils.setAsRowDevice(); in testU18NotificationDisplayedForRvcUX_row() [all …]
|
/packages/modules/AdServices/adservices/tests/cts/ui/gaux/alreadyenrolledchannel/src/com/android/adservices/tests/ui/gaux/alreadyenrolledchannel/ |
D | GaUxAlreadyEnrolledChannelTest.java | 34 import com.android.adservices.tests.ui.libs.UiUtils; 66 UiUtils.setBinderTimeout(); in setUp() 68 UiUtils.resetAdServicesConsentData(sContext); in setUp() 70 UiUtils.enableNotificationPermission(); in setUp() 71 UiUtils.enableGa(); in setUp() 72 UiUtils.disableNotificationFlowV2(); in setUp() 73 UiUtils.disableOtaStrings(); in setUp() 94 UiUtils.refreshConsentResetToken(); in setUp() 125 UiUtils.takeScreenshot(mDevice, getClass().getSimpleName() + "_" + mTestName + "_"); in tearDown() 138 UiUtils.setAsRowDevice(); in testGaRowAdIdEnabled() [all …]
|
/packages/modules/AdServices/adservices/apk/tests/engonly/gaux/alreadyenrolledchannel/src/com/android/adservices/tests/ui/gaux/alreadyenrolledchannel/ |
D | ExtGaUxAlreadyEnrolledChannelRowTest.java | 33 import com.android.adservices.tests.ui.libs.UiUtils; 69 UiUtils.resetAdServicesConsentData(sContext); in setUp() 71 UiUtils.enableNotificationPermission(); in setUp() 72 UiUtils.enableGa(); in setUp() 73 UiUtils.disableNotificationFlowV2(); in setUp() 74 UiUtils.disableOtaStrings(); in setUp() 95 UiUtils.refreshConsentResetToken(); in setUp() 128 UiUtils.takeScreenshot(mDevice, getClass().getSimpleName() + "_" + mTestName + "_"); in tearDown() 167 UiUtils.setAsRowDevice(); in testGaRowAdIdDisabled()
|
D | ExtGaUxAlreadyEnrolledChannelEuTest.java | 33 import com.android.adservices.tests.ui.libs.UiUtils; 69 UiUtils.resetAdServicesConsentData(sContext); in setUp() 71 UiUtils.enableNotificationPermission(); in setUp() 72 UiUtils.enableGa(); in setUp() 73 UiUtils.disableNotificationFlowV2(); in setUp() 74 UiUtils.disableOtaStrings(); in setUp() 95 UiUtils.refreshConsentResetToken(); in setUp() 128 UiUtils.takeScreenshot(mDevice, getClass().getSimpleName() + "_" + mTestName + "_"); in tearDown() 164 UiUtils.setAsEuDevice(); in testGaEuAdIdDisabled()
|
/packages/apps/Settings/tests/componenttests/src/com/android/settings/notification/ |
D | AppNotificationComponentTest.java | 38 import com.android.settings.testutils.UiUtils; 84 UiUtils.dumpView(UiUtils.getFirstViewFromActivity(activity)); in test_special_app_could_not_disable_notification() 88 UiUtils.waitUntilCondition(5000, in test_special_app_could_not_disable_notification() 98 UiUtils.waitForActivitiesInStage(10000, Stage.RESUMED); in test_special_app_could_not_disable_notification() 101 UiUtils.dumpView(UiUtils.getFirstViewFromActivity(activity)); in test_special_app_could_not_disable_notification()
|
/packages/modules/AdServices/adservices/apk/tests/engonly/gaux/debugchannel/src/com/android/adservices/tests/ui/gaux/debugchannel/ |
D | ExtGaUxDebugChannelApiOffTest.java | 33 import com.android.adservices.tests.ui.libs.UiUtils; 68 UiUtils.enableNotificationPermission(); in setUp() 74 UiUtils.enableConsentDebugMode(); in setUp() 75 UiUtils.disableNotificationFlowV2(); in setUp() 76 UiUtils.disableOtaStrings(); in setUp() 85 UiUtils.takeScreenshot(mDevice, getClass().getSimpleName() + "_" + mTestName + "_"); in tearDown()
|
D | ExtGaUxDebugChannelRowTest.java | 33 import com.android.adservices.tests.ui.libs.UiUtils; 68 UiUtils.resetAdServicesConsentData(sContext); in setUp() 72 UiUtils.enableNotificationPermission(); in setUp() 78 UiUtils.enableConsentDebugMode(); in setUp() 79 UiUtils.disableNotificationFlowV2(); in setUp() 80 UiUtils.disableOtaStrings(); in setUp() 102 UiUtils.takeScreenshot(mDevice, getClass().getSimpleName() + "_" + mTestName + "_"); in tearDown()
|
D | ExtGaUxDebugChannelEuTest.java | 33 import com.android.adservices.tests.ui.libs.UiUtils; 68 UiUtils.resetAdServicesConsentData(sContext); in setUp() 72 UiUtils.enableNotificationPermission(); in setUp() 78 UiUtils.enableConsentDebugMode(); in setUp() 79 UiUtils.disableNotificationFlowV2(); in setUp() 80 UiUtils.disableOtaStrings(); in setUp() 102 UiUtils.takeScreenshot(mDevice, getClass().getSimpleName() + "_" + mTestName + "_"); in tearDown()
|
/packages/apps/Messaging/src/com/android/messaging/ui/animation/ |
D | PopupTransitionAnimation.java | 33 import com.android.messaging.util.UiUtils; 85 setDuration(UiUtils.MEDIAPICKER_TRANSITION_DURATION); in PopupTransitionAnimation() 86 setInterpolator(UiUtils.DEFAULT_INTERPOLATOR); in PopupTransitionAnimation() 155 UiUtils.doOnceAfterLayoutChange(mViewToAnimate, this); in startAfterLayoutComplete() 187 mPopupRect.set(UiUtils.getMeasuredBoundsOnScreen(mPopupRoot)); in applyTransformation() 188 mActionBarRect.set(UiUtils.getMeasuredBoundsOnScreen(mActionBarView)); in applyTransformation() 298 outRect.set(UiUtils.getMeasuredBoundsOnScreen(view)); in getViewScreenMeasureRect()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ChangeDefaultSmsAppHelper.java | 61 UiUtils.showToast(R.string.sms_disabled); in warnOfMissingActionConditions() 65 UiUtils.showToast(R.string.no_preferred_sim_selected); in warnOfMissingActionConditions() 94 UiUtils.showSnackBarWithCustomAction(activity, in promptToChangeDefaultSmsApp() 126 UiUtils.showToastAtBottom(R.string.activity_not_found_message); in run() 149 UiUtils.showToast(R.string.toast_after_setting_default_sms_app); in handleChangeDefaultSmsResult()
|
/packages/apps/Settings/tests/componenttests/src/com/android/settings/wifi/ |
D | WifiSettings2ActivityTest.java | 44 import com.android.settings.testutils.UiUtils; 70 UiUtils.waitForActivitiesInStage(Constants.ACTIVITY_LAUNCH_WAIT_TIMEOUT, Stage.RESUMED); in test_connect_to_wifi() 84 UiUtils.waitUntilCondition(Constants.VIEW_APPEAR_WAIT_MEDIUM_TIMEOUT, in test_connect_to_wifi() 89 UiUtils.waitForActivitiesInStage(Constants.ACTIVITY_LAUNCH_WAIT_TIMEOUT, Stage.RESUMED); in test_connect_to_wifi() 120 UiUtils.waitUntilCondition(Constants.WIFI_CONNECT_WAIT_TIMEOUT, in test_connect_to_wifi()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/ui/ |
D | NotificationLandingPage.java | 31 import com.android.adservices.tests.ui.libs.UiUtils; 57 UiUtils.setFlipFlow(true); in setup() 58 UiUtils.setAsEuDevice(); in setup() 59 UiUtils.enableGa(); in setup()
|