/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | BugReportTest.kt | 35 import com.android.bedstead.nene.notifications.NotificationListener in <lambda>() 57 TestApis.notifications().createListener().use { notifications -> in <lambda>() method 58 cleanupBugreportNotification(notifications) in <lambda>() 70 TestApis.notifications().createListener().use { notifications -> in <lambda>() method 74 val n = notifications.query().whereNotification().extras().key(Notification.EXTRA_TITLE) in <lambda>() 91 TestApis.notifications().createListener().use { notifications -> in <lambda>() method 95 val n = notifications.query().whereNotification().extras().key(Notification.EXTRA_TITLE) in <lambda>() 152 TestApis.notifications().createListener().use { notifications -> in <lambda>() method 158 cleanupBugreportNotification(notifications) in <lambda>() 169 TestApis.notifications().createListener().use { notifications -> in <lambda>() method [all …]
|
D | MaximumTimeOffTest.java | 22 import static com.android.bedstead.nene.notifications.NotificationListenerQuerySubject.assertThat; 40 import com.android.bedstead.nene.notifications.NotificationListener; 41 import com.android.bedstead.nene.notifications.NotificationListenerQuerySubject; 82 try (NotificationListener notifications = TestApis.notifications().createListener()) { in setManagedProfileMaximumTimeOff_timesOut_personalAppsAreSuspended() argument 86 assertThat(notifications.query() in setManagedProfileMaximumTimeOff_timesOut_personalAppsAreSuspended() 117 try (NotificationListener notifications = TestApis.notifications().createListener()) { in setManagedProfileMaximumTimeOff_timesOut_notificationIsShown() argument 124 notifications.query() in setManagedProfileMaximumTimeOff_timesOut_notificationIsShown()
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/notifications/ |
D | NotificationsTest.java | 17 package com.android.bedstead.nene.notifications; 21 import static com.android.bedstead.nene.notifications.NotificationListenerQuerySubject.assertThat; 22 import static com.android.bedstead.nene.notifications.Notifications.LISTENER_COMPONENT; 59 TestApis.notifications().setNotificationListenerAccessGranted( in setNotificationListenerAccessGranted_true_notificationListenerAccessIsGranted() 68 TestApis.notifications().setNotificationListenerAccessGranted( in setNotificationListenerAccessGranted_false_notificationListenerAccessIsNotGranted() 77 assertThrows(NullPointerException.class, () -> TestApis.notifications() in setNotificationListenerAccessGranted_nullComponent_throwsException() 84 assertThrows(NullPointerException.class, () -> TestApis.notifications() in setNotificationListenerAccessGranted_nullUser_throwsException() 92 try (NotificationListener notifications = TestApis.notifications().createListener()) { in query_notificationIsPosted_findsNotification() argument 95 assertThat(notifications.query() in query_notificationIsPosted_findsNotification() 103 assertThrows(NeneException.class, () -> TestApis.notifications().createListener()); in createListener_noNotificationsTestAnnotation_throwsException()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/ |
D | NotificationListener.kt | 16 package com.android.bedstead.nene.notifications 26 class NotificationListener internal constructor(private val notifications: Notifications) : constant in com.android.bedstead.nene.notifications.NotificationListener 42 notifications.removeListener(this) in close()
|
D | Notification.kt | 1 package com.android.bedstead.nene.notifications
|
D | NeneNotificationListenerService.kt | 16 package com.android.bedstead.nene.notifications
|
D | NotificationListenerQuerySubject.kt | 16 package com.android.bedstead.nene.notifications in <lambda>()
|
D | NotificationListenerQuery.kt | 16 package com.android.bedstead.nene.notifications
|
D | Notifications.kt | 16 package com.android.bedstead.nene.notifications in <lambda>()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/notification/ |
D | OWNERS | 1 # These atom tests are owned by the notifications team.
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/ |
D | TestApisTest.java | 112 Truth.assertThat(TestApis.notifications()).isNotNull(); in notifications_returnsInstance() 117 Truth.assertThat(TestApis.notifications()).isEqualTo(TestApis.notifications()); in notifications_multipleCalls_returnsSameInstance()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | ShowWhenLockedActivity.java | 17 package com.android.cts.verifier.notifications;
|
D | AutomaticZenRuleStatusReceiver.java | 17 package com.android.cts.verifier.notifications;
|
D | ToastVerifierActivity.java | 17 package com.android.cts.verifier.notifications;
|
D | BlockChangeReceiver.java | 17 package com.android.cts.verifier.notifications;
|
D | MockConditionProvider.java | 16 package com.android.cts.verifier.notifications;
|
D | ActionTriggeredReceiver.java | 17 package com.android.cts.verifier.notifications;
|
D | AssetsProvider.java | 17 package com.android.cts.verifier.notifications;
|
D | NotificationListenerVerifierActivity.java | 17 package com.android.cts.verifier.notifications; 27 import static com.android.cts.verifier.notifications.MockListener.JSON_FLAGS; 28 import static com.android.cts.verifier.notifications.MockListener.JSON_ICON; 29 import static com.android.cts.verifier.notifications.MockListener.JSON_ID; 30 import static com.android.cts.verifier.notifications.MockListener.JSON_LAST_AUDIBLY_ALERTED; 31 import static com.android.cts.verifier.notifications.MockListener.JSON_PACKAGE; 32 import static com.android.cts.verifier.notifications.MockListener.JSON_REASON; 33 import static com.android.cts.verifier.notifications.MockListener.JSON_STATS; 34 import static com.android.cts.verifier.notifications.MockListener.JSON_TAG; 35 import static com.android.cts.verifier.notifications.MockListener.JSON_WHEN; [all …]
|
D | BubbleActivity.java | 1 package com.android.cts.verifier.notifications;
|
D | BubblesVerifierActivity.java | 16 package com.android.cts.verifier.notifications; 31 import static com.android.cts.verifier.notifications.BubbleActivity.EXTRA_INSETS; 32 import static com.android.cts.verifier.notifications.BubbleActivity.EXTRA_TEST_NAME; 33 import static com.android.cts.verifier.notifications.BubbleActivity.TEST_MAX_HEIGHT; 34 import static com.android.cts.verifier.notifications.BubbleActivity.TEST_MIN_HEIGHT;
|
D | ShortcutThrottlingResetActivity.java | 17 package com.android.cts.verifier.notifications;
|
D | NotificationStyleVerifierActivity.java | 17 package com.android.cts.verifier.notifications;
|
D | MockListener.java | 16 package com.android.cts.verifier.notifications;
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/ |
D | TestApis.kt | 36 import com.android.bedstead.nene.notifications.Notifications 93 fun notifications() = Notifications method
|