Searched refs:mPosted (Results 1 – 9 of 9) sorted by relevance
37 public ArrayList<StatusBarNotification> mPosted = new ArrayList<>(); field in TestNotificationListener92 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()
177 return new ArrayList(mNotificationListener.mPosted); in getNotifications()
30 public ArrayList<StatusBarNotification> mPosted = new ArrayList<>(); field in SecondaryNotificationListener70 mPosted.clear(); in resetData()77 mPosted.add(sbn); in onNotificationPosted()
232 assertEquals(0, mListener.mPosted.size()); // shouldn't see any notifications posted in testSuspendedPackageSendNotification()
45 public BlockingQueue<StatusBarNotification> mPosted = new ArrayBlockingQueue<>(10); field in TestNotificationListener96 StatusBarNotification sbn = mPosted.poll(SLEEP_TIME_MS, TimeUnit.MILLISECONDS); in getFirstNotificationFromPackage()116 mPosted.clear(); in resetData()129 mPosted.add(sbn); in onNotificationPosted()
54 ArrayList<StatusBarNotification> mPosted = new ArrayList<>(); field in MockListener81 for (StatusBarNotification sbn : mPosted) { in getPosted()125 mPosted.clear(); in resetData()161 mPosted.add(sbn); in onNotificationPosted()
1324 if (MockListener.getInstance().mPosted.size() == 0) { in test()
825 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()
941 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()