History log of /frameworks/native/cmds/lshal/TextTable.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d4a77e8a1a9bcb778c01738b0dce640ff7d4e8a5 07-Sep-2017 Yifan Hong <elsk@google.com> lshal: remove ListCommand addLine

Remove obnoxious addLine(...) in ListCommand.cpp by moving
the feature of selecting columns into the "Table" class.

Test: lshal
Test: lshal -m
Test: lshal -d (shows debug info for context hub)
Test: lshal_test
Bug: 35389839
Change-Id: Ieb4a6e544ef39c9f1a63b046a44b6a8e1416ea62
/frameworks/native/cmds/lshal/TextTable.cpp
223388253658ff5b726690056d3f433db6a5f3e6 31-Aug-2017 Yifan Hong <elsk@google.com> lshal: fix potential out-of-range error.

Test: lshal
Test: lshal --neat
Test: lshal_test

Bug: 35389839
Change-Id: I6c479986b96ec818155b0c5f310f9849d2b4fed8
/frameworks/native/cmds/lshal/TextTable.cpp
1bc1e9ffe224e4938d667a567a99619d7dd66229 30-Aug-2017 Yifan Hong <elsk@google.com> lshal: pretty print table.

Table column length is not hardcoded, but computed
from length of each cell.

Without --neat, table column length varies for each
table.

As an effect, --neat does not emit debug info. Update
warning messages to reflect this.

Test: lshal
Test: lshal_test
Test: lshal --neat

Bug: 35389839

Change-Id: Id1d626a10ba58e20d2799854432dba74cfeaae6f
/frameworks/native/cmds/lshal/TextTable.cpp