Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DConfigRequest.java66 public static final int NAN_BAND_24GHZ = 0; field in ConfigRequest
262 if (mDiscoveryWindowInterval[NAN_BAND_24GHZ] != DW_INTERVAL_NOT_INIT && in validate()
263 (mDiscoveryWindowInterval[NAN_BAND_24GHZ] < 1 // valid for 2.4GHz: [1-5] in validate()
264 || mDiscoveryWindowInterval[NAN_BAND_24GHZ] > 5)) { in validate()
437 if (band != NAN_BAND_24GHZ && band != NAN_BAND_5GHZ && band != NAN_BAND_6GHZ) { in setDiscoveryWindowInterval()
440 if ((band == NAN_BAND_24GHZ && (interval < 1 || interval > 5)) in setDiscoveryWindowInterval()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiNanIfaceHidlImplTest.java228 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsDefaults()
234 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsDefaults()
258 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsNoneInteractive()
261 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsNoneInteractive()
285 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsIdle()
308 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsDefaults_1_2()
314 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsDefaults_1_2()
347 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsNoneInteractive_1_2()
350 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsNoneInteractive_1_2()
384 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsIdle_1_2()
DWifiNanIfaceAidlImplTest.java272 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsDefaults()
278 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsDefaults()
309 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsNoneInteractive()
312 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsNoneInteractive()
344 equalTo(configs.first.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] in testEnableAndConfigPowerSettingsIdle()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiNanIfaceHidlImpl.java385 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ] in enableAndConfigureInternal()
392 .NAN_BAND_24GHZ]; in enableAndConfigureInternal()
435 req.operateInBand[NanBandIndex.NAN_BAND_24GHZ] = true; in enableAndConfigureInternal()
453 req.configParams.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] = config24; in enableAndConfigureInternal()
469 req.debugConfigs.discoveryChannelMhzVal[NanBandIndex.NAN_BAND_24GHZ] = 0; in enableAndConfigureInternal()
474 req.debugConfigs.useBeaconsInBandVal[NanBandIndex.NAN_BAND_24GHZ] = true; in enableAndConfigureInternal()
479 req.debugConfigs.useSdfInBandVal[NanBandIndex.NAN_BAND_24GHZ] = true; in enableAndConfigureInternal()
500 req.operateInBand[NanBandIndex.NAN_BAND_24GHZ] = true; in enableAndConfigureInternal()
516 req.configParams.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] = config24; in enableAndConfigureInternal()
530 req.debugConfigs.discoveryChannelMhzVal[NanBandIndex.NAN_BAND_24GHZ] = 0; in enableAndConfigureInternal()
[all …]
DWifiNanIfaceAidlImpl.java634 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ] in createNanBandSpecificConfigs()
640 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ]; in createNanBandSpecificConfigs()
685 req.operateInBand[NanBandIndex.NAN_BAND_24GHZ] = true; in createNanEnableRequest()
702 req.configParams.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] = in createNanEnableRequest()
721 req.debugConfigs.discoveryChannelMhzVal[NanBandIndex.NAN_BAND_24GHZ] = 0; in createNanEnableRequest()
726 req.debugConfigs.useBeaconsInBandVal[NanBandIndex.NAN_BAND_24GHZ] = true; in createNanEnableRequest()
731 req.debugConfigs.useSdfInBandVal[NanBandIndex.NAN_BAND_24GHZ] = true; in createNanEnableRequest()
759 req.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ] = nanBandSpecificConfigs[0]; in createNanConfigRequest()
775 updateSingleConfigForPowerSettings(req.bandSpecificConfig[NanBandIndex.NAN_BAND_24GHZ], in updateConfigForPowerSettings()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java666 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ])); in testConfigRequestBuilderDefaults()
704 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ])); in testConfigRequestBuilder()
767 new ConfigRequest.Builder().setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_24GHZ, in testConfigRequestBuilderDwIntervalInvalidValueZero()
800 .setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_24GHZ, dwWindow24GHz) 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.java3149 .setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_24GHZ, dwInterval1Band24); in testConfigs()
3168 .setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_24GHZ, dwInterval3Band24) in testConfigs()
3224 .NAN_BAND_24GHZ])); in testConfigs()
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt65 Landroid/net/wifi/aware/ConfigRequest;->NAN_BAND_24GHZ:I