Home
last modified time | relevance | path

Searched refs:setBand (Results 1 – 25 of 42) sorted by relevance

12

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiTetherApBandPreferenceControllerTest.java100 .setBand(SoftApConfiguration.BAND_2GHZ) in onStart_wifiConfigApBandSetTo2Ghz_valueIsSetTo2Ghz()
113 .setBand(SoftApConfiguration.BAND_5GHZ) in onStart_wifiConfigApBandSetTo5Ghz_valueIsSetTo5Ghz()
126 .setBand(SoftApConfiguration.BAND_2GHZ) in onPreferenceChangedTo5Ghz_updatesApBandConfigTo5Ghz()
141 .setBand(SoftApConfiguration.BAND_5GHZ) in onPreferenceChangedTo2Ghz_updatesApBandConfigTo2Ghz()
156 .setBand(SoftApConfiguration.BAND_5GHZ) in onStart_summarySetToPrefer5Ghz()
168 .setBand(SoftApConfiguration.BAND_2GHZ) in onPreferenceChangedTo5Ghz_defaultToApBandAny()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiApConfigStore.java166 configBuilder.setBand(generateDefaultBand(mContext)); in WifiApConfigStore()
201 .setBand(mForcedApBand) in getApConfiguration()
211 .setBand(mForcedApBand) in getApConfiguration()
311 configBuilder.setBand(ApConfigUtil.append24GToBandIf24GSupported( in resetToDefaultForUnsupportedConfig()
327 configBuilder.setBand(newSingleApBand); in resetToDefaultForUnsupportedConfig()
338 configBuilder.setBand(newBand); in resetToDefaultForUnsupportedConfig()
403 convertedConfigBuilder.setBand(newChannels.keyAt(0)); in sanitizePersistentApConfig()
428 configBuilder.setBand(generateDefaultBand(mContext)); in getDefaultApConfiguration()
495 configBuilder.setBand(generateDefaultBand(context)); in generateLocalOnlyHotspotConfig()
500 configBuilder.setBand(generateDefaultBand(context)); in generateLocalOnlyHotspotConfig()
[all …]
DWifiShellCommand.java2335 configBuilder.setBand(SoftApConfiguration.BAND_2GHZ); in buildSoftApConfiguration()
2337 configBuilder.setBand(SoftApConfiguration.BAND_5GHZ); in buildSoftApConfiguration()
2339 configBuilder.setBand(SoftApConfiguration.BAND_6GHZ); in buildSoftApConfiguration()
2341 configBuilder.setBand(SoftApConfiguration.BAND_2GHZ in buildSoftApConfiguration()
2552 specifierBuilder.setBand(ScanResult.WIFI_BAND_24_GHZ); in buildNetworkRequest()
2554 specifierBuilder.setBand(ScanResult.WIFI_BAND_5_GHZ); in buildNetworkRequest()
2556 specifierBuilder.setBand(ScanResult.WIFI_BAND_6_GHZ); in buildNetworkRequest()
2558 specifierBuilder.setBand(ScanResult.WIFI_BAND_60_GHZ); in buildNetworkRequest()
DSoftApBackupRestore.java196 configBuilder.setBand(band); in retrieveSoftApConfigurationFromBackupData()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiTetherApBandPreferenceControllerTest.java94 new SoftApConfiguration.Builder().setBand(BAND_5GHZ).build()); in onStart_5GhzBandNotSupported_defaultTo2Ghz()
126 new SoftApConfiguration.Builder().setBand(BAND_5GHZ).build()); in onStart_wifiConfigApBandSetTo5Ghz_valueIsSetTo5Ghz()
160 new SoftApConfiguration.Builder().setBand(BAND_2GHZ).build()); in onStart_wifiConfigApBandSetTo2Ghz_valueIsSetTo2Ghz()
173 new SoftApConfiguration.Builder().setBand(BAND_2GHZ).build()); in onPreferenceChangedTo5Ghz_updatesApBandConfigTo5Ghz()
189 new SoftApConfiguration.Builder().setBand(BAND_5GHZ).build()); in onPreferenceChangedTo2Ghz_updatesApBandConfigTo2Ghz()
206 new SoftApConfiguration.Builder().setBand(BAND_2GHZ).build()); in onPreferenceChangedToDualBand_updatesApBandConfigToDualBand()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java353 SoftApConfiguration config = new SoftApConfiguration.Builder().setBand(BAND_2GHZ).build(); in getSpeedType_shouldNotReturnNull()
362 SoftApConfiguration config = new SoftApConfiguration.Builder().setBand(BAND_2GHZ).build(); in updateSpeedType_singleBand2g_get2gSpeedType()
374 .setBand(WIFI_5GHZ_BAND_PREFERRED).build(); in updateSpeedType_singleBand5gPreferred_get5gSpeedType()
387 .setBand(WIFI_5GHZ_BAND_PREFERRED).build(); in updateSpeedType_singleBand5gPreferredBut5gUnavailable_get2gSpeedType()
399 .setBand(WIFI_6GHZ_BAND_PREFERRED).build(); in updateSpeedType_singleBand6gPreferred_get6gSpeedType()
412 .setBand(WIFI_6GHZ_BAND_PREFERRED).build(); in updateSpeedType_singleBand6gPreferredBut6gUnavailable_get5gSpeedType()
426 .setBand(WIFI_6GHZ_BAND_PREFERRED).build(); in updateSpeedType_singleBand6gPreferredBut5gAnd6gUnavailable_get2gSpeedType()
438 .setBand(WIFI_5GHZ_BAND_PREFERRED).build(); in updateSpeedType_dualBand2gAnd5g_get2gAnd5gSpeedType()
451 .setBand(WIFI_5GHZ_BAND_PREFERRED).build(); in updateSpeedType_dualBand2gAnd5gBut5gUnavailable_get2gSpeedType()
806 configBuilder.setBand(BAND_2GHZ); in mockConfig()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DMultiInternetWifiNetworkFactoryTest.java96 .setBand(ScanResult.WIFI_BAND_24_GHZ) in setUp()
99 .setBand(ScanResult.WIFI_BAND_5_GHZ) in setUp()
153 .setBand(ScanResult.WIFI_BAND_5_GHZ) in testIsWifiMultiInternetRequest()
162 .setBand(ScanResult.WIFI_BAND_5_GHZ) in testIsWifiMultiInternetRequest()
205 .setBand(ScanResult.WIFI_BAND_5_GHZ) in testMultiInternetHandleNetworkRequestFromSettingsWithBssid()
DSoftApManagerTest.java499 configBuilder.setBand(SoftApConfiguration.BAND_2GHZ); in startSoftApWithConfig()
511 configBuilder.setBand(SoftApConfiguration.BAND_2GHZ); in startSoftApWithUserApproval()
523 configBuilder.setBand(SoftApConfiguration.BAND_2GHZ); in startSoftApWithUserRejection()
547 configBuilder.setBand(SoftApConfiguration.BAND_2GHZ); in startSoftApWithUserApprovalSkippedForTethering()
564 configBuilder.setBand(SoftApConfiguration.BAND_2GHZ); in startSoftApWithHiddenSsidTrueInConfig()
580 configBuilder.setBand(SoftApConfiguration.BAND_2GHZ); in startSoftApWithPassphraseInConfig()
669 configBuilder.setBand(SoftApConfiguration.BAND_2GHZ); in testStartSoftApNotPossibleToCreateApInterfaceIncrementsMetrics()
746 configBuilder.setBand(SoftApConfiguration.BAND_5GHZ); in startSoftApOn5GhzFailGeneralErrorForNoCountryCode()
780 configBuilder.setBand(SoftApConfiguration.BAND_6GHZ); in startSoftApOn6GhzFailGeneralErrorForNoCountryCode()
811 configBuilder.setBand(SoftApConfiguration.BAND_5GHZ); in startSoftApOn5GhzFailGeneralErrorForCountryCodeSetFailure()
[all …]
DSoftApBackupRestoreTest.java194 configBuilder.setBand(SoftApConfiguration.BAND_6GHZ); in testSoftApConfigBackupAndRestoreWith6GOWEConfig()
231 configBuilder.setBand(SoftApConfiguration.BAND_5GHZ); in testSoftApConfigBackupAndRestoreWithWpa3SaeConfig()
253 configBuilder.setBand(SoftApConfiguration.BAND_5GHZ); in testSoftApConfigBackupAndRestoreWithWpa3SaeTransitionConfig()
277 configBuilder.setBand(SoftApConfiguration.BAND_5GHZ); in testSoftApConfigBackupAndRestoreWithMaxShutdownClientList()
378 configBuilder.setBand(TEST_BAND); in generateExpectedSoftApConfigurationWithTestData()
DWifiApConfigStoreTest.java218 configBuilder.setBand(band); in setupApConfig()
672 .setBand(SoftApConfiguration.BAND_5GHZ); in generateLohsConfig_forwardsCustomBand()
678 customConfigBuilder.setBand(SoftApConfiguration.BAND_6GHZ); in generateLohsConfig_forwardsCustomBand()
840 configBuilder.setBand(SoftApConfiguration.BAND_6GHZ); in test6ghzRestrictionsSecurityTypes()
1098 configBuilder.setBand(SoftApConfiguration.BAND_60GHZ); in testResetToDefaultForUnsupportedConfig()
1104 configBuilder.setBand(SoftApConfiguration.BAND_6GHZ); in testResetToDefaultForUnsupportedConfig()
1150 configBuilder.setBand(SoftApConfiguration.BAND_5GHZ); in testResetToDefaultForUnsupportedConfig()
1252 .setBand(mBand25660G).build(); in testUnSupportedBandConfigurd()
1312 .setBand(SoftApConfiguration.BAND_2GHZ | SoftApConfiguration.BAND_5GHZ); in testSanitizePersistentApConfig()
1317 testConfigBuilder.setBand(SoftApConfiguration.BAND_6GHZ); in testSanitizePersistentApConfig()
[all …]
DHostapdHalAidlImpTest.java450 configurationBuilder.setBand(mBand256G); in testAddAccessPointSuccess_Psk_BandAny_WithACS()
487 configurationBuilder.setBand(mBand256G); in testAddAccessPointSuccess_Psk_WithoutACS()
588 configurationBuilder.setBand(SoftApConfiguration.BAND_2GHZ); in testOnFailureCallbackHandling()
764 configurationBuilder.setBand(mBand256G); in testAddAccessPointSuccess_SAE_WithoutACS()
803 configurationBuilder.setBand(mBand256G); in testAddAccessPointSuccess_SAE_Transition_WithoutACS()
843 configurationBuilder.setBand(mBand256G); in testAddAccessPointSuccess_WithACS_IncludeDFSChannels()
873 configurationBuilder.setBand(SoftApConfiguration.BAND_2GHZ); in testHostapdCallbackEvent()
928 configurationBuilder.setBand(mBand256G); in testAddAccessPointSuccess_WithMeteredSAE()
968 configurationBuilder.setBand(mBand256G); in testAddAccessPointSuccess_WithNonMeteredSAE()
1104 configurationBuilder.setBand(mBand256G); in testAddAccessPointSuccess_WithMeteredSAEOn11AXSupportedDevice()
[all …]
DSoftApStoreDataTest.java395 softApConfigBuilder.setBand(TEST_BAND); in serializeSoftAp()
446 softApConfigBuilder.setBand(TEST_BAND); in serializeSoftApNonUtf8()
637 softApConfigBuilder.setBand(TEST_BAND); in serializeDeserializeSoftAp()
673 softApConfigBuilder.setBand(TEST_BAND); in serializeDeserializeSoftApWpa3Sae()
710 softApConfigBuilder.setBand(TEST_BAND); in serializeDeserializeSoftApWpa3SaeTransition()
876 .setBand(TEST_BAND).build(); in serializeDeserializeSoftApEncrypted()
DHostapdHalHidlImpTest.java470 configurationBuilder.setBand(mBand256G); in testAddAccessPointSuccess_Psk_BandAny_WithACS()
507 configurationBuilder.setBand(mBand256G); in testAddAccessPointSuccess_Psk_WithoutACS()
576 configurationBuilder.setBand(mBand256G); in testAddAccessPointSuccess_Psk_BandAny_WithACS_AcsChannels()
689 configurationBuilder.setBand(SoftApConfiguration.BAND_2GHZ); in testOnFailureCallbackHandling()
1126 configurationBuilder.setBand(mBand256G); in testAddAccessPointSuccess_SAE_WithoutACS()
1173 configurationBuilder.setBand(mBand256G); in testAddAccessPointSuccess_SAE_Transition_WithoutACS()
1222 configurationBuilder.setBand(mBand256G); in testAddAccessPointFailure_SAEWithOldHal()
1246 configurationBuilder.setBand(mBand256G); in testAddAccessPointSuccess_WithACS_IncludeDFSChannels()
1292 configurationBuilder.setBand(SoftApConfiguration.BAND_2GHZ); in testHostapdCallbackEventAfter1_3()
1358 configurationBuilder.setBand(mBand256G); in testAddAccessPointSuccess_WithMeteredSAE()
[all …]
DWifiLinkLayerStatsTest.java77 link1.setBand(WifiScanner.WIFI_BAND_24_GHZ); in setupMloLinks()
82 link2.setBand(WifiScanner.WIFI_BAND_5_GHZ); in setupMloLinks()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java620 .setBand(SoftApConfiguration.BAND_5GHZ | SoftApConfiguration.BAND_6GHZ) in updateBandMask6gSecurityRestriction()
628 .setBand(SoftApConfiguration.BAND_5GHZ | SoftApConfiguration.BAND_6GHZ) in updateBandMask6gSecurityRestriction()
636 .setBand(SoftApConfiguration.BAND_5GHZ | SoftApConfiguration.BAND_6GHZ) in updateBandMask6gSecurityRestriction()
644 .setBand(SoftApConfiguration.BAND_5GHZ | SoftApConfiguration.BAND_6GHZ) in updateBandMask6gSecurityRestriction()
654 .setBand(SoftApConfiguration.BAND_5GHZ | SoftApConfiguration.BAND_6GHZ) in updateBandMask6gSecurityRestriction()
662 .setBand(SoftApConfiguration.BAND_6GHZ) in updateBandMask6gSecurityRestriction()
740 .setBand(SoftApConfiguration.BAND_2GHZ | SoftApConfiguration.BAND_6GHZ) in verifyThatBand6GIsUpdatedWhenHalCanConvertRestrictedSecurityType()
791 configBuilder.setBand(SoftApConfiguration.BAND_5GHZ); in updateApChannelConfig5GBandNoCountryCode()
820 configBuilder.setBand(SoftApConfiguration.BAND_5GHZ); in updateApChannelConfigWith5GBandNoChannelAllowed()
837 configBuilder.setBand(SoftApConfiguration.BAND_5GHZ | SoftApConfiguration.BAND_2GHZ); in updateApChannelConfigWithAcsDisabledOemConfigured()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetherApBandPreferenceController.java100 .setBand(BAND_2GHZ) in updateState()
189 configBuilder.setBand(BAND_2GHZ_5GHZ); in updateApBand()
193 configBuilder.setBand(BAND_2GHZ); in updateApBand()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiTetherMaximizeCompatibilityPreferenceControllerTest.java167 .setBand(SoftApConfiguration.BAND_2GHZ) in isMaximizeCompatibilityEnabled_noConcurrencyAndGetBand2gOnly_returnFalse()
178 .setBand(SoftApConfiguration.BAND_5GHZ) in isMaximizeCompatibilityEnabled_noConcurrencyAndGetBand5gOnly_returnTrue()
189 .setBand(SoftApConfiguration.BAND_2GHZ | SoftApConfiguration.BAND_5GHZ) in isMaximizeCompatibilityEnabled_noConcurrencyAndGetBand2gAnd5g_returnTrue()
/packages/modules/Connectivity/tests/cts/multidevices/snippet/
DConnectivityMultiDevicesSnippet.kt97 .setBand(ScanResult.WIFI_BAND_24_GHZ) in connectToWifi()
152 .setBand(SoftApConfiguration.BAND_2GHZ) in startHotspot()
/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java342 configBuilder.setBand(BAND_2GHZ_5GHZ_6GHZ); in setSpeedType()
350 configBuilder.setBand(BAND_2GHZ_5GHZ); in setSpeedType()
357 configBuilder.setBand(BAND_2GHZ); in setSpeedType()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherMaximizeCompatibilityPreferenceController.java152 builder.setBand(band); in setupMaximizeCompatibility()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiNetworkSpecifier.java454 public @NonNull Builder setBand(@WifiBand int band) { in setBand() method in WifiNetworkSpecifier.Builder
854 return new Builder().setBand(mBand).build(); in redact()
DMloLink.java235 public void setBand(@WifiAnnotations.WifiBandBasic int band) { in setBand() method in MloLink
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java662 builder.setBand(availableBand); in removeUnavailableBandsFromConfig()
683 builder.setBand( in removeUnavailableBandsFromConfig()
780 builder.setBand(configuredBand & ~SoftApConfiguration.BAND_6GHZ); in remove6gBandForUnsupportedSecurity()
970 configBuilder.setBand(band); in fromWifiConfiguration()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSettingsTest.java453 .setBand(BAND_2GHZ_5GHZ_6GHZ) in buildNewConfig_speedFeatureIsAvailableAndPasswordChanged_bandShouldNotBeLost()
468 .setBand(BAND_2GHZ_5GHZ_6GHZ) in buildNewConfig_securityTypeChangeToOpen_setSecurityTypeCorrectly()
/packages/modules/Wifi/service/coex-table-parser/api/
Dcurrent.txt19 method public void setBand(int);

12