Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 17 of 17) 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.java477 for (ChunkSupplier.Chunk chunk = dataSupplier.get(); in run()
478 chunk != null; in run()
479 chunk = dataSupplier.get()) { in run()
480 int size = chunk.size; in run()
490 mdSink.consume(chunk.data); in run()
497 chunkDigest.getOffset(chunk.chunkIndex), in run()
/tools/netsim/rust/cli/src/
Dffi.rs16 fn handle_chunk(&self, chunk: &[u8]) { in handle_chunk()
17 self.handler.handle_chunk(chunk); in handle_chunk()
27 fn handle_chunk(&self, chunk: &[u8]); in handle_chunk()
52 fn handle_chunk(&self, chunk: &[u8]); in handle_chunk()
Dfile_handler.rs29 fn handle_chunk(&self, chunk: &[u8]) { in handle_chunk()
31 .write_all(chunk) in handle_chunk()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DSparseImageUtil.java126 SparseChunk chunk = new SparseChunk(); in readChunk() local
128 chunk.mChunkType = buf.getShort(); in readChunk()
130 chunk.mChunkSize = buf.getInt(); in readChunk()
131 chunk.mTotalSize = buf.getInt(); in readChunk()
132 if (chunk.mChunkType == FILL) { in readChunk()
133 chunk.mFill = readFully(in, 4); in readChunk()
135 return chunk; in readChunk()
/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/tradefederation/core/tools/
Dcontent_uploader.py45 chunk: bool = False variable in ArtifactConfig
264 if artifact.chunk:
318 if artifact.chunk:
361 name = _artifact_name(basename, artifact.chunk, artifact.unzip)
372 if artifact.chunk and (not artifact.chunk_fallback or artifact.unzip):
404 if artifact.chunk and artifact.chunk_fallback:
409 fallback_artifact.chunk = False
413 def _artifact_name(basename: str, chunk: bool, unzip: bool) -> str:
414 if not chunk:
/tools/netsim/rust/daemon/src/http_server/
Dserver_response.rs39 fn put_chunk(&mut self, chunk: &[u8]); in put_chunk()
99 fn put_chunk(&mut self, chunk: &[u8]) { in put_chunk()
100 if let Err(e) = self.writer.write_all(chunk) { in put_chunk()
/tools/netsim/src/frontend/
Dfrontend_server.cc58 void put_chunk(rust::Slice<const uint8_t> chunk) const override { in put_chunk()
60 response.set_capture_stream(std::string(chunk.begin(), chunk.end())); in put_chunk()
Dserver_response_writable.h37 virtual void put_chunk(rust::Slice<const uint8_t> chunk) const = 0;
Dfrontend_client.cc199 frontend::GetCaptureResponse chunk; in GetCapture() local
201 while (reader->Read(&chunk)) { in GetCapture()
204 auto mut_stream = chunk.mutable_capture_stream(); in GetCapture()
/tools/netsim/rust/daemon/src/
Dffi.rs352 fn put_chunk(self: &CxxServerResponseWriter, chunk: &[u8]); in put_chunk()
435 fn put_chunk(&mut self, chunk: &[u8]) { in put_chunk()
436 self.writer.put_chunk(chunk); in put_chunk()
/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/asuite/atest/bazel/runner/src/main/protobuf/
Dcommand_line.proto57 repeated string chunk = 1; field
Dbuild_event_stream.proto259 // The next chunk of stdout that bazel produced since the last progress event
263 // The next chunk of stderr that bazel produced since the last progress event
/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()
/tools/repohooks/tools/
Dcheckpatch.pl5977 for my $chunk (@chunks) {
5978 my ($cond, $block) = @{$chunk};