Home
last modified time | relevance | path

Searched refs:contentSize (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
H A DTransport.java259 final int contentSize = buffer.getInt(); in handleMessage() local
260 if (contentSize == 0) { in handleMessage()
263 final int end = buffer.position() + contentSize; in handleMessage()
293 int contentSize = -1; in loop() local
317 contentSize = buffer.getInt(4); in loop()
318 if (contentSize < 0 || contentSize > Protocol.MAX_CONTENT_SIZE) { in loop()
322 length += contentSize; in loop()
336 contentSize = -1; in loop()
339 contentSize = buffer.getInt(next + 4); in loop()
340 if (contentSize < 0 || contentSize > Protocol.MAX_CONTENT_SIZE) { in loop()
[all …]
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/utils/
H A DTarBackupReader.java709 final int contentSize = (int) info.size; in readPaxExtendedHeader() local
714 while (eol < contentSize && data[eol] != ' ') { in readPaxExtendedHeader()
717 if (eol >= contentSize) { in readPaxExtendedHeader()
749 } while (offset < contentSize); in readPaxExtendedHeader()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DGridLayoutManager.java737 final int contentSize = Math.round(maxSizeInOther * mSpanCount); in guessMeasurement() local
739 calculateItemBorders(Math.max(contentSize, currentOtherDirSize)); in guessMeasurement()