Home
last modified time | relevance | path

Searched refs:Integer (Results 1 – 25 of 124) sorted by relevance

12345

/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAuthorizationList.java128 private static final ImmutableMap<Integer, String> paddingMap = ImmutableMap
129 .<Integer, String> builder()
138 private static final ImmutableMap<Integer, String> digestMap = ImmutableMap
139 .<Integer, String> builder()
150 private static final ImmutableMap<Integer, String> purposeMap = ImmutableMap
151 .<Integer, String> builder()
158 private Set<Integer> purposes;
159 private Integer algorithm;
160 private Integer keySize;
161 private Set<Integer> digests;
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DV2SourceStampSigner.java65 public static Pair<byte[], Integer> generateSourceStampBlock( in generateSourceStampBlock()
67 Map<Integer, Map<ContentDigestAlgorithm, byte[]>> signatureSchemeDigestInfos) in generateSourceStampBlock() argument
74 List<Pair<Integer, byte[]>> signatureSchemeDigests = new ArrayList<>(); in generateSourceStampBlock()
138 Map<Integer, Map<ContentDigestAlgorithm, byte[]>> signatureSchemeDigestInfos, in getSignedDigestsFor() argument
140 List<Pair<Integer, byte[]>> signatureSchemeDigests) in getSignedDigestsFor() argument
148 List<Pair<Integer, byte[]>> digests = new ArrayList<>(); in getSignedDigestsFor()
165 List<Pair<Integer, byte[]>> signedDigest = in getSignedDigestsFor()
180 private static byte[] encodeStampAttributes(Map<Integer, byte[]> stampAttributes) { in encodeStampAttributes() argument
194 for (Map.Entry<Integer, byte[]> stampAttribute : stampAttributes.entrySet()) { in encodeStampAttributes()
203 private static Map<Integer, byte[]> generateStampAttributes(SigningCertificateLineage lineage) { in generateStampAttributes()
[all …]
DV2SourceStampVerifier.java74 Map<Integer, Map<ContentDigestAlgorithm, byte[]>> signatureSchemeApkContentDigests, in verify() argument
103 Map<Integer, Map<ContentDigestAlgorithm, byte[]>> signatureSchemeApkContentDigests, in verify() argument
130 private static Map<Integer, byte[]> getSignatureSchemeDigests( in getSignatureSchemeDigests() argument
131 Map<Integer, Map<ContentDigestAlgorithm, byte[]>> signatureSchemeApkContentDigests) { in getSignatureSchemeDigests()
132 Map<Integer, byte[]> digests = new HashMap<>(); in getSignatureSchemeDigests()
133 for (Map.Entry<Integer, Map<ContentDigestAlgorithm, byte[]>> in getSignatureSchemeDigests()
135 List<Pair<Integer, byte[]>> apkDigests = in getSignatureSchemeDigests()
144 private static List<Pair<Integer, byte[]>> getApkDigests( in getApkDigests()
146 List<Pair<Integer, byte[]>> digests = new ArrayList<>(); in getApkDigests()
151 Collections.sort(digests, new Comparator<Pair<Integer, byte[]>>() { in getApkDigests()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java91 Map<Integer, String> supportedApkSigSchemeNames, in verify() argument
92 Set<Integer> foundSigSchemeIds, in verify()
138 Map<Integer, String> supportedApkSigSchemeNames, in verify() argument
139 Set<Integer> foundSigSchemeIds, in verify()
178 Map<Integer, String> supportedApkSigSchemeNames, in parseSigners() argument
179 Set<Integer> foundApkSigSchemeIds, in parseSigners()
244 Map<Integer, String> supportedApkSigSchemeNames, in parseSigner() argument
245 Set<Integer> foundApkSigSchemeIds, in parseSigner()
403 List<Integer> sigAlgsFromSignaturesRecord = new ArrayList<>(result.signatures.size()); in parseSigner()
407 List<Integer> sigAlgsFromDigestsRecord = new ArrayList<>(result.contentDigests.size()); in parseSigner()
[all …]
/tools/dexter/testdata/expected/
Dentry_hooks.asm37 15| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
90 15| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
146 23| invoke-static {v6}, java.lang.Integer.valueOf(int):java.lang.Integer
312 method Target.foo(int, java.lang.String[][]):java.lang.Integer
326 4| invoke-static {v3}, java.lang.Integer.valueOf(int):java.lang.Integer
414 22| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
447 13| invoke-static {v6}, java.lang.Integer.valueOf(int):java.lang.Integer
493 30| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
Dentry_hooks.rewrite37 15| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
90 15| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
146 23| invoke-static {v6}, java.lang.Integer.valueOf(int):java.lang.Integer
312 method Target.foo(int, java.lang.String[][]):java.lang.Integer
326 4| invoke-static {v3}, java.lang.Integer.valueOf(int):java.lang.Integer
414 22| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
447 13| invoke-static {v6}, java.lang.Integer.valueOf(int):java.lang.Integer
493 30| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
Dentry_hooks.entry_hook39 18| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
94 18| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
152 26| invoke-static {v6}, java.lang.Integer.valueOf(int):java.lang.Integer
324 method Target.foo(int, java.lang.String[][]):java.lang.Integer
339 7| invoke-static {v3}, java.lang.Integer.valueOf(int):java.lang.Integer
431 25| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
465 16| invoke-static {v6}, java.lang.Integer.valueOf(int):java.lang.Integer
512 33| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
Dentry_hooks.compact_cfg40 15| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
97 15| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
157 23| invoke-static {v6}, java.lang.Integer.valueOf(int):java.lang.Integer
342 method Target.foo(int, java.lang.String[][]):java.lang.Integer
357 4| invoke-static {v3}, java.lang.Integer.valueOf(int):java.lang.Integer
453 22| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
488 13| invoke-static {v6}, java.lang.Integer.valueOf(int):java.lang.Integer
536 30| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
Dentry_hooks.verbose_cfg48 15| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
121 15| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
205 23| invoke-static {v6}, java.lang.Integer.valueOf(int):java.lang.Integer
420 method Target.foo(int, java.lang.String[][]):java.lang.Integer
435 4| invoke-static {v3}, java.lang.Integer.valueOf(int):java.lang.Integer
563 22| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
612 13| invoke-static {v6}, java.lang.Integer.valueOf(int):java.lang.Integer
678 30| invoke-static {v8}, java.lang.Integer.valueOf(int):java.lang.Integer
Dentry_hooks.scratch_regs49 42| invoke-static {v9}, java.lang.Integer.valueOf(int):java.lang.Integer
114 42| invoke-static {v9}, java.lang.Integer.valueOf(int):java.lang.Integer
176 32| invoke-static {v11}, java.lang.Integer.valueOf(int):java.lang.Integer
387 method Target.foo(int, java.lang.String[][]):java.lang.Integer
410 31| invoke-static {v10}, java.lang.Integer.valueOf(int):java.lang.Integer
516 49| invoke-static {v9}, java.lang.Integer.valueOf(int):java.lang.Integer
552 22| invoke-static {v11}, java.lang.Integer.valueOf(int):java.lang.Integer
607 57| invoke-static {v9}, java.lang.Integer.valueOf(int):java.lang.Integer
Dmi.array_entry_hook57 17| invoke-static/range {v4..v4}, java.lang.Integer.valueOf(int):java.lang.Integer
80 method Target.foo(int, java.lang.String[][]):java.lang.Integer
89 5| const-string v2, "Target->foo(I[[Ljava/lang/String;)Ljava/lang/Integer;"
94 17| invoke-static/range {v4..v4}, java.lang.Integer.valueOf(int):java.lang.Integer
/tools/platform-compat/java/android/processor/compat/changeid/
DChange.java27 final Integer enabledAfter;
28 final Integer enabledSince;
48 Change(Long id, String name, boolean disabled, boolean loggingOnly, Integer enabledAfter, in Change()
49 Integer enabledSince, String description, boolean overridable, String javaPackage, in Change()
71 Integer enabledAfter;
72 Integer enabledSince;
/tools/apksig/src/test/java/com/android/apksig/internal/asn1/
DAsn1DerEncoderTest.java43 assertEquals("300602047fffffff", encodeToHex(new SequenceWithInteger(Integer.MAX_VALUE))); in testInteger()
44 assertEquals("3006020480000000", encodeToHex(new SequenceWithInteger(Integer.MIN_VALUE))); in testInteger()
206 Integer.MIN_VALUE))), in testUnencodedContainer()
210 Integer.MAX_VALUE))))))); in testUnencodedContainer()
270 public Integer num;
275 public Choice(Integer num, String oid) { in Choice()
292 public List<Integer> values;
294 public static SetOfIntegers of(Integer... values) { in of()
DAsn1BerParserTest.java328 public Integer n3;
346 public Integer f1;
350 public Integer f2;
353 public Integer f3;
359 public Integer f1;
363 public Integer f2;
366 public Integer f3;
375 public Integer num;
396 public Integer n2;
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtilsLite.java104 if ((lenLong < 4) || (lenLong > Integer.MAX_VALUE)) { in findApkSignatureSchemeBlock()
178 Map<Integer, T> in getSignaturesToVerify()
180 int minProvidedSignaturesVersion = Integer.MAX_VALUE; in getSignaturesToVerify()
213 (sig1, sig2) -> Integer.compare(sig1.algorithm.getId(), sig2.algorithm.getId())); in getSignaturesToVerify()
377 List<Pair<Integer, byte[]>> sequence) { in encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes() argument
379 for (Pair<Integer, byte[]> element : sequence) { in encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes()
384 for (Pair<Integer, byte[]> element : sequence) { in encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes()
DApkSigningBlockUtils.java303 if (chunkCountLong > Integer.MAX_VALUE) { in computeOneMbChunkContentDigests()
397 if (chunkCountLong > Integer.MAX_VALUE) { in computeOneMbChunkContentDigests()
527 if (chunkCount > Integer.MAX_VALUE) { in ChunkSupplier()
772 List<Pair<Integer, byte[]>> sequence) { in encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes() argument
807 public static Pair<DataSource, Integer> generateApkSigningBlockPadding( in generateApkSigningBlockPadding()
842 List<Pair<byte[], Integer>> apkSignatureSchemeBlockPairs) { in generateApkSigningBlock()
854 for (Pair<byte[], Integer> schemeBlockPair : apkSignatureSchemeBlockPairs) { in generateApkSigningBlock()
883 for (Pair<byte[], Integer> schemeBlockPair : apkSignatureSchemeBlockPairs) { in generateApkSigningBlock()
909 public static List<Pair<byte[], Integer>> getApkSignatureBlocks( in getApkSignatureBlocks()
921 if (apkSigningBlock.size() > Integer.MAX_VALUE || apkSigningBlockSize < 32) { in getApkSignatureBlocks()
[all …]
DAndroidBinXmlParser.java474 return Integer.toString(mValueData); in getStringValue()
476 return "0x" + Integer.toHexString(mValueData); in getStringValue()
480 return "@" + Integer.toHexString(mValueData); in getStringValue()
580 private final Map<Integer, String> mCachedStrings = new HashMap<>();
597 if (stringCount > Integer.MAX_VALUE) { in StringPool()
602 if (styleCount > Integer.MAX_VALUE) { in StringPool()
681 if (lengthChars > Integer.MAX_VALUE / 2) { in getLengthPrefixedUtf16EncodedString()
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java84 private static final Map<Integer, String> SUPPORTED_APK_SIG_SCHEME_NAMES =
87 private static Map<Integer, String> loadSupportedApkSigSchemeNames() { in loadSupportedApkSigSchemeNames()
88 Map<Integer, String> supportedMap = new HashMap<>(2); in loadSupportedApkSigSchemeNames()
100 private final Integer mMinSdkVersion;
107 Integer minSdkVersion, in ApkVerifier()
184 Map<Integer, Map<ContentDigestAlgorithm, byte[]>> signatureSchemeApkContentDigests = in verify()
196 Map<Integer, String> supportedSchemeNames = getSupportedSchemeNames(maxSdkVersion); in verify()
201 Set<Integer> foundApkSigSchemeIds = new HashSet<>(2); in verify()
603 private static Map<Integer, String> getSupportedSchemeNames(int maxSdkVersion) { in getSupportedSchemeNames()
604 Map<Integer, String> supportedSchemeNames; in getSupportedSchemeNames()
[all …]
DDefaultApkSignerEngine.java109 private List<Pair<byte[], Integer>> mPreservedSignatureBlocks = Collections.emptyList();
170 private static final Set<Integer> DISCARDED_SIGNATURE_BLOCK_IDS;
246 Map<String, Integer> v1SignerNameToSignerIndex = new HashMap<>(signerConfigs.size()); in createV1SignerConfigs()
255 Integer indexOfOtherSignerWithSameName = v1SignerNameToSignerIndex.put(v1SignerName, i); in createV1SignerConfigs()
337 int currentMinSdk = Integer.MAX_VALUE; in processV3Configs()
354 config.maxSdkVersion = Integer.MAX_VALUE; in processV3Configs()
417 int min = Integer.MAX_VALUE; in getMinSdkFromV3SignatureAlgorithms()
537 entry.getValue(), "-Digest", mMinSdkVersion, Integer.MAX_VALUE); in initWith()
569 List<Pair<byte[], Integer>> signatureBlocks = in inputApkSigningBlock()
571 for (Pair<byte[], Integer> signatureBlock : signatureBlocks) { in inputApkSigningBlock()
[all …]
/tools/carrier_settings/java/
DCarrierConfigConverterV2.java146 Multimap<Integer, CarrierId> aospCarrierList = loadAospCarrierList(); in convert()
147 Multimap<CarrierId, Integer> reverseAospCarrierList = reverseAospCarrierList(aospCarrierList); in convert()
182 cid = Integer.parseInt(cidAndCarrierName.split("_", -1)[0]); in convert()
218 int cid = Integer.parseInt(xml.getKey().substring(KEY_CID_PREFIX.length())); in convert()
231 int cid = Integer.parseInt(cidAsString); in convert()
385 private static Multimap<Integer, CarrierId> loadAospCarrierList() throws IOException { in loadAospCarrierList()
443 private static Multimap<CarrierId, Integer> reverseAospCarrierList( in reverseAospCarrierList()
444 Multimap<Integer, CarrierId> aospCarrierList) { in reverseAospCarrierList() argument
603 int value = Integer.parseInt(eElement.getAttribute("value")); in parseCarrierConfigToMap()
674 int value = Integer.parseInt(subElement.getAttribute("value")); in parseCarrierConfigToMap()
[all …]
/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/
DHistogramTest.java41 Map<Long, Integer> counts = histogram.getCounts(); in testSimple()
65 Map<Long, Integer> counts = histogram.getCounts(); in testCutoff()
81 Map<Long, Integer> counts = histogram.getCounts(); in testPlotCutoff()
102 Map<Long, Integer> counts = histogram.getCounts(); in testBuckets()
120 Map<Long, Integer> counts = histogram.getCounts(); in testEvenBucketSize()
/tools/apksig/src/main/java/com/android/apksig/apk/
DApkUtils.java301 private static final Pair<Character, Integer>[] SORTED_CODENAMES_FIRST_CHAR_TO_API_LEVEL =
318 private static final Comparator<Pair<Character, Integer>> CODENAME_FIRST_CHAR_COMPARATOR =
321 private static class ByFirstComparator implements Comparator<Pair<Character, Integer>> {
323 public int compare(Pair<Character, Integer> o1, Pair<Character, Integer> o2) { in compare()
349 Pair<Character, Integer>[] sortedCodenamesFirstCharToApiLevel = in getMinSdkVersionForCodename()
370 Pair<Character, Integer> newestOlderCodenameMapping = in getMinSdkVersionForCodename()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java106 Map<Integer, String> supportedApkSigSchemeNames, in verify() argument
107 Set<Integer> foundApkSigSchemeIds, in verify()
216 Map<Integer, String> supportedApkSigSchemeNames, in verify() argument
217 Set<Integer> foundApkSigSchemeIds, in verify()
625 } else if (range.getMax() == Integer.MAX_VALUE) { in verifySignerInfoAgainstSigFile()
805 Map<Integer, String> supportedApkSigSchemeNames, in verifySigFileAgainstManifest() argument
806 Set<Integer> foundApkSigSchemeIds, in verifySigFileAgainstManifest()
1046 Map<Integer, String> supportedApkSigSchemeNames, in checkForStrippedApkSignatures() argument
1047 Set<Integer> foundApkSigSchemeIds) { in checkForStrippedApkSignatures()
1070 Set<Integer> supportedApkSigSchemeIds = supportedApkSigSchemeNames.keySet(); in checkForStrippedApkSignatures()
[all …]
/tools/platform-compat/java/com/android/class2nonsdklist/
DUnsupportedAppUsageAnnotationHandler.java46 private static final Integer SDK_VERSION_R = 30;
50 private final Map<Integer, String> mSdkVersionToFlagMap;
79 Map<Integer, String> sdkVersionToFlagMap) { in UnsupportedAppUsageAnnotationHandler() argument
89 Map<Integer, String> sdkVersionToFlagMap) { in UnsupportedAppUsageAnnotationHandler() argument
111 Integer maxTargetSdk = null; in handleAnnotation()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4SchemeSigner.java134 final Pair<Integer, Byte> hashingAlgorithmBlockSizePair = convertToV4HashingInfo( in generateV4Signature()
178 final List<Pair<Integer, byte[]>> signatures = in generateSignature()
256 final Set<Integer> foundApkSigSchemeIds = new HashSet<>(1); in getBestV2Digest()
269 Integer.MAX_VALUE, in getBestV2Digest()
270 Integer.MAX_VALUE, in getBestV2Digest()
344 private static Pair<Integer, Byte> convertToV4HashingInfo(ContentDigestAlgorithm algorithm) in convertToV4HashingInfo()

12345