Home
last modified time | relevance | path

Searched refs:getName (Results 1 – 25 of 86) sorted by relevance

1234

/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1BerParser.java131 "Unexpected data value read as " + containerClass.getName() in parse()
151 "No fields annotated with " + Asn1Field.class.getName() in parseChoice()
152 + " in CHOICE class " + containerClass.getName()); in parseChoice()
167 + " class and number: " + containerClass.getName() in parseChoice()
168 + "." + f1.getField().getName() in parseChoice()
169 + " and ." + f2.getField().getName()); in parseChoice()
179 throw new Asn1DecodingException("Failed to instantiate " + containerClass.getName(), e); in parseChoice()
192 "No options of CHOICE " + containerClass.getName() + " matched"); in parseChoice()
212 "Fields have the same index: " + containerClass.getName() in parseSequence()
213 + "." + lastField.getField().getName() in parseSequence()
[all …]
DAsn1DerEncoder.java59 containerClass.getName() + " not annotated with " + Asn1Class.class.getName()); in encode()
80 "No fields annotated with " + Asn1Field.class.getName() in toChoice()
81 + " in CHOICE class " + containerClass.getName()); in toChoice()
90 "Multiple non-null fields in CHOICE class " + containerClass.getName() in toChoice()
91 + ": " + resultField.getField().getName() in toChoice()
92 + ", " + field.getField().getName()); in toChoice()
100 "No non-null fields in CHOICE class " + containerClass.getName()); in toChoice()
122 "Fields have the same index: " + containerClass.getName() in toSequence()
123 + "." + lastField.getField().getName() in toSequence()
124 + " and ." + field.getField().getName()); in toSequence()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java149 String entryName = cdRecord.getName(); in checkForDuplicateEntries()
183 String entryName = manifestSection.getName(); in parseManifest()
227 String entryName = cdRecord.getName(); in verify()
258 throw new ApkFormatException("Malformed ZIP entry: " + manifestEntry.getName(), e); in verify()
278 String sigBlockEntryName = sigBlockEntry.getName(); in verify()
296 signerName, sigBlockEntryName, sigFileEntry.getName()); in verify()
385 signatureEntryNames.add(manifestEntry.getName()); in verify()
391 String entryName = cdRecord.getName(); in verify()
433 public String getName() { in getName() method in V1SchemeVerifier.Signer
438 return mSignatureFileEntry.getName(); in getSignatureFileEntryName()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiClass.java60 …bstring(0, name.length() - ")Ljava/lang/AbstractStringBuilder;".length()) + ")L" + getName() + ";"; in addMethod()
133 if (element.getName().equals(name)) { in findByName()
170 ApiClass cls = allClasses.get(superClass.getName()); in removeImplicitInterfaces()
183 if (interfaceElement.getName().equals(localInterface.getName())) { in implementsInterface()
187 ApiClass cls = allClasses.get(localInterface.getName()); in implementsInterface()
196 ApiClass cls = allClasses.get(superClass.getName()); in implementsInterface()
214 … if (!method.getName().startsWith("<init>(") && isOverrideOfInherited(method, allClasses)) { in removeOverridingMethods()
229 String name = method.getName(); in isOverride()
247 ApiClass cls = allClasses.get(parent.getName()); in isOverrideOfInherited()
259 return getName(); in toString()
[all …]
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAsn1Utils.java51 "Integer value expected, " + asn1Value.getClass().getName() + " found."); in getIntegerFromAsn1()
60 "Integer value expected, " + asn1Value.getClass().getName() + " found."); in getLongFromAsn1()
96 "Expected octet stream, found " + asn1Primitive.getClass().getName()); in getAsn1SequenceFromStream()
103 "Expected sequence, found " + asn1Primitive.getClass().getName()); in getAsn1SequenceFromStream()
113 "Expected set, found " + set.getClass().getName()); in getIntegersFromAsn1Set()
127 "Expected octet string, found " + encodable.getClass().getName()); in getStringFromAsn1OctetStreamAssumingUTF8()
142 "Expected boolean, found " + value.getClass().getName()); in getBooleanFromAsn1()
DAttestationApplicationId.java74 + asn1Encodable.getClass().getName()); in AttestationApplicationId()
143 + asn1Encodable.getClass().getName()); in parseAttestationPackageInfos()
158 + asn1Encodable.getClass().getName()); in parseSignatures()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZFile.java547 entries.put(entry.getCentralDirectoryHeader().getName(), entry); in entries()
555 entries.put(uncompressed.getCentralDirectoryHeader().getName(), uncompressed); in entries()
574 if (stillUncompressed.getCentralDirectoryHeader().getName().equals(path)) { in get()
651 e.getCentralDirectoryHeader().getName(), in readData() argument
675 entries.put(entry.getCentralDirectoryHeader().getName(), mapEntry); in readData()
952 String path = entry.getCentralDirectoryHeader().getName(); in delete()
1063 String name = storedEntry.getCentralDirectoryHeader().getName(); in update()
1237 String name = entry.getCentralDirectoryHeader().getName(); in reAdd()
1869 newEntry.getCentralDirectoryHeader().getName()); in addToEntries()
1881 entries.put(newEntry.getCentralDirectoryHeader().getName(), fileUseMapEntry); in addToEntries()
[all …]
DStoredEntry.java70 String name1 = o1.getCentralDirectoryHeader().getName();
71 String name2 = o2.getCentralDirectoryHeader().getName();
258 if (cdh.getName().endsWith(Character.toString(ZFile.SEPARATOR))) { in StoredEntry()
360 "Buffer to small while reading {}" + getCentralDirectoryHeader().getName()); in read()
474 if (!fileName.equals(cdh.getName())) { in readLocalHeader()
479 cdh.getName(), in readLocalHeader()
503 + cdh.getName().length() + localExtra.size() + compressInfo.getCompressedSize(); in readDataDescriptorRecord()
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java285 signerConfig.getName(), in sign()
306 mSourceStampSignerConfig.getName(), in sign()
341 String entryName = inputCdRecord.getName(); in sign()
387 throw new ApkFormatException("Malformed ZIP entry: " + inputCdRecord.getName(), e); in sign()
432 if (pinPattern.matcher(inputCdRecord.getName()).matches()) { in sign()
476 String entryName = inputCdRecord.getName(); in sign()
544 String entryName = entry.getName(); in sign()
675 throw new ApkFormatException("Malformed ZIP entry: " + localFileRecord.getName(), e); in fulfillInspectInputJarEntryRequest()
779 return (entry.getName().endsWith(".so")) ? ANDROID_COMMON_PAGE_ALIGNMENT_BYTES : 4; in getInputJarEntryDataAlignmentMultiple()
875 String entryName = cdRecord.getName(); in parseZipCentralDirectory()
[all …]
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFatLfnDirectory.java273 checkUniqueName(current.getName()); in parseLfn()
276 longNameIndex.put(current.getName().toLowerCase(), current); in parseLfn()
380 final String lowerName = entry.getName().toLowerCase(); in unlinkEntry()
403 checkUniqueName(entry.getName()); in linkEntry()
405 name = this.dbg.generate83BufferNew(entry.getName()); in linkEntry()
408 this.longNameIndex.put(entry.getName().toLowerCase(), entry); in linkEntry()
/tools/apksig/src/apksigner/java/com/android/apksigner/
DApkSignerTool.java408 "Failed to load signer \"" + signer.getName() + "\": " + e.getMessage()); in getSignerConfig()
412 System.err.println("Failed to load signer \"" + signer.getName() + "\""); in getSignerConfig()
423 String keyFileName = new File(signer.getKeyFile()).getName(); in getSignerConfig()
604 String signerName = signer.getName(); in verify()
855 + signerParams.getName() in lineage()
862 "Updated signer capabilities for " + signerParams.getName() in lineage()
868 "The signer " + signerParams.getName() in lineage()
1101 + Provider.class.getName()); in installProvider()
1145 String keyFileName = new File(params.getKeyFile()).getName(); in loadPrivateKeyAndCerts()
1155 + params.getName()); in loadPrivateKeyAndCerts()
[all …]
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DSigningExtension.java169 String entryName = entry.getCentralDirectoryHeader().getName(); in register()
246 String entryName = entry.getCentralDirectoryHeader().getName(); in onZipEntryOutput()
278 String entryName = entry.getCentralDirectoryHeader().getName(); in onOutputZipReadyForUpdate()
312 String name = entry.getName(); in onOutputZipReadyForUpdate()
325 String name = entry.getName(); in onOutputZipReadyForUpdate()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/
DFsDirectoryEntry.java44 return e1.getName().compareTo(e2.getName());
57 public String getName(); in getName() method
/tools/metalava/src/main/java/com/android/resources/
DResourceType.java156 classNames.put(type.getName(), type); in type.getName()
157 tagNames.put(type.getName(), type); in type.getName()
174 public String getName() { in getName() method in ResourceType
293 return getName(); in toString()
/tools/apksig/src/main/java/com/android/apksig/internal/jar/
DManifestParser.java273 public String getName() { in getName() method in ManifestParser.Attribute
307 if ("Name".equalsIgnoreCase(firstAttr.getName())) { in Section()
315 public String getName() { in getName() method in ManifestParser.Section
356 if (attr.getName().equalsIgnoreCase(name)) { in getAttributeValue()
/tools/apksig/src/main/java/com/android/apksig/apk/
DApkUtils.java170 if (ANDROID_MANIFEST_ZIP_ENTRY_NAME.equals(cdRecord.getName())) { in getAndroidManifest()
252 && ("uses-sdk".equals(parser.getName())) in getMinSdkVersionFromBinaryAndroidManifest()
408 && ("application".equals(parser.getName())) in getDebuggableFromBinaryAndroidManifest()
483 && ("manifest".equals(parser.getName())) in getPackageNameFromBinaryAndroidManifest()
625 && (elementName.equals(parser.getName()))) { in getAttributeValueFromBinaryAndroidManifest()
/tools/platform-compat/java/com/android/annotationvisitor/
DJarReader.java46 mStatus.debug("Reading %s from %s", e.getName(), mFileName); in openZipEntry()
47 return new ClassParser(mZipFile.getInputStream(e), e.getName()).parse(); in openZipEntry()
57 .filter(zipEntry -> zipEntry.getName().endsWith(".class")) in stream()
DAnnotatedMemberContext.java45 getClassDescriptor(), member.getName(), member.getSignature()); in getMemberDescriptor()
52 definingClass.getClassName(), member.getName()) in buildReportString()
/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/
DGameCoreConfiguration.java46 .map(CertificationRequirements::getName) in validateConfiguration()
51 .map(ApkInfo::getName) in validateConfiguration()
77 .filter((it) -> it.getName().equals(name)) in findCertificationRequirements()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/
DPerformanceTest.java93 public String getName() { in getName() method in PerformanceTest.Test
159 CLog.i("Installing %s on %s.", apkFile.getName(), mDevice.getSerialNumber()); in setUp()
183 "run[" + mApk.getName() + "]", in run()
196 String.format("screenshot-%s", mApk.getName()), in testScreenshot()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/testtype/
DGameQualificationHostsideController.java257 mGameCoreConfiguration.findCertificationRequirements(apk.getName())); in run()
260 … TestDescription identifier = new TestDescription(CLASS, t.getName() + "[" + apk.getName() + "]"); in run()
267 mGameCoreConfiguration.findCertificationRequirements(apk.getName()); in run()
/tools/test/graphicsbenchmark/performance_tests/helper/test/com/android/game/qualification/
DGameCoreConfigurationXmlParserTest.java68 assertEquals("foo", apk.getName()); in testSingleApkInfo()
100 assertEquals("foo", apk.getName()); in testOptionalFields()
159 assertEquals("foo", apk.getName()); in testApkWithArguments()
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DLocalFileRecord.java84 public String getName() { in getName() method in LocalFileRecord
150 String entryName = cdRecord.getName(); in getRecord()
218 String name = CentralDirectoryRecord.getName(header, NAME_OFFSET, nameLength); in getRecord()
446 cdRecord.getName() + " too large: " + cdRecord.getUncompressedSize()); in getUncompressedData()
DCentralDirectoryRecord.java86 public String getName() { in getName() method in CentralDirectoryRecord
166 String name = getName(buf, originalPosition + NAME_OFFSET, nameSize); in getRecord()
269 static String getName(ByteBuffer record, int position, int nameLengthBytes) { in getName() method in CentralDirectoryRecord
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DGameQualificationFpsCollector.java259 testLog("RAW-" + getApkInfo().getName(), LogDataType.TEXT, rawData); in doEnd()
310 … testLog("GameQualification-frametimes-" + getApkInfo().getName(), LogDataType.TEXT, source); in doEnd()
326 "GameQualification-histogram-" + getApkInfo().getName() + "-run" + runIndex, in printHistogram()

1234