Searched refs:MAX_LENGTH (Results 1 – 15 of 15) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareServiceImplTest.java | 81 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/ |
D | DisclaimersParser.java | 43 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/ |
D | DhcpReleasePacket.java | 43 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
|
D | DhcpInformPacket.java | 44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
|
D | DhcpNakPacket.java | 44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
|
D | DhcpDeclinePacket.java | 46 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
|
D | DhcpDiscoverPacket.java | 51 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
|
D | DhcpRequestPacket.java | 45 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
|
D | DhcpOfferPacket.java | 62 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
|
D | DhcpAckPacket.java | 60 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
|
D | DhcpPacketListener.java | 38 protected final byte[] mBytes = new byte[DhcpPacket.MAX_LENGTH];
|
D | DhcpPacket.java | 161 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/ |
D | Timer.kt | 338 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/ |
D | DhcpPacketTest.java | 143 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
|
/packages/modules/RuntimeI18n/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 3512 Landroid/icu/text/MessagePattern$Part;->MAX_LENGTH:I
|