Home
last modified time | relevance | path

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

/packages/modules/StatsD/lib/libstatssocket/
Dstats_event.c343 void AStatsEvent_addBoolAnnotation(AStatsEvent* event, uint8_t annotationId, bool value) { in AStatsEvent_addBoolAnnotation() argument
347 } else if (annotationId > MAX_BYTE_VALUE) { in AStatsEvent_addBoolAnnotation()
352 append_byte(event, annotationId); in AStatsEvent_addBoolAnnotation()
358 void AStatsEvent_addInt32Annotation(AStatsEvent* event, uint8_t annotationId, int32_t value) { in AStatsEvent_addInt32Annotation() argument
362 } else if (annotationId > MAX_BYTE_VALUE) { in AStatsEvent_addInt32Annotation()
367 append_byte(event, annotationId); in AStatsEvent_addInt32Annotation()
/packages/modules/StatsD/lib/libstatssocket/include/
Dstats_event.h193 void AStatsEvent_addBoolAnnotation(AStatsEvent* event, uint8_t annotationId, bool value);
198 void AStatsEvent_addInt32Annotation(AStatsEvent* event, uint8_t annotationId, int32_t value);
/packages/modules/StatsD/framework/java/android/util/
DStatsEvent.java716 final byte annotationId, final boolean value) { in addBooleanAnnotation() argument
723 mPos += mBuffer.putByte(mPos, annotationId); in addBooleanAnnotation()
737 public Builder addIntAnnotation(final byte annotationId, final int value) { in addIntAnnotation() argument
743 mPos += mBuffer.putByte(mPos, annotationId); in addIntAnnotation()
/packages/modules/StatsD/statsd/tests/
DLogEvent_test.cpp50 bool createFieldWithBoolAnnotationLogEvent(LogEvent* logEvent, uint8_t typeId, uint8_t annotationId, in createFieldWithBoolAnnotationLogEvent() argument
54 AStatsEvent_addBoolAnnotation(statsEvent, annotationId, annotationValue); in createFieldWithBoolAnnotationLogEvent()
71 bool createFieldWithIntAnnotationLogEvent(LogEvent* logEvent, uint8_t typeId, uint8_t annotationId, in createFieldWithIntAnnotationLogEvent() argument
75 AStatsEvent_addInt32Annotation(statsEvent, annotationId, annotationValue); in createFieldWithIntAnnotationLogEvent()
92 bool createAtomLevelIntAnnotationLogEvent(LogEvent* logEvent, uint8_t typeId, uint8_t annotationId, in createAtomLevelIntAnnotationLogEvent() argument
96 AStatsEvent_addInt32Annotation(statsEvent, annotationId, annotationValue); in createAtomLevelIntAnnotationLogEvent()
114 bool createAtomLevelBoolAnnotationLogEvent(LogEvent* logEvent, uint8_t typeId, uint8_t annotationId, in createAtomLevelBoolAnnotationLogEvent() argument
118 AStatsEvent_addBoolAnnotation(statsEvent, annotationId, annotationValue); in createAtomLevelBoolAnnotationLogEvent()
DLogEntryMatcher_test.cpp76 const int32_t field, const uint8_t annotationId, in makeIntWithBoolAnnotationLogEvent() argument
81 AStatsEvent_addBoolAnnotation(statsEvent, annotationId, annotationValue); in makeIntWithBoolAnnotationLogEvent()
/packages/modules/StatsD/statsd/src/logd/
DLogEvent.cpp429 uint8_t annotationId = readNextValue<uint8_t>(); in parseAnnotations() local
432 switch (annotationId) { in parseAnnotations()
479 annotationId); in parseAnnotations()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/v34/
DPermissionRationaleActivity.java533 String annotationId, in replaceSpan() argument
540 || !annotation.getValue().equals(annotationId)) { in replaceSpan()
/packages/modules/StatsD/lib/libstatssocket/tests/
Dstats_event_test.cpp109 void checkAnnotation(uint8_t** buffer, uint8_t annotationId, uint8_t typeId, T annotationValue) { in checkAnnotation() argument
110 EXPECT_EQ(readNext<uint8_t>(buffer), annotationId); in checkAnnotation()