Searched refs:MAX_LENGTH (Results 1 – 2 of 2) sorted by relevance
78 private static final int MAX_LENGTH = 255; field in WifiAwareServiceImplTest389 byte[] byteArray = new byte[MAX_LENGTH + 1]; in testPublishServiceNameTooLong()390 for (int i = 0; i < MAX_LENGTH + 1; ++i) { in testPublishServiceNameTooLong()401 doBadPublishConfiguration("correctservicename", new byte[MAX_LENGTH + 1], null); in testPublishSsiTooLong()410 doBadPublishConfiguration("correctservicename", null, new byte[MAX_LENGTH + 1]); in testPublishMatchFilterTooLong()484 byte[] byteArray = new byte[MAX_LENGTH + 1]; in testSubscribeServiceNameTooLong()485 for (int i = 0; i < MAX_LENGTH + 1; ++i) { in testSubscribeServiceNameTooLong()496 doBadSubscribeConfiguration("correctservicename", new byte[MAX_LENGTH + 1], null); in testSubscribeSsiTooLong()505 doBadSubscribeConfiguration("correctservicename", null, new byte[MAX_LENGTH + 1]); in testSubscribeMatchFilterTooLong()526 .setServiceSpecificInfo(new byte[MAX_LENGTH + 1]).build(); in testUpdateSubscribeInvalid()[all …]
84 private static final int MAX_LENGTH = 1000; in VALIDATORS.put() argument89 return value == null || value.length() < MAX_LENGTH; in VALIDATORS.put()149 private static final int MAX_LENGTH = 1000; in VALIDATORS.put() argument153 if (value != null && value.length() > MAX_LENGTH) { in VALIDATORS.put()