Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java443 assertThat(dpm.isAdminActiveAsUser(adminAnotherPackage, CALLER_USER_HANDLE)).isTrue(); in testLoadAdminData()
549 assertThat(dpm.isAdminActiveAsUser(admin1, CALLER_USER_HANDLE + 1)).isFalse(); in testSetActiveAdmin()
550 assertThat(dpm.isAdminActiveAsUser(admin2, CALLER_USER_HANDLE + 1)).isFalse(); in testSetActiveAdmin()
742 assertThat(dpm.isAdminActiveAsUser(admin1, CALLER_USER_HANDLE)).isFalse(); in testRemoveActiveAdmin_userNotRunningOrLocked()
770 assertThat(dpm.isAdminActiveAsUser(admin1, CALLER_USER_HANDLE)).isFalse(); in testRemoveActiveAdmin_fromDifferentUserWithINTERACT_ACROSS_USERS_FULL()
818 assertThat(dpm.isAdminActiveAsUser(admin1, CALLER_USER_HANDLE)).isFalse(); in testRemoveActiveAdmin_sameUserNoMANAGE_DEVICE_ADMINS()
875 assertThat(dpm.isAdminActiveAsUser(admin1, CALLER_USER_HANDLE)).isFalse(); in testRemoveActiveAdmin_multipleAdminsInUser()
935 assertThat(dpm.isAdminActiveAsUser(admin1, CALLER_USER_HANDLE)).isFalse(); in testForceRemoveActiveAdmin_nonShellCallerWithPermission()
961 assertThat(dpm.isAdminActiveAsUser(admin1, CALLER_USER_HANDLE)).isFalse(); in testForceRemoveActiveAdmin_ShellCaller()
1439 assertThat(dpm.isAdminActiveAsUser(admin1, UserHandle.USER_SYSTEM)).isFalse(); in testClearDeviceOwner()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java771 if (dpm.isAdminActiveAsUser(admin, userInfo.id)) { in isAdminInCurrentUserOrProfile()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java4455 return isAdminActiveAsUser(admin, myUserId()); in isAdminActive()
4462 public boolean isAdminActiveAsUser(@NonNull ComponentName admin, int userId) { in isAdminActiveAsUser() method in DevicePolicyManager
/frameworks/base/boot/
Dboot-image-profile.txt2917 HSPLandroid/app/admin/DevicePolicyManager;->isAdminActiveAsUser(Landroid/content/ComponentName;I)Z
/frameworks/base/config/
Dboot-image-profile.txt2917 HSPLandroid/app/admin/DevicePolicyManager;->isAdminActiveAsUser(Landroid/content/ComponentName;I)Z
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt2521 Landroid/app/admin/DevicePolicyManager;->isAdminActiveAsUser(Landroid/content/ComponentName;I)Z