Searched refs:runAsSystemUi (Results 1 – 2 of 2) sorted by relevance
137 runAsSystemUi(() -> mNotificationManager.setInterruptionFilter(INTERRUPTION_FILTER_ALL)); in baseSetUp()180 protected static void runAsSystemUi(@NonNull ThrowingRunnable runnable) { in runAsSystemUi() method in BaseNotificationManagerTest
202 runAsSystemUi(() -> { in setUp() method235 runAsSystemUi(() -> { in tearDown() method614 runAsSystemUi(() -> mNotificationManager.removeAutomaticZenRule(ruleId)); in deleteAllAutomaticZenRules()1003 runAsSystemUi(() -> mNotificationManager.setNotificationPolicy(updatePolicy)); in testNotificationPolicy_broadcasts()1135 runAsSystemUi( in testTotalSilenceOnlyMuteStreams()1181 runAsSystemUi( in testAlarmsOnlyMuteStreams()2183 runAsSystemUi(() -> mNotificationManager.setInterruptionFilter(INTERRUPTION_FILTER_ALL)); in testSnoozeRule()2217 runAsSystemUi(() -> mNotificationManager.setInterruptionFilter(INTERRUPTION_FILTER_ALL)); in testUnsnoozeRule_disableEnable()2410 runAsSystemUi( in updateAutomaticZenRule_fromUser_updatesRuleFully()2441 runAsSystemUi( in updateAutomaticZenRule_fromUser_updatesRuleFully()[all …]