Searched refs:mToastQueue (Results 1 – 2 of 2) sorted by relevance
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationManagerService.java | 3363 synchronized (mToastQueue) { 3490 synchronized (mToastQueue) { 3512 synchronized (mToastQueue) { 3539 synchronized (mToastQueue) { 6336 synchronized (mToastQueue) { 6337 N = mToastQueue.size(); 8748 record = (mToastQueue.size() > 0) ? mToastQueue.get(0) : null; 8810 if (mToastQueue.size() > 0) { 8852 synchronized (mToastQueue) { 8871 synchronized (mToastQueue) { [all …]
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationManagerServiceTest.java | 7236 assertEquals(0, mService.mToastQueue.size()); in testAllowForegroundCustomToasts() 7253 assertEquals(1, mService.mToastQueue.size()); in testAllowForegroundCustomToasts() 7259 assertEquals(0, mService.mToastQueue.size()); in testDisallowBackgroundCustomToasts() 7273 assertEquals(0, mService.mToastQueue.size()); in testDisallowBackgroundCustomToasts() 7279 assertEquals(0, mService.mToastQueue.size()); in testDontCallShowToastAgainOnTheSameCustomToast() 7309 assertEquals(0, mService.mToastQueue.size()); in testToastRateLimiterWontPreventShowCallForCustomToastWhenInForeground() 7333 assertEquals(0, mService.mToastQueue.size()); in testCustomToastPostedWhileInForeground_blockedIfAppGoesToBackground() 7368 assertEquals(0, mService.mToastQueue.size()); in testAllowForegroundTextToasts() 7382 assertEquals(1, mService.mToastQueue.size()); in testAllowForegroundTextToasts() 7388 assertEquals(0, mService.mToastQueue.size()); in testAllowBackgroundTextToasts() [all …]
|