Searched refs:KeyEventListener (Results 1 – 8 of 8) sorted by relevance
101 @Mock CarInputService.KeyEventListener mDefaultKeyEventMainListener;103 @Mock CarInputService.KeyEventListener mInstrumentClusterKeyListener;342 CarInputService.KeyEventListener listener = mock(CarInputService.KeyEventListener.class); in ordinaryEvents_onInstrumentClusterDisplay_routedToListener()351 CarInputService.KeyEventListener listener1 = mock(CarInputService.KeyEventListener.class); in registerKeyEventListener_separateListenersWithSameEventsOfInterest_fails()352 CarInputService.KeyEventListener listener2 = mock(CarInputService.KeyEventListener.class); in registerKeyEventListener_separateListenersWithSameEventsOfInterest_fails()367 CarInputService.KeyEventListener listener1 = mock(CarInputService.KeyEventListener.class); in registerKeyEventListener_separateListenersWithOverlappingEventsOfInterest_fails()368 CarInputService.KeyEventListener listener2 = mock(CarInputService.KeyEventListener.class); in registerKeyEventListener_separateListenersWithOverlappingEventsOfInterest_fails()396 CarInputService.KeyEventListener listener = mock(CarInputService.KeyEventListener.class); in registerKeyEventListener_withNullKeyEventList_fails()408 CarInputService.KeyEventListener listener = mock(CarInputService.KeyEventListener.class); in registerKeyEventListener_withEmptyKeyEventList_fails()430 CarInputService.KeyEventListener listener = mock(CarInputService.KeyEventListener.class); in onKeyEvent_afterUnregistering_doesNotCallsListener()[all …]
83 @Mock private CarInputService.KeyEventListener mDefaultKeyEventMainListener;
113 public interface KeyEventListener { interface in CarInputService223 private final KeyEventListener mDefaultKeyHandler;251 private KeyEventListener mInstrumentClusterKeyListener;254 private final SparseArray<KeyEventListener> mListeners = new SparseArray<>();270 private final KeyEventListener mDefaultSpecialKeyHandler = new KeyEventListener() {312 new KeyEventListener() { in CarInputService()334 KeyEventListener defaultKeyHandler, MotionEventListener defaultMotionHandler, in CarInputService()389 public void registerKeyEventListener(KeyEventListener listener, in registerKeyEventListener()416 public boolean unregisterKeyEventListener(KeyEventListener listener) { in unregisterKeyEventListener()441 public void setInstrumentClusterKeyListener(KeyEventListener listener) { in setInstrumentClusterKeyListener()[all …]
84 import com.android.car.CarInputService.KeyEventListener;1712 private final class MediaKeyEventListener implements KeyEventListener {
77 import com.android.car.CarInputService.KeyEventListener;137 private KeyEventListener mKeyEventListener;855 ArgumentCaptor<KeyEventListener> keyEventListenerCaptor = in mockInputServiceKeyEvents()856 ArgumentCaptor.forClass(KeyEventListener.class); in mockInputServiceKeyEvents()
53 import com.android.car.CarInputService.KeyEventListener;74 public class InstrumentClusterService implements CarServiceBase, KeyEventListener,
195 import com.android.car.CarInputService.KeyEventListener;2392 KeyEventListener keyInputListener = getAudioKeyEventListener(); in onAudioServerDown_forCarAudioServiceCallback()2420 KeyEventListener keyInputListener = getAudioKeyEventListener(); in onAudioServerDown_forCarAudioServiceCallback_withFadeManagerEnabled()2448 KeyEventListener keyInputListener = getAudioKeyEventListener(); in onAudioServerDown_forCarAudioServiceCallback_withCoreVolumeAndRouting()3495 KeyEventListener listener = getAudioKeyEventListener(); in onKeyEvent_forInvalidAudioZone()3514 KeyEventListener listener = getAudioKeyEventListener(); in onKeyEvent_forInvalidEvent()3533 KeyEventListener listener = getAudioKeyEventListener(); in onKeyEvent_forActionUp()3556 KeyEventListener listener = getAudioKeyEventListener(); in onKeyEvent_forDynamicDevKeyEventEnabledForDefaultConfigForZoneWithDynamicDevices()3596 KeyEventListener listener = getAudioKeyEventListener(); in onKeyEvent_forDynamicDevKeyEventEnabledForDynamicDeviceConfigForZoneWithDynamicDevices()3636 KeyEventListener listener = getAudioKeyEventListener(); in onKeyEvent_forDynDevKeyEventDisabledForDynamicDeviceConfigForZoneWithDynamicDevices()[all …]
124 import com.android.car.CarInputService.KeyEventListener;289 private final KeyEventListener mCarKeyEventListener = new KeyEventListener() {