Searched refs:MAX_PACKAGE_TOASTS (Results 1 – 2 of 2) sorted by relevance
7793 for (int i = 0; i < NotificationManagerService.MAX_PACKAGE_TOASTS + 1; i++) { in testLimitNumberOfQueuedToastsFromPackage()7797 assertEquals(NotificationManagerService.MAX_PACKAGE_TOASTS, mService.mToastQueue.size()); in testLimitNumberOfQueuedToastsFromPackage()7817 for (int i = 0; i < NotificationManagerService.MAX_PACKAGE_TOASTS; i++) { in testPrioritizeSystemToasts()7850 for (int i = 0; i < NotificationManagerService.MAX_PACKAGE_TOASTS; i++) { in testPrioritizeSystemToasts_enqueueAfterExistingSystemToast()
382 static final int MAX_PACKAGE_TOASTS = 5; field in NotificationManagerService3383 if (count >= MAX_PACKAGE_TOASTS) {