Searched refs:ncg (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 585 NotificationChannelGroup ncg = new NotificationChannelGroup("1", "bye"); in testChannelXml() local 586 ncg.setBlocked(true); in testChannelXml() 587 ncg.setDescription("group desc"); in testChannelXml() 599 channel2.setGroup(ncg.getId()); in testChannelXml() 605 mHelper.createNotificationChannelGroup(PKG_N_MR1, UID_N_MR1, ncg, true, in testChannelXml() 634 if (ncg.getId().equals(actual.getId())) { in testChannelXml() 636 compareGroups(ncg, actual); in testChannelXml() 655 NotificationChannelGroup ncg = new NotificationChannelGroup("1", "bye"); in testChannelXmlForBackup() local 667 channel2.setGroup(ncg.getId()); in testChannelXmlForBackup() 672 mHelper.createNotificationChannelGroup(PKG_N_MR1, UID_N_MR1, ncg, true, in testChannelXmlForBackup() [all …]
|
D | NotificationManagerServiceTest.java | 4050 NotificationChannelGroup ncg = new NotificationChannelGroup("a", "b/c"); in testDeleteChannelGroupNotifyListener() local 4053 eq(mPkg), anyInt(), eq(ncg.getId()), anyBoolean())) in testDeleteChannelGroupNotifyListener() 4054 .thenReturn(ncg); in testDeleteChannelGroupNotifyListener() 4056 mBinderService.deleteNotificationChannelGroup(mPkg, ncg.getId()); in testDeleteChannelGroupNotifyListener() 4058 eq(Process.myUserHandle()), eq(ncg), in testDeleteChannelGroupNotifyListener()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PreferencesHelper.java | 1550 NotificationChannelGroup ncg = groups.get(nc.getGroup()); in getNotificationChannelGroups() local 1551 if (ncg == null) { in getNotificationChannelGroups() 1552 ncg = r.groups.get(nc.getGroup()).clone(); in getNotificationChannelGroups() 1553 ncg.setChannels(new ArrayList<>()); in getNotificationChannelGroups() 1554 groups.put(nc.getGroup(), ncg); in getNotificationChannelGroups() local 1556 ncg.addChannel(nc); in getNotificationChannelGroups()
|