Home
last modified time | relevance | path

Searched refs:mChannelCollection (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DKnownBandsChannelHelperTest.java336 ChannelHelper.ChannelCollection mChannelCollection; field in KnownBandsChannelHelperTest.KnownBandsChannelCollectionTest
350 mChannelCollection = channelHelper.createChannelCollection(); in setUp()
359 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in empty()
363 mChannelCollection.getScanFreqs()); in empty()
365 assertTrue(mChannelCollection.isEmpty()); in empty()
366 assertFalse(mChannelCollection.containsChannel(2412)); in empty()
367 assertFalse(mChannelCollection.containsChannel(5160)); in empty()
368 assertFalse(mChannelCollection.containsChannel(58320)); in empty()
369 assertFalse(mChannelCollection.isAllChannels()); in empty()
377 mChannelCollection.addBand(WifiScanner.WIFI_BAND_24_GHZ); in clear()
[all …]
DChannelHelperTest.java124 ChannelHelper.ChannelCollection mChannelCollection; field in ChannelHelperTest.ChannelCollectionTest
133 mChannelCollection = mock(ChannelHelper.ChannelCollection.class); in setUp()
134 doCallRealMethod().when(mChannelCollection) in setUp()
136 doCallRealMethod().when(mChannelCollection) in setUp()
148 mChannelCollection.addChannels(testSettings); in addChannelsWifiScanner_channels()
150 verify(mChannelCollection).addChannel(2400); in addChannelsWifiScanner_channels()
151 verify(mChannelCollection).addChannel(5150); in addChannelsWifiScanner_channels()
162 mChannelCollection.addChannels(testSettings); in addChannelsWifiScanner_band()
164 verify(mChannelCollection).addBand(WifiScanner.WIFI_BAND_BOTH); in addChannelsWifiScanner_band()
177 mChannelCollection.addChannels(testBucket); in addChannelsWifiNativeBucket_channels()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DBackgroundScanScheduler.java134 private final ChannelCollection mChannelCollection; field in BackgroundScanScheduler.Bucket
140 mChannelCollection = mChannelHelper.createChannelCollection(); in Bucket()
163 mChannelCollection.addChannels(scanSettings); in addSettings()
183 mChannelCollection.clear(); in updateChannelCollection()
185 mChannelCollection.addChannels(settings); in updateChannelCollection()
190 return mChannelCollection; in getChannelCollection()
240 mChannelCollection.fillBucketSettings(bucketSettings, maxChannels); in createBucketSettings()