4641979fe9d6a0ce095362877ea8e99a969087c9 |
|
28-Feb-2018 |
Yifan Hong <elsk@google.com> |
Create libvintf_common This is a static lib excluding utils.cpp. This is originally libvintftest, but modified to include RuntimeInfo and KernelConfigParser as well for better generalization. This lib can be used instead of libvintf when different FileFetcher / PropertyFetcher / PartitionMounter are needed, for example. Test: builds Test: libvintf_test Test: vintf_object_test Bug: 72722951 Change-Id: I3e4400bfb00bf0434a90a5fca9709bc76d5026c2 Merged-In: I3e4400bfb00bf0434a90a5fca9709bc76d5026c2
/system/libvintf/include/vintf/RuntimeInfo.h
|
e3a9234dd75b9769a63f8e410c10549031a5d489 |
|
26-Jan-2018 |
Yifan Hong <elsk@google.com> |
vintf: clean up output. Output summarizes <hal> tags and omits kernel configs now. If a user still wants these output, --verbose can be used. Test: adb shell vintf Change-Id: Id7716d55d9a6a159df180d476609d95035ec0c15
/system/libvintf/include/vintf/RuntimeInfo.h
|
29bb2d4aec337abe978b69b78cf453e5c0a21ca1 |
|
27-Sep-2017 |
Yifan Hong <elsk@google.com> |
Add tests to RuntimeInfo fetch flags. Test: libvintf_test Test: vintf_object_test Bug: 66960848 Change-Id: I7736760a2cfbd7aa4ebdc030ccf0ae9b2024bccb
/system/libvintf/include/vintf/RuntimeInfo.h
|
1fb004e7307dc236def6603e48b82986a4f95242 |
|
27-Sep-2017 |
Yifan Hong <elsk@google.com> |
Allow RuntimeInfo::fetch to fetch conditionally ... to avoid unnecessary denials if the caller process does not have enough permissions. Test: CtsDeviceInfo Bug: 66960848 Change-Id: I5555307ff086fbc10cfa677c530dc3de673e18f6
/system/libvintf/include/vintf/RuntimeInfo.h
|
db6423e7f0d1d3d40aa84c81ccdee06db438c653 |
|
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/RuntimeInfo.h
|
d776d20386b03780f31856dcee687c5f3187aa3e |
|
23-Aug-2017 |
Yifan Hong <elsk@google.com> |
Match /proc/config.gz with fwk comp mat <kernel> fragments Multiple <kernel> elements with the same version can exist. The <condition> element decides whether the <kernel> element is actually used during matching. Test: libvintf_test Bug: 64124223 Change-Id: I0dd28b8b1bdfe06a4da61aaa81df91f4df5fcf26 Merged-In: I0dd28b8b1bdfe06a4da61aaa81df91f4df5fcf26
/system/libvintf/include/vintf/RuntimeInfo.h
|
13134e41806d0d545cf9f72e2a9a2cee3059373a |
|
30-May-2017 |
Yifan Hong <elsk@google.com> |
Init RuntimeInfo correctly. The consturctor of RuntimeInfo doesn't init some fields, leading to undetected problems. Test: pass Change-Id: Ib9c697441f89bf07c46fc1aaf9e3e7e62e0448da
/system/libvintf/include/vintf/RuntimeInfo.h
|
3477f0479f1075d9812ac20188e096510f171db8 |
|
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 Merged-In: I5157efcbe65940bc5e71f5df8b6e3f208368797c
/system/libvintf/include/vintf/RuntimeInfo.h
|
ab0e6e7cb76c6b3f9439d4f902b4a48c68e6ac92 |
|
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
/system/libvintf/include/vintf/RuntimeInfo.h
|
881a9e45aa1666dd0ef105e92cab5f73c1eb6f1e |
|
28-Apr-2017 |
Yifan Hong <elsk@google.com> |
Renamed avb version variables in RuntimeInfo. Old variable names are confusing. Test: pass Change-Id: I21d43b0615f52443fcda8c067507d2d7207ec3e7
/system/libvintf/include/vintf/RuntimeInfo.h
|
242eabff291dcd9f6213e250263aa4da6eead2f7 |
|
20-Apr-2017 |
Yifan Hong <elsk@google.com> |
Add /proc/cpuinfo to RuntimeInfo. Test: adb shell vintf Bug: 37513906 Change-Id: I94617cb2ca0ae961ec56b2d22b663ecafbcbed48
/system/libvintf/include/vintf/RuntimeInfo.h
|
5075f45cad674e1c1c7aa417b74aa92abf034f47 |
|
20-Apr-2017 |
Yifan Hong <elsk@google.com> |
Add sepolicyFilePaths() to RuntimeInfo. Test: adb shell vintf Bug: 28656227 Change-Id: If8c28eff7a057fafda88384c92498f0f21121b97
/system/libvintf/include/vintf/RuntimeInfo.h
|
f302930a51397aa422355644b5de31439056eb51 |
|
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
|
fa2b18bda6b3f8611dc93ebb32209943578a6539 |
|
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
|
ba3bb68534dc56eb01cece15dd40a3936dd8bb72 |
|
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
|