Home
last modified time | relevance | path

Searched refs:addError (Results 1 – 9 of 9) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java183 result.addError(Issue.V3_INCONSISTENT_SDK_VERSIONS); in verify()
193 result.addError(Issue.V3_INCONSISTENT_LINEAGES); in verify()
203 result.addError(Issue.V3_MISSING_SDK_VERSIONS, firstMin, lastMax); in verify()
210 result.addError(Issue.V3_INCONSISTENT_LINEAGES); in verify()
237 result.addError(Issue.V3_SIG_MALFORMED_SIGNERS); in parseSigners()
241 result.addError(Issue.V3_SIG_NO_SIGNERS); in parseSigners()
263 signerInfo.addError(Issue.V3_SIG_MALFORMED_SIGNER); in parseSigners()
298 result.addError( in parseSigner()
326 result.addError(Issue.V3_SIG_MALFORMED_SIGNATURE, signatureCount); in parseSigner()
331 result.addError(Issue.V3_SIG_NO_SIGNATURES); in parseSigner()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java187 result.addError(Issue.V2_SIG_MALFORMED_SIGNERS); in parseSigners()
191 result.addError(Issue.V2_SIG_NO_SIGNERS); in parseSigners()
221 signerInfo.addError(Issue.V2_SIG_MALFORMED_SIGNER); in parseSigners()
277 result.addError(Issue.V2_SIG_MALFORMED_SIGNATURE, signatureCount); in parseSigner()
282 result.addError(Issue.V2_SIG_NO_SIGNATURES); in parseSigner()
293 result.addError(Issue.V2_SIG_NO_SUPPORTED_SIGNATURES, e); in parseSigner()
309 result.addError(Issue.V2_SIG_MALFORMED_PUBLIC_KEY, e); in parseSigner()
322 result.addError(Issue.V2_SIG_DID_NOT_VERIFY, signatureAlgorithm); in parseSigner()
329 result.addError(Issue.V2_SIG_VERIFY_EXCEPTION, signatureAlgorithm, e); in parseSigner()
349 result.addError( in parseSigner()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java156 result.addError(Issue.JAR_SIG_DUPLICATE_ZIP_ENTRY, entryName); in checkForDuplicateEntries()
185 result.addError(Issue.JAR_SIG_UNNNAMED_MANIFEST_SECTION, manifestSectionNumber); in parseManifest()
189 result.addError(Issue.JAR_SIG_DUPLICATE_MANIFEST_SECTION, entryName); in parseManifest()
193 result.addError( in parseManifest()
248 result.addError(Issue.JAR_SIG_NO_MANIFEST); in verify()
301 result.addError(Issue.JAR_SIG_NO_SIGNATURES); in verify()
348 result.addError(Issue.JAR_SIG_NO_SIGNATURES); in verify()
497 mResult.addError( in verifySigBlockAgainstSigFile()
503 mResult.addError(Issue.JAR_SIG_NO_SIGNERS, mSignatureBlockEntry.getName()); in verifySigBlockAgainstSigFile()
528 mResult.addError( in verifySigBlockAgainstSigFile()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4SchemeVerifier.java81 result.addError(Issue.V4_SIG_NO_SIGNATURES, in verify()
135 result.addError(Issue.V4_SIG_UNKNOWN_SIG_ALGORITHM, sigAlgorithmId); in parseAndVerifySignatureBlock()
152 result.addError(Issue.V4_SIG_MALFORMED_PUBLIC_KEY, e); in parseAndVerifySignatureBlock()
164 result.addError(Issue.V4_SIG_DID_NOT_VERIFY, signatureAlgorithm); in parseAndVerifySignatureBlock()
170 result.addError(Issue.V4_SIG_VERIFY_EXCEPTION, signatureAlgorithm, e); in parseAndVerifySignatureBlock()
175 result.addError(Issue.V4_SIG_NO_CERTIFICATE); in parseAndVerifySignatureBlock()
189 result.addError(Issue.V4_SIG_MALFORMED_CERTIFICATE, e); in parseAndVerifySignatureBlock()
204 result.addError( in parseAndVerifySignatureBlock()
231 signerInfo.addError( in verifyRootHashAndTree()
240 signerInfo.addError( in verifyRootHashAndTree()
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java278 result.addError( in verify()
379 v1Signer.addError(Issue.V2_SIG_MISSING); in verify()
387 v2Signer.addError(Issue.JAR_SIG_MISSING); in verify()
405 result.addError(Issue.V3_SIG_MULTIPLE_PAST_SIGNERS); in verify()
413 result.addError(Issue.V3_SIG_MULTIPLE_PAST_SIGNERS); in verify()
424 result.addError(Issue.V3_SIG_MULTIPLE_SIGNERS); in verify()
429 result.addError(Issue.V3_SIG_PAST_SIGNERS_MISMATCH); in verify()
443 result.addError(Issue.V3_SIG_PAST_SIGNERS_MISMATCH); in verify()
447 result.addError(Issue.V3_SIG_PAST_SIGNERS_MISMATCH); in verify()
458 result.addError(Issue.V4_SIG_MULTIPLE_SIGNERS); in verify()
[all …]
/tools/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt90 protected fun addError(error: String) { in <lambda>() method in com.android.tools.metalava.DriverTest
91 errorCollector.addError(Throwable(error)) in <lambda>()
134addError("ComparisonFailure: expected failure $expectedFail, actual $actualFail") in <lambda>()
147 addError("Unexpected write to stdout:\n $stdout") in <lambda>()
151 addError("Unexpected write to stderr:\n $stderr") in <lambda>()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java211 signerInfo.addError( in verifyIntegrity()
217 signerInfo.addError( in verifyIntegrity()
1311 public void addError(ApkVerifier.Issue msg, Object... parameters) { in addError() method in ApkSigningBlockUtils.Result
1343 public void addError(ApkVerifier.Issue msg, Object... parameters) { in addError() method in ApkSigningBlockUtils.Result.SignerInfo
DApkSignerInfo.java40 public void addError(int issueId, Object... params) { in addError() method in ApkSignerInfo
DApkSigResult.java79 public void addError(int issueId, Object... parameters) { in addError() method in ApkSigResult