Searched refs:TestNotificationListener (Results 1 – 5 of 5) sorted by relevance
61 import com.android.safetycenter.testing.TestNotificationListener110 TestNotificationListener.waitForZeroNotifications() in setSafetySourceData_withNoIssue_noNotification()122 TestNotificationListener.waitForZeroNotifications() in setSafetySourceData_withoutImmediateNotificationBehavior_noNotification()134 TestNotificationListener.waitForZeroNotifications() in setSafetySourceData_withoutNotificationsAllowedSource_noNotification()146 TestNotificationListener.waitForZeroNotifications() in setSafetySourceData_withFlagDisabled_noNotification()165 TestNotificationListener.waitForZeroNotifications() in setSafetySourceData_withNotificationBehaviorNever_noNotification()185 TestNotificationListener.waitForZeroNotifications() in setSafetySourceData_withNotificationBehaviorDelay_noImmediateNotification()215 TestNotificationListener.waitForZeroNotifications() in setSafetySourceData_withNotificationBehaviorDelay_sendsNotificationAfterDelay()224 TestNotificationListener.waitForSingleNotificationMatching( in setSafetySourceData_withNotificationBehaviorDelay_sendsNotificationAfterDelay()252 TestNotificationListener.waitForSingleNotificationMatching( in setSafetySourceData_withNotificationBehaviorDelayOfZero_sendsNotificationImmediately()[all …]
45 TestNotificationListener.setup(safetyCenterTestHelper.context) in setup()54 TestNotificationListener.reset(safetyCenterTestHelper.context) in reset()
40 class TestNotificationListener : NotificationListenerService() { in <lambda>() class93 private var instance: TestNotificationListener? = null in <lambda>()278 private fun getInstanceOrThrow(): TestNotificationListener { in <lambda>()337 val componentName = ComponentName(context, TestNotificationListener::class.java) in <lambda>()
34 import com.android.safetycenter.testing.TestNotificationListener79 TestNotificationListener.waitForSingleNotificationMatching( in openSafetyCenterFromNotification()
93 import com.android.safetycenter.testing.TestNotificationListener1538 TestNotificationListener.waitForNotificationsMatching( in setSafetySourceData_notificationsAllowed_workProfile_sendsNotification()