lshal: refactor: Use vintf::Transport instead of string
Enums are better.
Test: lshal_test
Change-Id: Iee8af520de866106d3384b12058e94f423217347
diff --git a/cmds/lshal/TableEntry.h b/cmds/lshal/TableEntry.h
index 24ea438..04dfb80 100644
--- a/cmds/lshal/TableEntry.h
+++ b/cmds/lshal/TableEntry.h
@@ -24,6 +24,7 @@
#include <iostream>
#include <procpartition/procpartition.h>
+#include <vintf/Transport.h>
#include "TextTable.h"
@@ -69,7 +70,7 @@
struct TableEntry {
std::string interfaceName{};
- std::string transport{};
+ vintf::Transport transport{vintf::Transport::EMPTY};
int32_t serverPid{NO_PID};
uint32_t threadUsage{0};
uint32_t threadCount{0};