summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2017-03-06 20:20:18 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-03-06 20:20:18 +0000
commit074c1cd1572275be5765f0530963e6930d785aaf (patch)
treefc3d50b8ff5fb7b64b7cca97f2dd96e99a4e7855
parentf88834e30d906329142c626b4a09da715582b069 (diff)
parent1071c1bf64903ca545c0a216c07708c33f4a832d (diff)
downloadnative-o-preview.tar.gz
Merge "lshal: update descriptions in output."android-o-preview-1o-preview
-rw-r--r--cmds/lshal/Lshal.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/cmds/lshal/Lshal.cpp b/cmds/lshal/Lshal.cpp
index 7646febd51..9e60461fe1 100644
--- a/cmds/lshal/Lshal.cpp
+++ b/cmds/lshal/Lshal.cpp
@@ -294,7 +294,7 @@ void Lshal::dumpVintf() const {
static const std::string &getArchString(Architecture arch) {
static const std::string sStr64 = "64";
static const std::string sStr32 = "32";
- static const std::string sStrBoth = "64&32";
+ static const std::string sStrBoth = "32+64";
static const std::string sStrUnknown = "";
switch (arch) {
case ARCH64:
@@ -325,12 +325,12 @@ void Lshal::dumpTable() {
mServicesTable.description =
"All binderized services (registered services through hwservicemanager)";
mPassthroughRefTable.description =
- "All interfaces that getService() has ever return a passthrough interface;\n"
+ "All interfaces that getService() has ever return as a passthrough interface;\n"
"PIDs / processes shown below might be inaccurate because the process\n"
- "might have relinquish the interface or might have died.\n"
+ "might have relinquished the interface or might have died.\n"
"The Server / Server CMD column can be ignored.\n"
- "The Clients / Clients CMD column shows all process that have ever dlopen the library\n"
- "and successfully fetch the passthrough implementation.";
+ "The Clients / Clients CMD column shows all process that have ever dlopen'ed \n"
+ "the library and successfully fetched the passthrough implementation.";
mImplementationsTable.description =
"All available passthrough implementations (all -impl.so files)";
forEachTable([this] (const Table &table) {
@@ -393,7 +393,7 @@ Status Lshal::fetchAllLibraries(const sp<IServiceManager> &manager) {
for (const auto &info : infos) {
std::string interfaceName = std::string{info.interfaceName.c_str()} + "/" +
std::string{info.instanceName.c_str()};
- entries.emplace(std::string{interfaceName}, TableEntry{
+ entries.emplace(interfaceName, TableEntry{
.interfaceName = interfaceName,
.transport = "passthrough",
.serverPid = NO_PID,