Searched refs:cellLp (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | UpstreamNetworkMonitorTest.java | 487 final LinkProperties cellLp = cellAgent.linkProperties; in testLocalPrefixes() local 488 cellLp.setInterfaceName("rmnet_data0"); in testLocalPrefixes() 494 cellLp.addLinkAddress(new LinkAddress(addrStr + cidr)); in testLocalPrefixes() 587 final LinkProperties cellLp = cellAgent.linkProperties; in testLinkAddressChanged() local 588 cellLp.setInterfaceName("rmnet0"); in testLinkAddressChanged() 589 addLinkAddresses(cellLp, ipv4Addr); in testLinkAddressChanged() 595 verifyNotifyLinkPropertiesChange(cellLp); in testLinkAddressChanged() 599 addLinkAddresses(cellLp, ipv6Addr1); in testLinkAddressChanged() 603 verifyNotifyLinkPropertiesChange(cellLp); in testLinkAddressChanged() 606 removeLinkAddresses(cellLp, ipv6Addr1); in testLinkAddressChanged() [all …]
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/ |
D | CSDestroySocketTest.kt | 55 private fun cellLp() = LinkProperties().also{ in cellNc() method 81 val cellAgent = Agent(nc = cellNc(), lp = cellLp()) in doTestBackgroundRestrictionDestroySockets() 160 val cellAgent = Agent(nc = cellNc(), lp = cellLp()) in testReplaceFirewallChain() 222 val cellAgent = Agent(nc = cellNc(), lp = cellLp()) in doTestDestroySockets()
|
D | CSNetworkActivityTest.kt | 101 val cellLp = LinkProperties().apply { in <lambda>() constant 105 val cellAgent = Agent(nc = cellNc, lp = cellLp) in <lambda>()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 7904 LinkProperties cellLp = new LinkProperties(); 7905 cellLp.setInterfaceName(MOBILE_IFNAME); 7909 mCellAgent = new TestNetworkAgentWrapper(TRANSPORT_CELLULAR, cellLp); 7921 cellLp.addLinkAddress(new LinkAddress("192.0.2.4/24")); 7922 cellLp.addRoute(new RouteInfo((IpPrefix) null, InetAddress.getByName("192.0.2.4"), 7924 cellLp.setDnsServers(List.of(InetAddress.getAllByName("8.8.8.8"))); 7925 mCellAgent.sendLinkProperties(cellLp); 7950 mCellAgent = new TestNetworkAgentWrapper(TRANSPORT_CELLULAR, cellLp); 8201 final LinkProperties cellLp = new LinkProperties(); 8202 cellLp.setInterfaceName(MOBILE_IFNAME); [all …]
|