Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java257 ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testRequestMacAddresses() local
284 configRequest, false); in testRequestMacAddresses()
288 eq(configRequest), eq(false), eq(true), eq(true), eq(false), eq(false), eq(false)); in testRequestMacAddresses()
294 configRequest, false); in testRequestMacAddresses()
372 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testAwareDataPathInterfaceUpDown() local
387 configRequest, false); in testAwareDataPathInterfaceUpDown()
389 inOrder.verify(mMockNative).enableAndConfigure(transactionId.capture(), eq(configRequest), in testAwareDataPathInterfaceUpDown()
417 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testDisableUsageDisablesApis() local
441 configRequest, false); in testDisableUsageDisablesApis()
460 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testDisableUsageFlow() local
[all …]
DWifiAwareNativeApiTest.java103 when(mIWifiNanIfaceMock.configRequest(anyShort(), any())).thenReturn(status); in setup()
607 short transactionId, ConfigRequest configRequest, boolean notifyIdentityChange, in validateEnableAndConfigure() argument
612 mDut.enableAndConfigure(transactionId, configRequest, notifyIdentityChange, in validateEnableAndConfigure()
640 verify(mIWifiNanIfaceMock).configRequest(eq(transactionId), in validateEnableAndConfigure()
DWifiAwareServiceImplTest.java215 ConfigRequest configRequest = new ConfigRequest.Builder().setMasterPreference(55).build(); in testConnectWithConfig() local
220 configRequest, false); in testConnectWithConfig()
223 eq(callingFeatureId), eq(mCallbackMock), eq(configRequest), eq(false)); in testConnectWithConfig()
DWifiAwareDataPathStateManagerTest.java1798 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in getSessionNetworkRequestMore() local
1817 mgr.attach(mMockLooperHandler, configRequest, mockCallback, null); in getSessionNetworkRequestMore()
1819 clientProxyCallback.capture(), eq(configRequest), eq(false)); in getSessionNetworkRequestMore()
1887 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in getDirectNetworkRequestMore() local
1897 mgr.attach(mMockLooperHandler, configRequest, mockCallback, null); in getDirectNetworkRequestMore()
1899 clientProxyCallback.capture(), eq(configRequest), eq(false)); in getDirectNetworkRequestMore()
1979 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in initOobDataPathEndPoint() local
2011 mMockCallback, configRequest, false); in initOobDataPathEndPoint()
2016 eq(configRequest), eq(false), eq(true), eq(true), in initOobDataPathEndPoint()
DTestUtils.java50 public boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure() argument
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java320 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testPublishFlow() local
343 mDut.attach(mMockLooperHandler, configRequest, mockCallback, null); in testPublishFlow()
345 eq(configRequest), eq(false)); in testPublishFlow()
427 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testPublishRemoteTerminate() local
442 mDut.attach(mMockLooperHandler, configRequest, mockCallback, null); in testPublishRemoteTerminate()
444 eq(configRequest), eq(false)); in testPublishRemoteTerminate()
477 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testSubscribeFlow() local
499 mDut.attach(mMockLooperHandler, configRequest, mockCallback, null); in testSubscribeFlow()
501 eq(configRequest), eq(false)); in testSubscribeFlow()
576 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testSubscribeRemoteTerminate() local
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java376 public boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure() argument
381 + configRequest + ", notifyIdentityChange=" + notifyIdentityChange in enableAndConfigure()
419 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()
472 req.operateInBand[NanBandIndex.NAN_BAND_5GHZ] = configRequest.mSupport5gBand; in enableAndConfigure()
474 configRequest.mSupport6gBand; in enableAndConfigure()
[all …]
DWifiAwareServiceImpl.java194 IWifiAwareEventCallback callback, ConfigRequest configRequest, in connect() argument
213 if (configRequest != null) { in connect()
216 configRequest = new ConfigRequest.Builder().build(); in connect()
218 configRequest.validate(); in connect()
230 + configRequest + ", notifyOnIdentityChanged=" + notifyOnIdentityChanged); in connect()
266 configRequest, notifyOnIdentityChanged); in connect()
DWifiAwareStateManager.java704 ConfigRequest configRequest, boolean notifyOnIdentityChanged) { in connect() argument
709 msg.getData().putParcelable(MESSAGE_BUNDLE_KEY_CONFIG, configRequest); in connect()
1733 ConfigRequest configRequest = (ConfigRequest) msg.getData() in processCommand() local
1745 callingPackage, callingFeatureId, callback, configRequest, in processCommand()
2359 IWifiAwareEventCallback callback, ConfigRequest configRequest, in connectLocal() argument
2364 + ", callback=" + callback + ", configRequest=" + configRequest in connectLocal()
2388 ConfigRequest merged = mergeConfigRequests(configRequest); in connectLocal()
2390 Log.e(TAG, "connectLocal: requested configRequest=" + configRequest in connectLocal()
2411 callingPackage, callingFeatureId, callback, configRequest, notifyIdentityChange, in connectLocal()
2783 ConfigRequest configRequest = (ConfigRequest) data in onConfigCompletedLocal() local
[all …]
DWifiAwareClientState.java74 IWifiAwareEventCallback callback, ConfigRequest configRequest, in WifiAwareClientState() argument
84 mConfigRequest = configRequest; in WifiAwareClientState()
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgTunnelManagerTest.java1352 for (TunnelModeChildSessionParams.TunnelModeChildConfigRequest configRequest : in testTunnelSetupRequestParams()
1354 if (configRequest instanceof TunnelModeChildSessionParams.ConfigRequestIpv6Address) { in testTunnelSetupRequestParams()
1357 ((TunnelModeChildSessionParams.ConfigRequestIpv6Address) configRequest) in testTunnelSetupRequestParams()
1361 ((TunnelModeChildSessionParams.ConfigRequestIpv6Address) configRequest) in testTunnelSetupRequestParams()
1365 if (configRequest instanceof TunnelModeChildSessionParams.ConfigRequestIpv4Address) { in testTunnelSetupRequestParams()
1368 ((TunnelModeChildSessionParams.ConfigRequestIpv4Address) configRequest) in testTunnelSetupRequestParams()
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DWifiAwareManager.java357 public void attach(Handler handler, ConfigRequest configRequest, in attach() argument
362 + ", configRequest=" + configRequest + ", identityChangedListener=" in attach()
377 identityChangedListener), configRequest, in attach()
DIWifiAwareManager.aidl47 in IWifiAwareEventCallback callback, in ConfigRequest configRequest, in connect() argument