Searched refs:listenerComponent (Results 1 – 5 of 5) sorted by relevance
183 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local184 Assert.assertTrue(listenerComponent + " has not been granted access", in toggleListenerAccess()185 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
393 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local394 Assert.assertTrue(listenerComponent + " has not been granted access", in toggleListenerAccess()395 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
499 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local501 Assert.assertTrue(listenerComponent + " has not been " + (on ? "allowed" : "disallowed"), in toggleListenerAccess()502 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()
725 final ComponentName listenerComponent = MyNotificationListenerService.getComponentName(); in registerNotificationListenerService() local726 assertTrue(listenerComponent + " has not been granted access", in registerNotificationListenerService()727 nm.isNotificationListenerAccessGranted(listenerComponent)); in registerNotificationListenerService()
526 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local527 assertTrue(listenerComponent + " has not been granted access", in toggleListenerAccess()528 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()