Home
last modified time | relevance | path

Searched refs:addChannel (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DKnownBandsChannelHelperTest.java420 mChannelCollection.addChannel(2412); in addChannel_single()
441 mChannelCollection.addChannel(2412); in addChannel_multiple()
442 mChannelCollection.addChannel(2450); in addChannel_multiple()
464 mChannelCollection.addChannel(2412); in addChannel_and_addBand_sameBand()
486 mChannelCollection.addChannel(5160); in addChannel_and_addBand_withDifferentBandChannel()
508 mChannelCollection.addChannel(5160); in addChannel_and_addBand_all()
530 mChannelCollection.addChannel(5600); in addChannel_exceedMaxChannels()
531 mChannelCollection.addChannel(5650); in addChannel_exceedMaxChannels()
532 mChannelCollection.addChannel(5660); in addChannel_exceedMaxChannels()
545 mChannelCollection.addChannel(2412); in addChannel_exceedMaxChannelsOnMultipleBands()
[all …]
DChannelHelperTest.java150 verify(mChannelCollection).addChannel(2400); in addChannelsWifiScanner_channels()
151 verify(mChannelCollection).addChannel(5150); in addChannelsWifiScanner_channels()
179 verify(mChannelCollection).addChannel(2450); in addChannelsWifiNativeBucket_channels()
180 verify(mChannelCollection).addChannel(5100); in addChannelsWifiNativeBucket_channels()
DBaseWifiScannerImplTest.java108 collection.addChannel(channel); in expectedBandAndChannelScanFreqs()
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DFavoriteChannelEvaluatorTest.java46 long channelId = addChannel().getId(); in testOneChannelWithNoWatchLog()
55 addChannel(); in testOneChannelWithRandomWatchLogs()
116 long channelOne = addChannel().getId(); in testTwoChannelsWithSameWatchDuration()
117 long channelTwo = addChannel().getId(); in testTwoChannelsWithSameWatchDuration()
134 long channelOne = addChannel().getId(); in testTwoChannelsWithDifferentWatchDuration()
135 long channelTwo = addChannel().getId(); in testTwoChannelsWithDifferentWatchDuration()
162 long channelId = addChannel().getId(); in testScoreIncreasesWithNewWatchLog()
DRecentChannelEvaluatorTest.java48 long channelId = addChannel().getId(); in testOneChannelWithNoWatchLog()
57 addChannel(); in testOneChannelWithRandomWatchLogs()
154 long newChannelId = addChannel().getId(); in testScoreDecreasesWithIncrementOfWatchedLogUpdatedTime()
DRecommenderTest.java65 mChannel_1 = mChannelRecordSortedMap.addChannel();
66 mChannel_2 = mChannelRecordSortedMap.addChannel();
67 mChannel_3 = mChannelRecordSortedMap.addChannel();
68 mChannel_4 = mChannelRecordSortedMap.addChannel();
DEvaluatorTestCase.java61 public Channel addChannel() { in addChannel() method in EvaluatorTestCase
62 return mChannelRecordSortedMap.addChannel(); in addChannel()
DRecommendationUtils.java97 addChannel(); in addChannels()
107 public Channel addChannel() { in addChannel() method in RecommendationUtils.ChannelRecordSortedMapHelper
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/app/
DChannelListPreferenceControllerTest.java96 inGroup1.addChannel(new NotificationChannel("ch1a", "Channel 1A", IMPORTANCE_DEFAULT)); in testUpdateFullList_incrementalUpdates()
112 inGroup1.addChannel(new NotificationChannel("ch1b", "Channel 1B", IMPORTANCE_DEFAULT)); in testUpdateFullList_incrementalUpdates()
147 inGroup0.addChannel(new NotificationChannel("ch0b", "Channel 0B", IMPORTANCE_DEFAULT)); in testUpdateFullList_incrementalUpdates()
175 inGroup0.addChannel(new NotificationChannel("ch0a", "Channel 0A", IMPORTANCE_DEFAULT)); in testUpdateFullList_incrementalUpdates()
205 inGroupOther.addChannel(new NotificationChannel("chXa", "Other A", IMPORTANCE_DEFAULT)); in testUpdateFullList_incrementalUpdates()
206 inGroupOther.addChannel(new NotificationChannel("chXb", "Other B", IMPORTANCE_DEFAULT)); in testUpdateFullList_incrementalUpdates()
267 inGroup.addChannel(new NotificationChannel("channelA", "Channel A", IMPORTANCE_DEFAULT)); in testUpdateFullList_groupBlockedChange()
268 inGroup.addChannel(new NotificationChannel("channelB", "Channel B", IMPORTANCE_NONE)); in testUpdateFullList_groupBlockedChange()
338 inGroup.addChannel(channelA); in testUpdateFullList_channelUpdates()
339 inGroup.addChannel(channelB); in testUpdateFullList_channelUpdates()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DAppChannelsBypassingDndPreferenceControllerTest.java163 group.addChannel(new NotificationChannel("channel-" + (i + 1), "Channel " + (i + 1), in buildGroupList()
176 group1.addChannel(new NotificationChannel("mail_group1_id", "Mail", in displayPreference_duplicateChannelName_AddsGroupNameAsSummary()
178 group1.addChannel(new NotificationChannel("other_group1_id", "Other", in displayPreference_duplicateChannelName_AddsGroupNameAsSummary()
181 group2.addChannel(new NotificationChannel("music_group2_id", "Music", in displayPreference_duplicateChannelName_AddsGroupNameAsSummary()
184 group2.addChannel(new NotificationChannel("mail_group2_id", "Mail", in displayPreference_duplicateChannelName_AddsGroupNameAsSummary()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DChannelHelper.java103 public abstract void addChannel(int channel); in addChannel() method in ChannelHelper.ChannelCollection
156 addChannel(scanSettings.channels[j].frequency); in addChannels()
178 addChannel(bucketSettings.channels[j].frequency); in addChannels()
DKnownBandsChannelHelper.java332 public void addChannel(int frequency) { in addChannel() method in KnownBandsChannelHelper.KnownBandsChannelCollection
DBackgroundScanScheduler.java798 splitBucketChannelCollection.addChannel(channel); in createSplitBuckets()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeBroadcastSubgroup.java189 builder.addChannel(channel);
300 public @NonNull Builder addChannel(@NonNull BluetoothLeBroadcastChannel channel) { in addChannel() method in BluetoothLeBroadcastSubgroup.Builder
/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DAliroDecoder.java199 builder.addChannel(prioritizedChannel); in getAliroSpecificationParamsFromTlvBuffer()
205 builder.addChannel(UWB_CHANNEL_5); in getAliroSpecificationParamsFromTlvBuffer()
208 builder.addChannel(UWB_CHANNEL_9); in getAliroSpecificationParamsFromTlvBuffer()
DCccDecoder.java205 builder.addChannel(prioritizedChannel); in getCccSpecificationParamsFromTlvBuffer()
211 builder.addChannel(UWB_CHANNEL_5); in getCccSpecificationParamsFromTlvBuffer()
214 builder.addChannel(UWB_CHANNEL_9); in getCccSpecificationParamsFromTlvBuffer()
/packages/apps/TV/src/com/android/tv/data/
DChannelDataManager.java111 addChannel(data, channel.mChannel);
138 addChannel(data, channelWrapper.mChannel);
508 private void addChannel(ChannelData data, Channel channel) { in addChannel() method in ChannelDataManager
716 addChannel(data, channelWrapper.mChannel); in onPostExecute()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/ccc/
DCccSpecificationParams.java182 builder.addChannel(channel); in parseVersion1()
370 public Builder addChannel(@Channel int channel) { in addChannel() method in CccSpecificationParams.Builder
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/aliro/
DAliroSpecificationParams.java183 builder.addChannel(channel); in parseVersion1()
371 public Builder addChannel(@Channel int channel) { in addChannel() method in AliroSpecificationParams.Builder
/packages/modules/Uwb/service/support_lib/test/
DAliroTests.java303 paramsBuilder.addChannel(channel); in testSpecificationParams()
341 paramsBuilder.addChannel(0); in testSpecificationParams()
DCccTests.java298 paramsBuilder.addChannel(channel); in testSpecificationParams()
335 paramsBuilder.addChannel(0); in testSpecificationParams()
DGenericTests.java149 paramsBuilder.addChannel(channel); in testSpecificationParams()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DScanFragment.java333 private void addChannel(final TunerChannel channel) { in addChannel() method in ScanFragment.ChannelScanTask
520 addChannel(channel); in onChannelDetected()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbServiceCoreTest.java1985 paramsBuilder.addChannel(channel); in getTestCccSpecificationParams()
2058 paramsBuilder.addChannel(channel); in getTestAliroSpecificationParams()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioBroadcastServiceTest.java594 builder.addChannel(channel); in createBroadcastSubgroup()

12