Home
last modified time | relevance | path

Searched refs:FQName (Results 1 – 20 of 20) sorted by relevance

/system/tools/hidl/utils/include/hidl-util/
DFQName.h27 struct FQName { struct
28 explicit FQName();
29 explicit FQName(const std::string &s);
31 FQName(const std::string &package,
37 FQName(const std::vector<std::string> &names);
39 FQName(const FQName& other);
88 FQName typeName() const;
102 bool operator<(const FQName &other) const;
103 bool operator==(const FQName &other) const;
104 bool operator!=(const FQName &other) const;
[all …]
/system/tools/hidl/utils/
DFQName.cpp55 FQName::FQName() in FQName() function in android::FQName
60 FQName::FQName(const std::string &s) in FQName() function in android::FQName
66 FQName::FQName( in FQName() function in android::FQName
79 FQName other; in FQName()
84 FQName::FQName(const FQName& other) in FQName() function in android::FQName
94 FQName::FQName(const std::vector<std::string> &names) in FQName() function in android::FQName
100 bool FQName::isValid() const { in isValid()
104 bool FQName::isIdentifier() const { in isIdentifier()
108 bool FQName::isFullyQualified() const { in isFullyQualified()
112 bool FQName::isValidValueName() const { in isValidValueName()
[all …]
DAndroid.bp21 "FQName.cpp",
/system/tools/hidl/
DCoordinator.h32 struct FQName;
58 AST* parse(const FQName& fqName, std::set<AST*>* parsedASTs = nullptr,
68 const FQName &fqName, bool relative = false,
75 std::string getPackageRoot(const FQName &fqName) const;
82 std::string getPackageRootPath(const FQName &fqName) const;
85 std::string getPackageRootOption(const FQName &fqName) const;
89 std::string convertPackageRootToPath(const FQName &fqName) const;
92 const FQName &package,
96 const FQName &package,
97 std::vector<FQName> *packageInterfaces) const;
[all …]
DAST.cpp73 FQName AST::package() const { in package()
86 FQName fqName(import); in addImport()
95 std::vector<FQName> packageInterfaces; in addImport()
124 const FQName interfaceName = fqName.getTopLevelType(); in addImport()
142 FQName matchingName; in addImport()
153 FQName typesFQName = fqName.getTypesForPackage(); in addImport()
160 FQName matchingName; in addImport()
204 FQName fqName(mPackage.package(), mPackage.version(), path); in addScopedTypeInternal()
212 EnumValue* AST::lookupEnumValue(const FQName& fqName, std::string* errorMsg, Scope* scope) { in lookupEnumValue()
213 FQName enumTypeName = fqName.typeName(); in lookupEnumValue()
[all …]
DAST.h49 FQName package() const;
63 EnumValue* lookupEnumValue(const FQName& fqName, std::string* errorMsg, Scope* scope);
68 Type* lookupType(const FQName& fqName, Scope* scope);
87 void getImportedPackages(std::set<FQName> *importSet) const;
91 void getImportedPackagesHierarchy(std::set<FQName> *importSet) const;
99 const std::set<FQName>& getImportedNames() const { in getImportedNames()
104 void getAllImportedNames(std::set<FQName> *allImportSet) const;
129 FQName mPackage;
133 std::set<FQName> mImportedNames;
145 std::map<FQName, Type *> mDefinedTypesByFullName;
[all …]
Dmain.cpp47 using ValidationFunction = std::function<bool(const FQName &, const std::string &language)>;
48 using GenerationFunction = std::function<status_t(const FQName &fqName,
60 const FQName &fqName, in generateSourcesForFile()
75 FQName typesName = fqName.getTypesForPackage(); in generateSourcesForFile()
121 const FQName &packageFQName, in generateSourcesForPackage()
130 std::vector<FQName> packageInterfaces; in generateSourcesForPackage()
152 return [language](const FQName &fqName, in generationFunctionForFileOrPackage()
171 static std::string makeLibraryName(const FQName &packageFQName) { in makeLibraryName()
175 static std::string makeJavaLibraryName(const FQName &packageFQName) { in makeJavaLibraryName()
186 const FQName &packageFQName, in generatePackagePathsSection()
[all …]
DCoordinator.cpp66 AST* Coordinator::parse(const FQName& fqName, std::set<AST*>* parsedASTs, in parse()
88 FQName typesName = fqName.getTypesForPackage(); in parse()
188 Coordinator::findPackageRoot(const FQName &fqName) const { in findPackageRoot()
217 std::string Coordinator::getAbsolutePackagePath(const FQName& fqName) const { in getAbsolutePackagePath()
227 std::string Coordinator::getPackageRoot(const FQName &fqName) const { in getPackageRoot()
233 std::string Coordinator::getPackageRootPath(const FQName &fqName) const { in getPackageRootPath()
239 std::string Coordinator::getPackageRootOption(const FQName &fqName) const { in getPackageRootOption()
244 const FQName &fqName, bool relative, bool sanitized) const { in getPackagePath()
287 const FQName &package, in getPackageInterfaceFiles()
340 const FQName &package, in appendPackageInterfacesToVector()
[all …]
DNamedType.h37 void setFullName(const FQName &fullName);
39 const FQName &fqName() const;
62 FQName mFullName;
DNamedType.cpp28 void NamedType::setFullName(const FQName &fullName) { in setFullName()
32 const FQName &NamedType::fqName() const { in fqName()
DInterface.h74 FQName getProxyFqName() const;
75 FQName getStubFqName() const;
76 FQName getPassthroughFqName() const;
DScope.cpp51 NamedType *Scope::lookupType(const FQName &fqName) const { in lookupType()
76 FQName innerName(names); in lookupType()
DScope.h40 NamedType *lookupType(const FQName &fqName) const;
DgenerateVts.cpp85 std::set<FQName> allImportedNames; in generateVts()
DInterface.cpp605 FQName Interface::getProxyFqName() const { in getProxyFqName()
609 FQName Interface::getStubFqName() const { in getStubFqName()
613 FQName Interface::getPassthroughFqName() const { in getPassthroughFqName()
Dhidl-gen_y.yy35 #include <hidl-util/FQName.h>
294 android::FQName *fqName;
463 $$ = new FQName($1);
465 std::cerr << "ERROR: FQName '" << $1 << "' is not valid at "
473 $$ = new FQName($1);
475 std::cerr << "ERROR: FQName '" << $1 << "' is not valid at "
DType.h32 struct FQName;
DgenerateCpp.cpp96 const FQName &package, in generateCppPackageInclude()
168 const FQName &fqName, in implementGetService()
349 const FQName &fqName, const std::string &package) { in implementServiceManagerInteractions()
1520 Formatter &out, const FQName &fqName) const { in generateProxySource()
/system/hwservicemanager/
DAccessControl.cpp19 using android::FQName;
39 FQName fqIface(fqName); in canAdd()
50 FQName fqIface(fqName); in canGet()
DVintf.cpp15 const FQName &fqName, const std::string &instanceName, in getTransportFromManifest()
26 FQName fqName(interfaceName); in getTransport()