Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockUtils.java37 public static UserHandle checkUserHandle(final int userId) { in checkUserHandle() method in MockUtils
DDevicePolicyManagerTest.java233 MockUtils.checkUserHandle(DpmMockContext.CALLER_USER_HANDLE)); in testSetActiveAdmin()
237 MockUtils.checkUserHandle(DpmMockContext.CALLER_USER_HANDLE)); in testSetActiveAdmin()
507 MockUtils.checkUserHandle(DpmMockContext.CALLER_USER_HANDLE)); in testRemoveActiveAdmin_sameUserNoMANAGE_DEVICE_ADMINS()
523 MockUtils.checkUserHandle(DpmMockContext.CALLER_USER_HANDLE), in testRemoveActiveAdmin_sameUserNoMANAGE_DEVICE_ADMINS()
540 MockUtils.checkUserHandle(DpmMockContext.CALLER_USER_HANDLE)); in testRemoveActiveAdmin_sameUserNoMANAGE_DEVICE_ADMINS()
615 MockUtils.checkUserHandle(UserHandle.USER_SYSTEM)); in setDeviceOwner()
DDpmMockContext.java408 when(userManager.isUserRunning(MockUtils.checkUserHandle(userId))) in setUserRunning()