Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 5 of 5) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DAndroidBinXmlParser.java90 Chunk chunk = Chunk.get(xml); in AndroidBinXmlParser() local
91 if (chunk == null) { in AndroidBinXmlParser()
94 if (chunk.getType() == Chunk.TYPE_RES_XML) { in AndroidBinXmlParser()
95 resXmlChunk = chunk; in AndroidBinXmlParser()
280 Chunk chunk = Chunk.get(mXml); in next() local
281 if (chunk == null) { in next()
284 switch (chunk.getType()) { in next()
289 mStringPool = new StringPool(chunk); in next()
298 ByteBuffer contents = chunk.getContents(); in next()
342 ByteBuffer contents = chunk.getContents(); in next()
[all …]
DApkSigningBlockUtils.java475 for (ChunkSupplier.Chunk chunk = dataSupplier.get(); in run()
476 chunk != null; in run()
477 chunk = dataSupplier.get()) { in run()
478 int size = chunk.size; in run()
488 mdSink.consume(chunk.data); in run()
495 chunkDigest.getOffset(chunk.chunkIndex), in run()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/coex/
Daudio_capture_device.py158 self.chunk = self.audio_params['chunk']
197 frames_per_buffer=self.chunk,
199 b_chunks = trim_beginning * (self.sample_rate // self.chunk)
200 e_chunks = trim_end * (self.sample_rate // self.chunk)
201 total_chunks = self.sample_rate // self.chunk * self.audio_params[
205 data = stream.read(self.chunk, exception_on_overflow=False)
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DVerityTreeBuilder.java254 ByteBuffer chunk = slice(buffer, offset, offset + CHUNK_SIZE); in digestDataByChunks()
255 hashes[chunkIndex] = saltedDigest(md, chunk); in digestDataByChunks()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZFile.java1347 byte[] chunk = new byte[IO_BUFFER_SIZE]; in writeEntry()
1351 while ((r = is.read(chunk)) >= 0) { in writeEntry()
1352 directWrite(writeOffset, chunk, 0, r); in writeEntry()