History log of /system/libvintf/utils.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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.h
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.h
2272bf856d9c6a55c7faf81408e0e808664569f3 28-Apr-2017 Yifan Hong <elsk@google.com> Add device/fwk compatibility matrix to VintfObject.

For framework compatibility matrix, <sepolicy> sections
is injected in build time.

Test: libvintf_test
Test: adb shell vintf; matrices exist, compatible = true
Bug: 37321309
Bug: 36814503
Change-Id: I997b93456a261f0cdb85997ae88f4ac5a5f36ff3
/system/libvintf/utils.h