Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DMediaMetrics.java424 final char propSize = (char) reserveProperty(keyBytes, 4 /* payloadSize */); in putInt() local
425 final int estimatedFinalPosition = mBuffer.position() + propSize; in putInt()
426 mBuffer.putChar(propSize) in putInt()
447 final char propSize = (char) reserveProperty(keyBytes, 8 /* payloadSize */); in putLong() local
448 final int estimatedFinalPosition = mBuffer.position() + propSize; in putLong()
449 mBuffer.putChar(propSize) in putLong()
470 final char propSize = (char) reserveProperty(keyBytes, 8 /* payloadSize */); in putDouble() local
471 final int estimatedFinalPosition = mBuffer.position() + propSize; in putDouble()
472 mBuffer.putChar(propSize) in putDouble()
494 final char propSize = (char) reserveProperty(keyBytes, valueBytes.length + 1); in putString() local
[all …]
/frameworks/av/media/libmediametrics/
DMediaMetricsItem.cpp430 const size_t propSize = prop.getByteStringSize(); in writeToByteString() local
431 if (propSize > UINT16_MAX) { in writeToByteString()
432 ALOGW("%s: prop %s size %zu too large", __func__, prop.getName(), propSize); in writeToByteString()
435 if (__builtin_add_overflow(size, propSize, &size)) { in writeToByteString()