Searched refs:isAdminActive (Results 1 – 7 of 7) sorted by relevance
320 assertTrue(dpm.isAdminActive(admin1)); in testSetActiveAdmin()321 assertFalse(dpm.isAdminActive(admin2)); in testSetActiveAdmin()322 assertFalse(dpm.isAdminActive(admin3)); in testSetActiveAdmin()343 assertTrue(dpm.isAdminActive(admin1)); in testSetActiveAdmin()344 assertTrue(dpm.isAdminActive(admin2)); in testSetActiveAdmin()345 assertFalse(dpm.isAdminActive(admin3)); in testSetActiveAdmin()402 assertTrue(dpm.isAdminActive(admin1)); in testSetActiveAdmin_multiUsers()403 assertFalse(dpm.isAdminActive(admin2)); in testSetActiveAdmin_multiUsers()406 assertFalse(dpm.isAdminActive(admin1)); in testSetActiveAdmin_multiUsers()407 assertTrue(dpm.isAdminActive(admin2)); in testSetActiveAdmin_multiUsers()[all …]
119 boolean isAdminActive(in ComponentName policyReceiver, int userHandle); in isAdminActive() method
1541 public boolean isAdminActive(@NonNull ComponentName admin) { in isAdminActive() method in DevicePolicyManager1553 return mService.isAdminActive(admin, userId); in isAdminActiveAsUser()
3245 public boolean isAdminActive(ComponentName adminReceiver, int userHandle) { in isAdminActive() method in DevicePolicyManagerService
5344 method public boolean isAdminActive(android.content.ComponentName);
6323 method public boolean isAdminActive(android.content.ComponentName);
6549 method public boolean isAdminActive(android.content.ComponentName);