Home
last modified time | relevance | path

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

/packages/modules/StatsD/tests/utils/src/android/util/
DStatsEventTestUtils.java81 FieldMetadata fieldMetadata = parseFieldMetadata(buf); in getProtoBytes() local
82 if (fieldMetadata.typeId != TYPE_INT) { in getProtoBytes()
87 skipAnnotations(buf, fieldMetadata.annotationCount); in getProtoBytes()
95 fieldMetadata = parseFieldMetadata(buf); in getProtoBytes()
96 parseField(fieldMetadata.typeId, FIELD_COUNT_SINGLE, tag, buf, proto); in getProtoBytes()
97 skipAnnotations(buf, fieldMetadata.annotationCount); in getProtoBytes()
185 FieldMetadata fieldMetadata = new FieldMetadata(); in parseFieldMetadata() local
186 fieldMetadata.typeId = buf.get(); in parseFieldMetadata()
187 fieldMetadata.annotationCount = (byte) (fieldMetadata.typeId >> 4); in parseFieldMetadata()
188 fieldMetadata.typeId &= (byte) 0x0F; in parseFieldMetadata()
[all …]