commit | 4e01db8c12a497f4380a8e5855de98fbe25686e6 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Apr 05 14:42:05 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu Apr 13 18:04:30 2017 -0700 |
tree | e908a3ea4d7eae272fed9071bdd165d2b7f06580 | |
parent | 183c93f6a09a879fbb0e079cb4cb351aa0fa9846 [diff] |
Add Java API for libvintf. 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