Home
last modified time | relevance | path

Searched refs:NAN_BAND_5GHZ (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DConfigRequest.java49 public static final int NAN_BAND_5GHZ = 1; field in ConfigRequest
217 if (mDiscoveryWindowInterval[NAN_BAND_5GHZ] != DW_INTERVAL_NOT_INIT && in validate()
218 (mDiscoveryWindowInterval[NAN_BAND_5GHZ] < 0 // valid for 5GHz: [0-5] in validate()
219 || mDiscoveryWindowInterval[NAN_BAND_5GHZ] > 5)) { in validate()
357 if (band != NAN_BAND_24GHZ && band != NAN_BAND_5GHZ && band != NAN_BAND_6GHZ) { in setDiscoveryWindowInterval()
361 || (band == NAN_BAND_5GHZ && (interval < 0 || interval > 5)) in setDiscoveryWindowInterval()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareNativeApiTest.java159 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsDefaults()
165 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsDefaults()
187 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsNoneInteractive()
190 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsNoneInteractive()
215 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsIdle()
218 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsIdle()
241 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsDefaults_1_2()
247 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsDefaults_1_2()
278 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsNoneInteractive_1_2()
281 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsNoneInteractive_1_2()
[all …]
DWifiAwareStateManagerTest.java2724 .setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_5GHZ, dwInterval3Band5) in testConfigs()
2777 .NAN_BAND_5GHZ])); in testConfigs()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java435 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] in enableAndConfigure()
442 .NAN_BAND_5GHZ]; in enableAndConfigure()
472 req.operateInBand[NanBandIndex.NAN_BAND_5GHZ] = configRequest.mSupport5gBand; in enableAndConfigure()
490 req.configParams.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] = config5; in enableAndConfigure()
506 req.debugConfigs.discoveryChannelMhzVal[NanBandIndex.NAN_BAND_5GHZ] = 0; in enableAndConfigure()
511 req.debugConfigs.useBeaconsInBandVal[NanBandIndex.NAN_BAND_5GHZ] = true; in enableAndConfigure()
516 req.debugConfigs.useSdfInBandVal[NanBandIndex.NAN_BAND_5GHZ] = true; in enableAndConfigure()
534 req.operateInBand[NanBandIndex.NAN_BAND_5GHZ] = configRequest.mSupport5gBand; in enableAndConfigure()
550 req.configParams.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] = config5; in enableAndConfigure()
564 req.debugConfigs.discoveryChannelMhzVal[NanBandIndex.NAN_BAND_5GHZ] = 0; in enableAndConfigure()
[all …]
DWifiAwareStateManager.java3420 for (int band = ConfigRequest.NAN_BAND_24GHZ; band <= ConfigRequest.NAN_BAND_5GHZ; in mergeConfigRequests()
3440 for (int band = ConfigRequest.NAN_BAND_24GHZ; band <= ConfigRequest.NAN_BAND_5GHZ; ++band) { in mergeConfigRequests()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java637 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ])); in testConfigRequestBuilderDefaults()
656 .setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_5GHZ, dwWindow5GHz) in testConfigRequestBuilder()
671 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ])); in testConfigRequestBuilder()
735 new ConfigRequest.Builder().setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_5GHZ, in testConfigRequestBuilderDwIntervalInvalidValueLarge()
742 cr.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] = 6; in testConfigRequestBuilderDwIntervalInvalidValueLargeValidate()
762 .setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_5GHZ, dwWindow5GHz) in testConfigRequestParcel()
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt66 Landroid/net/wifi/aware/ConfigRequest;->NAN_BAND_5GHZ:I