summaryrefslogtreecommitdiff
path: root/core/java/android/os/VintfObject.java
Commit message (Collapse)AuthorAgeFilesLines
* VintfObject.getHalNamesAndVersions report AIDL version number.Yifan Hong2021-09-231-2/+5
| | | | | | | | | | Tests that rely on this API does not attempt to parse it, but rather treat this as an opaque string and upload them. Test: pass Bug: 200729012 Change-Id: I025e2602ab506ad009ce48d6329a230f12f1060c
* Add an api for platform sepolicy version to vintfInseob Kim2021-05-041-0/+10
| | | | | | | | | | | | | PLATFORM_SEPOLICY_VERSION will be the latest version in system's compatibility matrix. This change adds a function getPlatformSepolicyVersion, which ultimately gets PLATFORM_SEPOLICY_VERSION, just like getSepolicyVersion for vendor. This will be used from the SELinux CTS. Bug: 186596569 Test: atest CtsSecurityHostTestCases:android.security.cts.SELinuxNeverallowRulesTest Change-Id: Ic7863ece9413b9a6a4a91ff42d3121935823fe8b
* Delete VINTF compatibility checks during OTA.Yifan Hong2019-12-181-3/+27
| | | | | | | | | | Such checks uses old libvintf to parse new VINTF metadata, which is not supported. The check is now moved to OTA package build time, so there is no need to check it on the device. Test: builds Bug: 139300422 Change-Id: Ifaec06b5298f698958e5727316bf661d1960d0aa
* VintfObject: Fix getHalNamesAndVersions docYifan Hong2019-09-111-0/+2
| | | | | | Test: CTS device info collect Bug: 140832836 Change-Id: Iddc3c36d15370baa661e485b76c490a5d2b7815c
* Add VintfObject / VintfRuntimeInfo methods to TestApi.Yifan Hong2019-01-171-8/+29
| | | | | | | | | | Add methods used by VintfDeviceInfo, a CTS test, to TestApi. Also remove them from greylist. Bug: 111610941 Test: builds Change-Id: Ieccf8c9225132fd604d7df0fc7e9976f63f9077c
* Merge "VintfObject: add getTargetFcmVersion"Treehugger Robot2018-02-081-0/+7
|\
| * VintfObject: add getTargetFcmVersionYifan Hong2018-02-071-0/+7
| | | | | | | | | | | | | | | | | | Add getTargetFrameworkCompatibilityMatrixVersion that returns target FCM version in device manifest. Test: VintfDeviceInfo Bug: 70993015 Change-Id: Ia6354f85e7fae898444067977fb594febb0112fa
* | android.os.VintfObject: update for VNDK version format change.Yifan Hong2018-01-111-2/+2
|/ | | | | | | Test: CTS device info collect Bug: 36400653 Change-Id: I7b22f82ddd9ddc3b0930b5c1564435c42be2a6fa
* Disable AVB check in runtime vintfBowgo Tsai2017-12-011-2/+12
| | | | | | | | | | | | | | | GSI disables AVB by overriding vbmeta partition. When a device can run runtime vintf checking, it should already pass AVB, so we don't need to check AVB in runtime vintf. We cannot change the original VintfObject.verify() because AVB check is still needed for android.os.RecoverySystem to verify a newly downloaded OTA package. Bug: 68016134 Test: Boot with GSI and there is no Android System dialog Change-Id: Ie1efa6f1abd8fa8f495aededd145c0ab2c0c1fae Merged-In: Ie1efa6f1abd8fa8f495aededd145c0ab2c0c1fae
* android.os.VintfObject: add API for EDI.Yifan Hong2017-05-041-3/+28
| | | | | | | | Add APIs for EDI (extensive device information). Test: CtsDeviceInfo Bug: 28656227 Change-Id: I609d4f1f07e20717827ef024ff8cbe124d7e54a6
* Add compatibility matrices to VintfObject.report()Yifan Hong2017-05-031-19/+3
| | | | | | Test: FrameworksCoreTests Bug: 36814503 Change-Id: I27eaea136437afb2102581d410b657e810612a0a
* Add Java API for libvintf.Yifan Hong2017-04-131-0/+64
android.os.VintfObject has two methods: - report: return device info that can be reported to OTA server - verify: verify that metadata for a given OTA package is compatible. Test: pass Test: adb shell am instrument -w -e class android.os.VintfObjectTest \ com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner Bug: 36814503 Change-Id: Iff8fae289eec8ae9cfc327d0d0d36a1cdd5e6800