Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DNonSdkApiWrapperTest.java40 final String annotationId = "id"; in testLinkifyAnnotation_annotation_returnTextWithClickableSpan() local
45 builder.append(testLink, new Annotation("key", annotationId), in testLinkifyAnnotation_annotation_returnTextWithClickableSpan()
49 mock(Context.class), builder, annotationId, "url"); in testLinkifyAnnotation_annotation_returnTextWithClickableSpan()
59 final String annotationId = "url"; in testLinkifyAnnotation_annotationWithEmptyUriString_returnOriginalText() local
64 builder.append(testLink, new Annotation("key", annotationId), in testLinkifyAnnotation_annotationWithEmptyUriString_returnOriginalText()
68 mock(Context.class), builder, annotationId, ""); in testLinkifyAnnotation_annotationWithEmptyUriString_returnOriginalText()
/frameworks/proto_logging/stats/stats_log_api_gen/
DCollation.h147 const AnnotationId annotationId; member
152 inline Annotation(AnnotationId annotationId, int atomId, AnnotationType type, in Annotation()
154 : annotationId(annotationId), atomId(atomId), type(type), value(value) { in Annotation()
160 return atomId == that.atomId ? annotationId < that.annotationId : atomId < that.atomId;
Djava_writer_vendor.cpp107 if (ANNOTATION_ID_TRIGGER_STATE_RESET == annotation->annotationId) { in write_annotations_vendor_for_field()
109 } else if (ANNOTATION_ID_DEFAULT_STATE == annotation->annotationId) { in write_annotations_vendor_for_field()
122 (ANNOTATION_ID_TRIGGER_STATE_RESET != annotation->annotationId && in write_annotations_vendor_for_field()
123 ANNOTATION_ID_DEFAULT_STATE != annotation->annotationId)) || in write_annotations_vendor_for_field()
138 annotationIdConstants.at(annotation->annotationId); in write_annotations_vendor_for_field()
141 if (ANNOTATION_ID_RESTRICTION_CATEGORY == annotation->annotationId) { in write_annotations_vendor_for_field()
145 } else if (ANNOTATION_ID_TRIGGER_STATE_RESET != annotation->annotationId && in write_annotations_vendor_for_field()
146 ANNOTATION_ID_DEFAULT_STATE != annotation->annotationId) { in write_annotations_vendor_for_field()
Dtest_api_gen_vendor.cpp260 EXPECT_EQ(atom1.atomAnnotations.value()[0]->annotationId, AnnotationId::TRUNCATE_TIMESTAMP); in TEST()
273 EXPECT_EQ(atom2.atomAnnotations.value()[0]->annotationId, AnnotationId::TRUNCATE_TIMESTAMP); in TEST()
284 EXPECT_EQ(atom3.atomAnnotations.value()[0]->annotationId, AnnotationId::TRUNCATE_TIMESTAMP); in TEST()
309 EXPECT_EQ(atom.valuesAnnotations.value()[0]->annotations[0].annotationId, in TEST()
342 EXPECT_EQ(atom.valuesAnnotations.value()[0]->annotations[0].annotationId, in TEST()
350 EXPECT_EQ(atom.valuesAnnotations.value()[1]->annotations[0].annotationId, in TEST()
384 EXPECT_EQ(atom.valuesAnnotations.value()[0]->annotations[0].annotationId, in TEST()
392 EXPECT_EQ(atom.valuesAnnotations.value()[1]->annotations[0].annotationId, in TEST()
400 EXPECT_EQ(atom.valuesAnnotations.value()[2]->annotations[0].annotationId, in TEST()
433 EXPECT_EQ(atom.valuesAnnotations.value()[0]->annotations[0].annotationId, in TEST()
[all …]
Dtest_collation.cpp403 EXPECT_EQ(ANNOTATION_ID_IS_UID, annotation->annotationId); in TEST_P()
418 EXPECT_EQ(ANNOTATION_ID_EXCLUSIVE_STATE, annotation->annotationId); in TEST_P()
473 EXPECT_EQ(ANNOTATION_ID_IS_UID, annotation->annotationId); in TEST_P()
488 EXPECT_EQ(ANNOTATION_ID_EXCLUSIVE_STATE, annotation->annotationId); in TEST_P()
598 EXPECT_EQ(ANNOTATION_ID_IS_UID, annotation->annotationId); in TEST()
642 EXPECT_EQ(ANNOTATION_ID_RESTRICTION_CATEGORY, annotation->annotationId); in TEST_P()
649 EXPECT_EQ(ANNOTATION_ID_FIELD_RESTRICTION_APP_USAGE, annotation->annotationId); in TEST_P()
656 EXPECT_EQ(ANNOTATION_ID_FIELD_RESTRICTION_HEALTH_CONNECT, annotation->annotationId); in TEST_P()
663 EXPECT_EQ(ANNOTATION_ID_FIELD_RESTRICTION_ACCESSIBILITY, annotation->annotationId); in TEST_P()
670 EXPECT_EQ(ANNOTATION_ID_FIELD_RESTRICTION_SYSTEM_SEARCH, annotation->annotationId); in TEST_P()
[all …]
Dnative_writer_vendor.cpp99 ANNOTATION_ID_CONSTANTS.at(annotation->annotationId); in write_native_annotations_vendor_for_field()
102 if (ANNOTATION_ID_TRIGGER_STATE_RESET == annotation->annotationId) { in write_native_annotations_vendor_for_field()
104 } else if (ANNOTATION_ID_DEFAULT_STATE == annotation->annotationId) { in write_native_annotations_vendor_for_field()
106 } else if (ANNOTATION_ID_RESTRICTION_CATEGORY == annotation->annotationId) { in write_native_annotations_vendor_for_field()
Djava_writer.cpp93 ANNOTATION_ID_CONSTANTS.at(annotation->annotationId); in write_annotations()
97 if (ANNOTATION_ID_TRIGGER_STATE_RESET == annotation->annotationId) { in write_annotations()
99 } else if (ANNOTATION_ID_DEFAULT_STATE == annotation->annotationId) { in write_annotations()
101 } else if (ANNOTATION_ID_RESTRICTION_CATEGORY == annotation->annotationId) { in write_annotations()
Dnative_writer.cpp59 ANNOTATION_ID_CONSTANTS.at(annotation->annotationId).name; in write_annotations()
62 if (ANNOTATION_ID_TRIGGER_STATE_RESET == annotation->annotationId) { in write_annotations()
64 } else if (ANNOTATION_ID_DEFAULT_STATE == annotation->annotationId) { in write_annotations()
66 } else if (ANNOTATION_ID_RESTRICTION_CATEGORY == annotation->annotationId) { in write_annotations()
Drust_writer.cpp258 ANNOTATION_ID_CONSTANTS.at(annotation->annotationId).name; in write_annotations()
261 if (ANNOTATION_ID_TRIGGER_STATE_RESET == annotation->annotationId) { in write_annotations()
263 } else if (ANNOTATION_ID_DEFAULT_STATE == annotation->annotationId) { in write_annotations()
DCollation.cpp152 const AnnotationId annotationId, in addAnnotationToAtomDecl() argument
157 fieldNumber, annotationId, annotationType); in addAnnotationToAtomDecl()
160 make_shared<Annotation>(annotationId, atomDecl.code, annotationType, annotationValue)); in addAnnotationToAtomDecl()
/frameworks/proto_logging/stats/stats_log_api_gen/test_java/src/com/android/test/statslogapigen/
DVendorAtomCodeGenTest.java255 assertThat(atom.atomAnnotations[0].annotationId).isEqualTo(AnnotationId.TRUNCATE_TIMESTAMP); in testCreateAtomWithTruncateTimestampApiGen()
274 assertThat(atom2.atomAnnotations[0].annotationId) in testCreateAtomWithTruncateTimestampApiGen()
290 assertThat(atom3.atomAnnotations[0].annotationId) in testCreateAtomWithTruncateTimestampApiGen()
309 assertThat(atom4.valuesAnnotations[0].annotations[0].annotationId) in testCreateAtomWithTruncateTimestampApiGen()
345 assertThat(atom.valuesAnnotations[0].annotations[0].annotationId) in testCreateAtomWithStateAnnotationsApiGen()
351 assertThat(atom.valuesAnnotations[1].annotations[0].annotationId) in testCreateAtomWithStateAnnotationsApiGen()
388 assertThat(atom.valuesAnnotations[0].annotations[0].annotationId) in testCreateAtomWithMultipleStateAnnotationsApiGen()
394 assertThat(atom.valuesAnnotations[1].annotations[0].annotationId) in testCreateAtomWithMultipleStateAnnotationsApiGen()
400 assertThat(atom.valuesAnnotations[2].annotations[0].annotationId) in testCreateAtomWithMultipleStateAnnotationsApiGen()
437 assertThat(atom.valuesAnnotations[0].annotations[0].annotationId) in testCreateAtomWithMultipleAnnotationsPerValueApiGen()
[all …]
/frameworks/hardware/interfaces/stats/aidl/android/frameworks/stats/
DAnnotation.aidl26 AnnotationId annotationId = AnnotationId.UNKNOWN;
/frameworks/hardware/interfaces/stats/aidl/aidl_api/android.frameworks.stats/2/android/frameworks/stats/
DAnnotation.aidl37 …android.frameworks.stats.AnnotationId annotationId = android.frameworks.stats.AnnotationId.UNKNOWN;
/frameworks/hardware/interfaces/stats/aidl/aidl_api/android.frameworks.stats/current/android/frameworks/stats/
DAnnotation.aidl37 …android.frameworks.stats.AnnotationId annotationId = android.frameworks.stats.AnnotationId.UNKNOWN;
/frameworks/native/services/stats/
DStatsAidl.cpp56 AStatsEvent_addBoolAnnotation(event, to_underlying(annotation.annotationId), in write_annotation()
61 AStatsEvent_addInt32Annotation(event, to_underlying(annotation.annotationId), in write_annotation()