Home
last modified time | relevance | path

Searched refs:setNetwork (Results 1 – 25 of 39) sorted by relevance

12

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DDiscoveryRequestTest.kt46 .setNetwork(Network(1)) in testParcelingIsLossLess()
57 .setNetwork(Network(1)) in testBuilder_success()
78 .setNetwork(Network(1)) in testEquality()
82 .setNetwork(Network(1)) in testEquality()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsDiscoveryManagerTests.java172 MdnsSearchOptions.newBuilder().setNetwork(null /* network */).build(); in registerListener_unregisterListener()
189 MdnsSearchOptions.newBuilder().setNetwork(null /* network */).build(); in onSocketDestroy_shutdownExecutorService()
202 MdnsSearchOptions.newBuilder().setNetwork(null /* network */).build(); in registerMultipleListeners()
221 MdnsSearchOptions.newBuilder().setNetwork(null /* network */).build(); in onResponseReceived()
231 MdnsSearchOptions.newBuilder().setNetwork(NETWORK_2).build(); in onResponseReceived()
272 MdnsSearchOptions.newBuilder().setNetwork(NETWORK_1).build(); in testSocketCreatedAndDestroyed()
326 MdnsSearchOptions.newBuilder().setNetwork(null /* network */).build(); in testUnregisterListenerAfterSocketDestroyed()
364 .setNetwork(null /* network */) in testInterfaceIndexRequested_OnlyUsesSelectedInterface()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSession.java309 public void setNetwork(@NonNull Network network) { in setNetwork() method in IkeSession
310 setNetwork(network, IkeSessionParams.ESP_IP_VERSION_AUTO, in setNetwork()
362 public void setNetwork( in setNetwork() method in IkeSession
377 mIkeSessionStateMachine.setNetwork(Objects.requireNonNull(network), in setNetwork()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeSessionMobikeTest.java257 ikeSession.setNetwork(tunNetworkContext.tunNetwork, ipVersion, ESP_ENCAP_TYPE_AUTO, in setNetworkAndVerifyConnectionInfoChange()
407 ikeSession.setNetwork(mSecondaryTunNetworkContext.tunNetwork); in testSetNetworkWithoutMobikeEnabled()
473 mIkeSession.setNetwork(mSecondaryTunNetworkContext.tunNetwork); in testSetNetworkWithoutOptionMobike()
DIkeSessionPskTestBase.java72 .setNetwork(mTunNetworkContext.tunNetwork) in createIkeParamsBuilderBase()
DIkeSessionDigitalSignatureTest.java161 .setNetwork(mTunNetworkContext.tunNetwork) in openIkeSessionWithRemoteAddress()
DIkeSessionMschapV2Test.java163 .setNetwork(mTunNetworkContext.tunNetwork) in openIkeSessionWithRemoteAddress()
DIkeSessionLivenessCheckTest.java80 .setNetwork(mTunNetworkContext.tunNetwork) in openIkeSessionWithRemoteAddress()
DIkeSessionRekeyTest.java56 .setNetwork(mTunNetworkContext.tunNetwork) in openIkeSessionWithRemoteAddress()
DIkeSessionParamsTest.java177 return builder.setNetwork(mTunNetworkContext.tunNetwork) in createIkeParamsBuilderMinimum()
384 .setNetwork(mTunNetworkContext.tunNetwork) in createIkeParamsBuilderMinimumWithoutAuth()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionTest.java224 ikeSession.setNetwork(mock(Network.class), in testThrowWhenSetNetworkWithInValidIpProtocol_v4ESP()
243 ikeSession.setNetwork(mock(Network.class), in testThrowWhenSetNetworkWithInValidIpProtocol_v6UDP()
DIkeSessionParamsTest.java324 .setNetwork(mMockUserConfigNetwork) in testEncodeIkeSessionParamsWithConfiguredNetwork()
557 .setNetwork(mMockUserConfigNetwork) in testBuildWithDigitalSignatureAuth()
931 createIkeParamsBuilderMinimum().setNetwork(mMockUserConfigNetwork).build(); in testCreateCopyWithNetworkCleared()
934 new IkeSessionParams.Builder(sessionParams).setNetwork(null).build(); in testCreateCopyWithNetworkCleared()
963 createIkeParamsBuilderMinimum().setNetwork(mMockUserConfigNetwork).build(); in testCreateAndSetNetworkWithoutConnectivityMgr()
/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/http/
DHttpRequest.java125 public abstract Builder setNetwork(@Nullable Network network); in setNetwork() method in HttpRequest.Builder
/packages/modules/IPsec/api/
Dmodule-lib-current.txt5 …method public void setNetwork(@NonNull android.net.Network, int, int, @IntRange(from=0xa, to=0xe10…
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java1005 request.setNetwork(network); in testRegisterAndUnregisterServiceInfoCallback()
1282 regInfo.setNetwork(network); in testDiscoveryWithMdnsDiscoveryManager_UsesSubtypes()
1314 request.setNetwork(network); in testResolutionWithMdnsDiscoveryManager()
1480 regInfo.setNetwork(new Network(999)); in testAdvertiseWithMdnsAdvertiser()
1531 regInfo.setNetwork(new Network(999)); in testAdvertiseWithMdnsAdvertiser_FailedWithInvalidServiceType()
1558 regInfo.setNetwork(new Network(999)); in testAdvertiseWithMdnsAdvertiser_LongServiceName()
1671 request.setNetwork(network); in testStopServiceResolutionWithMdnsDiscoveryManager()
1769 regInfo.setNetwork(network); in testEnablePlatformMdnsBackend()
1803 regInfo.setNetwork(null); in testTakeMulticastLockOnBehalfOfClient_ForWifiNetworksOnly()
1898 regInfo.setNetwork(null); in testTakeMulticastLockOnBehalfOfClient_ForForegroundAppsOnly()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/
DIkeNetworkCallbackBase.java93 public void setNetwork(Network network, LinkProperties lp, NetworkCapabilities nc) { in setNetwork() method in IkeNetworkCallbackBase
/packages/modules/Connectivity/framework-t/src/android/net/nsd/
DDiscoveryRequest.java234 public Builder setNetwork(@Nullable Network network) { in setNetwork() method in DiscoveryRequest.Builder
DNsdServiceInfo.java486 public void setNetwork(@Nullable Network network) { in setNetwork() method in NsdServiceInfo
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsSearchOptions.java283 public Builder setNetwork(Network network) { in setNetwork() method in MdnsSearchOptions.Builder
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DNsdPublisher.java226 new DiscoveryRequest.Builder(type).setNetwork(null).build(); in discoverServiceInternal()
265 serviceInfo.setNetwork(null); in resolveServiceInternal()
/packages/modules/Connectivity/tests/common/java/android/net/nsd/
DNsdServiceInfoTest.java142 fullInfo.setNetwork(new Network(123)); in testParcel()
/packages/modules/Connectivity/framework-t/src/android/net/
DIpSecConfig.java112 public void setNetwork(Network network) { in setNetwork() method in IpSecConfig
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java860 .setNetwork(discoveryRequest.getNetwork()) in processMessage()
1154 .setNetwork(info.getNetwork()) in processMessage()
1257 .setNetwork(info.getNetwork()) in processMessage()
1758 info.setNetwork(null); in setServiceNetworkForCallback()
1767 info.setNetwork(null); in setServiceNetworkForCallback()
1771 info.setNetwork(new Network(netId)); in setServiceNetworkForCallback()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.h204 void setNetwork(unsigned netId) { mNetId = netId; } in setNetwork() function
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/
DHttpClientTest.java186 .setNetwork(network) in request_contentTypeXml_returnsXmlBody_useSpecificNetwork()

12