Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/aware/
DConfigRequest.java34 public final class ConfigRequest implements Parcelable { class
84 private ConfigRequest(boolean support5gBand, int masterPreference, int clusterLow, in ConfigRequest() method in ConfigRequest
115 …c static final @android.annotation.NonNull Creator<ConfigRequest> CREATOR = new Creator<ConfigRequ…
117 public ConfigRequest[] newArray(int size) {
118 return new ConfigRequest[size];
122 public ConfigRequest createFromParcel(Parcel in) {
129 return new ConfigRequest(support5gBand, masterPreference, clusterLow, clusterHigh,
140 if (!(o instanceof ConfigRequest)) { in equals()
144 ConfigRequest lhs = (ConfigRequest) o; in equals()
339 public ConfigRequest build() { in build()
[all …]
DIWifiAwareManager.aidl21 import android.net.wifi.aware.ConfigRequest;
42 in ConfigRequest configRequest, boolean notifyOnIdentityChanged); in connect()
DConfigRequest.aidl19 parcelable ConfigRequest;
DIWifiAwareEventCallback.aidl19 import android.net.wifi.aware.ConfigRequest;
DWifiAwareManager.java253 public void attach(Handler handler, ConfigRequest configRequest, in attach()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java283 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testPublishFlow()
383 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testPublishRemoteTerminate()
433 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testSubscribeFlow()
525 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testSubscribeRemoteTerminate()
571 ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testConfigRequestBuilderDefaults()
573 collector.checkThat("mClusterHigh", ConfigRequest.CLUSTER_ID_MAX, in testConfigRequestBuilderDefaults()
575 collector.checkThat("mClusterLow", ConfigRequest.CLUSTER_ID_MIN, in testConfigRequestBuilderDefaults()
582 collector.checkThat("mDiscoveryWindowInterval[2.4GHz]", ConfigRequest.DW_INTERVAL_NOT_INIT, in testConfigRequestBuilderDefaults()
583 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ])); in testConfigRequestBuilderDefaults()
584 collector.checkThat("mDiscoveryWindowInterval[5Hz]", ConfigRequest.DW_INTERVAL_NOT_INIT, in testConfigRequestBuilderDefaults()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java56 import android.net.wifi.aware.ConfigRequest;
245 ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testRequestMacAddresses()
350 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testAwareDataPathInterfaceUpDown()
396 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testDisableUsageDisablesApis()
440 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testDisableUsageFlow()
527 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testHalFailureEnableAndConfigure()
573 ConfigRequest configRequest = new ConfigRequest.Builder().setClusterLow(clusterLow) in testAwareEventsDelivery()
656 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testHalNoResponseTimeout()
720 ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testPublishFail()
790 ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testPublishSuccessTerminated()
[all …]
DTestUtils.java19 import android.net.wifi.aware.ConfigRequest;
50 public boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure()
DWifiAwareNativeApiTest.java43 import android.net.wifi.aware.ConfigRequest;
152 validateEnableAndConfigure((short) 10, new ConfigRequest.Builder().build(), true, in testEnableAndConfigPowerSettingsDefaults()
180 validateEnableAndConfigure((short) 10, new ConfigRequest.Builder().build(), false, in testEnableAndConfigPowerSettingsNoneInteractive()
208 validateEnableAndConfigure((short) 10, new ConfigRequest.Builder().build(), false, in testEnableAndConfigPowerSettingsIdle()
234 validateEnableAndConfigure((short) 10, new ConfigRequest.Builder().build(), true, in testEnableAndConfigPowerSettingsDefaults_1_2()
271 validateEnableAndConfigure((short) 10, new ConfigRequest.Builder().build(), false, in testEnableAndConfigPowerSettingsNoneInteractive_1_2()
309 validateEnableAndConfigure((short) 10, new ConfigRequest.Builder().build(), false, in testEnableAndConfigPowerSettingsIdle_1_2()
590 short transactionId, ConfigRequest configRequest, boolean notifyIdentityChange, in validateEnableAndConfigure()
DWifiAwareServiceImplTest.java38 import android.net.wifi.aware.ConfigRequest;
182 ConfigRequest configRequest = new ConfigRequest.Builder().setMasterPreference(55).build(); in testConnectWithConfig()
672 eq(callingPackage), eq(mCallbackMock), eq(new ConfigRequest.Builder().build()), in doConnect()
DWifiAwareDataPathStateManagerTest.java54 import android.net.wifi.aware.ConfigRequest;
1595 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in getSessionNetworkRequestMore()
1682 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in getDirectNetworkRequestMore()
1773 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in initOobDataPathEndPoint()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareClientState.java21 import android.net.wifi.aware.ConfigRequest;
57 private ConfigRequest mConfigRequest;
71 String callingPackage, IWifiAwareEventCallback callback, ConfigRequest configRequest, in WifiAwareClientState()
100 public ConfigRequest getConfigRequest() { in getConfigRequest()
DWifiAwareNativeApi.java37 import android.net.wifi.aware.ConfigRequest;
334 public boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure()
387 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ] in enableAndConfigure()
388 == ConfigRequest.DW_INTERVAL_NOT_INIT) { in enableAndConfigure()
393 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest in enableAndConfigure()
404 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] in enableAndConfigure()
405 == ConfigRequest.DW_INTERVAL_NOT_INIT) { in enableAndConfigure()
410 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest in enableAndConfigure()
463 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ] in enableAndConfigure()
464 == ConfigRequest.DW_INTERVAL_NOT_INIT) { in enableAndConfigure()
[all …]
DWifiAwareStateManager.java28 import android.net.wifi.aware.ConfigRequest;
226 private ConfigRequest mCurrentAwareConfiguration = null;
570 IWifiAwareEventCallback callback, ConfigRequest configRequest, in connect()
1560 ConfigRequest configRequest = (ConfigRequest) msg.getData() in processCommand()
2147 String callingPackage, IWifiAwareEventCallback callback, ConfigRequest configRequest, in connectLocal()
2176 ConfigRequest merged = mergeConfigRequests(configRequest); in connectLocal()
2255 ConfigRequest merged = mergeConfigRequests(null); in disconnectLocal()
2549 ConfigRequest configRequest = (ConfigRequest) data in onConfigCompletedLocal()
3098 private ConfigRequest mergeConfigRequests(ConfigRequest configRequest) { in mergeConfigRequests()
3119 int clusterHigh = ConfigRequest.CLUSTER_ID_MAX; in mergeConfigRequests()
[all …]
DWifiAwareServiceImpl.java26 import android.net.wifi.aware.ConfigRequest;
177 IWifiAwareEventCallback callback, ConfigRequest configRequest, in connect()
199 configRequest = new ConfigRequest.Builder().build(); in connect()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt45542 Landroid/net/wifi/aware/ConfigRequest$Builder;-><init>()V
45543 Landroid/net/wifi/aware/ConfigRequest$Builder;->build()Landroid/net/wifi/aware/ConfigRequest;
45544 Landroid/net/wifi/aware/ConfigRequest$Builder;->mClusterHigh:I
45545 Landroid/net/wifi/aware/ConfigRequest$Builder;->mClusterLow:I
45546 Landroid/net/wifi/aware/ConfigRequest$Builder;->mDiscoveryWindowInterval:[I
45547 Landroid/net/wifi/aware/ConfigRequest$Builder;->mMasterPreference:I
45548 Landroid/net/wifi/aware/ConfigRequest$Builder;->mSupport5gBand:Z
45549 Landroid/net/wifi/aware/ConfigRequest$Builder;->setClusterHigh(I)Landroid/net/wifi/aware/ConfigRequ…
45550 Landroid/net/wifi/aware/ConfigRequest$Builder;->setClusterLow(I)Landroid/net/wifi/aware/ConfigReque…
45551 Landroid/net/wifi/aware/ConfigRequest$Builder;->setDiscoveryWindowInterval(II)Landroid/net/wifi/awa…
[all …]
Dboot-image-profile.txt35044 Landroid/net/wifi/aware/ConfigRequest;