Home
last modified time | relevance | path

Searched refs:freqs (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSavedNetworkNominatorTest.java132 int[] freqs = {2470, 2437}; in ignoreNetworksIfUseExternalScores() local
139 freqs, caps, levels, securities, mWifiConfigManager, mClock); in ignoreNetworksIfUseExternalScores()
160 int[] freqs = {2470}; in ignoreNetworkIfSimIsAbsentForEapSimNetwork() local
165 freqs, levels, mWifiConfigManager, mClock); in ignoreNetworkIfSimIsAbsentForEapSimNetwork()
188 int[] freqs = {2470, 2437}; in ignoreEphemeralNetworks() local
195 freqs, caps, levels, securities, mWifiConfigManager, mClock); in ignoreEphemeralNetworks()
218 int[] freqs = {2470, 2437}; in ignoreNetworksIfAutojoinNotAllowed() local
225 freqs, caps, levels, securities, mWifiConfigManager, mClock); in ignoreNetworksIfAutojoinNotAllowed()
254 int[] freqs = {2470, 2437}; in returnNoCandidateIfNoNetworksAllowAutojoin() local
261 freqs, caps, levels, securities, mWifiConfigManager, mClock); in returnNoCandidateIfNoNetworksAllowAutojoin()
[all …]
DNetworkSuggestionNominatorTest.java119 int[] freqs = {2470, 2437}; in testSelectNetworkSuggestionForNoMatch() local
134 buildScanDetails(scanSsids, bssids, freqs, caps, levels, mClock); in testSelectNetworkSuggestionForNoMatch()
162 int[] freqs = {2470, 2437}; in testSelectNetworkSuggestionForOneMatch() local
176 buildScanDetails(scanSsids, bssids, freqs, caps, levels, mClock); in testSelectNetworkSuggestionForOneMatch()
202 int[] freqs = {2470}; in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion() local
217 buildScanDetails(scanSsids, bssids, freqs, caps, levels, mClock); in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion()
250 int[] freqs = {2470, 2437}; in testSelectNetworkSuggestionForMultipleMatch() local
265 buildScanDetails(scanSsids, bssids, freqs, caps, levels, mClock); in testSelectNetworkSuggestionForMultipleMatch()
296 int[] freqs = {2470, 2437}; in testSelectNetworkSuggestionForMultipleMatchHighPriorityWins() local
311 buildScanDetails(scanSsids, bssids, freqs, caps, levels, mClock); in testSelectNetworkSuggestionForMultipleMatchHighPriorityWins()
[all …]
DWifiNetworkSelectorTest.java544 int[] freqs = new int[0]; in emptyScanResults() local
551 freqs, caps, levels, securities, mWifiConfigManager, mClock); in emptyScanResults()
578 int[] freqs = {2437, 5180}; in verifyMinimumRssiThreshold() local
585 freqs, caps, levels, securities, mWifiConfigManager, mClock); in verifyMinimumRssiThreshold()
614 int[] freqs = {2437, 5180}; in verifyMinimumTimeGapWhenConnected() local
622 freqs, caps, levels, securities, mWifiConfigManager, mClock); in verifyMinimumTimeGapWhenConnected()
667 int[] freqs = {2437, 5180}; in verifyNoMinimumTimeGapWhenDisconnected() local
675 freqs, caps, levels, securities, mWifiConfigManager, mClock); in verifyNoMinimumTimeGapWhenDisconnected()
718 int[] freqs = {5180}; in lowRssi5GNetworkIsNotSufficient() local
725 freqs, caps, levels, securities, mWifiConfigManager, mClock); in lowRssi5GNetworkIsNotSufficient()
[all …]
DScanTestUtil.java321 private static ScanData createScanData(int[] freqs, int bucketsScanned, int bandScanned) { in createScanData() argument
322 ScanResult[] results = new ScanResult[freqs.length]; in createScanData()
323 for (int i = 0; i < freqs.length; ++i) { in createScanData()
324 results[i] = createScanResult(freqs[i]); in createScanData()
329 private static ScanData createScanData(int[] freqs, int bucketsScanned) { in createScanData() argument
330 return createScanData(freqs, bucketsScanned, WifiScanner.WIFI_BAND_UNSPECIFIED); in createScanData()
334 int[][] freqs, int[] bucketsScanned, int[] bandsScanned) { in createScanDatas() argument
335 assumeTrue(freqs.length == bucketsScanned.length); in createScanDatas()
336 assumeTrue(freqs.length == bandsScanned.length); in createScanDatas()
337 ScanData[] data = new ScanData[freqs.length]; in createScanDatas()
[all …]
DScanResults.java116 private static ScanDetail[] generateNativeResults(boolean needIE, int seed, int... freqs) { in generateNativeResults() argument
117 ScanDetail[] results = new ScanDetail[freqs.length]; in generateNativeResults()
121 for (int i = 0; i < freqs.length; ++i) { in generateNativeResults()
122 int freq = freqs[i]; in generateNativeResults()
149 public static ScanDetail[] generateNativeResults(int seed, int... freqs) { in generateNativeResults() argument
150 return generateNativeResults(true, seed, freqs); in generateNativeResults()
157 public static ScanResults create(int id, int bandScanned, int... freqs) { in create() argument
158 return create(id, bandScanned, generateNativeResults(id, freqs)); in create()
DWifiNetworkSelectorTestUtil.java97 String[] bssids, int[] freqs, String[] caps, int[] levels, int[] securities, in setupScanDetailsAndConfigStore() argument
99 List<ScanDetail> scanDetails = buildScanDetails(ssids, bssids, freqs, caps, levels, clock); in setupScanDetailsAndConfigStore()
109 String[] bssids, int[] freqs, String[] caps, int[] levels, in setupScanDetailsAndConfigStore() argument
117 List<ScanDetail> scanDetails = buildScanDetailsWithNetworkDetails(ssids, bssids, freqs, in setupScanDetailsAndConfigStore()
141 String[] bssids, int[] freqs, int[] levels, in setupScanDetailsAndConfigForEapSimNetwork() argument
148 List<ScanDetail> scanDetails = buildScanDetails(ssids, bssids, freqs, caps, levels, clock); in setupScanDetailsAndConfigForEapSimNetwork()
215 public static List<ScanDetail> buildScanDetails(String[] ssids, String[] bssids, int[] freqs, in buildScanDetails() argument
223 bssids[index], caps[index], levels[index], freqs[index], timeStamp, 0); in buildScanDetails()
242 String[] bssids, int[] freqs, in buildScanDetailsWithNetworkDetails() argument
252 freqs[index]); in buildScanDetailsWithNetworkDetails()
[all …]
DWifiLinkLayerStatsTest.java61 int[] freqs = {2412, 5652}; in setupLinkStats() local
70 mWifiLinkLayerStats.links[i].frequencyMhz = freqs[i]; in setupLinkStats()
DWifiConnectivityManagerTest.java5940 List<List<Integer>> freqs = linkScoreCardFreqsToNetwork(configuration1, configuration2); in testFetchChannelSetForPartialScanMaxCount() local
5947 new HashSet<>(freqs.get(0)), in testFetchChannelSetForPartialScanMaxCount()
5957 assertTrue(channelSet.contains(freqs.get(0).get(0))); in testFetchChannelSetForPartialScanMaxCount()
5958 assertTrue(channelSet.contains(freqs.get(1).get(0))); in testFetchChannelSetForPartialScanMaxCount()
5966 assertTrue(channelSet.contains(freqs.get(0).get(0))); in testFetchChannelSetForPartialScanMaxCount()
5967 assertTrue(channelSet.contains(freqs.get(0).get(1))); in testFetchChannelSetForPartialScanMaxCount()
5968 assertTrue(channelSet.contains(freqs.get(1).get(0))); in testFetchChannelSetForPartialScanMaxCount()
5981 List<List<Integer>> freqs = linkScoreCardFreqsToNetwork(configuration); in testFetchChannelSetForNetwork() local
5983 assertEquals(new HashSet<>(freqs.get(0)), mWifiConnectivityManager in testFetchChannelSetForNetwork()
6004 Set<Integer> freqs = mWifiConnectivityManager.fetchChannelSetForNetworkForPartialScan( in testFetchChannelSetForNetworkIncludeCurrentNetwork() local
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java219 Set<Integer> freqs = Collections.emptySet(); in startSingleScan() local
221 freqs = allFreqs.getScanFreqs(); in startSingleScan()
223 getIfaceName(), settings.scanType, freqs, hiddenNetworkSSIDSet, in startSingleScan()
226 Log.e(TAG, "Failed to start scan, freqs=" + freqs + " status: " in startSingleScan()
236 Log.d(TAG, "Starting wifi scan for freqs=" + freqs in startSingleScan()
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dle_audio_utils.cc98 SupportedSamplingFrequencies freqs{ in GetAidlCodecCapabilitiesFromStack()
100 if (freqs.bitmask) ltvs.push_back(freqs); in GetAidlCodecCapabilitiesFromStack()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java1943 Set<Integer> freqs; in setScanChannels() local
1956 freqs = fetchChannelSetForPartialScan(maxCount, maxCountPerNetwork, ageInMillis); in setScanChannels()
1958 freqs = fetchChannelSetForNetworkForPartialScan(config.networkId); in setScanChannels()
1961 if (freqs != null && freqs.size() != 0) { in setScanChannels()
1963 settings.channels = new WifiScanner.ChannelSpec[freqs.size()]; in setScanChannels()
1964 for (Integer freq : freqs) { in setScanChannels()
DWifiNative.java1925 @NonNull String ifaceName, @WifiAnnotations.ScanType int scanType, Set<Integer> freqs, in scan() argument
1948 scanRequestStatus = mWifiCondManager.startScan2(ifaceName, scanType, freqs, in scan()
1951 scanStatus = mWifiCondManager.startScan(ifaceName, scanType, freqs, in scan()
1959 scanStatus = mWifiCondManager.startScan(ifaceName, scanType, freqs, in scan()
DWifiServiceImpl.java1995 List<Integer> freqs = new ArrayList<>(); in onDriverCountryCodeChanged() local
2005 freqs.addAll(freqsForBand); in onDriverCountryCodeChanged()
2016 new JSONArray(freqs).toString()); in onDriverCountryCodeChanged()
7501 List<Integer> freqs = new ArrayList<>();
7508 freqs.add(json.getInt(i));
7514 for (int freq : freqs) {