commit | 891ef69fab8f65f08c346ef2d0162715ac067c50 | [log] [tgz] |
---|---|---|
author | Yi-an Chen <theianchen@google.com> | Wed Sep 20 19:55:35 2023 +0000 |
committer | Yi-an Chen <theianchen@google.com> | Fri Sep 22 22:54:00 2023 +0000 |
tree | 4ff2258fa8e9f5e706560428dfccfa94b82e026e | |
parent | 99c86797bf27712c0e8ce7ebe73608dd503da524 [diff] |
Add unit tests for AppIdPermissionPolicy Add tests for onPackageUninstalled(), onStorageVolumeAdded() and onUserAdded() for AppIdPermissionPolicy These functions have some similar logic to the previously added onPackageAdded() and resetRuntimePermissions(). Hence refactored and parameterized the tests. Bug: 280853174 Test: AppIdPermissionPolicyTest Change-Id: Id21aded723e454710a4fdc0d15e5f555524341a2