Clean up hard-coded Bp/Bn/Bs/IHw prefixes.
Also,
* use iface->localName() instead of "I" + iface->getBaseName()
* do not hardcode IBase related strings
* remove baseName in some places
Bug: 32559427
Test: hidl_test
Change-Id: Ib2049f570ca27d33a945dd6ccb5442e336a11262
diff --git a/AST.h b/AST.h
index ffd63b1..7310942 100644
--- a/AST.h
+++ b/AST.h
@@ -200,10 +200,10 @@
void generateFetchSymbol(Formatter &out, const std::string &ifaceName) const;
status_t generateProxySource(
- Formatter &out, const std::string &baseName) const;
+ Formatter &out, const FQName &fqName) const;
status_t generateStubSource(
- Formatter &out, const Interface *iface, const std::string &baseName) const;
+ Formatter &out, const Interface *iface) const;
status_t generateStubSourceForMethod(
Formatter &out, const Interface *iface, const Method *method) const;