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()
386 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local387 Assert.assertTrue(listenerComponent + " has not been granted access", in toggleListenerAccess()388 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()
1026 final ComponentName listenerComponent = MyNotificationListenerService.getComponentName(); in registerNotificationListenerService() local1027 assertTrue(listenerComponent + " has not been granted access", in registerNotificationListenerService()1028 nm.isNotificationListenerAccessGranted(listenerComponent)); in registerNotificationListenerService()
519 final ComponentName listenerComponent = TestNotificationListener.getComponentName(); in toggleListenerAccess() local520 assertTrue(listenerComponent + " has not been granted access", in toggleListenerAccess()521 nm.isNotificationListenerAccessGranted(listenerComponent) == on); in toggleListenerAccess()