f31aa05f9c3df1d278f55fd6f4ab742542e77c80 |
|
03-Feb-2018 |
Yifan Hong <elsk@google.com> |
lshal --init-vintf: can specify manifest partition lshal --init-vintf [--init-vintf-partition=vendor] generates device manifest. lshal --init-vintf --init-vintf-partition=system generates framework manifest. lshal --init-vintf --init-vintf-partition=odm generates odm manifest. Test: the above commands health/backup is in system manifest IBase is not in any manifest graphics.composer/vr is in system manifest Test: lshal_test Fixes: 71802285 Change-Id: Ie16c8914218ece5c3cd698c93f2bada1be3ee29f
/frameworks/native/cmds/lshal/test.cpp
|
fee209dda24dc94277df020fee3d91f1194e5ea1 |
|
15-Sep-2017 |
Yifan Hong <elsk@google.com> |
lshal: add Released column. Example output: $ lshal --neat -lis ... Y android.hardware.configstore@1.0::ISurfaceFlingerConfigs/default 7f5fe8f4f8a24037153c504d8b4d3313c2ce33d81c8c69fe5194ddd2d4080e72 android.hardware.configstore@1.1::ISurfaceFlingerConfigs/default 0000000000000000000000000000000000000000000000000000000000000000 ... Bug: 65123158 Test: lshal_test Test: lshal Test: lshal -ils Test: lshal --help Change-Id: I18e52eb977461d68909057583be8223d53f6748b
/frameworks/native/cmds/lshal/test.cpp
|
1243ddeac9e35eaf1ca8f665eff24a89226b2f01 |
|
15-Sep-2017 |
Yifan Hong <elsk@google.com> |
lshal: ListCommand::getPidInfo should be cached. The function parses a big file and its result should be cached. Add ListCommand::getPidInfoCached, which is a cached version of this function. Test: lshal_test Change-Id: I03d8f149bf67b1512be431a3c4c29e83f7743a2f
/frameworks/native/cmds/lshal/test.cpp
|
7a3b46c2f5622759aeffaf4c2f0f867973469efd |
|
15-Sep-2017 |
Yifan Hong <elsk@google.com> |
lshal: fix tests on implementation Fix tests on the implementation of ListCommand. This makes the tests hard to maintain. Test: lsahl_test Change-Id: Iae137fad102f5298c5ff19fc8498a4591df9ce00
/frameworks/native/cmds/lshal/test.cpp
|
93b8bfffba852a9048f0445143eb6252bd5a7467 |
|
15-Sep-2017 |
Yifan Hong <elsk@google.com> |
lshal: omit description text in tests. There is no point on testing on the exact description text. Test: lshal_test Change-Id: Ieb7caaf992c62b772357a67e9e2abeba525c4bce
/frameworks/native/cmds/lshal/test.cpp
|
a8bedc6ae3f6d610aa634445809835c26aaf16bc |
|
09-Sep-2017 |
Yifan Hong <elsk@google.com> |
lshal: add HelpCommand Add *Command::usage() function for each Command and let Lshal class to call them. Suppress output from getopt_long and write our own error message to customized error stream (for testing). Test: lshal_test Test: lshal --help Change-Id: I8f5847c84a3e01af29fa85871479cab3baeb5312
/frameworks/native/cmds/lshal/test.cpp
|
8bf7316ebc75f9e5b3a6349bbc9c7140e6e90234 |
|
08-Sep-2017 |
Yifan Hong <elsk@google.com> |
lshal: add tests for ListCommand::fetch* and dumpVintf Test: lshal_test Change-Id: I9e519ec93709ba4dfa7f95e4c5fff60cbda36134
/frameworks/native/cmds/lshal/test.cpp
|
b2a2ecb642d1dad620bd91f6b875521a55b08224 |
|
08-Sep-2017 |
Yifan Hong <elsk@google.com> |
lshal: Add tests for ListCommand::parseArgs Test: lshal_test Bug: 35389839 Change-Id: Iaef39b048b0e7c06e70e21c96448c2f2e24d3128
/frameworks/native/cmds/lshal/test.cpp
|
bf20a261f0ff11dad5f55009de04895953cca8ff |
|
07-Sep-2017 |
Yifan Hong <elsk@google.com> |
lshal: clean up tests Refactored duplicated code. Test: lshal_test Bug: 35389839 Change-Id: I181fa2122b88e2b7932581f1c63b30decd7c3ddf
/frameworks/native/cmds/lshal/test.cpp
|
9881df9717388f8740d2d7d2ac2e42eaf8bd85c9 |
|
10-May-2017 |
Yifan Hong <elsk@google.com> |
Add tests to lshal. Test: lshal_test Bug: 37954458 Change-Id: I1914e6274974ed5eb0ce2d655f1333d2344b49f5
/frameworks/native/cmds/lshal/test.cpp
|