/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpLeaseRepositoryTest.java | 150 assertEquals(hostname, lease.getHostname()); in requestAddresses() 261 assertEquals(TEST_HOSTNAME_1, offer.getHostname()); in testGetOffer_ExistingLease() 275 assertEquals(TEST_HOSTNAME_1, offer.getHostname()); in testGetOffer_ClientIdHasExistingLease() 291 assertEquals(HOSTNAME_NONE, offer.getHostname()); in testGetOffer_DifferentClientId() 300 assertEquals(TEST_HOSTNAME_1, offer.getHostname()); in testGetOffer_RequestedAddress() 343 assertEquals(TEST_HOSTNAME_1, offer.getHostname()); in testGetOffer_StaticClientAddress() 382 assertEquals(TEST_HOSTNAME_1, lease1.getHostname()); in testRequestLease_SelectingTwice() 385 assertEquals(TEST_HOSTNAME_2, lease2.getHostname()); in testRequestLease_SelectingTwice() 583 assertEquals(TEST_HOSTNAME_1, firstLease.getHostname()); in testMarkLeaseDeclined_UsedIfOutOfAddresses() 585 assertEquals(TEST_HOSTNAME_2, secondLease.getHostname()); in testMarkLeaseDeclined_UsedIfOutOfAddresses()
|
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsAdvertiser.java | 159 && TextUtils.isEmpty(registration.getServiceInfo().getHostname())) { 275 return MdnsUtils.equalsIgnoreDnsCase(newInfo.getHostname(), mDeviceHostName[0]); in hasAnyHostConflict() 290 if (!TextUtils.isEmpty(registration.getServiceInfo().getHostname())) { in updateRegistrationUntilNoConflict() 458 if (TextUtils.isEmpty(info.getHostname())) { in getConflictingRegistrationDueToHost() 467 info.getHostname(), otherInfo.getHostname())) { in getConflictingRegistrationDueToHost() 473 info.getHostname(), otherInfo.getHostname())) { in getConflictingRegistrationDueToHost() 636 this.mOriginalHostname = serviceInfo.getHostname(); in Registration() 647 && Objects.equals(newInfo.getHostname(), mOriginalHostname) in isSubtypeOnlyUpdate()
|
D | MdnsRecordRepository.java | 259 final boolean hasCustomHost = !TextUtils.isEmpty(serviceInfo.getHostname()); in ServiceRegistration() 262 ? new String[] {serviceInfo.getHostname(), LOCAL_TLD} in ServiceRegistration() 682 registration.serviceInfo.getHostname(), in getReply() 1023 return registration.serviceInfo.getHostname(); in getHostnameForServiceId() 1094 if (TextUtils.isEmpty(registration.serviceInfo.getHostname())) { in makeAnnouncementInfo() 1102 registration.serviceInfo.getHostname(), in makeAnnouncementInfo() 1258 if (registration.serviceInfo.getHostname() == null) { in conflictForHost() 1274 record.getName()[0], registration.serviceInfo.getHostname())) { in conflictForHost() 1322 if (TextUtils.isEmpty(serviceInfo.getHostname())) { in makeProbingInetAddressRecords() 1328 serviceInfo.getHostname(), in makeProbingInetAddressRecords() [all …]
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/ |
D | ServiceDiscoveryTest.java | 206 assertThat(resolvedService.getHostname()).isEqualTo(hostnamePrefix + i); in advertisingProxy_multipleSrpClientsRegisterServices_servicesResolvableByMdns() 261 assertThat(resolvedService.getHostname()).isEqualTo("my-host"); in advertisingProxy_srpClientUpdatesService_updatedServiceResolvableByMdns() 390 assertThat(resolvedService.getHostname()).isEqualTo("testhost.default.service.arpa."); in discoveryProxy_multipleClientsBrowseAndResolveServiceOverMdns() 431 assertThat(browsedService.getHostname()).isEqualTo("my-host.default.service.arpa."); in discoveryProxy_browseAndResolveServiceAtSrpServer() 442 assertThat(resolvedService.getHostname()).isEqualTo("my-host.default.service.arpa."); in discoveryProxy_browseAndResolveServiceAtSrpServer()
|
/packages/modules/Connectivity/tests/common/java/android/net/nsd/ |
D | NsdServiceInfoTest.java | 194 assertEquals(original.getHostname(), result.getHostname()); in checkParcelable()
|
/packages/modules/Connectivity/framework-t/src/android/net/nsd/ |
D | OffloadServiceInfo.java | 141 public String getHostname() { in getHostname() method in OffloadServiceInfo 178 this.getHostname(), in withOffloadPayload()
|
D | NsdServiceInfo.java | 109 mHostname = other.getHostname(); in NsdServiceInfo() 201 public String getHostname() { in getHostname() method in NsdServiceInfo
|
D | NsdManager.java | 1802 final boolean hasHostname = !TextUtils.isEmpty(serviceInfo.getHostname()); in validateHost()
|
/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 | 694 return request.hasRequestedParam(DHCP_HOST_NAME) && !TextUtils.isEmpty(lease.getHostname()) in getHostnameIfRequested() 695 ? lease.getHostname() in getHostnameIfRequested()
|
D | DhcpPacket.java | 809 public String getHostname() { in getHostname() method in DhcpPacket 825 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/framework-t/api/ |
D | system-lint-baseline.txt | 110 UnflaggedApi: android.net.nsd.OffloadServiceInfo#getHostname(): 111 … New API must be flagged with @FlaggedApi: method android.net.nsd.OffloadServiceInfo.getHostname()
|
D | system-current.txt | 403 method @NonNull public String getHostname();
|
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/ |
D | NsdPublisherTest.java | 324 assertThat(actualServiceInfo.getHostname()).isEqualTo("MyHost"); in registerHost_nsdManagerSucceeds_serviceRegistrationSucceeds() 368 assertThat(actualServiceInfo.getHostname()).isEqualTo("MyHost"); in registerHost_nsdManagerFails_serviceRegistrationFails()
|
/packages/modules/Connectivity/service-t/src/com/android/server/ |
D | NsdService.java | 966 final String hostname = serviceInfo.getHostname(); in processMessage() 1661 info.setHostname(getHostname(serviceInfo)); in handleMdnsDiscoveryManagerEvent() 1698 info.setHostname(getHostname(serviceInfo)); in handleMdnsDiscoveryManagerEvent() 1746 private static String getHostname(@NonNull MdnsServiceInfo serviceInfo) { in getHostname() method in NsdService 2212 cbInfo.setHostname(registeredInfo.getHostname()); in onRegisterServiceSucceeded()
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/api/ |
D | system-current.txt | 17 method @Nullable public String getHostname();
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | NsdPublisher.java | 625 serviceInfo.getHostname(), in onServiceUpdated()
|
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/ |
D | EthernetTetheringTest.java | 422 assertEquals(TetheringTester.DHCP_HOSTNAME, info.getHostname()); in checkTetheredClientCallbacks()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 1267 assertNoHostname(packet.getHostname()); 1269 assertEquals(hostnameAfterTransliteration, packet.getHostname());
|