Home
last modified time | relevance | path

Searched refs:getNumBytes (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/framework/test/unittests/src/android/util/
DStatsEventTest.java79 assertThat(statsEvent.getNumBytes()).isEqualTo(buffer.position()); in testNoFields()
118 assertThat(statsEvent.getNumBytes()).isEqualTo(buffer.position()); in testOnlyAtomId()
189 assertThat(statsEvent.getNumBytes()).isEqualTo(buffer.position()); in testIntBooleanIntInt()
254 assertThat(statsEvent.getNumBytes()).isEqualTo(buffer.position()); in testStringFloatByteArray()
319 assertThat(statsEvent.getNumBytes()).isEqualTo(buffer.position()); in testAttributionChainLong()
413 assertThat(statsEvent.getNumBytes()).isEqualTo(buffer.position()); in testKeyValuePairs()
522 assertThat(statsEvent.getNumBytes()).isEqualTo(buffer.position()); in testBoolArrayIntArrayLongArray()
611 assertThat(statsEvent.getNumBytes()).isEqualTo(buffer.position()); in testFloatArrayStringArray()
692 assertThat(statsEvent.getNumBytes()).isEqualTo(buffer.position()); in testSingleAnnotations()
791 assertThat(statsEvent.getNumBytes()).isEqualTo(buffer.position()); in testArrayFieldAnnotations()
[all …]
/packages/modules/StatsD/framework/java/android/util/
DStatsLog.java467 writeImpl(statsEvent.getBytes(), statsEvent.getNumBytes(), statsEvent.getAtomId()); in write()
DStatsEvent.java287 public int getNumBytes() { in getNumBytes() method in StatsEvent
/packages/modules/StatsD/tests/utils/src/android/util/
DStatsEventTestUtils.java101 if (buf.position() != statsEvent.getNumBytes()) { in getProtoBytes()