52032b8aa69fb189e2e58da0870a49525b19949e |
|
28-Feb-2018 |
Yifan Hong <elsk@google.com> |
Add PropertyFetcher. This is a mockable / replacable class for getting sysprops. On host, sysprops may be provided via ADB or command line arguments. On device, default behavior is to use android-base/properties.h. Bug: 72722951 Test: libvintf_test Test: vintf_object_test Change-Id: I752c4336dacd4c5f3254f32e4caf8dc743c636d9 Merged-In: I752c4336dacd4c5f3254f32e4caf8dc743c636d9
/system/libvintf/utils.cpp
|
b83e56bbf1b2aba92f69f63d1e434be512193b5b |
|
09-Jan-2018 |
Yifan Hong <elsk@google.com> |
Use base::Split to replace tokenize() function. Test: libvintf_test Test: vintf_object_test Change-Id: I8a416d8690162c1ee84c02aad01501b6ccb6b43f
/system/libvintf/utils.cpp
|
8302cea08dea5238cbc4d2637ff90319480971ae |
|
19-Dec-2017 |
Yifan Hong <elsk@google.com> |
assemble_vintf: refactor to prepare for test * Abstract out an API used by assemble_vintf_main * split main() to a different file * rename files. * Wrap getenv() calls so that values can be fake. Test: libvintf_test Change-Id: I515012c005a8b6010fbf455b84baef4c398b5817
/system/libvintf/utils.cpp
|
29bb2d4aec337abe978b69b78cf453e5c0a21ca1 |
|
27-Sep-2017 |
Yifan Hong <elsk@google.com> |
Add tests to RuntimeInfo fetch flags. Test: libvintf_test Test: vintf_object_test Bug: 66960848 Change-Id: I7736760a2cfbd7aa4ebdc030ccf0ae9b2024bccb
/system/libvintf/utils.cpp
|
8640cd1323b88e987aa4603e4c8209a46b082d23 |
|
17-May-2017 |
Yifan Hong <elsk@google.com> |
Add more vintf_object_test * Fix duplicated Compat2 test in libvintf_test The test is duplicated in libvintf_test and vintf_object_test; it also fails because details::CheckCompatibility doesn't take GetXCompatibilityMatrix functions. * Add PartitionMounter that allows mocking on mount procedures * Fix duplicated mount and unmount in checkCompatibility Test: libvintf_test Test: vintf_object_test Change-Id: I07be537696efe64f084fdbed77a781b26e971784
/system/libvintf/utils.cpp
|
97dc0f94e3747da528bc2531a67c9c1ec193520c |
|
08-May-2017 |
Michael Schwartz <schwartzmi@google.com> |
VintfObject::verify() will fetch data from device - If no info is provided then all data is fetched from device. - Add hook to mock retrieving files from device. - Add test. - Print more detailed messages on AVB failures. Test: Ran vintf_object_test and libvintf_test Bug: 37863689 Bug: 36814984 Change-Id: Ia33f4e2e73c863bc0f8f68f5ed61c30df8eff53d Merged-In: Ia33f4e2e73c863bc0f8f68f5ed61c30df8eff53d
/system/libvintf/utils.cpp
|