Home
last modified time | relevance | path

Searched refs:lp4 (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java104 LinkProperties lp4 = new LinkProperties(); in createProvisionedLinkProperties() local
105 lp4.addLinkAddress(linkAddrV4); in createProvisionedLinkProperties()
106 lp4.addDnsServer(dns1); in createProvisionedLinkProperties()
107 lp4.addRoute(new RouteInfo(gateway1)); in createProvisionedLinkProperties()
108 return lp4; in createProvisionedLinkProperties()
/frameworks/base/tests/net/java/android/net/
DLinkPropertiesTest.java483 LinkProperties lp4 = new LinkProperties(); in testIsProvisioned() local
484 assertFalse("v4only:empty", lp4.isProvisioned()); in testIsProvisioned()
485 lp4.addLinkAddress(LINKADDRV4); in testIsProvisioned()
486 assertFalse("v4only:addr-only", lp4.isProvisioned()); in testIsProvisioned()
487 lp4.addDnsServer(DNS1); in testIsProvisioned()
488 assertFalse("v4only:addr+dns", lp4.isProvisioned()); in testIsProvisioned()
489 lp4.addRoute(new RouteInfo(GATEWAY1)); in testIsProvisioned()
490 assertTrue("v4only:addr+dns+route", lp4.isProvisioned()); in testIsProvisioned()
491 assertTrue("v4only:addr+dns+route", lp4.isIPv4Provisioned()); in testIsProvisioned()
492 assertFalse("v4only:addr+dns+route", lp4.isIPv6Provisioned()); in testIsProvisioned()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java4112 LinkProperties lp4 = new LinkProperties(lp3); in testLinkPropertiesWithPrivateDnsValidationEvents() local
4113 lp4.removeDnsServer(InetAddress.getByName("145.100.185.16")); in testLinkPropertiesWithPrivateDnsValidationEvents()
4114 mCellNetworkAgent.sendLinkProperties(lp4); in testLinkPropertiesWithPrivateDnsValidationEvents()