Home
last modified time | relevance | path

Searched defs:FileGenerator (Results 1 – 1 of 1) sorted by relevance

/system/tools/hidl/
Dmain.cpp51 struct FileGenerator { struct
52 using ShouldGenerateFunction = std::function<bool(const FQName& fqName)>;
53 using FileNameForFQName = std::function<std::string(const FQName& fqName)>;
54 using GenerationFunction = std::function<status_t(Formatter& out, const FQName& fqName,
57 ShouldGenerateFunction mShouldGenerateForFqName; // If generate function applies to this target
58 FileNameForFQName mFileNameForFqName; // Target -> filename
59 GenerationFunction mGenerationFunction; // Function to generate output for file
61 std::string getFileName(const FQName& fqName) const { in getFileName()
65 status_t getOutputFile(const FQName& fqName, const Coordinator* coordinator, in getOutputFile()
74 status_t appendOutputFiles(const FQName& fqName, const Coordinator* coordinator, in appendOutputFiles()
[all …]