Home
last modified time | relevance | path

Searched refs:createNotificationChannel (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java268 assertTrue(mHelper.createNotificationChannel(package0, uid0, channel0, true, false)); in testWriteXml_onlyBackupsTargetUser()
274 assertTrue(mHelper.createNotificationChannel(package10, uid10, channel10, true, false)); in testWriteXml_onlyBackupsTargetUser()
299 assertTrue(mHelper.createNotificationChannel(package0, uid0, channel0, true, false)); in testReadXml_onlyRestoresTargetUser()
340 assertTrue(mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1, true, false)); in testChannelXml()
341 assertTrue(mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel2, false, false)); in testChannelXml()
405 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1, true, false); in testChannelXmlForBackup()
406 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel2, false, false); in testChannelXmlForBackup()
407 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel3, false, false); in testChannelXmlForBackup()
408 mHelper.createNotificationChannel(PKG_O, UID_O, getChannel(), true, false); in testChannelXmlForBackup()
461 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel, true, false); in testBackupXml_backupCanonicalizedSoundUri()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DAlertWindowNotification.java110 createNotificationChannel(context, appName); in onPostNotification()
147 private void createNotificationChannel(Context context, String appName) { in createNotificationChannel() method in AlertWindowNotification
168 mNotificationManager.createNotificationChannel(channel); in createNotificationChannel()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java85 mNM.createNotificationChannel(new NotificationChannel("min", "Min", IMPORTANCE_MIN)); in onCreate()
86 mNM.createNotificationChannel(new NotificationChannel("low", "Low", IMPORTANCE_LOW)); in onCreate()
87 mNM.createNotificationChannel( in onCreate()
89 mNM.createNotificationChannel(new NotificationChannel("high", "High", IMPORTANCE_HIGH)); in onCreate()
682 mNM.createNotificationChannel(channel);
742 mNM.createNotificationChannel(channel);
759 mNM.createNotificationChannel(channel);
799 mNM.createNotificationChannel(channel);
818 mNM.createNotificationChannel(channel);
840 mNM.createNotificationChannel(channel);
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSchedulerService.java32 getSystemService(NotificationManager.class).createNotificationChannel( in onStartCommand()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingConfig.java42 boolean createNotificationChannel(String pkg, int uid, NotificationChannel channel, in createNotificationChannel() method
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DServiceIntentSender.java47 notificationManager.createNotificationChannel(mChannel); in ServiceIntentSender()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java98 nm.createNotificationChannel(new NotificationChannel( in createAll()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java81 mNotificationManager.createNotificationChannel( in NotificationController()
85 mNotificationManager.createNotificationChannel( in NotificationController()
/frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
DTestService.java84 noMan.createNotificationChannel(new NotificationChannel( in startForeground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DLeakReporter.java99 notiMan.createNotificationChannel(channel); in dumpLeak()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java159 .createNotificationChannel(voiceMailChannel); in migrateVoicemailNotificationSettings()
/frameworks/base/packages/Shell/src/com/android/shell/
DHeapDumpReceiver.java147 nm.createNotificationChannel( in showDumpNotification()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallFinish.java80 notificationManager.createNotificationChannel(uninstallFailureChannel); in onReceive()
DPackageInstalledNotificationUtils.java224 mNotificationManager.createNotificationChannel(channel); in createChannel()
DUninstallerActivity.java349 notificationManager.createNotificationChannel(uninstallingChannel); in startUninstallProgress()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCarrierActionUtils.java252 .createNotificationChannel(new NotificationChannel( in createNotificationChannels()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringNotificationUpdater.java149 mNotificationManager.createNotificationChannel(mChannel); in TetheringNotificationUpdater()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java291 notificationManager.createNotificationChannel(channel); in createRecordingNotification()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DDynamicSystemInstallationService.java413 mNM.createNotificationChannel(chan); in prepareNotification()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java575 notificationManager.createNotificationChannel(mNotificationChannel); in buildNotification()
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java274 mNotifManager.createNotificationChannel(new NotificationChannel( in onStart()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverStateMachine.java834 manager.createNotificationChannel(channel); in ensureNotificationChannelExists()
/frameworks/base/core/java/android/app/
DNotificationManager.java697 public void createNotificationChannel(@NonNull NotificationChannel channel) { in createNotificationChannel() method in NotificationManager
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceService.java321 mNotificationManager.createNotificationChannel(channel); in onAcquired()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java955 mNotificationManager.createNotificationChannel( in handleMessage()

12