Home
last modified time | relevance | path

Searched refs:getHostname (Results 1 – 9 of 9) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpLeaseRepositoryTest.java144 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/
DRedirectListener.java78 mServerUrl = new URL("http", getHostname(), port, mPath); in RedirectListener()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpLease.java86 public String getHostname() { in getHostname() method in DhcpLease
DDhcpServer.java679 return request.hasRequestedParam(DHCP_HOST_NAME) && !TextUtils.isEmpty(lease.getHostname()) in getHostnameIfRequested()
680 ? lease.getHostname() in getHostnameIfRequested()
DDhcpPacket.java800 public String getHostname() { in getHostname() method in DhcpPacket
817 final String hn = getHostname(); in addCommonClientTlvs()
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
DTetheredClient.java154 public String getHostname() { in getHostname() method in TetheredClient.AddressInfo
/packages/modules/Connectivity/Tethering/common/TetheringLib/api/
Dsystem-current.txt17 method @Nullable public String getHostname();
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java562 assertEquals(DHCP_HOSTNAME, info.getHostname()); in checkTetheredClientCallbacks()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTestCommon.java845 assertNoHostname(packet.getHostname());
847 assertEquals(packet.getHostname(), hostnameAfterTransliteration);