Searched refs:freqs (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/hardware/ |
D | ConsumerIrManager.java | 140 int[] freqs = mService.getCarrierFrequencies(); in getCarrierFrequencies() local 141 if (freqs.length % 2 != 0) { in getCarrierFrequencies() 145 CarrierFrequencyRange[] range = new CarrierFrequencyRange[freqs.length / 2]; in getCarrierFrequencies() 147 for (int i = 0; i < freqs.length; i += 2) { in getCarrierFrequencies() 148 range[i / 2] = new CarrierFrequencyRange(freqs[i], freqs[i+1]); in getCarrierFrequencies()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScanResults.java | 100 private static ScanDetail[] generateNativeResults(boolean needIE, int seed, int... freqs) { in generateNativeResults() argument 101 ScanDetail[] results = new ScanDetail[freqs.length]; in generateNativeResults() 105 for (int i = 0; i < freqs.length; ++i) { in generateNativeResults() 106 int freq = freqs[i]; in generateNativeResults() 132 public static ScanDetail[] generateNativeResults(int seed, int... freqs) { in generateNativeResults() argument 133 return generateNativeResults(true, seed, freqs); in generateNativeResults() 140 public static ScanResults create(int id, int... freqs) { in create() argument 141 return new ScanResults(id, -1, generateNativeResults(id, freqs)); in create() 147 public static ScanResults createWithNoIE(int id, int... freqs) { in createWithNoIE() argument 148 return new ScanResults(id, -1, generateNativeResults(false, id, freqs)); in createWithNoIE()
|
D | ScanTestUtil.java | 215 private static ScanData createScanData(int[] freqs, int bucketsScanned) { in createScanData() argument 216 ScanResult[] results = new ScanResult[freqs.length]; in createScanData() 217 for (int i = 0; i < freqs.length; ++i) { in createScanData() 218 results[i] = createScanResult(freqs[i]); in createScanData() 223 public static ScanData[] createScanDatas(int[][] freqs, int[] bucketsScanned) { in createScanDatas() argument 224 assumeTrue(freqs.length == bucketsScanned.length); in createScanDatas() 225 ScanData[] data = new ScanData[freqs.length]; in createScanDatas() 226 for (int i = 0; i < freqs.length; ++i) { in createScanDatas() 227 data[i] = createScanData(freqs[i], bucketsScanned[i]); in createScanDatas() 232 public static ScanData[] createScanDatas(int[][] freqs) { in createScanDatas() argument [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConnectivityManager.java | 638 HashSet<Integer> freqs = mConfigManager.makeChannelList(config, CHANNEL_LIST_AGE_MS); in setScanChannels() local 640 if (freqs != null && freqs.size() != 0) { in setScanChannels() 642 settings.channels = new WifiScanner.ChannelSpec[freqs.size()]; in setScanChannels() 643 for (Integer freq : freqs) { in setScanChannels()
|
D | WifiStateMachine.java | 1607 Set<Integer> freqs = null; in handleScanRequest() local 1609 freqs = new HashSet<Integer>(); in handleScanRequest() 1611 freqs.add(channel.freqMHz); in handleScanRequest() 1619 if (startScanNative(freqs, hiddenNetworkIds, workSource)) { in handleScanRequest() 1621 if (freqs == null) in handleScanRequest() 1645 if (freqs == null) in handleScanRequest() 1673 private boolean startScanNative(final Set<Integer> freqs, Set<Integer> hiddenNetworkIds, in startScanNative() argument 1676 if (freqs == null) { in startScanNative() 1681 settings.channels = new WifiScanner.ChannelSpec[freqs.size()]; in startScanNative() 1682 for (Integer freq : freqs) { in startScanNative() [all …]
|
D | WifiNative.java | 363 public boolean scan(Set<Integer> freqs, Set<Integer> hiddenNetworkIds) { in scan() argument 366 if (freqs != null && freqs.size() != 0) { in scan() 367 freqList = createCSVStringFromIntegerSet(freqs); in scan()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | SupplicantWifiScannerImpl.java | 435 Set<Integer> freqs = allFreqs.getSupplicantScanFreqs(); in processPendingScans() local 436 boolean success = mWifiNative.scan(freqs, hiddenNetworkIdSet); in processPendingScans() 440 Log.d(TAG, "Starting wifi scan for freqs=" + freqs in processPendingScans() 449 Log.e(TAG, "Failed to start scan, freqs=" + freqs); in processPendingScans()
|