/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/ |
D | ConnectivityForegroundService.java | 34 private static final String NOTIFICATION_CHANNEL_ID = "ctsVerifier/" + TAG; field in ConnectivityForegroundService 41 NOTIFICATION_CHANNEL_ID, in onStartCommand() 42 NOTIFICATION_CHANNEL_ID, in onStartCommand() 45 new Notification.Builder(getApplicationContext(), NOTIFICATION_CHANNEL_ID).build(); in onStartCommand()
|
/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/tests/tests/security/src/android/security/cts/ |
D | TestForegroundService.java | 37 private static final String NOTIFICATION_CHANNEL_ID = field in TestForegroundService 42 createNotificationChannelId(this, NOTIFICATION_CHANNEL_ID); in onCreate() 49 new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand() 51 .setContentTitle(NOTIFICATION_CHANNEL_ID) in onStartCommand() 76 NOTIFICATION_CHANNEL_ID, name, importance); in createNotificationChannelId()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | BootCompletedFgs.java | 43 private static final String NOTIFICATION_CHANNEL_ID = field in BootCompletedFgs 50 createNotificationChannelId(this, NOTIFICATION_CHANNEL_ID); in onCreate() 58 new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand() 60 .setContentTitle(NOTIFICATION_CHANNEL_ID) in onStartCommand() 92 NOTIFICATION_CHANNEL_ID, name, importance); in createNotificationChannelId()
|
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()
|
/cts/tests/tests/notificationlegacy/notificationlegacy30/src/android/app/notification/legacy30/cts/ |
D | NotificationTemplateApi30Test.kt | 42 val views = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() 56 val views = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() 75 val views = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() 90 val views = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() 109 val builder = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() 138 val builder = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() 172 val builder = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() 198 val views = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() 208 val views = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() 229 val views = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() [all …]
|
/cts/hostsidetests/os/test-apps/InattentiveSleepTestApp/src/android/os/inattentivesleeptests/ |
D | PartialWakeLockService.java | 32 private static final String NOTIFICATION_CHANNEL_ID = "Inattentive Sleep Tests"; field in PartialWakeLockService 44 NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in onCreate() 45 NOTIFICATION_CHANNEL_ID, NotificationManager.IMPORTANCE_LOW); in onCreate() 58 Notification notification = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | MediaCodecResourceTestLowPriorityService.java | 31 public static final String NOTIFICATION_CHANNEL_ID = field in MediaCodecResourceTestLowPriorityService 64 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, in showNotification() 66 return new Notification.Builder(getApplicationContext(), NOTIFICATION_CHANNEL_ID) in showNotification()
|
/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/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/notification/src/android/app/notification/current/cts/ |
D | NotificationTemplateTest.kt | 56 val views = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() 72 val views = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() 89 val views = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() 105 val views = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() 119 val views = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() 135 val views = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() 151 val views = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() 170 val views = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() 192 val views = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() 214 val views = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in <lambda>() [all …]
|
/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/tests/media/common/src/android/media/cts/ |
D | LocalMediaProjectionHelperService.java | 23 private static final String NOTIFICATION_CHANNEL_ID = "MediaProjectionTest"; field in LocalMediaProjectionHelperService 34 return NOTIFICATION_CHANNEL_ID; in getNotificationChannelId()
|
D | LocalMediaProjectionSecondaryService.java | 23 private static final String NOTIFICATION_CHANNEL_ID = "AudioPlaybackCaptureTest2"; field in LocalMediaProjectionSecondaryService 34 return NOTIFICATION_CHANNEL_ID; in getNotificationChannelId()
|
/cts/tests/app/FgsTestHelper/src/android/app/fgstesthelper/ |
D | LocalForegroundServiceAllTypes.java | 21 private static final String NOTIFICATION_CHANNEL_ID = "cts/" + TAG; field in LocalForegroundServiceAllTypes 25 return NOTIFICATION_CHANNEL_ID; in getNotificationChannelId()
|
D | LocalForegroundServiceNoType.java | 24 private static final String NOTIFICATION_CHANNEL_ID = "cts/" + TAG; field in LocalForegroundServiceNoType 28 return NOTIFICATION_CHANNEL_ID; in getNotificationChannelId()
|
/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/tests/notificationlegacy/notificationlegacy34/src/android/app/notification/legacy34/cts/ |
D | NotificationManagerApi34Test.kt | 55 NOTIFICATION_CHANNEL_ID, in setUp() 71 val notification: Notification = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in testMediaStyle_noClearFlagNotSet() 88 val notification: Notification = Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in testCustomMediaStyle_noClearFlagNotSet() 105 const val NOTIFICATION_CHANNEL_ID = "NotificationManagerApi34Test" constant
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | NotificationActivity.java | 44 private static final String NOTIFICATION_CHANNEL_ID = field in NotificationActivity 54 NOTIFICATION_CHANNEL_ID, in onCreate() 70 Notification builder = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onResume()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | NotificationDismissVerifierActivity.java | 52 private static final String NOTIFICATION_CHANNEL_ID = TAG; field in NotificationDismissVerifierActivity 65 NotificationChannel channel = mNm.getNotificationChannel(NOTIFICATION_CHANNEL_ID); in getChannelVisibility() 133 NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in createChannels() 134 NOTIFICATION_CHANNEL_ID, IMPORTANCE_DEFAULT); in createChannels() 139 mNm.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in deleteChannels() 155 Notification publicVersion = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendNotification() 160 Notification privateVersion = new Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in sendNotification() 320 .putExtra(EXTRA_CHANNEL_ID, NOTIFICATION_CHANNEL_ID); in getIntent()
|
/cts/tests/app/FgsTimeoutTest/FgsTimeoutTestHelper/src/android/app/cts/fgstimeouttesthelper/ |
D | FgsTimeoutHelper.java | 53 private static final String NOTIFICATION_CHANNEL_ID = "cts/" + HELPER_PACKAGE; field in FgsTimeoutHelper 67 new NotificationChannel(NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, in ensureNotificationChannel() 69 return NOTIFICATION_CHANNEL_ID; in ensureNotificationChannel()
|
/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/app/ShortFgsTest/ShortFgsTestHelper/src/android/app/cts/shortfgstesthelper/ |
D | ShortFgsHelper.java | 59 private static final String NOTIFICATION_CHANNEL_ID = "cts/" + HELPER_PACKAGE; field in ShortFgsHelper 87 new NotificationChannel(NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, in ensureNotificationChannel() 89 return NOTIFICATION_CHANNEL_ID; in ensureNotificationChannel()
|