Home
last modified time | relevance | path

Searched refs:HEADER_SIZE (Results 1 – 6 of 6) sorted by relevance

/aosp14/system/core/libcutils/
H A Drecord_stream.cpp32 #define HEADER_SIZE 4 macro
56 ret->buffer = (unsigned char *)malloc (maxRecordLen + HEADER_SIZE); in record_stream_new()
60 ret->buffer_end = ret->buffer + maxRecordLen + HEADER_SIZE; in record_stream_new()
80 if (p_end < p_begin + HEADER_SIZE) { in getEndOfRecord()
87 p_ret = p_begin + HEADER_SIZE + len; in getEndOfRecord()
104 record_start = p_rs->unconsumed + HEADER_SIZE; in getNextRecord()
/aosp14/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
H A DProtocol.java28 static final int HEADER_SIZE = 8; field in Protocol
36 public static final int MAX_CONTENT_SIZE = MAX_ENVELOPE_SIZE - HEADER_SIZE;
H A DTransport.java292 int length = Protocol.HEADER_SIZE; in loop()
316 if (contentSize < 0 && position >= Protocol.HEADER_SIZE) { in loop()
333 length = Protocol.HEADER_SIZE; in loop()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DPersistentDataBlockService.java114 private static final int HEADER_SIZE = 8; field in PersistentDataBlockService
392 int header_size = DIGEST_SIZE_BYTES + HEADER_SIZE; in formatPartitionLocked()
475 long actualSize = getBlockDeviceSize() - HEADER_SIZE - DIGEST_SIZE_BYTES in doGetMaximumDataBlockSize()
511 data.length + HEADER_SIZE + DIGEST_SIZE_BYTES);
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp66 static constexpr int HEADER_SIZE = 2 + 1 + 1 + 4 + 2; // bytes variable
110 static_assert(sizeof(BlockHeader) == HEADER_SIZE);
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt29189 Landroid/media/MiniThumbFile;->HEADER_SIZE:I