Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java327 ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testRequestMacAddresses() local
354 configRequest, false, mExtras, false); in testRequestMacAddresses()
358 eq(configRequest), eq(false), eq(true), eq(true), eq(false), eq(false), eq(false), in testRequestMacAddresses()
366 configRequest, false, mExtras, false); in testRequestMacAddresses()
459 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testAwareDataPathInterfaceUpDown() local
474 configRequest, false, mExtras, false); in testAwareDataPathInterfaceUpDown()
476 inOrder.verify(mMockNative).enableAndConfigure(transactionId.capture(), eq(configRequest), in testAwareDataPathInterfaceUpDown()
506 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testDisableUsageDisablesApis() local
530 configRequest, false, mExtras, false); in testDisableUsageDisablesApis()
549 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testDisableUsageFlow() local
[all …]
DTestUtils.java51 public boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure() argument
DWifiAwareDataPathStateManagerTest.java2020 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in getSessionNetworkRequestMore() local
2039 mgr.attach(mMockLooperHandler, configRequest, mockCallback, null, false, null); in getSessionNetworkRequestMore()
2041 clientProxyCallback.capture(), eq(configRequest), eq(false), any(), eq(false)); in getSessionNetworkRequestMore()
2109 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in getDirectNetworkRequestMore() local
2119 mgr.attach(mMockLooperHandler, configRequest, mockCallback, null, false, null); in getDirectNetworkRequestMore()
2121 clientProxyCallback.capture(), eq(configRequest), eq(false), any(), eq(false)); in getDirectNetworkRequestMore()
2201 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in initOobDataPathEndPoint() local
2235 mMockCallback, configRequest, false, mExtras, false); in initOobDataPathEndPoint()
2240 eq(configRequest), eq(false), eq(true), eq(true), in initOobDataPathEndPoint()
DWifiAwareServiceImplTest.java239 ConfigRequest configRequest = new ConfigRequest.Builder().setMasterPreference(55).build(); in testConnectWithConfig() local
243 configRequest, false, mExtras, false); in testConnectWithConfig()
246 eq(callingFeatureId), eq(mCallbackMock), eq(configRequest), eq(false), any(), in testConnectWithConfig()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java338 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testPublishFlow() local
361 mDut.attach(mMockLooperHandler, configRequest, mockCallback, null, false, null); in testPublishFlow()
363 eq(configRequest), eq(false), any(), eq(false)); in testPublishFlow()
447 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testPublishRemoteTerminate() local
462 mDut.attach(mMockLooperHandler, configRequest, mockCallback, null, false, null); in testPublishRemoteTerminate()
464 eq(configRequest), eq(false), any(), eq(false)); in testPublishRemoteTerminate()
497 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testSubscribeFlow() local
519 mDut.attach(mMockLooperHandler, configRequest, mockCallback, null, false, null); in testSubscribeFlow()
521 eq(configRequest), eq(false), any(), eq(false)); in testSubscribeFlow()
600 final ConfigRequest configRequest = new ConfigRequest.Builder().build(); in testSubscribeRemoteTerminate() local
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiNanIfaceAidlImpl.java179 public boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure() argument
190 configRequest, notifyIdentityChange, supplemental, in enableAndConfigure()
195 configRequest, notifyIdentityChange, supplemental, in enableAndConfigure()
197 mWifiNanIface.configRequest((char) transactionId, req, supplemental); in enableAndConfigure()
616 ConfigRequest configRequest) { in createNanBandSpecificConfigs() argument
623 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ] in createNanBandSpecificConfigs()
629 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ]; in createNanBandSpecificConfigs()
638 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] in createNanBandSpecificConfigs()
644 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ]; in createNanBandSpecificConfigs()
653 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_6GHZ] in createNanBandSpecificConfigs()
[all …]
DWifiNanIfaceHidlImpl.java115 public boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure() argument
121 () -> enableAndConfigureInternal(methodStr, transactionId, configRequest, in enableAndConfigure()
349 String methodStr, short transactionId, ConfigRequest configRequest, in enableAndConfigureInternal() argument
385 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_24GHZ] in enableAndConfigureInternal()
391 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest in enableAndConfigureInternal()
401 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_5GHZ] in enableAndConfigureInternal()
407 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest in enableAndConfigureInternal()
417 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_6GHZ] in enableAndConfigureInternal()
423 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest in enableAndConfigureInternal()
436 req.operateInBand[NanBandIndex.NAN_BAND_5GHZ] = configRequest.mSupport5gBand; in enableAndConfigureInternal()
[all …]
DIWifiNanIface.java76 boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure() argument
DWifiNanIface.java361 public boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure() argument
366 () -> mWifiNanIface.enableAndConfigure(transactionId, configRequest, in enableAndConfigure()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareServiceImpl.java293 IWifiAwareEventCallback callback, ConfigRequest configRequest, in connect() argument
321 if (configRequest != null) { in connect()
324 configRequest = new ConfigRequest.Builder().build(); in connect()
326 configRequest.validate(); in connect()
338 + configRequest + ", notifyOnIdentityChanged=" + notifyOnIdentityChanged); in connect()
374 configRequest, notifyOnIdentityChanged, extras, forOffloading); in connect()
DWifiAwareClientState.java81 IWifiAwareEventCallback callback, ConfigRequest configRequest, in WifiAwareClientState() argument
92 mConfigRequest = configRequest; in WifiAwareClientState()
DWifiAwareStateManager.java1090 ConfigRequest configRequest, boolean notifyOnIdentityChanged, Bundle extra, in connect() argument
1115 msg.getData().putParcelable(MESSAGE_BUNDLE_KEY_CONFIG, configRequest); in connect()
2598 ConfigRequest configRequest = (ConfigRequest) msg.getData() in processCommand() local
2642 callingPackage, callingFeatureId, callback, configRequest, in processCommand()
3468 IWifiAwareEventCallback callback, ConfigRequest configRequest, in connectLocal() argument
3473 + ", callback=" + callback + ", configRequest=" + configRequest in connectLocal()
3498 ConfigRequest merged = mergeConfigRequests(configRequest); in connectLocal()
3500 Log.e(TAG, "connectLocal: requested configRequest=" + configRequest in connectLocal()
3527 callingPackage, callingFeatureId, callback, configRequest, notifyIdentityChange, in connectLocal()
4076 ConfigRequest configRequest = (ConfigRequest) data in onConfigCompletedLocal() local
[all …]
DWifiAwareNativeApi.java353 public boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure() argument
358 + configRequest + ", notifyIdentityChange=" + notifyIdentityChange in enableAndConfigure()
372 return iface.enableAndConfigure(transactionId, configRequest, notifyIdentityChange, in enableAndConfigure()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiNanIfaceHidlImplTest.java95 when(mIWifiNanIface.configRequest(anyShort(), any())).thenReturn(status); in setup()
524 short transactionId, ConfigRequest configRequest, boolean notifyIdentityChange, in validateEnableAndConfigure() argument
530 mDut.enableAndConfigure(transactionId, configRequest, notifyIdentityChange, in validateEnableAndConfigure()
560 verify(mIWifiNanIface).configRequest(eq(transactionId), in validateEnableAndConfigure()
DWifiNanIfaceAidlImplTest.java416 short transactionId, ConfigRequest configRequest, boolean notifyIdentityChange, in validateEnableAndConfigure() argument
419 mDut.enableAndConfigure(transactionId, configRequest, notifyIdentityChange, in validateEnableAndConfigure()
439 verify(mIWifiNanIfaceMock).configRequest(eq((char) transactionId), in validateEnableAndConfigure()
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DIWifiAwareManager.aidl60 in IWifiAwareEventCallback callback, in ConfigRequest configRequest, in connect() argument
DWifiAwareManager.java513 public void attach(Handler handler, ConfigRequest configRequest, in attach() argument
519 + ", configRequest=" + configRequest + ", identityChangedListener=" in attach()
543 attachCallback, identityChangedListener), configRequest, in attach()
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgTunnelManagerTest.java1934 for (TunnelModeChildSessionParams.TunnelModeChildConfigRequest configRequest : in testTunnelSetupRequestParams()
1936 if (configRequest instanceof TunnelModeChildSessionParams.ConfigRequestIpv6Address) { in testTunnelSetupRequestParams()
1939 ((TunnelModeChildSessionParams.ConfigRequestIpv6Address) configRequest) in testTunnelSetupRequestParams()
1943 ((TunnelModeChildSessionParams.ConfigRequestIpv6Address) configRequest) in testTunnelSetupRequestParams()
1947 if (configRequest instanceof TunnelModeChildSessionParams.ConfigRequestIpv4Address) { in testTunnelSetupRequestParams()
1950 ((TunnelModeChildSessionParams.ConfigRequestIpv4Address) configRequest) in testTunnelSetupRequestParams()