/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | DiscoveryRequestTest.kt | 46 .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/ |
D | MdnsDiscoveryManagerTests.java | 172 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/ |
D | IkeSession.java | 309 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/ |
D | IkeSessionMobikeTest.java | 257 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()
|
D | IkeSessionPskTestBase.java | 72 .setNetwork(mTunNetworkContext.tunNetwork) in createIkeParamsBuilderBase()
|
D | IkeSessionDigitalSignatureTest.java | 161 .setNetwork(mTunNetworkContext.tunNetwork) in openIkeSessionWithRemoteAddress()
|
D | IkeSessionMschapV2Test.java | 163 .setNetwork(mTunNetworkContext.tunNetwork) in openIkeSessionWithRemoteAddress()
|
D | IkeSessionLivenessCheckTest.java | 80 .setNetwork(mTunNetworkContext.tunNetwork) in openIkeSessionWithRemoteAddress()
|
D | IkeSessionRekeyTest.java | 56 .setNetwork(mTunNetworkContext.tunNetwork) in openIkeSessionWithRemoteAddress()
|
D | IkeSessionParamsTest.java | 177 return builder.setNetwork(mTunNetworkContext.tunNetwork) in createIkeParamsBuilderMinimum() 384 .setNetwork(mTunNetworkContext.tunNetwork) in createIkeParamsBuilderMinimumWithoutAuth()
|
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/ |
D | IkeSessionTest.java | 224 ikeSession.setNetwork(mock(Network.class), in testThrowWhenSetNetworkWithInValidIpProtocol_v4ESP() 243 ikeSession.setNetwork(mock(Network.class), in testThrowWhenSetNetworkWithInValidIpProtocol_v6UDP()
|
D | IkeSessionParamsTest.java | 324 .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/ |
D | HttpRequest.java | 125 public abstract Builder setNetwork(@Nullable Network network); in setNetwork() method in HttpRequest.Builder
|
/packages/modules/IPsec/api/ |
D | module-lib-current.txt | 5 …method public void setNetwork(@NonNull android.net.Network, int, int, @IntRange(from=0xa, to=0xe10…
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | NsdServiceTest.java | 1005 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/ |
D | IkeNetworkCallbackBase.java | 93 public void setNetwork(Network network, LinkProperties lp, NetworkCapabilities nc) { in setNetwork() method in IkeNetworkCallbackBase
|
/packages/modules/Connectivity/framework-t/src/android/net/nsd/ |
D | DiscoveryRequest.java | 234 public Builder setNetwork(@Nullable Network network) { in setNetwork() method in DiscoveryRequest.Builder
|
D | NsdServiceInfo.java | 486 public void setNetwork(@Nullable Network network) { in setNetwork() method in NsdServiceInfo
|
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsSearchOptions.java | 283 public Builder setNetwork(Network network) { in setNetwork() method in MdnsSearchOptions.Builder
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | NsdPublisher.java | 226 new DiscoveryRequest.Builder(type).setNetwork(null).build(); in discoverServiceInternal() 265 serviceInfo.setNetwork(null); in resolveServiceInternal()
|
/packages/modules/Connectivity/tests/common/java/android/net/nsd/ |
D | NsdServiceInfoTest.java | 142 fullInfo.setNetwork(new Network(123)); in testParcel()
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | IpSecConfig.java | 112 public void setNetwork(Network network) { in setNetwork() method in IpSecConfig
|
/packages/modules/Connectivity/service-t/src/com/android/server/ |
D | NsdService.java | 860 .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/ |
D | dns_responder.h | 204 void setNetwork(unsigned netId) { mNetId = netId; } in setNetwork() function
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/ |
D | HttpClientTest.java | 186 .setNetwork(network) in request_contentTypeXml_returnsXmlBody_useSpecificNetwork()
|