Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DConfigRequest.java69 public static final int NAN_BAND_5GHZ = 1; field in ConfigRequest
268 if (mDiscoveryWindowInterval[NAN_BAND_5GHZ] != DW_INTERVAL_NOT_INIT && in validate()
269 (mDiscoveryWindowInterval[NAN_BAND_5GHZ] < 0 // valid for 5GHz: [0-5] in validate()
270 || mDiscoveryWindowInterval[NAN_BAND_5GHZ] > 5)) { in validate()
437 if (band != NAN_BAND_24GHZ && band != NAN_BAND_5GHZ && band != NAN_BAND_6GHZ) { in setDiscoveryWindowInterval()
441 || (band == NAN_BAND_5GHZ && (interval < 0 || interval > 5)) in setDiscoveryWindowInterval()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiNanIfaceHidlImplTest.java225 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsDefaults()
231 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsDefaults()
252 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsNoneInteractive()
255 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsNoneInteractive()
279 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsIdle()
282 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsIdle()
305 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsDefaults_1_2()
311 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsDefaults_1_2()
341 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsNoneInteractive_1_2()
344 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsNoneInteractive_1_2()
[all …]
DWifiNanIfaceAidlImplTest.java269 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsDefaults()
275 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsDefaults()
303 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsNoneInteractive()
306 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsNoneInteractive()
338 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsIdle()
341 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] in testEnableAndConfigPowerSettingsIdle()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiNanIfaceHidlImpl.java401 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] in enableAndConfigureInternal()
408 .NAN_BAND_5GHZ]; in enableAndConfigureInternal()
436 req.operateInBand[NanBandIndex.NAN_BAND_5GHZ] = configRequest.mSupport5gBand; in enableAndConfigureInternal()
454 req.configParams.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] = config5; in enableAndConfigureInternal()
470 req.debugConfigs.discoveryChannelMhzVal[NanBandIndex.NAN_BAND_5GHZ] = 0; in enableAndConfigureInternal()
475 req.debugConfigs.useBeaconsInBandVal[NanBandIndex.NAN_BAND_5GHZ] = true; in enableAndConfigureInternal()
480 req.debugConfigs.useSdfInBandVal[NanBandIndex.NAN_BAND_5GHZ] = true; in enableAndConfigureInternal()
501 req.operateInBand[NanBandIndex.NAN_BAND_5GHZ] = configRequest.mSupport5gBand; in enableAndConfigureInternal()
517 req.configParams.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] = config5; in enableAndConfigureInternal()
531 req.debugConfigs.discoveryChannelMhzVal[NanBandIndex.NAN_BAND_5GHZ] = 0; in enableAndConfigureInternal()
[all …]
DWifiNanIfaceAidlImpl.java649 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] in createNanBandSpecificConfigs()
655 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ]; in createNanBandSpecificConfigs()
686 req.operateInBand[NanBandIndex.NAN_BAND_5GHZ] = configRequest.mSupport5gBand; in createNanEnableRequest()
704 req.configParams.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] = nanBandSpecificConfigs[1]; in createNanEnableRequest()
722 req.debugConfigs.discoveryChannelMhzVal[NanBandIndex.NAN_BAND_5GHZ] = 0; in createNanEnableRequest()
727 req.debugConfigs.useBeaconsInBandVal[NanBandIndex.NAN_BAND_5GHZ] = true; in createNanEnableRequest()
732 req.debugConfigs.useSdfInBandVal[NanBandIndex.NAN_BAND_5GHZ] = true; in createNanEnableRequest()
760 req.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ] = nanBandSpecificConfigs[1]; in createNanConfigRequest()
773 updateSingleConfigForPowerSettings(req.bandSpecificConfig[NanBandIndex.NAN_BAND_5GHZ], in updateConfigForPowerSettings()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java668 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ])); in testConfigRequestBuilderDefaults()
688 .setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_5GHZ, dwWindow5GHz) in testConfigRequestBuilder()
706 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ])); in testConfigRequestBuilder()
773 new ConfigRequest.Builder().setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_5GHZ, in testConfigRequestBuilderDwIntervalInvalidValueLarge()
780 cr.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] = 6; in testConfigRequestBuilderDwIntervalInvalidValueLargeValidate()
801 .setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_5GHZ, dwWindow5GHz) in testConfigRequestParcel()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareStateManager.java5575 for (int band = ConfigRequest.NAN_BAND_24GHZ; band <= ConfigRequest.NAN_BAND_5GHZ; in mergeConfigRequests()
5599 for (int band = ConfigRequest.NAN_BAND_24GHZ; band <= ConfigRequest.NAN_BAND_5GHZ; ++band) { in mergeConfigRequests()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java3170 .setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_5GHZ, dwInterval3Band5); in testConfigs()
3227 .NAN_BAND_5GHZ])); in testConfigs()
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt66 Landroid/net/wifi/aware/ConfigRequest;->NAN_BAND_5GHZ:I