Home
last modified time | relevance | path

Searched refs:mPosted (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DSecondaryNotificationListener.java30 public ArrayList<StatusBarNotification> mPosted = new ArrayList<>(); field in SecondaryNotificationListener
70 mPosted.clear(); in resetData()
77 mPosted.add(sbn); in onNotificationPosted()
DTestNotificationListener.java33 public ArrayList<StatusBarNotification> mPosted = new ArrayList<>(); field in TestNotificationListener
73 mPosted.clear(); in resetData()
81 mPosted.add(sbn); in onNotificationPosted()
DLegacyNotificationManagerTest.java190 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/
DTestNotificationListener.java31 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/
DTestNotificationListener.java34 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/
DTestNotificationListener.java32 public BlockingQueue<StatusBarNotification> mPosted = new ArrayBlockingQueue<>(10); field in TestNotificationListener
80 mPosted.clear(); in resetData()
91 mPosted.add(sbn); in onNotificationPosted()
DNotificationAssistantServiceTest.java697 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/
DMockListener.java54 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()
DNotificationListenerVerifierActivity.java1141 if (MockListener.getInstance().mPosted.size() == 0) { in test()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java584 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 …]