Searched refs:HEADER_SIZE (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
H A DProtocol.java28 static final int HEADER_SIZE = 8; field in class:Protocol
36 public static final int MAX_CONTENT_SIZE = MAX_ENVELOPE_SIZE - HEADER_SIZE;
H A DTransport.java292 int length = Protocol.HEADER_SIZE;
316 if (contentSize < 0 && position >= Protocol.HEADER_SIZE) {
333 length = Protocol.HEADER_SIZE;
/frameworks/base/services/core/java/com/android/server/
H A DPersistentDataBlockService.java70 private static final int HEADER_SIZE = 8; field in class:PersistentDataBlockService
360 long maxBlockSize = getBlockDeviceSize() - HEADER_SIZE - 1;
374 ByteBuffer headerAndData = ByteBuffer.allocate(data.length + HEADER_SIZE);
532 long actualSize = getBlockDeviceSize() - HEADER_SIZE - 1;
/frameworks/base/media/java/android/media/
H A DMiniThumbFile.java49 private static final int HEADER_SIZE = 1 + 8 + 4; field in class:MiniThumbFile
196 if (data.length > BYTES_PER_MINTHUMB - HEADER_SIZE) {

Completed in 157 milliseconds