Home
last modified time | relevance | path

Searched refs:AnnotationParam (Results 1 – 5 of 5) sorted by relevance

/system/tools/hidl/
DAnnotation.cpp27 AnnotationParam::AnnotationParam(const std::string& name) : mName(name) {} in AnnotationParam() function in android::AnnotationParam
29 const std::string& AnnotationParam::getName() const { in getName()
33 std::vector<ConstantExpression*> AnnotationParam::getConstantExpressions() { in getConstantExpressions()
34 const auto& constRet = static_cast<const AnnotationParam*>(this)->getConstantExpressions(); in getConstantExpressions()
41 std::vector<const ConstantExpression*> AnnotationParam::getConstantExpressions() const { in getConstantExpressions()
45 std::string AnnotationParam::getSingleString() const { in getSingleString()
57 bool AnnotationParam::getSingleBool() const { in getSingleBool()
72 : AnnotationParam(name), mValues(values) {} in StringAnnotationParam()
85 : AnnotationParam(name), mValues(values) {} in ConstantExpressionAnnotationParam()
118 const AnnotationParam *Annotation::getParam(const std::string &name) const { in getParam()
[all …]
DAnnotation.h32 struct AnnotationParam { struct
33 virtual ~AnnotationParam() {} in ~AnnotationParam() argument
52 AnnotationParam(const std::string& name);
55 struct StringAnnotationParam : AnnotationParam {
65 struct ConstantExpressionAnnotationParam : AnnotationParam {
78 using AnnotationParamVector = std::vector<AnnotationParam*>;
85 const AnnotationParam *getParam(const std::string &name) const;
DEnumType.cpp632 const AnnotationParam *nameParam = annotation->getParam("name"); in emitExportedHeader()
638 const AnnotationParam *exportParentParam = annotation->getParam("export_parent"); in emitExportedHeader()
644 const AnnotationParam *prefixParam = annotation->getParam("value_prefix"); in emitExportedHeader()
650 const AnnotationParam *suffixParam = annotation->getParam("value_suffix"); in emitExportedHeader()
DInterface.cpp937 const AnnotationParam *param = in emitVtsMethodDeclaration()
Dhidl-gen_y.yy331 android::AnnotationParam *annotationParam;