Home
last modified time | relevance | path

Searched refs:toBand (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DMultiInternetManager.java225 final int band = ScanResult.toBand(info.getFrequency()); in onInternetValidated()
438 if (ScanResult.toBand(info.getFrequency()) == ScanResult.toBand(info2.getFrequency())) { in notifyBssidAssociatedEvent()
514 final int band = ScanResult.toBand(info.getFrequency()); in updateNetworkConnectionStates()
600 if (band != ScanResult.toBand(wifiInfo.getFrequency())) { in disconnectSecondaryIfNeeded()
630 return ScanResult.toBand(info.getFrequency()); in getSecondaryConnectedNetworkBand()
DWifiConnectivityManager.java387 : ScanResult.toBand(primaryFreq) != ScanResult.toBand(secondaryFreq); in filterMultiInternetFrequency()
414 final int primaryBand = ScanResult.toBand(primaryInfo.getFrequency()); in handleConnectToMultiInternetConnectionInternal()
448 final int band = ScanResult.toBand(c.getFrequency()); in handleConnectToMultiInternetConnectionInternal()
DWifiScoreReport.java221 link.setBand(ScanResult.toBand(pollResults.getFrequency(linkId))); in triggerUpdateOfWifiUsabilityStats()
DWifiNetworkSelector.java1301 int band = Integer.valueOf(ScanResult.toBand(k.getFrequency())); in intersectMlCandidatesWithStrBands()
DSoftApManager.java2310 band |= ScanResult.toBand(info.getFrequency()); in writeSoftApStoppedEvent()
DClientModeImpl.java2733 link.setBand(ScanResult.toBand(pollResults.getFrequency(linkId))); in updateMloLinkFromPollResults()
3207 link.setBand(ScanResult.toBand(bssFreq)); in updateAssociatedMloLinksFromLinksInfoWhenBssFreqChanged()
3411 link.setBand(ScanResult.toBand(info.links[i].getFrequencyMHz())); in updateMloLinkAddrAndStates()
DWifiServiceImpl.java7515 if ((band & ScanResult.toBand(freq)) == 0) {
/packages/modules/Wifi/framework/java/android/net/wifi/
DScanResult.java997 int band1 = toBand(freqMhz1); in isValidCombinedBandForDual5GHz()
998 int band2 = toBand(freqMhz2); in isValidCombinedBandForDual5GHz()
1131 @WifiBand public static int toBand(int frequency) { in toBand() method in ScanResult
1150 return ScanResult.toBand(this.frequency); in getBand()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DNetworkDetail.java384 int operatingBand = ScanResult.toBand(mPrimaryFreq); in NetworkDetail()
488 link.setBand(ScanResult.toBand(mPrimaryFreq)); in NetworkDetail()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DScanResultTest.java425 assertEquals(WifiScanner.WIFI_BAND_24_GHZ, ScanResult.toBand(TEST_FREQUENCY)); in testScanResultToBand()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java1646 specifiedBssids.put(ScanResult.toBand(mCandidate4.getFrequency()), in multiInternetSecondaryConnectionRequest_filteredBssidExists()
1659 specifiedBssids.put(ScanResult.toBand(mCandidate2.getFrequency()), in multiInternetSecondaryConnectionRequest_filterBssidNotExist()
1661 specifiedBssids.put(ScanResult.toBand(mCandidate4.getFrequency()), in multiInternetSecondaryConnectionRequest_filterBssidNotExist()