/tools/ndkports/src/test/kotlin/com/android/ndkports/ |
D | ResultTest.kt | 26 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/apksig/src/main/java/com/android/apksig/internal/apk/stamp/ |
D | SourceStampVerifier.java | 80 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()
|
/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiRoamingPerformanceTest.py | 94 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/v1/ |
D | V1SchemeVerifier.java | 116 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 …]
|
D | V1SchemeSigner.java | 148 StringBuilder result = new StringBuilder(); in getSafeSignerName() local 317 Set<String> result = new HashSet<>(2 * signerConfigs.size() + 1); in getOutputEntryNames() local 388 OutputManifestFile result = new OutputManifestFile(); in generateManifestFile() local
|
/tools/apksig/src/test/java/com/android/apksig/ |
D | ApkSignerTest.java | 1215 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 …]
|
D | SourceStampVerifierTest.java | 303 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()
|
D | ApkVerifierTest.java | 638 ApkVerifier.Result result = verify("v1-only-pkcs7-cert-bag-first-cert-not-used.apk"); in testCorrectCertUsedFromPkcs7SignedDataCertsSet() local 663 ApkVerifier.Result result = verify("v1-only-with-rsa-1024-cert-not-der.apk"); in testV1SchemeSignatureCertNotReencoded() local 717 ApkVerifier.Result result = verify("v1-only-with-rsa-1024-cert-not-der2.apk"); in testV1SchemeSignatureCertNotReencoded2() local 1398 static void assertVerified(ApkVerifier.Result result) { in assertVerified() 1402 static void assertVerified(ApkVerifier.Result result, String apkId) { in assertVerified() 1470 static void assertVerificationFailure(ApkVerifier.Result result, Issue expectedIssue) { in assertVerificationFailure() 1543 ApkVerifier.Result result, Issue expectedIssue) { in assertSourceStampVerificationFailure() 1593 private static void assertSourceStampVerificationStatus(ApkVerifier.Result result, in assertSourceStampVerificationStatus()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SigningCertificateLineage.java | 78 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
|
D | V3SchemeVerifier.java | 101 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()
|
D | V3SchemeSigner.java | 157 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/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | ShortName.java | 80 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
|
D | Fat.java | 71 final Fat result = new Fat(bs, fatOffset); in read() local 96 final Fat result = new Fat(bs, fatOffset); in create() local 323 int result = 0; in getFreeClusterCount() local
|
D | FatLfnDirectory.java | 105 FatLfnDirectory result = entryToDirectory.get(entry); in getDirectory() local 161 final ShortName result; in makeShortName() local 431 final ClusterChainDirectory result = in read() local
|
D | Fat16RootDirectory.java | 56 final Fat16RootDirectory result = new Fat16RootDirectory(bs, readOnly); in read() local 73 final Fat16RootDirectory result = new Fat16RootDirectory(bs, false); in create() local
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
D | V2SchemeVerifier.java | 97 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/ |
D | SourceStampVerifier.java | 163 Result result = new Result(); in verifySourceStamp() local 292 Result result) { in parseSigners() 431 Result result) in getApkContentDigestFromV1SigningScheme() 742 private SourceStampInfo(ApkSignerInfo result) { in SourceStampInfo() 784 List<ApkVerificationIssue> result = new ArrayList<>(); in getErrors() local
|
D | SigningCertificateLineage.java | 197 ApkSigningBlockUtils.Result result = new ApkSigningBlockUtils.Result( in readFromApkDataSource() local 229 SigningCertificateLineage result; in readFromApkDataSource() local 278 SigningCertificateLineage result; in readFromSignedData() local 495 ByteBuffer result = ByteBuffer.allocate(payloadSize); in write() local
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ |
D | Asn1BerParser.java | 287 List<T> result = new ArrayList<>(); in parseSetOf() local 467 StringBuilder result = new StringBuilder(); in oidToString() local 484 long result = 0; in decodeBase128UnsignedLong() local 531 List<AnnotatedField> result = new ArrayList<>(declaredFields.length); in getAnnotatedFields() local
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtils.java | 136 Result result) throws IOException, NoSuchAlgorithmException { in verifyIntegrity() 233 Result result) throws SignatureNotFoundException { in findApkSignatureSchemeBlock() 656 private static void setUnsignedInt32LittleEndian(int value, byte[] result, int offset) { in setUnsignedInt32LittleEndian() 739 List<byte[]> result = new ArrayList<>(certificates.size()); in encodeCertificates() local 762 ByteBuffer result = ByteBuffer.allocate(payloadSize); in encodeAsSequenceOfLengthPrefixedElements() local 789 DataSource apk, ApkUtils.ZipSections zipSections, int blockId, Result result) in findSignature() 878 ByteBuffer result = ByteBuffer.allocate(resultSize); in generateApkSigningBlock() local
|
D | ApkSigningBlockUtilsLite.java | 294 ByteBuffer result = source.slice(); in sliceFromTo() local 325 ByteBuffer result = source.slice(); in getByteBuffer() local 382 ByteBuffer result = ByteBuffer.allocate(resultSize); in encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes() local
|
D | AndroidBinXmlParser.java | 512 ByteBuffer result = mContents.slice(); in getContents() local 518 ByteBuffer result = mHeader.slice(); in getHeader() local 652 String result = mCachedStrings.get(idx); in getString() local 829 ByteBuffer result = source.slice(); in sliceFromTo() local
|
/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/ |
D | vecmath.cpp | 324 Mat4 result; in Perspective() local 352 Mat4 result; in Ortho2D() local 377 Mat4 result; in LookAt() local
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | ZipTestUtils.java | 84 File result = new File(folder.getRoot(), cloneName); in cloneRsrc() local 87 Files.write(rsrcBytes(rsrcName), result); in cloneRsrc() local
|
/tools/dexter/slicer/export/slicer/ |
D | dex_leb128.h | 30 u4 result = *(ptr++); in ReadULeb128() local 60 s4 result = *(ptr++); in ReadSLeb128() local
|