Searched refs:mockSensorManager (Results 1 – 1 of 1) sorted by relevance
74 AsyncSensorManager mockSensorManager = mock(AsyncSensorManager.class); in testRegistersWakeUpProxSensor_givenWakeUpExistsAfterNonWakeup() local84 when(mockSensorManager.getSensorList(TYPE_ALL)).thenReturn( in testRegistersWakeUpProxSensor_givenWakeUpExistsAfterNonWakeup()89 null, mockSensorManager, new FakeExecution()); in testRegistersWakeUpProxSensor_givenWakeUpExistsAfterNonWakeup()100 AsyncSensorManager mockSensorManager = mock(AsyncSensorManager.class); in testRegistersWakeUpProxSensor_givenNonWakeUpExistsAfterWakeup() local110 when(mockSensorManager.getSensorList(TYPE_ALL)).thenReturn( in testRegistersWakeUpProxSensor_givenNonWakeUpExistsAfterWakeup()115 null, mockSensorManager, new FakeExecution()); in testRegistersWakeUpProxSensor_givenNonWakeUpExistsAfterWakeup()126 AsyncSensorManager mockSensorManager = mock(AsyncSensorManager.class); in testRegistersNonWakeUpProxSensor_givenNonWakeUpOnly() local132 when(mockSensorManager.getSensorList(TYPE_ALL)).thenReturn(List.of(mockNonWakeupProx)); in testRegistersNonWakeUpProxSensor_givenNonWakeUpOnly()136 null, mockSensorManager, new FakeExecution()); in testRegistersNonWakeUpProxSensor_givenNonWakeUpOnly()