Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogController.kt80 internal val providedChannels = mutableListOf<NotificationChannel>() in <lambda>() constant
125 providedChannels.clear() in <lambda>()
127 providedChannels.addAll(channels.asSequence().take(4)) in <lambda>()
130 providedChannels.addAll(getDisplayableChannels(channelGroupList.asSequence()) in <lambda>()
131 .filterNot { providedChannels.contains(it) } in <lambda>()
133 .take(4 - providedChannels.size)) in <lambda>()
138 if (providedChannels.size == 1 && DEFAULT_CHANNEL_ID == providedChannels[0].id) { in <lambda>()
139 providedChannels.clear() in <lambda>()
184 providedChannels.clear() in <lambda>()
273 channels = providedChannels in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogControllerTest.kt89 assertEquals(2, controller.providedChannels.size) in testPrepareDialogForApp_noExtraChannels()
100 0, controller.providedChannels.size) in testPrepareDialogForApp_onlyDefaultChannel()
122 4, controller.providedChannels.size) in testPrepareDialogForApp_retrievesUpTo4Channels()