Home
last modified time | relevance | path

Searched refs:methodData (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/tests/
DParsedDataBuilderTest.java249 MethodData methodData = classData.methods.get("method_1(UserStopRequest request, " in testMethodData() local
251 assertThat(methodData.isHidden).isTrue(); in testMethodData()
252 assertThat(methodData.methodName).isEqualTo("method_1"); in testMethodData()
253 assertThat(methodData.fullMethodname).isEqualTo("method_1(UserStopRequest request, " in testMethodData()
255 assertThat(methodData.returnType).isEqualTo("void"); in testMethodData()
256 assertThat(methodData.firstBodyStatement.isExpressionStmt()).isTrue(); in testMethodData()
258 methodData = classData.methods.get("method_2()"); in testMethodData()
259 assertThat(methodData.isHidden).isTrue(); in testMethodData()
260 assertThat(methodData.methodName).isEqualTo("method_2"); in testMethodData()
261 assertThat(methodData.fullMethodname).isEqualTo("method_2()"); in testMethodData()
[all …]
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/
DParsedDataBuilder.java108 MethodData methodData = getMethodData(n, method); in populateParsedDataForFile() local
109 if (methodData == null) { in populateParsedDataForFile()
113 methodData.annotationData = getAnnotationData(method.getAnnotations()); in populateParsedDataForFile()
115 methodData.fileName = storage.getDirectory() + "/" + storage.getFileName(); in populateParsedDataForFile()
116 classData.methods.put(methodData.fullMethodname, methodData); in populateParsedDataForFile()
236 MethodData methodData = new MethodData(methodName, returnType); in getMethodData() local
237 methodData.isHidden = isHidden; in getMethodData()
238 methodData.fullMethodname = fullMethodNameString.toString(); in getMethodData()
239 methodData.firstBodyStatement = getFirstBodyStatement(method); in getMethodData()
240 return methodData; in getMethodData()