Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DMediaMetrics.java423 final char propSize = (char) reserveProperty(keyBytes, 4 /* payloadSize */); in putInt() local
424 final int estimatedFinalPosition = mBuffer.position() + propSize; in putInt()
425 mBuffer.putChar(propSize) in putInt()
446 final char propSize = (char) reserveProperty(keyBytes, 8 /* payloadSize */); in putLong() local
447 final int estimatedFinalPosition = mBuffer.position() + propSize; in putLong()
448 mBuffer.putChar(propSize) in putLong()
469 final char propSize = (char) reserveProperty(keyBytes, 8 /* payloadSize */); in putDouble() local
470 final int estimatedFinalPosition = mBuffer.position() + propSize; in putDouble()
471 mBuffer.putChar(propSize) in putDouble()
493 final char propSize = (char) reserveProperty(keyBytes, valueBytes.length + 1); in putString() local
[all …]
/frameworks/av/media/libmediametrics/
DMediaMetricsItem.cpp482 const size_t propSize = prop.getByteStringSize(); in writeToByteString() local
483 if (propSize > UINT16_MAX) { in writeToByteString()
484 ALOGW("%s: prop %s size %zu too large", __func__, prop.getName(), propSize); in writeToByteString()
487 if (__builtin_add_overflow(size, propSize, &size)) { in writeToByteString()