Home
last modified time | relevance | path

Searched refs:mPosted (Results 1 – 9 of 9) sorted by relevance

/cts/tests/app/shared/src/android/app/stubs/shared/
DTestNotificationListener.java37 public ArrayList<StatusBarNotification> mPosted = new ArrayList<>(); field in TestNotificationListener
92 mPosted.clear(); in resetData()
116 mPosted.add(sbn); in onNotificationPosted()
132 mPosted.add(sbn); in onNotificationPosted()
152 mPosted.remove(sbn); in onNotificationRemoved()
171 mPosted.remove(sbn); in onNotificationRemoved()
217 + "], mPosted=[" + listToString(mPosted) in toString()
DNotificationHelper.java177 return new ArrayList(mNotificationListener.mPosted); in getNotifications()
/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()
DLegacyNotificationManagerTest.java232 assertEquals(0, mListener.mPosted.size()); // shouldn't see any notifications posted in testSuspendedPackageSendNotification()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTestNotificationListener.java45 public BlockingQueue<StatusBarNotification> mPosted = new ArrayBlockingQueue<>(10); field in TestNotificationListener
96 StatusBarNotification sbn = mPosted.poll(SLEEP_TIME_MS, TimeUnit.MILLISECONDS); in getFirstNotificationFromPackage()
116 mPosted.clear(); in resetData()
129 mPosted.add(sbn); in onNotificationPosted()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DMockListener.java54 ArrayList<StatusBarNotification> mPosted = new ArrayList<>(); field in MockListener
81 for (StatusBarNotification sbn : mPosted) { in getPosted()
125 mPosted.clear(); in resetData()
161 mPosted.add(sbn); in onNotificationPosted()
DNotificationListenerVerifierActivity.java1324 if (MockListener.getInstance().mPosted.size() == 0) { in test()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerBubbleTest.java825 StatusBarNotification sbnSuppressed = mListener.mPosted.get(0); in testNotificationManagerBubbleNotificationSuppression()
840 StatusBarNotification sbnNotSuppressed = mListener.mPosted.get(0); in testNotificationManagerBubbleNotificationSuppression()
992 assertTrue(mListener.mPosted.isEmpty()); in testNotificationManagerBubble_setSuppressBubble_notSuppressable()
1036 assertTrue(mListener.mPosted.isEmpty()); in testNotificationManagerBubble_setSuppressBubble_activityNoLocusId()
1082 assertTrue(mListener.mPosted.isEmpty()); in testNotificationManagerBubble_setSuppressBubble_notificationNoLocusId()
DNotificationManagerTest.java941 assertEquals(1, mListener.mPosted.size()); in testSuspendPackage()
1205 assertEquals(1, mListener.mPosted.size()); // apps targeting P receive notification in testSuspendedPackageSendsNotification()
1220 assertEquals(1, mListener.mPosted.size()); // should see previously posted notification in testSuspendedPackageSendsNotification()
2643 assertEquals(1, mListener.mPosted.size()); in testConversationRankingFields()
2704 assertEquals(1, mListener.mPosted.size()); in testDeleteConversationChannels()
2994 assertEquals(1, mListener.mPosted.size()); in testChannelDeletion_cancelReason()
2995 String key = mListener.mPosted.get(0).getKey(); in testChannelDeletion_cancelReason()