Home
last modified time | relevance | path

Searched refs:NOTIFICATION_ID (Results 1 – 25 of 26) sorted by relevance

12

/cts/hostsidetests/os/app/src/android/os/app/
DTestFgService.java30 private static final int NOTIFICATION_ID = 5038; field in TestFgService
44 .setSmallIcon(NOTIFICATION_ID) in onStartCommand()
49 startForeground(NOTIFICATION_ID, notification); in onStartCommand()
/cts/tests/tests/media/common/src/android/media/cts/
DLocalMediaProjectionHelperService.java25 private static final int NOTIFICATION_ID = 1000; field in LocalMediaProjectionHelperService
29 return NOTIFICATION_ID; in getNotificationId()
DLocalMediaProjectionSecondaryService.java25 private static final int NOTIFICATION_ID = 2; field in LocalMediaProjectionSecondaryService
29 return NOTIFICATION_ID; in getNotificationId()
DLocalMediaProjectionService.java43 private static final int NOTIFICATION_ID = 1; field in LocalMediaProjectionService
110 return NOTIFICATION_ID; in getNotificationId()
/cts/hostsidetests/devicepolicy/app/NotificationSender/src/com/android/cts/managedprofiletests/notificationsender/
DSendNotification.java38 static final int NOTIFICATION_ID = 98765; field in SendNotification
60 notificationManager.notify(NOTIFICATION_ID, in sendNotification()
70 notificationManager.cancel(NOTIFICATION_ID); in cancelNotification()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DBubblesVerifierActivity.java78 private static final int NOTIFICATION_ID = 1; field in BubblesVerifierActivity
392 mNotificationManager.notify(NOTIFICATION_ID, builder.build()); in performTestAction()
520 mNotificationManager.notify(NOTIFICATION_ID, builder.build()); in performTestAction()
549 mNotificationManager.notify(NOTIFICATION_ID, builder.build()); in performTestAction()
578 mNotificationManager.notify(NOTIFICATION_ID, builder.build()); in performTestAction()
602 mNotificationManager.notify(NOTIFICATION_ID, builder.build()); in performTestAction()
629 mNotificationManager.notify(NOTIFICATION_ID, builder.build()); in performTestAction()
668 mNotificationManager.notify(NOTIFICATION_ID, builder.build()); in performTestAction()
695 mNotificationManager.notify(NOTIFICATION_ID, builder.build()); in performTestAction()
723 mNotificationManager.notify(NOTIFICATION_ID, builder.build()); in performTestAction()
[all …]
DNotificationStyleVerifierActivity.java64 private static final int NOTIFICATION_ID = 1; field in NotificationStyleVerifierActivity.NotifyTestCase
91 mNm.notify(NOTIFICATION_ID, getNotification()); in setUp()
DNotificationListenerVerifierActivity.java221 mId1 = NOTIFICATION_ID + 1; in sendNotifications()
222 mId2 = NOTIFICATION_ID + 2; in sendNotifications()
223 mId3 = NOTIFICATION_ID + 3; in sendNotifications()
271 mId4 = NOTIFICATION_ID + 4; in sendNoisyNotification()
295 mId5 = NOTIFICATION_ID + 5; in sendOngoingNotification()
372 mId1 = NOTIFICATION_ID + 1; in setUp()
1707 mId1 = NOTIFICATION_ID + 1; in sendMessagingNotification()
1840 mId1 = NOTIFICATION_ID + 1; in sendNotifications()
1916 mId1 = NOTIFICATION_ID + 1; in sendNotifications()
DNotificationHidingVerifierActivity.kt175 notificationManager.notify(NOTIFICATION_ID, builder.build()) in <lambda>()
413 private const val NOTIFICATION_ID = 1 in <lambda>() constant
DNotificationDismissVerifierActivity.java168 mNm.notify(tag, NOTIFICATION_ID, privateVersion); in sendNotification()
DNotificationPrivacyVerifierActivity.java176 mNm.notify(tag, NOTIFICATION_ID, privateVersion); in sendNotification()
DNotificationFullScreenIntentVerifierActivity.java223 mNm.notify(tag, NOTIFICATION_ID, fsiNotif); in sendFullScreenIntentHeadsUpNotification()
DInteractiveVerifierActivity.java78 protected static final int NOTIFICATION_ID = 1001; field in InteractiveVerifierActivity
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/
DNotificationGenerator.java33 private static final int NOTIFICATION_ID = 1; field in NotificationGenerator
60 notificationManager.notify(NOTIFICATION_ID, builder.build()); in createNotification()
/cts/tests/tests/systemui/AudioRecorderTestApp_Base/src/android/systemui/cts/audiorecorder/base/
DBaseAudioRecorderService.java40 private static final int NOTIFICATION_ID = 1; field in BaseAudioRecorderService
57 startForeground(NOTIFICATION_ID, buildNotification()); in onStartCommand()
/cts/hostsidetests/media/app/MediaSessionTestHelper/src/android/media/app/media_session_test_helper/
DMediaSessionTestHelperService.java40 private static final int NOTIFICATION_ID = 100; field in MediaSessionTestHelperService
60 startForeground(NOTIFICATION_ID, notification); in onCreate()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DNotificationTest.java56 private static final int NOTIFICATION_ID = 1; field in NotificationTest
109 testApp.notificationManager().notify(NOTIFICATION_ID, notification); in showNotificationWithTitleNotification()
/cts/tests/sensitivecontentprotection/src/android/sensitivecontentprotection/cts/
DSensitiveNotificationAppHidingTest.kt102 notificationManager.notify(groupKey, NOTIFICATION_ID, nb.build()) in <lambda>()
115 NOTIFICATION_ID, in <lambda>()
385 private const val NOTIFICATION_ID = 42 in <lambda>() constant
DSensitiveContentMediaProjectionHelper.java138 private static final int NOTIFICATION_ID = 1; field in SensitiveContentMediaProjectionHelper.MediaProjectionService
169 startForeground(NOTIFICATION_ID, notification); in onStartCommand()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DMediaProjectionHelper.java138 private static final int NOTIFICATION_ID = 1; field in MediaProjectionHelper.MediaProjectionService
169 startForeground(NOTIFICATION_ID, notification); in onStartCommand()
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DReflectorVpnService.java50 private static final int NOTIFICATION_ID = 1; field in ReflectorVpnService
81 startForeground(NOTIFICATION_ID, new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallStreamingTest.java56 private static final int NOTIFICATION_ID = 1; field in CallStreamingTest
204 mgr.notify(NOTIFICATION_ID, callNot); in postCallNotification()
DTransactionalApisTest.java89 private static final int NOTIFICATION_ID = 2; field in TransactionalApisTest
1433 mNotificationManager.cancel(NOTIFICATION_ID); in cleanup()
1498 mNotificationManager.notify(NOTIFICATION_ID, callNot); in postCallNotification()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java172 private static final int NOTIFICATION_ID = 7; field in ByodHelperActivity
213 mNotificationManager.notify(NOTIFICATION_ID, notification); in showNotificationInner()
365 mNotificationManager.cancel(NOTIFICATION_ID); in onCreate()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DSensitiveNotificationRedactionTest.kt132 mNotificationManager.notify(tag, NOTIFICATION_ID, nb.build()) in sendNotification()
160 val sbn = mNotificationHelper.findPostedNotification(tag, NOTIFICATION_ID, searchType) in waitForNotification()
569 private const val NOTIFICATION_ID = 42 constant

12