Home
last modified time | relevance | path

Searched defs:bytes (Results 1 – 21 of 21) sorted by relevance

/tools/tradefederation/core/common_util/com/android/tradefed/util/
DByteArrayUtil.java44 byte[] bytes, int offset, int length, int containerSize) { in getByteBuffer()
63 public static int getInt(byte[] bytes, int offset, int length) { in getInt()
78 public static long getLong(byte[] bytes, int offset, int length) { in getLong()
89 public static String getString(byte[] bytes, int offset, int length) { in getString()
DStreamUtil.java462 private static String bytesToHexString(byte[] bytes) { in bytesToHexString()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZipField.java146 void skip(@Nonnull ByteBuffer bytes) throws IOException { in skip()
163 long read(@Nonnull ByteBuffer bytes) throws IOException { in read()
190 void verify(@Nonnull ByteBuffer bytes) throws IOException { in verify()
204 void verify(@Nonnull ByteBuffer bytes, @Nullable VerifyLog verifyLog) throws IOException { in verify()
218 void verify(@Nonnull ByteBuffer bytes, long expected) throws IOException { in verify()
233 void verify( in verify()
DEncodeUtils.java50 public static String decode(@Nonnull ByteBuffer bytes, int length, @Nonnull GPFlags flags) in decode()
109 ByteBuffer bytes = charset.encode(name); in encode() local
DCentralDirectory.java224 static CentralDirectory makeFromData(@Nonnull ByteBuffer bytes, int count, @Nonnull ZFile file) in makeFromData()
281 private void readEntry(@Nonnull ByteBuffer bytes) throws IOException { in readEntry()
DEocd.java124 Eocd(@Nonnull ByteBuffer bytes) throws IOException { in Eocd()
DStoredEntry.java357 public int read(byte[] bytes) throws IOException { in read()
438 ByteBuffer bytes = ByteBuffer.wrap(localHeader); in readLocalHeader() local
DZFile.java2614 ByteBuffer bytes = ByteBuffer.wrap(comment, i, comment.length - i); in setEocdComment() local
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/
DLittleEndianUtils.java46 public static long readUnsigned4Le(@Nonnull ByteBuffer bytes) throws IOException { in readUnsigned4Le()
72 public static int readUnsigned2Le(@Nonnull ByteBuffer bytes) throws IOException { in readUnsigned2Le()
/tools/metalava/src/main/java/com/android/tools/metalava/
DConvertJarsToSignatureFiles.kt159 val bytes = ByteStreams.toByteArray(`is`) in <lambda>() constant
180 val bytes = file.readBytes() in <lambda>() constant
DRewriteAnnotations.kt155 val bytes = file.readBytes() in <lambda>() constant
250 val bytes = zis.readBytes() in <lambda>() constant
DAnnotationStatistics.kt389 val bytes = ByteStreams.toByteArray(`is`) in <lambda>() constant
410 val bytes = file.readBytes() in <lambda>() constant
DExtractAnnotations.kt152 val bytes = writer.contents.toByteArray(UTF_8) in <lambda>() constant
DAnnotationsMerger.kt193 val bytes = ByteStreams.toByteArray(zis) in mergeFromJar() constant
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/
DInstrumentationResultProtoParser.java191 public void addOutput(byte[] protoData, int bytes, int length) { in addOutput()
/tools/apksig/src/test/java/com/android/apksig/internal/util/
DX509CertificateUtilsTest.java187 private static String getHexEncodedDigestOfBytes(byte[] bytes) in getHexEncodedDigestOfBytes()
/tools/apksig/src/apksigner/java/com/android/apksigner/
DPasswordRetriever.java301 private static char[] castBytesToChars(byte[] bytes) { in castBytesToChars()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DJavaCodeCoverageListenerTest.java364 try (ByteArrayOutputStream bytes = new ByteArrayOutputStream()) { in measurement()
/tools/security/fuzzing/orphans/libffi/
Dfuzz_ffi.cc119 std::vector<uint8_t> bytes = dataProvider->ConsumeBytes<uint8_t>(type_size); in genArg() local
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java859 public static byte[] encodeAsLengthPrefixedElement(byte[] bytes) { in encodeAsLengthPrefixedElement()
/tools/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt1428 val bytes = ByteStreams.toByteArray(stream) in <lambda>() constant