Home
last modified time | relevance | path

Searched refs:headerSize (Results 1 – 14 of 14) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/util/
DIsoInterface.java104 public int headerSize; field in IsoInterface.Box
140 int headerSize = 8; in parseNextBox() local
141 if (end - pos < headerSize) { in parseNextBox()
153 headerSize += 8; in parseNextBox()
159 if (len < headerSize || pos + len > end) { in parseNextBox()
166 box.headerSize = headerSize; in parseNextBox()
170 box.headerSize += 16; in parseNextBox()
182 box.data = new byte[(int) (len - box.headerSize)]; in parseNextBox()
195 box.data = new byte[(int) (len - box.headerSize)]; in parseNextBox()
201 } else if (type == BOX_META && len != headerSize) { in parseNextBox()
[all …]
/packages/modules/NeuralNetworks/driver/cache/nnCache/
DnnCache.cpp166 size_t headerSize = cacheFileHeaderSize; in saveBlobCacheLocked() local
189 size_t fileSize = headerSize + cacheSize; in saveBlobCacheLocked()
199 int err = mBlobCache->flatten(buf + headerSize, cacheSize); in saveBlobCacheLocked()
211 *crc = crc32c(buf + headerSize, cacheSize); in saveBlobCacheLocked()
229 size_t headerSize = cacheFileHeaderSize; in loadBlobCacheLocked() local
264 size_t cacheSize = fileSize - headerSize; in loadBlobCacheLocked()
271 if (crc32c(buf + headerSize, cacheSize) != *crc) { in loadBlobCacheLocked()
277 int err = mBlobCache->unflatten(buf + headerSize, cacheSize); in loadBlobCacheLocked()
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dformat_utils_test.cpp33 const size_t headerSize) { in getBuffer() argument
46 buffer.push_back(headerSize >> 24); in getBuffer()
47 buffer.push_back(headerSize >> 16); in getBuffer()
48 buffer.push_back(headerSize >> 8); in getBuffer()
49 buffer.push_back(headerSize); in getBuffer()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderUtils.java318 final int headerSize, final int pos) { in getWordAtPosition() argument
322 result = getWordAtPositionWithoutParentAddress(dictDecoder, headerSize, pos); in getWordAtPosition()
328 final DictDecoder dictDecoder, final int headerSize, final int pos) { in getWordAtPositionWithoutParentAddress() argument
329 dictDecoder.setPosition(headerSize); in getWordAtPositionWithoutParentAddress()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DDictionaryHeader.java60 public DictionaryHeader(final int headerSize, in DictionaryHeader() argument
65 mBodyOffset = formatOptions.mVersion < FormatSpec.VERSION4 ? headerSize : 0; in DictionaryHeader()
/packages/modules/Virtualization/tests/pvmfw/helper/java/com/android/pvmfw/test/host/
DPvmfw.java95 int headerSize = alignTo(getHeaderSize(), SIZE_8B); in serialize() local
99 entryOffsets[PVMFW_ENTRY_BCC] = headerSize; in serialize()
109 ByteBuffer header = ByteBuffer.allocate(headerSize).order(LITTLE_ENDIAN); in serialize()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/
DReportDetails.java98 final int headerSize = incident.getHeaderCount(); in parseReasons() local
99 for (int i = 0; i < headerSize; i++) { in parseReasons()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
Dheader_read_write_utils.cpp71 const int headerSize = getHeaderSize(dictBuf); in fetchAllHeaderAttributes() local
79 while (pos < headerSize) { in fetchAllHeaderAttributes()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DFetcherUtil.java377 long headerSize = asyncFetchStatus.getResponseSize(); in emitHeaderMetrics() local
380 if (headerSize > headerSizeLimitBytes) { in emitHeaderMetrics()
391 headerSize, in emitHeaderMetrics()
DAsyncTriggerFetcher.java491 long headerSize = FetcherUtil.calculateHeadersCharactersLength(headers) - odpHeaderSize; in fetchTrigger() local
493 && headerSize > mFlags.getMaxTriggerRegistrationHeaderSizeBytes()) { in fetchTrigger()
502 asyncFetchStatus.setResponseSize(headerSize); in fetchTrigger()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/
DRtpService.cpp223 const RtpDt_Int32 headerSize = 4; in SetRtpHeaderExtension() local
224 RtpDt_Int32 nBufferSize = headerSize + pstRtpParam->wExtLen * sizeof(int32_t); in SetRtpHeaderExtension()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/http/
DHttpFederatedProtocolTest.java1129 FederatedComputeHttpRequest actualStartTaskAssignmentRequest, int headerSize) { in checkActualTARequest() argument
1142 assertThat(actualStartTaskAssignmentRequest.getExtraHeaders()).hasSize(headerSize); in checkActualTARequest()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/
Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...