/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareStateManagerTest.java | 249 ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testRequestMacAddresses() local 273 mDut.connect(clientId1, uid1, pid1, callingPackage, mockCallback1, configRequest, false); in testRequestMacAddresses() 276 eq(configRequest), eq(false), eq(true), eq(true), eq(false)); in testRequestMacAddresses() 281 mDut.connect(clientId2, uid2, pid2, callingPackage, mockCallback2, configRequest, false); in testRequestMacAddresses() 354 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testAwareDataPathInterfaceUpDown() local 371 mDut.connect(clientId, uid, pid, callingPackage, mockCallback, configRequest, false); in testAwareDataPathInterfaceUpDown() 373 inOrder.verify(mMockNative).enableAndConfigure(transactionId.capture(), eq(configRequest), in testAwareDataPathInterfaceUpDown() 400 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testDisableUsageDisablesApis() local 426 mDut.connect(clientId, uid, pid, callingPackage, mockCallback, configRequest, false); in testDisableUsageDisablesApis() 444 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testDisableUsageFlow() local [all …]
|
D | WifiAwareNativeApiTest.java | 90 when(mIWifiNanIfaceMock.configRequest(anyShort(), any())).thenReturn(status); in setup() 435 short transactionId, ConfigRequest configRequest, boolean notifyIdentityChange, in validateEnableAndConfigure() argument 440 mDut.enableAndConfigure(transactionId, configRequest, notifyIdentityChange, in validateEnableAndConfigure() 468 verify(mIWifiNanIfaceMock).configRequest(eq(transactionId), in validateEnableAndConfigure()
|
D | TestUtils.java | 50 public boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure() argument
|
D | WifiAwareDataPathStateManagerTest.java | 1230 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in getSessionNetworkRequest() local 1249 mgr.attach(mMockLooperHandler, configRequest, mockCallback, null); in getSessionNetworkRequest() 1251 clientProxyCallback.capture(), eq(configRequest), eq(false)); in getSessionNetworkRequest() 1311 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in getDirectNetworkRequest() local 1321 mgr.attach(mMockLooperHandler, configRequest, mockCallback, null); in getDirectNetworkRequest() 1323 clientProxyCallback.capture(), eq(configRequest), eq(false)); in getDirectNetworkRequest() 1400 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in initOobDataPathEndPoint() local 1431 configRequest, in initOobDataPathEndPoint() 1437 eq(configRequest), eq(false), eq(true), eq(true), eq(false)); in initOobDataPathEndPoint()
|
D | WifiAwareServiceImplTest.java | 180 ConfigRequest configRequest = new ConfigRequest.Builder().setMasterPreference(55).build(); in testConnectWithConfig() local 184 configRequest, false); in testConnectWithConfig() 187 eq(callingPackage), eq(mCallbackMock), eq(configRequest), eq(false)); in testConnectWithConfig()
|
/frameworks/base/wifi/tests/src/android/net/wifi/aware/ |
D | WifiAwareManagerTest.java | 276 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testPublishFlow() local 299 mDut.attach(mMockLooperHandler, configRequest, mockCallback, null); in testPublishFlow() 301 eq(configRequest), eq(false)); in testPublishFlow() 376 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testPublishRemoteTerminate() local 391 mDut.attach(mMockLooperHandler, configRequest, mockCallback, null); in testPublishRemoteTerminate() 393 eq(configRequest), eq(false)); in testPublishRemoteTerminate() 426 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testSubscribeFlow() local 448 mDut.attach(mMockLooperHandler, configRequest, mockCallback, null); in testSubscribeFlow() 450 eq(configRequest), eq(false)); in testSubscribeFlow() 518 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testSubscribeRemoteTerminate() local [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareNativeApi.java | 330 public boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure() argument 335 + configRequest + ", notifyIdentityChange=" + notifyIdentityChange in enableAndConfigure() 363 req.operateInBand[NanBandIndex.NAN_BAND_5GHZ] = configRequest.mSupport5gBand; in enableAndConfigure() 365 req.configParams.masterPref = (byte) configRequest.mMasterPreference; in enableAndConfigure() 383 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ] in enableAndConfigure() 389 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest in enableAndConfigure() 400 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] in enableAndConfigure() 406 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest in enableAndConfigure() 412 req.debugConfigs.clusterIdTopRangeVal = (short) configRequest.mClusterHigh; in enableAndConfigure() 413 req.debugConfigs.clusterIdBottomRangeVal = (short) configRequest.mClusterLow; in enableAndConfigure() [all …]
|
D | WifiAwareServiceImpl.java | 176 IWifiAwareEventCallback callback, ConfigRequest configRequest, in connect() argument 195 if (configRequest != null) { in connect() 198 configRequest = new ConfigRequest.Builder().build(); in connect() 200 configRequest.validate(); in connect() 212 + configRequest + ", notifyOnIdentityChanged=" + notifyOnIdentityChanged); in connect() 247 mStateManager.connect(clientId, uid, pid, callingPackage, callback, configRequest, in connect()
|
D | WifiAwareClientState.java | 70 String callingPackage, IWifiAwareEventCallback callback, ConfigRequest configRequest, in WifiAwareClientState() argument 78 mConfigRequest = configRequest; in WifiAwareClientState()
|
D | WifiAwareStateManager.java | 565 IWifiAwareEventCallback callback, ConfigRequest configRequest, in connect() argument 571 msg.getData().putParcelable(MESSAGE_BUNDLE_KEY_CONFIG, configRequest); in connect() 1550 ConfigRequest configRequest = (ConfigRequest) msg.getData() in processCommand() local 1560 callingPackage, callback, configRequest, notifyIdentityChange); in processCommand() 2135 String callingPackage, IWifiAwareEventCallback callback, ConfigRequest configRequest, in connectLocal() argument 2140 + ", callback=" + callback + ", configRequest=" + configRequest in connectLocal() 2164 ConfigRequest merged = mergeConfigRequests(configRequest); in connectLocal() 2166 Log.e(TAG, "connectLocal: requested configRequest=" + configRequest in connectLocal() 2187 callingPackage, callback, configRequest, notifyIdentityChange, in connectLocal() 2535 ConfigRequest configRequest = (ConfigRequest) data in onConfigCompletedLocal() local [all …]
|
/frameworks/base/wifi/java/android/net/wifi/aware/ |
D | IWifiAwareManager.aidl | 42 in ConfigRequest configRequest, boolean notifyOnIdentityChanged); in connect() argument
|
D | WifiAwareManager.java | 264 public void attach(Handler handler, ConfigRequest configRequest, in attach() argument 269 + ", configRequest=" + configRequest + ", identityChangedListener=" in attach() 284 identityChangedListener), configRequest, in attach()
|