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.java31 public ArrayList<StatusBarNotification> mPosted = new ArrayList<>(); field in TestNotificationListener
71 mPosted.clear(); in resetData()
79 mPosted.add(sbn); in onNotificationPosted()
DLegacyNotificationManagerTest.java202 assertEquals(1, mListener.mPosted.size()); in testSuspendPackage()
215 assertEquals(1, mListener.mPosted.size()); in testSuspendPackage()
242 assertEquals(0, mListener.mPosted.size()); // shouldn't see any notifications posted in testSuspendedPackageSendNotification()
248 assertEquals(1, mListener.mPosted.size()); in testSuspendedPackageSendNotification()
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DTestNotificationListener.java32 public BlockingQueue<StatusBarNotification> mPosted = new ArrayBlockingQueue<>(10); field in TestNotificationListener
73 mPosted.clear(); in resetData()
83 mPosted.add(sbn); in onNotificationPosted()
DNotificationAssistantServiceTest.java443 StatusBarNotification sbn = mNotificationListenerService.mPosted.poll(SLEEP_TIME, in getFirstNotificationFromPackage()
447 sbn = mNotificationListenerService.mPosted.poll(SLEEP_TIME, TimeUnit.MILLISECONDS); in getFirstNotificationFromPackage()
/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.java31 public ArrayList<StatusBarNotification> mPosted = new ArrayList<>(); field in TestNotificationListener
71 mPosted.clear(); in resetData()
79 mPosted.add(sbn); in onNotificationPosted()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DMockListener.java54 ArrayList<String> mPosted = new ArrayList<String>(); field in MockListener
116 mPosted.clear(); in resetData()
152 mPosted.add(sbn.getTag()); in onNotificationPosted()
DNotificationListenerVerifierActivity.java264 List<String> result = new ArrayList<>(MockListener.getInstance().mPosted); in test()
988 List<String> result = new ArrayList<>(MockListener.getInstance().mPosted); in test()
1160 List<String> result = new ArrayList<>(MockListener.getInstance().mPosted); in test()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java1040 assertEquals(1, mListener.mPosted.size()); in testSuspendPackage()
1090 assertEquals(1, mListener.mPosted.size()); // apps targeting P receive notification in testSuspendedPackageSendsNotification()
1105 assertEquals(1, mListener.mPosted.size()); // should see previously posted notification in testSuspendedPackageSendsNotification()