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()
729 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local730 assertEquals(listenerComponent + " has incorrect listener access", in toggleListenerAccess()731 on, nm.isNotificationListenerAccessGranted(listenerComponent)); in toggleListenerAccess()734 private void toggleExternalListenerAccess(ComponentName listenerComponent, boolean on) in toggleExternalListenerAccess() argument737 + listenerComponent.flattenToString(); in toggleExternalListenerAccess()