Home
last modified time | relevance | path

Searched refs:cancelNotification (Results 1 – 7 of 7) sorted by relevance

/cts/tests/app/NotificationProvider/src/com/android/test/notificationprovider/
DRichNotificationActivity.kt60 ACTION_CANCEL_7 -> cancelNotification(NotificationPreset.Preset7) in onCreate()
61 ACTION_CANCEL_8 -> cancelNotification(NotificationPreset.Preset8) in onCreate()
62 else -> NotificationPreset.values().forEach(::cancelNotification) in onCreate()
75 private fun cancelNotification(preset: NotificationPreset) { in cancelNotification() method
/cts/hostsidetests/devicepolicy/app/NotificationSender/src/com/android/cts/managedprofiletests/notificationsender/
DSendNotification.java50 cancelNotification(); in onCreate()
67 private void cancelNotification() { in cancelNotification() method in SendNotification
/cts/tests/tests/permission/src/android/permission/cts/
DLocationAccessCheckTest.java346 private StatusBarNotification getNotification(boolean cancelNotification) throws Throwable { in getNotification() argument
356 if (cancelNotification) { in getNotification()
357 notificationService.cancelNotification(notification.getKey()); in getNotification()
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/
DLegacyNotificationManager20Test.java103 mListener.cancelNotification(sbn.getPackageName(), sbn.getTag(), sbn.getId()); in testNotificationListener_cancelNotifications()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DNotificationListenerVerifierActivity.java895 MockListener.getInstance().cancelNotification( in test()
938 MockListener.getInstance().cancelNotification( in test()
999 MockListener.getInstance().cancelNotification( in test()
/cts/tests/app/src/android/app/cts/
DServiceTest.java500 private void cancelNotification(int id) { in cancelNotification() method in ServiceTest
1118 cancelNotification(1); in testForegroundService_detachNotificationOnStop()
DNotificationManagerTest.java3252 mListener.cancelNotification(sbn.getPackageName(), sbn.getTag(), sbn.getId()); in testNotificationListener_cancelNotifications()