Searched refs:serverAddr (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/Tethering/src/android/net/dhcp/ |
D | DhcpServingParamsParcelExt.java | 49 public DhcpServingParamsParcelExt setServerAddr(@NonNull LinkAddress serverAddr) { in setServerAddr() argument 50 this.serverAddr = inet4AddressToIntHTH((Inet4Address) serverAddr.getAddress()); in setServerAddr() 51 this.serverAddrPrefixLength = serverAddr.getPrefixLength(); in setServerAddr()
|
/frameworks/base/core/java/android/net/ |
D | Ikev2VpnProfile.java | 110 @NonNull String serverAddr, in Ikev2VpnProfile() argument 126 checkNotNull(serverAddr, MISSING_PARAM_MSG_TMPL, "Server address"); in Ikev2VpnProfile() 130 mServerAddr = serverAddr; in Ikev2VpnProfile() 653 public Builder(@NonNull String serverAddr, @NonNull String identity) { in Builder() argument 654 checkNotNull(serverAddr, MISSING_PARAM_MSG_TMPL, "serverAddr"); in Builder() 657 mServerAddr = serverAddr; in Builder()
|
/frameworks/base/packages/Tethering/tests/unit/src/android/net/dhcp/ |
D | DhcpServingParamsParcelExtTest.java | 68 assertEquals(TEST_ADDRESS_PARCELED, mParcel.serverAddr); in testSetServerAddr()
|
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | IpServer.java | 524 @NonNull final Inet4Address dnsServer, @NonNull LinkAddress serverAddr, in makeServingParams() argument 532 .setServerAddr(serverAddr) in makeServingParams() 582 private boolean configureDhcp(boolean enable, final LinkAddress serverAddr, in configureDhcp() argument 585 return startDhcp(serverAddr, clientAddr); in configureDhcp()
|
/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 590 request.localIPv4Address = serverAddr; in createTetheringRequestParcel() 1691 final String serverAddr = "192.168.20.1"; in testMultipleStartTethering() local 1727 verify(mNetd).interfaceSetCfg(argThat(cfg -> serverAddr.equals(cfg.ipv4Addr))); in testMultipleStartTethering() 1734 final String serverAddr = "192.168.0.123"; in testRequestStaticIp() local 1745 verify(mNetd).interfaceSetCfg(argThat(cfg -> serverAddr.equals(cfg.ipv4Addr))); in testRequestStaticIp() 1749 assertEquals(serverAddr, intToInet4AddressHTH(params.serverAddr).getHostAddress()); in testRequestStaticIp()
|
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 1002 assertTrue(prefix.contains(intToInet4AddressHTH(params.serverAddr))); in assertDhcpServingParams() 1005 assertEquals(params.serverAddr, params.defaultRouters[0]); in assertDhcpServingParams() 1007 assertEquals(params.serverAddr, params.dnsServers[0]); in assertDhcpServingParams()
|