Home
last modified time | relevance | path

Searched refs:getBands (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiApConfigStore.java162 && mPersistentWifiApConfig.getBands().length > 1) { in WifiApConfigStore()
243 && config.getBands().length == 1 && mContext.getResources().getBoolean( in upgradeSoftApConfiguration()
316 if (SdkLevel.isAtLeastS() && config.getBands().length > 1) { in resetToDefaultForUnsupportedConfig()
318 || !isBandsSupported(config.getBands(), mContext)) { in resetToDefaultForUnsupportedConfig()
320 for (int targetBand : config.getBands()) { in resetToDefaultForUnsupportedConfig()
374 int[] bands = config.getBands(); in sanitizePersistentApConfig()
494 && !isBandsSupported(customConfig.getBands(), context)) { in generateLocalOnlyHotspotConfig()
680 if (!isBandsSupported(apConfig.getBands(), context)) { in validateApWifiConfiguration()
685 for (int band : apConfig.getBands()) { in validateApWifiConfiguration()
702 } else if (apConfig.getBands().length > 1) { in validateApWifiConfiguration()
DSoftApManager.java359 for (int configuredBand : mCurrentSoftApConfiguration.getBands()) { in updateSafeChannelFrequencyList()
541 && (mCurrentSoftApConfiguration.getBands().length > 1)); in isBridgedMode()
1249 if (mCurrentSoftApConfiguration.getBands().length == 1) { in processMessageImpl()
1270 for (int configuredBand : mCurrentSoftApConfiguration.getBands()) { in processMessageImpl()
1453 if (mCurrentSoftApConfiguration.getBands().length == 1) { in processMessageImpl()
2286 int[] bands = mCurrentSoftApConfiguration.getBands(); in writeSoftApStartedEvent()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSNetworkScanCtlr.java314 bandSet4G.addAll(availableNetwork.getBands()); in createNetworkScanRequest()
316 bandSet5G.addAll(availableNetwork.getBands()); in createNetworkScanRequest()
323 bandSet4G.addAll(Arrays.stream(radioAccessSpecifier.getBands()) in createNetworkScanRequest()
327 bandSet5G.addAll(Arrays.stream(radioAccessSpecifier.getBands()) in createNetworkScanRequest()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java687 .getBands()); in updateBandMask6gSecurityRestrictionBridged()
695 .getBands()); in updateBandMask6gSecurityRestrictionBridged()
703 .getBands()); in updateBandMask6gSecurityRestrictionBridged()
712 .getBands()); in updateBandMask6gSecurityRestrictionBridged()
721 .getBands()); in updateBandMask6gSecurityRestrictionBridged()
761 .getBands()); in verifyThatBand6GIsUpdatedWhenHalCanConvertRestrictedSecurityType()
1122 mCoexManager, mContext).getBands()); in testUpdateBandInConfigOnFindingUnavailableChannels()
1138 mCoexManager, mContext).getBands()); in testUpdateBandInConfigOnFindingUnavailableChannels()
1154 mCoexManager, mContext).getBands()); in testUpdateBandInConfigOnFindingUnavailableChannels()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java652 if (config.getBands().length == 1) { in removeUnavailableBandsFromConfig()
774 if (config.getBands().length == 1) { in remove6gBandForUnsupportedSecurity()
1355 for (int band : config.getBands()) {
1396 if (SdkLevel.isAtLeastS() && config.getBands().length > 1) {
1397 int[] bands = config.getBands();
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DSoftApConfigurationTest.java640 assertTrue(Arrays.equals(dual_bands, dual_bands_config.getBands())); in testDualBands()
657 assertTrue(Arrays.equals(expected_dual_bands, dual_channels_config.getBands())); in testDualChannels()
672 assertTrue(Arrays.equals(expected_dual_bands, dual_channels_config.getBands())); in testDualChannels()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiApConfigStoreTest.java271 assertArrayEquals(config.getBands(), defaultDualBands); in verifyDefaultApConfig()
274 assertEquals(config.getBands().length, 1); in verifyDefaultApConfig()
1113 assertEquals(resetedConfig.getBands().length, 1); in testResetToDefaultForUnsupportedConfig()
1120 assertEquals(resetedConfig.getBands().length, 1); in testResetToDefaultForUnsupportedConfig()
DSoftApManagerTest.java2475 if (expectedConfig.getChannel() == 0 && expectedConfig.getBands().length == 1) { in startSoftApAndVerifyEnabled()
2500 eq(expectedConfig.getBand()), eq(expectedConfig.getBands().length > 1), in startSoftApAndVerifyEnabled()
2522 eq(expectedConfig.getBand()), eq(expectedConfig.getBands().length > 1), in startSoftApAndVerifyEnabled()
2551 && mIsDriverSupportedRegChangedEvent && expectedConfig.getBands().length == 1) { in startSoftApAndVerifyEnabled()
2580 eq(mTestWifiClientsMap), eq(expectedConfig.getBands().length > 1)); in startSoftApAndVerifyEnabled()
2600 TEST_DEFAULT_SHUTDOWN_TIMEOUT_MILLIS, expectedConfig.getBands().length > 1); in startSoftApAndVerifyEnabled()
2602 expectedConfig.getBands().length > 1); in startSoftApAndVerifyEnabled()
2607 eq(expectedConfig.getBands().length > 1)); in startSoftApAndVerifyEnabled()
2610 assertThat(mSoftApManager.getSoftApModeConfiguration().getSoftApConfiguration().getBands()) in startSoftApAndVerifyEnabled()
2611 .isEqualTo(config != null ? config.getBands() : mDefaultApConfig.getBands()); in startSoftApAndVerifyEnabled()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/radio/
DRadioTestFragment.java243 for (RadioManager.BandDescriptor band : moduleProperties.getBands()) { in connectRadio()
/packages/modules/Wifi/framework/java/android/net/wifi/
DSoftApConfiguration.java863 public @NonNull int[] getBands() { in getBands() method in SoftApConfiguration