Searched refs:mAmbientDisplayConfiguration (Results 1 – 3 of 3) sorted by relevance
48 private AmbientDisplayConfiguration mAmbientDisplayConfiguration; field in DoubleTapScreenPreferenceControllerTest57 mController.setConfig(mAmbientDisplayConfiguration); in setUp()63 when(mAmbientDisplayConfiguration.doubleTapGestureEnabled(anyInt())).thenReturn(true); in testIsChecked_configIsSet_shouldReturnTrue()70 when(mAmbientDisplayConfiguration.doubleTapGestureEnabled(anyInt())).thenReturn(false); in testIsChecked_configIsNotSet_shouldReturnFalse()77 when(mAmbientDisplayConfiguration.doubleTapSensorAvailable()).thenReturn(true); in isSuggestionCompleted_ambientDisplay_falseWhenNotVisited()84 .isSuggestionComplete(mAmbientDisplayConfiguration, prefs)).isFalse(); in isSuggestionCompleted_ambientDisplay_falseWhenNotVisited()89 when(mAmbientDisplayConfiguration.doubleTapSensorAvailable()).thenReturn(false); in isSuggestionCompleted_ambientDisplay_trueWhenVisited()98 .isSuggestionComplete(mAmbientDisplayConfiguration, prefs)).isTrue(); in isSuggestionCompleted_ambientDisplay_trueWhenVisited()103 when(mAmbientDisplayConfiguration.doubleTapSensorAvailable()).thenReturn(false); in getAvailabilityStatus_aodNotSupported_UNSUPPORTED_ON_DEVICE()104 when(mAmbientDisplayConfiguration.ambientDisplayAvailable()).thenReturn(false); in getAvailabilityStatus_aodNotSupported_UNSUPPORTED_ON_DEVICE()[all …]
50 private AmbientDisplayConfiguration mAmbientDisplayConfiguration; field in PickupGesturePreferenceControllerTest58 mController.setConfig(mAmbientDisplayConfiguration); in setUp()64 when(mAmbientDisplayConfiguration.pickupGestureEnabled(anyInt())).thenReturn(true); in testIsChecked_configIsSet_shouldReturnTrue()72 when(mAmbientDisplayConfiguration.pickupGestureEnabled(anyInt())).thenReturn(false); in testIsChecked_configIsNotSet_shouldReturnFalse()92 when(mAmbientDisplayConfiguration.dozePickupSensorAvailable()).thenReturn(false); in getAvailabilityStatus_aodNotSupported_UNSUPPORTED_ON_DEVICE()93 when(mAmbientDisplayConfiguration.ambientDisplayAvailable()).thenReturn(false); in getAvailabilityStatus_aodNotSupported_UNSUPPORTED_ON_DEVICE()101 when(mAmbientDisplayConfiguration.dozePickupSensorAvailable()).thenReturn(true); in getAvailabilityStatus_aodSupported_aodOff_AVAILABLE()102 when(mAmbientDisplayConfiguration.ambientDisplayAvailable()).thenReturn(true); in getAvailabilityStatus_aodSupported_aodOff_AVAILABLE()
46 private AmbientDisplayConfiguration mAmbientDisplayConfiguration; field in TapScreenGesturePreferenceControllerTest54 mController.setConfig(mAmbientDisplayConfiguration); in setUp()60 when(mAmbientDisplayConfiguration.tapGestureEnabled(anyInt())).thenReturn(true); in testIsChecked_configIsSet_shouldReturnTrue()67 when(mAmbientDisplayConfiguration.tapGestureEnabled(anyInt())).thenReturn(false); in testIsChecked_configIsNotSet_shouldReturnFalse()73 when(mAmbientDisplayConfiguration.tapSensorAvailable()).thenReturn(false); in getAvailabilityStatus_gestureNotSupported_UNSUPPORTED_ON_DEVICE()81 when(mAmbientDisplayConfiguration.tapSensorAvailable()).thenReturn(true); in getAvailabilityStatus_gestureSupported_AVAILABLE()