/cts/tests/app/ActivityManagerApi29Test/src/android/app/cts/ |
D | LocationForegroundService.java | 27 private static final String NOTIFICATION_CHANNEL_ID = field in LocationForegroundService 36 new NotificationChannel(NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, in onStartCommand() 38 Notification status = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | TestService.java | 27 private static final String NOTIFICATION_CHANNEL_ID = TestService.class.getSimpleName(); field in TestService 32 new NotificationChannel(NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, in onStartCommand() 34 Notification status = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | FocusLossPreventionService.java | 16 private static final String NOTIFICATION_CHANNEL_ID = "ctsVerifier/" + TAG; field in FocusLossPreventionService 34 NOTIFICATION_CHANNEL_ID, in onStartCommand() 35 NOTIFICATION_CHANNEL_ID, in onStartCommand() 39 new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in onStartCommand()
|
/cts/tests/tests/notificationlegacy/notificationlegacy30/src/android/app/notification/legacy30/cts/ |
D | NotificationTemplateApi30Test.kt | 34 val views = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() 47 val views = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() 61 val views = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() 75 val views = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() 89 val builder = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() 114 val builder = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() 143 val builder = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() 170 val views = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() 179 val views = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() 199 val views = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() [all …]
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | SimpleForegroundService.java | 38 private static final String NOTIFICATION_CHANNEL_ID = "Foreground Service"; field in SimpleForegroundService 85 NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in onCreate() 86 NOTIFICATION_CHANNEL_ID, in onCreate() 94 Notification notification = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand() 118 notificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in onDestroy()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | StatsdCtsForegroundService.java | 38 private static final String NOTIFICATION_CHANNEL_ID = "Foreground Service"; field in StatsdCtsForegroundService 89 NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in onCreate() 90 NOTIFICATION_CHANNEL_ID, in onCreate() 98 Notification notification = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand() 122 notificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in onDestroy()
|
/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/ |
D | FgService.java | 34 private static final String NOTIFICATION_CHANNEL_ID = "cts/shortcutmanager/FgService"; field in FgService 49 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, in onStartCommand() 52 new Notification.Builder(getApplicationContext(), NOTIFICATION_CHANNEL_ID) in onStartCommand()
|
/cts/hostsidetests/incident/apps/notificationsapp/src/com/android/server/cts/notifications/ |
D | NotificationIncidentTestActivity.java | 29 final String NOTIFICATION_CHANNEL_ID = "LegacyNotificationManagerTest"; field in NotificationIncidentTestActivity 40 NOTIFICATION_CHANNEL_ID, in onCreate() 45 new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in onCreate()
|
/cts/tests/tests/appop/AppThatCanBeForcedIntoForegroundStates/src/android/app/appops/cts/appthatcanbeforcedintoforegroundstates/ |
D | Utils.kt | 23 const val NOTIFICATION_CHANNEL_ID = "fgsvc" constant 28 notificationManager.createNotificationChannel(NotificationChannel(NOTIFICATION_CHANNEL_ID, in ensureNotificationChannel()
|
/cts/tests/tests/appop/AppForDiscreteTest/src/android/app/appops/cts/appfordiscretetest/ |
D | Utils.kt | 23 const val NOTIFICATION_CHANNEL_ID = "fgsvc" constant 28 notificationManager.createNotificationChannel(NotificationChannel(NOTIFICATION_CHANNEL_ID, in ensureNotificationChannel()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | LocalForegroundServiceLocation.java | 34 private static final String NOTIFICATION_CHANNEL_ID = "cts/" + TAG; field in LocalForegroundServiceLocation 43 return NOTIFICATION_CHANNEL_ID; in getNotificationChannelId() 62 new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in onStartCommand()
|
D | BubblesTestService.java | 35 private static final String NOTIFICATION_CHANNEL_ID = "NotificationManagerTest"; field in BubblesTestService 66 Notification.Builder nb = new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in getNotificationForTest()
|
D | LocalForegroundService.java | 41 public static final String NOTIFICATION_CHANNEL_ID = "cts/" + TAG; field in LocalForegroundService 70 return NOTIFICATION_CHANNEL_ID; in getNotificationChannelId() 94 new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in onStartCommand()
|
D | SendBubbleActivity.java | 42 private static final String NOTIFICATION_CHANNEL_ID = "NotificationManagerTest"; field in SendBubbleActivity 86 Notification n = new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in sendInvalidBubble() 125 Notification.Builder nb = new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in sendBubble()
|
/cts/tests/tests/systemui/AudioRecorderTestApp_Base/src/android/systemui/cts/audiorecorder/base/ |
D | BaseAudioRecorderService.java | 38 private static final String NOTIFICATION_CHANNEL_ID = "all"; field in BaseAudioRecorderService 100 return new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in buildNotification() 110 NOTIFICATION_CHANNEL_ID, in createChannel()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | LocalMediaProjectionService.java | 36 private static final String NOTIFICATION_CHANNEL_ID = "Surfacevalidator"; field in LocalMediaProjectionService 73 final NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in startForeground() 82 new Notification.Builder(this, NOTIFICATION_CHANNEL_ID); in startForeground()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | LocalMediaProjectionService.java | 36 private static final String NOTIFICATION_CHANNEL_ID = "AudioPlaybackCaptureTest"; field in LocalMediaProjectionService 73 final NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in startForeground() 82 new Notification.Builder(this, NOTIFICATION_CHANNEL_ID); in startForeground()
|
/cts/tests/tests/notificationlegacy/notificationlegacy28/src/android/app/notification/legacy28/cts/ |
D | NotificationManager28Test.java | 45 final String NOTIFICATION_CHANNEL_ID = "LegacyNoManTest28"; field in NotificationManager28Test 56 NOTIFICATION_CHANNEL_ID, "name", NotificationManager.IMPORTANCE_DEFAULT)); in setUp() 64 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in testPostFullScreenIntent_noPermission()
|
/cts/tests/app/shared/src/android/app/stubs/shared/ |
D | CloseSystemDialogsTestService.java | 51 private static final String NOTIFICATION_CHANNEL_ID = "cts/" + TAG; field in CloseSystemDialogsTestService 167 new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in notify() 171 NotificationChannel notificationChannel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in notify() 172 NOTIFICATION_CHANNEL_ID, NotificationManager.IMPORTANCE_DEFAULT); in notify()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | NotificationPrivacyVerifierActivity.java | 53 private static final String NOTIFICATION_CHANNEL_ID = TAG; field in NotificationPrivacyVerifierActivity 71 NotificationChannel channel = mNm.getNotificationChannel(NOTIFICATION_CHANNEL_ID); in getChannelVisibility() 146 NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in createChannels() 147 NOTIFICATION_CHANNEL_ID, IMPORTANCE_DEFAULT); in createChannels() 152 mNm.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in deleteChannels() 163 Notification publicVersion = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendNotification() 168 Notification privateVersion = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendNotification() 233 .putExtra(EXTRA_CHANNEL_ID, NOTIFICATION_CHANNEL_ID); in getIntent()
|
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/ |
D | ReflectorVpnService.java | 51 private static final String NOTIFICATION_CHANNEL_ID = TAG; field in ReflectorVpnService 79 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, in onStartCommand() 81 startForeground(NOTIFICATION_ID, new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand() 98 notificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in onDestroy()
|
/cts/apps/NotificationBot/src/com/android/cts/robot/ |
D | NotificationBot.java | 39 private static final String NOTIFICATION_CHANNEL_ID = TAG + "_high"; field in NotificationBot 141 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, in testShortcutResetSetupNotification() 143 final Notification.Builder nb = new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in testShortcutResetSetupNotification()
|
/cts/tests/app/NotificationTrampolineBase/src/com/android/test/notificationtrampoline/ |
D | NotificationTrampolineTestService.java | 50 private static final String NOTIFICATION_CHANNEL_ID = "cts/" + TAG; field in NotificationTrampolineTestService 167 new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in postNotification() 171 NotificationChannel notificationChannel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in postNotification() 172 NOTIFICATION_CHANNEL_ID, NotificationManager.IMPORTANCE_DEFAULT); in postNotification()
|
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
D | NotificationManager29Test.java | 59 final String NOTIFICATION_CHANNEL_ID = "LegacyNoManTest29"; field in NotificationManager29Test 70 NOTIFICATION_CHANNEL_ID, "name", NotificationManager.IMPORTANCE_DEFAULT)); in setUp() 141 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in testPostFullScreenIntent_noPermission()
|
/cts/hostsidetests/systemui/src/android/host/systemui/ |
D | StatsdNotificationAtomTest.java | 46 private static final String NOTIFICATION_CHANNEL_ID = "SystemUiCtsChannel"; field in StatsdNotificationAtomTest 96 assertThat(n.getChannelIdHash()).isEqualTo(SmallHash.hash(NOTIFICATION_CHANNEL_ID)); in testNotificationReported()
|