/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | AndroidBinXmlParser.java | 298 ByteBuffer contents = chunk.getContents(); in next() local 299 if (contents.remaining() < 20) { in next() 302 + contents.remaining() + " bytes"); in next() 304 long nsId = getUnsignedInt32(contents); in next() 305 long nameId = getUnsignedInt32(contents); in next() 306 int attrStartOffset = getUnsignedInt16(contents); in next() 307 int attrSizeBytes = getUnsignedInt16(contents); in next() 308 int attrCount = getUnsignedInt16(contents); in next() 310 contents.position(0); in next() 311 if (attrStartOffset > contents.remaining()) { in next() [all …]
|
D | ApkSigningBlockUtils.java | 285 DataSource[] contents, in computeOneMbChunkContentDigests() argument 299 for (DataSource input : contents) { in computeOneMbChunkContentDigests() 341 for (DataSource input : contents) { in computeOneMbChunkContentDigests() 389 DataSource[] contents, in computeOneMbChunkContentDigests() argument 393 for (DataSource input : contents) { in computeOneMbChunkContentDigests() 407 ChunkSupplier chunkSupplier = new ChunkSupplier(contents); in computeOneMbChunkContentDigests()
|
/tools/apksig/src/test/java/com/android/apksig/util/ |
D | DataSourceFromRAFChunkTest.java | 73 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource() argument 75 byte[] fullContents = new byte[2 + contents.length + 1]; in createDataSource() 78 System.arraycopy(contents, 0, fullContents, 2, contents.length); in createDataSource() 93 factory.create(f, 2, contents.length), in createDataSource()
|
D | InMemoryDataSinkDataSourceTest.java | 29 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource() argument 31 sink.consume(contents, 0, contents.length); in createDataSource()
|
D | DataSinkFromRAFTest.java | 56 byte[] contents = new byte[(int) f.length()]; in getContents() 58 f.readFully(contents); in getContents() 59 return ByteBuffer.wrap(contents); in getContents()
|
D | DataSourceFromByteBufferTest.java | 47 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource() argument 48 return CloseableWithDataSource.of(DataSources.asDataSource(ByteBuffer.wrap(contents))); in createDataSource()
|
D | DataSourceFromRAFTest.java | 76 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource() argument 80 Files.write(tmp.toPath(), contents); in createDataSource() local
|
D | DataSourceTestBase.java | 41 protected abstract CloseableWithDataSource createDataSource(byte[] contents) throws IOException; in createDataSource() argument 43 protected CloseableWithDataSource createDataSource(String contents) throws IOException { in createDataSource() argument 44 return createDataSource(contents.getBytes(StandardCharsets.UTF_8)); in createDataSource()
|
/tools/acloud/internal/lib/ |
D | ota_tools_test.py | 64 self.contents = None 72 self.contents = f.read() 91 def _CreateFile(path, contents): argument 97 f.write(contents) 213 self.assertEqual(rewritten_misc_info.contents, 295 self.assertEqual(rewritten_config.contents,
|
/tools/platform-compat/java/com/android/class2nonsdklist/ |
D | AnnotationPropertyWriter.java | 41 Map<String, String> contents = new HashMap<>(annotationProperties); in consume() local 44 contents.put(SIGNATURE_COLUMN, apiSignature); in consume() 47 mColumns.addAll(contents.keySet()); in consume() 48 mContents.add(contents); in consume()
|
/tools/security/fuzzing/orphans/libskia/ |
D | libskia_image_processor_fuzzer.cpp | 33 static int getAndroidPixels(std::string& contents, bool requestPremul) { in getAndroidPixels() argument 35 …std::unique_ptr<SkMemoryStream> stream = SkMemoryStream::MakeDirect(contents.data(), contents.size… in getAndroidPixels()
|
/tools/platform-compat/javatest/android/processor/compat/unsupportedappusage/ |
D | CsvReader.java | 43 List<String> contents = mSplitter.splitToList(line); in CsvReader() local 45 for (int i = 0; i < Math.min(contents.size(), mColumns.size()); ++i) { in CsvReader() 46 contentMap.put(mColumns.get(i), contents.get(i)); in CsvReader()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Driver.kt | 421 val contents = sources.joinToString(" ") { in processFlags() constant 429 file.writeText(contents) in processFlags() 1161 var contents = Files.asCharSource(file, UTF_8).read() in gatherPackageJavadoc() variable 1163 contents = packageHtmlToJavadoc(contents) in gatherPackageJavadoc() 1178 map[pkg] = contents in gatherPackageJavadoc() 1179 if (contents.contains("@hide")) { in gatherPackageJavadoc()
|
D | ExtractAnnotations.kt | 151 val bytes = writer.contents.toByteArray(UTF_8) in <lambda>() 386 val contents: String get() = stringWriter.toString() in <lambda>() constant in com.android.tools.metalava.ExtractAnnotations.StringPrintWriter 398 return contents in <lambda>()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeSigner.java | 309 signatureJarEntries.add(Pair.of(V1SchemeConstants.MANIFEST_ENTRY_NAME, manifest.contents)); in signManifest() 389 result.contents = manifestOut.toByteArray(); in generateManifestFile() 412 public byte[] contents; field in V1SchemeSigner.OutputManifestFile 448 Base64.getEncoder().encodeToString(md.digest(manifest.contents))); in generateSignatureFile()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | StoredEntry.java | 601 CloseableByteSource contents; in createSourcesFromRawContents() local 608 contents = new InflaterByteSource(rawContents); in createSourcesFromRawContents() 610 contents = rawContents; in createSourcesFromRawContents() 613 return new ProcessedAndRawByteSources(contents, rawContents); in createSourcesFromRawContents()
|
/tools/security/fuzzing/orphans/libcppbor/ |
D | cppbor_fuzzer.cpp | 23 std::string contents = dataProvider.ConsumeRemainingBytesAsString(); in FuzzStringParsing() local 24 cppbor::Tstr val(contents); in FuzzStringParsing()
|
/tools/ndkports/ |
D | build.gradle.kts | 69 contents { in port() 90 contents { in <lambda>()
|
/tools/apksig/src/main/java/com/android/apksig/apk/ |
D | ApkUtilsLite.java | 168 public ApkSigningBlock(long startOffsetInApk, DataSource contents) { in ApkSigningBlock() argument 170 mContents = contents; in ApkSigningBlock()
|
D | ApkUtils.java | 147 public ApkSigningBlock(long startOffsetInApk, DataSource contents) { in ApkSigningBlock() argument 148 super(startOffsetInApk, contents); in ApkSigningBlock()
|
/tools/platform-compat/java/com/android/javac/ |
D | Javac.java | 69 public Javac addSource(String classname, String contents) { in addSource() argument 76 return contents; in addSource()
|
/tools/asuite/aidegen_functional_test/ |
D | aidegen_functional_test_main.py | 679 contents = [] 683 contents.append(cnt.rstrip()) 684 return contents
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ |
D | Asn1DerEncoder.java | 439 int tagClass, boolean constructed, int tagNumber, byte[]... contents) { in createTag() argument 448 for (byte[] c : contents) { in createTag() 492 for (byte[] c : contents) { in createTag()
|
/tools/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | StubWriter.kt | 68 val contents = if (root != null) { in <lambda>() constant 74 target.writeText(contents) in <lambda>()
|
/tools/treble/hacksaw/workspace/ |
D | workspace.go | 184 contents, err := ioutil.ReadDir(workspaceProject) 188 if len(contents) == 0 {
|