Home
last modified time | relevance | path

Searched refs:hasRequestedParam (Results 1 – 3 of 3) sorted by relevance

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServer.java694 return request.hasRequestedParam(DHCP_HOST_NAME) && !TextUtils.isEmpty(lease.getHostname()) in getHostnameIfRequested()
DDhcpPacket.java484 public boolean hasRequestedParam(byte paramId) { in hasRequestedParam() method in DhcpPacket
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java2760 assertEquals(featureEnabled, discover.hasRequestedParam(DhcpPacket.DHCP_CAPTIVE_PORTAL));
3230 assertTrue(packet.hasRequestedParam(DHCP_IPV6_ONLY_PREFERRED));
3610 assertFalse(packet.hasRequestedParam((byte) 42 /* NTP_SERVER */));
3623 assertTrue(packet.hasRequestedParam((byte) 77 /* DHCP_USER_CLASS */));
3752 assertFalse(packet.hasRequestedParam((byte) 42 /* NTP_SERVER */));
3767 assertTrue(packet.hasRequestedParam((byte) 77 /* DHCP_USER_CLASS */));