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.java8202 assertThrows(SecurityException.class, () -> dpm.getPolicyExemptApps()); in testGetPolicyExemptApps_noPermission()
8211 assertThat(dpm.getPolicyExemptApps()).isEmpty(); in testGetPolicyExemptApps_empty()
8220 assertThat(dpm.getPolicyExemptApps()).containsExactly("foo"); in testGetPolicyExemptApps_baseOnly()
8229 assertThat(dpm.getPolicyExemptApps()).containsExactly("bar"); in testGetPolicyExemptApps_vendorOnly()
8238 assertThat(dpm.getPolicyExemptApps()).containsExactly("4", "8", "15", "16", "23", "42"); in testGetPolicyExemptApps_baseAndVendor()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java17196 public @NonNull Set<String> getPolicyExemptApps() { in getPolicyExemptApps() method in DevicePolicyManager
/frameworks/base/core/api/
Dtest-current.txt606 …fest.permission.MANAGE_DEVICE_ADMINS) public java.util.Set<java.lang.String> getPolicyExemptApps();