/packages/services/Car/tests/carservice_test/src/com/android/car/input/ |
D | CarInputManagerTest.java | 32 import android.car.input.CarInputManager; 73 private CarInputManager mCarInputManager; 75 private final class CaptureCallback implements CarInputManager.CarInputCaptureCallback { 136 @NonNull @CarInputManager.InputTypeEnum int[] activeInputTypes) { in onCaptureStateChanged() 231 mCarInputManager = (CarInputManager) getCar().getCarManager(Car.CAR_INPUT_SERVICE); in setUp() 240 new int[]{CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION}, 0, mCallback0)); in testInvalidArgs() 246 new int[]{CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION, INVALID_INPUT_TYPE}, in testInvalidArgs() 251 new int[]{CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION}, in testInvalidArgs() 252 CarInputManager.CAPTURE_REQ_FLAGS_TAKE_ALL_EVENTS_FOR_DISPLAY, mCallback0)); in testInvalidArgs() 260 new int[]{CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION, INVALID_INPUT_TYPE}, in testInvalidArgs() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | InputCaptureClientController.java | 26 import android.car.input.CarInputManager; 69 entry(KeyEvent.KEYCODE_DPAD_CENTER, CarInputManager.INPUT_TYPE_DPAD_KEYS), 70 entry(KeyEvent.KEYCODE_DPAD_DOWN, CarInputManager.INPUT_TYPE_DPAD_KEYS), 71 entry(KeyEvent.KEYCODE_DPAD_UP, CarInputManager.INPUT_TYPE_DPAD_KEYS), 72 entry(KeyEvent.KEYCODE_DPAD_LEFT, CarInputManager.INPUT_TYPE_DPAD_KEYS), 73 entry(KeyEvent.KEYCODE_DPAD_RIGHT, CarInputManager.INPUT_TYPE_DPAD_KEYS), 74 entry(KeyEvent.KEYCODE_DPAD_DOWN_LEFT, CarInputManager.INPUT_TYPE_DPAD_KEYS), 75 entry(KeyEvent.KEYCODE_DPAD_DOWN_RIGHT, CarInputManager.INPUT_TYPE_DPAD_KEYS), 76 entry(KeyEvent.KEYCODE_DPAD_UP_LEFT, CarInputManager.INPUT_TYPE_DPAD_KEYS), 77 entry(KeyEvent.KEYCODE_DPAD_UP_RIGHT, CarInputManager.INPUT_TYPE_DPAD_KEYS), [all …]
|
D | CarInputService.java | 33 import android.car.input.CarInputManager; 413 case CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION: in rotaryEventToKeyEvents() 418 case CarInputManager.INPUT_TYPE_ROTARY_VOLUME: in rotaryEventToKeyEvents()
|
D | CarShellCommand.java | 43 import android.car.input.CarInputManager; 1132 int inputType = CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION;
|
/packages/services/Car/car-lib/src/android/car/input/ |
D | CarInputManager.java | 53 public final class CarInputManager extends CarManagerBase { class 55 private static final String TAG = CarInputManager.class.getSimpleName(); 234 public CarInputManager(Car car, IBinder service) { in CarInputManager() method in CarInputManager 425 private final WeakReference<CarInputManager> mManager; 427 private ICarInputCallbackImpl(CarInputManager manager) { in ICarInputCallbackImpl() 434 CarInputManager manager = mManager.get(); in onKeyEvents() 444 CarInputManager manager = mManager.get(); in onRotaryEvents() 454 CarInputManager manager = mManager.get(); in onCaptureStateChanged() 464 CarInputManager manager = mManager.get(); in onCustomInputEvents()
|
D | RotaryEvent.java | 47 @CarInputManager.InputTypeEnum 132 @CarInputManager.InputTypeEnum int inputType, in RotaryEvent() 137 CarInputManager.InputTypeEnum.class, null, mInputType); in RotaryEvent() 151 public @CarInputManager.InputTypeEnum int getInputType() { in getInputType() 240 CarInputManager.InputTypeEnum.class, null, mInputType); in RotaryEvent()
|
/packages/services/Car/tests/SampleCustomInputService/src/com/android/car/custominput/sample/ |
D | SampleCustomInputService.java | 21 import android.car.input.CarInputManager; 39 CarInputManager.CarInputCaptureCallback { 44 private CarInputManager mCarInputManager; 69 (CarInputManager) mCar.getCarManager(Car.CAR_INPUT_SERVICE); in connectToCarService() 72 new int[]{CarInputManager.INPUT_TYPE_CUSTOM_INPUT_EVENT}, in connectToCarService() 73 CarInputManager.CAPTURE_REQ_FLAGS_ALLOW_DELAYED_GRANT, in connectToCarService()
|
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/input/ |
D | CarInputManagerPermisisonTest.java | 25 import android.car.input.CarInputManager; 45 private CarInputManager mCarInputManager; 48 private CarInputManager.CarInputCaptureCallback mMockedCallback; 55 mCarInputManager = (CarInputManager) mCar.getCarManager(Car.CAR_INPUT_SERVICE); in setUp() 68 new int[]{CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION}, 0, mMockedCallback)); in testEnableFeaturePermission()
|
/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/ |
D | ClusterHomeApplication.java | 42 import android.car.input.CarInputManager; 43 import android.car.input.CarInputManager.CarInputCaptureCallback; 75 private CarInputManager mCarInputManager; 111 mCarInputManager = (CarInputManager) car.getCarManager(Car.CAR_INPUT_SERVICE); in onCreate() 130 new int[]{CarInputManager.INPUT_TYPE_ALL_INPUTS}, in initClusterHome() 131 CarInputManager.CAPTURE_REQ_FLAGS_TAKE_ALL_EVENTS_FOR_DISPLAY, in initClusterHome() 133 if (r != CarInputManager.INPUT_CAPTURE_RESPONSE_SUCCEEDED) { in initClusterHome()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarInputServiceTest.java | 49 import android.car.input.CarInputManager; 139 /* inputType= */ CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION, in testOnRotaryEvent_injectingRotaryNavigationEvent() 158 /* inputType= */ CarInputManager.INPUT_TYPE_ROTARY_VOLUME, in testOnRotaryEvent_injectingRotaryVolumeEvent() 180 /* inputType= */ CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION, in testOnRotaryEvent_injectingRotaryNavigation_notConsumedByCaptureController() 202 int[] inputTypes = new int[]{CarInputManager.INPUT_TYPE_CUSTOM_INPUT_EVENT}; in testRequestInputEventCapture_delegatesToCaptureController() 203 int requestFlags = CarInputManager.CAPTURE_REQ_FLAGS_ALLOW_DELAYED_GRANT; in testRequestInputEventCapture_delegatesToCaptureController()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | InputHalService.java | 30 import android.car.input.CarInputManager; 289 carInputManagerType = CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION; 292 carInputManagerType = CarInputManager.INPUT_TYPE_ROTARY_VOLUME;
|
/packages/apps/Car/RotaryController/src/com/android/car/rotary/ |
D | RotaryService.java | 63 import android.car.input.CarInputManager; 152 CarInputManager.CarInputCaptureCallback { 249 CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION, 251 CarInputManager.INPUT_TYPE_DPAD_KEYS, 253 CarInputManager.INPUT_TYPE_SYSTEM_NAVIGATE_KEYS}; 546 private CarInputManager mCarInputManager; 700 (CarInputManager) mCar.getCarManager(Car.CAR_INPUT_SERVICE); in onServiceConnected() 704 CarInputManager.CAPTURE_REQ_FLAGS_ALLOW_DELAYED_GRANT, in onServiceConnected() 1714 if (rotaryEvent.getInputType() != CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION) { in handleRotaryEvent()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | InputHalServiceTest.java | 34 import android.car.input.CarInputManager; 397 /* inputType= */ CarInputManager.INPUT_TYPE_ROTARY_VOLUME, in dispatchesRotaryEvent_singleVolumeUp_anyDisplay() 432 /* inputType= */CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION, in dispatchesRotaryEvent_multipleNavigatePrevious_anyDisplay()
|
/packages/apps/Car/RotaryController/ |
D | Android.bp | 62 // Because it uses a platform API (CarInputManager).
|
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/ |
D | RotaryServiceTest.java | 44 import android.car.input.CarInputManager; 429 int inputType = CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION; in testOnRotaryEvents_withoutFocusedView() 476 int inputType = CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION; in testOnRotaryEvents_withFocusedView() 533 int inputType = CarInputManager.INPUT_TYPE_ROTARY_NAVIGATION; in testOnRotaryEvents_acceleration()
|
/packages/services/Car/car-lib/src/android/car/ |
D | Car.java | 50 import android.car.input.CarInputManager; 1889 manager = new CarInputManager(this, binder); in createCarManagerLocked()
|
/packages/services/Car/car-lib/api/ |
D | system-current.txt | 932 public final class CarInputManager { 935 …putEventCapture(int, @NonNull int[], int, @NonNull android.car.input.CarInputManager.CarInputCaptu… 936 …, @NonNull java.util.concurrent.Executor, @NonNull android.car.input.CarInputManager.CarInputCaptu… 945 public static interface CarInputManager.CarInputCaptureCallback {
|