/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SoftApStoreDataTest.java | 390 assertEquals(softApConfig.getBand(), TEST_BAND_2G); in deserializeSoftAp() 393 assertEquals(softApConfig.getBand(), TEST_BAND); in deserializeSoftAp() 431 assertEquals(softApConfig.getBand(), TEST_BAND); in deserializeOldSoftApXMLWhichShutdownTimeoutIsInt() 459 assertEquals(softApConfig.getBand(), TEST_BAND); in deserializeOldBandSoftAp() 481 assertEquals(softApConfig.getBand(), TEST_BAND); in deserializeNewBandSoftApButNoNewConfig() 516 assertEquals(softApConfig.getBand(), softApConfigDeserialized.getBand()); in serializeDeserializeSoftAp() 553 assertEquals(softApConfig.getBand(), softApConfigDeserialized.getBand()); in serializeDeserializeSoftApWpa3Sae() 590 assertEquals(softApConfig.getBand(), softApConfigDeserialized.getBand()); in serializeDeserializeSoftApWpa3SaeTransition() 646 assertEquals(softApConfig.getBand(), TEST_BAND); in deserializeSoftApWithNoBssidTag() 675 assertEquals(softApConfig.getBand(), TEST_BAND); in deserializeSoftApWithAllConfigInR() [all …]
|
D | WifiApConfigStoreTest.java | 188 assertEquals(config1.getBand(), config2.getBand()); in verifyApConfig() 204 assertEquals(SoftApConfiguration.BAND_2GHZ, config.getBand()); in verifyDefaultApConfig() 227 assertEquals(config.getBand(), SoftApConfiguration.BAND_2GHZ); in verifyDefaultApConfig() 247 assertEquals(expectedApBand, config.getBand()); in verifyDefaultLocalOnlyApConfig() 888 assertEquals(resetedConfig.getBand(), SoftApConfiguration.BAND_2GHZ); in testResetToDefaultForUnsupportedConfig() 894 assertEquals(resetedConfig.getBand(), SoftApConfiguration.BAND_2GHZ); in testResetToDefaultForUnsupportedConfig() 900 assertEquals(resetedConfig.getBand(), SoftApConfiguration.BAND_2GHZ); in testResetToDefaultForUnsupportedConfig() 907 assertEquals(resetedConfig.getBand(), SoftApConfiguration.BAND_2GHZ); in testResetToDefaultForUnsupportedConfig() 927 assertEquals(resetedConfig.getBand(), in testResetToDefaultForUnsupportedConfig() 934 assertEquals(resetedConfig.getBand(), in testResetToDefaultForUnsupportedConfig() [all …]
|
D | SoftApBackupRestoreTest.java | 99 restore.getBand()); in assertWifiConfigurationEqualSoftApConfiguration() 352 out.writeInt(config.getBand()); in retrieveVersion5BackupDataFromSoftApConfiguration() 430 out.writeInt(config.getBand()); in retrieveVersion6BackupDataFromSoftApConfiguration() 456 out.writeInt(config.getBand()); in retrieveVersion7BackupDataFromSoftApConfiguration()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiTetherApBandPreferenceController.java | 66 } else if (!is5GhzBandSupported() && config.getBand() == SoftApConfiguration.BAND_5GHZ) { in updateState() 71 mBand = newConfig.getBand(); in updateState() 73 mBand = validateSelection(config.getBand()); in updateState() 80 preference.setValue(Integer.toString(config.getBand())); in updateState()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | SoftApConfigurationTest.java | 85 assertThat(original.getBand()).isEqualTo(SoftApConfiguration.BAND_2GHZ); in testBasicSettings() 119 assertThat(original.getBand()).isEqualTo(SoftApConfiguration.BAND_2GHZ); in testWpa2() 162 assertThat(original.getBand()).isEqualTo(SoftApConfiguration.BAND_5GHZ); in testWpa2WithAllFieldCustomized() 203 assertThat(original.getBand()).isEqualTo(SoftApConfiguration.BAND_5GHZ); in testWpa3Sae() 230 assertThat(original.getBand()).isEqualTo(SoftApConfiguration.BAND_5GHZ); in testWpa3SaeTransition() 400 assertThat(dual_bands_config.getBand()).isEqualTo(SoftApConfiguration.BAND_2GHZ); in testDualBands() 417 assertThat(dual_channels_config.getBand()).isEqualTo(SoftApConfiguration.BAND_2GHZ); in testDualChannels() 432 assertThat(dual_channels_config.getBand()).isEqualTo(SoftApConfiguration.BAND_5GHZ); in testDualChannels()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiNetworkAgentSpecifier.java | 136 return ns.getBand() == mBand; in satisfiesNetworkSpecifier() 138 if (ns.getBand() != ScanResult.UNSPECIFIED && ns.getBand() != mBand) { in satisfiesNetworkSpecifier()
|
D | SoftApConfiguration.java | 548 public @BandType int getBand() { in getBand() method in SoftApConfiguration 826 switch (getBand()) { in toWifiConfiguration() 840 Log.e(TAG, "Convert fail, unsupported band setting :" + getBand()); in toWifiConfiguration()
|
D | WifiNetworkSpecifier.java | 69 @WifiBand public static int getBand(final int freqMHz) { in getBand() method in WifiNetworkSpecifier 684 @WifiBand public int getBand() { in getBand() method in WifiNetworkSpecifier
|
D | CoexUnsafeChannel.java | 82 public @WifiAnnotations.WifiBandBasic int getBand() { in getBand() method in CoexUnsafeChannel
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiApConfigStore.java | 244 config.getBand(), mContext)); in resetToDefaultForUnsupportedConfig() 265 int newBand = ApConfigUtil.removeUnsupportedBands(mContext, config.getBand()); in resetToDefaultForUnsupportedConfig() 266 if (newBand != config.getBand()) { in resetToDefaultForUnsupportedConfig() 268 Log.i(TAG, "Reset band from " + config.getBand() + " to " in resetToDefaultForUnsupportedConfig() 581 if (!ApConfigUtil.isBandSupported(apConfig.getBand(), context)) { in validateApWifiConfiguration()
|
D | HostapdHal.java | 473 Log.e(TAG, "Unrecognized apBand: " + config.getBand()); in addAccessPoint() 768 ifaceParamsV1_0.channelParams.band = getHalBand(config.getBand()); in prepareIfaceParamsV1_0() 779 ifaceParamsV10.channelParams.band = getHalBand(config.getBand()); in prepareIfaceParamsV1_1() 782 if ((config.getBand() & SoftApConfiguration.BAND_2GHZ) != 0) { in prepareIfaceParamsV1_1() 787 if ((config.getBand() & SoftApConfiguration.BAND_5GHZ) != 0) { in prepareIfaceParamsV1_1() 807 ifaceParamsV1_2.channelParams.bandMask = getHalBandMask(config.getBand()); in prepareIfaceParamsV1_2() 811 config.getBand(), mContext)) { in prepareIfaceParamsV1_2() 812 prepareAcsChannelFreqRangesMhz(ifaceParamsV1_2.channelParams, config.getBand()); in prepareIfaceParamsV1_2()
|
D | SoftApManager.java | 475 pw.println("mCurrentSoftApConfiguration.mBand: " + mCurrentSoftApConfiguration.getBand()); in dump() 591 int band = mCurrentSoftApConfiguration.getBand(); in setCountryCode() 621 Log.d(getTag(), "band " + mCurrentSoftApConfiguration.getBand() + " iface " in startSoftAp() 896 mCurrentSoftApConfiguration.getBand(), isBridgedMode()); in processMessage() 1343 int band = mCurrentSoftApConfiguration.getBand(); in updateUserBandPreferenceViolationMetricsIfNeeded()
|
D | WifiConfigurationUtil.java | 773 private static int getBand(WifiNetworkSpecifier s) { in getBand() method in WifiConfigurationUtil 774 return s.getBand(); in getBand() 811 if (!WifiNetworkSpecifier.validateBand(getBand(specifier))) { in validateNetworkSpecifier()
|
D | SoftApBackupRestore.java | 90 out.writeInt(config.getBand()); in retrieveBackupDataFromSoftApConfiguration()
|
D | SoftApStoreData.java | 128 XmlUtil.writeNextValue(out, XML_TAG_AP_BAND, softApConfig.getBand()); in serializeData()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/ |
D | WifiTetherApBandPreferenceControllerTest.java | 133 assertThat(mCarWifiManager.getSoftApConfig().getBand()) in onPreferenceChangedTo5Ghz_updatesApBandConfigTo5Ghz() 148 assertThat(mCarWifiManager.getSoftApConfig().getBand()) in onPreferenceChangedTo2Ghz_updatesApBandConfigTo2Ghz() 175 assertThat(mCarWifiManager.getSoftApConfig().getBand()) in onPreferenceChangedTo5Ghz_defaultToApBandAny()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/coex/ |
D | CoexUtils.java | 601 config.getBand(), in CoexCellChannel() 613 public int getBand() { in getBand() method in CoexUtils.CoexCellChannel 655 return getRat() == that.getRat() && getBand() == that.getBand() in equals() 665 return Objects.hash(getRat(), getBand(), getDownlinkFreqKhz(), in hashCode()
|
D | CoexManager.java | 427 entry = mLteTableEntriesByBand.get(cellChannel.getBand()); in updateCoexUnsafeChannels() 430 entry = mNrTableEntriesByBand.get(cellChannel.getBand()); in updateCoexUnsafeChannels() 651 && cellChannel.getBand() == AccessNetworkConstants.EutranBand.BAND_46) { in updateCoexUnsafeChannels() 679 final int band = unsafeChannel.getBand(); in updateCoexUnsafeChannels() 771 mLteTableEntriesByBand.put(entry.getBand(), entry); in readTableFromXml() 773 mNrTableEntriesByBand.put(entry.getBand(), entry); in readTableFromXml()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | ApConfigUtil.java | 316 unsafeChannel.getChannel(), unsafeChannel.getBand())); in getUnsafeChannelFreqsFromCoex() 558 if (config.getBand() == SoftApConfiguration.BAND_5GHZ in updateApChannelConfig() 566 int freq = chooseApChannel(config.getBand(), wifiNative, coexManager, resources); in updateApChannelConfig() 834 || currentConfig.getBand() != newConfig.getBand() in checkConfigurationChangeNeedToRestart()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiTetherApBandPreferenceController.java | 56 mBandIndex = validateSelection(config.getBand()); in updateDisplay() 74 preference.setValue(Integer.toString(config.getBand())); in updateDisplay()
|
D | WifiTetherMaximizeCompatibilityPreferenceController.java | 103 final int band = config.getBand(); in isMaximizeCompatibilityEnabled()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | BandMode.java | 120 mPhone.setBandMode(mTargetBand.getBand(), msg); 131 public int getBand() { in getBand() method in BandMode.BandListItem
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/ |
D | WifiTetherMaximizeCompatibilityPreferenceControllerTest.java | 226 assertThat(builder.build().getBand()) in setupMaximizeCompatibility_noConcurrencyAndSetDisabled_setBand2gOnly() 238 assertThat(builder.build().getBand()).isEqualTo(SoftApConfiguration.BAND_2GHZ); in setupMaximizeCompatibility_noConcurrencyAndSetEnabled_setBand2gAnd5g()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | ApConfigUtilTest.java | 490 assertEquals(ApConfigUtil.DEFAULT_AP_BAND, configBuilder.build().getBand()); in updateApChannelConfigWithoutHal() 519 assertEquals(SoftApConfiguration.BAND_5GHZ, configBuilder.build().getBand()); in updateApChannelConfigWithChannelSpecified() 560 assertEquals(SoftApConfiguration.BAND_5GHZ, configBuilder.build().getBand()); in updateApChannelConfigWithAcsDisabledOemConfigured() 578 configBuilder.build().getBand()); in updateApChannelConfigWithAcsEnabled()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/coex/ |
D | CoexManagerTest.java | 150 when(config.getBand()).thenReturn(band); in createMockPhysicalChannelConfig() 729 .filter(unsafeChannel -> unsafeChannel.getBand() == WIFI_BAND_5_GHZ) in testGetCoexUnsafeChannels_LAA_restrict5gSoftApAndWifiDirect() 770 .filter(unsafeChannel -> unsafeChannel.getBand() == WIFI_BAND_5_GHZ) in testGetCoexUnsafeChannels_carrierConfigsChanged_updatesUnsafeChannels()
|