Home
last modified time | relevance | path

Searched refs:DHCP_HOST_NAME (Results 1 – 4 of 4) sorted by relevance

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java189 public static final byte DHCP_HOST_NAME = 12; field in DhcpPacket
818 if (!TextUtils.isEmpty(hn)) addTlv(buf, DHCP_HOST_NAME, hn); in addCommonClientTlvs()
849 addTlv(buf, DHCP_HOST_NAME, mHostName); in addCommonServerTlvs()
1199 case DHCP_HOST_NAME: in decodeFullPacket()
DDhcpServer.java20 import static android.net.dhcp.DhcpPacket.DHCP_HOST_NAME;
679 return request.hasRequestedParam(DHCP_HOST_NAME) && !TextUtils.isEmpty(lease.getHostname()) in getHostnameIfRequested()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServerTest.java20 import static android.net.dhcp.DhcpPacket.DHCP_HOST_NAME;
310 request.mRequestedParams = new byte[] { DHCP_HOST_NAME }; in testRequest_Selecting_Ack()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/
DNetworkIpProvisioningMetricsTest.java70 DhcpErrorEvent.BUFFER_UNDERFLOW, DhcpPacket.DHCP_HOST_NAME)); in testIpProvisioningMetrics_addDhcpErrorCode()