Searched refs:clientAddr (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/Tethering/src/android/net/dhcp/ |
D | DhcpServingParamsParcelExt.java | 171 public DhcpServingParamsParcelExt setSingleClientAddr(@Nullable Inet4Address clientAddr) { in setSingleClientAddr() argument 172 this.singleClientAddr = clientAddr == null ? 0 : inet4AddressToIntHTH(clientAddr); in setSingleClientAddr()
|
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | IpServer.java | 525 @Nullable Inet4Address clientAddr) { in makeServingParams() argument 527 (mInterfaceType == TetheringManager.TETHERING_NCM && clientAddr == null); in makeServingParams() 534 .setSingleClientAddr(clientAddr) in makeServingParams() 545 final Inet4Address clientAddr = clientLinkAddr == null ? null : in startDhcp() local 549 addr /* dnsServer */, serverLinkAddr, clientAddr); in startDhcp() 583 final LinkAddress clientAddr) { in configureDhcp() argument 585 return startDhcp(serverAddr, clientAddr); in configureDhcp() 965 final Inet4Address clientAddr = mStaticIpv4ClientAddr == null ? null : in handleNewPrefixRequest() local 968 srvAddr /* dnsServer */, mIpv4Address /* serverLinkAddress */, clientAddr); in handleNewPrefixRequest()
|
/frameworks/base/packages/Tethering/tests/integration/src/android/net/ |
D | EthernetTetheringTest.java | 210 final String clientAddr = "192.0.2.2/28"; in testStaticIpv4() local 212 requestWithStaticIpv4(localAddr, clientAddr)); in testStaticIpv4() 223 assertEquals(new LinkAddress(clientAddr), dhcpResults.ipAddress); in testStaticIpv4() 525 LinkAddress clientAddr = client == null ? null : new LinkAddress(client); in requestWithStaticIpv4() local 527 .setStaticIpv4Addresses(localAddr, clientAddr) in requestWithStaticIpv4()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringTest.java | 587 final LinkAddress serverAddr, final LinkAddress clientAddr, final boolean exempt) { in createTetheringRequestParcel() argument 591 request.staticClientAddress = clientAddr; in createTetheringRequestParcel()
|