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.java386 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local
387 Assert.assertTrue(listenerComponent + " has not been granted access", in toggleListenerAccess()
388 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.java1026 final ComponentName listenerComponent = MyNotificationListenerService.getComponentName(); in registerNotificationListenerService() local
1027 assertTrue(listenerComponent + " has not been granted access", in registerNotificationListenerService()
1028 nm.isNotificationListenerAccessGranted(listenerComponent)); in registerNotificationListenerService()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java519 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local
520 assertTrue(listenerComponent + " has not been granted access", in toggleListenerAccess()
521 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()