Home
last modified time | relevance | path

Searched refs:bands (Results 1 – 25 of 30) sorted by relevance

12

/packages/services/Telephony/testapps/TelephonyManagerTestApp/src/com/android/phone/testapps/telephonymanagertestapp/
DParameterParser.java88 int[] bands = new int[bandStrings.length]; in parseRadioAccessSpecifier() local
92 for (int i = 0; i < bands.length; i++) { in parseRadioAccessSpecifier()
93 bands[i] = Integer.parseInt(bandStrings[i]); in parseRadioAccessSpecifier()
99 return new RadioAccessSpecifier(ran, bands, chans); in parseRadioAccessSpecifier()
/packages/modules/Wifi/framework/java/android/net/wifi/
DSoftApConfiguration.java864 int[] bands = new int[mChannels.size()]; in getBands() local
865 for (int i = 0; i < bands.length; i++) { in getBands()
866 bands[i] = mChannels.keyAt(i); in getBands()
868 return bands; in getBands()
1700 public Builder setBands(@NonNull int[] bands) { in setBands() argument
1704 if (bands.length == 0 || bands.length > 2) { in setBands()
1706 + bands.length + ") configured"); in setBands()
1708 SparseIntArray channels = new SparseIntArray(bands.length); in setBands()
1709 for (int val : bands) { in setBands()
DWifiBands.aidl25 int[] bands;
DWifiManager.java12230 bandCombinations.add(wifiBands.bands); in getSupportedSimultaneousBandCombinations()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherMaximizeCompatibilityPreferenceController.java137 int[] bands = { in setupMaximizeCompatibility() local
140 builder.setBands(bands); in setupMaximizeCompatibility()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java676 int[] bands = {SoftApConfiguration.BAND_2GHZ | SoftApConfiguration.BAND_6GHZ, in updateBandMask6gSecurityRestrictionBridged() local
682 .setBands(bands) in updateBandMask6gSecurityRestrictionBridged()
690 .setBands(bands) in updateBandMask6gSecurityRestrictionBridged()
698 .setBands(bands) in updateBandMask6gSecurityRestrictionBridged()
701 assertArrayEquals(bands, in updateBandMask6gSecurityRestrictionBridged()
706 .setBands(bands) in updateBandMask6gSecurityRestrictionBridged()
716 .setBands(bands) in updateBandMask6gSecurityRestrictionBridged()
751 int[] bands = {SoftApConfiguration.BAND_2GHZ, in verifyThatBand6GIsUpdatedWhenHalCanConvertRestrictedSecurityType() local
754 .setBands(bands) in verifyThatBand6GIsUpdatedWhenHalCanConvertRestrictedSecurityType()
759 assertArrayEquals(bands, in verifyThatBand6GIsUpdatedWhenHalCanConvertRestrictedSecurityType()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNetworkSelector.java1278 for (List<Integer> bands : simultaneousBandCombinations) { in updateMultiLinkCandidatesThroughput()
1280 if (bands.size() > maxMloStrLinkCount) break; in updateMultiLinkCandidatesThroughput()
1281 List<Integer> strBandsToIntersect = new ArrayList<>(bands); in updateMultiLinkCandidatesThroughput()
1295 @NonNull List<WifiCandidates.Candidate> candidates, @NonNull List<Integer> bands) { in intersectMlCandidatesWithStrBands() argument
1302 if (bands.contains(band)) { in intersectMlCandidatesWithStrBands()
1304 bands.remove(bands.indexOf(band)); in intersectMlCandidatesWithStrBands()
1311 return (bands.isEmpty()) ? intersectedCandidates : null; in intersectMlCandidatesWithStrBands()
DWifiApConfigStore.java374 int[] bands = config.getBands(); in sanitizePersistentApConfig() local
377 for (int i = 0; i < bands.length; i++) { in sanitizePersistentApConfig()
380 int newBand = bands[i]; in sanitizePersistentApConfig()
402 } else if (bands.length > 0 && newChannels.valueAt(0) == 0) { in sanitizePersistentApConfig()
DSoftApManager.java2207 List<Integer> bands = new ArrayList<Integer>(); in processMessageImpl() local
2208 bands.add(wifiBand); in processMessageImpl()
2222 bands.add(sapBand); in processMessageImpl()
2232 if (!mWifiNative.isBandCombinationSupported(wifiInterface, bands)) { in processMessageImpl()
2286 int[] bands = mCurrentSoftApConfiguration.getBands(); in writeSoftApStartedEvent() local
2287 if (bands.length >= 1) { in writeSoftApStartedEvent()
2288 band1 = bands[0]; in writeSoftApStartedEvent()
2290 if (bands.length >= 2) { in writeSoftApStartedEvent()
2291 band2 = bands[1]; in writeSoftApStartedEvent()
DWifiNative.java3997 int bands = 0;
4001 bands |= WifiScanner.WIFI_BAND_24_GHZ;
4004 bands |= WifiScanner.WIFI_BAND_5_GHZ;
4007 bands |= WifiScanner.WIFI_BAND_6_GHZ;
4010 bands |= WifiScanner.WIFI_BAND_60_GHZ;
4016 bands |= WifiScanner.WIFI_BAND_24_GHZ;
4018 bands |= WifiScanner.WIFI_BAND_5_GHZ;
4020 bands |= WifiScanner.WIFI_BAND_6_GHZ;
4022 bands |= WifiScanner.WIFI_BAND_60_GHZ;
4028 + Integer.toHexString(bands));
[all …]
DActiveModeWarden.java2832 private void setBandSupported(@WifiScanner.WifiBand int bands) { in setBandSupported() argument
2833 mBandsSupported.set(bands); in setBandSupported()
2834 saveStaBandsToConfigStoreIfNecessary(bands); in setBandSupported()
2883 private void saveStaBandsToConfigStoreIfNecessary(int bands) { in saveStaBandsToConfigStoreIfNecessary() argument
2884 if (bands != getStaBandsFromConfigStore()) { in saveStaBandsToConfigStoreIfNecessary()
2885 mWifiInjector.getSettingsConfigStore().put(WIFI_NATIVE_SUPPORTED_STA_BANDS, bands); in saveStaBandsToConfigStoreIfNecessary()
2886 Log.i(TAG, "Supported STA bands is updated in config store: " + bands); in saveStaBandsToConfigStoreIfNecessary()
DHalDeviceManager.java529 @NonNull List<Integer> bands) { in isBandCombinationSupported() argument
534 return combinations.contains(bands.stream().sorted().collect(Collectors.toList())); in isBandCombinationSupported()
2807 List<Integer> bands = new ArrayList<>();
2809 bands.add(config.bandInfo);
2812 Collections.sort(bands);
2813 lookupTable.add(Collections.unmodifiableList(bands));
DWifiVendorHal.java2076 @NonNull List<Integer> bands) {
2080 return mHalDeviceManager.isBandCombinationSupported(iface, bands);
DWifiServiceImpl.java8344 for (List<Integer> bands : bandsSet) {
8346 supportedBands[i].bands = bands.stream().mapToInt(
/packages/modules/Bluetooth/system/embdrv/encoder_for_aptx/src/
DAptxParameters.h118 typedef enum { LL = 0, LH = 1, HL = 2, HH = 3 } bands; typedef
/packages/modules/Bluetooth/system/embdrv/encoder_for_aptxhd/src/
DAptxParameters.h113 typedef enum { LL = 0, LH = 1, HL = 2, HH = 3 } bands; typedef
/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java353 int[] bands = {BAND_2GHZ, BAND_2GHZ_5GHZ}; in setSpeedType() local
354 configBuilder.setBands(bands); in setSpeedType()
/packages/modules/Wifi/service/proto/src/
Dscorecard.proto59 // Link bandwidth stats of all bands, links and signal levels
195 // Link bandwidth stats of all bands, links and signal levels
Dmetrics.proto645 // WiFi channel utilization histogram of various RF bands
648 // WiFi Tx and Rx throughput histogram at various RF bands
794 // supports both 2.4 GHz and 5 GHz bands.
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java811 int[] bands = {BAND_2GHZ, BAND_2GHZ_5GHZ}; in mockConfig() local
812 configBuilder.setBands(bands); in mockConfig()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java1397 int[] bands = config.getBands();
1398 if ((bands[0] & SoftApConfiguration.BAND_60GHZ) != 0
1399 || (bands[1] & SoftApConfiguration.BAND_60GHZ) != 0) {
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHalDeviceManagerTest.java3705 List<Integer> bands = new ArrayList<>(supportedBands); in testBandCombinations() local
3706 Collections.shuffle(bands); in testBandCombinations()
3707 assertTrue(mDut.isBandCombinationSupported(iface, bands)); in testBandCombinations()
DWifiServiceImplTest.java12231 for (int i = 0; i < band.bands.length; ++i) { in testSupportedBandCombinations()
12233 if (band.bands[i] != l.get(i)) return false; in testSupportedBandCombinations()
/packages/inputmethods/LatinIME/dictionaries/
Dsv_wordlist.combined.gz
Den_GB_wordlist.combined.gz

12