| commit | becc56d7ea523aa153219446232cbf5e561726f4 | [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:05 2017 -0700 |
| tree | ee2273c66ee9f7fcff75d8b82e99f806c40a6e01 | |
| parent | 96907e6553a972e21530894e11595c5151fb2038 [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