Home
last modified time | relevance | path

Searched refs:KeyEventListener (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputServiceTest.java101 @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 …]
DCarInputRotaryServiceTest.java83 @Mock private CarInputService.KeyEventListener mDefaultKeyEventMainListener;
/packages/services/Car/service/src/com/android/car/
DCarInputService.java113 public interface KeyEventListener { interface in CarInputService
223 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 …]
DCarMediaService.java84 import com.android.car.CarInputService.KeyEventListener;
1712 private final class MediaKeyEventListener implements KeyEventListener {
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java77 import com.android.car.CarInputService.KeyEventListener;
137 private KeyEventListener mKeyEventListener;
855 ArgumentCaptor<KeyEventListener> keyEventListenerCaptor = in mockInputServiceKeyEvents()
856 ArgumentCaptor.forClass(KeyEventListener.class); in mockInputServiceKeyEvents()
/packages/services/Car/service/src/com/android/car/cluster/
DInstrumentClusterService.java53 import com.android.car.CarInputService.KeyEventListener;
74 public class InstrumentClusterService implements CarServiceBase, KeyEventListener,
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioServiceUnitTest.java195 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 …]
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java124 import com.android.car.CarInputService.KeyEventListener;
289 private final KeyEventListener mCarKeyEventListener = new KeyEventListener() {