Home
last modified time | relevance | path

Searched refs:List (Results 1 – 25 of 161) sorted by relevance

1234567

/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/
DGameCoreConfiguration.java18 import java.util.List;
25 List<CertificationRequirements> mCertificationRequirements;
26 List<ApkInfo> mApkInfo;
29 List<CertificationRequirements> certificationRequirements, in GameCoreConfiguration()
30 List<ApkInfo> apkInfo) { in GameCoreConfiguration()
44 List<String> requirementNames = in validateConfiguration()
49 List<String> apkNames = in validateConfiguration()
54 List<String> missingApks = in validateConfiguration()
67 public List<CertificationRequirements> getCertificationRequirements() { in getCertificationRequirements()
71 public List<ApkInfo> getApkInfo() { in getApkInfo()
/tools/apksig/src/main/java/com/android/apksig/
DSourceStampVerifier.java65 import java.util.List;
167 List<CentralDirectoryRecord> cdRecords = in verifySourceStamp()
428 List<CentralDirectoryRecord> cdRecords, in getApkContentDigestFromV1SigningScheme()
434 List<CentralDirectoryRecord> signatureBlockRecords = new ArrayList<>(1); in getApkContentDigestFromV1SigningScheme()
506 private final List<SignerInfo> mV1SchemeSigners = new ArrayList<>();
507 private final List<SignerInfo> mV2SchemeSigners = new ArrayList<>();
508 private final List<SignerInfo> mV3SchemeSigners = new ArrayList<>();
509 private final List<List<SignerInfo>> mAllSchemeSigners = Arrays.asList(mV1SchemeSigners,
513 private final List<ApkVerificationIssue> mErrors = new ArrayList<>();
514 private final List<ApkVerificationIssue> mWarnings = new ArrayList<>();
[all …]
DSigningCertificateLineage.java54 import java.util.List;
108 private final List<SigningCertificateNode> mSigningLineage;
110 private SigningCertificateLineage(int minSdkVersion, List<SigningCertificateNode> list) { in SigningCertificateLineage()
163 List<SigningCertificateNode> parsedLineage = in readFromV3AttributeValue()
217 List<SigningCertificateLineage> lineages = new ArrayList<>(1); in readFromApkDataSource()
268 List<SigningCertificateLineage> lineages = new ArrayList<>(1); in readFromSignedData()
374 List<X509Certificate> certificates = new ArrayList<>(1); in spawnDescendant()
383 List<Pair<Integer, byte[]>> signatures = in spawnDescendant()
394 List<SigningCertificateNode> lineageCopy = new ArrayList<>(mSigningLineage); in spawnDescendant()
413 List<SignatureAlgorithm> algorithms = V3SchemeSigner.getSuggestedSignatureAlgorithms( in getSignatureAlgorithm()
[all …]
DApkSigner.java53 import java.util.List;
87 private final List<SignerConfig> mSignerConfigs;
116 List<SignerConfig> signerConfigs, in ApkSigner()
258 List<CentralDirectoryRecord> inputCdRecords = in sign()
261 List<Hints.PatternWithRange> pinPatterns = in sign()
263 List<Hints.ByteRange> pinByteRanges = pinPatterns == null ? null : new ArrayList<>(); in sign()
280 List<DefaultApkSignerEngine.SignerConfig> engineSignerConfigs = in sign()
328 List<CentralDirectoryRecord> inputCdRecordsSortedByLfhOffset = in sign()
474 List<CentralDirectoryRecord> outputCdRecords = new ArrayList<>(inputCdRecords.size() + 10); in sign()
638 List<CentralDirectoryRecord> outputCdRecords, in outputDataToOutputApk()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeSigner.java43 import java.util.List;
88 public static List<SignatureAlgorithm> getSuggestedSignatureAlgorithms(PublicKey signingKey, in getSuggestedSignatureAlgorithms()
101 List<SignatureAlgorithm> algorithms = new ArrayList<>(); in getSuggestedSignatureAlgorithms()
114 List<SignatureAlgorithm> algorithms = new ArrayList<>(); in getSuggestedSignatureAlgorithms()
128 List<SignatureAlgorithm> algorithms = new ArrayList<>(); in getSuggestedSignatureAlgorithms()
149 List<SignerConfig> signerConfigs, in generateApkSignatureSchemeV2Block()
163 List<SignerConfig> signerConfigs, in generateApkSignatureSchemeV2Block()
165 List<byte[]> preservedV2SignerBlocks) in generateApkSignatureSchemeV2Block()
168 Pair<List<SignerConfig>, Map<ContentDigestAlgorithm, byte[]>> digestInfo = in generateApkSignatureSchemeV2Block()
179 List<SignerConfig> signerConfigs, in generateApkSignatureSchemeV2Block()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSignerInfo.java23 import java.util.List;
30 public List<X509Certificate> certs = new ArrayList<>();
31 public List<X509Certificate> certificateLineage = new ArrayList<>();
33 private final List<ApkVerificationIssue> mWarnings = new ArrayList<>();
34 private final List<ApkVerificationIssue> mErrors = new ArrayList<>();
69 public List<? extends ApkVerificationIssue> getErrors() { in getErrors()
76 public List<? extends ApkVerificationIssue> getWarnings() { in getWarnings()
DApkSigResult.java22 import java.util.List;
33 public final List<ApkSignerInfo> mSigners = new ArrayList<>();
34 private final List<ApkVerificationIssue> mWarnings = new ArrayList<>();
35 private final List<ApkVerificationIssue> mErrors = new ArrayList<>();
94 public List<? extends ApkVerificationIssue> getErrors() { in getErrors()
101 public List<? extends ApkVerificationIssue> getWarnings() { in getWarnings()
DApkSigningBlockUtils.java80 import java.util.List;
402 List<ChunkDigests> chunkDigestsList = new ArrayList<>(digestAlgorithms.size()); in computeOneMbChunkContentDigests()
449 private final List<ChunkDigests> chunkDigests;
450 private final List<MessageDigest> messageDigests;
453 private ChunkDigester(ChunkSupplier dataSupplier, List<ChunkDigests> chunkDigests) { in ChunkDigester()
737 public static List<byte[]> encodeCertificates(List<X509Certificate> certificates) in encodeCertificates()
739 List<byte[]> result = new ArrayList<>(certificates.size()); in encodeCertificates()
752 public static byte[] encodeAsSequenceOfLengthPrefixedElements(List<byte[]> sequence) { in encodeAsSequenceOfLengthPrefixedElements()
772 List<Pair<Integer, byte[]>> sequence) { in encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes()
842 List<Pair<byte[], Integer>> apkSignatureSchemeBlockPairs) { in generateApkSigningBlock()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java72 import java.util.List;
119 List<CentralDirectoryRecord> cdRecords = parseZipCentralDirectory(apk, apkSections); in verify()
145 List<CentralDirectoryRecord> cdRecords, Result result) { in checkForDuplicateEntries()
177 List<ManifestParser.Section> manifestIndividualSections = manifest.readAllSections(); in parseManifest()
214 List<CentralDirectoryRecord> cdRecords, in verify()
225 List<CentralDirectoryRecord> sigBlockEntries = new ArrayList<>(1); in verify()
276 List<Signer> signers = new ArrayList<>(sigBlockEntries.size()); in verify()
323 List<Signer> remainingSigners = new ArrayList<>(signers.size()); in verify()
514 List<SignerInfo> unverifiedSignerInfosToTry; in verifySigBlockAgainstSigFile()
521 List<X509Certificate> signedDataCertificates = null; in verifySigBlockAgainstSigFile()
[all …]
DV1SchemeSigner.java47 import java.util.List;
86 public List<X509Certificate> certificates;
237 public static List<Pair<String, byte[]>> sign( in sign()
238 List<SignerConfig> signerConfigs, in sign()
241 List<Integer> apkSigningSchemeIds, in sign()
269 public static List<Pair<String, byte[]>> signManifest( in signManifest()
270 List<SignerConfig> signerConfigs, in signManifest()
272 List<Integer> apkSigningSchemeIds, in signManifest()
282 List<Pair<String, byte[]>> signatureJarEntries = in signManifest()
316 public static Set<String> getOutputEntryNames(List<SignerConfig> signerConfigs) { in getOutputEntryNames()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeSigner.java45 import java.util.List;
76 public static List<SignatureAlgorithm> getSuggestedSignatureAlgorithms(PublicKey signingKey, in getSuggestedSignatureAlgorithms()
89 List<SignatureAlgorithm> algorithms = new ArrayList<>(); in getSuggestedSignatureAlgorithms()
102 List<SignatureAlgorithm> algorithms = new ArrayList<>(); in getSuggestedSignatureAlgorithms()
116 List<SignatureAlgorithm> algorithms = new ArrayList<>(); in getSuggestedSignatureAlgorithms()
138 List<SignerConfig> signerConfigs) in generateApkSignatureSchemeV3Block()
141 Pair<List<SignerConfig>, Map<ContentDigestAlgorithm, byte[]>> digestInfo = in generateApkSignatureSchemeV3Block()
166 List<SignerConfig> signerConfigs, Map<ContentDigestAlgorithm, byte[]> contentDigests) in generateApkSignatureSchemeV3Block()
170 List<byte[]> signerBlocks = new ArrayList<>(signerConfigs.size()); in generateApkSignatureSchemeV3Block()
210 List<Pair<Integer, byte[]>> digests = in generateSignerBlock()
[all …]
/tools/apksig/src/test/java/com/android/apksig/
DSigningCertificateLineageTest.java48 import java.util.List;
56 private List<SignerConfig> mSigners;
99 List<SignerConfig> signers = new ArrayList<>(3); in testLineageFromBytesContainsExpectedSigners()
116 List<SignerConfig> signers = new ArrayList<>(3); in testLineageFromFileContainsExpectedSigners()
179 List<Boolean> expectedCapabilityValues = Arrays.asList(false, false, false, false, false); in testUpdatedCapabilitiesInLineage()
191 List<Boolean> expectedCapabilityValues = Arrays.asList(false, false, false, false, false); in testUpdatedCapabilitiesInLineageWrittenToFile()
208 List<Boolean> expectedCapabilityValues = Arrays.asList(false, false, false, false, false); in testCapabilitiesAreNotUpdatedWithDefaultValues()
227 List<Boolean> oldSignerCapabilityValues = Arrays.asList(false, false, false, false, false); in testFirstRotationWitNonDefaultCapabilitiesForSigners()
228 List<Boolean> newSignerCapabilityValues = Arrays.asList(false, true, false, false, false); in testFirstRotationWitNonDefaultCapabilitiesForSigners()
248 List<Boolean> newSignerCapabilityValues = Arrays.asList(false, false, false, false, false); in testRotationWithExitingLineageAndNonDefaultCapabilitiesForNewSigner()
[all …]
DApkSignerTest.java77 import java.util.List;
129 List<ApkSigner.SignerConfig> rsa2048SignerConfig = in generateGoldenFiles()
132 List<ApkSigner.SignerConfig> rsa2048SignerConfigWithLineage = in generateGoldenFiles()
416 List<ApkSigner.SignerConfig> rsa2048SignerConfig = in testAlignmentPreserved_Golden()
419 List<ApkSigner.SignerConfig> rsa2048SignerConfigWithLineage = in testAlignmentPreserved_Golden()
659 List<ApkSigner.SignerConfig> rsaSignerConfig = in testMinSdkVersion_Golden()
683 List<ApkSigner.SignerConfig> rsaSignerConfig = in testVerityEnabled_Golden()
699 List<ApkSigner.SignerConfig> signers = in testRsaSignedVerifies()
718 List<ApkSigner.SignerConfig> signers = in testDsaSignedVerifies()
739 List<ApkSigner.SignerConfig> signers = in testDeterministicDsaSignedVerifies()
[all …]
/tools/platform-compat/javatest/android/processor/compat/unsupportedappusage/
DCsvReader.java27 import java.util.List;
33 private final List<String> mColumns;
34 private final List<Map<String, String>> mContents;
43 List<String> contents = mSplitter.splitToList(line); in CsvReader()
54 public List<String> getColumns() { in getColumns()
58 public List<Map<String, String>> getContents() { in getContents()
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationApplicationId.java25 import java.util.List;
37 private final List<AttestationPackageInfo> packageInfos;
38 private final List<byte[]> signatureDigests;
86 public List<AttestationPackageInfo> getAttestationPackageInfos() { in getAttestationPackageInfos()
90 public List<byte[]> getSignatureDigests() { in getSignatureDigests()
138 private List<AttestationPackageInfo> parseAttestationPackageInfos(ASN1Encodable asn1Encodable) in parseAttestationPackageInfos()
147 List<AttestationPackageInfo> result = new ArrayList<AttestationPackageInfo>(); in parseAttestationPackageInfos()
154 private List<byte[]> parseSignatures(ASN1Encodable asn1Encodable) in parseSignatures()
162 List<byte[]> result = new ArrayList<byte[]>(); in parseSignatures()
/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/
DHistogramTest.java28 import java.util.List;
38 List<Long> data = Arrays.asList(0L, 1L, 1L, 2L, 0L); in testSimple()
62 List<Long> data = Arrays.asList(-2L, -1L, 0L, 1L, 2L); in testCutoff()
78 List<Long> data = Arrays.asList(0L, 2L, 4L); in testPlotCutoff()
99 List<Long> data = Arrays.asList(0L, 1L, 2L, 3L, 4L); in testBuckets()
117 List<Long> data = Arrays.asList(-2L, -1L, 0L, 1L, 2L, 3L, 4L, 5L, 6L, 7L); in testEvenBucketSize()
134 List<Long> data = new ArrayList<>(); in testPlot()
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/
DSignedData.java25 import java.util.List;
37 public List<AlgorithmIdentifier> digestAlgorithms;
47 public List<Asn1OpaqueObject> certificates;
54 public List<ByteBuffer> crls;
57 public List<SignerInfo> signerInfos;
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DTypeParameterList.kt34 fun typeParameterNames(): List<String> in toString()
37 fun typeParameters(): List<TypeParameterItem> in toString()
46 override fun typeParameterNames(): List<String> = emptyList() in toString()
47 override fun typeParameters(): List<TypeParameterItem> = emptyList() in toString()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DMetricSummary.java31 import java.util.List;
47 private Map<TimeType, List<LoopSummary>> summaries;
52 Map<TimeType, List<LoopSummary>> summaries) { in MetricSummary()
70 Map<TimeType, List<LoopSummary>> summaries = new LinkedHashMap<>(); in parseRunMetrics()
88 public List<LoopSummary> getLoopSummaries() { in getLoopSummaries()
173 private Map<TimeType, List<LoopSummary.Builder>> summaries = new LinkedHashMap<>();
185 List<LoopSummary.Builder> list = summaries.get(type); in getLatestSummary()
210 Map<TimeType, List<LoopSummary>> summaryMap = new HashMap<>(); in build()
211 for (Map.Entry<TimeType, List<LoopSummary.Builder>> entry : summaries.entrySet()) { in build()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextTypeParameterList.kt28 private var typeParameters: List<TypeParameterItem>? = null
29 private var typeParameterNames: List<String>? = null
33 override fun typeParameterNames(): List<String> { in toString()
46 override fun typeParameters(): List<TypeParameterItem> { in typeParameters()
61 fun typeParameterStrings(typeString: String?): List<String> { in typeParameterStrings()
DTextMethodItem.kt83 override fun superMethods(): List<MethodItem> { in isConstructor()
173 private var throwsClasses: List<ClassItem>? = null
175 fun throwsTypeNames(): List<String> { in throwsTypeNames()
179 …override fun throwsTypes(): List<ClassItem> = if (throwsClasses == null) emptyList() else throwsCl… in throwsTypes()
181 fun setThrowsList(throwsClasses: List<TextClassItem>) { in throwsTypes()
185 override fun parameters(): List<ParameterItem> = parameters in parameters()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DV2SourceStampSigner.java42 import java.util.List;
74 List<Pair<Integer, byte[]>> signatureSchemeDigests = new ArrayList<>(); in generateSourceStampBlock()
140 List<Pair<Integer, byte[]>> signatureSchemeDigests) in getSignedDigestsFor()
148 List<Pair<Integer, byte[]>> digests = new ArrayList<>(); in getSignedDigestsFor()
165 List<Pair<Integer, byte[]>> signedDigest = in getSignedDigestsFor()
214 public List<Pair<Integer, byte[]>> signedDigests;
217 public List<Pair<Integer, byte[]>> signedStampAttributes;
/tools/apksig/src/apksigner/java/com/android/apksigner/
DSignerParams.java44 import java.util.List;
70 private List<X509Certificate> certs;
146 public List<X509Certificate> getCerts() { in getCerts()
236 List<char[]> keystorePasswords; in loadPrivateKeyAndCertsFromKeyStore()
292 List<char[]> keyPasswords = in loadPrivateKeyAndCertsFromKeyStore()
306 List<char[]> keyPasswords = in loadPrivateKeyAndCertsFromKeyStore()
355 private static void loadKeyStoreFromFile(KeyStore ks, String file, List<char[]> passwords) in loadKeyStoreFromFile()
379 private static Key getKeyStoreKey(KeyStore ks, String keyAlias, List<char[]> passwords) in getKeyStoreKey()
417 List<char[]> keyPasswords = in loadPrivateKeyAndCertsFromFiles()
447 List<X509Certificate> certList = new ArrayList<>(certs.size()); in loadPrivateKeyAndCertsFromFiles()
[all …]
/tools/external_updater/
Dgit_utils.py20 from typing import Dict, List, Tuple
25 def _run(cmd: List[str], cwd: Path) -> str:
30 def fetch(proj_path: Path, remote_names: List[str]) -> None:
80 base_branch: str) -> List[str]:
96 def list_remote_branches(proj_path: Path, remote_name: str) -> List[str]:
107 def list_remote_tags(proj_path: Path, remote_name: str) -> List[str]:
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DInclusiveIntRange.java21 import java.util.List;
51 public List<InclusiveIntRange> getValuesNotIn( in getValuesNotIn()
52 List<InclusiveIntRange> sortedNonOverlappingRanges) { in getValuesNotIn()
58 List<InclusiveIntRange> result = null; in getValuesNotIn()

1234567