Home
last modified time | relevance | path

Searched refs:HEADER_SIZE (Results 1 – 4 of 4) 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/base/services/core/java/com/android/server/
DPersistentDataBlockService.java69 private static final int HEADER_SIZE = 8; field in PersistentDataBlockService
351 long maxBlockSize = getBlockDeviceSize() - HEADER_SIZE - 1;
365 ByteBuffer headerAndData = ByteBuffer.allocate(data.length + HEADER_SIZE);
517 long actualSize = getBlockDeviceSize() - HEADER_SIZE - 1;
/frameworks/base/media/java/android/media/
DMiniThumbFile.java49 private static final int HEADER_SIZE = 1 + 8 + 4; field in MiniThumbFile
196 if (data.length > BYTES_PER_MINTHUMB - HEADER_SIZE) { in saveMiniThumbToFile()