Home
last modified time | relevance | path

Searched refs:channel1 (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogControllerTest.kt55 private lateinit var channel1: NotificationChannel variable in com.android.systemui.statusbar.notification.row.ChannelEditorDialogControllerTest
75 channel1 = NotificationChannel(TEST_CHANNEL, TEST_CHANNEL_NAME, IMPORTANCE_DEFAULT) in setup()
92 channel1.group = group.id in testPrepareDialogForApp_noExtraChannels()
94 group.channels = listOf(channel1, channel2) in testPrepareDialogForApp_noExtraChannels()
96 channel1, appIcon, clickListener) in testPrepareDialogForApp_noExtraChannels()
126 group.channels = listOf(channel1, channel2, channel4, channel5) in testPrepareDialogForApp_AddsAllChannelsAllGroups()
130 channel1, appIcon, clickListener) in testPrepareDialogForApp_AddsAllChannelsAllGroups()
138 group.channels = listOf(channel1, channel2) in testApply_demoteChannel()
140 channel1, appIcon, clickListener) in testApply_demoteChannel()
143 controller.proposeEditForChannel(channel1, IMPORTANCE_NONE) in testApply_demoteChannel()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationChannelTest.java536 NotificationChannel channel1 = new NotificationChannel("id", "name", 3); in testEqualityDependsOnVibration() local
538 assertThat(channel1).isEqualTo(channel2); in testEqualityDependsOnVibration()
542 channel1.setVibrationEffect(effect); in testEqualityDependsOnVibration()
544 assertThat(channel1).isEqualTo(channel2); in testEqualityDependsOnVibration()
546 channel1.setVibrationPattern(pattern); in testEqualityDependsOnVibration()
548 assertThat(channel1).isEqualTo(channel2); in testEqualityDependsOnVibration()
550 channel1.setVibrationPattern(pattern); in testEqualityDependsOnVibration()
553 assertThat(channel1).isEqualTo(channel2); in testEqualityDependsOnVibration()
555 channel1.setVibrationEffect(effect); in testEqualityDependsOnVibration()
557 assertThat(channel1).isNotEqualTo(channel2); in testEqualityDependsOnVibration()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java589 NotificationChannel channel1 = in testChannelXml() local
609 assertTrue(mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1, true, false, in testChannelXml()
617 UserHandle.USER_ALL, channel1.getId(), channel2.getId(), in testChannelXml()
625 assertEquals(channel1, in testChannelXml()
626 mXmlHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1.getId(), false)); in testChannelXml()
657 NotificationChannel channel1 = in testChannelXmlForBackup() local
676 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1, true, false, in testChannelXmlForBackup()
692 USER_SYSTEM, channel1.getId(), channel2.getId(), channel3.getId(), in testChannelXmlForBackup()
707 assertEquals(channel1, in testChannelXmlForBackup()
708 mXmlHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1.getId(), false)); in testChannelXmlForBackup()
[all …]
DNotificationManagerServiceTest.java1528 final NotificationChannel channel1 = in testCreateNotificationChannels_TwoChannels() local
1533 new ParceledListSlice(Arrays.asList(channel1, channel2))); in testCreateNotificationChannels_TwoChannels()
1602 final NotificationChannel channel1 = in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond() local
1607 new ParceledListSlice(Arrays.asList(channel1, channel2))); in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond()
11381 NotificationChannel channel1 = new NotificationChannel("a", "a", 1);
11382 channel1.setConversationId("parent1", "convo 1");
11383 convo1.setNotificationChannel(channel1);
11422 NotificationChannel channel1 = new NotificationChannel("a", "a", 1);
11423 channel1.setConversationId("parent1", "convo 1");
11424 convo1.setNotificationChannel(channel1);
[all …]