/frameworks/base/core/java/android/util/proto/ |
D | ProtoOutputStream.java | 234 case (int)((FIELD_TYPE_DOUBLE | FIELD_COUNT_REPEATED) >> FIELD_TYPE_SHIFT): in write() 242 case (int)((FIELD_TYPE_FLOAT | FIELD_COUNT_REPEATED) >> FIELD_TYPE_SHIFT): in write() 250 case (int)((FIELD_TYPE_INT32 | FIELD_COUNT_REPEATED) >> FIELD_TYPE_SHIFT): in write() 258 case (int)((FIELD_TYPE_INT64 | FIELD_COUNT_REPEATED) >> FIELD_TYPE_SHIFT): in write() 266 case (int)((FIELD_TYPE_UINT32 | FIELD_COUNT_REPEATED) >> FIELD_TYPE_SHIFT): in write() 274 case (int)((FIELD_TYPE_UINT64 | FIELD_COUNT_REPEATED) >> FIELD_TYPE_SHIFT): in write() 282 case (int)((FIELD_TYPE_SINT32 | FIELD_COUNT_REPEATED) >> FIELD_TYPE_SHIFT): in write() 290 case (int)((FIELD_TYPE_SINT64 | FIELD_COUNT_REPEATED) >> FIELD_TYPE_SHIFT): in write() 298 case (int)((FIELD_TYPE_FIXED32 | FIELD_COUNT_REPEATED) >> FIELD_TYPE_SHIFT): in write() 306 case (int)((FIELD_TYPE_FIXED64 | FIELD_COUNT_REPEATED) >> FIELD_TYPE_SHIFT): in write() [all …]
|
D | ProtoStream.java | 361 public static final long FIELD_COUNT_REPEATED = 2L << FIELD_COUNT_SHIFT; field in ProtoStream 396 } else if (fieldCount == FIELD_COUNT_REPEATED) { in getFieldCountString()
|
D | ProtoInputStream.java | 504 (fieldId & FIELD_COUNT_REPEATED) == FIELD_COUNT_REPEATED, mDepth, in start() 510 (fieldId & FIELD_COUNT_REPEATED) == FIELD_COUNT_REPEATED, mDepth, in start()
|
/frameworks/base/cmds/statsd/src/guardrail/ |
D | StatsdStats.cpp | 30 using android::util::FIELD_COUNT_REPEATED; 793 proto->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_CONFIG_STATS); in addConfigStatsToProto() 812 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_BROADCAST | FIELD_COUNT_REPEATED, in addConfigStatsToProto() 817 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_ACTIVATION | FIELD_COUNT_REPEATED, in addConfigStatsToProto() 822 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_DEACTIVATION | FIELD_COUNT_REPEATED, in addConfigStatsToProto() 827 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_DATA_DROP_TIME | FIELD_COUNT_REPEATED, in addConfigStatsToProto() 833 FIELD_TYPE_INT64 | FIELD_ID_CONFIG_STATS_DATA_DROP_BYTES | FIELD_COUNT_REPEATED, in addConfigStatsToProto() 839 FIELD_COUNT_REPEATED, in addConfigStatsToProto() 845 FIELD_COUNT_REPEATED, in addConfigStatsToProto() 850 uint64_t token = proto->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | in addConfigStatsToProto() [all …]
|
/frameworks/base/cmds/statsd/src/ |
D | stats_log_util.cpp | 25 using android::util::FIELD_COUNT_REPEATED; 103 uint64_t token = protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | in writeDimensionToProtoHelper() 140 FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | DIMENSIONS_VALUE_TUPLE_VALUE); in writeDimensionToProtoHelper() 171 uint64_t token = protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | in writeDimensionLeafToProtoHelper() 230 uint64_t token = protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | in writeDimensionPathToProtoHelper() 240 FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | DIMENSIONS_VALUE_TUPLE_VALUE); in writeDimensionPathToProtoHelper() 388 protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | fieldNum); in writeFieldValueTreeToStreamHelper() 455 FIELD_COUNT_REPEATED); in writePullerStatsToStream() 493 FIELD_COUNT_REPEATED); in writeAtomMetricStatsToStream()
|
/frameworks/base/tools/streaming_proto/ |
D | stream_proto_utils.cpp | 17 const uint64_t FIELD_COUNT_REPEATED = 2ULL << FIELD_COUNT_SHIFT; variable 33 result |= FIELD_COUNT_REPEATED; in get_field_id()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | GaugeMetricProducer.cpp | 24 using android::util::FIELD_COUNT_REPEATED; 222 protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_SKIPPED); in onDumpReportLocked() 235 protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_DATA); in onDumpReportLocked() 264 FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_BUCKET_INFO); in onDumpReportLocked() 279 protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | in onDumpReportLocked() 288 FIELD_TYPE_INT64 | FIELD_COUNT_REPEATED | FIELD_ID_ELAPSED_ATOM_TIMESTAMP, in onDumpReportLocked()
|
D | EventMetricProducer.cpp | 27 using android::util::FIELD_COUNT_REPEATED; 148 mProto->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_DATA); in onMatchedLogEventInternalLocked()
|
D | MetricsManager.cpp | 37 using android::util::FIELD_COUNT_REPEATED; 246 FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_METRICS); in onDumpReport() 260 uint64_t token = protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | in onDumpReport() 551 const uint64_t metricToken = proto->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | in writeActiveConfigToProtoOutputStream()
|
D | CountMetricProducer.cpp | 28 using android::util::FIELD_COUNT_REPEATED; 190 protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_DATA); in onDumpReportLocked() 218 FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_BUCKET_INFO); in onDumpReportLocked()
|
D | MetricProducer.cpp | 21 using android::util::FIELD_COUNT_REPEATED; 204 const uint64_t activationToken = proto->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | in writeActiveMetricToProtoOutputStream()
|
D | ValueMetricProducer.cpp | 27 using android::util::FIELD_COUNT_REPEATED; 253 protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_SKIPPED); in onDumpReportLocked() 265 protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_DATA); in onDumpReportLocked() 293 FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_BUCKET_INFO); in onDumpReportLocked() 313 FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_VALUES); in onDumpReportLocked()
|
/frameworks/base/cmds/statsd/src/shell/ |
D | ShellSubscriber.cpp | 110 util::FIELD_COUNT_REPEATED | FIELD_ID_ATOM); in writeToOutputLocked() 208 util::FIELD_COUNT_REPEATED | FIELD_ID_ATOM); in onLogEvent()
|
/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/ |
D | ProtoInputStreamInt32Test.java | 155 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_INT32; in testRepeated() 262 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_INT32; in testRepeatedCompat() 408 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_INT32; in testPackedCompat()
|
D | ProtoInputStreamFixed32Test.java | 153 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_FIXED32; in testRepeated() 256 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_FIXED32; in testRepeatedCompat() 390 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_FIXED32; in testPackedCompat()
|
D | ProtoInputStreamSInt32Test.java | 153 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_SINT32; in testRepeated() 256 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_SINT32; in testRepeatedCompat() 390 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_SINT32; in testPackedCompat()
|
D | ProtoInputStreamSFixed32Test.java | 153 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_SFIXED32; in testRepeated() 256 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_SFIXED32; in testRepeatedCompat() 390 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_SFIXED32; in testPackedCompat()
|
D | ProtoInputStreamUInt32Test.java | 155 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_UINT32; in testRepeated() 261 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_UINT32; in testRepeatedCompat() 407 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_UINT32; in testPackedCompat()
|
D | ProtoInputStreamSInt64Test.java | 173 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_SINT64; in testRepeated() 304 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_SINT64; in testRepeatedCompat() 465 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_SINT64; in testPackedCompat()
|
D | ProtoInputStreamUInt64Test.java | 175 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_UINT64; in testRepeated() 309 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_UINT64; in testRepeatedCompat() 484 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_UINT64; in testPackedCompat()
|
D | ProtoInputStreamFixed64Test.java | 178 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_FIXED64; in testRepeated() 319 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_FIXED64; in testRepeatedCompat() 490 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_FIXED64; in testPackedCompat()
|
D | ProtoInputStreamSFixed64Test.java | 178 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_SFIXED64; in testRepeated() 319 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_SFIXED64; in testRepeatedCompat() 490 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_SFIXED64; in testPackedCompat()
|
D | ProtoInputStreamInt64Test.java | 176 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_INT64; in testRepeated() 311 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_INT64; in testRepeatedCompat() 488 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_INT64; in testPackedCompat()
|
D | ProtoInputStreamStringTest.java | 147 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_STRING; in testRepeated() 245 final long fieldFlags = ProtoStream.FIELD_COUNT_REPEATED | ProtoStream.FIELD_TYPE_STRING; in testRepeatedCompat()
|
/frameworks/base/cmds/statsd/src/packages/ |
D | UidMap.cpp | 29 using android::util::FIELD_COUNT_REPEATED; 334 uint64_t token = proto->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | in writeUidMapSnapshotLocked() 378 proto->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_CHANGES); in appendUidMap() 414 proto->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_SNAPSHOTS); in appendUidMap()
|