OSDN Git Service

Lshal: support commands.
authorYifan Hong <elsk@google.com>
Wed, 10 May 2017 01:49:45 +0000 (18:49 -0700)
committerYifan Hong <elsk@google.com>
Mon, 15 May 2017 18:02:39 +0000 (11:02 -0700)
commit8388ba3e2ddaf703192946b0b7874cc2431f3dd7
tree7ff54c40ae3d3e5a67b2e2f2d892fffc838343e6
parentf2d9a89e0fbdcc6ef067ef4ca62ca1f893f9ec92
Lshal: support commands.

Support the following commands:
  lshal list
  lshal list -itrpc
  lshal help
  lshal help list
  lshal list -h
  lshal list --help

Test: run these commands
Bug: 37725279
Change-Id: I970fbc8d250d43f57e92f783229e0645d7e8df4e
Merged-In: I970fbc8d250d43f57e92f783229e0645d7e8df4e
cmds/lshal/Android.bp
cmds/lshal/ListCommand.cpp [new file with mode: 0644]
cmds/lshal/ListCommand.h [new file with mode: 0644]
cmds/lshal/Lshal.cpp
cmds/lshal/Lshal.h
cmds/lshal/utils.cpp [new file with mode: 0644]
cmds/lshal/utils.h [new file with mode: 0644]