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.java264 ChannelHelper.ChannelCollection mChannelCollection; field in KnownBandsChannelHelperTest.KnownBandsChannelCollectionTest
276 mChannelCollection = channelHelper.createChannelCollection(); in setUp()
285 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in empty()
289 mChannelCollection.getScanFreqs()); in empty()
291 assertTrue(mChannelCollection.isEmpty()); in empty()
292 assertFalse(mChannelCollection.containsChannel(2400)); in empty()
293 assertFalse(mChannelCollection.containsChannel(5150)); in empty()
294 assertFalse(mChannelCollection.isAllChannels()); in empty()
302 mChannelCollection.addBand(WifiScanner.WIFI_BAND_24_GHZ); in clear()
303 mChannelCollection.clear(); in clear()
[all …]
DChannelHelperTest.java121 ChannelHelper.ChannelCollection mChannelCollection; field in ChannelHelperTest.ChannelCollectionTest
130 mChannelCollection = mock(ChannelHelper.ChannelCollection.class); in setUp()
131 doCallRealMethod().when(mChannelCollection) in setUp()
133 doCallRealMethod().when(mChannelCollection) in setUp()
145 mChannelCollection.addChannels(testSettings); in addChannelsWifiScanner_channels()
147 verify(mChannelCollection).addChannel(2400); in addChannelsWifiScanner_channels()
148 verify(mChannelCollection).addChannel(5150); in addChannelsWifiScanner_channels()
159 mChannelCollection.addChannels(testSettings); in addChannelsWifiScanner_band()
161 verify(mChannelCollection).addBand(WifiScanner.WIFI_BAND_BOTH); in addChannelsWifiScanner_band()
174 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()