Home
last modified time | relevance | path

Searched refs:classData (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/
DParsedDataHelper.java40 .forEach((classData) -> classes.add(classData.useableClassName))); in getClassNamesOnly()
50 .forEach((classData) -> { in getNonHiddenClassNamesOnly()
51 if (!classData.annotationData.isSystemApi && classData.isClassHidden) { in getNonHiddenClassNamesOnly()
54 classes.add(classData.useableClassName); in getNonHiddenClassNamesOnly()
62 .forEach((classData) -> classData.fields.values().forEach( in getAddedInOrBeforeApisOnly()
66 + classData.onlyClassName + "." + field.fieldName); in getAddedInOrBeforeApisOnly()
70 .forEach((classData) -> classData.methods.values().forEach( in getAddedInOrBeforeApisOnly()
74 + classData.onlyClassName + "." + method.methodName); in getAddedInOrBeforeApisOnly()
83 .forEach((classData) -> classData.fields.values().forEach( in getHiddenApisOnly()
86 || (classData.isClassHidden in getHiddenApisOnly()
[all …]
DParsedDataBuilder.java69 ClassData classData = getClassData(n, packageName); in populateParsedDataForFile() local
71 if (classData == null) { in populateParsedDataForFile()
87 classData.constructors.put(constructorData.fullConstructorName, in populateParsedDataForFile()
101 classData.fields.put(fieldData.fieldName, fieldData); in populateParsedDataForFile()
116 classData.methods.put(methodData.fullMethodname, methodData); in populateParsedDataForFile()
119 packageData.addClass(classData); in populateParsedDataForFile()
145 ClassData classData = new ClassData(); in getClassData() local
146 classData.fullyQualifiedClassName = fullyQualifiedClasName; in getClassData()
147 classData.onlyClassName = onlyClassName; in getClassData()
148 classData.useableClassName = useableClassName; in getClassData()
[all …]
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/tests/
DParsedDataBuilderTest.java46 ClassData classData = packageData.classes.get(className); in testClassData() local
47 assertThat(classData).isNotNull(); in testClassData()
48 assertThat(classData.isClassHidden).isTrue(); in testClassData()
49 assertThat(classData.fullyQualifiedClassName).isEqualTo(className); in testClassData()
50 assertThat(classData.onlyClassName).isEqualTo("Test1"); in testClassData()
51 assertThat(classData.useableClassName).isEqualTo(className); in testClassData()
52 assertThat(classData.isInterface).isFalse(); in testClassData()
53 assertThat(classData.annotationData.isSystemApi).isTrue(); in testClassData()
54 assertThat(classData.constructors.size()).isEqualTo(1); in testClassData()
55 ConstructorData constructorData = classData.constructors in testClassData()
[all …]
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/data/
DPackageData.java31 public void addClass(ClassData classData) { in addClass() argument
33 if (classes.containsKey(classData.fullyQualifiedClassName)) { in addClass()
35 System.out.println("Class already exists." + classData); in addClass()
38 classes.put(classData.fullyQualifiedClassName, classData); in addClass()