Searched refs:managedUserContext (Results 1 – 1 of 1) sorted by relevance
843 Context managedUserContext = mock(Context.class); in getUserManagerForManagedUser() local844 when(mMockContext.createContextAsUser(mManagedUser, 0)).thenReturn(managedUserContext); in getUserManagerForManagedUser()846 when(managedUserContext.getSystemServiceName(UserManager.class)) in getUserManagerForManagedUser()848 when(managedUserContext.getSystemService(UserManager.class)).thenReturn(managedUserManager); in getUserManagerForManagedUser()