Searched refs:lists (Results 1 – 4 of 4) sorted by relevance
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
D | NotificationBundlingTests.java | 71 List<Integer> lists = new ArrayList<Integer>(Arrays.asList(GROUP_NOTIFICATION_ID, in testBundlingNotification() local 73 mHelper.sendBundlingNotifications(lists, BUNDLE_GROUP_KEY); in testBundlingNotification() 81 obj = mDevice.wait(Until.findObject(By.textContains(lists.get(1).toString())), in testBundlingNotification() 89 List<Integer> lists = new ArrayList<Integer>(Arrays.asList(GROUP_NOTIFICATION_ID, in testDismissBundlingNotification() local 91 mHelper.sendBundlingNotifications(lists, BUNDLE_GROUP_KEY); in testDismissBundlingNotification() 95 for (int n : lists) { in testDismissBundlingNotification() 104 List<Integer> lists = new ArrayList<Integer>(Arrays.asList(GROUP_NOTIFICATION_ID, in testDismissIndividualNotification() local 106 mHelper.sendBundlingNotifications(lists, BUNDLE_GROUP_KEY); in testDismissIndividualNotification()
|
D | NotificationHelper.java | 181 public void sendNotifications(Map<Integer, String> lists) throws Exception { in sendNotifications() argument 186 for (Map.Entry<Integer, String> l : lists.entrySet()) { in sendNotifications() 197 public void sendBundlingNotifications(List<Integer> lists, String groupKey) throws Exception { in sendBundlingNotifications() argument 199 .setContentTitle(lists.get(1).toString()) in sendBundlingNotifications() 203 mNotificationManager.notify(lists.get(1), in sendBundlingNotifications() 206 .setContentText(lists.get(2).toString()) in sendBundlingNotifications() 210 mNotificationManager.notify(lists.get(2), in sendBundlingNotifications() 213 .setContentTitle(lists.get(0).toString()) in sendBundlingNotifications() 219 mNotificationManager.notify(lists.get(0), in sendBundlingNotifications()
|
D | NotificationInteractionTests.java | 83 Map<Integer, String> lists = new HashMap<Integer, String>(); in testDismissAll() local 87 lists.put(CUSTOM_NOTIFICATION_ID + i, Integer.toString(CUSTOM_NOTIFICATION_ID + i)); in testDismissAll() 89 mHelper.sendNotifications(lists); in testDismissAll()
|
/platform_testing/tests/androidbvt/src/com/android/androidbvt/ |
D | SysUINotificationShadeTests.java | 147 List<Integer> lists = new ArrayList<Integer>(Arrays.asList(GROUP_NOTIFICATION_ID, in verifyReceiveAndExpandRedactNotification() local 149 sendBundlingNotifications(lists, BUNDLE_GROUP_KEY); in verifyReceiveAndExpandRedactNotification() 153 Until.findObject(By.textContains(lists.get(1).toString())), in verifyReceiveAndExpandRedactNotification() 158 obj = mDevice.wait(Until.findObject(By.textContains(lists.get(0).toString())), in verifyReceiveAndExpandRedactNotification() 163 obj = mDevice.wait(Until.findObject(By.textContains(lists.get(1).toString())), in verifyReceiveAndExpandRedactNotification() 198 private void sendBundlingNotifications(List<Integer> lists, String groupKey) throws Exception { in sendBundlingNotifications() argument 200 .setContentTitle(lists.get(1).toString()) in sendBundlingNotifications() 206 mNotificationManager.notify(lists.get(1), in sendBundlingNotifications() 209 .setContentTitle(lists.get(2).toString()) in sendBundlingNotifications() 215 mNotificationManager.notify(lists.get(2), in sendBundlingNotifications() [all …]
|