summaryrefslogtreecommitdiff
path: root/core/java/android/security/FileIntegrityManager.java
Commit message (Collapse)AuthorAgeFilesLines
* Respect app-ops permission in FileIntegrityServiceVictor Hsieh2020-03-271-2/+5
| | | | | | | | | | Previous permission doesn't consider REQUEST_INSTALL_PACKAGES permission as an app-ops permission. Bug: 152009905 Test: atest GtsPlayFsiTestCases Test: remove appops setup from AndroidTest.xml, the same test failed Change-Id: Icdbf6bb35fe146c5be8a97e29c4c554b3ce91b5d
* New API for query trust of a fs-verity certificateVictor Hsieh2019-12-231-0/+77
The corresponding service is also added. The API can be used by a store to know whether their certificate is trusted on the device. As optimization, they only need to download .fsv_sig signature file if it will be used. The API can also be used to gradually switch to stronger key. The store can query with their certificates in priority order and download the best signature. Test: Passed new GTS working in progress Bug: 142573505 Change-Id: Ic788cd04aeaed35ad62113fe9e7535b8fa63b5ee