Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareServiceImplTest.java102 private static final int MAX_LENGTH = 255; field in WifiAwareServiceImplTest
553 byte[] byteArray = new byte[MAX_LENGTH + 1]; in testPublishServiceNameTooLong()
554 for (int i = 0; i < MAX_LENGTH + 1; ++i) { in testPublishServiceNameTooLong()
565 doBadPublishConfiguration("correctservicename", new byte[MAX_LENGTH + 1], null); in testPublishSsiTooLong()
574 doBadPublishConfiguration("correctservicename", null, new byte[MAX_LENGTH + 1]); in testPublishMatchFilterTooLong()
687 byte[] byteArray = new byte[MAX_LENGTH + 1]; in testSubscribeServiceNameTooLong()
688 for (int i = 0; i < MAX_LENGTH + 1; ++i) { in testSubscribeServiceNameTooLong()
699 doBadSubscribeConfiguration("correctservicename", new byte[MAX_LENGTH + 1], null); in testSubscribeSsiTooLong()
708 doBadSubscribeConfiguration("correctservicename", null, new byte[MAX_LENGTH + 1]); in testSubscribeMatchFilterTooLong()
729 .setServiceSpecificInfo(new byte[MAX_LENGTH + 1]).build(); in testUpdateSubscribeInvalid()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DDisclaimersParserImpl.java42 private static final int MAX_LENGTH = 3; field in DisclaimersParserImpl
60 List<Disclaimer> disclaimers = new ArrayList<>(MAX_LENGTH); in parse()
63 if (disclaimers.size() >= MAX_LENGTH) { in parse()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingNameTextValidator.java29 private static final int MAX_LENGTH = 32; field in AudioSharingNameTextValidator
33 if (value == null || value.length() < MIN_LENGTH || value.length() > MAX_LENGTH) { in isTextValid()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpReleasePacket.java43 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.java61 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH); in buildPacket()
DDhcpPacketListener.java38 protected final byte[] mBytes = new byte[DhcpPacket.MAX_LENGTH];
DDhcpPacket.java163 protected static final int MAX_LENGTH = 1500; field in DhcpPacket
823 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/services/Car/tests/BugReportApp/libs/
Dopencensus-api-0.21.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/opencensus/ io/ ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Dopencensus-api-0.24.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/opencensus/ io/ ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/libs/m2/
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt3512 Landroid/icu/text/MessagePattern$Part;->MAX_LENGTH:I
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...