Home
last modified time | relevance | path

Searched refs:getPolicyExemptApps (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java7597 assertThrows(SecurityException.class, () -> dpm.getPolicyExemptApps()); in testGetPolicyExemptApps_noPermission()
7606 assertThat(dpm.getPolicyExemptApps()).isEmpty(); in testGetPolicyExemptApps_empty()
7615 assertThat(dpm.getPolicyExemptApps()).containsExactly("foo"); in testGetPolicyExemptApps_baseOnly()
7624 assertThat(dpm.getPolicyExemptApps()).containsExactly("bar"); in testGetPolicyExemptApps_vendorOnly()
7633 assertThat(dpm.getPolicyExemptApps()).containsExactly("4", "8", "15", "16", "23", "42"); in testGetPolicyExemptApps_baseAndVendor()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java14011 public @NonNull Set<String> getPolicyExemptApps() { in getPolicyExemptApps() method in DevicePolicyManager
/frameworks/base/core/api/
Dtest-current.txt440 …oid.permission.MANAGE_DEVICE_ADMINS") public java.util.Set<java.lang.String> getPolicyExemptApps();