Home
last modified time | relevance | path

Searched refs:ncg (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRankingHelperTest.java363 NotificationChannelGroup ncg = new NotificationChannelGroup("1", "bye"); in testChannelXml() local
364 ncg.setBlocked(true); in testChannelXml()
365 ncg.setDescription("group desc"); in testChannelXml()
377 channel2.setGroup(ncg.getId()); in testChannelXml()
381 mHelper.createNotificationChannelGroup(PKG, UID, ncg, true); in testChannelXml()
405 if (ncg.getId().equals(actual.getId())) { in testChannelXml()
407 compareGroups(ncg, actual); in testChannelXml()
426 NotificationChannelGroup ncg = new NotificationChannelGroup("1", "bye"); in testChannelXmlForBackup() local
438 channel2.setGroup(ncg.getId()); in testChannelXmlForBackup()
443 mHelper.createNotificationChannelGroup(PKG, UID, ncg, true); in testChannelXmlForBackup()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java847 NotificationChannelGroup ncg = groups.get(nc.getGroup()); in getNotificationChannelGroups() local
848 if (ncg == null) { in getNotificationChannelGroups()
849 ncg = r.groups.get(nc.getGroup()).clone(); in getNotificationChannelGroups()
850 ncg.setChannels(new ArrayList<>()); in getNotificationChannelGroups()
851 groups.put(nc.getGroup(), ncg); in getNotificationChannelGroups() local
854 ncg.addChannel(nc); in getNotificationChannelGroups()