/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | NonSdkApiWrapperTest.java | 40 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/ |
D | Collation.h | 147 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;
|
D | java_writer_vendor.cpp | 107 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()
|
D | test_api_gen_vendor.cpp | 260 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 …]
|
D | test_collation.cpp | 403 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 …]
|
D | native_writer_vendor.cpp | 99 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()
|
D | java_writer.cpp | 93 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()
|
D | native_writer.cpp | 59 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()
|
D | rust_writer.cpp | 258 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()
|
D | Collation.cpp | 152 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/ |
D | VendorAtomCodeGenTest.java | 255 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/ |
D | Annotation.aidl | 26 AnnotationId annotationId = AnnotationId.UNKNOWN;
|
/frameworks/hardware/interfaces/stats/aidl/aidl_api/android.frameworks.stats/2/android/frameworks/stats/ |
D | Annotation.aidl | 37 …android.frameworks.stats.AnnotationId annotationId = android.frameworks.stats.AnnotationId.UNKNOWN;
|
/frameworks/hardware/interfaces/stats/aidl/aidl_api/android.frameworks.stats/current/android/frameworks/stats/ |
D | Annotation.aidl | 37 …android.frameworks.stats.AnnotationId annotationId = android.frameworks.stats.AnnotationId.UNKNOWN;
|
/frameworks/native/services/stats/ |
D | StatsAidl.cpp | 56 AStatsEvent_addBoolAnnotation(event, to_underlying(annotation.annotationId), in write_annotation() 61 AStatsEvent_addInt32Annotation(event, to_underlying(annotation.annotationId), in write_annotation()
|