/packages/services/Car/tests/SampleCustomInputService/tests/src/com/android/car/custominput/sample/unittest/ |
D | CustomInputEventListenerTest.java | 37 import android.car.input.CustomInputEvent; 105 CustomInputEvent event = new CustomInputEvent( in testHandleEvent_launchingMaps() 108 /* inputCode= */ CustomInputEvent.INPUT_CODE_F1, in testHandleEvent_launchingMaps() 138 CustomInputEvent event = new CustomInputEvent( in testHandleEvent_acceptIncomingCallAction() 141 /* inputCode= */ CustomInputEvent.INPUT_CODE_F2, in testHandleEvent_acceptIncomingCallAction() 158 CustomInputEvent event = new CustomInputEvent( in testHandleEvent_rejectIncomingCallAction() 161 /* inputCode= */ CustomInputEvent.INPUT_CODE_F3, in testHandleEvent_rejectIncomingCallAction() 177 CustomInputEvent event = new CustomInputEvent( in testHandleEvent_launchHomeAction() 180 /* inputCode= */ CustomInputEvent.INPUT_CODE_F8, in testHandleEvent_launchHomeAction() 195 CustomInputEvent event = new CustomInputEvent(CustomInputEvent.INPUT_CODE_F1, in testHandleEvent_ignoringEventsForNonMainDisplay() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/input/ |
D | CustomInputEventTest.java | 22 import android.car.input.CustomInputEvent; 31 CustomInputEvent original = new CustomInputEvent( in testCustomInputEventWriteAndReadParcel() 32 /* inputCode= */ CustomInputEvent.INPUT_CODE_F1, in testCustomInputEventWriteAndReadParcel() 40 CustomInputEvent actual = CustomInputEvent.CREATOR.createFromParcel(parcel); in testCustomInputEventWriteAndReadParcel() 44 assertThat(actual.getInputCode()).isEqualTo(CustomInputEvent.INPUT_CODE_F1); in testCustomInputEventWriteAndReadParcel() 52 assertThat(CustomInputEvent.inputCodeToString(CustomInputEvent.INPUT_CODE_F1)).isEqualTo( in testInputCodeToString() 53 Integer.toString(CustomInputEvent.INPUT_CODE_F1)); in testInputCodeToString() 58 CustomInputEvent[] eventArray = CustomInputEvent.CREATOR.newArray(10); in testCustomInputEventParcelNewArray()
|
D | CarInputManagerTest.java | 31 import android.car.input.CustomInputEvent; 96 private final LinkedList<Pair<Integer, List<CustomInputEvent>>> mCustomInputEvents = 130 @NonNull List<CustomInputEvent> events) { in onCustomInputEvents() 200 private LinkedList<Pair<Integer, List<CustomInputEvent>>> getCustomInputEvents() { in getCustomInputEvents() 202 LinkedList<Pair<Integer, List<CustomInputEvent>>> r = in getCustomInputEvents() 857 Pair<Integer, List<CustomInputEvent>> customInputEvents = in sendAndAssertCustomInputEvent() 860 CustomInputEvent customInputEvent = customInputEvents.second.get(0); in sendAndAssertCustomInputEvent() 988 LinkedList<Pair<Integer, List<CustomInputEvent>>> events = callback.getCustomInputEvents(); in waitAndAssertLastCustomInputEvent() 991 Pair<Integer, List<CustomInputEvent>> lastEvent = events.getFirst(); in waitAndAssertLastCustomInputEvent() 995 CustomInputEvent event = lastEvent.second.get(0); in waitAndAssertLastCustomInputEvent()
|
/packages/services/Car/car-lib/src/android/car/input/ |
D | CustomInputEvent.java | 41 public final class CustomInputEvent implements Parcelable { class 84 public CustomInputEvent( in CustomInputEvent() method in CustomInputEvent 136 CustomInputEvent that = (CustomInputEvent) o; in equals() 179 /* package-private */ CustomInputEvent(@NonNull Parcel in) { in CustomInputEvent() method in CustomInputEvent 192 Parcelable.Creator<CustomInputEvent> CREATOR 193 = new Parcelable.Creator<CustomInputEvent>() { 195 public CustomInputEvent[] newArray(int size) { 196 return new CustomInputEvent[size]; 200 public CustomInputEvent createFromParcel(@NonNull Parcel in) { 201 return new CustomInputEvent(in);
|
D | ICarInputCallback.aidl | 18 import android.car.input.CustomInputEvent; 31 void onCustomInputEvents(int targetDisplayType, in List<CustomInputEvent> events) = 4; in onCustomInputEvents()
|
D | CarInputManager.java | 107 @NonNull List<CustomInputEvent> events) {} in onCustomInputEvents() 449 List<CustomInputEvent> events) { in dispatchCustomInputEvents() 503 @NonNull List<CustomInputEvent> events) { in onCustomInputEvents()
|
D | CustomInputEvent.aidl | 18 parcelable CustomInputEvent;
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | InputHalServiceTest.java | 41 import android.car.input.CustomInputEvent; 532 List<CustomInputEvent> events = new ArrayList<>(); in dispatchesCustomInputEvent_mainDisplay() 534 CustomInputEvent event = invocation.getArgument(0); in dispatchesCustomInputEvent_mainDisplay() 548 assertThat(events).containsExactly(new CustomInputEvent( in dispatchesCustomInputEvent_mainDisplay() 549 CustomInputEvent.INPUT_CODE_F1, CarOccupantZoneManager.DISPLAY_TYPE_MAIN, in dispatchesCustomInputEvent_mainDisplay() 558 List<CustomInputEvent> events = new ArrayList<>(); in dispatchesCustomInputEvent_clusterDisplay() 560 CustomInputEvent event = invocation.getArgument(0); in dispatchesCustomInputEvent_clusterDisplay() 574 assertThat(events).containsExactly(new CustomInputEvent( in dispatchesCustomInputEvent_clusterDisplay() 575 CustomInputEvent.INPUT_CODE_F1, in dispatchesCustomInputEvent_clusterDisplay() 593 CustomInputEvent.INPUT_CODE_F1); in dispatchesCustomInputEvent_InvalidEvent() [all …]
|
/packages/services/Car/tests/SampleCustomInputService/src/com/android/car/custominput/sample/ |
D | SampleCustomInputService.java | 25 import android.car.input.CustomInputEvent; 149 @NonNull List<CustomInputEvent> events) { in onCustomInputEvents() 150 for (CustomInputEvent event : events) { in onCustomInputEvents()
|
D | CustomInputEventListener.java | 23 import android.car.input.CustomInputEvent; 106 public void handle(int targetDisplayType, CustomInputEvent event) { in handle()
|
/packages/services/Car/service/src/com/android/car/ |
D | InputCaptureClientController.java | 32 import android.car.input.CustomInputEvent; 231 private final ArrayList<CustomInputEvent> mCustomInputEventDispatchScratchList = 585 public boolean onCustomInputEvent(CustomInputEvent event) { in onCustomInputEvent() 753 CustomInputEvent event, in dispatchCustomInputEvent()
|
D | CarShellCommand.java | 66 import android.car.input.CustomInputEvent; 497 CUSTOM_INPUT_FUNCTION_ARGS.put("f1", CustomInputEvent.INPUT_CODE_F1); 498 CUSTOM_INPUT_FUNCTION_ARGS.put("f2", CustomInputEvent.INPUT_CODE_F2); 499 CUSTOM_INPUT_FUNCTION_ARGS.put("f3", CustomInputEvent.INPUT_CODE_F3); 500 CUSTOM_INPUT_FUNCTION_ARGS.put("f4", CustomInputEvent.INPUT_CODE_F4); 501 CUSTOM_INPUT_FUNCTION_ARGS.put("f5", CustomInputEvent.INPUT_CODE_F5); 502 CUSTOM_INPUT_FUNCTION_ARGS.put("f6", CustomInputEvent.INPUT_CODE_F6); 503 CUSTOM_INPUT_FUNCTION_ARGS.put("f7", CustomInputEvent.INPUT_CODE_F7); 504 CUSTOM_INPUT_FUNCTION_ARGS.put("f8", CustomInputEvent.INPUT_CODE_F8); 505 CUSTOM_INPUT_FUNCTION_ARGS.put("f9", CustomInputEvent.INPUT_CODE_F9); [all …]
|
D | CarInputService.java | 44 import android.car.input.CustomInputEvent; 613 public void onCustomInputEvent(CustomInputEvent event) { in onCustomInputEvent()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | InputHalService.java | 34 import android.car.input.CustomInputEvent; 112 void onCustomInputEvent(CustomInputEvent event); in onCustomInputEvent() 865 CustomInputEvent event = new CustomInputEvent(inputCode, targetDisplayType, repeatCounter);
|
/packages/services/Car/tests/SampleCustomInputService/ |
D | readme.md | 31 These are the test scripts to demonstrate how CustomInputEvent can be used to implement OEM
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarInputServiceTest.java | 20 import static android.car.input.CustomInputEvent.INPUT_CODE_F1; 52 import android.car.input.CustomInputEvent; 307 CustomInputEvent event = new CustomInputEvent(INPUT_CODE_F1, in testOnCustomInputEvent_delegatesToCaptureController()
|
/packages/services/Car/car-lib/api/ |
D | system-lint-baseline.txt | 3160 …rInputCaptureCallback#onCustomInputEvents(int, java.util.List<android.car.input.CustomInputEvent>): 3161 …CarInputCaptureCallback.onCustomInputEvents(int,java.util.List<android.car.input.CustomInputEvent>) 3166 UnflaggedApi: android.car.input.CustomInputEvent: 3167 New API must be flagged with @FlaggedApi: class android.car.input.CustomInputEvent 3168 UnflaggedApi: android.car.input.CustomInputEvent#CREATOR: 3169 New API must be flagged with @FlaggedApi: field android.car.input.CustomInputEvent.CREATOR 3170 UnflaggedApi: android.car.input.CustomInputEvent#CustomInputEvent(int, int, int): 3171 …New API must be flagged with @FlaggedApi: constructor android.car.input.CustomInputEvent(int,int,i… 3172 UnflaggedApi: android.car.input.CustomInputEvent#INPUT_CODE_F1: 3173 New API must be flagged with @FlaggedApi: field android.car.input.CustomInputEvent.INPUT_CODE_F1 [all …]
|
D | system-current.txt | 1614 …default void onCustomInputEvents(int, @NonNull java.util.List<android.car.input.CustomInputEvent>); 1619 public final class CustomInputEvent implements android.os.Parcelable { 1620 ctor public CustomInputEvent(int, int, int); 1627 …Null public static final android.os.Parcelable.Creator<android.car.input.CustomInputEvent> CREATOR;
|
D | test-current.txt | 1688 …default void onCustomInputEvents(int, @NonNull java.util.List<android.car.input.CustomInputEvent>); 1693 public final class CustomInputEvent implements android.os.Parcelable { 1694 ctor public CustomInputEvent(int, int, int); 1701 …Null public static final android.os.Parcelable.Creator<android.car.input.CustomInputEvent> CREATOR;
|
/packages/services/Car/car-lib-module/api/ |
D | system-current.txt | 1614 …default void onCustomInputEvents(int, @NonNull java.util.List<android.car.input.CustomInputEvent>); 1619 public final class CustomInputEvent implements android.os.Parcelable { 1620 ctor public CustomInputEvent(int, int, int); 1627 …Null public static final android.os.Parcelable.Creator<android.car.input.CustomInputEvent> CREATOR;
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 1019 class @hide @SystemApi CustomInputEvent package android.car.input 1030 field TIRAMISU_0 Parcelable.Creator<CustomInputEvent> CREATOR; 1086 … method TIRAMISU_0 void onCustomInputEvents(int targetDisplayType, List<CustomInputEvent> events);
|