Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java208 mResult.addError(Issue.V3_INCONSISTENT_SDK_VERSIONS); in verify()
218 mResult.addError(Issue.V3_INCONSISTENT_LINEAGES); in verify()
231 mResult.addError(Issue.V3_MISSING_SDK_VERSIONS, firstMin, lastMax); in verify()
238 mResult.addError(Issue.V3_INCONSISTENT_LINEAGES); in verify()
299 mResult.addError(Issue.V3_SIG_MALFORMED_SIGNERS); in parseSigners()
303 mResult.addError(Issue.V3_SIG_NO_SIGNERS); in parseSigners()
325 signerInfo.addError(Issue.V3_SIG_MALFORMED_SIGNER); in parseSigners()
358 result.addError( in parseSigner()
386 result.addError(Issue.V3_SIG_MALFORMED_SIGNATURE, signatureCount); in parseSigner()
391 result.addError(Issue.V3_SIG_NO_SIGNATURES); in parseSigner()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java189 result.addError(Issue.V2_SIG_MALFORMED_SIGNERS); in parseSigners()
193 result.addError(Issue.V2_SIG_NO_SIGNERS); in parseSigners()
223 signerInfo.addError(Issue.V2_SIG_MALFORMED_SIGNER); in parseSigners()
228 result.addError(Issue.V2_SIG_MAX_SIGNATURES_EXCEEDED, MAX_APK_SIGNERS, signerCount); in parseSigners()
282 result.addError(Issue.V2_SIG_MALFORMED_SIGNATURE, signatureCount); in parseSigner()
287 result.addError(Issue.V2_SIG_NO_SIGNATURES); in parseSigner()
298 result.addError(Issue.V2_SIG_NO_SUPPORTED_SIGNATURES, e); in parseSigner()
314 result.addError(Issue.V2_SIG_MALFORMED_PUBLIC_KEY, e); in parseSigner()
327 result.addError(Issue.V2_SIG_DID_NOT_VERIFY, signatureAlgorithm); in parseSigner()
334 result.addError(Issue.V2_SIG_VERIFY_EXCEPTION, signatureAlgorithm, e); in parseSigner()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4SchemeVerifier.java81 result.addError(Issue.V4_SIG_NO_SIGNATURES, in verify()
152 result.addError(Issue.V4_SIG_UNKNOWN_SIG_ALGORITHM, sigAlgorithmId); in parseAndVerifySignatureBlock()
169 result.addError(Issue.V4_SIG_MALFORMED_PUBLIC_KEY, e); in parseAndVerifySignatureBlock()
181 result.addError(Issue.V4_SIG_DID_NOT_VERIFY, signatureAlgorithm); in parseAndVerifySignatureBlock()
187 result.addError(Issue.V4_SIG_VERIFY_EXCEPTION, signatureAlgorithm, e); in parseAndVerifySignatureBlock()
192 result.addError(Issue.V4_SIG_NO_CERTIFICATE); in parseAndVerifySignatureBlock()
206 result.addError(Issue.V4_SIG_MALFORMED_CERTIFICATE, e); in parseAndVerifySignatureBlock()
221 result.addError( in parseAndVerifySignatureBlock()
248 signerInfo.addError( in verifyRootHashAndTree()
257 signerInfo.addError( in verifyRootHashAndTree()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java162 result.addError(Issue.JAR_SIG_DUPLICATE_ZIP_ENTRY, entryName); in checkForDuplicateEntries()
191 result.addError(Issue.JAR_SIG_UNNNAMED_MANIFEST_SECTION, manifestSectionNumber); in parseManifest()
195 result.addError(Issue.JAR_SIG_DUPLICATE_MANIFEST_SECTION, entryName); in parseManifest()
199 result.addError( in parseManifest()
254 result.addError(Issue.JAR_SIG_NO_MANIFEST); in verify()
307 result.addError(Issue.JAR_SIG_NO_SIGNATURES); in verify()
311 result.addError(Issue.JAR_SIG_MAX_SIGNATURES_EXCEEDED, MAX_APK_SIGNERS, in verify()
359 result.addError(Issue.JAR_SIG_NO_SIGNATURES); in verify()
508 mResult.addError( in verifySigBlockAgainstSigFile()
514 mResult.addError(Issue.JAR_SIG_NO_SIGNERS, mSignatureBlockEntry.getName()); in verifySigBlockAgainstSigFile()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DDeviceTestResult.java82 addError(test, e); in runProtected()
85 addError(test, e); in runProtected()
88 addError(test, e); in runProtected()
115 addError(test, e); in startTest()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/stub/
DAbstractStubsTest.kt60 addError( in checkStubs()
66 addError("From-text stub generation is not supported for documentation stub.") in checkStubs()
70 addError("From-text stub generation is only supported for Java stubs.") in checkStubs()
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java271 result.addError(Issue.V31_BLOCK_FOUND_WITHOUT_V3_BLOCK); in verify()
330 result.addError( in verify()
431 v1Signer.addError(Issue.V2_SIG_MISSING); in verify()
439 v2Signer.addError(Issue.JAR_SIG_MISSING); in verify()
457 result.addError(Issue.V3_SIG_MULTIPLE_PAST_SIGNERS); in verify()
465 result.addError(Issue.V3_SIG_MULTIPLE_PAST_SIGNERS); in verify()
476 result.addError(Issue.V3_SIG_MULTIPLE_SIGNERS); in verify()
481 result.addError(Issue.V3_SIG_PAST_SIGNERS_MISMATCH); in verify()
495 result.addError(Issue.V3_SIG_PAST_SIGNERS_MISMATCH); in verify()
499 result.addError(Issue.V3_SIG_PAST_SIGNERS_MISMATCH); in verify()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigResult.java79 public void addError(int issueId, Object... parameters) { in addError() method in ApkSigResult
DApkSignerInfo.java42 public void addError(int issueId, Object... params) { in addError() method in ApkSignerInfo
DApkSigningBlockUtils.java215 signerInfo.addError( in verifyIntegrity()
221 signerInfo.addError( in verifyIntegrity()
1324 public void addError(ApkVerifier.Issue msg, Object... parameters) { in addError() method in ApkSigningBlockUtils.Result
1356 public void addError(ApkVerifier.Issue msg, Object... parameters) { in addError() method in ApkSigningBlockUtils.Result.SignerInfo
/tools/tradefederation/core/src/com/android/tradefed/result/
DInvocationToJUnitResultForwarder.java68 mJUnitListener.addError(test, throwable); in testAssumptionFailure()
DJUnitToInvocationResultForwarder.java60 public void addError(Test test, Throwable t) { in addError() method in JUnitToInvocationResultForwarder
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/common/
DBaseCommandTest.kt195 test.errorCollector.addError(e) in check()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt119 protected fun addError(error: String) { in <lambda>() method
120 errorCollector.addError(Throwable(error)) in <lambda>()
188 addError( in <lambda>()
207 addError("Unexpected write to stdout:\n $stdout") in <lambda>()
211 addError("Unexpected write to stderr:\n $stderr") in <lambda>()