Searched refs:sbn (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/app/src/android/app/cts/ |
D | NotificationManagerTest.java | 64 for (StatusBarNotification sbn : sbns) { in testNotify() 65 if (sbn.getId() != id) { in testNotify() 67 + sbn.getKey()); in testNotify() 78 for (StatusBarNotification sbn : sbns) { in testCancel() 79 assertFalse("canceled notification was still alive, id=" + id, sbn.getId() == id); in testCancel() 91 for (StatusBarNotification sbn : sbns) { in testCancelAll() 92 Log.d(TAG, " " + sbn); in testCancelAll() 120 for (StatusBarNotification sbn : sbns) { in sendNotification() 121 if (sbn.getId() == id) return; in sendNotification()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | MockListener.java | 217 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted() argument 218 if (!mTestPackages.contains(sbn.getPackageName())) { return; } in onNotificationPosted() 219 Log.d(TAG, "posted: " + sbn.getTag()); in onNotificationPosted() 220 mPosted.add(sbn.getTag()); in onNotificationPosted() 223 notification.put(JSON_TAG, sbn.getTag()); in onNotificationPosted() 224 notification.put(JSON_ID, sbn.getId()); in onNotificationPosted() 225 notification.put(JSON_PACKAGE, sbn.getPackageName()); in onNotificationPosted() 226 notification.put(JSON_WHEN, sbn.getNotification().when); in onNotificationPosted() 227 notification.put(JSON_ICON, sbn.getNotification().icon); in onNotificationPosted() 228 notification.put(JSON_FLAGS, sbn.getNotification().flags); in onNotificationPosted() [all …]
|