Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e22f560d authored by Jooyung Han's avatar Jooyung Han
Browse files

Fix VintfObject to use vintf

VintfObject is a TestApi class and used by CTS tests and EDI collectors.
Previously, it used libvintf to open VINTF data from device which caused
SEPolicy error because
- CTS tests and EDI collectors are "apps"
- VINTF data needs to load files unavailable to apps.

In this change, VintfObject uses "instrumentation" to get VINTF data by
calling /system/bin/vintf under shell identity.

Bug: 338278029
Bug: 317747397
Test: atest SELinuxNeverallowRulesTest
Test: VintfDeviceInfo/VintfFilesCollector work
Change-Id: I43a54827a1d82cfaf573753c5c5862425843a099
parent 9c6959af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment