66444507bb258a895059544855be2f47cc523f1c |
|
11-Sep-2017 |
Yifan Hong <elsk@google.com> |
Allow to disable certain checks in VintfObject::CheckCompatibility Allow to disable AVB version checks. Test: builds Test: vintf_object_test Test: libvintf_test Bug: 38325029 Bug: 65270190 Change-Id: Iadc2408f635a5487a5af4e19f516147930f4bc4b Merged-In: Iadc2408f635a5487a5af4e19f516147930f4bc4b
/system/libvintf/include/vintf/VintfObject.h
|
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/include/vintf/VintfObject.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/include/vintf/VintfObject.h
|
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/include/vintf/VintfObject.h
|
143cfe6aa1e257f200829c903be67ed73d141ab2 |
|
14-Apr-2017 |
Yifan Hong <elsk@google.com> |
Implement VintfObject::CheckCompatibility. Test: libvintf_test Bug: 36814503 libvintf Java API Bug: 36126928 create tests for HalManifest::checkIncompatibility Change-Id: I1ea9b6030a068623742d23f38d287b01946f2fc8
/system/libvintf/include/vintf/VintfObject.h
|
fbbf047f9fa9e6e5cd52c70690e924c849c3e237 |
|
08-Apr-2017 |
Yifan Hong <elsk@google.com> |
Add VintfObject::CheckCompatibility Given an update package, caller should extract all manifests / matricies from the package, and feed it into CheckCompatibility. CheckCompatibility will check these XML strings against the files on the device. Partitions can be mounted if the optional boolean argument is true. This is also exposed as android.os.VintfObject.verify (via JNI call). Note that this is only a stub; actual implementations will come in a follow up CL. Test: pass Bug: 36814503 Change-Id: Ia92a50f347a897d3eda1f57d08073b9df881a552
/system/libvintf/include/vintf/VintfObject.h
|
3daec8116236a720edf3349b59470e41dd6c1056 |
|
28-Feb-2017 |
Yifan Hong <elsk@google.com> |
Add VintfObject as the top level API. VintfObject has: GetDeviceHalManifest (replace HalManifest::Get) GetRuntimeInfo (replace RuntimeInfo::Get) GetFrameworkHalManifest Test: vintf Test: libvintf_test Change-Id: I6c1f0e6af0ea323054102bf713667c23dbc10972
/system/libvintf/include/vintf/VintfObject.h
|