Searched refs:srvAddr (Results 1 – 2 of 2) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpServerTest.java | 420 final Set<Inet4Address> srvAddr = new HashSet<>(Collections.singletonList(serverAddr)); in testChangePrefixOnDecline() local 425 updateServingParams(srvAddr, srvAddr, excludedAddrs, srvLinkAddr, in testChangePrefixOnDecline() 453 private void assertMatchesLease(@NonNull DhcpPacket packet, @NonNull Inet4Address srvAddr, in assertMatchesLease() argument 457 assertEquals(srvAddr, packet.mServerIdentifier); in assertMatchesLease()
|
/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
D | IpServer.java | 1290 final Inet4Address srvAddr = (Inet4Address) mIpv4Address.getAddress(); in handleNewPrefixRequest() local 1293 if (!mInterfaceCtrl.addAddress(srvAddr, currentPrefix.getPrefixLength())) { in handleNewPrefixRequest() 1294 mLog.e("Failed to add new IP " + srvAddr); in handleNewPrefixRequest() 1322 final DhcpServingParamsParcel params = makeServingParams(srvAddr /* defaultRouter */, in handleNewPrefixRequest() 1323 srvAddr /* dnsServer */, mIpv4Address /* serverLinkAddress */, clientAddr); in handleNewPrefixRequest()
|