/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/ |
MyForegroundService.java | 39 private static final String NOTIFICATION_CHANNEL_ID = "cts/MyForegroundService"; 53 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, 58 startForeground(42, new Notification.Builder(this, NOTIFICATION_CHANNEL_ID)
|
MyService.java | 41 private static final String NOTIFICATION_CHANNEL_ID = "MyService"; 81 MyBroadcastReceiver .sendNotification(getApplicationContext(), NOTIFICATION_CHANNEL_ID, 95 .createNotificationChannel(new NotificationChannel(NOTIFICATION_CHANNEL_ID, 96 NOTIFICATION_CHANNEL_ID, NotificationManager.IMPORTANCE_DEFAULT)); 103 .deleteNotificationChannel(NOTIFICATION_CHANNEL_ID);
|
/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/ |
FgService.java | 34 private static final String NOTIFICATION_CHANNEL_ID = "cts/shortcutmanager/FgService"; 49 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, 52 new Notification.Builder(getApplicationContext(), NOTIFICATION_CHANNEL_ID)
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
SimpleForegroundService.java | 38 private static final String NOTIFICATION_CHANNEL_ID = "Foreground Service"; 85 NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, 86 NOTIFICATION_CHANNEL_ID, 94 Notification notification = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) 118 notificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID);
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
StatsdCtsForegroundService.java | 38 private static final String NOTIFICATION_CHANNEL_ID = "Foreground Service"; 89 NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, 90 NOTIFICATION_CHANNEL_ID, 98 Notification notification = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) 122 notificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID);
|
/cts/tests/app/app/src/android/app/stubs/ |
LocalForegroundService.java | 36 private static final String NOTIFICATION_CHANNEL_ID = "cts/" + TAG; 57 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, 70 new Notification.Builder(context, NOTIFICATION_CHANNEL_ID)
|
/frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/ |
TestService.java | 44 private static final String NOTIFICATION_CHANNEL_ID = TAG; 85 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, 89 new Notification.Builder(this, NOTIFICATION_CHANNEL_ID)
|
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/ |
ReflectorVpnService.java | 48 private static final String NOTIFICATION_CHANNEL_ID = TAG; 67 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, 69 startForeground(NOTIFICATION_ID, new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) 85 notificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID);
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
LightBarTests.java | 62 private final String NOTIFICATION_CHANNEL_ID = "test_channel"; 77 NotificationChannel channel1 = new NotificationChannel(NOTIFICATION_CHANNEL_ID, 78 NOTIFICATION_CHANNEL_ID, NotificationManager.IMPORTANCE_LOW); 84 NOTIFICATION_CHANNEL_ID) 86 .setChannelId(NOTIFICATION_CHANNEL_ID) 100 mNm.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID);
|
/cts/apps/NotificationBot/src/com/android/cts/robot/ |
NotificationBot.java | 39 private static final String NOTIFICATION_CHANNEL_ID = TAG; 141 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, 143 final Notification.Builder nb = new Notification.Builder(context, NOTIFICATION_CHANNEL_ID)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/ |
PluginManager.java | 26 String NOTIFICATION_CHANNEL_ID = "ALR";
|
PluginInstanceManager.java | 330 PluginManager.NOTIFICATION_CHANNEL_ID)
|
PluginManagerImpl.java | 232 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID)
|
/cts/tests/tests/notificationlegacy/src/android/app/notification/legacy/cts/ |
LegacyNotificationManagerTest.java | 64 final String NOTIFICATION_CHANNEL_ID = "LegacyNotificationManagerTest"; 78 NOTIFICATION_CHANNEL_ID, "name", NotificationManager.IMPORTANCE_DEFAULT)); 240 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID)
|
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/ |
UpdateLayoutFragment.java | 59 private static final String NOTIFICATION_CHANNEL_ID = "update"; 106 NOTIFICATION_CHANNEL_ID, 288 return new Notification.Builder(context, NOTIFICATION_CHANNEL_ID)
|
/cts/tests/app/src/android/app/cts/ |
NotificationManagerTest.java | 73 final String NOTIFICATION_CHANNEL_ID = "NotificationManagerTest"; 91 NOTIFICATION_CHANNEL_ID, "name", NotificationManager.IMPORTANCE_DEFAULT)); 426 if (NOTIFICATION_CHANNEL_ID.equals(nc.getId())) { 527 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) 553 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) 605 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) 631 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) 656 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) 680 new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) [all...] |
ServiceTest.java | 53 private static final String NOTIFICATION_CHANNEL_ID = TAG; 226 Notification notification = new Notification.Builder(getContext(), NOTIFICATION_CHANNEL_ID) 446 NOTIFICATION_CHANNEL_ID, "name", NotificationManager.IMPORTANCE_DEFAULT)); 452 getNotificationManager().deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
ByodHelperActivity.java | 159 private static final String NOTIFICATION_CHANNEL_ID = TAG; 176 final Notification notification = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) 214 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID,
|
/packages/apps/TV/src/com/android/tv/tuner/ |
TunerInputController.java | 92 private static final String NOTIFICATION_CHANNEL_ID = "tuner_discovery_notification"; 412 if (notificationManager.getNotificationChannel(NOTIFICATION_CHANNEL_ID) == null) { 421 Notification.Builder builder = new Notification.Builder(context, NOTIFICATION_CHANNEL_ID); 443 NOTIFICATION_CHANNEL_ID,
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
NotificationListenerVerifierActivity.java | 69 private static final String NOTIFICATION_CHANNEL_ID = TAG; 138 NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, 139 NOTIFICATION_CHANNEL_ID, IMPORTANCE_LOW); 144 mNm.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); 170 Notification n1 = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) 181 Notification n2 = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) 192 Notification n3 = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) [all...] |
AttentionManagementVerifierActivity.java | 57 private static final String NOTIFICATION_CHANNEL_ID = TAG; 132 NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, 133 NOTIFICATION_CHANNEL_ID, NotificationManager.IMPORTANCE_MIN); 154 mNm.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
FileOperationService.java | 98 static final String NOTIFICATION_CHANNEL_ID = "channel_id"; 171 NOTIFICATION_CHANNEL_ID,
|
Job.java | 329 ? new Notification.Builder(service, FileOperationService.NOTIFICATION_CHANNEL_ID)
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioManagerTest.java | [all...] |
/frameworks/base/packages/Shell/src/com/android/shell/ |
BugreportProgressService.java | 205 private static final String NOTIFICATION_CHANNEL_ID = "bugreports"; 260 new NotificationChannel(NOTIFICATION_CHANNEL_ID, [all...] |