Home
last modified time | relevance | path

Searched refs:notificationHelper (Results 1 – 6 of 6) sorted by relevance

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DNotificationTest.java158 TestNotificationListener.NotificationHelper notificationHelper = in testNotificationRemovedOnForceStop() argument
176 StatusBarNotification jobNotification = notificationHelper.getNotification(); in testNotificationRemovedOnForceStop()
181 notificationHelper.assertNotificationsRemoved(); in testNotificationRemovedOnForceStop()
188 TestNotificationListener.NotificationHelper notificationHelper = in testNotificationRemovedOnPackageRestriction() argument
212 StatusBarNotification jobNotification = notificationHelper.getNotification(); in testNotificationRemovedOnPackageRestriction()
226 notificationHelper.assertNotificationsRemoved(); in testNotificationRemovedOnPackageRestriction()
237 TestNotificationListener.NotificationHelper notificationHelper = in testNotificationRemovedOnTaskManagerStop() argument
255 StatusBarNotification jobNotification = notificationHelper.getNotification(); in testNotificationRemovedOnTaskManagerStop()
262 notificationHelper.assertNotificationsRemoved(); in testNotificationRemovedOnTaskManagerStop()
275 TestNotificationListener.NotificationHelper notificationHelper = in testNotification_userInitiated_anrWhenNotProvided() argument
[all …]
DUserInitiatedJobTest.java134 try (TestNotificationListener.NotificationHelper notificationHelper = in testJobUidState() argument
148 notificationHelper.clickNotification(); in testJobUidState()
196 try (TestNotificationListener.NotificationHelper notificationHelper = in testRestrictedBalToTop() argument
210 notificationHelper.clickNotification(); in testRestrictedBalToTop()
242 try (TestNotificationListener.NotificationHelper notificationHelper = in testRestrictedToggling() argument
256 notificationHelper.clickNotification(); in testRestrictedToggling()
314 try (TestNotificationListener.NotificationHelper notificationHelper = in testRestrictedUidState() argument
328 notificationHelper.clickNotification(); in testRestrictedUidState()
344 try (TestNotificationListener.NotificationHelper notificationHelper = in testSchedulingBal() argument
354 notificationHelper.clickNotification(); in testSchedulingBal()
DConnectivityConstraintTest.java580 try (TestNotificationListener.NotificationHelper notificationHelper = in testUserInitiatedJobExecutes_DozeOn() argument
596 notificationHelper.clickNotification(); in testUserInitiatedJobExecutes_DozeOn()
945 try (TestNotificationListener.NotificationHelper notificationHelper = in testBgUiJobBypassesDataSaver() argument
961 notificationHelper.clickNotification(); in testBgUiJobBypassesDataSaver()
986 try (TestNotificationListener.NotificationHelper notificationHelper = in testBgNonUiJobDoesNotBypassDataSaverWhenUiJobRunning() argument
1025 notificationHelper.clickNotification(); in testBgNonUiJobDoesNotBypassDataSaverWhenUiJobRunning()
DJobThrottlingTest.java459 try (TestNotificationListener.NotificationHelper notificationHelper = in testBackgroundUIJsThermal() argument
466 notificationHelper.clickNotification(); in testBackgroundUIJsThermal()
978 try (TestNotificationListener.NotificationHelper notificationHelper = in testUserInitiatedJobBypassesBatterySaverOn() argument
989 notificationHelper.clickNotification(); in testUserInitiatedJobBypassesBatterySaverOn()
1001 try (TestNotificationListener.NotificationHelper notificationHelper = in testUserInitiatedJobBypassesBatterySaver_toggling() argument
1012 notificationHelper.clickNotification(); in testUserInitiatedJobBypassesBatterySaver_toggling()
1028 try (TestNotificationListener.NotificationHelper notificationHelper = in testUserInitiatedJobBypassesDeviceIdle() argument
1038 notificationHelper.clickNotification(); in testUserInitiatedJobBypassesDeviceIdle()
1050 try (TestNotificationListener.NotificationHelper notificationHelper = in testUserInitiatedJobBypassesDeviceIdle_toggling() argument
1060 notificationHelper.clickNotification(); in testUserInitiatedJobBypassesDeviceIdle_toggling()
/cts/tests/sensitivecontentprotection/src/android/sensitivecontentprotection/cts/
DSensitiveNotificationAppHidingTest.kt65 private lateinit var notificationHelper: NotificationHelper in <lambda>() variable in android.sensitivecontentprotection.cts.SensitiveNotificationAppHidingTest
113 notificationHelper.findPostedNotification( in <lambda>()
126 val listener = notificationHelper.enableListener(NLS_PACKAGE_NAME) in <lambda>()
171 notificationHelper = NotificationHelper(context) in <lambda>()
172 previousAssistant = notificationHelper.getEnabledAssistant() in <lambda>()
175 notificationHelper.disableListener(NLS_PACKAGE_NAME) in <lambda>()
176 notificationHelper.disableAssistant(NLS_PACKAGE_NAME) in <lambda>()
185 notificationAssistant = notificationHelper.enableAssistant(NLS_PACKAGE_NAME) in <lambda>()
196 if (this::notificationHelper.isInitialized) { in <lambda>()
197 notificationHelper.disableListener(NLS_PACKAGE_NAME) in <lambda>()
[all …]
/cts/tests/app/src/android/app/cts/
DActivityManagerFgsBgStartTest.java2440 NotificationHelper notificationHelper = new NotificationHelper(mContext); in testStartMediaPlaybackFromBg() local
2447 notificationHelper.enableListener(STUB_PACKAGE_NAME); in testStartMediaPlaybackFromBg()
2480 notificationHelper.disableListener(STUB_PACKAGE_NAME); in testStartMediaPlaybackFromBg()