Home
last modified time | relevance | path

Searched refs:configRequest (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java245 ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testRequestMacAddresses() local
269 mDut.connect(clientId1, uid1, pid1, callingPackage, mockCallback1, configRequest, false); in testRequestMacAddresses()
272 eq(configRequest), eq(false), eq(true), eq(true), eq(false)); in testRequestMacAddresses()
277 mDut.connect(clientId2, uid2, pid2, callingPackage, mockCallback2, configRequest, false); in testRequestMacAddresses()
350 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testAwareDataPathInterfaceUpDown() local
367 mDut.connect(clientId, uid, pid, callingPackage, mockCallback, configRequest, false); in testAwareDataPathInterfaceUpDown()
369 inOrder.verify(mMockNative).enableAndConfigure(transactionId.capture(), eq(configRequest), in testAwareDataPathInterfaceUpDown()
396 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testDisableUsageDisablesApis() local
422 mDut.connect(clientId, uid, pid, callingPackage, mockCallback, configRequest, false); in testDisableUsageDisablesApis()
440 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testDisableUsageFlow() local
[all …]
DTestUtils.java50 public boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure() argument
DWifiAwareServiceImplTest.java182 ConfigRequest configRequest = new ConfigRequest.Builder().setMasterPreference(55).build(); in testConnectWithConfig() local
186 configRequest, false); in testConnectWithConfig()
189 eq(callingPackage), eq(mCallbackMock), eq(configRequest), eq(false)); in testConnectWithConfig()
DWifiAwareNativeApiTest.java100 when(mIWifiNanIfaceMock.configRequest(anyShort(), any())).thenReturn(status); in setup()
590 short transactionId, ConfigRequest configRequest, boolean notifyIdentityChange, in validateEnableAndConfigure() argument
595 mDut.enableAndConfigure(transactionId, configRequest, notifyIdentityChange, in validateEnableAndConfigure()
623 verify(mIWifiNanIfaceMock).configRequest(eq(transactionId), in validateEnableAndConfigure()
DWifiAwareDataPathStateManagerTest.java1595 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in getSessionNetworkRequestMore() local
1614 mgr.attach(mMockLooperHandler, configRequest, mockCallback, null); in getSessionNetworkRequestMore()
1616 clientProxyCallback.capture(), eq(configRequest), eq(false)); in getSessionNetworkRequestMore()
1682 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in getDirectNetworkRequestMore() local
1692 mgr.attach(mMockLooperHandler, configRequest, mockCallback, null); in getDirectNetworkRequestMore()
1694 clientProxyCallback.capture(), eq(configRequest), eq(false)); in getDirectNetworkRequestMore()
1773 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in initOobDataPathEndPoint() local
1805 configRequest, in initOobDataPathEndPoint()
1811 eq(configRequest), eq(false), eq(true), eq(true), eq(false)); in initOobDataPathEndPoint()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java283 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testPublishFlow() local
306 mDut.attach(mMockLooperHandler, configRequest, mockCallback, null); in testPublishFlow()
308 eq(configRequest), eq(false)); in testPublishFlow()
383 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testPublishRemoteTerminate() local
398 mDut.attach(mMockLooperHandler, configRequest, mockCallback, null); in testPublishRemoteTerminate()
400 eq(configRequest), eq(false)); in testPublishRemoteTerminate()
433 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testSubscribeFlow() local
455 mDut.attach(mMockLooperHandler, configRequest, mockCallback, null); in testSubscribeFlow()
457 eq(configRequest), eq(false)); in testSubscribeFlow()
525 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testSubscribeRemoteTerminate() local
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java334 public boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure() argument
339 + configRequest + ", notifyIdentityChange=" + notifyIdentityChange in enableAndConfigure()
367 req.operateInBand[NanBandIndex.NAN_BAND_5GHZ] = configRequest.mSupport5gBand; in enableAndConfigure()
369 req.configParams.masterPref = (byte) configRequest.mMasterPreference; in enableAndConfigure()
387 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ] in enableAndConfigure()
393 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest in enableAndConfigure()
404 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] in enableAndConfigure()
410 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest in enableAndConfigure()
416 req.debugConfigs.clusterIdTopRangeVal = (short) configRequest.mClusterHigh; in enableAndConfigure()
417 req.debugConfigs.clusterIdBottomRangeVal = (short) configRequest.mClusterLow; in enableAndConfigure()
[all …]
DWifiAwareServiceImpl.java177 IWifiAwareEventCallback callback, ConfigRequest configRequest, in connect() argument
196 if (configRequest != null) { in connect()
199 configRequest = new ConfigRequest.Builder().build(); in connect()
201 configRequest.validate(); in connect()
213 + configRequest + ", notifyOnIdentityChanged=" + notifyOnIdentityChanged); in connect()
248 mStateManager.connect(clientId, uid, pid, callingPackage, callback, configRequest, in connect()
DWifiAwareStateManager.java570 IWifiAwareEventCallback callback, ConfigRequest configRequest, in connect() argument
576 msg.getData().putParcelable(MESSAGE_BUNDLE_KEY_CONFIG, configRequest); in connect()
1560 ConfigRequest configRequest = (ConfigRequest) msg.getData() in processCommand() local
1570 callingPackage, callback, configRequest, notifyIdentityChange); in processCommand()
2147 String callingPackage, IWifiAwareEventCallback callback, ConfigRequest configRequest, in connectLocal() argument
2152 + ", callback=" + callback + ", configRequest=" + configRequest in connectLocal()
2176 ConfigRequest merged = mergeConfigRequests(configRequest); in connectLocal()
2178 Log.e(TAG, "connectLocal: requested configRequest=" + configRequest in connectLocal()
2199 callingPackage, callback, configRequest, notifyIdentityChange, in connectLocal()
2549 ConfigRequest configRequest = (ConfigRequest) data in onConfigCompletedLocal() local
[all …]
DWifiAwareClientState.java71 String callingPackage, IWifiAwareEventCallback callback, ConfigRequest configRequest, in WifiAwareClientState() argument
80 mConfigRequest = configRequest; in WifiAwareClientState()
/frameworks/base/wifi/java/android/net/wifi/aware/
DIWifiAwareManager.aidl42 in ConfigRequest configRequest, boolean notifyOnIdentityChanged); in connect() argument
DWifiAwareManager.java253 public void attach(Handler handler, ConfigRequest configRequest, in attach() argument
258 + ", configRequest=" + configRequest + ", identityChangedListener=" in attach()
273 identityChangedListener), configRequest, in attach()