/tools/apksig/src/test/java/com/android/apksig/internal/asn1/ |
D | Asn1BerParserTest.java | 36 parse((ByteBuffer) null, EmptySequence.class); in testNullInput() 41 parse("", EmptySequence.class); in testEmptyInput() 48 EmptySequence container = parse(input, EmptySequence.class); in testEmptySequence() 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() 74 assertEquals(false, parse("3003010100", SequenceWithBoolean.class).value); in testBoolean() 75 assertEquals(true, parse("3003010101", SequenceWithBoolean.class).value); in testBoolean() 76 assertEquals(true, parse("30030101FF", SequenceWithBoolean.class).value); in testBoolean() [all …]
|
/tools/ndkports/src/test/kotlin/com/android/ndkports/ |
D | CMakeCompatibleVersionTest.kt | 25 fun `can parse version number`() { in can parse version number() 28 CMakeCompatibleVersion.parse("1") in can parse version number() 32 CMakeCompatibleVersion.parse("2.1") in can parse version number() 36 CMakeCompatibleVersion.parse("3.2.1") in can parse version number() 40 CMakeCompatibleVersion.parse("4.3.2.1") in can parse version number() 47 CMakeCompatibleVersion.parse("") in reject invalid versions() 50 CMakeCompatibleVersion.parse(" ") in reject invalid versions() 53 CMakeCompatibleVersion.parse("1.") in reject invalid versions() 56 CMakeCompatibleVersion.parse(".1") in reject invalid versions() 59 CMakeCompatibleVersion.parse(".1.") in reject invalid versions() [all …]
|
D | NdkVersionTest.kt | 26 fun `can parse source properties`() { in can parse source properties()
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | PackageFilterTest.kt | 25 val filter = PackageFilter.parse("foo.bar:bar.baz") in testExact() 35 val filter = PackageFilter.parse("foo.bar*:bar.baz.*") in testWildcard() 47 val filter = PackageFilter.parse("foo.bar:foo.bar.*") in testBoth() 57 val filter = PackageFilter.parse("foo.bar.*") in testImplicit() 67 val filter = PackageFilter.parse("+sample") in testExplicitInclusion() 76 val filter = PackageFilter.parse("-com") in testOnlyExclusion() 84 val filter = PackageFilter.parse("sample.*:-sample.example.*") in testExclusionOverride() 94 val star = PackageFilter.parse("*") in testMatchAll() 96 val plusStar = PackageFilter.parse("+*") in testMatchAll() 102 val filter = PackageFilter.parse("+*:-android.*:+android.icu.*:-dalvik.*") in testMultipleOverlappingOverrides()
|
/tools/test/graphicsbenchmark/performance_tests/helper/test/com/android/game/qualification/ |
D | GameCoreConfigurationXmlParserTest.java | 58 GameCoreConfiguration config = parser.parse(input); in testSingleApkInfo() 97 List<ApkInfo> apks = parser.parse(input).getApkInfo(); in testOptionalFields() 129 parser.parse(input); in testMissingRequiredField() 156 List<ApkInfo> apks = parser.parse(input).getApkInfo(); in testApkWithArguments() 194 GameCoreConfiguration config = parser.parse(input); in testRequirements() 218 parser.parse(input); in testRequirementNeedsMatchingApk()
|
/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/ |
D | GameCoreConfigurationXmlParser.java | 82 public GameCoreConfiguration parse(File file) in parse() method in GameCoreConfigurationXmlParser 85 return parse(is); in parse() 89 public GameCoreConfiguration parse(InputStream inputStream) in parse() method in GameCoreConfigurationXmlParser 93 Document doc = db.parse(inputStream); in parse()
|
/tools/asuite/aidegen/sdk/ |
D | jdk_table_unittest.py | 84 self.jdk_table_xml._xml = ElementTree.parse(tmp_file) 92 self.jdk_table_xml._xml = ElementTree.parse(tmp_file) 100 self.jdk_table_xml._xml = ElementTree.parse(tmp_file) 139 self.jdk_table_xml._xml = ElementTree.parse(tmp_file)
|
/tools/security/fuzzing/orphans/libcppbor/ |
D | cppbor_fuzzer.cpp | 25 cppbor::parse(val.encode()); in FuzzStringParsing() 36 cppbor::parse(map.encode()); in FuzzVectorParsing()
|
D | cppbor_parse_fuzzer.cpp | 37 auto [item, newPos, errMsg] = parse(cursor, end); in FuzzParse() 60 parse(data, end, &parseClient); in FuzzParseWithClient()
|
/tools/external_updater/ |
D | archive_utils.py | 19 import urllib.parse 86 parsed_url = urllib.parse.urlparse(url)
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ |
D | Asn1BerParser.java | 60 public static <T> T parse(ByteBuffer encoded, Class<T> containerClass) in parse() method in Asn1BerParser 71 return parse(containerDataValue, containerClass); in parse() 110 private static <T> T parse(BerDataValue container, Class<T> containerClass) in parse() method in Asn1BerParser 305 element = parse(dataValue, elementClass); in parseSetOf()
|
/tools/asuite/aidegen/idea/ |
D | xml_gen.py | 68 self.parse() 70 def parse(self): member in XMLGenerator
|
/tools/asuite/atest-py2/test_finders/ |
D | test_finder_utils.py | 540 xml_root = ET.parse(xml_file).getroot() 725 xml_root = ET.parse(xml_file).getroot() 763 xml_root = ET.parse(xml_file).getroot() 978 xml_root = ET.parse(xml_file).getroot()
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/ |
D | FtraceImporterTest.kt | 131 val model = parse( in testCounters() 151 fun parse(vararg lines: String): Model { in parse() method
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
D | X509CertificateUtils.java | 126 Certificate reencodedCert = Asn1BerParser.parse(encodedCertBuffer, Certificate.class); in generateCertificate() 190 Certificate reencodedCert = Asn1BerParser.parse(certBuffer, Certificate.class); in generateCertificates()
|
/tools/treble/split/ |
D | manifest_diff.py | 245 e1 = ET.parse(manifest_a).getroot() 246 e2 = ET.parse(manifest_b).getroot()
|
D | manifest_split_test.py | 393 split_manifest = ET.parse(split_manifest_file.name) 589 split_manifest = ET.parse(split_manifest_file.name)
|
D | manifest_split.py | 143 root = ET.parse(config_file).getroot() 481 original_manifest = ET.parse(manifest_file)
|
/tools/asuite/atest/test_finders/ |
D | test_finder_utils.py | 610 xml_root = ET.parse(xml_file).getroot() 796 xml_root = ET.parse(xml_file).getroot() 834 xml_root = ET.parse(xml_file).getroot() 1053 xml_root = ET.parse(xml_file).getroot()
|
/tools/acloud/list/ |
D | instance_test.py | 183 instance.datetime.datetime.now.return_value = dateutil.parser.parse(now) 190 instance.datetime.datetime.now.return_value = dateutil.parser.parse(
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeVerifier.java | 488 Asn1BerParser.parse(ByteBuffer.wrap(sigBlockBytes), ContentInfo.class); in verifySigBlockAgainstSigFile() 494 Asn1BerParser.parse(contentInfo.content.getEncoded(), SignedData.class); in verifySigBlockAgainstSigFile() 1509 return Asn1BerParser.parse(value.getEncoded(), ObjectIdentifierChoice.class).value; in getSingleObjectIdentifierValue() 1521 return Asn1BerParser.parse(value.getEncoded(), OctetStringChoice.class).value; in getSingleOctetStringValue()
|
/tools/acloud/internal/lib/ |
D | engprod_client.py | 20 from urllib.parse import urljoin
|
/tools/asuite/aidegen/lib/ |
D | xml_util.py | 36 return ElementTree.parse(xml_file)
|
/tools/ndkports/src/main/kotlin/com/android/ndkports/ |
D | CMakeCompatibleVersion.kt | 53 fun parse(versionString: String): CMakeCompatibleVersion { in toString() method
|
/tools/aadevtools/dev/ |
D | clone_proj.sh | 64 f=`git rev-parse --git-dir`/hooks/commit-msg ; mkdir -p $(dirname $f) ; curl -Lo $f https://gerrit-…
|