Home
last modified time | relevance | path

Searched refs:mNotificationListener (Results 1 – 3 of 3) sorted by relevance

/cts/tests/app/shared/src/android/app/stubs/shared/
DNotificationHelper.java83 private TestNotificationListener mNotificationListener; field in NotificationHelper
149 if (mNotificationListener.mRemovedReasons.containsKey(key)) { in isNotificationGone()
177 return new ArrayList(mNotificationListener.mPosted); in getNotifications()
179 return new ArrayList<>(mNotificationListener.mRemoved); in getNotifications()
182 Arrays.asList(mNotificationListener.getSnoozedNotifications())); in getNotifications()
186 Arrays.asList(mNotificationListener.getActiveNotifications())); in getNotifications()
194 mNotificationListener = TestNotificationListener.getInstance(); in enableListener()
195 if (mNotificationListener != null) { in enableListener()
196 mNotificationListener.addTestPackage(pkg); in enableListener()
198 return mNotificationListener; in enableListener()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTestNotificationListener.java148 private final TestNotificationListener mNotificationListener; field in TestNotificationListener.NotificationHelper
154 mNotificationListener = TestNotificationListener.getInstance(); in NotificationHelper()
155 mNotificationListener.addTestPackage(testPackage); in NotificationHelper()
164 mNotificationListener.getActiveNotifications(); in assertNotificationsRemoved()
176 mNotificationListener.getFirstNotificationFromPackage(mTestPackage); in clickNotification()
186 return mNotificationListener.getFirstNotificationFromPackage(mTestPackage); in getNotification()
/cts/tests/app/src/android/app/cts/
DCloseSystemDialogsTest.java115 private TestNotificationListener mNotificationListener; field in CloseSystemDialogsTest
132 mNotificationListener = TestNotificationListener.getInstance(); in setUp()
185 mNotificationListener.resetData(); in tearDown()