Home
last modified time | relevance | path

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

/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DProtocol.java28 static final int HEADER_SIZE = 8; field in Protocol
36 public static final int MAX_CONTENT_SIZE = MAX_ENVELOPE_SIZE - HEADER_SIZE;
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()
/frameworks/minikin/tests/unittest/
DFontUtilsTest.cpp58 const uint32_t HEADER_SIZE = 0x10; in buildFvarTable() local
60 std::vector<uint8_t> out(HEADER_SIZE + fvars.size() * AXIS_RECORD_SIZE); in buildFvarTable()
63 head = writeU16(HEADER_SIZE, out.data(), head); // axes array offset in buildFvarTable()
/frameworks/base/services/core/java/com/android/server/
DPersistentDataBlockService.java107 private static final int HEADER_SIZE = 8; field in PersistentDataBlockService
433 long actualSize = getBlockDeviceSize() - HEADER_SIZE - DIGEST_SIZE_BYTES in doGetMaximumDataBlockSize()
468 ByteBuffer headerAndData = ByteBuffer.allocate(data.length + HEADER_SIZE);
/frameworks/base/services/core/jni/
Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp64 static constexpr int HEADER_SIZE = 2 + 1 + 1 + 4 + 2; // bytes variable
105 static_assert(sizeof(BlockHeader) == HEADER_SIZE);