Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DKnownBandsChannelHelperTest.java320 ChannelHelper.ChannelCollection mChannelCollection; field in KnownBandsChannelHelperTest.KnownBandsChannelCollectionTest
333 mChannelCollection = channelHelper.createChannelCollection(); in setUp()
342 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in empty()
346 mChannelCollection.getScanFreqs()); in empty()
348 assertTrue(mChannelCollection.isEmpty()); in empty()
349 assertFalse(mChannelCollection.containsChannel(2412)); in empty()
350 assertFalse(mChannelCollection.containsChannel(5160)); in empty()
351 assertFalse(mChannelCollection.isAllChannels()); in empty()
359 mChannelCollection.addBand(WifiScanner.WIFI_BAND_24_GHZ); in clear()
360 mChannelCollection.clear(); 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 …]
/frameworks/opt/net/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()