Home
last modified time | relevance | path

Searched defs:result (Results 1 – 25 of 118) sorted by relevance

12345

/tools/ndkports/src/test/kotlin/com/android/ndkports/
DResultTest.kt26 val result = Result.Error("foo") in onFailure executes block on failure() constant
36 val result = Result.Ok(Unit) in onFailure does not execute block on success() constant
42 val result = Result.Error(Unit) in onFailure returns same result object() constant
48 val result = Result.Ok("foo") in onSuccess executes block on success() constant
58 val result = Result.Error(Unit) in onSuccess does not execute block on failure() constant
64 val result = Result.Ok(Unit) in onSuccess returns same result object() constant
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/extractors/
DSystraceExtractorTest.kt35 val result = extract(buffers) in <lambda>() constant
43 val result = extract(buffers) in <lambda>() constant
54 val result = extract(buffers) in <lambda>() constant
67 val result = extract(listOf(buffer)) in <lambda>() constant
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DSourceStampVerifier.java80 ApkSignerInfo result, in verifyV1SourceStamp()
115 ApkSignerInfo result, in verifyV2SourceStamp()
150 result); in verifyV2SourceStamp() local
178 ApkSignerInfo result) in verifySourceStampCertificate()
220 ApkSignerInfo result) { in verifySourceStampSignature()
301 X509Certificate sourceStampCertificate, ApkSignerInfo result) in parseStampAttributes()
325 X509Certificate sourceStampCertificate, ApkSignerInfo result) { in readStampCertificateLineage()
DV1SourceStampVerifier.java73 ApkSigningBlockUtils.Result result = in verify() local
101 ApkSigningBlockUtils.Result result) in verify()
DV2SourceStampVerifier.java78 ApkSigResult result = in verify() local
106 ApkSigResult result) in verify()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZipTestUtils.java84 File result = new File(folder.getRoot(), cloneName); in cloneRsrc() local
87 Files.write(rsrcBytes(rsrcName), result); in cloneRsrc() local
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiRoamingPerformanceTest.py94 def pass_fail_traffic_continuity(self, result): argument
171 def process_traffic_continuity_results(self, testcase_params, result): argument
250 def detect_roam_events(self, result): argument
325 def detect_ping_gaps(self, result): argument
340 def detect_iperf_gaps(self, result): argument
369 def plot_ping_result(self, argument
404 def plot_iperf_result(self, argument
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SigningCertificateLineage.java78 List<SigningCertificateNode> result = new ArrayList<>(); in readSigningCertificateLineage() local
218 ByteBuffer result = ByteBuffer.allocate(payloadSize); in encodeSigningCertificateNode() local
231 ByteBuffer result = ByteBuffer.allocate(payloadSize); in encodeSignedData() local
280 int result = Objects.hash(signingCert, parentSigAlgorithm, sigAlgorithm, flags); in hashCode() local
DV3SchemeVerifier.java101 ApkSigningBlockUtils.Result result = new ApkSigningBlockUtils.Result( in verify() local
148 ApkSigningBlockUtils.Result result) in verify()
232 ApkSigningBlockUtils.Result result) throws NoSuchAlgorithmException { in parseSigners()
284 ApkSigningBlockUtils.Result.SignerInfo result, in parseSigner()
DV3SchemeSigner.java157 ByteBuffer result = ByteBuffer.allocate(payloadSize); in generateV3SignerAttribute() local
261 ByteBuffer result = ByteBuffer.allocate(payloadSize); in encodeSigner() local
297 ByteBuffer result = ByteBuffer.allocate(payloadSize); in encodeSignedData() local
/tools/dexter/slicer/export/slicer/
Ddex_leb128.h30 u4 result = *(ptr++); in ReadULeb128() local
60 s4 result = *(ptr++); in ReadSLeb128() local
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DShortName.java80 char[] result = new char[11]; in ShortName() local
90 final char[] result = new char[11]; in toCharArray() local
92 System.arraycopy(name.toCharArray(), 0, result, 0, name.length()); in toCharArray() local
93 System.arraycopy(ext.toCharArray(), 0, result, 8, ext.length()); in toCharArray() local
DFat16RootDirectory.java56 final Fat16RootDirectory result = new Fat16RootDirectory(bs, readOnly); in read() local
73 final Fat16RootDirectory result = new Fat16RootDirectory(bs, false); in create() local
DFsInfoSector.java62 final FsInfoSector result = in read() local
85 final FsInfoSector result = in create() local
DClusterChainDirectory.java59 final ClusterChainDirectory result = in readRoot() local
79 final ClusterChainDirectory result = in createRoot() local
/tools/apksig/src/test/java/com/android/apksig/
DSourceStampVerifierTest.java303 private static void assertVerified(Result result) { in assertVerified()
317 private static void assertSourceStampVerificationFailure(Result result, int expectedIssueId) { in assertSourceStampVerificationFailure()
327 private static void assertSourceStampVerificationWarning(Result result, int expectedIssueId) { in assertSourceStampVerificationWarning()
366 private static void assertSigningCertificates(Result result, String... expectedCertDigests) in assertSigningCertificates()
409 private static void assertSigningCertificatesInLineage(Result result, in assertSigningCertificatesInLineage()
DApkSignerTest.java1215 ApkSigningBlockUtils.Result result = in testSignApk_stampBlock_noStampGenerated() local
1357 ApkVerifier.Result result = verify(signedApk, null); in testOtherSignersSignaturesPreserved_extraSigBlock_signatureAppended() local
1379 ApkVerifier.Result result = verify(signedApk, null); in testOtherSignersSignaturesPreserved_v1Only_signatureAppended() local
1424 ApkVerifier.Result result = verify(signedApk, null); in testOtherSignersSignaturesPreserved_v2OnlyAppendV2V3SameSigner_signatureAppended() local
1496 ApkVerifier.Result result = verify(signedApk, null); in testOtherSignersSignaturesPreserved_v1v2IndividuallySign_signaturesAppended() local
1530 private static void assertResultContainsSigners(ApkVerifier.Result result, String... signers) in assertResultContainsSigners()
1580 StringBuilder result = new StringBuilder(); in getAllSubjectNamesFrom() local
1661 ApkSigningBlockUtils.Result result = new ApkSigningBlockUtils.Result( in getSignatureInfoFromApk() local
1761 private static void assertVerified(ApkVerifier.Result result) { in assertVerified()
1765 private static void assertSourceStampVerified(File signedApk, ApkVerifier.Result result) in assertSourceStampVerified()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/
DAlgorithmIdentifier.java135 String result = OID_TO_JCA_SIGNATURE_ALG.get(signatureAlgorithmOid); in getJcaSignatureAlgorithm() local
166 String result = OID_TO_JCA_DIGEST_ALG.get(oid); in getJcaDigestAlgorithm() local
/tools/test/graphicsbenchmark/functional_tests/hostside/src/com/android/game/qualification/test/
DTestUtils.java29 CommandResult result = device.executeShellV2Command( in isGameCoreCertified() local
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DByteStreams.java33 ByteArrayOutputStream result = new ByteArrayOutputStream(); in toByteArray() local
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/task/
DImportTask.kt58 val result = importer.import(reader) in addImporterSource() constant
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4SchemeVerifier.java77 final ApkSigningBlockUtils.Result result = new ApkSigningBlockUtils.Result( in verify() local
124 final ApkSigningBlockUtils.Result.SignerInfo result = in parseAndVerifySignatureBlock() local
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java97 ApkSigningBlockUtils.Result result = new ApkSigningBlockUtils.Result( in verify() local
142 ApkSigningBlockUtils.Result result) in verify()
182 ApkSigningBlockUtils.Result result) throws NoSuchAlgorithmException { in parseSigners()
242 ApkSigningBlockUtils.Result.SignerInfo result, in parseSigner()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/
DByteBufferBerDataValueReader.java110 int result = 0; in readHighTagNumber() local
136 int result = 0; in readLongFormLength() local
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java116 Result result = new Result(); in verify() local
145 List<CentralDirectoryRecord> cdRecords, Result result) { in checkForDuplicateEntries()
174 byte[] manifestBytes, Set<String> cdEntryNames, Result result) { in parseManifest()
220 Result result) throws ApkFormatException, IOException, NoSuchAlgorithmException { in verify()
426 Result.SignerInfo result) { in Signer()
774 List<X509Certificate> result = new ArrayList<>(1); in getCertificateChain() local
1115 List<NamedDigest> result = new ArrayList<>(1); in getDigestsToVerify() local
1187 Integer result = in getMinSdkVersionFromWhichSupportedInManifestOrSignatureFile() local
1266 Result result) throws ApkFormatException, IOException, NoSuchAlgorithmException { in verifyJarEntriesAgainstManifestAndSigners()
1363 List<String> result = new ArrayList<>(signers.size()); in getSignerNames() local
[all …]

12345