Searched refs:mockFaceManager (Results 1 – 1 of 1) sorted by relevance
445 FaceManager mockFaceManager = mock(FaceManager.class); in isFaceNotConvenienceBiometric_faceStrengthStrong_shouldReturnTrue() local446 when(mContext.getSystemService(Context.FACE_SERVICE)).thenReturn(mockFaceManager); in isFaceNotConvenienceBiometric_faceStrengthStrong_shouldReturnTrue()457 doReturn(props).when(mockFaceManager).getSensorPropertiesInternal(); in isFaceNotConvenienceBiometric_faceStrengthStrong_shouldReturnTrue()464 FaceManager mockFaceManager = mock(FaceManager.class); in isFaceNotConvenienceBiometric_faceStrengthWeak_shouldReturnTrue() local465 when(mContext.getSystemService(Context.FACE_SERVICE)).thenReturn(mockFaceManager); in isFaceNotConvenienceBiometric_faceStrengthWeak_shouldReturnTrue()476 doReturn(props).when(mockFaceManager).getSensorPropertiesInternal(); in isFaceNotConvenienceBiometric_faceStrengthWeak_shouldReturnTrue()483 FaceManager mockFaceManager = mock(FaceManager.class); in isFaceNotConvenienceBiometric_faceStrengthConvenience_shouldReturnFalse() local484 when(mContext.getSystemService(Context.FACE_SERVICE)).thenReturn(mockFaceManager); in isFaceNotConvenienceBiometric_faceStrengthConvenience_shouldReturnFalse()495 doReturn(props).when(mockFaceManager).getSensorPropertiesInternal(); in isFaceNotConvenienceBiometric_faceStrengthConvenience_shouldReturnFalse()