Home
last modified time | relevance | path

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

/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/tests/
DParsedDataBuilderTest.java53 assertThat(classData.annotationData.isSystemApi).isTrue(); in testClassData()
58 assertThat(constructorData.annotationData.isSystemApi).isFalse(); in testClassData()
69 assertThat(classData.annotationData.isSystemApi).isFalse(); in testClassData()
74 assertThat(constructorData.annotationData.isSystemApi).isFalse(); in testClassData()
77 assertThat(constructorData.annotationData.isSystemApi).isFalse(); in testClassData()
89 assertThat(classData.annotationData.isSystemApi).isTrue(); in testClassData()
101 assertThat(classData.annotationData.isSystemApi).isTrue(); in testClassData()
122 AnnotationData annotationData = fieldData.annotationData; in testFieldDataAndAnnotationData() local
123 assertThat(annotationData.isSystemApi).isFalse(); in testFieldDataAndAnnotationData()
124 assertThat(annotationData.hasAddedInOrBefore).isTrue(); in testFieldDataAndAnnotationData()
[all …]
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/
DParsedDataHelper.java51 if (!classData.annotationData.isSystemApi && classData.isClassHidden) { in getNonHiddenClassNamesOnly()
64 if (field.annotationData.hasAddedInOrBefore) { in getAddedInOrBeforeApisOnly()
72 if (method.annotationData.hasAddedInOrBefore) { in getAddedInOrBeforeApisOnly()
85 if ((!field.annotationData.isSystemApi && field.isHidden) in getHiddenApisOnly()
87 && !classData.annotationData.isSystemApi)) { in getHiddenApisOnly()
95 if ((!method.annotationData.isSystemApi && method.isHidden) in getHiddenApisOnly()
97 && !classData.annotationData.isSystemApi)) { in getHiddenApisOnly()
112 && !constructorData.annotationData.isSystemApi) in getHiddenApisWithHiddenConstructor()
114 && !classData.annotationData.isSystemApi)) { in getHiddenApisWithHiddenConstructor()
160 if (!method.annotationData.hasApiRequirementAnnotation in checkAssertPlatformVersionAtLeast()
[all …]
DParsedDataBuilder.java85 constructorData.annotationData = getAnnotationData( in populateParsedDataForFile()
100 fieldData.annotationData = getAnnotationData(field.getAnnotations()); in populateParsedDataForFile()
113 methodData.annotationData = getAnnotationData(method.getAnnotations()); in populateParsedDataForFile()
151 classData.annotationData = getAnnotationData(n.getAnnotations()); in getClassData()
326 AnnotationData annotationData = new AnnotationData(); in getAnnotationData() local
327 annotationData.isSystemApi = isSystem; in getAnnotationData()
328 annotationData.hasAddedInOrBefore = hasAddedInOrBefore; in getAnnotationData()
329 annotationData.addedInOrBeforeMajorVersion = addedInOrBeforeMajorVersion; in getAnnotationData()
330 annotationData.addedInOrBeforeMinorVersion = addedInOrBeforeMinorVersion; in getAnnotationData()
331 annotationData.hasDeprecatedAddedInAnnotation = hasDeprecatedAddedInAnnotation; in getAnnotationData()
[all …]
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/data/
DConstructorData.java24 public AnnotationData annotationData; field in ConstructorData
DFieldData.java26 public AnnotationData annotationData; field in FieldData
DMethodData.java26 public AnnotationData annotationData; field in MethodData
DClassData.java32 public AnnotationData annotationData; field in ClassData