Lines Matching refs:FQName
53 using ShouldGenerateFunction = std::function<bool(const FQName& fqName)>;
54 using FileNameForFQName = std::function<std::string(const FQName& fqName)>;
57 std::function<status_t(const FQName& fqName, const Coordinator* coordinator,
64 std::string getFileName(const FQName& fqName) const { in getFileName()
68 status_t getOutputFile(const FQName& fqName, const Coordinator* coordinator, in getOutputFile()
77 status_t appendOutputFiles(const FQName& fqName, const Coordinator* coordinator, in appendOutputFiles()
96 status_t generate(const FQName& fqName, const Coordinator* coordinator, in generate()
111 static bool generateForTypes(const FQName& fqName) { in generateForTypes()
115 static bool generateForInterfaces(const FQName& fqName) { return !generateForTypes(fqName); } in generateForInterfaces()
116 static bool alwaysGenerate(const FQName&) { return true; } in alwaysGenerate()
122 const FQName& fqName, const Coordinator* coordinator, const std::string& language)>;
135 status_t generate(const FQName& fqName, const Coordinator* coordinator) const;
136 status_t validate(const FQName& fqName, const Coordinator* coordinator, in validate()
141 status_t writeDepFile(const FQName& fqName, const Coordinator* coordinator) const;
144 status_t appendTargets(const FQName& fqName, const Coordinator* coordinator,
145 std::vector<FQName>* targets) const;
146 status_t appendOutputFiles(const FQName& fqName, const Coordinator* coordinator,
152 static status_t appendPerTypeTargets(const FQName& fqName, const Coordinator* coordinator, in appendPerTypeTargets()
153 std::vector<FQName>* exportedPackageInterfaces) { in appendPerTypeTargets()
170 FQName rootTypeName(fqName.package(), fqName.version(), "types." + rootType->definedName()); in appendPerTypeTargets()
176 status_t OutputHandler::appendTargets(const FQName& fqName, const Coordinator* coordinator, in appendTargets()
177 std::vector<FQName>* targets) const { in appendTargets()
197 std::vector<FQName> packageInterfaces; in appendTargets()
200 for (const FQName& packageInterface : packageInterfaces) { in appendTargets()
212 status_t OutputHandler::generate(const FQName& fqName, const Coordinator* coordinator) const { in generate()
213 std::vector<FQName> targets; in generate()
217 for (const FQName& fqName : targets) { in generate()
227 status_t OutputHandler::appendOutputFiles(const FQName& fqName, const Coordinator* coordinator, in appendOutputFiles()
229 std::vector<FQName> targets; in appendOutputFiles()
233 for (const FQName& fqName : targets) { in appendOutputFiles()
243 status_t OutputHandler::writeDepFile(const FQName& fqName, const Coordinator* coordinator) const { in writeDepFile()
263 return [generate](const FQName& fqName, const Coordinator* coordinator, in astGenerationFunction()
288 FileGenerator::alwaysGenerate, [fileName](const FQName&) { return fileName; }, in singleFileGenerator()
293 static status_t generateJavaForPackage(const FQName& fqName, const Coordinator* coordinator, in generateJavaForPackage()
297 FQName typeName; in generateJavaForPackage()
312 typeName = FQName(fqName.package(), fqName.version(), names[1]); in generateJavaForPackage()
337 static status_t dumpDefinedButUnreferencedTypeNames(const FQName& packageFQName, in dumpDefinedButUnreferencedTypeNames()
339 std::vector<FQName> packageInterfaces; in dumpDefinedButUnreferencedTypeNames()
343 std::set<FQName> unreferencedDefinitions; in dumpDefinedButUnreferencedTypeNames()
344 std::set<FQName> unreferencedImports; in dumpDefinedButUnreferencedTypeNames()
366 static std::string makeLibraryName(const FQName &packageFQName) { in makeLibraryName()
370 static status_t isPackageJavaCompatible(const FQName& packageFQName, const Coordinator* coordinator, in isPackageJavaCompatible()
372 std::vector<FQName> todo; in isPackageJavaCompatible()
380 std::set<FQName> seen; in isPackageJavaCompatible()
388 const FQName fqName = todo.back(); in isPackageJavaCompatible()
402 std::set<FQName> importedPackages; in isPackageJavaCompatible()
406 std::vector<FQName> packageInterfaces; in isPackageJavaCompatible()
430 const std::vector<FQName> &packageInterfaces, AST *typesAST) { in packageNeedsJavaCode()
457 bool validateIsPackage(const FQName& fqName, const Coordinator*, in validateIsPackage()
478 bool isHidlTransportPackage(const FQName& fqName) { in isHidlTransportPackage()
483 bool isSystemProcessSupportedPackage(const FQName& fqName) { in isSystemProcessSupportedPackage()
494 bool isCoreAndroidPackage(const FQName& package) { in isCoreAndroidPackage()
521 bool isVndkCoreLib(const FQName& fqName) { in isVndkCoreLib()
525 status_t isSystemExtPackage(const FQName& fqName, const Coordinator* coordinator, in isSystemExtPackage()
547 static status_t generateAdapterMainSource(const FQName& packageFQName, in generateAdapterMainSource()
550 std::vector<FQName> packageInterfaces; in generateAdapterMainSource()
561 for (const FQName& fqName : packageInterfaces) { in generateAdapterMainSource()
603 static status_t generateAndroidBpForPackage(const FQName& packageFQName, in generateAndroidBpForPackage()
608 std::vector<FQName> packageInterfaces; in generateAndroidBpForPackage()
616 std::set<FQName> importedPackagesHierarchy; in generateAndroidBpForPackage()
708 static status_t generateAndroidBpImplForPackage(const FQName& packageFQName, in generateAndroidBpImplForPackage()
713 std::vector<FQName> packageInterfaces; in generateAndroidBpImplForPackage()
723 std::set<FQName> importedPackages; in generateAndroidBpImplForPackage()
797 bool validateForSource(const FQName& fqName, const Coordinator* coordinator, in validateForSource()
847 return [forJava](const FQName& packageFQName, const Coordinator* coordinator, in generateExportHeaderForPackage()
852 std::vector<FQName> packageInterfaces; in generateExportHeaderForPackage()
930 static status_t generateHashOutput(const FQName& fqName, const Coordinator* coordinator, in generateHashOutput()
953 static status_t generateFunctionCount(const FQName& fqName, const Coordinator* coordinator, in generateFunctionCount()
996 [](const FQName& fqName) { return fqName.name() + ".h"; }, in __anon31ab13f90e02()
1001 [](const FQName& fqName) { in __anon31ab13f90f02()
1008 [](const FQName& fqName) { return fqName.getInterfaceStubName() + ".h"; }, in __anon31ab13f91002()
1013 [](const FQName& fqName) { return fqName.getInterfaceProxyName() + ".h"; }, in __anon31ab13f91102()
1018 [](const FQName& fqName) { return fqName.getInterfacePassthroughName() + ".h"; }, in __anon31ab13f91202()
1026 [](const FQName& fqName) { in __anon31ab13f91302()
1036 [](const FQName& fqName) { return fqName.getInterfaceBaseName() + ".h"; }, in __anon31ab13f91402()
1044 [](const FQName& fqName) { return fqName.getInterfaceBaseName() + ".cpp"; }, in __anon31ab13f91502()
1052 [](const FQName& fqName) { in __anon31ab13f91602()
1062 [](const FQName& fqName) { in __anon31ab13f91702()
1194 [](const FQName& fqName) { in __anon31ab13f91802()
1211 [](const FQName& fqName) { return fqName.getInterfaceBaseName() + ".java"; }, in __anon31ab13f91902()
1235 [](const FQName& fqName) { in __anon31ab13f91a02()
1248 [](const FQName &, const Coordinator*, const std::string &) { in __anon31ab13f91b02()
1342 [](const FQName& fqName) { return fqName.name() + ".hal"; }, in __anon31ab13f91d02()
1501 FQName fqName; in main()
1502 if (!FQName::parse(arg, &fqName)) { in main()