/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/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
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/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/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/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/ |
D | MyForegroundService.java | 39 private static final String NOTIFICATION_CHANNEL_ID = "cts/MyForegroundService"; field in MyForegroundService 53 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, in onStartCommand() 58 startForeground(42, new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand()
|
D | MyService.java | 45 private static final String NOTIFICATION_CHANNEL_ID = "MyService"; field in MyService 88 MyBroadcastReceiver .sendNotification(getApplicationContext(), NOTIFICATION_CHANNEL_ID, 175 .createNotificationChannel(new NotificationChannel(NOTIFICATION_CHANNEL_ID, in onCreate() 176 NOTIFICATION_CHANNEL_ID, NotificationManager.IMPORTANCE_DEFAULT)); in onCreate() 185 .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/app/app/src/android/app/stubs/ |
D | LocalForegroundServiceLocation.java | 41 private static final String NOTIFICATION_CHANNEL_ID = "cts/" + TAG; field in LocalForegroundServiceLocation 49 return NOTIFICATION_CHANNEL_ID; in getNotificationChannelId() 69 new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in onStart()
|
D | LocalForegroundService.java | 36 private static final String NOTIFICATION_CHANNEL_ID = "cts/" + TAG; field in LocalForegroundService 55 return NOTIFICATION_CHANNEL_ID; in getNotificationChannelId() 76 new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in onStart()
|
D | BubblesTestService.java | 36 private static final String NOTIFICATION_CHANNEL_ID = "NotificationManagerTest"; field in BubblesTestService 65 Notification.Builder nb = new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in getNotificationForTest()
|
D | BubblesTestActivity.java | 37 private static final String NOTIFICATION_CHANNEL_ID = "NotificationManagerTest"; field in BubblesTestActivity 70 Notification n = new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in sendBubble()
|
/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/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/apps/VpnApp/src/com/android/cts/vpnfirewall/ |
D | ReflectorVpnService.java | 49 private static final String NOTIFICATION_CHANNEL_ID = TAG; field in ReflectorVpnService 72 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, in onStartCommand() 74 startForeground(NOTIFICATION_ID, new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand() 90 notificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in onDestroy()
|
/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/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
D | NotificationManager29Test.java | 45 final String NOTIFICATION_CHANNEL_ID = "LegacyNoManTest29"; field in NotificationManager29Test 56 NOTIFICATION_CHANNEL_ID, "name", NotificationManager.IMPORTANCE_DEFAULT)); in setUp() 64 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in testPostFullScreenIntent_noPermission()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarTests.java | 63 private final String NOTIFICATION_CHANNEL_ID = "test_channel"; field in LightBarTests 80 NotificationChannel channel1 = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in testLightStatusBarIcons() 81 NOTIFICATION_CHANNEL_ID, NotificationManager.IMPORTANCE_LOW); in testLightStatusBarIcons() 87 NOTIFICATION_CHANNEL_ID) in testLightStatusBarIcons() 89 .setChannelId(NOTIFICATION_CHANNEL_ID) in testLightStatusBarIcons() 103 mNm.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in testLightStatusBarIcons()
|
/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/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/ |
D | LegacyNotificationManager20Test.java | 65 final String NOTIFICATION_CHANNEL_ID = "LegacyNotificationManagerTest"; field in LegacyNotificationManager20Test 80 NOTIFICATION_CHANNEL_ID, "name", NotificationManager.IMPORTANCE_DEFAULT)); in setUp() 142 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendNotification()
|
/cts/tests/app/src/android/app/cts/ |
D | NotificationManagerTest.java | 121 final String NOTIFICATION_CHANNEL_ID = "NotificationManagerTest"; field in NotificationManagerTest 144 NOTIFICATION_CHANNEL_ID, "name", NotificationManager.IMPORTANCE_DEFAULT)); in setUp() 370 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendNotification() 401 builder = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendAndVerifyBubble() 948 if (NOTIFICATION_CHANNEL_ID.equals(nc.getId())) { in testGetChannels() 1439 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in testNotifyWithTimeout() 1466 Notification.Builder builder = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID); in testStyle() 1483 Notification.Builder builder = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID); in testStyle_getStandardView() 1516 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in testMediaStyle() 1541 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in testInboxStyle() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodHelperActivity.java | 169 private static final String NOTIFICATION_CHANNEL_ID = TAG; field in ByodHelperActivity 186 final Notification notification = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in showNotification() 224 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | NotificationListenerVerifierActivity.java | 71 private static final String NOTIFICATION_CHANNEL_ID = TAG; field in NotificationListenerVerifierActivity 148 NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in createChannels() 149 NOTIFICATION_CHANNEL_ID, IMPORTANCE_LOW); in createChannels() 158 mNm.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in deleteChannels() 185 Notification n1 = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendNotifications() 196 Notification n2 = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendNotifications() 207 Notification n3 = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendNotifications() 1384 Notification n1 = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendMessagingNotification()
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | LegacyNotificationManagerTest.java | 66 final String NOTIFICATION_CHANNEL_ID = "LegacyNotificationManagerTest"; field in LegacyNotificationManagerTest 84 NOTIFICATION_CHANNEL_ID, "name", NotificationManager.IMPORTANCE_DEFAULT)); in setUp() 345 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendNotification()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | DeviceSuspendTestActivity.java | 139 private static final String NOTIFICATION_CHANNEL_ID = field in DeviceSuspendTestActivity.DeviceSuspendTestService 151 NOTIFICATION_CHANNEL_ID, in onStartCommand() 158 new Notification.Builder(getApplicationContext(), NOTIFICATION_CHANNEL_ID) in onStartCommand()
|