Home
last modified time | relevance | path

Searched refs:ConfigRequest (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java320 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testPublishFlow()
427 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testPublishRemoteTerminate()
477 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testSubscribeFlow()
576 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testSubscribeRemoteTerminate()
622 ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testConfigRequestBuilderDefaults()
624 collector.checkThat("mClusterHigh", ConfigRequest.CLUSTER_ID_MAX, in testConfigRequestBuilderDefaults()
626 collector.checkThat("mClusterLow", ConfigRequest.CLUSTER_ID_MIN, in testConfigRequestBuilderDefaults()
634 collector.checkThat("mDiscoveryWindowInterval[2.4GHz]", ConfigRequest.DW_INTERVAL_NOT_INIT, in testConfigRequestBuilderDefaults()
635 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ])); in testConfigRequestBuilderDefaults()
636 collector.checkThat("mDiscoveryWindowInterval[5Hz]", ConfigRequest.DW_INTERVAL_NOT_INIT, in testConfigRequestBuilderDefaults()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DConfigRequest.java34 public final class ConfigRequest implements Parcelable { class
90 private ConfigRequest(boolean support5gBand, boolean support6gBand, int masterPreference, in ConfigRequest() method in ConfigRequest
125 …c static final @android.annotation.NonNull Creator<ConfigRequest> CREATOR = new Creator<ConfigRequ…
127 public ConfigRequest[] newArray(int size) {
128 return new ConfigRequest[size];
132 public ConfigRequest createFromParcel(Parcel in) {
140 return new ConfigRequest(support5gBand, support6gBand, masterPreference, clusterLow,
151 if (!(o instanceof ConfigRequest)) { in equals()
155 ConfigRequest lhs = (ConfigRequest) o; in equals()
375 public ConfigRequest build() { in build()
[all …]
DIWifiAwareManager.aidl21 import android.net.wifi.aware.ConfigRequest;
47 in IWifiAwareEventCallback callback, in ConfigRequest configRequest, in connect()
DConfigRequest.aidl19 parcelable ConfigRequest;
DIWifiAwareEventCallback.aidl19 import android.net.wifi.aware.ConfigRequest;
DWifiAwareManager.java357 public void attach(Handler handler, ConfigRequest configRequest, in attach()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java58 import android.net.wifi.aware.ConfigRequest;
257 ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testRequestMacAddresses()
372 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testAwareDataPathInterfaceUpDown()
417 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testDisableUsageDisablesApis()
460 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testDisableUsageFlow()
548 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testHalFailureEnableAndConfigure()
593 ConfigRequest configRequest = new ConfigRequest.Builder().setClusterLow(clusterLow) in testAwareEventsDelivery()
677 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testHalNoResponseTimeout()
741 ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testPublishFail()
811 ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testPublishSuccessTerminated()
[all …]
DWifiAwareNativeApiTest.java44 import android.net.wifi.aware.ConfigRequest;
155 validateEnableAndConfigure((short) 10, new ConfigRequest.Builder().build(), true, in testEnableAndConfigPowerSettingsDefaults()
183 validateEnableAndConfigure((short) 10, new ConfigRequest.Builder().build(), false, in testEnableAndConfigPowerSettingsNoneInteractive()
211 validateEnableAndConfigure((short) 10, new ConfigRequest.Builder().build(), false, in testEnableAndConfigPowerSettingsIdle()
237 validateEnableAndConfigure((short) 10, new ConfigRequest.Builder().build(), true, in testEnableAndConfigPowerSettingsDefaults_1_2()
274 validateEnableAndConfigure((short) 10, new ConfigRequest.Builder().build(), false, in testEnableAndConfigPowerSettingsNoneInteractive_1_2()
312 validateEnableAndConfigure((short) 10, new ConfigRequest.Builder().build(), false, in testEnableAndConfigPowerSettingsIdle_1_2()
607 short transactionId, ConfigRequest configRequest, boolean notifyIdentityChange, in validateEnableAndConfigure()
DTestUtils.java19 import android.net.wifi.aware.ConfigRequest;
50 public boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure()
DWifiAwareServiceImplTest.java41 import android.net.wifi.aware.ConfigRequest;
215 ConfigRequest configRequest = new ConfigRequest.Builder().setMasterPreference(55).build(); in testConnectWithConfig()
743 eq(new ConfigRequest.Builder().build()), eq(false)); in doConnect()
DWifiAwareDataPathStateManagerTest.java56 import android.net.wifi.aware.ConfigRequest;
1798 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in getSessionNetworkRequestMore()
1887 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in getDirectNetworkRequestMore()
1979 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in initOobDataPathEndPoint()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareStateManager.java32 import android.net.wifi.aware.ConfigRequest;
234 private ConfigRequest mCurrentAwareConfiguration = null;
704 ConfigRequest configRequest, boolean notifyOnIdentityChanged) { in connect()
1733 ConfigRequest configRequest = (ConfigRequest) msg.getData() in processCommand()
2359 IWifiAwareEventCallback callback, ConfigRequest configRequest, in connectLocal()
2388 ConfigRequest merged = mergeConfigRequests(configRequest); in connectLocal()
2476 ConfigRequest merged = mergeConfigRequests(null); in disconnectLocal()
2783 ConfigRequest configRequest = (ConfigRequest) data in onConfigCompletedLocal()
3360 private ConfigRequest mergeConfigRequests(ConfigRequest configRequest) { in mergeConfigRequests()
3382 int clusterHigh = ConfigRequest.CLUSTER_ID_MAX; in mergeConfigRequests()
[all …]
DWifiAwareClientState.java22 import android.net.wifi.aware.ConfigRequest;
58 private ConfigRequest mConfigRequest;
74 IWifiAwareEventCallback callback, ConfigRequest configRequest, in WifiAwareClientState()
111 public ConfigRequest getConfigRequest() { in getConfigRequest()
DWifiAwareNativeApi.java36 import android.net.wifi.aware.ConfigRequest;
376 public boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure()
419 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ] in enableAndConfigure()
420 == ConfigRequest.DW_INTERVAL_NOT_INIT) { in enableAndConfigure()
425 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest in enableAndConfigure()
435 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] in enableAndConfigure()
436 == ConfigRequest.DW_INTERVAL_NOT_INIT) { in enableAndConfigure()
441 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest in enableAndConfigure()
453 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_6GHZ] in enableAndConfigure()
454 == ConfigRequest.DW_INTERVAL_NOT_INIT) { in enableAndConfigure()
[all …]
DWifiAwareServiceImpl.java29 import android.net.wifi.aware.ConfigRequest;
194 IWifiAwareEventCallback callback, ConfigRequest configRequest, in connect()
216 configRequest = new ConfigRequest.Builder().build(); in connect()
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt42 Landroid/net/wifi/aware/ConfigRequest$Builder;-><init>()V
43 Landroid/net/wifi/aware/ConfigRequest$Builder;->build()Landroid/net/wifi/aware/ConfigRequest;
44 Landroid/net/wifi/aware/ConfigRequest$Builder;->mClusterHigh:I
45 Landroid/net/wifi/aware/ConfigRequest$Builder;->mClusterLow:I
46 Landroid/net/wifi/aware/ConfigRequest$Builder;->mDiscoveryWindowInterval:[I
47 Landroid/net/wifi/aware/ConfigRequest$Builder;->mMasterPreference:I
48 Landroid/net/wifi/aware/ConfigRequest$Builder;->mSupport5gBand:Z
49 Landroid/net/wifi/aware/ConfigRequest$Builder;->setClusterHigh(I)Landroid/net/wifi/aware/ConfigRequ…
50 Landroid/net/wifi/aware/ConfigRequest$Builder;->setClusterLow(I)Landroid/net/wifi/aware/ConfigReque…
51 Landroid/net/wifi/aware/ConfigRequest$Builder;->setDiscoveryWindowInterval(II)Landroid/net/wifi/awa…
[all …]