Home
last modified time | relevance | path

Searched refs:isRemovingAdmin (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java399 assertFalse(dpm.isRemovingAdmin(admin1, DpmMockContext.CALLER_USER_HANDLE)); in testRemoveActiveAdmin_SecurityException()
437 assertFalse(dpm.isRemovingAdmin(admin1, DpmMockContext.CALLER_USER_HANDLE)); in testRemoveActiveAdmin_userNotRunningOrLocked()
450 assertFalse(dpm.isRemovingAdmin(admin1, DpmMockContext.CALLER_USER_HANDLE)); in testRemoveActiveAdmin_userNotRunningOrLocked()
458 assertTrue(dpm.isRemovingAdmin(admin1, DpmMockContext.CALLER_USER_HANDLE)); in testRemoveActiveAdmin_userNotRunningOrLocked()
473 assertFalse(dpm.isRemovingAdmin(admin1, DpmMockContext.CALLER_USER_HANDLE)); in testRemoveActiveAdmin_fromDifferentUserWithINTERACT_ACROSS_USERS_FULL()
483 assertTrue(dpm.isRemovingAdmin(admin1, DpmMockContext.CALLER_USER_HANDLE)); in testRemoveActiveAdmin_fromDifferentUserWithINTERACT_ACROSS_USERS_FULL()
501 assertFalse(dpm.isRemovingAdmin(admin1, DpmMockContext.CALLER_USER_HANDLE)); in testRemoveActiveAdmin_sameUserNoMANAGE_DEVICE_ADMINS()
518 assertTrue(dpm.isRemovingAdmin(admin1, DpmMockContext.CALLER_USER_HANDLE)); in testRemoveActiveAdmin_sameUserNoMANAGE_DEVICE_ADMINS()
534 assertFalse(dpm.isRemovingAdmin(admin1, DpmMockContext.CALLER_USER_HANDLE)); in testRemoveActiveAdmin_sameUserNoMANAGE_DEVICE_ADMINS()
823 assertFalse(dpm.isRemovingAdmin(admin1, UserHandle.USER_SYSTEM)); in testClearDeviceOwner()
[all …]
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl246 boolean isRemovingAdmin(in ComponentName adminReceiver, int userHandle); in isRemovingAdmin() method
DDevicePolicyManager.java1078 public boolean isRemovingAdmin(@NonNull ComponentName admin, int userId) { in isRemovingAdmin() method in DevicePolicyManager
1081 return mService.isRemovingAdmin(admin, userId); in isRemovingAdmin()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2857 public boolean isRemovingAdmin(ComponentName adminReceiver, int userHandle) { in isRemovingAdmin() method in DevicePolicyManagerService