summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Jooyung Han <jooyung@google.com> 2024-05-18 02:26:34 +0900
committer Jooyung Han <jooyung@google.com> 2024-05-18 11:04:44 +0900
commite22f560de9d50c53cb143862e35927c5bae3cd23 (patch)
tree315334d3207466f46240235130122d981af995f5 /libs/androidfw/ObbFile.cpp
parent9c6959affa8634e0994ad38cf4c3c737402cef9d (diff)
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
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions