Searched refs:isAdminActiveAsUser (Results 1 – 3 of 3) sorted by relevance
657 if (dpm.isAdminActiveAsUser(admin, userInfo.id)) { in isAdminInCurrentUserOrProfile()
1056 return isAdminActiveAsUser(admin, myUserId()); in isAdminActive()1063 public boolean isAdminActiveAsUser(@NonNull ComponentName admin, int userId) { in isAdminActiveAsUser() method in DevicePolicyManager
259 assertFalse(dpm.isAdminActiveAsUser(admin1, DpmMockContext.CALLER_USER_HANDLE + 1)); in testSetActiveAdmin()260 assertFalse(dpm.isAdminActiveAsUser(admin2, DpmMockContext.CALLER_USER_HANDLE + 1)); in testSetActiveAdmin()