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 group.channels = listOf(channel1, channel2) in testPrepareDialogForApp_noExtraChannels()
94 setOf(channel1, channel2), appIcon, clickListener) in testPrepareDialogForApp_noExtraChannels()
123 group.channels = listOf(channel1, channel2, channel3, channel4) in testPrepareDialogForApp_retrievesUpTo4Channels()
126 setOf(channel1), appIcon, clickListener) in testPrepareDialogForApp_retrievesUpTo4Channels()
134 group.channels = listOf(channel1, channel2) in testApply_demoteChannel()
136 setOf(channel1, channel2), appIcon, clickListener) in testApply_demoteChannel()
139 controller.proposeEditForChannel(channel1, IMPORTANCE_NONE) in testApply_demoteChannel()
144 IMPORTANCE_NONE, channel1.importance) in testApply_demoteChannel()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DScanScheduleUtil.java37 public static boolean channelEquals(@Nullable WifiNative.ChannelSettings channel1, in channelEquals() argument
39 if (channel1 == null || channel2 == null) return false; in channelEquals()
40 if (channel1 == channel2) return true; in channelEquals()
42 if (channel1.frequency != channel2.frequency) return false; in channelEquals()
43 if (channel1.dwell_time_ms != channel2.dwell_time_ms) return false; in channelEquals()
44 return channel1.passive == channel2.passive; in channelEquals()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java385 NotificationChannel channel1 = in testChannelXml() local
403 assertTrue(mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1, true, false)); in testChannelXml()
410 UserHandle.USER_ALL, channel1.getId(), channel2.getId(), in testChannelXml()
419 assertEquals(channel1, in testChannelXml()
420 mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1.getId(), false)); in testChannelXml()
451 NotificationChannel channel1 = in testChannelXmlForBackup() local
468 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1, true, false); in testChannelXmlForBackup()
481 UserHandle.USER_SYSTEM, channel1.getId(), channel2.getId(), channel3.getId(), in testChannelXmlForBackup()
496 assertEquals(channel1, in testChannelXmlForBackup()
497 mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1.getId(), false)); in testChannelXmlForBackup()
[all …]
DNotificationManagerServiceTest.java852 final NotificationChannel channel1 = in testCreateNotificationChannels_TwoChannels() local
857 new ParceledListSlice(Arrays.asList(channel1, channel2))); in testCreateNotificationChannels_TwoChannels()
926 final NotificationChannel channel1 = in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond() local
931 new ParceledListSlice(Arrays.asList(channel1, channel2))); in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond()
6616 NotificationChannel channel1 = new NotificationChannel("a", "a", 1); in testGetConversationsForPackage_hasShortcut() local
6617 channel1.setConversationId("parent1", "convo 1"); in testGetConversationsForPackage_hasShortcut()
6618 convo1.setNotificationChannel(channel1); in testGetConversationsForPackage_hasShortcut()
6650 NotificationChannel channel1 = new NotificationChannel("a", "a", 1); in testGetConversationsForPackage_shortcut_notLongLived() local
6651 channel1.setConversationId("parent1", "convo 1"); in testGetConversationsForPackage_shortcut_notLongLived()
6652 convo1.setNotificationChannel(channel1); in testGetConversationsForPackage_shortcut_notLongLived()
[all …]