History log of /system/libvintf/VintfObjectRecovery.cpp
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/VintfObjectRecovery.cpp
9532bd2b829440712c3a15f0df867f81f32fa150 15-Apr-2017 Yifan Hong <elsk@google.com> Add VintfObjectRecovery

A special VintfObject for recovery. CheckCompatibility
knows how to mount /system and /vendor if necessary.

Test: testing with a test CL that replaces graphics test
into calling android::vintf::details::mountSystem
/ mountVendor, and the partitions are actually
mounted.

Bug: 36814503
Change-Id: Ie6a8e533841a128a411134973006ac4afb17a78e
/system/libvintf/VintfObjectRecovery.cpp