Home
last modified time | relevance | path

Searched refs:chunkSize (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/opengl/java/android/opengl/
DETC1Util.java172 int chunkSize = Math.min(ioBuffer.length, encodedSize - i); in createTexture() local
173 if (input.read(ioBuffer, 0, chunkSize) != chunkSize) { in createTexture()
176 dataBuffer.put(ioBuffer, 0, chunkSize); in createTexture()
177 i += chunkSize; in createTexture()
219 int chunkSize = Math.min(ioBuffer.length, encodedSize - i); in writeTexture() local
220 dataBuffer.get(ioBuffer, 0, chunkSize); in writeTexture()
221 output.write(ioBuffer, 0, chunkSize); in writeTexture()
222 i += chunkSize; in writeTexture()
/frameworks/av/media/libstagefright/timedtext/
DTextDescriptions.cpp104 ssize_t chunkSize = U32_AT(tmpData); // size includes size and type in extract3GPPLocalDescriptions() local
107 if (chunkSize <= 8 || chunkSize > size) { in extract3GPPLocalDescriptions()
111 size_t remaining = chunkSize - 8; in extract3GPPLocalDescriptions()
366 data += chunkSize; in extract3GPPLocalDescriptions()
367 size -= chunkSize; in extract3GPPLocalDescriptions()
380 ssize_t chunkSize = U32_AT(data); in extract3GPPGlobalDescriptions() local
386 if (size < chunkSize) { in extract3GPPGlobalDescriptions()
501 data += chunkSize; in extract3GPPGlobalDescriptions()
502 size -= chunkSize; in extract3GPPGlobalDescriptions()
/frameworks/av/media/libstagefright/
DJPEGSource.cpp173 uint16_t chunkSize; in parseJPEG() local
174 if (!mSource->getUInt16(i, &chunkSize)) { in parseJPEG()
180 if (chunkSize < 2) { in parseJPEG()
217 i += chunkSize - 2; in parseJPEG()
225 i += chunkSize - 2; in parseJPEG()
/frameworks/base/libs/protoutil/src/
DEncodedBuffer.cpp33 EncodedBuffer::Pointer::Pointer(size_t chunkSize) in Pointer() argument
37 mChunkSize = chunkSize == 0 ? BUFFER_SIZE : chunkSize; in Pointer()
89 EncodedBuffer::EncodedBuffer(size_t chunkSize) in EncodedBuffer() argument
92 mChunkSize = chunkSize == 0 ? BUFFER_SIZE : chunkSize; in EncodedBuffer()
/frameworks/base/core/jni/android/graphics/
DNinePatch.cpp71 size_t chunkSize = env->GetArrayLength(obj); in validateNinePatchChunk() local
72 if (chunkSize < (int) (sizeof(Res_png_9patch))) { in validateNinePatchChunk()
77 int8_t* storage = new int8_t[chunkSize]; in validateNinePatchChunk()
79 env->GetByteArrayRegion(obj, 0, chunkSize, reinterpret_cast<jbyte*>(storage)); in validateNinePatchChunk()
/frameworks/base/libs/protoutil/include/android/util/
DEncodedBuffer.h41 EncodedBuffer(size_t chunkSize);
47 Pointer(size_t chunkSize);
/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp165 uint32_t chunkSize = U32_LE_AT(&chunkHeader[4]); in init() local
167 if (chunkSize > remainingSize) { in init()
172 if (chunkSize < 16) { in init()
285 mDataSize = chunkSize; in init()
341 offset += chunkSize; in init()
/frameworks/base/core/java/android/util/proto/
DEncodedBuffer.java104 public EncodedBuffer(int chunkSize) { in EncodedBuffer() argument
105 if (chunkSize <= 0) { in EncodedBuffer()
106 chunkSize = 8 * 1024; in EncodedBuffer()
108 mChunkSize = chunkSize; in EncodedBuffer()
DProtoOutputStream.java239 public ProtoOutputStream(int chunkSize) { in ProtoOutputStream() argument
240 mBuffer = new EncodedBuffer(chunkSize); in ProtoOutputStream()
/frameworks/base/core/java/android/app/backup/
DBackupHelperDispatcher.java32 int chunkSize; // not including the header field in BackupHelperDispatcher.Header
64 skipChunk_native(oldStateFD, header.chunkSize); in performBackup()
/frameworks/base/core/java/android/util/apk/
DApkSigningBlockUtils.java241 int chunkSize = (int) Math.min(inputRemaining, CHUNK_SIZE_BYTES); in computeContentDigestsPer1MbChunk() local
242 setUnsignedInt32LittleEndian(chunkSize, chunkContentPrefix, 1); in computeContentDigestsPer1MbChunk()
247 input.feedIntoDataDigester(digester, inputOffset, chunkSize); in computeContentDigestsPer1MbChunk()
271 inputOffset += chunkSize; in computeContentDigestsPer1MbChunk()
272 inputRemaining -= chunkSize; in computeContentDigestsPer1MbChunk()
DApkVerityBuilder.java239 private static void consumeByChunk(DataDigester digester, DataSource source, int chunkSize) in consumeByChunk() argument
244 int size = (int) Math.min(inputRemaining, chunkSize); in consumeByChunk()
/frameworks/base/tools/aapt2/compile/
DPng.cpp548 int chunkSize = sizeof(png_uint_32) * 6; in writePng() local
550 unknowns[oIndex].data = (png_byte*)calloc(chunkSize, 1); in writePng()
551 png_byte outputData[chunkSize]; in writePng()
555 memcpy(unknowns[oIndex].data, &outputData, chunkSize); in writePng()
556 unknowns[oIndex].size = chunkSize; in writePng()
560 int chunkSize = sizeof(png_uint_32) * 4; in writePng() local
562 unknowns[bIndex].data = (png_byte*)calloc(chunkSize, 1); in writePng()
563 memcpy(unknowns[bIndex].data, &info->layoutBoundsLeft, chunkSize); in writePng()
564 unknowns[bIndex].size = chunkSize; in writePng()
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp1543 ssize_t chunkSize; in dequeueAccessUnitMPEG4Video() local
1544 while ((chunkSize = getNextChunkSize( in dequeueAccessUnitMPEG4Video()
1559 offset += chunkSize; in dequeueAccessUnitMPEG4Video()
1594 &data[offset], chunkSize, in dequeueAccessUnitMPEG4Video()
1641 offset += chunkSize; in dequeueAccessUnitMPEG4Video()
1670 offset += chunkSize; in dequeueAccessUnitMPEG4Video()
1689 offset += chunkSize; in dequeueAccessUnitMPEG4Video()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp5459 uint64_t chunkSize = ntohl(hdr[0]); in BetterSniffMPEG4() local
5463 if (chunkSize == 1) { in BetterSniffMPEG4()
5464 if (source->readAt(offset + 8, &chunkSize, 8) < 8) { in BetterSniffMPEG4()
5468 chunkSize = ntoh64(chunkSize); in BetterSniffMPEG4()
5471 if (chunkSize < 16) { in BetterSniffMPEG4()
5476 } else if (chunkSize < 8) { in BetterSniffMPEG4()
5482 off64_t chunkDataSize = chunkSize - (chunkDataOffset - offset); in BetterSniffMPEG4()
5490 … ALOGV("saw chunk type %s, size %" PRIu64 " @ %lld", chunkstring, chunkSize, (long long)offset); in BetterSniffMPEG4()
5529 moovAtomEndOffset = offset + chunkSize; in BetterSniffMPEG4()
5539 offset += chunkSize; in BetterSniffMPEG4()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerServiceImpl.java128 final int chunkSize = chunk.size(); in updateOverlaysForUser() local
129 for (int j = 0; j < chunkSize; j++) { in updateOverlaysForUser()
/frameworks/base/media/java/android/media/
DExifInterface.java2167 long chunkSize = signatureInputStream.readInt(); in isHeifFormat() local
2176 if (chunkSize == 1) { in isHeifFormat()
2179 chunkSize = signatureInputStream.readLong(); in isHeifFormat()
2180 if (chunkSize < 16) { in isHeifFormat()
2188 if (chunkSize > signatureCheckBytes.length) { in isHeifFormat()
2189 chunkSize = signatureCheckBytes.length; in isHeifFormat()
2192 long chunkDataSize = chunkSize - chunkDataOffset; in isHeifFormat()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/base/config/
Dhiddenapi-light-greylist.txt482 Landroid/app/backup/BackupHelperDispatcher$Header;->chunkSize:I