Rename indentBlock to indent.
No reason to add "block" to the name.
Test: compiles
Change-Id: I8a930cb8d9bb7d03d302c0b9c308ab6d40045260
diff --git a/generateCpp.cpp b/generateCpp.cpp
index ad56735..0ef61e1 100644
--- a/generateCpp.cpp
+++ b/generateCpp.cpp
@@ -785,13 +785,13 @@
out << "int I"
<< iface->getBaseName()
<< "::hidlStaticBlock = []() -> int {\n";
- out.indentBlock([&] {
+ out.indent([&] {
out << "::android::hardware::gBnConstructorMap[I"
<< iface->getBaseName()
<< "::descriptor]\n";
- out.indentBlock(2, [&] {
+ out.indent(2, [&] {
out << "= [](void *iIntf) -> ::android::sp<::android::hardware::IBinder> {\n";
- out.indentBlock([&] {
+ out.indent([&] {
out << "return new Bn"
<< iface->getBaseName()
<< "(reinterpret_cast<I"
@@ -1620,7 +1620,7 @@
<< "\"), mImpl(impl) {";
if (iface->hasOnewayMethods()) {
out << "\n";
- out.indentBlock([&] {
+ out.indent([&] {
out << "mOnewayQueue.setLimit(3000 /* similar limit to binderized */);\n";
});
}