Home
last modified time | relevance | path

Searched refs:FIELD_COUNT_SINGLE (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/java/android/util/proto/
DProtoOutputStream.java231 case (int)((FIELD_TYPE_DOUBLE | FIELD_COUNT_SINGLE) >> FIELD_TYPE_SHIFT): in write()
239 case (int)((FIELD_TYPE_FLOAT | FIELD_COUNT_SINGLE) >> FIELD_TYPE_SHIFT): in write()
247 case (int)((FIELD_TYPE_INT32 | FIELD_COUNT_SINGLE) >> FIELD_TYPE_SHIFT): in write()
255 case (int)((FIELD_TYPE_INT64 | FIELD_COUNT_SINGLE) >> FIELD_TYPE_SHIFT): in write()
263 case (int)((FIELD_TYPE_UINT32 | FIELD_COUNT_SINGLE) >> FIELD_TYPE_SHIFT): in write()
271 case (int)((FIELD_TYPE_UINT64 | FIELD_COUNT_SINGLE) >> FIELD_TYPE_SHIFT): in write()
279 case (int)((FIELD_TYPE_SINT32 | FIELD_COUNT_SINGLE) >> FIELD_TYPE_SHIFT): in write()
287 case (int)((FIELD_TYPE_SINT64 | FIELD_COUNT_SINGLE) >> FIELD_TYPE_SHIFT): in write()
295 case (int)((FIELD_TYPE_FIXED32 | FIELD_COUNT_SINGLE) >> FIELD_TYPE_SHIFT): in write()
303 case (int)((FIELD_TYPE_FIXED64 | FIELD_COUNT_SINGLE) >> FIELD_TYPE_SHIFT): in write()
[all …]
DProtoUtils.java91 ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_INT64); in currentFieldToString()
97 ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FIXED64); in currentFieldToString()
103 ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_BYTES); in currentFieldToString()
115 ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FIXED32); in currentFieldToString()
DProtoStream.java347 public static final long FIELD_COUNT_SINGLE = 1L << FIELD_COUNT_SHIFT; field in ProtoStream
394 if (fieldCount == FIELD_COUNT_SINGLE) { in getFieldCountString()
/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/
DProtoInputStreamObjectTest.java40 ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_UINT32; in parseProto()
42 ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_STRING; in parseProto()
44 ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_MESSAGE; in parseProto()
89 ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_MESSAGE; in testObjectOneChar()
141 ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_MESSAGE; in testObjectOneLargeChar()
195 ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_UINT32; in testObjectAndTwoChars()
197 ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_MESSAGE; in testObjectAndTwoChars()
259 ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_UINT32; in testComplexObject()
261 ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_MESSAGE; in testComplexObject()
330 ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_MESSAGE; in testDeepObjects()
[all …]
DProtoInputStreamStringTest.java42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_STRING; in testRead()
114 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_STRING; in testReadCompat()
278 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_STRING; in testBadReadType()
348 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_STRING; in testBadWireType()
DProtoInputStreamBytesTest.java43 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_BYTES; in testRead()
124 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_BYTES; in testReadCompat()
297 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_BYTES; in testBadReadType()
367 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_BYTES; in testBadWireType()
DProtoInputStreamBoolTest.java48 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_BOOL; in testRead()
100 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_BOOL; in testReadCompat()
376 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_BOOL; in testBadReadType()
445 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_BOOL; in testBadWireType()
DProtoInputStreamInt32Test.java42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_INT32; in testRead()
123 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_INT32; in testReadCompat()
441 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_INT32; in testBadReadType()
510 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_INT32; in testBadWireType()
DProtoInputStreamEnumTest.java42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_ENUM; in testRead()
123 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_ENUM; in testReadCompat()
446 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_ENUM; in testBadReadType()
515 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_ENUM; in testBadWireType()
DProtoInputStreamFixed32Test.java42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FIXED32; in testRead()
121 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FIXED32; in testReadCompat()
423 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FIXED32; in testBadReadType()
492 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FIXED32; in testBadWireType()
DProtoInputStreamSInt32Test.java42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SINT32; in testRead()
121 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SINT32; in testReadCompat()
423 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SINT32; in testBadReadType()
492 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SINT32; in testBadWireType()
DProtoInputStreamSFixed32Test.java42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SFIXED32; in testRead()
121 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SFIXED32; in testReadCompat()
423 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SFIXED32; in testBadReadType()
492 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SFIXED32; in testBadWireType()
DProtoInputStreamUInt32Test.java42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_UINT32; in testRead()
123 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_UINT32; in testReadCompat()
440 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_UINT32; in testBadReadType()
509 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_UINT32; in testBadWireType()
DProtoInputStreamSInt64Test.java42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SINT64; in testRead()
141 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SINT64; in testReadCompat()
498 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SINT64; in testBadReadType()
567 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SINT64; in testBadWireType()
DProtoInputStreamUInt64Test.java42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_UINT64; in testRead()
143 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_UINT64; in testReadCompat()
517 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_UINT64; in testBadReadType()
586 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_UINT64; in testBadWireType()
DProtoInputStreamFixed64Test.java42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FIXED64; in testRead()
146 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FIXED64; in testReadCompat()
523 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FIXED64; in testBadReadType()
593 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FIXED64; in testBadWireType()
DProtoInputStreamSFixed64Test.java42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SFIXED64; in testRead()
146 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SFIXED64; in testReadCompat()
523 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SFIXED64; in testBadReadType()
592 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_SFIXED64; in testBadWireType()
DProtoInputStreamInt64Test.java42 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_INT64; in testRead()
144 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_INT64; in testReadCompat()
521 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_INT64; in testBadReadType()
590 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_INT64; in testBadWireType()
DProtoInputStreamDoubleTest.java43 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_DOUBLE; in testRead()
166 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_DOUBLE; in testReadCompat()
602 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_DOUBLE; in testBadReadType()
672 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_DOUBLE; in testBadWireType()
DProtoInputStreamFloatTest.java43 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FLOAT; in testRead()
157 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FLOAT; in testReadCompat()
555 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FLOAT; in testBadReadType()
624 final long fieldFlags = ProtoStream.FIELD_COUNT_SINGLE | ProtoStream.FIELD_TYPE_FLOAT; in testBadWireType()
/frameworks/base/cmds/incident_helper/src/
Dih_util.cpp314 case FIELD_COUNT_SINGLE | FIELD_TYPE_DOUBLE: in insertField()
315 case FIELD_COUNT_SINGLE | FIELD_TYPE_FLOAT: in insertField()
318 case FIELD_COUNT_SINGLE | FIELD_TYPE_STRING: in insertField()
319 case FIELD_COUNT_SINGLE | FIELD_TYPE_BYTES: in insertField()
322 case FIELD_COUNT_SINGLE | FIELD_TYPE_INT64: in insertField()
323 case FIELD_COUNT_SINGLE | FIELD_TYPE_SINT64: in insertField()
324 case FIELD_COUNT_SINGLE | FIELD_TYPE_UINT64: in insertField()
325 case FIELD_COUNT_SINGLE | FIELD_TYPE_FIXED64: in insertField()
326 case FIELD_COUNT_SINGLE | FIELD_TYPE_SFIXED64: in insertField()
329 case FIELD_COUNT_SINGLE | FIELD_TYPE_BOOL: in insertField()
[all …]
/frameworks/base/tools/streaming_proto/
Dstream_proto_utils.cpp16 const uint64_t FIELD_COUNT_SINGLE = 1ULL << FIELD_COUNT_SHIFT; variable
35 result |= FIELD_COUNT_SINGLE; in get_field_id()
/frameworks/base/cmds/incident/
Dmain.cpp40 using android::util::FIELD_COUNT_SINGLE;
351 proto.write(/* reason field id */ 2 | FIELD_TYPE_STRING | FIELD_COUNT_SINGLE, reason); in main()
/frameworks/base/libs/protoutil/include/android/util/
DProtoOutputStream.h76 const uint64_t FIELD_COUNT_SINGLE = 1ULL << FIELD_COUNT_SHIFT; variable
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java511 | ProtoStream.FIELD_COUNT_SINGLE | UID_FIELD_ID, in informAllUidsLocked()
514 | ProtoStream.FIELD_COUNT_SINGLE in informAllUidsLocked()
517 | ProtoStream.FIELD_COUNT_SINGLE | VERSION_STRING_FIELD_ID, in informAllUidsLocked()
520 | ProtoStream.FIELD_COUNT_SINGLE in informAllUidsLocked()
523 | ProtoStream.FIELD_COUNT_SINGLE in informAllUidsLocked()

12