Home
last modified time | relevance | path

Searched refs:HEADER_SIZE (Results 1 – 8 of 8) 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/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
DBluetoothMidiDevice.java54 private static final int HEADER_SIZE = 5; field in BluetoothMidiDevice
58 private static final int DEFAULT_PACKET_SIZE = MIN_L2CAP_MTU - HEADER_SIZE;
62 private static final int MAX_PACKET_SIZE = MAX_ANDROID_MTU - HEADER_SIZE;
215 int packetSize = Math.min(mtu - HEADER_SIZE, MAX_PACKET_SIZE);
/frameworks/base/services/core/java/com/android/server/pdb/
DPersistentDataBlockService.java142 static final int HEADER_SIZE = 8; field in PersistentDataBlockService
426 return (int) (getTestHarnessModeDataOffset() - DIGEST_SIZE_BYTES - HEADER_SIZE in getMaximumFrpDataSize()
547 int header_size = DIGEST_SIZE_BYTES + HEADER_SIZE; in formatPartitionLocked()
847 final long actualSize = getBlockDeviceSize() - HEADER_SIZE - DIGEST_SIZE_BYTES in doGetMaximumDataBlockSize()
1019 data.length + HEADER_SIZE + DIGEST_SIZE_BYTES);
/frameworks/base/services/core/jni/
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);
/frameworks/base/services/tests/servicestests/src/com/android/server/pdb/
DPersistentDataBlockServiceTest.java23 import static com.android.server.pdb.PersistentDataBlockService.HEADER_SIZE;
433 channel.position(channel.position() + DIGEST_SIZE_BYTES + HEADER_SIZE); in testPartitionFormat()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt29189 Landroid/media/MiniThumbFile;->HEADER_SIZE:I