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 | NotificationInteractionTests.java | 117 Map<Integer, String> lists = new HashMap<Integer, String>(); in testDismissAll() local 121 lists.put(CUSTOM_NOTIFICATION_ID + i, Integer.toString(CUSTOM_NOTIFICATION_ID + i)); in testDismissAll() 123 mHelper.sendNotifications(lists, false); in testDismissAll() 155 Map<Integer, String> lists = new HashMap<Integer, String>(); in testNotificationShadeMetrics() local 158 lists.put(firstId, Integer.toString(firstId)); in testNotificationShadeMetrics() 159 lists.put(secondId, Integer.toString(secondId)); in testNotificationShadeMetrics() 161 mHelper.sendNotifications(lists, true); in testNotificationShadeMetrics() 164 mHelper.sendNotifications(lists, true); in testNotificationShadeMetrics() 284 List<Integer> lists = new ArrayList<Integer>(Arrays.asList(GROUP_NOTIFICATION_ID, in testReceiveAndExpandRedactNotification() local 286 mHelper.sendBundlingNotifications(lists, BUNDLE_GROUP_KEY); in testReceiveAndExpandRedactNotification() [all …]
|
D | NotificationHelper.java | 154 public void sendNotifications(Map<Integer, String> lists, boolean withDelay) throws Exception { in sendNotifications() argument 157 for (Map.Entry<Integer, String> l : lists.entrySet()) { in sendNotifications() 171 public void sendBundlingNotifications(List<Integer> lists, String groupKey) throws Exception { in sendBundlingNotifications() argument 173 .setContentTitle(lists.get(1).toString()) in sendBundlingNotifications() 177 mNotificationManager.notify(lists.get(1), in sendBundlingNotifications() 180 .setContentText(lists.get(2).toString()) in sendBundlingNotifications() 184 mNotificationManager.notify(lists.get(2), in sendBundlingNotifications() 187 .setContentTitle(lists.get(0).toString()) in sendBundlingNotifications() 193 mNotificationManager.notify(lists.get(0), in sendBundlingNotifications()
|
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
D | NotificationHelper.java | 141 public void sendBundlingNotifications(List<Integer> lists, String groupKey, in sendBundlingNotifications() argument 145 .setContentTitle(lists.get(1).toString()) in sendBundlingNotifications() 151 mNotificationManager.notify(lists.get(1), in sendBundlingNotifications() 155 .setContentTitle(lists.get(2).toString()) in sendBundlingNotifications() 161 mNotificationManager.notify(lists.get(2), in sendBundlingNotifications() 165 .setContentTitle(lists.get(0).toString()) in sendBundlingNotifications() 171 mNotificationManager.notify(lists.get(0), in sendBundlingNotifications()
|