/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
D | NotificationDNDTests.java | 46 private NotificationManager mNotificationManager; field in NotificationDNDTests 59 mNotificationManager = (NotificationManager) mContext in setUp() 61 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager); in setUp() 78 mNotificationManager.cancelAll(); in setUp() 79 isGranted = mNotificationManager.isNotificationPolicyAccessGranted(); in setUp() 84 mNotificationManager.cancelAll(); in tearDown() 95 int setting = mNotificationManager.getCurrentInterruptionFilter(); in testDND() 97 mNotificationManager in testDND() 105 assertTrue(zF.shouldIntercept(mNotificationManager.getZenMode(), mConfig, nr)); in testDND() 107 mNotificationManager.setInterruptionFilter(setting); in testDND() [all …]
|
D | NotificationInteractionTests.java | 38 private NotificationManager mNotificationManager; field in NotificationInteractionTests 50 mNotificationManager = (NotificationManager) mContext in setUp() 52 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager); in setUp() 54 mNotificationManager.cancelAll(); in setUp() 62 mNotificationManager.cancelAll(); in tearDown() 84 StatusBarNotification[] sbns = mNotificationManager.getActiveNotifications(); in testDismissAll() 93 sbns = mNotificationManager.getActiveNotifications(); in testDismissAll() 104 sbns = mNotificationManager.getActiveNotifications(); in testDismissAll()
|
D | NotificationSecurityTests.java | 32 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()
|
D | NotificationInlineReplyTests.java | 34 private NotificationManager mNotificationManager; field in NotificationInlineReplyTests 44 mNotificationManager = (NotificationManager) mContext in setUp() 46 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager); in setUp() 53 mNotificationManager.cancelAll(); in setUp() 58 mNotificationManager.cancelAll(); in tearDown()
|
D | NotificationSecurityLargeTests.java | 36 private NotificationManager mNotificationManager = null; field in NotificationSecurityLargeTests 46 mNotificationManager = (NotificationManager) mContext in setUp() 49 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager); in setUp() 60 mNotificationManager.cancelAll(); in tearDown()
|
D | NotificationBundlingTests.java | 40 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()
|
D | HeadsUpNotificationTests.java | 42 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()
|
D | NotificationHelper.java | 71 private NotificationManager mNotificationManager = null; field in NotificationHelper 77 mNotificationManager = nm; in NotificationHelper() 177 mNotificationManager.notify(id, notification); in sendNotification() 192 mNotificationManager.notify(l.getKey(), notification); in sendNotifications() 203 mNotificationManager.notify(lists.get(1), in sendBundlingNotifications() 210 mNotificationManager.notify(lists.get(2), in sendBundlingNotifications() 219 mNotificationManager.notify(lists.get(0), in sendBundlingNotifications() 233 StatusBarNotification[] sbns = mNotificationManager.getActiveNotifications(); in checkNotificationExistence() 250 StatusBarNotification[] sbns = mNotificationManager.getActiveNotifications(); in getStatusBarNotification() 337 mNotificationManager.notify(notificationId, n.build()); in sendNotificationsWithInLineReply()
|
/platform_testing/tests/androidbvt/src/com/android/androidbvt/ |
D | SysUINotificationShadeTests.java | 65 private NotificationManager mNotificationManager; field in SysUINotificationShadeTests 94 mNotificationManager = (NotificationManager) mContext in setUp() 97 mNotificationManager.cancelAll(); in setUp() 102 mNotificationManager.cancelAll(); in tearDown() 167 mNotificationManager.cancelAll(); in verifyReceiveAndExpandRedactNotification() 206 mNotificationManager.notify(lists.get(1), in sendBundlingNotifications() 215 mNotificationManager.notify(lists.get(2), in sendBundlingNotifications() 224 mNotificationManager.notify(lists.get(0), in sendBundlingNotifications() 249 mNotificationManager.notify(notificationId, n.build()); in sendNotificationsWithInLineReply() 256 StatusBarNotification[] sbns = mNotificationManager.getActiveNotifications(); in checkNotificationExistence()
|