/tools/apksig/src/main/java/com/android/apksig/ |
D | ApkVerifier.java | 110 public Result verify() throws IOException, ApkFormatException, NoSuchAlgorithmException, in verify() 144 private Result verify(DataSource apk) in verify() 186 Result result = new Result(); in verify() 197 ApkSigningBlockUtils.Result v3Result = in verify() 219 ApkSigningBlockUtils.Result v2Result = in verify() 260 V1SchemeVerifier.Result v1Result = in verify() 277 ArrayList<Result.V1SchemeSignerInfo> v1Signers = in verify() 279 ArrayList<Result.V2SchemeSignerInfo> v2Signers = in verify() 283 for (Result.V1SchemeSignerInfo signer : v1Signers) { in verify() 291 for (Result.V2SchemeSignerInfo signer : v2Signers) { in verify() [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeVerifier.java | 96 public static ApkSigningBlockUtils.Result verify( in verify() 102 ApkSigningBlockUtils.Result result = new ApkSigningBlockUtils.Result( in verify() 147 ApkSigningBlockUtils.Result result) in verify() 161 SortedMap<Integer, ApkSigningBlockUtils.Result.SignerInfo> sortedSigners = new TreeMap<>(); in verify() 162 for (ApkSigningBlockUtils.Result.SignerInfo signer : result.signers) { in verify() 174 for (ApkSigningBlockUtils.Result.SignerInfo signer : sortedSigners.values()) { in verify() 231 ApkSigningBlockUtils.Result result) throws NoSuchAlgorithmException { in parseSigners() 254 ApkSigningBlockUtils.Result.SignerInfo signerInfo = in parseSigners() 255 new ApkSigningBlockUtils.Result.SignerInfo(); in parseSigners() 283 ApkSigningBlockUtils.Result.SignerInfo result, in parseSigner() [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
D | V2SchemeVerifier.java | 89 public static ApkSigningBlockUtils.Result verify( in verify() 98 ApkSigningBlockUtils.Result result = new ApkSigningBlockUtils.Result( in verify() 141 ApkSigningBlockUtils.Result result) in verify() 181 ApkSigningBlockUtils.Result result) throws NoSuchAlgorithmException { in parseSigners() 204 ApkSigningBlockUtils.Result.SignerInfo signerInfo = in parseSigners() 205 new ApkSigningBlockUtils.Result.SignerInfo(); in parseSigners() 241 ApkSigningBlockUtils.Result.SignerInfo result, in parseSigner() 267 new ApkSigningBlockUtils.Result.SignerInfo.Signature( in parseSigner() 390 new ApkSigningBlockUtils.Result.SignerInfo.ContentDigest( in parseSigner() 399 for (ApkSigningBlockUtils.Result.SignerInfo.Signature signature : result.signatures) { in parseSigner() [all …]
|
/tools/apksig/src/test/java/com/android/apksig/ |
D | ApkVerifierTest.java | 480 ApkVerifier.Result result = verify("v1-only-pkcs7-cert-bag-first-cert-not-used.apk"); in testCorrectCertUsedFromPkcs7SignedDataCertsSet() 505 ApkVerifier.Result result = verify("v1-only-with-rsa-1024-cert-not-der.apk"); in testV1SchemeSignatureCertNotReencoded() 511 List<ApkVerifier.Result.V1SchemeSignerInfo> signers = result.getV1SchemeSigners(); in testV1SchemeSignatureCertNotReencoded() 513 ApkVerifier.Result.V1SchemeSignerInfo signer = signers.get(0); in testV1SchemeSignatureCertNotReencoded() 559 ApkVerifier.Result result = verify("v1-only-with-rsa-1024-cert-not-der2.apk"); in testV1SchemeSignatureCertNotReencoded2() 858 private ApkVerifier.Result verify(String apkFilenameInResources) in verify() 863 private ApkVerifier.Result verifyForMinSdkVersion( in verifyForMinSdkVersion() 869 private ApkVerifier.Result verifyForMaxSdkVersion( in verifyForMaxSdkVersion() 875 private ApkVerifier.Result verify( in verify() 893 static void assertVerified(ApkVerifier.Result result) { in assertVerified() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
D | LongevityHostRunnerTest.java | 44 import org.junit.runner.Result; 196 Result result = new JUnitCore().run(mHostRunner); in testPassingFeatures() 207 Result result = new JUnitCore().run(mHostRunner); in testIterationsRespected() 218 Result result = new JUnitCore().run(mHostRunner); in testPassingOptions()
|
/tools/test/connectivity/tools/lab/utils/ |
D | job.py | 42 class Result(object): class 156 result = Result(
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AudioLoopbackTestHelper.java | 18 import com.android.media.tests.AudioLoopbackImageAnalyzer.Result; 99 private Result mImageAnalyzerResult = Result.UNKNOWN; 208 public Result getImageAnalyzerResult() { in getImageAnalyzerResult() 212 public void setImageAnalyzerResult(Result imageAnalyzerResult) { in setImageAnalyzerResult() 248 || mImageAnalyzerResult == Result.FAIL; in hasBadResults() 320 final Pair<Result, String> result = AudioLoopbackImageAnalyzer.analyzeImage(screenshot); in addTestData()
|
D | AudioLoopbackTest.java | 21 import com.android.media.tests.AudioLoopbackImageAnalyzer.Result; 424 if (rd.getImageAnalyzerResult() == Result.PASS && rd.getConfidence() == 1.0) { in runGlitchesTest()
|
/tools/tradefederation/core/src/com/android/tradefed/util/xml/ |
D | AndroidManifestWriter.java | 33 import javax.xml.transform.Result; 94 Result result = new StreamResult(file); in saveXmlToFile()
|
/tools/test/connectivity/acts/framework/acts/libs/proc/ |
D | job.py | 42 class Result(object): class 156 result = Result(
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtils.java | 154 Result result) throws IOException, NoSuchAlgorithmException { in verifyIntegrity() 193 for (Result.SignerInfo signerInfo : result.signers) { in verifyIntegrity() 194 for (Result.SignerInfo.ContentDigest expected : signerInfo.contentDigests) { in verifyIntegrity() 228 Result result) throws SignatureNotFoundException { in findApkSignatureSchemeBlock() 628 DataSource apk, ApkUtils.ZipSections zipSections, int blockId, Result result) in findSignature() 972 public static class Result { class in ApkSigningBlockUtils 983 public Result(int signatureSchemeVersion) { in Result() method in ApkSigningBlockUtils.Result
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeVerifier.java | 104 public static Result verify( in verify() 117 Result result = new Result(); in verify() 146 List<CentralDirectoryRecord> cdRecords, Result result) { in checkForDuplicateEntries() 183 Result result) throws ApkFormatException, IOException, NoSuchAlgorithmException { in verify() 270 Result.SignerInfo signerInfo = in verify() 271 new Result.SignerInfo( in verify() 390 private final Result.SignerInfo mResult; 402 Result.SignerInfo result) { in Signer() 433 public Result.SignerInfo getResult() { in getResult() 1802 Result result) throws ApkFormatException, IOException, NoSuchAlgorithmException { in verifyJarEntriesAgainstManifestAndSigners() [all …]
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | ApkSignerTool.java | 429 ApkVerifier.Result result; in verify() 527 for (ApkVerifier.Result.V1SchemeSignerInfo signer : result.getV1SchemeSigners()) { in verify() 537 for (ApkVerifier.Result.V2SchemeSignerInfo signer : result.getV2SchemeSigners()) { in verify()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/ |
D | SigningExtension.java | 196 ApkVerifier.Result result; in isCurrentSignatureAsRequested()
|
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/ |
D | connection.py | 216 result = job.Result(
|