History log of /system/libvintf/include/vintf/RuntimeInfo.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6f2f63748f83fbb107dcc0e7e772189b8f0988a7 08-May-2017 Yifan Hong <elsk@google.com> Remove sepolicy files from libvintf.

CTS device info collects sepolicy files via
adb pull, not via libvintf.

Changes RuntimeInfo::fetchAllInformation
errors to warnings.

Bug: 38070361
Test: pass
Change-Id: I5157efcbe65940bc5e71f5df8b6e3f208368797c
/system/libvintf/include/vintf/RuntimeInfo.h
9346c6184acd2aaed8b7b18476c2494f118be4b4 26-Apr-2017 Yifan Hong <elsk@google.com> Add getters to RuntimeInfo

They are used by Java API.

Test: pass
Bug: 28656227
Change-Id: I612692b96a9df69dca5cf4d1b15fc6ec45c86ee7
Merged-In: I612692b96a9df69dca5cf4d1b15fc6ec45c86ee7
/system/libvintf/include/vintf/RuntimeInfo.h
6a3071a9c6b37e6562b7f5c3ccb82b2536e10bd5 28-Apr-2017 Yifan Hong <elsk@google.com> Renamed avb version variables in RuntimeInfo.

Old variable names are confusing.

Test: pass
Change-Id: I21d43b0615f52443fcda8c067507d2d7207ec3e7
Merged-In: I21d43b0615f52443fcda8c067507d2d7207ec3e7
/system/libvintf/include/vintf/RuntimeInfo.h
9499a758bf5cd9daaf2e413727013c7fe8fb0eae 20-Apr-2017 Yifan Hong <elsk@google.com> Add /proc/cpuinfo to RuntimeInfo.

Test: adb shell vintf
Bug: 37513906
Change-Id: I94617cb2ca0ae961ec56b2d22b663ecafbcbed48
Merged-In: I94617cb2ca0ae961ec56b2d22b663ecafbcbed48
/system/libvintf/include/vintf/RuntimeInfo.h
6f8411e3c64ded603e85f1e9d5142cc408c29dc6 20-Apr-2017 Yifan Hong <elsk@google.com> Add sepolicyFilePaths() to RuntimeInfo.

Test: adb shell vintf
Bug: 28656227
Change-Id: If8c28eff7a057fafda88384c92498f0f21121b97
Merged-In: If8c28eff7a057fafda88384c92498f0f21121b97
/system/libvintf/include/vintf/RuntimeInfo.h
dc145b385fc9d369335d8176ff6b504b6c37f219 13-Apr-2017 Yifan Hong <elsk@google.com> Add avb.vbmeta-version to CompatibilityMatrix and RuntimeInfo

RuntimeInfo fetch avb vbmeta version by reading the following two sysprops:
- ro.boot.vbmeta.avb_version
- ro.boot.avb_version
If the sysprop does not exist, 0.0 is set.

Test: libvintf_test
Test: adb shell vintf (shows 0.0 because CLs
for sysprops are not merged yet)

Bug: 35322304
Change-Id: I345bc792d1a7ceb585d246ec657707814b42ceff
/system/libvintf/include/vintf/RuntimeInfo.h
10a218ed30cdc124ad239495c8adbc22a82d0cf4 13-Apr-2017 Yifan Hong <elsk@google.com> RuntimeInfo::sepolicyFilePaths for sepolicy files.

Create an API to report sepolicy files. The file paths
are TBD. This is for device info reporting purposes.

Test: pass
Bug: 36456394
Change-Id: Ia769dbb951aa1056e679dbd16f0a7cab1670aaa6
/system/libvintf/include/vintf/RuntimeInfo.h
4a4445dfc243c72c18c1f8199fb8eeb4e9a92a03 13-Apr-2017 Yifan Hong <elsk@google.com> Removed unused clear().

Removed it from CompatibilityMatrix, HalManifest
and RuntimeInfo.

Test: pass
Bug: 34620633
Change-Id: Ie91717dae09cacf974e43827657154055841b39a
/system/libvintf/include/vintf/RuntimeInfo.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/RuntimeInfo.h
d2b7e64894cd739da60f129ac38d0cf035238206 17-Feb-2017 Yifan Hong <elsk@google.com> vintf: VendorManifest -> HalManifest

VendorManifest is an old name and is changed
to HalManifest long ago in relavant documentation.
It merely consist of a list of "HALs" and doesn't
contain any runtime collectible information.

Test: mma
Test: libvintf_test

Change-Id: Iba78128c194a3efc34371b686943266829d8e33c
/system/libvintf/include/vintf/RuntimeInfo.h
a7201e77e0c5221ada625ba5fcf89b25af45c10a 17-Feb-2017 Yifan Hong <elsk@google.com> vintf: KernelInfo -> RuntimeInfo.

There are more runtime information to report to the
OTA server besides kernel information (like avb.meta-version).
Renaming this class to reflect this.

Test: mma
Test: libvintf_test

Change-Id: Ie5863508bdac7a1a378c00528c8fd9853c6c50aa
/system/libvintf/include/vintf/RuntimeInfo.h