Home
last modified time | relevance | path

Searched refs:put (Results 1 – 25 of 98) sorted by relevance

1234

/tools/apksig/src/main/java/com/android/apksig/internal/oid/
DOidConstants.java378 SUPPORTED_SIG_ALG_OIDS.put( in addSupportedSigAlg()
396 OID_TO_USER_FRIENDLY_NAME.put(OID_DIGEST_MD5, "MD5"); in OID_TO_USER_FRIENDLY_NAME.put()
397 OID_TO_USER_FRIENDLY_NAME.put(OID_DIGEST_SHA1, "SHA-1"); in OID_TO_USER_FRIENDLY_NAME.put()
398 OID_TO_USER_FRIENDLY_NAME.put(OID_DIGEST_SHA224, "SHA-224"); in OID_TO_USER_FRIENDLY_NAME.put()
399 OID_TO_USER_FRIENDLY_NAME.put(OID_DIGEST_SHA256, "SHA-256"); in OID_TO_USER_FRIENDLY_NAME.put()
400 OID_TO_USER_FRIENDLY_NAME.put(OID_DIGEST_SHA384, "SHA-384"); in OID_TO_USER_FRIENDLY_NAME.put()
401 OID_TO_USER_FRIENDLY_NAME.put(OID_DIGEST_SHA512, "SHA-512"); in OID_TO_USER_FRIENDLY_NAME.put()
403 OID_TO_USER_FRIENDLY_NAME.put(OID_SIG_RSA, "RSA"); in OID_TO_USER_FRIENDLY_NAME.put()
404 OID_TO_USER_FRIENDLY_NAME.put(OID_SIG_MD5_WITH_RSA, "MD5 with RSA"); in OID_TO_USER_FRIENDLY_NAME.put()
405 OID_TO_USER_FRIENDLY_NAME.put(OID_SIG_SHA1_WITH_RSA, "SHA-1 with RSA"); in OID_TO_USER_FRIENDLY_NAME.put()
[all …]
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java89 supportedMap.put( in loadSupportedApkSigSchemeNames()
91 supportedMap.put( in loadSupportedApkSigSchemeNames()
216 signatureSchemeApkContentDigests.put( in verify()
244 signatureSchemeApkContentDigests.put( in verify()
302 signatureSchemeApkContentDigests.put( in verify()
609 supportedSchemeNames.put(ApkSigningBlockUtils.VERSION_APK_SIGNATURE_SCHEME_V2, in getSupportedSchemeNames()
774 signatureSchemeApkContentDigests.put(VERSION_JAR_SIGNATURE_SCHEME, in verifySourceStamp()
890 apkContentDigests.put(signatureAlgorithm.getContentDigestAlgorithm(), in getApkContentDigests()
894 sigSchemeApkContentDigests.put(apkSigSchemeVersion, apkContentDigests); in getApkContentDigests()
951 v1ContentDigest.put( in getApkContentDigestFromV1SigningScheme()
[all …]
DDefaultApkSignerEngine.java255 Integer indexOfOtherSignerWithSameName = v1SignerNameToSignerIndex.put(v1SignerName, i); in createV1SignerConfigs()
545 mOutputJarEntryDigests.put(entryName, extractedDigest.digest); in initWith()
714 mOutputJarEntryDigestRequests.put(entryName, dataDigestRequest); in outputJarEntry()
747 mOutputSignatureJarEntryDataRequests.put(entryName, dataRequest); in outputJarEntry()
809 mOutputJarEntryDigests.put(entryName, digestRequest.getDigest()); in outputJarEntries()
816 mOutputJarEntryDigests.put( in outputJarEntries()
923 mEmittedSignatureJarEntryData.put(entryName, entryData); in outputJarEntries()
1011 signatureSchemeDigestInfos.put( in outputZipSectionsInternal()
1015 signatureSchemeDigestInfos.put( in outputZipSectionsInternal()
1036 v1SigningSchemeDigests.put( in outputZipSectionsInternal()
[all …]
/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/
DHistogramTest.java68 .put(Long.MIN_VALUE, 1) in testCutoff()
69 .put(-1L, 1) in testCutoff()
70 .put(0L, 1) in testCutoff()
71 .put(1L, 1) in testCutoff()
72 .put(Long.MAX_VALUE, 1).build(), in testCutoff()
123 .put(Long.MIN_VALUE, 1) in testEvenBucketSize()
124 .put(-1L, 2) in testEvenBucketSize()
125 .put(1L, 2) in testEvenBucketSize()
126 .put(3L, 2) in testEvenBucketSize()
127 .put(5L,1) in testEvenBucketSize()
[all …]
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFsInfoSector.java146 buffer.put((byte) 0x52); in init()
147 buffer.put((byte) 0x52); in init()
148 buffer.put((byte) 0x61); in init()
149 buffer.put((byte) 0x41); in init()
154 buffer.put((byte) 0x72); in init()
155 buffer.put((byte) 0x72); in init()
156 buffer.put((byte) 0x41); in init()
157 buffer.put((byte) 0x61); in init()
163 buffer.put((byte) 0x55); in init()
164 buffer.put((byte) 0xaa); in init()
DFatLfnDirectory.java98 entryToFile.put(entry, file); in getFile()
110 entryToDirectory.put(entry, result); in getDirectory()
141 shortNameIndex.put(sn, entry); in addFile()
142 longNameIndex.put(name.toLowerCase(), entry); in addFile()
206 shortNameIndex.put(sn, e); in addDirectory()
207 longNameIndex.put(name.toLowerCase(), e); in addDirectory()
275 shortNameIndex.put(current.realEntry.getShortName(), current); in parseLfn()
276 longNameIndex.put(current.getName().toLowerCase(), current); in parseLfn()
408 this.longNameIndex.put(entry.getName().toLowerCase(), entry); in linkEntry()
409 this.shortNameIndex.put(entry.realEntry.getShortName(), entry); in linkEntry()
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAuthorizationList.java130 .put(KM_PAD_NONE, "NONE")
131 .put(KM_PAD_RSA_OAEP, "OAEP")
132 .put(KM_PAD_RSA_PSS, "PSS")
133 .put(KM_PAD_RSA_PKCS1_1_5_ENCRYPT, "PKCS1 ENCRYPT")
134 .put(KM_PAD_RSA_PKCS1_1_5_SIGN, "PKCS1 SIGN")
140 .put(KM_DIGEST_NONE, "NONE")
141 .put(KM_DIGEST_MD5, "MD5")
142 .put(KM_DIGEST_SHA1, "SHA1")
143 .put(KM_DIGEST_SHA_2_224, "SHA224")
144 .put(KM_DIGEST_SHA_2_256, "SHA256")
[all …]
/tools/platform-compat/java/android/processor/compat/unsupportedappusage/
DSignatureConverter.java47 .put(TypeKind.BOOLEAN, "Z")
48 .put(TypeKind.BYTE, "B")
49 .put(TypeKind.CHAR, "C")
50 .put(TypeKind.DOUBLE, "D")
51 .put(TypeKind.FLOAT, "F")
52 .put(TypeKind.INT, "I")
53 .put(TypeKind.LONG, "J")
54 .put(TypeKind.SHORT, "S")
55 .put(TypeKind.VOID, "V")
/tools/platform-compat/java/com/android/class2nonsdklist/
DClass2NonSdkList.java69 map.put(null, FLAG_UNSUPPORTED); in map.put()
70 map.put(0, FLAG_BLOCKED);
71 map.put(26, FLAG_MAX_TARGET_O);
72 map.put(28, FLAG_MAX_TARGET_P);
73 map.put(29, FLAG_MAX_TARGET_Q);
74 map.put(30, FLAG_MAX_TARGET_R);
75 map.put(10000, FLAG_UNSUPPORTED); // VMRuntime.SDK_VERSION_CUR_DEVELOPMENT
229 .put(annotationName, handler) in addRepeatedAnnotationHandlers()
230 .put(containerAnnotationName, new RepeatedAnnotationHandler(annotationName, handler)); in addRepeatedAnnotationHandlers()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/
DLittleEndianUtils.java107 output.put((byte) (value & 0xff)); in writeUnsigned4Le()
108 output.put((byte) ((value >> 8) & 0xff)); in writeUnsigned4Le()
109 output.put((byte) ((value >> 16) & 0xff)); in writeUnsigned4Le()
110 output.put((byte) ((value >> 24) & 0xff)); in writeUnsigned4Le()
126 output.put((byte) (value & 0xff)); in writeUnsigned2Le()
127 output.put((byte) ((value >> 8) & 0xff)); in writeUnsigned2Le()
/tools/metalava/src/main/java/com/android/resources/
DResourceType.java145 tagNames.put(SdkConstants.TAG_DECLARE_STYLEABLE, STYLEABLE); in tagNames.put()
146 tagNames.put(SdkConstants.TAG_PUBLIC, PUBLIC); in tagNames.put()
149 classNames.put(STYLEABLE.mName, STYLEABLE); in classNames.put()
150 classNames.put(AAPT.mName, AAPT); in classNames.put()
156 classNames.put(type.getName(), type); in type.getName()
157 tagNames.put(type.getName(), type); in type.getName()
159 tagNames.put(alternateName, type); in tagNames.put()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeSigner.java161 result.put(encodedLineage); in generateV3SignerAttribute()
263 result.put(signedData); in encodeSigner()
266 result.put(signatures); in encodeSigner()
267 result.put(publicKey); in encodeSigner()
299 result.put(digests); in encodeSignedData()
300 result.put(certs); in encodeSignedData()
303 result.put(attributes); in encodeSignedData()
DV3SigningCertificateLineage.java195 encodedWithVersion.put(encodedSigningCertificateLineage); in encodeSigningCertificateLineage()
220 result.put(prefixedSignedData); in encodeSigningCertificateNode()
223 result.put(prefixedSignature); in encodeSigningCertificateNode()
233 result.put(prefixedCertificate); in encodeSignedData()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java188 if (entryNameToManifestSection.put(entryName, manifestSection) != null) { in parseManifest()
237 sigFileEntries.put(entryName, cdRecord); in verify()
1205 UPPER_CASE_JCA_DIGEST_ALG_TO_CANONICAL.put("MD5", "MD5");
1206 UPPER_CASE_JCA_DIGEST_ALG_TO_CANONICAL.put("SHA", "SHA-1");
1207 UPPER_CASE_JCA_DIGEST_ALG_TO_CANONICAL.put("SHA1", "SHA-1");
1208 UPPER_CASE_JCA_DIGEST_ALG_TO_CANONICAL.put("SHA-1", "SHA-1");
1209 UPPER_CASE_JCA_DIGEST_ALG_TO_CANONICAL.put("SHA-256", "SHA-256");
1210 UPPER_CASE_JCA_DIGEST_ALG_TO_CANONICAL.put("SHA-384", "SHA-384");
1211 UPPER_CASE_JCA_DIGEST_ALG_TO_CANONICAL.put("SHA-512", "SHA-512");
1218 MIN_SDK_VESION_FROM_WHICH_DIGEST_SUPPORTED_IN_MANIFEST.put("MD5", 0);
[all …]
DV1SchemeSigner.java356 mainAttrs.put(Attributes.Name.MANIFEST_VERSION, ATTRIBUTE_VALUE_MANIFEST_VERSION); in generateManifestFile()
385 invidualSectionsContents.put(entryName, sectionBytes); in generateManifestFile()
424 mainAttrs.put(Attributes.Name.SIGNATURE_VERSION, ATTRIBUTE_VALUE_SIGNATURE_VERSION); in generateSignatureFile()
425 mainAttrs.put(ATTRIBUTE_NAME_CREATED_BY, createdBy); in generateSignatureFile()
439 mainAttrs.put( in generateSignatureFile()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DByteArrayList.kt41 fun put(b: Byte) { in put() method
47 fun put(buf: ByteArray, offset: Int, length: Int) { in put() method
53 fun put(slice: DataSlice) { in put() method
54 put(slice.buffer, slice.startIndex, slice.length) in put()
/tools/carrier_settings/java/
DCarrierConfigConverterV2.java172 assetsXmls.put(KEY_MCCMNC_PREFIX + mccMnc, parseXmlDoc(fullChildName, xmlDocBuilder)); in convert()
187 assetsXmls.put(KEY_CID_PREFIX + cid, parseXmlDoc(fullChildName, xmlDocBuilder)); in convert()
291 rawConfigs.put(carrier, config); in convert()
309 tier1Configs.put( in convert()
312 tier1Configs.put(cname, ccb.build()); in convert()
318 othersConfigs.put(cname, ccb.build()); in convert()
592 configMap.put(key, CarrierConfig.Config.newBuilder().setBoolValue(value).build()); in parseCarrierConfigToMap()
604 configMap.put(key, CarrierConfig.Config.newBuilder().setIntValue(value).build()); in parseCarrierConfigToMap()
616 configMap.put(key, CarrierConfig.Config.newBuilder().setLongValue(value).build()); in parseCarrierConfigToMap()
631 configMap.put(key, CarrierConfig.Config.newBuilder().setTextValue(value).build()); in parseCarrierConfigToMap()
[all …]
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/
DFtraceImporterState.kt51 pidMap.put(tgid, thread) in <lambda>()
68 pidMap.put(tgid, process.threadFor(tgid, process.name)) in <lambda>()
88 pidMap.put(pid, thread) in <lambda>()
101 cpuMap.put(cid, cpu) in <lambda>()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java149 modifiedEocd.put(eocd); in verifyIntegrity()
225 signerInfo.verifiedContentDigests.put(contentDigestAlgorithm, actualDigest); in verifyIntegrity()
382 outputContentDigests.put(digestAlgorithm, digest); in computeOneMbChunkContentDigests()
413 outputContentDigests.put( in computeOneMbChunkContentDigests()
604 encoded.put(rootHash); in computeApkVerityDigest()
606 outputContentDigests.put(VERITY_CHUNKED_SHA256, encoded.array()); in computeApkVerityDigest()
647 encoded.put(rootHash); in computeChunkVerityTreeAndDigest()
766 result.put(element); in encodeAsSequenceOfLengthPrefixedElements()
889 result.put(apkSignatureSchemeBlock); in generateApkSigningBlock()
893 result.put(paddingPair); in generateApkSigningBlock()
[all …]
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DCentralDirectory.java266 directory.entries.put(cdr.getName(), entry); in makeFromEntries()
390 entries.put(fileName, entry); in readEntry()
479 out.put(encodedFileNames[idx]); in computeByteRepresentation()
480 out.put(extraFields[idx]); in computeByteRepresentation()
481 out.put(comments[idx]); in computeByteRepresentation()
DZFile.java547 entries.put(entry.getCentralDirectoryHeader().getName(), entry); in entries()
555 entries.put(uncompressed.getCentralDirectoryHeader().getName(), uncompressed); in entries()
675 entries.put(entry.getCentralDirectoryHeader().getName(), mapEntry); in readData()
1102 entries.put(name, map.add(newStart, newStart + newSize, storedEntry)); in update()
1128 toWriteToStore.put(entry, entryStore); in update()
1136 toWriteToStore.put(freeArea, null); in update()
1247 entries.put(name, positioned); in reAdd()
1881 entries.put(newEntry.getCentralDirectoryHeader().getName(), fileUseMapEntry); in addToEntries()
2148 entries.put(entry.getCentralDirectoryHeader().getName(), mapEntry); in realign()
2704 entries.put(name, positioned); in sortZipContents()
DExtraField.java209 out.put(rawData); in write()
318 out.put(data); in write()
393 out.put(new byte[padding]); in write()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
Dwifi_datastore_utils.py78 response = requests.put(request,
98 response = requests.put(request,
116 response = requests.put(request,
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/
DProcessModelFragment.kt52 _threads.put(pid, thread) in <lambda>()
70 if (_threads.put(key, value) != null) { in <lambda>()
76 val existing = _counters.put(key, value) in <lambda>()
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Devent_dispatcher.py115 self._event_dict[event_name].put(event_obj)
118 q.put(event_obj)
270 self.get_event_q(event_name).put(ignored_event)
277 self.get_event_q(event_name).put(ignored_event)

1234