Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareServiceImplTest.java81 private static final int MAX_LENGTH = 255; field in WifiAwareServiceImplTest
419 byte[] byteArray = new byte[MAX_LENGTH + 1]; in testPublishServiceNameTooLong()
420 for (int i = 0; i < MAX_LENGTH + 1; ++i) { in testPublishServiceNameTooLong()
431 doBadPublishConfiguration("correctservicename", new byte[MAX_LENGTH + 1], null); in testPublishSsiTooLong()
440 doBadPublishConfiguration("correctservicename", null, new byte[MAX_LENGTH + 1]); in testPublishMatchFilterTooLong()
514 byte[] byteArray = new byte[MAX_LENGTH + 1]; in testSubscribeServiceNameTooLong()
515 for (int i = 0; i < MAX_LENGTH + 1; ++i) { in testSubscribeServiceNameTooLong()
526 doBadSubscribeConfiguration("correctservicename", new byte[MAX_LENGTH + 1], null); in testSubscribeSsiTooLong()
535 doBadSubscribeConfiguration("correctservicename", null, new byte[MAX_LENGTH + 1]); in testSubscribeMatchFilterTooLong()
556 .setServiceSpecificInfo(new byte[MAX_LENGTH + 1]).build(); in testUpdateSubscribeInvalid()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DDisclaimersParser.java43 private static final int MAX_LENGTH = 3; field in DisclaimersParser
61 List<Disclaimer> disclaimers = new ArrayList<>(MAX_LENGTH); in parse()
64 if (disclaimers.size() >= MAX_LENGTH) { in parse()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpReleasePacket.java43 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpInformPacket.java44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpNakPacket.java44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpDeclinePacket.java46 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpDiscoverPacket.java51 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpRequestPacket.java45 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpOfferPacket.java62 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpAckPacket.java60 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpPacketListener.java38 protected final byte[] mBytes = new byte[DhcpPacket.MAX_LENGTH];
DDhcpPacket.java161 protected static final int MAX_LENGTH = 1500; field in DhcpPacket
815 addTlv(buf, DHCP_MAX_MESSAGE_SIZE, (short) MAX_LENGTH); in addCommonClientTlvs()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimer.kt338 val MAX_LENGTH: Long = 99 * HOUR_IN_MILLIS + 99 * MINUTE_IN_MILLIS + 99 * SECOND_IN_MILLIS in <lambda>() constant
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java143 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt3512 Landroid/icu/text/MessagePattern$Part;->MAX_LENGTH:I