Searched refs:mUserManagerMock (Results 1 – 2 of 2) sorted by relevance
93 private UserManager mUserManagerMock; field in BackupManagerServiceTest113 when(mUserManagerMock.getUserInfo(UserHandle.USER_SYSTEM)).thenReturn(mUserInfoMock); in setUp()114 when(mUserManagerMock.getUserInfo(NON_USER_SYSTEM)).thenReturn(mUserInfoMock); in setUp()115 when(mUserManagerMock.getUserInfo(UNSTARTED_NON_USER_SYSTEM)).thenReturn(mUserInfoMock); in setUp()120 BackupManagerServiceTestable.sUserManagerMock = mUserManagerMock; in setUp()544 when(mUserManagerMock.getProfileIds(UserHandle.getCallingUserId(), false)) in testGetUserForAncestralSerialNumber_forSystemUser()558 when(mUserManagerMock.getProfileIds(UserHandle.getCallingUserId(), false)) in testGetUserForAncestralSerialNumber_forNonSystemUser()
667 when(mInjector.mUserManagerMock.getUserInfo(eq(userId))).thenReturn(userInfo); in setUpUser()668 when(mInjector.mUserManagerMock.isPreCreated(userId)).thenReturn(preCreated); in setUpUser()696 public final UserManagerService mUserManagerMock; field in UserControllerTest.TestInjector714 mUserManagerMock = mock(UserManagerService.class); in TestInjector()732 return mUserManagerMock; in getUserManager()