Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/aware/
DConfigRequest.java49 public static final int NAN_BAND_5GHZ = 1; field in ConfigRequest
203 if (mDiscoveryWindowInterval[NAN_BAND_5GHZ] != DW_INTERVAL_NOT_INIT && in validate()
204 (mDiscoveryWindowInterval[NAN_BAND_5GHZ] < 0 // valid for 5GHz: [0-5] in validate()
205 || mDiscoveryWindowInterval[NAN_BAND_5GHZ] > 5)) { in validate()
322 if (band != NAN_BAND_24GHZ && band != NAN_BAND_5GHZ) { in setDiscoveryWindowInterval()
326 || (band == NAN_BAND_5GHZ && (interval < 0 || interval > 5))) { in setDiscoveryWindowInterval()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareNativeApiTest.java156 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsDefaults()
162 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsDefaults()
184 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsNoneInteractive()
187 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsNoneInteractive()
212 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsIdle()
215 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsIdle()
238 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsDefaults_1_2()
244 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsDefaults_1_2()
275 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsNoneInteractive_1_2()
278 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsNoneInteractive_1_2()
[all …]
DWifiAwareStateManagerTest.java2525 .setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_5GHZ, dwInterval3Band5) in testConfigs()
2574 .NAN_BAND_5GHZ])); in testConfigs()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java367 req.operateInBand[NanBandIndex.NAN_BAND_5GHZ] = configRequest.mSupport5gBand; in enableAndConfigure()
404 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] in enableAndConfigure()
411 .NAN_BAND_5GHZ]; in enableAndConfigure()
413 req.configParams.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] = config5; in enableAndConfigure()
427 req.debugConfigs.discoveryChannelMhzVal[NanBandIndex.NAN_BAND_5GHZ] = 0; in enableAndConfigure()
430 req.debugConfigs.useBeaconsInBandVal[NanBandIndex.NAN_BAND_5GHZ] = true; in enableAndConfigure()
433 req.debugConfigs.useSdfInBandVal[NanBandIndex.NAN_BAND_5GHZ] = true; in enableAndConfigure()
480 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] in enableAndConfigure()
487 .NAN_BAND_5GHZ]; in enableAndConfigure()
489 req.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] = config5; in enableAndConfigure()
[all …]
DWifiAwareStateManager.java3151 for (int band = ConfigRequest.NAN_BAND_24GHZ; band <= ConfigRequest.NAN_BAND_5GHZ; in mergeConfigRequests()
3171 for (int band = ConfigRequest.NAN_BAND_24GHZ; band <= ConfigRequest.NAN_BAND_5GHZ; ++band) { in mergeConfigRequests()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java585 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ])); in testConfigRequestBuilderDefaults()
599 .setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_5GHZ, dwWindow5GHz) in testConfigRequestBuilder()
612 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ])); in testConfigRequestBuilder()
674 new ConfigRequest.Builder().setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_5GHZ, in testConfigRequestBuilderDwIntervalInvalidValueLarge()
681 cr.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] = 6; in testConfigRequestBuilderDwIntervalInvalidValueLargeValidate()
698 .setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_5GHZ, dwWindow5GHz) in testConfigRequestParcel()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt45566 Landroid/net/wifi/aware/ConfigRequest;->NAN_BAND_5GHZ:I