/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 | 41 private static final String NOTIFICATION_CHANNEL_ID = "MyService"; field in MyService 81 MyBroadcastReceiver .sendNotification(getApplicationContext(), NOTIFICATION_CHANNEL_ID, 95 .createNotificationChannel(new NotificationChannel(NOTIFICATION_CHANNEL_ID, in onCreate() 96 NOTIFICATION_CHANNEL_ID, NotificationManager.IMPORTANCE_DEFAULT)); in onCreate() 103 .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/tests/app/app/src/android/app/stubs/ |
D | LocalForegroundService.java | 36 private static final String NOTIFICATION_CHANNEL_ID = "cts/" + TAG; field in LocalForegroundService 57 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, in onStart() 70 new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in onStart()
|
/cts/hostsidetests/devicepolicy/app/VpnApp/src/com/android/cts/vpnfirewall/ |
D | ReflectorVpnService.java | 41 private static final String NOTIFICATION_CHANNEL_ID = TAG; field in ReflectorVpnService 58 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, in onStartCommand() 60 startForeground(NOTIFICATION_ID, new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand() 71 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; 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/src/android/app/cts/ |
D | NotificationManagerTest.java | 45 final String NOTIFICATION_CHANNEL_ID = "NotificationManagerTest"; field in NotificationManagerTest 60 NOTIFICATION_CHANNEL_ID, "name", NotificationManager.IMPORTANCE_DEFAULT)); in setUp() 277 if (NOTIFICATION_CHANNEL_ID.equals(nc.getId())) { in testGetChannels() 358 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in testNotifyWithTimeout() 387 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendNotification()
|
D | ServiceTest.java | 51 private static final String NOTIFICATION_CHANNEL_ID = TAG; field in ServiceTest 189 Notification notification = new Notification.Builder(getContext(), NOTIFICATION_CHANNEL_ID) in sendNotification() 409 NOTIFICATION_CHANNEL_ID, "name", NotificationManager.IMPORTANCE_DEFAULT)); in setUp() 415 getNotificationManager().deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in tearDown()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | NotificationListenerVerifierActivity.java | 46 private static final String NOTIFICATION_CHANNEL_ID = TAG; field in NotificationListenerVerifierActivity 101 NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in createChannel() 102 NOTIFICATION_CHANNEL_ID, NotificationManager.IMPORTANCE_LOW); in createChannel() 107 mNm.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in deleteChannel() 132 Notification n1 = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendNotifications() 144 Notification n2 = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendNotifications() 156 Notification n3 = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendNotifications() 1011 Notification n1 = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendMessagingNotification()
|
D | AttentionManagementVerifierActivity.java | 52 private static final String NOTIFICATION_CHANNEL_ID = TAG; field in AttentionManagementVerifierActivity 114 NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in createChannels() 115 NOTIFICATION_CHANNEL_ID, NotificationManager.IMPORTANCE_MIN); in createChannels() 124 mNm.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in deleteChannels() 869 final String channelId = noisy ? NOTIFICATION_CHANNEL_ID_NOISY : NOTIFICATION_CHANNEL_ID; in sendNotifications()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodHelperActivity.java | 158 private static final String NOTIFICATION_CHANNEL_ID = TAG; field in ByodHelperActivity 173 final Notification notification = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in showNotification() 202 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, in onCreate()
|