Home
last modified time | relevance | path

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

/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/
DLegacyNotificationManager20Test.java174 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local
175 Assert.assertTrue(listenerComponent + " has not been granted access", in toggleListenerAccess()
176 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DLegacyNotificationManagerTest.java413 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local
414 Assert.assertTrue(listenerComponent + " has not been granted access", in toggleListenerAccess()
415 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DNotificationAssistantServiceTest.java785 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local
787 Assert.assertTrue(listenerComponent + " has not been " + (on ? "allowed" : "disallowed"), in toggleListenerAccess()
788 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java728 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local
729 assertEquals(listenerComponent + " has incorrect listener access", in toggleListenerAccess()
730 on, nm.isNotificationListenerAccessGranted(listenerComponent)); in toggleListenerAccess()
733 private void toggleExternalListenerAccess(ComponentName listenerComponent, boolean on) in toggleExternalListenerAccess() argument
736 + listenerComponent.flattenToString(); in toggleExternalListenerAccess()