Home
last modified time | relevance | path

Searched refs:listenerComponent (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/
DLegacyNotificationManager20Test.java183 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local
184 Assert.assertTrue(listenerComponent + " has not been granted access", in toggleListenerAccess()
185 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DLegacyNotificationManagerTest.java393 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local
394 Assert.assertTrue(listenerComponent + " has not been granted access", in toggleListenerAccess()
395 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DNotificationAssistantServiceTest.java499 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local
501 Assert.assertTrue(listenerComponent + " has not been " + (on ? "allowed" : "disallowed"), in toggleListenerAccess()
502 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java725 final ComponentName listenerComponent = MyNotificationListenerService.getComponentName(); in registerNotificationListenerService() local
726 assertTrue(listenerComponent + " has not been granted access", in registerNotificationListenerService()
727 nm.isNotificationListenerAccessGranted(listenerComponent)); in registerNotificationListenerService()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java526 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local
527 assertTrue(listenerComponent + " has not been granted access", in toggleListenerAccess()
528 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()