Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogControllerTest.kt56 private lateinit var channel2: NotificationChannel variable in com.android.systemui.statusbar.notification.row.ChannelEditorDialogControllerTest
76 channel2 = NotificationChannel(TEST_CHANNEL2, TEST_CHANNEL_NAME2, 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()
134 group.channels = listOf(channel1, channel2) in testApply_demoteChannel()
136 setOf(channel1, channel2), appIcon, clickListener) in testApply_demoteChannel()
148 IMPORTANCE_DEFAULT, channel2.importance) in testApply_demoteChannel()
153 group.channels = listOf(channel1, channel2) in testApply_demoteApp()
155 setOf(channel1, channel2), appIcon, clickListener) in testApply_demoteApp()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DScanScheduleUtil.java38 @Nullable WifiNative.ChannelSettings channel2) { 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.java387 NotificationChannel channel2 = in testChannelXml() local
389 channel2.setDescription("descriptions for all"); in testChannelXml()
390 channel2.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes); in testChannelXml()
391 channel2.enableLights(true); in testChannelXml()
392 channel2.setBypassDnd(true); in testChannelXml()
393 channel2.setLockscreenVisibility(Notification.VISIBILITY_SECRET); in testChannelXml()
394 channel2.enableVibration(true); in testChannelXml()
395 channel2.setGroup(ncg.getId()); in testChannelXml()
396 channel2.setVibrationPattern(new long[]{100, 67, 145, 156}); in testChannelXml()
397 channel2.setLightColor(Color.BLUE); in testChannelXml()
[all …]
DNotificationManagerServiceTest.java854 final NotificationChannel channel2 = in testCreateNotificationChannels_TwoChannels() local
857 new ParceledListSlice(Arrays.asList(channel1, channel2))); in testCreateNotificationChannels_TwoChannels()
928 final NotificationChannel channel2 = in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond() local
931 new ParceledListSlice(Arrays.asList(channel1, channel2))); in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond()
2213 NotificationChannel channel2 = new NotificationChannel("a", "b", IMPORTANCE_LOW); in testCreateChannelNotifyListener() local
2215 eq(channel2.getId()), anyBoolean())) in testCreateChannelNotifyListener()
2216 .thenReturn(channel2); in testCreateChannelNotifyListener()
2218 eq(channel2), anyBoolean(), anyBoolean())) in testCreateChannelNotifyListener()
2223 new ParceledListSlice(Arrays.asList(mTestNotificationChannel, channel2))); in testCreateChannelNotifyListener()
2228 eq(Process.myUserHandle()), eq(channel2), in testCreateChannelNotifyListener()
[all …]