Searched refs:userManagerForMock (Results 1 – 3 of 3) sorted by relevance
97 public final UserManagerForMock userManagerForMock; field in MockSystemServices144 userManagerForMock = mock(UserManagerForMock.class); in MockSystemServices()
362 return services.userManagerForMock.isHeadlessSystemUserMode(); in userManagerIsHeadlessSystemUserMode()
1055 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(true); in testSetDeviceOwner_headlessSystemUserMode()3511 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(true); in setup_DeviceAdminFeatureOff()3528 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(true); in testIsProvisioningAllowed_DeviceAdminFeatureOff()3564 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(true); in testIsProvisioningAllowed_ManagedProfileFeatureOff()3598 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(false); in testIsProvisioningAllowed_firstBoot_systemUser()3603 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(true); in testIsProvisioningAllowed_firstBoot_systemUser()3613 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(false); in testCheckProvisioningPreCondition_firstBoot_systemUser()3621 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(true); in testCheckProvisioningPreCondition_firstBoot_systemUser()3815 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(false); in testIsProvisioningAllowed_firstBoot_secondaryUser()3828 when(getServices().userManagerForMock.isHeadlessSystemUserMode()).thenReturn(true); in testIsProvisioningAllowed_firstBoot_secondaryUser()