Home
last modified time | relevance | path

Searched refs:addLinkAddress (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/tests/net/common/java/android/net/
DLinkPropertiesTest.java142 lp.addLinkAddress(LINKADDRV4); in makeTestObject()
143 lp.addLinkAddress(LINKADDRV6); in makeTestObject()
238 source.addLinkAddress(LINKADDRV4); in testEqualsSameOrder()
239 source.addLinkAddress(LINKADDRV6); in testEqualsSameOrder()
254 target.addLinkAddress(LINKADDRV4); in testEqualsSameOrder()
255 target.addLinkAddress(LINKADDRV6); in testEqualsSameOrder()
268 target.addLinkAddress(LINKADDRV4); in testEqualsSameOrder()
269 target.addLinkAddress(LINKADDRV6); in testEqualsSameOrder()
281 target.addLinkAddress(new LinkAddress(address("75.208.6.2"), 32)); in testEqualsSameOrder()
282 target.addLinkAddress(LINKADDRV6); in testEqualsSameOrder()
[all …]
DStaticIpConfigurationTest.java152 expected.addLinkAddress(ADDR); in testToLinkProperties()
/frameworks/libs/net/common/tests/unit/src/android/net/util/
DLinkPropertiesUtilsTest.java70 lp.addLinkAddress(V4_LINKADDR); in createTestObject()
71 lp.addLinkAddress(V6_LINKADDR); in createTestObject()
110 target.addLinkAddress(testLinkAddr); in testLinkPropertiesIdenticalEqual()
121 target.addLinkAddress(V4_LINKADDR); in testLinkPropertiesIdenticalEqual()
180 source.addLinkAddress(linkAddr1); in testCompareAddresses()
189 target.addLinkAddress(linkAddr2); in testCompareAddresses()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DNat464XlatTest.java157 mNai.linkProperties.addLinkAddress(new LinkAddress("fc00::1/64"));
161 mNai.linkProperties.addLinkAddress(new LinkAddress("2001:db8::1/64"));
173 mNai.linkProperties.addLinkAddress(new LinkAddress("192.0.2.2/24"));
194 mNai.linkProperties.addLinkAddress(ADDR);
202 mNai.linkProperties.addLinkAddress(V6ADDR);
256 mNai.linkProperties.addLinkAddress(V6ADDR);
383 mNai.linkProperties.addLinkAddress(new LinkAddress("2001:db8::1/64"));
427 mNai.linkProperties.addLinkAddress(new LinkAddress("2001:db8::1/64"));
DIpConnectivityMetricsTest.java596 nai.linkProperties.addLinkAddress(new LinkAddress("192.0.2.12/24")); in makeNai()
600 nai.linkProperties.addLinkAddress(new LinkAddress("2001:db8:dead:beef:f00::a0/64")); in makeNai()
DDnsManagerTest.java182 lp.addLinkAddress(new LinkAddress("192.0.2.4/24")); in testTrackedValidationUpdates()
185 lp.addLinkAddress(new LinkAddress("2001:db8:1::1/64")); in testTrackedValidationUpdates()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java304 lp.addLinkAddress(new LinkAddress(linkAddr)); in testSetUpstreamLinkPropertiesWorking()
362 stacked.addLinkAddress(new LinkAddress("192.0.2.129/25")); in testSetUpstreamLinkPropertiesWorking()
388 lp.addLinkAddress(new LinkAddress("2001:db8::6173:7369:676e:6564/64")); in testSetUpstreamLinkPropertiesWorking()
390 lp.addLinkAddress(new LinkAddress("2001:db8::7261:6e64:6f6d/64")); in testSetUpstreamLinkPropertiesWorking()
617 usbLinkProperties.addLinkAddress(new LinkAddress("192.168.42.1/24")); in testAddRemoveDownstreams()
633 usbLinkProperties.addLinkAddress(new LinkAddress("2001:db8::1/64")); in testAddRemoveDownstreams()
642 usbLinkProperties.addLinkAddress(new LinkAddress("2001:db8::2/64")); in testAddRemoveDownstreams()
729 usbLinkProperties.addLinkAddress(new LinkAddress("192.168.42.1/24")); in testControlCallbackOnSupportAvailableFetchesAllStatsAndPushesAllParameters()
736 wifiLinkProperties.addLinkAddress(new LinkAddress("192.168.43.1/24")); in testControlCallbackOnSupportAvailableFetchesAllStatsAndPushesAllParameters()
743 wifiLinkProperties.addLinkAddress(new LinkAddress("2001:2::1/64")); in testControlCallbackOnSupportAvailableFetchesAllStatsAndPushesAllParameters()
[all …]
DIPv6TetheringCoordinatorTest.java88 linkProp.addLinkAddress(new LinkAddress(TEST_IPV6_ADDRESS)); in createDualStackUpstream()
89 linkProp.addLinkAddress(new LinkAddress(TEST_IPV4_ADDRESS)); in createDualStackUpstream()
DPrivateAddressCoordinatorTest.java186 prop.addLinkAddress( in buildUpstreamLinkProperties()
192 prop.addLinkAddress( in buildUpstreamLinkProperties()
DUpstreamNetworkMonitorTest.java442 wifiLp.addLinkAddress(new LinkAddress(addrStr + cidr)); in testLocalPrefixes()
466 cellLp.addLinkAddress(new LinkAddress(addrStr + cidr)); in testLocalPrefixes()
489 dunLp.addLinkAddress(new LinkAddress(addrStr + cidr)); in testLocalPrefixes()
DTetheringTest.java456 prop.addLinkAddress( in buildMobileUpstreamState()
1870 prop.addLinkAddress( in buildV4WifiUpstreamState()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinator.java239 v6only.addLinkAddress(linkAddr); in getIPv6OnlyLinkProperties()
284 lp.addLinkAddress(new LinkAddress(local64.getAddress(), 64)); in getUniqueLocalConfig()
/frameworks/base/core/java/com/android/server/net/
DNetlinkTracker.java125 changed = mLinkProperties.addLinkAddress(address); in addressUpdated()
/frameworks/base/core/java/android/net/
DStaticIpConfiguration.java232 lp.addLinkAddress(ipAddress); in toLinkProperties()
DLinkProperties.java297 public boolean addLinkAddress(@NonNull LinkAddress address) { in addLinkAddress() method in LinkProperties
368 addLinkAddress(address); in setLinkAddresses()
1856 netProp.addLinkAddress(in.readParcelable(null));
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java643 mLinkProperties.addLinkAddress(mIpv4Address); in configureIPv4()
834 mLinkProperties.addLinkAddress(new LinkAddress(dns, RFC7421_PREFIX_LENGTH)); in configureLocalIPv6Dns()
951 mLinkProperties.addLinkAddress(mIpv4Address); in handleNewPrefixRequest()
/frameworks/base/services/core/java/com/android/server/
DTestNetworkService.java275 lp.addLinkAddress(
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java4044 lp.addLinkAddress(new LinkAddress(myIPv6, 64)); in testPacketKeepalives()
4045 lp.addLinkAddress(new LinkAddress(myIPv4, 25)); in testPacketKeepalives()
4097 bogusLp.addLinkAddress(new LinkAddress(notMyIPv4, 25)); in testPacketKeepalives()
4183 lp.addLinkAddress(new LinkAddress(myIPv6, 64)); in doTestNattSocketKeepalivesWithExecutor()
4184 lp.addLinkAddress(new LinkAddress(myIPv4, 25)); in doTestNattSocketKeepalivesWithExecutor()
4270 bogusLp.addLinkAddress(new LinkAddress(notMyIPv4, 25)); in doTestNattSocketKeepalivesWithExecutor()
4351 lp.addLinkAddress(new LinkAddress(myIPv6, 64)); in doTestTcpSocketKeepalivesWithExecutor()
4352 lp.addLinkAddress(new LinkAddress(myIPv4, 25)); in doTestTcpSocketKeepalivesWithExecutor()
4421 lp.addLinkAddress(new LinkAddress(myIPv4, 25)); in doTestNattSocketKeepalivesFdWithExecutor()
4739 lp.addLinkAddress(myIpv4Address); in testLinkPropertiesEnsuresDirectlyConnectedRoutes()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java444 stacked.addLinkAddress(clatAddress); in makeLinkProperties()
DVpn.java1016 lp.addLinkAddress(address);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java110 lp4.addLinkAddress(linkAddrV4); in createProvisionedLinkProperties()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java934 linkProp.addLinkAddress(new LinkAddress("2001:db8::1/64")); in buildIpv6OnlyLinkProperties()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1522 linkProperties.addLinkAddress(new LinkAddress(linkLocal, 64)); in configureAgentProperties()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java1537 linkProperties.addLinkAddress(la); in setLinkProperties()
/frameworks/base/api/
Dtest-current.txt1490 method public boolean addLinkAddress(@NonNull android.net.LinkAddress);

12