Home
last modified time | relevance | path

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

/system/tools/hidl/
DgenerateCppAdapter.cpp38 const std::string klassName = AST::isInterface() ? getInterface()->getAdapterName() : "Atypes"; in generateCppAdapterHeader() local
39 const std::string guard = makeHeaderGuard(klassName, true /* indicateGenerated */); in generateCppAdapterHeader()
52 out << "class " << klassName << " : public " << mockName << " "; in generateCppAdapterHeader()
57 out << klassName << "(const ::android::sp<" << mockName << ">& impl);\n"; in generateCppAdapterHeader()
82 const std::string klassName = AST::isInterface() ? getInterface()->getAdapterName() : "Atypes"; in generateCppAdapterSource() local
84 generateCppPackageInclude(out, mPackage, klassName); in generateCppAdapterSource()
106 out << klassName << "::" << klassName << "(const ::android::sp<" << mockName in generateCppAdapterSource()
140 const std::string klassName = getInterface()->getAdapterName(); in generateAdapterMethod() local
142 method->generateCppSignature(out, klassName); in generateAdapterMethod()
DgenerateCpp.cpp394 std::string klassName = iface ? iface->getHwName() : "hwtypes"; in generateHwBinderHeader() local
396 const std::string guard = makeHeaderGuard(klassName); in generateHwBinderHeader()
639 const std::string klassName = iface->getStubName(); in generateStubHeader() local
640 const std::string guard = makeHeaderGuard(klassName); in generateStubHeader()
653 << klassName; in generateStubHeader()
664 out << "explicit " << klassName << "(const ::android::sp<" << iface->definedName() in generateStubHeader()
667 out << "explicit " << klassName << "(const ::android::sp<" << iface->definedName() in generateStubHeader()
672 out << "virtual ~" << klassName << "();\n\n"; in generateStubHeader()
827 const std::string klassName = baseName + (baseName == "types" ? "" : "All"); in generateCppSource() local
966 void AST::generateProxyMethodSource(Formatter& out, const std::string& klassName, in generateProxyMethodSource() argument
[all …]