/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | SecondaryNotificationListener.java | 30 public ArrayList<StatusBarNotification> mPosted = new ArrayList<>(); field in SecondaryNotificationListener 70 mPosted.clear(); in resetData() 77 mPosted.add(sbn); in onNotificationPosted()
|
D | TestNotificationListener.java | 33 public ArrayList<StatusBarNotification> mPosted = new ArrayList<>(); field in TestNotificationListener 73 mPosted.clear(); in resetData() 81 mPosted.add(sbn); in onNotificationPosted()
|
D | LegacyNotificationManagerTest.java | 190 assertEquals(1, mListener.mPosted.size()); in testSuspendPackage() 203 assertEquals(1, mListener.mPosted.size()); in testSuspendPackage() 227 assertEquals(0, mListener.mPosted.size()); // shouldn't see any notifications posted in testSuspendedPackageSendNotification() 233 assertEquals(1, mListener.mPosted.size()); in testSuspendedPackageSendNotification() 329 assertEquals(1, mListener.mPosted.size()); in testChannelDeletion_cancelReason() 330 String key = mListener.mPosted.get(0).getKey(); in testChannelDeletion_cancelReason()
|
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/ |
D | TestNotificationListener.java | 31 public ArrayList<StatusBarNotification> mPosted = new ArrayList<>(); field in TestNotificationListener 71 mPosted.clear(); in resetData() 79 mPosted.add(sbn); in onNotificationPosted()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | TestNotificationListener.java | 34 public ArrayList<StatusBarNotification> mPosted = new ArrayList<>(); field in TestNotificationListener 90 mPosted.clear(); in resetData() 106 mPosted.add(sbn); in onNotificationPosted()
|
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
D | TestNotificationListener.java | 32 public BlockingQueue<StatusBarNotification> mPosted = new ArrayBlockingQueue<>(10); field in TestNotificationListener 80 mPosted.clear(); in resetData() 91 mPosted.add(sbn); in onNotificationPosted()
|
D | NotificationAssistantServiceTest.java | 697 StatusBarNotification sbn = mNotificationListenerService.mPosted.poll(SLEEP_TIME, in getFirstNotificationFromPackage() 701 sbn = mNotificationListenerService.mPosted.poll(SLEEP_TIME, TimeUnit.MILLISECONDS); in getFirstNotificationFromPackage()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | MockListener.java | 54 ArrayList<StatusBarNotification> mPosted = new ArrayList<>(); field in MockListener 81 for (StatusBarNotification sbn : mPosted) { in getPosted() 125 mPosted.clear(); in resetData() 161 mPosted.add(sbn); in onNotificationPosted()
|
D | NotificationListenerVerifierActivity.java | 1141 if (MockListener.getInstance().mPosted.size() == 0) { in test()
|
/cts/tests/app/src/android/app/cts/ |
D | NotificationManagerTest.java | 584 for (StatusBarNotification sbn : mListener.mPosted) { in verifyNotificationBubbleState() 1557 assertEquals(1, mListener.mPosted.size()); in testSuspendPackage() 1602 assertEquals(1, mListener.mPosted.size()); // apps targeting P receive notification in testSuspendedPackageSendsNotification() 1617 assertEquals(1, mListener.mPosted.size()); // should see previously posted notification in testSuspendedPackageSendsNotification() 3689 StatusBarNotification sbnSuppressed = mListener.mPosted.get(0); in testNotificationManagerBubbleNotificationSuppression() 3704 StatusBarNotification sbnNotSuppressed = mListener.mPosted.get(0); in testNotificationManagerBubbleNotificationSuppression() 3901 assertTrue(mListener.mPosted.isEmpty()); in testNotificationManagerBubble_setSuppressBubble_notSuppressable() 3960 assertTrue(mListener.mPosted.isEmpty()); in testNotificationManagerBubble_setSuppressBubble_activityNoLocusId() 4021 assertTrue(mListener.mPosted.isEmpty()); in testNotificationManagerBubble_setSuppressBubble_notificationNoLocusId() 4179 assertEquals(1, mListener.mPosted.size()); in testConversationRankingFields() [all …]
|