Home
last modified time | relevance | path

Searched refs:maxPayloadSize (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/
DBlePacketFactory.java67 int maxPayloadSize = maxSize in makeBlePackets() local
71 int end = Math.min(payloadSize, maxPayloadSize); in makeBlePackets()
80 end = Math.min(start + maxPayloadSize, payloadSize); in makeBlePackets()
110 int maxPayloadSize = maxSize - packetHeaderSize; in getTotalPacketNumber() local
111 if (maxPayloadSize < 0) { in getTotalPacketNumber()
114 int totalPackets = (int) Math.ceil(payloadSize / (double) maxPayloadSize); in getTotalPacketNumber()
/packages/services/Car/service/src/com/android/car/trust/
DBLEMessageV1Factory.java141 int maxPayloadSize = in makeBLEMessages() local
143 if (payloadSize <= maxPayloadSize) { in makeBLEMessages()
147 int totalPackets = (int) Math.ceil((double) payloadSize / maxPayloadSize); in makeBLEMessages()
149 int end = maxPayloadSize; in makeBLEMessages()
160 end = Math.min(start + maxPayloadSize, payloadSize); in makeBLEMessages()