Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/aware/
DConfigRequest.java48 public static final int NAN_BAND_24GHZ = 0; field in ConfigRequest
197 if (mDiscoveryWindowInterval[NAN_BAND_24GHZ] != DW_INTERVAL_NOT_INIT && in validate()
198 (mDiscoveryWindowInterval[NAN_BAND_24GHZ] < 1 // valid for 2.4GHz: [1-5] in validate()
199 || mDiscoveryWindowInterval[NAN_BAND_24GHZ] > 5)) { in validate()
322 if (band != NAN_BAND_24GHZ && band != NAN_BAND_5GHZ) { in setDiscoveryWindowInterval()
325 if ((band == NAN_BAND_24GHZ && (interval < 1 || interval > 5)) in setDiscoveryWindowInterval()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareNativeApiTest.java159 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsDefaults()
165 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsDefaults()
190 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsNoneInteractive()
193 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsNoneInteractive()
218 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsIdle()
241 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsDefaults_1_2()
247 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsDefaults_1_2()
281 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsNoneInteractive_1_2()
284 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsNoneInteractive_1_2()
319 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsIdle_1_2()
DWifiAwareStateManagerTest.java2509 .setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_24GHZ, dwInterval1Band24) in testConfigs()
2523 .setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_24GHZ, dwInterval3Band24) in testConfigs()
2571 .NAN_BAND_24GHZ])); in testConfigs()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java366 req.operateInBand[NanBandIndex.NAN_BAND_24GHZ] = true; in enableAndConfigure()
387 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ] in enableAndConfigure()
394 .NAN_BAND_24GHZ]; in enableAndConfigure()
396 req.configParams.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] = config24; in enableAndConfigure()
426 req.debugConfigs.discoveryChannelMhzVal[NanBandIndex.NAN_BAND_24GHZ] = 0; in enableAndConfigure()
429 req.debugConfigs.useBeaconsInBandVal[NanBandIndex.NAN_BAND_24GHZ] = true; in enableAndConfigure()
432 req.debugConfigs.useSdfInBandVal[NanBandIndex.NAN_BAND_24GHZ] = true; in enableAndConfigure()
463 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ] in enableAndConfigure()
470 .NAN_BAND_24GHZ]; in enableAndConfigure()
472 req.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] = config24; 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.java583 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ])); in testConfigRequestBuilderDefaults()
610 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ])); in testConfigRequestBuilder()
668 new ConfigRequest.Builder().setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_24GHZ, in testConfigRequestBuilderDwIntervalInvalidValueZero()
697 .setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_24GHZ, dwWindow24GHz) in testConfigRequestParcel()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt45565 Landroid/net/wifi/aware/ConfigRequest;->NAN_BAND_24GHZ:I