/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | ByteArrayUtil.java | 44 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()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | ZipField.java | 146 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()
|
D | EncodeUtils.java | 50 public static String decode(@Nonnull ByteBuffer bytes, int length, @Nonnull GPFlags flags) in decode() 109 ByteBuffer bytes = charset.encode(name); in encode() local
|
D | CentralDirectory.java | 224 static CentralDirectory makeFromData(@Nonnull ByteBuffer bytes, int count, @Nonnull ZFile file) in makeFromData() 281 private void readEntry(@Nonnull ByteBuffer bytes) throws IOException { in readEntry()
|
D | Eocd.java | 124 Eocd(@Nonnull ByteBuffer bytes) throws IOException { in Eocd()
|
D | StoredEntry.java | 357 public int read(byte[] bytes) throws IOException { in read() 438 ByteBuffer bytes = ByteBuffer.wrap(localHeader); in readLocalHeader() local
|
/tools/security/remote_provisioning/hwtrust/src/ |
D | cbor.rs | 53 let bytes = [0x82, 0x04, 0x02]; // [4, 2] in value_from_bytes_valid_succeeds() localVariable 62 let bytes = [0x82, 0x04]; in value_from_bytes_truncated_fails() localVariable 68 let bytes = [0x82, 0x04, 0x02, 0x00]; in value_from_bytes_trailing_bytes_fails() localVariable 103 let bytes = [0xa2, 0x03, 0x04, 0x01, 0x02]; in canonicalization_works() localVariable
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/ |
D | LittleEndianUtils.java | 46 public static long readUnsigned4Le(@Nonnull ByteBuffer bytes) throws IOException { in readUnsigned4Le() 72 public static int readUnsigned2Le(@Nonnull ByteBuffer bytes) throws IOException { in readUnsigned2Le()
|
/tools/netsim/rust/daemon/src/bluetooth/ |
D | advertise_data.rs | 41 bytes: Vec<u8>, field 137 let mut bytes = Vec::new(); in serialize() localVariable 221 let bytes = ad.unwrap().bytes; in test_from_proto_succeeds() localVariable 272 let bytes = ad.unwrap().bytes; in test_set_device_name_succeeds() localVariable 299 let bytes = ad.unwrap().bytes; in test_set_tx_power_level() localVariable 314 let bytes = ad.unwrap().bytes; in test_set_manufacturer_data_succeeds() localVariable
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/ |
D | V4Signature.java | 49 static HashingInfo fromByteArray(byte[] bytes) throws IOException { in fromByteArray() 88 static SigningInfo fromByteArray(byte[] bytes) throws IOException { in fromByteArray() 156 public static SigningInfos fromByteArray(byte[] bytes) throws IOException { in fromByteArray() 243 static int bytesSize(byte[] bytes) { in bytesSize() 294 static void writeBytes(OutputStream stream, byte[] bytes) throws IOException { in writeBytes() 303 static void writeBytes(ByteBuffer buffer, byte[] bytes) { in writeBytes()
|
/tools/security/fuzzing/example_java_jni_fuzzer/ |
D | ExampleJavaJniFuzzer.java | 31 private native boolean parse(String bytes); in parse()
|
D | example_jni.cpp | 39 JNIEnv *env, jobject o, jstring bytes) { in Java_ExampleJavaJniFuzzer_parse()
|
/tools/security/fuzzing/example_java_jni_fuzzer_no_crash/ |
D | ExampleJavaJniFuzzer.java | 31 private native boolean parse(String bytes); in parse()
|
D | example_jni.cpp | 34 JNIEnv *env, jobject o, jstring bytes) { in Java_ExampleJavaJniFuzzer_parse()
|
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/ |
D | Asn1Utils.java | 73 public static ASN1Encodable getAsn1EncodableFromBytes(byte[] bytes) in getAsn1EncodableFromBytes() 82 public static ASN1Sequence getAsn1SequenceFromBytes(byte[] bytes) in getAsn1SequenceFromBytes()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | JarReaderUtils.kt | 49 val bytes = zis.readBytes() in <lambda>() constant
|
/tools/security/fuzzing/llm/libufdt_fuzzer2/ |
D | libufdt_fuzzer2.cpp | 25 auto bytes = stream.ConsumeBytes<uint8_t>(stream.remaining_bytes() / 2); in LLVMFuzzerTestOneInput() local
|
/tools/tradefederation/core/src/com/android/tradefed/result/resultdb/ |
D | ResultDBUtil.java | 24 public static String bytesToHex(byte[] bytes) { in bytesToHex()
|
/tools/netsim/rust/daemon/src/captures/ |
D | pcap_util.rs | 123 let mut bytes = Vec::<u8>::with_capacity(header.len() + packet.len()); in wrap_bt_packet() localVariable 143 let mut bytes = Vec::<u8>::with_capacity(header.len() + length); in append_record() localVariable
|
/tools/tradefederation/core/src/com/android/tradefed/util/image/ |
D | FastbootPack.java | 106 private static String bytesToString(byte[] bytes) { in bytesToString()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/historical/ |
D | ConvertJarsToSignatureFiles.kt | 247 val bytes = inputStream.readBytes() in <lambda>() constant 266 val bytes = file.readBytes() in <lambda>() constant
|
/tools/apksig/src/test/java/com/android/apksig/internal/util/ |
D | X509CertificateUtilsTest.java | 187 private static String getHexEncodedDigestOfBytes(byte[] bytes) in getHexEncodedDigestOfBytes()
|
/tools/netsim/rust/cli/src/ |
D | grpc_client.rs | 65 let bytes = chunk.capture_stream; in get_capture() localVariable
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | PasswordRetriever.java | 301 private static char[] castBytesToChars(byte[] bytes) { in castBytesToChars()
|
/tools/netsim/rust/capture/src/ |
D | pcap.rs | 277 let mut bytes = Vec::<u8>::with_capacity(pkt_hdr_len + pkt_len); in write_record() localVariable
|