Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtils.java657 if (dpm.isAdminActiveAsUser(admin, userInfo.id)) { in isAdminInCurrentUserOrProfile()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java1056 return isAdminActiveAsUser(admin, myUserId()); in isAdminActive()
1063 public boolean isAdminActiveAsUser(@NonNull ComponentName admin, int userId) { in isAdminActiveAsUser() method in DevicePolicyManager
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java259 assertFalse(dpm.isAdminActiveAsUser(admin1, DpmMockContext.CALLER_USER_HANDLE + 1)); in testSetActiveAdmin()
260 assertFalse(dpm.isAdminActiveAsUser(admin2, DpmMockContext.CALLER_USER_HANDLE + 1)); in testSetActiveAdmin()