Searched refs:getHostname (Results 1 – 9 of 9) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpLeaseRepositoryTest.java | 144 assertEquals(hostname, lease.getHostname()); in requestAddresses() 249 assertEquals(TEST_HOSTNAME_1, offer.getHostname()); in testGetOffer_ExistingLease() 263 assertEquals(TEST_HOSTNAME_1, offer.getHostname()); in testGetOffer_ClientIdHasExistingLease() 279 assertEquals(HOSTNAME_NONE, offer.getHostname()); in testGetOffer_DifferentClientId() 288 assertEquals(TEST_HOSTNAME_1, offer.getHostname()); in testGetOffer_RequestedAddress() 331 assertEquals(TEST_HOSTNAME_1, offer.getHostname()); in testGetOffer_StaticClientAddress() 370 assertEquals(TEST_HOSTNAME_1, lease1.getHostname()); in testRequestLease_SelectingTwice() 373 assertEquals(TEST_HOSTNAME_2, lease2.getHostname()); in testRequestLease_SelectingTwice() 570 assertEquals(TEST_HOSTNAME_1, firstLease.getHostname()); in testMarkLeaseDeclined_UsedIfOutOfAddresses() 572 assertEquals(TEST_HOSTNAME_2, secondLease.getHostname()); in testMarkLeaseDeclined_UsedIfOutOfAddresses()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/ |
D | RedirectListener.java | 78 mServerUrl = new URL("http", getHostname(), port, mPath); in RedirectListener()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpLease.java | 86 public String getHostname() { in getHostname() method in DhcpLease
|
D | DhcpServer.java | 679 return request.hasRequestedParam(DHCP_HOST_NAME) && !TextUtils.isEmpty(lease.getHostname()) in getHostnameIfRequested() 680 ? lease.getHostname() in getHostnameIfRequested()
|
D | DhcpPacket.java | 800 public String getHostname() { in getHostname() method in DhcpPacket 817 final String hn = getHostname(); in addCommonClientTlvs()
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/ |
D | TetheredClient.java | 154 public String getHostname() { in getHostname() method in TetheredClient.AddressInfo
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/api/ |
D | system-current.txt | 17 method @Nullable public String getHostname();
|
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/ |
D | EthernetTetheringTest.java | 562 assertEquals(DHCP_HOSTNAME, info.getHostname()); in checkTetheredClientCallbacks()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 845 assertNoHostname(packet.getHostname()); 847 assertEquals(packet.getHostname(), hostnameAfterTransliteration);
|