Home
last modified time | relevance | path

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

/packages/modules/StatsD/lib/libstatssocket/
Dstats_event.c281 void AStatsEvent_addBoolAnnotation(AStatsEvent* event, uint8_t annotationId, bool value) { in AStatsEvent_addBoolAnnotation() argument
285 } else if (annotationId > MAX_BYTE_VALUE) { in AStatsEvent_addBoolAnnotation()
290 append_byte(event, annotationId); in AStatsEvent_addBoolAnnotation()
296 void AStatsEvent_addInt32Annotation(AStatsEvent* event, uint8_t annotationId, int32_t value) { in AStatsEvent_addInt32Annotation() argument
300 } else if (annotationId > MAX_BYTE_VALUE) { in AStatsEvent_addInt32Annotation()
305 append_byte(event, annotationId); in AStatsEvent_addInt32Annotation()
/packages/modules/StatsD/lib/libstatssocket/include/
Dstats_event.h146 void AStatsEvent_addBoolAnnotation(AStatsEvent* event, uint8_t annotationId, bool value);
151 void AStatsEvent_addInt32Annotation(AStatsEvent* event, uint8_t annotationId, int32_t value);
/packages/modules/StatsD/framework/java/android/util/
DStatsEvent.java581 final byte annotationId, final boolean value) { in addBooleanAnnotation() argument
588 mPos += mBuffer.putByte(mPos, annotationId); in addBooleanAnnotation()
602 public Builder addIntAnnotation(final byte annotationId, final int value) { in addIntAnnotation() argument
608 mPos += mBuffer.putByte(mPos, annotationId); in addIntAnnotation()
/packages/modules/StatsD/statsd/tests/
DLogEvent_test.cpp48 void createIntWithBoolAnnotationLogEvent(LogEvent* logEvent, uint8_t annotationId, in createIntWithBoolAnnotationLogEvent() argument
53 AStatsEvent_addBoolAnnotation(statsEvent, annotationId, annotationValue); in createIntWithBoolAnnotationLogEvent()
63 void createIntWithIntAnnotationLogEvent(LogEvent* logEvent, uint8_t annotationId, in createIntWithIntAnnotationLogEvent() argument
68 AStatsEvent_addInt32Annotation(statsEvent, annotationId, annotationValue); in createIntWithIntAnnotationLogEvent()
DLogEntryMatcher_test.cpp75 const int32_t field, const uint8_t annotationId, in makeIntWithBoolAnnotationLogEvent() argument
80 AStatsEvent_addBoolAnnotation(statsEvent, annotationId, annotationValue); in makeIntWithBoolAnnotationLogEvent()
/packages/modules/StatsD/lib/libstatssocket/tests/
Dstats_event_test.cpp91 void checkAnnotation(uint8_t** buffer, uint8_t annotationId, uint8_t typeId, T annotationValue) { in checkAnnotation() argument
92 EXPECT_EQ(readNext<uint8_t>(buffer), annotationId); in checkAnnotation()
/packages/modules/StatsD/statsd/src/logd/
DLogEvent.cpp330 uint8_t annotationId = readNextValue<uint8_t>(); in parseAnnotations() local
333 switch (annotationId) { in parseAnnotations()