/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 | 71 return HexEncoding.encode(builder.generateVerityTreeRootHash( in generateRootHash() 97 assertEquals(expectedRootHash, HexEncoding.encode(rootHash)); in generateVerityTreeRootHashFromDummyDataSource() 114 assertEquals(expectedRootHash, HexEncoding.encode(rootHash)); in generateVerityTreeRootHashFromDummyDataSource()
|
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 | 914 System.out.println(name + " certificate SHA-256 digest: " + HexEncoding.encode( in printCertificate() 916 System.out.println(name + " certificate SHA-1 digest: " + HexEncoding.encode( in printCertificate() 919 name + " certificate MD5 digest: " + HexEncoding.encode(md5.digest(encodedCert))); in printCertificate() 941 System.out.println(name + " public key SHA-256 digest: " + HexEncoding.encode( in printCertificate() 943 System.out.println(name + " public key SHA-1 digest: " + HexEncoding.encode( in printCertificate() 946 name + " public key MD5 digest: " + HexEncoding.encode(md5.digest(encodedKey))); in printCertificate()
|
/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/test/connectivity/acts/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 | 283 ssid_encoded = binascii.hexlify(ssid.encode()).decode() 288 psk_encoded = binascii.b2a_hex(psk.encode()).decode() 296 password_encoded = binascii.b2a_hex(password.encode()).decode()
|
/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')
|
D | md8475a.py | 586 querytoSend = (query + TERMINATOR).encode('utf-8') 591 TERMINATOR.encode('utf-8')) 611 cmdToSend = (command + ";ERROR?" + TERMINATOR).encode('utf-8') 616 TERMINATOR.encode('utf-8')) 627 cmdToSend = (command + TERMINATOR).encode('utf-8')
|
/tools/tradefederation/core/atest/ |
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/asuite/atest/ |
D | atest_utils_unittest.py | 372 encode()).hexdigest()) 402 x.encode('utf-8') for x in ['/a/b/', 408 x.encode('utf-8') for x in ['/a/b/',
|
/tools/apksig/src/test/java/com/android/apksig/ |
D | ApkVerifierTest.java | 645 HexEncoding.encode(sha256(signingCerts.get(0).getEncoded()))); in testCorrectCertUsedFromPkcs7SignedDataCertsSet() 699 HexEncoding.encode(sha256(signingCerts.get(0).getEncoded()))); in testV1SchemeSignatureCertNotReencoded() 724 HexEncoding.encode(sha256(signingCerts.get(0).getEncoded()))); in testV1SchemeSignatureCertNotReencoded2()
|
/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/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/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()
|
/tools/treble/split/ |
D | manifest_split_test.py | 172 mock_check_output.return_value = '\n'.join(makefiles).encode() 329 kati_stamp_dump = product_makefile.encode()
|
/tools/repohooks/rh/ |
D | utils.py | 359 input = input.encode('utf-8') 430 args=cmd, stderr=estr.encode('utf-8'), returncode=255)
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/net/ |
D | HttpHelper.java | 82 urlBuilder.append(URLEncoder.encode(key, "UTF-8")); in buildParameters() 84 urlBuilder.append(URLEncoder.encode(value, "UTF-8")); in buildParameters()
|