Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareServiceImplTest.java73 private static final int MAX_LENGTH = 255; field in WifiAwareServiceImplTest
381 byte[] byteArray = new byte[MAX_LENGTH + 1]; in testPublishServiceNameTooLong()
382 for (int i = 0; i < MAX_LENGTH + 1; ++i) { in testPublishServiceNameTooLong()
393 doBadPublishConfiguration("correctservicename", new byte[MAX_LENGTH + 1], null); in testPublishSsiTooLong()
402 doBadPublishConfiguration("correctservicename", null, new byte[MAX_LENGTH + 1]); in testPublishMatchFilterTooLong()
476 byte[] byteArray = new byte[MAX_LENGTH + 1]; in testSubscribeServiceNameTooLong()
477 for (int i = 0; i < MAX_LENGTH + 1; ++i) { in testSubscribeServiceNameTooLong()
488 doBadSubscribeConfiguration("correctservicename", new byte[MAX_LENGTH + 1], null); in testSubscribeSsiTooLong()
497 doBadSubscribeConfiguration("correctservicename", null, new byte[MAX_LENGTH + 1]); in testSubscribeMatchFilterTooLong()
518 .setServiceSpecificInfo(new byte[MAX_LENGTH + 1]).build(); in testUpdateSubscribeInvalid()
[all …]
/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.java129 protected static final int MAX_LENGTH = 1500; field in DhcpPacket
633 addTlv(buf, DHCP_MAX_MESSAGE_SIZE, (short) MAX_LENGTH); in addCommonClientTlvs()
DDhcpClient.java350 private final byte[] mPacket = new byte[DhcpPacket.MAX_LENGTH];
/frameworks/base/tests/net/java/android/net/dhcp/
DDhcpPacketTest.java104 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
/frameworks/base/core/java/android/provider/
DSettings.java3102 private static final int MAX_LENGTH = 1000;
3107 return value == null || value.length() < MAX_LENGTH;
3608 private static final int MAX_LENGTH = 1000;
3612 if (value != null && value.length() > MAX_LENGTH) {
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...