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.kt54 private lateinit var channel2: NotificationChannel variable in com.android.systemui.statusbar.notification.row.ChannelEditorDialogControllerTest
69 channel2 = NotificationChannel(TEST_CHANNEL2, TEST_CHANNEL_NAME2, 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()
127 group.channels = listOf(channel1, channel2) in testApply_demoteChannel()
129 setOf(channel1, channel2), appIcon, clickListener) in testApply_demoteChannel()
141 IMPORTANCE_DEFAULT, channel2.importance) in testApply_demoteChannel()
146 group.channels = listOf(channel1, channel2) in testApply_demoteApp()
148 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.java323 NotificationChannel channel2 = in testChannelXml() local
325 channel2.setDescription("descriptions for all"); in testChannelXml()
326 channel2.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes); in testChannelXml()
327 channel2.enableLights(true); in testChannelXml()
328 channel2.setBypassDnd(true); in testChannelXml()
329 channel2.setLockscreenVisibility(Notification.VISIBILITY_SECRET); in testChannelXml()
330 channel2.enableVibration(true); in testChannelXml()
331 channel2.setGroup(ncg.getId()); in testChannelXml()
332 channel2.setVibrationPattern(new long[]{100, 67, 145, 156}); in testChannelXml()
333 channel2.setLightColor(Color.BLUE); in testChannelXml()
[all …]
DNotificationManagerServiceTest.java571 final NotificationChannel channel2 = in testCreateNotificationChannels_TwoChannels() local
574 new ParceledListSlice(Arrays.asList(channel1, channel2))); in testCreateNotificationChannels_TwoChannels()
645 final NotificationChannel channel2 = in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond() local
648 new ParceledListSlice(Arrays.asList(channel1, channel2))); in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond()
1672 NotificationChannel channel2 = new NotificationChannel("a", "b", IMPORTANCE_LOW); in testCreateChannelNotifyListener() local
1674 eq(channel2.getId()), anyBoolean())) in testCreateChannelNotifyListener()
1675 .thenReturn(channel2); in testCreateChannelNotifyListener()
1677 eq(channel2), anyBoolean(), anyBoolean())) in testCreateChannelNotifyListener()
1682 new ParceledListSlice(Arrays.asList(mTestNotificationChannel, channel2))); in testCreateChannelNotifyListener()
1687 eq(Process.myUserHandle()), eq(channel2), in testCreateChannelNotifyListener()