/packages/services/Car/service/src/com/android/car/ |
D | CarInputService.java | 133 @VehicleAreaSeat.Enum int seat) { in onKeyEvent() argument 273 @VehicleAreaSeat.Enum int seat) { 276 handleHomeKey(event, displayType, seat); 279 handlePowerKey(event, displayType, seat); 315 @VehicleAreaSeat.Enum int seat) { in CarInputService() 486 @VehicleAreaSeat.Enum int seat) { in onKeyEvent() argument 487 if (mHasDriver && seat == VehicleAreaSeat.SEAT_UNKNOWN) { in onKeyEvent() 496 notifyUserActivity(event, targetDisplayType, seat); in onKeyEvent() 499 if (seat == mDriverSeat) { in onKeyEvent() 505 notifyKeyEventListener(event, targetDisplayType, seat); in onKeyEvent() [all …]
|
D | CarOccupantZoneService.java | 1040 @VehicleAreaSeat.Enum int seat) { in getOccupantZone() argument 1051 if (occupantType == info.occupantType && seat == info.seat) { in getOccupantZone() 1067 public int getOccupantZoneIdForSeat(@VehicleAreaSeat.Enum int seat) { in getOccupantZoneIdForSeat() argument 1069 return getOccupantZoneIdForSeatLocked(seat); in getOccupantZoneIdForSeat() 1074 private int getOccupantZoneIdForSeatLocked(@VehicleAreaSeat.Enum int seat) { in getOccupantZoneIdForSeatLocked() argument 1078 if (seat == info.seat) { in getOccupantZoneIdForSeatLocked() 1312 int seat = VehicleAreaSeat.fromRowAndSide(seatRow, seatSide); in parseOccupantZoneConfigsLocked() local 1313 if (seat == VehicleAreaSeat.SEAT_UNKNOWN) { in parseOccupantZoneConfigsLocked() 1316 OccupantZoneInfo info = new OccupantZoneInfo(zoneId, type, seat); in parseOccupantZoneConfigsLocked()
|
D | CarShellCommand.java | 1775 int seat = SEAT_UNKNOWN; 1803 seat = parseUnsignedInt(args[i]); 1831 injectKeyEvent(KeyEvent.ACTION_DOWN, keyCode, display, seat); 1833 injectKeyEvent(KeyEvent.ACTION_UP, keyCode, display, seat); 1835 injectKeyEvent(action, keyCode, display, seat); 1840 private void injectKeyEvent(int action, int keyCode, int display, int seat) { 1847 if (seat == SEAT_UNKNOWN) { 1849 seat = mCarOccupantZoneService.getDriverSeat(); 1851 mCarInputService.injectKeyEventForSeat(keyEvent, display, seat); 1862 int seat = SEAT_UNKNOWN; [all …]
|
D | CarMediaService.java | 1720 public void onKeyEvent(KeyEvent event, int displayType, int seat) { in onKeyEvent() argument 1722 Slogf.d(TAG, "onKeyEvent(%s, %d, %d)", event, displayType, seat); in onKeyEvent() 1724 int occupantZoneId = mOccupantZoneService.getOccupantZoneIdForSeat(seat); in onKeyEvent() 1727 + " Ignoring key event %s", seat, event); in onKeyEvent()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/userpicker/ |
D | UserPickerTestCase.java | 91 StringBuilder seat = new StringBuilder(15); in getZoneDesc() local 93 seat.append(mContext.getString(R.string.seat_driver)); in getZoneDesc() 96 seat.append(mContext.getString(R.string.seat_front)); in getZoneDesc() 98 seat.append(mContext.getString(R.string.seat_rear)); in getZoneDesc() 100 seat.append(" "); in getZoneDesc() 101 switch (zoneInfo.seat) { in getZoneDesc() 105 seat.append(mContext.getString(R.string.seat_left_side)); in getZoneDesc() 110 seat.append(mContext.getString(R.string.seat_center_side)); in getZoneDesc() 115 seat.append(mContext.getString(R.string.seat_right_side)); in getZoneDesc() 121 return seat.toString(); in getZoneDesc()
|
/packages/services/Car/car-lib/src/android/car/ |
D | VehicleAreaSeat.java | 100 int seat = 0x1; in fromRowAndSide() local 101 seat = seat << ((rowNumber - 1) * 4); in fromRowAndSide() 102 seat = seat << (side + 1); in fromRowAndSide() 103 return seat; in fromRowAndSide()
|
D | CarOccupantZoneManager.java | 205 public final int seat; field in CarOccupantZoneManager.OccupantZoneInfo 209 @VehicleAreaSeat.Enum int seat) { in OccupantZoneInfo() argument 212 this.seat = seat; in OccupantZoneInfo() 219 seat = in.readInt(); in OccupantZoneInfo() 232 dest.writeInt(seat); in writeToParcel() 245 && seat == that.seat; in equals() 253 hash = hash * 17 + seat; in hashCode() 276 b.append(Integer.toHexString(seat)); in toString() 778 @VehicleAreaSeat.Enum int seat) { in getOccupantZone() argument 780 return mService.getOccupantZone(occupantType, seat); in getOccupantZone()
|
D | ICarOccupantZone.aidl | 47 CarOccupantZoneManager.OccupantZoneInfo getOccupantZone(in int type, in int seat); in getOccupantZone() argument
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | InputHalService.java | 103 void onKeyEvent(KeyEvent event, int targetDisplay, int seat); in onKeyEvent() argument 106 void onMotionEvent(MotionEvent event, int targetDisplay, int seat); in onMotionEvent() argument 341 int seat; 351 seat = value.getAreaId(); 391 repeatCount, seat); 399 int seat; 418 seat = value.getAreaId(); 506 listener.onMotionEvent(event, convertDisplayType(vehicleDisplay), seat); 833 @DisplayTypeEnum int display, long eventTime, long downTime, int repeat, int seat) { 847 listener.onKeyEvent(event, display, seat);
|
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/ |
D | OccupantZoneInfoTestBuilder.java | 62 public OccupantZoneInfoTestBuilder setSeat(@VehicleAreaSeat.Enum int seat) { in setSeat() argument 63 mSeat = seat; in setSeat()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/ |
D | CarServiceMediator.java | 216 return mSeatFront + " " + getSeatSideString(zoneInfo.seat); in getSeatString() 218 return mSeatRear + " " + getSeatSideString(zoneInfo.seat); in getSeatString() 225 private String getSeatSideString(int seat) { in getSeatSideString() argument 226 switch (seat) { in getSeatSideString()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | OccupantZoneHelper.java | 94 int seat = (int) inv.getArgument(1); in setUpOccupantZones() 103 if (zone.occupantType == type && zone.seat == seat) { in setUpOccupantZones()
|
D | CarInputServiceTest.java | 1151 private KeyEvent injectPowerKeyEventToSeat(Key action, boolean isOn, int displayId, int seat) { in injectPowerKeyEventToSeat() argument 1154 return send(action, KeyEvent.KEYCODE_POWER, Display.MAIN, seat); in injectPowerKeyEventToSeat() 1318 private KeyEvent send(Key action, int keyCode, Display display, int seat) { in send() argument 1319 return sendWithRepeatAndSeat(action, keyCode, display, 0, seat); in send() 1323 int repeatCount, int seat) { in sendWithRepeatAndSeat() argument 1336 seat); in sendWithRepeatAndSeat()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/util/ |
D | InjectKeyEventUtils.java | 36 .append(zone.seat) in injectKeyByShell()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | InputHalServiceTest.java | 870 private KeyEvent dispatchSinglePerSeatEvent(int seat, int actualDisplay, in dispatchSinglePerSeatEvent() argument 881 /* areaId= */ seat, in dispatchSinglePerSeatEvent() 892 eq(seat)); in dispatchSinglePerSeatEvent() 897 private MotionEvent dispatchSinglePerSeatMotionEvent(int seat, int actualDisplay, in dispatchSinglePerSeatMotionEvent() argument 923 /* areaId = */ seat, in dispatchSinglePerSeatMotionEvent() 932 verify(mInputListener).onMotionEvent(captor.capture(), eq(expectedDisplay), eq(seat)); in dispatchSinglePerSeatMotionEvent()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | BluetoothDeviceConnectionPolicyTest.java | 227 private void sendSeatOnOccupied(int seat) { in sendSeatOnOccupied() argument 229 VehiclePropertyIds.SEAT_OCCUPANCY, seat, VehicleSeatOccupancyState.OCCUPIED); in sendSeatOnOccupied()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | MediaRequestHandlerTest.java | 711 int occupantType, int seat) { in getOccupantInfo() argument 712 return new CarOccupantZoneManager.OccupantZoneInfo(occupantZoneId, occupantType, seat); in getOccupantInfo()
|
D | CarAudioServiceUnitTest.java | 3444 int occupantType, int seat) { in getOccupantInfo() argument 3445 return new CarOccupantZoneManager.OccupantZoneInfo(occupantZoneId, occupantType, seat); in getOccupantInfo()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/touch/ |
D | InjectMotionTestFragment.java | 185 .append(zone.seat) in injectMotionByShell()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/ |
D | CarMediaServiceTest.java | 863 private void sendKeyEvent(KeyEvent keyEvent, int displayType, int seat) { in sendKeyEvent() argument 866 mKeyEventListener.onKeyEvent(keyEvent, displayType, seat); in sendKeyEvent()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioService.java | 291 public void onKeyEvent(KeyEvent event, int displayType, int seat) { 293 seat); 299 carOccupantZoneService.getOccupantZoneIdForSeat(seat)); 302 event, displayType, seat);
|
/packages/services/Car/tests/carservice_unit_test/res/raw/ |
D | car_hidden_apis_release_33.3.txt | 76 …eManager.OccupantZoneInfo OccupantZoneInfo OccupantZoneInfo(int zoneId, int occupantType, int seat)
|
/packages/services/Car/car-lib/api/ |
D | current.txt | 162 field public final int seat;
|
D | lint-baseline.txt | 446 UnflaggedApi: android.car.CarOccupantZoneManager.OccupantZoneInfo#seat: 447 …PI must be flagged with @FlaggedApi: field android.car.CarOccupantZoneManager.OccupantZoneInfo.seat
|
/packages/services/Car/car-lib-module/api/ |
D | current.txt | 162 field public final int seat;
|