Home
last modified time | relevance | path

Searched refs:signatureFile (Results 1 – 7 of 7) sorted by relevance

/tools/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt435 val signatureFile = File(project, "load-api.txt") in <lambda>() constant
436 signatureFile.writeText(signatureSource.trimIndent()) in <lambda>()
438 arrayOf(signatureFile.path) in <lambda>()
441 signatureFile.path, in <lambda>()
932 val signatureFile = temporaryFolder.newFile("signature-file-$index.txt") in <lambda>() constant
933 signatureFile.writeText(signatures.trimIndent()) in <lambda>()
937 args.add(signatureFile.path) in <lambda>()
1375 val signatureFile: File = in <lambda>() constant
1386 generateJDiffXmlWithDoclava1(signatureFile, apiXmlFile, null) in <lambda>()
1661 signatureFile: File, in <lambda>()
[all …]
DCompatibilityCheckTest.kt2541 … val signatureFile = File("../../prebuilts/sdk/${apiLevel - 1}/public/api/android.txt") in Test All Android API levels() constant
2542 if (!(signatureFile.isFile)) { in Test All Android API levels()
2543 … println("Couldn't find $signatureFile: Check that pwd for test is correct. Skipping this test.") in Test All Android API levels()
2546 val previousSignatureApi = signatureFile.readText(UTF_8) in Test All Android API levels()
/tools/metalava/src/main/java/com/android/tools/metalava/
DDriver.kt577 val signatureFile = check.file in checkCompatibility() constant
580 if (signatureFile.path.endsWith(DOT_JAR)) { in checkCompatibility()
581 loadFromJarFile(signatureFile) in checkCompatibility()
584 file = signatureFile, in checkCompatibility()
590 …throw DriverException("Cannot perform compatibility check of signature file $signatureFile in form… in checkCompatibility()
615 if (apiFile.readText(UTF_8) == signatureFile.readText(UTF_8)) { in checkCompatibility()
628 if (apiFile != null && apiFile.readText(UTF_8) == signatureFile.readText(UTF_8)) { in checkCompatibility()
652 val currentTxt = getCanonicalSignatures(signatureFile) in checkCompatibility()
655 val diff = getNativeDiff(signatureFile, apiFile) ?: getDiff(currentTxt, newTxt, 1) in checkCompatibility()
DArtifactTagger.kt34 fun register(artifactId: String, signatureFile: File) { in register()
35 artifacts[signatureFile] = artifactId in register()
DConvertJarsToSignatureFiles.kt56 val signatureFile = "prebuilts/sdk/$api/public/api/android.txt" in <lambda>() constant
63 progress("\nWriting signature files $signatureFile for $apiJar") in <lambda>()
DOptions.kt1096 val signatureFile = stringToExistingFile(getValue(args, ++index)) in <lambda>() constant
1098 … mutableConvertToXmlFiles.add(ConvertFile(signatureFile, outputFile, null, strip, format)) in <lambda>()
1119 val signatureFile = stringToExistingFile(getValue(args, ++index)) in <lambda>() constant
1121 … mutableConvertToXmlFiles.add(ConvertFile(signatureFile, jDiffFile, baseFile, strip, format)) in <lambda>()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java594 byte[] signatureFile, in verifySignerInfoAgainstSigFile() argument
735 .digest(signatureFile); in verifySignerInfoAgainstSigFile()
758 s.update(signatureFile); in verifySignerInfoAgainstSigFile()