Searched refs:listenerComponent (Results 1 – 4 of 4) sorted by relevance
174 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local175 Assert.assertTrue(listenerComponent + " has not been granted access", in toggleListenerAccess()176 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
413 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local414 Assert.assertTrue(listenerComponent + " has not been granted access", in toggleListenerAccess()415 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
785 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local787 Assert.assertTrue(listenerComponent + " has not been " + (on ? "allowed" : "disallowed"), in toggleListenerAccess()788 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
728 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local729 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() argument736 + listenerComponent.flattenToString(); in toggleExternalListenerAccess()