/tools/test/connectivity/acts/framework/acts/controllers/ |
D | bluetooth_pts_device.py | 295 self.profile_under_test.encode()) 341 self.profile_under_test.encode(), self.use_auto_impl_send_func, 355 self.pts_installation_directory.encode(), self.dev_search_msg_func, 396 self.profile_under_test.encode()) 407 (self.ixit[ixit_name])[1], self.profile_under_test.encode()) 419 address_b = self.address_str.encode("utf-8") 425 self.pts_installation_directory).encode() 426 res = self.pts_library.InitEtsEx(self.profile_under_test.encode(), 427 self.log_directory.encode(), 434 res = self.pts_library.InitStackEx(self.profile_under_test.encode()) [all …]
|
/tools/apksig/src/test/java/com/android/apksig/internal/asn1/ |
D | Asn1BerParserTest.java | 58 HexEncoding.encode(parse("30050403123456", SequenceWithOctetString.class).buf)); in testOctetString() 60 "", HexEncoding.encode(parse("30020400", SequenceWithOctetString.class).buf)); in testOctetString() 67 HexEncoding.encode(parse("30050303123456", SequenceWithBitString.class).buf)); in testBitString() 69 "", HexEncoding.encode(parse("30020300", SequenceWithBitString.class).buf)); in testBitString() 250 assertEquals("02010c", HexEncoding.encode(input)); in testPrimitiveIndefiniteLengthEncodingWithGarbage() 259 assertEquals("02010c", HexEncoding.encode(input)); in testPrimitiveIndefiniteLengthEncodingWithGarbage() 273 assertEquals("02010c", HexEncoding.encode(input)); in testConstructedIndefiniteLengthEncodingWithoutNestedIndefiniteLengthDataValues() 275 assertEquals("02020000", HexEncoding.encode(c.obj.getEncoded())); in testConstructedIndefiniteLengthEncodingWithoutNestedIndefiniteLengthDataValues() 289 assertEquals("02010c", HexEncoding.encode(input)); in testConstructedIndefiniteLengthEncodingWithNestedIndefiniteLengthDataValues() 291 assertEquals("0280030000", HexEncoding.encode(c.obj.getEncoded())); in testConstructedIndefiniteLengthEncodingWithNestedIndefiniteLengthDataValues()
|
D | Asn1DerEncoderTest.java | 109 encode(new Choice(null, null)); in testChoiceWithNoFieldsSet() 115 encode(new Choice(123, "1.3.6.1.4.1.311.21.20")); in testChoiceWithMultipleFieldsSet() 213 private static byte[] encode(Object obj) throws Asn1EncodingException { in encode() method in Asn1DerEncoderTest 214 return Asn1DerEncoder.encode(obj); in encode() 218 return HexEncoding.encode(encode(obj)); in encodeToHex()
|
/tools/apksig/src/test/java/com/android/apksig/internal/util/ |
D | HexEncoding.java | 34 public static String encode(byte[] data) { in encode() method in HexEncoding 35 return encode(data, 0, data.length); in encode() 41 public static String encode(byte[] data, int offset, int len) { in encode() method in HexEncoding 54 public static String encode(ByteBuffer buf) { in encode() method in HexEncoding 55 return encode(buf.array(), buf.arrayOffset() + buf.position(), buf.remaining()); in encode()
|
D | VerityTreeBuilderTest.java | 70 return HexEncoding.encode(builder.generateVerityTreeRootHash( in generateRootHash() 95 assertEquals(expectedRootHash, HexEncoding.encode(rootHash)); in generateVerityTreeRootHashFromPlaceholderDataSource() 111 assertEquals(expectedRootHash, HexEncoding.encode(rootHash)); in generateVerityTreeRootHashFromPlaceholderDataSource()
|
D | ChainedDataSourceTest.java | 118 HexEncoding.encode(buffer.array()) + " vs " + HexEncoding.encode(buffer2.array()), in assertByteBufferEquals()
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | HexEncoding.java | 34 public static String encode(byte[] data, int offset, int length) { in encode() method in HexEncoding 47 public static String encode(byte[] data) { in encode() method in HexEncoding 48 return encode(data, 0, data.length); in encode() 55 return encode(data.array(), data.arrayOffset() + data.position(), data.remaining()); in encodeRemaining()
|
D | ApkSignerTool.java | 1114 System.out.println(name + " certificate SHA-256 digest: " + HexEncoding.encode( in printCertificate() 1116 System.out.println(name + " certificate SHA-1 digest: " + HexEncoding.encode( in printCertificate() 1119 name + " certificate MD5 digest: " + HexEncoding.encode(md5.digest(encodedCert))); in printCertificate() 1141 System.out.println(name + " public key SHA-256 digest: " + HexEncoding.encode( in printCertificate() 1143 System.out.println(name + " public key SHA-1 digest: " + HexEncoding.encode( in printCertificate() 1146 name + " public key MD5 digest: " + HexEncoding.encode(md5.digest(encodedKey))); in printCertificate()
|
/tools/acloud/internal/lib/ |
D | adb_tools_test.py | 31 "transport_id:98").encode() 33 "127.0.0.1:48451 offline").encode() 36 "emulator-5554\tdevice\n").encode()
|
D | emulator_console.py | 119 self._socket.send(command.encode() + b"\n") 139 expected_data = expected_substring.encode()
|
/tools/test/connectivity/acts_tests/tests/google/bt/pts/ |
D | GattPtsTest.py | 48 ':', '').encode()) 51 b'IA5STRING', self.dut_bluetooth_local_name.encode()) 63 ':', '').encode()) 66 b'IA5STRING', self.dut_bluetooth_local_name.encode())
|
D | A2dpPtsTest.py | 43 ':', '').encode()) 54 ':', '').encode())
|
D | SdpPtsTest.py | 113 ':', '').encode()) 124 ':', '').encode())
|
/tools/security/fuzzing/orphans/libcppbor/ |
D | cppbor_fuzzer.cpp | 25 cppbor::parse(val.encode()); in FuzzStringParsing() 36 cppbor::parse(map.encode()); in FuzzVectorParsing()
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | EncodeUtilsTest.java | 43 byte[] encoded = EncodeUtils.encode(text, flags); in asciiEncodeAndDecode() 53 byte[] encoded = EncodeUtils.encode(kazakhCapital, flags); in utf8EncodeAndDecode()
|
/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiRvrTwTest.py | 144 port.write('V?;'.encode()) 163 port.write(InputdB.encode()) 208 port.write('DG?;'.encode()) 231 port.write(InputDG.encode())
|
D | WifiDppTest.py | 369 ssid_encoded = binascii.hexlify(ssid.encode()).decode() 374 psk_encoded = binascii.b2a_hex(psk.encode()).decode() 381 password_encoded = binascii.b2a_hex(password.encode()).decode() 802 ssid_encoded = binascii.hexlify(ssid.encode()).decode() 806 psk_encoded = binascii.b2a_hex(psk.encode()).decode() 809 password_encoded = binascii.b2a_hex(password.encode()).decode()
|
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/ |
D | RootOfTrust.java | 95 .append(BaseEncoding.base64().encode(verifiedBootKey)) in toString() 101 .append(BaseEncoding.base64().encode(verifiedBootHash)) in toString()
|
D | Attestation.java | 160 s.append(" (base64): [" + BaseEncoding.base64().encode(attestationChallenge) + "]"); in toString() 163 s.append("\nUnique ID (base64): [" + BaseEncoding.base64().encode(uniqueId) + "]"); in toString()
|
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/ |
D | mg3710a.py | 93 querytoSend = (query + TERMINATOR).encode('utf-8') 97 result = self._sock.recv(256).rstrip(TERMINATOR.encode('utf-8')) 116 cmdToSend = (command + TERMINATOR).encode('utf-8')
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | EncodeUtils.java | 107 public static byte[] encode(@Nonnull String name, @Nonnull GPFlags flags) { in encode() method in EncodeUtils 109 ByteBuffer bytes = charset.encode(name); in encode()
|
/tools/treble/split/ |
D | manifest_split_test.py | 225 mock_check_output.return_value = '\n'.join(makefiles).encode() 373 kati_stamp_dump = product_makefile.encode() 560 kati_stamp_dump = product_makefile.encode()
|
/tools/asuite/atest-py2/ |
D | atest_utils.py | 56 encode()).hexdigest() 476 _cmd = ''.join(cmd_list).encode('utf-8').split() 505 hashed_fn = hashlib.md5(str(main_file_name).encode())
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
D | X509CertificateUtils.java | 127 byte[] reencodedForm = Asn1DerEncoder.encode(reencodedCert); in generateCertificate() 191 byte[] reencodedForm = Asn1DerEncoder.encode(reencodedCert); in generateCertificates()
|
/tools/apksig/src/test/java/com/android/apksig/internal/asn1/ber/ |
D | BerDataValueReaderTestBase.java | 235 HexEncoding.encode(readDataValue("028002030000010000").getEncodedContents())); in testPrimitiveIndefiniteLengthContentsMustNotBeParsed() 245 HexEncoding.encode(readDataValue( in testConstructedIndefiniteLengthContentsContainingIndefiniteLengthEncodedValues()
|