Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DConfigRequest.java88 public final int mDiscoveryWindowInterval[]; field in ConfigRequest
97 mDiscoveryWindowInterval = discoveryWindowInterval; in ConfigRequest()
107 + ", mDiscoveryWindowInterval=" + Arrays.toString(mDiscoveryWindowInterval) + "]"; in toString()
122 dest.writeIntArray(mDiscoveryWindowInterval); in writeToParcel()
161 && Arrays.equals(mDiscoveryWindowInterval, lhs.mDiscoveryWindowInterval); in equals()
173 result = 31 * result + Arrays.hashCode(mDiscoveryWindowInterval); in hashCode()
207 if (mDiscoveryWindowInterval.length != 3) { in validate()
211 if (mDiscoveryWindowInterval[NAN_BAND_24GHZ] != DW_INTERVAL_NOT_INIT && in validate()
212 (mDiscoveryWindowInterval[NAN_BAND_24GHZ] < 1 // valid for 2.4GHz: [1-5] in validate()
213 || mDiscoveryWindowInterval[NAN_BAND_24GHZ] > 5)) { in validate()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java633 equalTo(configRequest.mDiscoveryWindowInterval.length)); in testConfigRequestBuilderDefaults()
635 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ])); in testConfigRequestBuilderDefaults()
637 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ])); in testConfigRequestBuilderDefaults()
639 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_6GHZ])); in testConfigRequestBuilderDefaults()
667 equalTo(configRequest.mDiscoveryWindowInterval.length)); in testConfigRequestBuilder()
669 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ])); in testConfigRequestBuilder()
671 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ])); in testConfigRequestBuilder()
673 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_6GHZ])); in testConfigRequestBuilder()
742 cr.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] = 6; in testConfigRequestBuilderDwIntervalInvalidValueLargeValidate()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java419 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ] in enableAndConfigure()
425 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest in enableAndConfigure()
435 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] in enableAndConfigure()
441 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest in enableAndConfigure()
453 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_6GHZ] in enableAndConfigure()
459 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest in enableAndConfigure()
DWifiAwareStateManager.java3392 discoveryWindowInterval = configRequest.mDiscoveryWindowInterval; in mergeConfigRequests()
3423 discoveryWindowInterval[band] = cr.mDiscoveryWindowInterval[band]; in mergeConfigRequests()
3424 } else if (cr.mDiscoveryWindowInterval[band] in mergeConfigRequests()
3428 discoveryWindowInterval[band] = cr.mDiscoveryWindowInterval[band]; in mergeConfigRequests()
3429 } else if (cr.mDiscoveryWindowInterval[band] == ConfigRequest.DW_DISABLE) { in mergeConfigRequests()
3433 cr.mDiscoveryWindowInterval[band]); in mergeConfigRequests()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java2773 equalTo(crCapture.getValue().mDiscoveryWindowInterval[ConfigRequest in testConfigs()
2776 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