Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DConfigRequest.java119 public final int mDiscoveryWindowInterval[]; field in ConfigRequest
134 mDiscoveryWindowInterval = discoveryWindowInterval; in ConfigRequest()
146 + ", mDiscoveryWindowInterval=" + Arrays.toString(mDiscoveryWindowInterval) in toString()
165 dest.writeIntArray(mDiscoveryWindowInterval); in writeToParcel()
208 && Arrays.equals(mDiscoveryWindowInterval, lhs.mDiscoveryWindowInterval) in equals()
222 result = 31 * result + Arrays.hashCode(mDiscoveryWindowInterval); in hashCode()
258 if (mDiscoveryWindowInterval.length != 3) { in validate()
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()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiNanIfaceAidlImpl.java634 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ] in createNanBandSpecificConfigs()
640 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ]; in createNanBandSpecificConfigs()
649 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] in createNanBandSpecificConfigs()
655 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ]; in createNanBandSpecificConfigs()
664 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_6GHZ] in createNanBandSpecificConfigs()
670 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_6GHZ]; in createNanBandSpecificConfigs()
DWifiNanIfaceHidlImpl.java385 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ] in enableAndConfigureInternal()
391 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest in enableAndConfigureInternal()
401 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] in enableAndConfigureInternal()
407 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest in enableAndConfigureInternal()
417 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_6GHZ] in enableAndConfigureInternal()
423 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest in enableAndConfigureInternal()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java664 equalTo(configRequest.mDiscoveryWindowInterval.length)); in testConfigRequestBuilderDefaults()
666 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ])); in testConfigRequestBuilderDefaults()
668 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ])); in testConfigRequestBuilderDefaults()
670 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_6GHZ])); in testConfigRequestBuilderDefaults()
702 equalTo(configRequest.mDiscoveryWindowInterval.length)); in testConfigRequestBuilder()
704 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ])); in testConfigRequestBuilder()
706 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ])); in testConfigRequestBuilder()
708 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_6GHZ])); in testConfigRequestBuilder()
780 cr.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] = 6; in testConfigRequestBuilderDwIntervalInvalidValueLargeValidate()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareStateManager.java5547 discoveryWindowInterval = configRequest.mDiscoveryWindowInterval; in mergeConfigRequests()
5578 discoveryWindowInterval[band] = cr.mDiscoveryWindowInterval[band]; in mergeConfigRequests()
5579 } else if (cr.mDiscoveryWindowInterval[band] in mergeConfigRequests()
5583 discoveryWindowInterval[band] = cr.mDiscoveryWindowInterval[band]; in mergeConfigRequests()
5584 } else if (cr.mDiscoveryWindowInterval[band] == ConfigRequest.DW_DISABLE) { in mergeConfigRequests()
5588 cr.mDiscoveryWindowInterval[band]); in mergeConfigRequests()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java3223 equalTo(crCapture.getValue().mDiscoveryWindowInterval[ConfigRequest in testConfigs()
3226 equalTo(crCapture.getValue().mDiscoveryWindowInterval[ConfigRequest in testConfigs()
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt46 Landroid/net/wifi/aware/ConfigRequest$Builder;->mDiscoveryWindowInterval:[I
62 Landroid/net/wifi/aware/ConfigRequest;->mDiscoveryWindowInterval:[I