Home
last modified time | relevance | path

Searched refs:MAX_UNSIGNED_SHORT (Results 1 – 5 of 5) sorted by relevance

/frameworks/libs/modules-utils/java/com/android/modules/utils/
DFastDataOutput.java39 protected static final int MAX_UNSIGNED_SHORT = 65_535; field in FastDataOutput
153 if (len > MAX_UNSIGNED_SHORT) { in writeUTF()
188 writeShort(MAX_UNSIGNED_SHORT); in writeInternedUTF()
194 if (ref < MAX_UNSIGNED_SHORT) { in writeInternedUTF()
DBinaryXmlSerializer.java19 import static com.android.modules.utils.FastDataOutput.MAX_UNSIGNED_SHORT;
229 if (value.length > MAX_UNSIGNED_SHORT) { in attributeBytesHex()
231 + ") exceeds maximum allowed size (" + MAX_UNSIGNED_SHORT + ")"); in attributeBytesHex()
244 if (value.length > MAX_UNSIGNED_SHORT) { in attributeBytesBase64()
246 + ") exceeds maximum allowed size (" + MAX_UNSIGNED_SHORT + ")"); in attributeBytesBase64()
DFastDataInput.java39 protected static final int MAX_UNSIGNED_SHORT = 65_535; field in FastDataInput
194 if (ref == MAX_UNSIGNED_SHORT) { in readInternedUTF()
199 if (mStringRefCount < MAX_UNSIGNED_SHORT) { in readInternedUTF()
/frameworks/base/core/tests/coretests/src/android/util/
DBinaryXmlTest.java53 private static final int MAX_UNSIGNED_SHORT = 65_535; field in BinaryXmlTest
185 final byte[] testBytes = new byte[MAX_UNSIGNED_SHORT + 1]; in testAttributeBytes_BinaryDataOverflow()
201 final byte[] testBytes = new byte[MAX_UNSIGNED_SHORT]; in testAttributeBytesHex_MaximumBinaryData()
215 final byte[] testBytes = new byte[MAX_UNSIGNED_SHORT]; in testAttributeBytesBase64_MaximumBinaryData()
/frameworks/base/core/java/com/android/internal/util/
DArtFastDataOutput.java92 if (Math.abs(len) > MAX_UNSIGNED_SHORT) { in writeUTF()