/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 | 31 public ArrayList<StatusBarNotification> mPosted = new ArrayList<>(); field in TestNotificationListener 71 mPosted.clear(); in resetData() 79 mPosted.add(sbn); in onNotificationPosted()
|
D | LegacyNotificationManagerTest.java | 202 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/ |
D | TestNotificationListener.java | 32 public BlockingQueue<StatusBarNotification> mPosted = new ArrayBlockingQueue<>(10); field in TestNotificationListener 73 mPosted.clear(); in resetData() 83 mPosted.add(sbn); in onNotificationPosted()
|
D | NotificationAssistantServiceTest.java | 443 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/ |
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 | 31 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/ |
D | MockListener.java | 54 ArrayList<String> mPosted = new ArrayList<String>(); field in MockListener 116 mPosted.clear(); in resetData() 152 mPosted.add(sbn.getTag()); in onNotificationPosted()
|
D | NotificationListenerVerifierActivity.java | 264 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/ |
D | NotificationManagerTest.java | 1040 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()
|