diff options
author | Pavel Grafov <pgrafov@google.com> | 2020-11-30 12:51:27 +0000 |
---|---|---|
committer | Pavel Grafov <pgrafov@google.com> | 2020-12-03 16:50:52 +0000 |
commit | 148e31d70c88bd372cf6fd3dc9f19ee89f195f5d (patch) | |
tree | 4ac1fb9f9c7849fa38a93272b35d0669bca46c56 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | e4b1ddde990a8a9a47f4483e31616873ed0eb8d5 (diff) |
Add DPM.getKeyPairGrants()
The method returns names of the packages that have access
to the key grouped by UID since grants are stored on per-uid
basis. This is expressed as Set<Set<String>>
Since Binder currently doesn't support sets or lists of lists,
this data structure is flattened into a list of strings, with
null values used as a delimiter.
Bug: 160457441
Test: atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testKeyManagement
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testDelegatedCertInstallerDirectly
Test: atest android.admin.cts.DevicePolicyManagerTest
Change-Id: Ieee1048b145fb8400eccbf32c054afc64b5d90c0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions