Home
last modified time | relevance | path

Searched refs:mNotificationManager (Results 1 – 10 of 10) sorted by relevance

/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
DNotificationSecurityTests.java32 private NotificationManager mNotificationManager = null; field in NotificationSecurityTests
42 mNotificationManager = (NotificationManager) mContext in setUp()
45 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager); in setUp()
52 mNotificationManager.cancelAll(); in tearDown()
66 StatusBarNotification[] sbns = mNotificationManager.getActiveNotifications(); in testVisibilityPublic()
DNotificationSecurityLargeTests.java37 private NotificationManager mNotificationManager = null; field in NotificationSecurityLargeTests
48 mNotificationManager = (NotificationManager) mContext in setUp()
51 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager); in setUp()
62 mNotificationManager.cancelAll(); in tearDown()
DNotificationInlineReplyTests.java41 private NotificationManager mNotificationManager; field in NotificationInlineReplyTests
51 mNotificationManager = (NotificationManager) mContext in setUp()
53 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager); in setUp()
60 mNotificationManager.cancelAll(); in setUp()
65 mNotificationManager.cancelAll(); in tearDown()
DNotificationBundlingTests.java40 private NotificationManager mNotificationManager; field in NotificationBundlingTests
50 mNotificationManager = (NotificationManager) mContext in setUp()
52 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager); in setUp()
54 mNotificationManager.cancelAll(); in setUp()
64 mNotificationManager.cancelAll(); in tearDown()
DNotificationHelper.java76 private NotificationManager mNotificationManager = null; field in NotificationHelper
82 mNotificationManager = nm; in NotificationHelper()
150 mNotificationManager.notify(id, notification.build()); in sendNotification()
163 mNotificationManager.notify(l.getKey(), notification.build()); in sendNotifications()
177 mNotificationManager.notify(lists.get(1), in sendBundlingNotifications()
184 mNotificationManager.notify(lists.get(2), in sendBundlingNotifications()
193 mNotificationManager.notify(lists.get(0), in sendBundlingNotifications()
207 StatusBarNotification[] sbns = mNotificationManager.getActiveNotifications(); in checkNotificationExistence()
224 StatusBarNotification[] sbns = mNotificationManager.getActiveNotifications(); in getStatusBarNotification()
282 mNotificationManager.notify(notificationId, n.build()); in sendNotificationsWithInlineReply()
[all …]
DNotificationInteractionTests.java69 private NotificationManager mNotificationManager; field in NotificationInteractionTests
82 mNotificationManager = (NotificationManager) mContext in setUp()
84 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager); in setUp()
86 mNotificationManager.cancelAll(); in setUp()
96 mNotificationManager.cancelAll(); in tearDown()
118 StatusBarNotification[] sbns = mNotificationManager.getActiveNotifications(); in testDismissAll()
128 sbns = mNotificationManager.getActiveNotifications(); in testDismissAll()
140 sbns = mNotificationManager.getActiveNotifications(); in testDismissAll()
307 mNotificationManager.cancelAll(); in testReceiveAndExpandRedactNotification()
323 NotificationManager mNotificationManager = in testNotificationClickedEvents() local
[all …]
DHeadsUpNotificationTests.java42 private NotificationManager mNotificationManager; field in HeadsUpNotificationTests
52 mNotificationManager = (NotificationManager) mContext in setUp()
54 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager); in setUp()
58 mNotificationManager.cancelAll(); in setUp()
63 mNotificationManager.cancelAll(); in tearDown()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DNotificationHelper.java142 NotificationManager mNotificationManager) throws Exception { in sendBundlingNotifications() argument
151 mNotificationManager.notify(lists.get(1), in sendBundlingNotifications()
161 mNotificationManager.notify(lists.get(2), in sendBundlingNotifications()
171 mNotificationManager.notify(lists.get(0), in sendBundlingNotifications()
184 NotificationManager mNotificationManager) { in sendNotificationsWithInLineReply() argument
198 mNotificationManager.notify(notificationId, n.build()); in sendNotificationsWithInLineReply()
205 public void dismissNotifications(NotificationManager mNotificationManager){ in dismissNotifications() argument
206 mNotificationManager.cancelAll(); in dismissNotifications()
/platform_testing/libraries/automotive-helpers/notifications-app-helper/src/android/platform/helpers/
DAutoNotificationMockingHelperImpl.java53 private NotificationManager mNotificationManager; field in AutoNotificationMockingHelperImpl
57 mNotificationManager = instr.getContext().getSystemService(NotificationManager.class); in AutoNotificationMockingHelperImpl()
63 mNotificationManager.createNotificationChannel(channel); in AutoNotificationMockingHelperImpl()
105 int initialCount = mNotificationManager.getActiveNotifications().length; in postNotifications()
120 mNotificationManager.notify(i, builder.build()); in postNotifications()
127 mNotificationManager.cancelAll(); in clearAllNotification()
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DSystemUiJankTests.java123 private NotificationManager mNotificationManager; field in SystemUiJankTests
134 mNotificationManager = getInstrumentation().getContext().getSystemService( in setUp()
246 mNotificationManager.notify(icon, builder.build()); in postNotifications()
311 mNotificationManager.notify(0, builder.build()); in postInlineReplyNotification()
316 mNotificationManager.cancel(icon); in cancelNotifications()
330 mNotificationManager.cancelAll(); in cancelNotifications()