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.java183 public static final byte DHCP_HOST_NAME = 12; field in DhcpPacket
770 if (!TextUtils.isEmpty(hn)) addTlv(buf, DHCP_HOST_NAME, hn); in addCommonClientTlvs()
787 addTlv(buf, DHCP_HOST_NAME, mHostName); in addCommonServerTlvs()
1126 case DHCP_HOST_NAME: in decodeFullPacket()
DDhcpServer.java20 import static android.net.dhcp.DhcpPacket.DHCP_HOST_NAME;
678 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()