Home
last modified time | relevance | path

Searched refs:annotationId (Results 1 – 11 of 11) 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/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/
DPdfRendererPreV.java683 public void removePageAnnotation(@IntRange(from = 0) int annotationId) { in removePageAnnotation()
685 Preconditions.checkArgument(annotationId >= 0, in removePageAnnotation()
687 mPdfProcessor.removePageAnnotation(mIndex, annotationId); in removePageAnnotation()
709 public boolean updatePageAnnotation(@IntRange(from = 0) int annotationId, in updatePageAnnotation()
716 Preconditions.checkArgument(annotationId >= 0, in updatePageAnnotation()
718 return mPdfProcessor.updatePageAnnotation(mIndex, annotationId, annotation); in updatePageAnnotation()
DPdfProcessor.java647 int annotationId) { in removePageAnnotation() argument
652 int annotationIndex = pdfAnnotationsIdManager.getIndexForId(annotationId); in removePageAnnotation()
660 pdfAnnotationsIdManager.deleteId(annotationId); in removePageAnnotation()
675 public boolean updatePageAnnotation(int pageNum, int annotationId, in updatePageAnnotation() argument
680 .getIndexForId(annotationId); in updatePageAnnotation()
/packages/providers/MediaProvider/pdf/framework-v/java/android/graphics/pdf/
DPdfRenderer.java851 public void removePageAnnotation(@IntRange(from = 0) int annotationId) { in removePageAnnotation()
853 Preconditions.checkArgument(annotationId >= 0, in removePageAnnotation()
855 mPdfProcessor.removePageAnnotation(mIndex, annotationId); in removePageAnnotation()
876 public boolean updatePageAnnotation(@IntRange(from = 0) int annotationId, in updatePageAnnotation()
883 Preconditions.checkArgument(annotationId >= 0, in updatePageAnnotation()
885 return mPdfProcessor.updatePageAnnotation(mIndex, annotationId, annotation); in updatePageAnnotation()
/packages/modules/StatsD/lib/libstatssocket/include/
Dstats_event.h201 void AStatsEvent_addBoolAnnotation(AStatsEvent* event, uint8_t annotationId, bool value);
206 void AStatsEvent_addInt32Annotation(AStatsEvent* event, uint8_t annotationId, int32_t value);
/packages/modules/StatsD/framework/java/android/util/
DStatsEvent.java719 final byte annotationId, final boolean value) { in addBooleanAnnotation() argument
726 mPos += mBuffer.putByte(mPos, annotationId); in addBooleanAnnotation()
740 public Builder addIntAnnotation(final byte annotationId, final int value) { in addIntAnnotation() argument
746 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.cpp112 void checkAnnotation(uint8_t** buffer, uint8_t annotationId, uint8_t typeId, T annotationValue) { in checkAnnotation() argument
113 EXPECT_EQ(readNext<uint8_t>(buffer), annotationId); in checkAnnotation()