Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogControllerTest.kt53 private lateinit var channel1: NotificationChannel variable in com.android.systemui.statusbar.notification.row.ChannelEditorDialogControllerTest
68 channel1 = NotificationChannel(TEST_CHANNEL, TEST_CHANNEL_NAME, IMPORTANCE_DEFAULT) in setup()
85 group.channels = listOf(channel1, channel2) in testPrepareDialogForApp_noExtraChannels()
87 setOf(channel1, channel2), appIcon, clickListener) in testPrepareDialogForApp_noExtraChannels()
116 group.channels = listOf(channel1, channel2, channel3, channel4) in testPrepareDialogForApp_retrievesUpTo4Channels()
119 setOf(channel1), appIcon, clickListener) in testPrepareDialogForApp_retrievesUpTo4Channels()
127 group.channels = listOf(channel1, channel2) in testApply_demoteChannel()
129 setOf(channel1, channel2), appIcon, clickListener) in testApply_demoteChannel()
132 controller.proposeEditForChannel(channel1, IMPORTANCE_NONE) in testApply_demoteChannel()
137 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.java324 NotificationChannel channel1 = in testChannelXml() local
340 assertTrue(mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1, true, false)); in testChannelXml()
347 UserHandle.USER_ALL, channel1.getId(), channel2.getId(), in testChannelXml()
356 assertEquals(channel1, in testChannelXml()
357 mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1.getId(), false)); in testChannelXml()
388 NotificationChannel channel1 = in testChannelXmlForBackup() local
405 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1, true, false); in testChannelXmlForBackup()
415 UserHandle.USER_SYSTEM, channel1.getId(), channel2.getId(), channel3.getId(), in testChannelXmlForBackup()
426 assertEquals(channel1, in testChannelXmlForBackup()
427 mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1.getId(), false)); in testChannelXmlForBackup()
[all …]
DNotificationChannelTest.java56 NotificationChannel channel1 = NotificationChannel.CREATOR.createFromParcel(parcel); in testWriteToParcel() local
57 assertEquals(channel, channel1); in testWriteToParcel()
DNotificationManagerServiceTest.java625 final NotificationChannel channel1 = in testCreateNotificationChannels_TwoChannels() local
630 new ParceledListSlice(Arrays.asList(channel1, channel2))); in testCreateNotificationChannels_TwoChannels()
699 final NotificationChannel channel1 = in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond() local
704 new ParceledListSlice(Arrays.asList(channel1, channel2))); in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond()