Searched refs:userManagerForMock (Results 1 – 3 of 3) sorted by relevance
110 public final UserManagerForMock userManagerForMock; field in MockSystemServices167 userManagerForMock = mock(UserManagerForMock.class); in MockSystemServices()
336 return services.userManagerForMock.isHeadlessSystemUserMode(); in userManagerIsHeadlessSystemUserMode()
3538 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(true); in setup_DeviceAdminFeatureOff()3555 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(true); in testIsProvisioningAllowed_DeviceAdminFeatureOff()3591 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(true); in testIsProvisioningAllowed_ManagedProfileFeatureOff()3625 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(false); in testIsProvisioningAllowed_firstBoot_systemUser()3630 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(true); in testIsProvisioningAllowed_firstBoot_systemUser()3640 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(false); in testCheckProvisioningPreCondition_firstBoot_systemUser()3648 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(true); in testCheckProvisioningPreCondition_firstBoot_systemUser()3842 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(false); in testIsProvisioningAllowed_firstBoot_secondaryUser()3855 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(true); in testIsProvisioningAllowed_firstBoot_secondaryUser()