/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AudioLoopbackImageAnalyzer.java | 68 enum Result { enum in AudioLoopbackImageAnalyzer 79 public static Pair<Result, String> analyzeImage(String imgFile) { in analyzeImage() 139 return new Pair<Result, String>(Result.FAIL, err); in analyzeImage() 149 return new Pair<Result, String>(Result.FAIL, err); in analyzeImage() 162 Pair<Result, String> amplResult = in analyzeImage() 171 if (amplResult.first != Result.PASS) { in analyzeImage() 185 if (amplResult.first != Result.PASS) { in analyzeImage() 189 return new Pair<Result, String>(Result.PASS, ""); in analyzeImage() 207 private static Pair<Result, String> analyzeDuration( in analyzeDuration() 321 return new Pair<Result, String>(Result.PASS, ""); in analyzeDuration() [all …]
|
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/apksig/src/main/java/com/android/apksig/ |
D | ApkVerifier.java | 112 public Result verify() throws IOException, ApkFormatException, NoSuchAlgorithmException, in verify() 146 private Result verify(DataSource apk) in verify() 188 Result result = new Result(); in verify() 219 ApkSigningBlockUtils.Result v3Result = in verify() 242 ApkSigningBlockUtils.Result v2Result = in verify() 284 V1SchemeVerifier.Result v1Result = in verify() 301 ArrayList<Result.V1SchemeSignerInfo> v1Signers = in verify() 303 ArrayList<Result.V2SchemeSignerInfo> v2Signers = in verify() 307 for (Result.V1SchemeSignerInfo signer : v1Signers) { in verify() 315 for (Result.V2SchemeSignerInfo signer : v2Signers) { in verify() [all …]
|
D | SigningCertificateLineage.java | 191 ApkSigningBlockUtils.Result result = new ApkSigningBlockUtils.Result( in readFromApkDataSource()
|
D | DefaultApkSignerEngine.java | 430 V1SchemeVerifier.Result dummyResult = new V1SchemeVerifier.Result(); in initWith()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeVerifier.java | 96 public static ApkSigningBlockUtils.Result verify( in verify() 103 ApkSigningBlockUtils.Result result = new ApkSigningBlockUtils.Result( in verify() 150 ApkSigningBlockUtils.Result result) in verify() 164 SortedMap<Integer, ApkSigningBlockUtils.Result.SignerInfo> sortedSigners = new TreeMap<>(); in verify() 165 for (ApkSigningBlockUtils.Result.SignerInfo signer : result.signers) { in verify() 177 for (ApkSigningBlockUtils.Result.SignerInfo signer : sortedSigners.values()) { in verify() 234 ApkSigningBlockUtils.Result result) throws NoSuchAlgorithmException { in parseSigners() 257 ApkSigningBlockUtils.Result.SignerInfo signerInfo = in parseSigners() 258 new ApkSigningBlockUtils.Result.SignerInfo(); in parseSigners() 286 ApkSigningBlockUtils.Result.SignerInfo result, in parseSigner() [all …]
|
/tools/apksig/src/test/java/com/android/apksig/ |
D | ApkVerifierTest.java | 639 ApkVerifier.Result result = verify("v1-only-pkcs7-cert-bag-first-cert-not-used.apk"); in testCorrectCertUsedFromPkcs7SignedDataCertsSet() 664 ApkVerifier.Result result = verify("v1-only-with-rsa-1024-cert-not-der.apk"); in testV1SchemeSignatureCertNotReencoded() 670 List<ApkVerifier.Result.V1SchemeSignerInfo> signers = result.getV1SchemeSigners(); in testV1SchemeSignatureCertNotReencoded() 672 ApkVerifier.Result.V1SchemeSignerInfo signer = signers.get(0); in testV1SchemeSignatureCertNotReencoded() 718 ApkVerifier.Result result = verify("v1-only-with-rsa-1024-cert-not-der2.apk"); in testV1SchemeSignatureCertNotReencoded2() 1023 private ApkVerifier.Result verify(String apkFilenameInResources) in verify() 1028 private ApkVerifier.Result verifyForMinSdkVersion( in verifyForMinSdkVersion() 1034 private ApkVerifier.Result verifyForMaxSdkVersion( in verifyForMaxSdkVersion() 1040 private ApkVerifier.Result verify( in verify() 1058 static void assertVerified(ApkVerifier.Result result) { in assertVerified() [all …]
|
D | ApkSignerTest.java | 864 ApkSigningBlockUtils.Result result = new ApkSigningBlockUtils.Result( in getRSAPublicKeyFromSigningBlock() 967 private static ApkVerifier.Result verifyForMinSdkVersion(DataSource apk, int minSdkVersion) in verifyForMinSdkVersion() 972 private static ApkVerifier.Result verify(DataSource apk, Integer minSdkVersionOverride) in verify() 981 private static void assertVerified(ApkVerifier.Result result) { in assertVerified() 985 private static void assertVerificationFailure(ApkVerifier.Result result, Issue expectedIssue) { in assertVerificationFailure()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
D | V2SchemeVerifier.java | 90 public static ApkSigningBlockUtils.Result verify( in verify() 100 ApkSigningBlockUtils.Result result = new ApkSigningBlockUtils.Result( in verify() 145 ApkSigningBlockUtils.Result result) in verify() 185 ApkSigningBlockUtils.Result result) throws NoSuchAlgorithmException { in parseSigners() 208 ApkSigningBlockUtils.Result.SignerInfo signerInfo = in parseSigners() 209 new ApkSigningBlockUtils.Result.SignerInfo(); in parseSigners() 245 ApkSigningBlockUtils.Result.SignerInfo result, in parseSigner() 271 new ApkSigningBlockUtils.Result.SignerInfo.Signature( in parseSigner() 399 new ApkSigningBlockUtils.Result.SignerInfo.ContentDigest( in parseSigner() 408 for (ApkSigningBlockUtils.Result.SignerInfo.Signature signature : result.signatures) { in parseSigner() [all …]
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_utils_test.py | 461 job.Result(stdout=bytes(MOCK_IP_ADDRESSES, 'utf-8'), 463 job.Result(stdout=bytes(MOCK_IFCONFIG_OUTPUT, 'utf-8'), 472 job.Result(stdout=bytes(MOCK_IP_ADDRESSES, 'utf-8'), 474 job.Result(stdout=bytes(MOCK_IFCONFIG_OUTPUT, 'utf-8'), 483 job.Result(stdout=bytes(MOCK_IP_ADDRESSES, 'utf-8'), 485 job.Result(stdout=bytes(MOCK_IFCONFIG_OUTPUT, 'utf-8'), 495 job.Result(stdout=bytes(MOCK_IP_ADDRESSES, 'utf-8'), 497 job.Result(stdout=bytes(MOCK_IFCONFIG_OUTPUT, 'utf-8'),
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeVerifier.java | 106 public static Result verify( in verify() 119 Result result = new Result(); in verify() 148 List<CentralDirectoryRecord> cdRecords, Result result) { in checkForDuplicateEntries() 177 byte[] manifestBytes, Set<String> cdEntryNames, Result result) { in parseManifest() 223 Result result) throws ApkFormatException, IOException, NoSuchAlgorithmException { in verify() 296 Result.SignerInfo signerInfo = in verify() 297 new Result.SignerInfo( in verify() 416 private final Result.SignerInfo mResult; 428 Result.SignerInfo result) { in Signer() 459 public Result.SignerInfo getResult() { in getResult() [all …]
|
/tools/metalava/ |
D | FORMAT.md | 363 public static final class CursorJoiner.Result extends java.lang.Enum { 364 method public static android.database.CursorJoiner.Result valueOf(java.lang.String); 365 method public static final android.database.CursorJoiner.Result[] values(); 366 enum_constant public static final android.database.CursorJoiner.Result BOTH; 367 enum_constant public static final android.database.CursorJoiner.Result LEFT; 368 enum_constant public static final android.database.CursorJoiner.Result RIGHT; 380 public static enum CursorJoiner.Result { 381 enum_constant public static final android.database.CursorJoiner.Result BOTH; 382 enum_constant public static final android.database.CursorJoiner.Result LEFT; 383 enum_constant public static final android.database.CursorJoiner.Result RIGHT;
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtils.java | 165 Result result) throws IOException, NoSuchAlgorithmException { in verifyIntegrity() 221 for (Result.SignerInfo signerInfo : result.signers) { in verifyIntegrity() 222 for (Result.SignerInfo.ContentDigest expected : signerInfo.contentDigests) { in verifyIntegrity() 262 Result result) throws SignatureNotFoundException { in findApkSignatureSchemeBlock() 914 DataSource apk, ApkUtils.ZipSections zipSections, int blockId, Result result) in findSignature() 1260 public static class Result { class in ApkSigningBlockUtils 1271 public Result(int signatureSchemeVersion) { in Result() method in ApkSigningBlockUtils.Result
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
D | LongevityHostRunnerTest.java | 45 import org.junit.runner.Result; 190 Result result = new JUnitCore().run(mHostRunner); in testPassingFeatures() 201 Result result = new JUnitCore().run(mHostRunner); in testIterationsRespected() 212 Result result = new JUnitCore().run(mHostRunner); in testPassingOptions()
|
/tools/tradefederation/core/lite/com/android/tradefed/lite/ |
D | DryRunner.java | 19 import org.junit.runner.Result; 50 Result res = new Result(); in run()
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | ApkSignerTool.java | 439 ApkVerifier.Result result; in verify() 491 for (ApkVerifier.Result.V1SchemeSignerInfo signer : result.getV1SchemeSigners()) { in verify() 501 for (ApkVerifier.Result.V2SchemeSignerInfo signer : result.getV2SchemeSigners()) { in verify() 513 for (ApkVerifier.Result.V3SchemeSignerInfo signer : result.getV3SchemeSigners()) { in verify()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/ |
D | PerformanceTest.java | 185 ResultDataProto.Result resultData = retrieveResultData(); in run() 248 private ResultDataProto.Result retrieveResultData() throws DeviceNotAvailableException { in retrieveResultData() 253 return ResultDataProto.Result.parseFrom(inputStream); in retrieveResultData()
|
/tools/test/graphicsbenchmark/performance_tests/deviceside/src/com/android/game/qualification/device/ |
D | MetricsReporter.java | 29 private ResultDataProto.Result.Builder builder = ResultDataProto.Result.newBuilder();
|
/tools/tradefederation/core/tests/src/com/android/tradefed/lite/ |
D | DryRunnerTest.java | 23 import org.junit.runner.Result; 55 Mockito.verify(list, Mockito.times(1)).testRunFinished((Result) Mockito.anyObject()); in testFakeExecution()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/ |
D | BaseGameQualificationMetricCollector.java | 37 protected ResultDataProto.Result mDeviceResultData; 60 public void setDeviceResultData(ResultDataProto.Result resultData) { in setDeviceResultData()
|
/tools/test/connectivity/acts/framework/acts/libs/proc/ |
D | job.py | 37 class Result(object): class 151 result = Result(command=command,
|
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/ |
D | IsolationResultForwarder.java | 19 import org.junit.runner.Result; 145 public void testRunFinished(Result result) throws IOException { in testRunFinished()
|
/tools/tradefederation/core/test_result_interfaces/ |
D | README.md | 1 # Trade Federation Test Result Component
|
/tools/test/graphicsbenchmark/performance_tests/helper/proto/ |
D | resultdata.proto | 18 message Result { message
|