Home
last modified time | relevance | path

Searched refs:MAX_LENGTH (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/net/java/android/net/dhcp/
DDhcpDeclinePacket.java44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpDiscoverPacket.java43 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpInformPacket.java44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpNakPacket.java45 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpRequestPacket.java47 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpOfferPacket.java59 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpAckPacket.java57 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpPacket.java126 protected static final int MAX_LENGTH = 1500; field in DhcpPacket
630 addTlv(buf, DHCP_MAX_MESSAGE_SIZE, (short) MAX_LENGTH); in addCommonClientTlvs()
DDhcpClient.java337 private final byte[] mPacket = new byte[DhcpPacket.MAX_LENGTH];
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/
DDhcpPacketTest.java92 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
/frameworks/base/core/java/android/provider/
DSettings.java2651 private static final int MAX_LENGTH = 1000;
2656 return value == null || value.length() < MAX_LENGTH;
3084 private static final int MAX_LENGTH = 1000;
3088 if (value != null && value.length() > MAX_LENGTH) {