Searched refs:isAdminActiveAsUser (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 443 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/ |
D | RestrictedLockUtilsInternal.java | 771 if (dpm.isAdminActiveAsUser(admin, userInfo.id)) { in isAdminInCurrentUserOrProfile()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 4455 return isAdminActiveAsUser(admin, myUserId()); in isAdminActive() 4462 public boolean isAdminActiveAsUser(@NonNull ComponentName admin, int userId) { in isAdminActiveAsUser() method in DevicePolicyManager
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 2917 HSPLandroid/app/admin/DevicePolicyManager;->isAdminActiveAsUser(Landroid/content/ComponentName;I)Z
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 2917 HSPLandroid/app/admin/DevicePolicyManager;->isAdminActiveAsUser(Landroid/content/ComponentName;I)Z
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 2521 Landroid/app/admin/DevicePolicyManager;->isAdminActiveAsUser(Landroid/content/ComponentName;I)Z
|