Home
last modified time | relevance | path

Searched refs:NotificationListener (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/permission/src/android/permission/cts/
DNotificationListener.java22 public class NotificationListener extends NotificationListenerService { class
23 private static final String LOG_TAG = NotificationListener.class.getSimpleName();
27 private static NotificationListener sService;
DLocationAccessCheckTest.java266 NotificationListenerService notificationService = NotificationListener.getInstance(); in getPermissionControllerNotification()
285 NotificationListenerService notificationService = NotificationListener.getInstance(); in getNotification()
339 NotificationListener.class).flattenToString())); in allowNotificationAccess()
502 NotificationListener.class)).flattenToString()); in disallowNotificationAccess()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DNotificationListener.java31 public class NotificationListener extends NotificationListenerService { class
35 private static NotificationListener instance;
38 public static NotificationListener getInstance() { in getInstance()
DAdminActionBookkeepingTest.java131 NotificationListener.getInstance().addListener((sbt) -> { in initTestRequestBugreport()
152 NotificationListener.getInstance().clearListeners(); in cleanupTestRequestBugreport()