1// Signature format: 2.0
2package android.car {
3
4  public abstract class ApiVersion<T extends android.car.ApiVersion<?>> {
5    method public final int getMajorVersion();
6    method public final int getMinorVersion();
7    method public final boolean isAtLeast(@NonNull T);
8    method @NonNull public final String toString();
9  }
10
11  public final class Car {
12    method @Deprecated public void connect() throws java.lang.IllegalStateException;
13    method @Deprecated public static android.car.Car createCar(android.content.Context, android.content.ServiceConnection, @Nullable android.os.Handler);
14    method @Deprecated public static android.car.Car createCar(android.content.Context, android.content.ServiceConnection);
15    method @Nullable public static android.car.Car createCar(android.content.Context);
16    method @Nullable public static android.car.Car createCar(android.content.Context, @Nullable android.os.Handler);
17    method @NonNull public static android.car.Car createCar(@NonNull android.content.Context, @Nullable android.os.Handler, long, @NonNull android.car.Car.CarServiceLifecycleListener);
18    method public void disconnect();
19    method @Deprecated public int getCarConnectionType();
20    method @Nullable public Object getCarManager(String);
21    method @Nullable public <T> T getCarManager(@NonNull Class<T>);
22    method @Deprecated @NonNull public static android.car.CarVersion getCarVersion();
23    method @Deprecated @NonNull public static android.car.PlatformVersion getPlatformVersion();
24    method @Deprecated public static boolean isApiAndPlatformVersionAtLeast(int, int);
25    method @Deprecated public static boolean isApiAndPlatformVersionAtLeast(int, int, int);
26    method @Deprecated public static boolean isApiVersionAtLeast(int);
27    method @Deprecated public static boolean isApiVersionAtLeast(int, int);
28    method public boolean isConnected();
29    method public boolean isConnecting();
30    method public boolean isFeatureEnabled(@NonNull String);
31    field @Deprecated public static final int API_VERSION_MAJOR_INT = 34; // 0x22
32    field @Deprecated public static final int API_VERSION_MINOR_INT = 0; // 0x0
33    field public static final String APP_FOCUS_SERVICE = "app_focus";
34    field public static final String AUDIO_SERVICE = "audio";
35    field public static final String CAR_EXTRA_BROWSE_SERVICE_FOR_SESSION = "android.media.session.BROWSE_SERVICE";
36    field @Deprecated public static final String CAR_EXTRA_MEDIA_COMPONENT = "android.car.intent.extra.MEDIA_COMPONENT";
37    field @Deprecated public static final String CAR_INTENT_ACTION_MEDIA_TEMPLATE = "android.car.intent.action.MEDIA_TEMPLATE";
38    field public static final String CAR_NAVIGATION_SERVICE = "car_navigation_service";
39    field public static final String CAR_OCCUPANT_ZONE_SERVICE = "car_occupant_zone_service";
40    field public static final String CAR_UX_RESTRICTION_SERVICE = "uxrestriction";
41    field public static final long CAR_WAIT_TIMEOUT_DO_NOT_WAIT = 0L; // 0x0L
42    field public static final long CAR_WAIT_TIMEOUT_WAIT_FOREVER = -1L; // 0xffffffffffffffffL
43    field public static final String CAR_WATCHDOG_SERVICE = "car_watchdog";
44    field @Deprecated public static final int CONNECTION_TYPE_EMBEDDED = 5; // 0x5
45    field public static final String INFO_SERVICE = "info";
46    field public static final String META_DATA_DISTRACTION_OPTIMIZED = "distractionOptimized";
47    field public static final String META_DATA_REQUIRES_CAR_FEATURE = "requires-car-feature";
48    field public static final String PACKAGE_SERVICE = "package";
49    field public static final String PERMISSION_CAR_CONTROL_AUDIO_SETTINGS = "android.car.permission.CAR_CONTROL_AUDIO_SETTINGS";
50    field public static final String PERMISSION_CAR_CONTROL_AUDIO_VOLUME = "android.car.permission.CAR_CONTROL_AUDIO_VOLUME";
51    field public static final String PERMISSION_CAR_INFO = "android.car.permission.CAR_INFO";
52    field public static final String PERMISSION_CAR_NAVIGATION_MANAGER = "android.car.permission.CAR_NAVIGATION_MANAGER";
53    field public static final String PERMISSION_CONTROL_CAR_ENERGY = "android.car.permission.CONTROL_CAR_ENERGY";
54    field public static final String PERMISSION_CONTROL_DISPLAY_UNITS = "android.car.permission.CONTROL_CAR_DISPLAY_UNITS";
55    field public static final String PERMISSION_CONTROL_INTERIOR_LIGHTS = "android.car.permission.CONTROL_CAR_INTERIOR_LIGHTS";
56    field public static final String PERMISSION_ENERGY = "android.car.permission.CAR_ENERGY";
57    field public static final String PERMISSION_ENERGY_PORTS = "android.car.permission.CAR_ENERGY_PORTS";
58    field public static final String PERMISSION_EXTERIOR_ENVIRONMENT = "android.car.permission.CAR_EXTERIOR_ENVIRONMENT";
59    field public static final String PERMISSION_IDENTIFICATION = "android.car.permission.CAR_IDENTIFICATION";
60    field public static final String PERMISSION_POWERTRAIN = "android.car.permission.CAR_POWERTRAIN";
61    field public static final String PERMISSION_PRIVILEGED_CAR_INFO = "android.car.permission.PRIVILEGED_CAR_INFO";
62    field public static final String PERMISSION_READ_CAR_POWER_POLICY = "android.car.permission.READ_CAR_POWER_POLICY";
63    field public static final String PERMISSION_READ_DISPLAY_UNITS = "android.car.permission.READ_CAR_DISPLAY_UNITS";
64    field public static final String PERMISSION_READ_INTERIOR_LIGHTS = "android.car.permission.READ_CAR_INTERIOR_LIGHTS";
65    field public static final String PERMISSION_READ_STEERING_STATE = "android.car.permission.READ_CAR_STEERING";
66    field public static final String PERMISSION_SPEED = "android.car.permission.CAR_SPEED";
67    field public static final String PERMISSION_USE_REMOTE_ACCESS = "android.car.permission.USE_REMOTE_ACCESS";
68    field @Deprecated public static final int PLATFORM_VERSION_MINOR_INT;
69    field public static final String POWER_SERVICE = "power";
70    field public static final String PROPERTY_SERVICE = "property";
71    field @Deprecated public static final String SENSOR_SERVICE = "sensor";
72  }
73
74  public static interface Car.CarServiceLifecycleListener {
75    method public void onLifecycleChanged(@NonNull android.car.Car, boolean);
76  }
77
78  public final class CarAppFocusManager {
79    method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, int);
80    method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback);
81    method public void addFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener, int);
82    method public boolean isOwningFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, int);
83    method public void removeFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener, int);
84    method public void removeFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener);
85    method public int requestAppFocus(int, android.car.CarAppFocusManager.OnAppFocusOwnershipCallback);
86    field public static final int APP_FOCUS_REQUEST_FAILED = 0; // 0x0
87    field public static final int APP_FOCUS_REQUEST_SUCCEEDED = 1; // 0x1
88    field public static final int APP_FOCUS_TYPE_NAVIGATION = 1; // 0x1
89    field @Deprecated public static final int APP_FOCUS_TYPE_VOICE_COMMAND = 2; // 0x2
90  }
91
92  public static interface CarAppFocusManager.OnAppFocusChangedListener {
93    method public void onAppFocusChanged(int, boolean);
94  }
95
96  public static interface CarAppFocusManager.OnAppFocusOwnershipCallback {
97    method public void onAppFocusOwnershipGranted(int);
98    method public void onAppFocusOwnershipLost(int);
99  }
100
101  @Deprecated public final class CarInfoManager {
102    method @Deprecated public int getDriverSeat();
103    method @Deprecated public float getEvBatteryCapacity();
104    method @Deprecated public int[] getEvConnectorTypes();
105    method @Deprecated public int getEvPortLocation();
106    method @Deprecated public float getFuelCapacity();
107    method @Deprecated public int getFuelDoorLocation();
108    method @Deprecated public int[] getFuelTypes();
109    method @Deprecated @NonNull public String getManufacturer();
110    method @Deprecated @NonNull public String getModel();
111    method @Deprecated @NonNull public String getModelYear();
112    method @Deprecated public int getModelYearInInteger();
113    method @Deprecated public String getVehicleId();
114  }
115
116  @Deprecated public class CarNotConnectedException extends java.lang.RuntimeException {
117    ctor @Deprecated public CarNotConnectedException();
118    ctor @Deprecated public CarNotConnectedException(String);
119    ctor @Deprecated public CarNotConnectedException(String, Throwable);
120    ctor @Deprecated public CarNotConnectedException(Exception);
121  }
122
123  public class CarOccupantZoneManager {
124    method @NonNull public java.util.List<android.view.Display> getAllDisplaysForOccupant(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo);
125    method @NonNull public java.util.List<android.car.CarOccupantZoneManager.OccupantZoneInfo> getAllOccupantZones();
126    method @Nullable public android.view.Display getDisplayForOccupant(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, int);
127    method public int getDisplayType(@NonNull android.view.Display);
128    method @Nullable public android.car.CarOccupantZoneManager.OccupantZoneInfo getMyOccupantZone();
129    method @Nullable public android.car.CarOccupantZoneManager.OccupantZoneInfo getOccupantZone(int, int);
130    method @Nullable public android.car.CarOccupantZoneManager.OccupantZoneInfo getOccupantZoneForUser(@NonNull android.os.UserHandle);
131    method @NonNull public java.util.List<java.lang.Integer> getSupportedInputTypes(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, int);
132    method public int getUserForDisplayId(int);
133    method public int getUserForOccupant(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo);
134    method public boolean hasDriverZone();
135    method public boolean hasPassengerZones();
136    method public void registerOccupantZoneConfigChangeListener(@NonNull android.car.CarOccupantZoneManager.OccupantZoneConfigChangeListener);
137    method public void unregisterOccupantZoneConfigChangeListener(@NonNull android.car.CarOccupantZoneManager.OccupantZoneConfigChangeListener);
138    field public static final int DISPLAY_TYPE_AUXILIARY = 5; // 0x5
139    field public static final int DISPLAY_TYPE_HUD = 3; // 0x3
140    field public static final int DISPLAY_TYPE_INPUT = 4; // 0x4
141    field public static final int DISPLAY_TYPE_INSTRUMENT_CLUSTER = 2; // 0x2
142    field public static final int DISPLAY_TYPE_MAIN = 1; // 0x1
143    field public static final int DISPLAY_TYPE_UNKNOWN = 0; // 0x0
144    field public static final int INVALID_USER_ID = -10000; // 0xffffd8f0
145    field public static final int OCCUPANT_TYPE_DRIVER = 0; // 0x0
146    field public static final int OCCUPANT_TYPE_FRONT_PASSENGER = 1; // 0x1
147    field public static final int OCCUPANT_TYPE_REAR_PASSENGER = 2; // 0x2
148    field public static final int ZONE_CONFIG_CHANGE_FLAG_AUDIO = 4; // 0x4
149    field public static final int ZONE_CONFIG_CHANGE_FLAG_DISPLAY = 1; // 0x1
150    field public static final int ZONE_CONFIG_CHANGE_FLAG_USER = 2; // 0x2
151  }
152
153  public static interface CarOccupantZoneManager.OccupantZoneConfigChangeListener {
154    method public void onOccupantZoneConfigChanged(int);
155  }
156
157  public static final class CarOccupantZoneManager.OccupantZoneInfo implements android.os.Parcelable {
158    method public int describeContents();
159    method public void writeToParcel(android.os.Parcel, int);
160    field public static final android.os.Parcelable.Creator<android.car.CarOccupantZoneManager.OccupantZoneInfo> CREATOR;
161    field public final int occupantType;
162    field public final int seat;
163    field public int zoneId;
164  }
165
166  public final class CarVersion extends android.car.ApiVersion<android.car.CarVersion> implements android.os.Parcelable {
167    method public int describeContents();
168    method @NonNull public static android.car.CarVersion forMajorAndMinorVersions(int, int);
169    method @NonNull public static android.car.CarVersion forMajorVersion(int);
170    method public void writeToParcel(@NonNull android.os.Parcel, int);
171    field @NonNull public static final android.os.Parcelable.Creator<android.car.CarVersion> CREATOR;
172  }
173
174  public static class CarVersion.VERSION_CODES {
175    field @NonNull public static final android.car.CarVersion TIRAMISU_0;
176    field @NonNull public static final android.car.CarVersion TIRAMISU_1;
177    field @NonNull public static final android.car.CarVersion TIRAMISU_2;
178    field @NonNull public static final android.car.CarVersion TIRAMISU_3;
179    field @NonNull public static final android.car.CarVersion UPSIDE_DOWN_CAKE_0;
180    field @NonNull public static final android.car.CarVersion UPSIDE_DOWN_CAKE_1;
181    field @NonNull public static final android.car.CarVersion VANILLA_ICE_CREAM_0;
182  }
183
184  @Deprecated public final class EvConnectorType {
185    field @Deprecated public static final int CHADEMO = 3; // 0x3
186    field @Deprecated public static final int COMBO_1 = 4; // 0x4
187    field @Deprecated public static final int COMBO_2 = 5; // 0x5
188    field @Deprecated public static final int GBT = 9; // 0x9
189    field @Deprecated public static final int GBT_DC = 10; // 0xa
190    field @Deprecated public static final int J1772 = 1; // 0x1
191    field @Deprecated public static final int MENNEKES = 2; // 0x2
192    field @Deprecated public static final int OTHER = 101; // 0x65
193    field @Deprecated public static final int SCAME = 11; // 0xb
194    field @Deprecated public static final int TESLA_HPWC = 7; // 0x7
195    field @Deprecated public static final int TESLA_ROADSTER = 6; // 0x6
196    field @Deprecated public static final int TESLA_SUPERCHARGER = 8; // 0x8
197    field @Deprecated public static final int UNKNOWN = 0; // 0x0
198  }
199
200  public final class FuelType {
201    field public static final int BIODIESEL = 5; // 0x5
202    field public static final int CNG = 8; // 0x8
203    field public static final int DIESEL_1 = 3; // 0x3
204    field public static final int DIESEL_2 = 4; // 0x4
205    field public static final int E85 = 6; // 0x6
206    field public static final int ELECTRIC = 10; // 0xa
207    field public static final int HYDROGEN = 11; // 0xb
208    field public static final int LEADED = 2; // 0x2
209    field public static final int LNG = 9; // 0x9
210    field public static final int LPG = 7; // 0x7
211    field public static final int OTHER = 12; // 0xc
212    field public static final int UNKNOWN = 0; // 0x0
213    field public static final int UNLEADED = 1; // 0x1
214  }
215
216  public final class GsrComplianceType {
217    field public static final int GSR_COMPLIANCE_TYPE_NOT_REQUIRED = 0; // 0x0
218    field public static final int GSR_COMPLIANCE_TYPE_REQUIRED_V1 = 1; // 0x1
219  }
220
221  public final class PlatformVersion extends android.car.ApiVersion<android.car.PlatformVersion> implements android.os.Parcelable {
222    method public int describeContents();
223    method @NonNull public static android.car.PlatformVersion forMajorAndMinorVersions(int, int);
224    method @NonNull public static android.car.PlatformVersion forMajorVersion(int);
225    method public void writeToParcel(@NonNull android.os.Parcel, int);
226    field @NonNull public static final android.os.Parcelable.Creator<android.car.PlatformVersion> CREATOR;
227  }
228
229  public static class PlatformVersion.VERSION_CODES {
230    field @NonNull public static final android.car.PlatformVersion TIRAMISU_0;
231    field @NonNull public static final android.car.PlatformVersion TIRAMISU_1;
232    field @NonNull public static final android.car.PlatformVersion TIRAMISU_2;
233    field @NonNull public static final android.car.PlatformVersion TIRAMISU_3;
234    field @NonNull public static final android.car.PlatformVersion UPSIDE_DOWN_CAKE_0;
235    field @NonNull public static final android.car.PlatformVersion UPSIDE_DOWN_CAKE_1;
236    field @NonNull public static final android.car.PlatformVersion VANILLA_ICE_CREAM_0;
237  }
238
239  public final class PlatformVersionMismatchException extends java.lang.UnsupportedOperationException implements android.os.Parcelable {
240    ctor public PlatformVersionMismatchException(@NonNull android.car.PlatformVersion);
241    method public int describeContents();
242    method @NonNull public android.car.PlatformVersion getMinimumPlatformApiVersion();
243    method public void writeToParcel(@NonNull android.os.Parcel, int);
244    field @NonNull public static final android.os.Parcelable.Creator<android.car.PlatformVersionMismatchException> CREATOR;
245  }
246
247  public final class PortLocationType {
248    field public static final int FRONT = 5; // 0x5
249    field public static final int FRONT_LEFT = 1; // 0x1
250    field public static final int FRONT_RIGHT = 2; // 0x2
251    field public static final int REAR = 6; // 0x6
252    field public static final int REAR_LEFT = 4; // 0x4
253    field public static final int REAR_RIGHT = 3; // 0x3
254    field public static final int UNKNOWN = 0; // 0x0
255  }
256
257  public final class VehicleAreaSeat {
258    field public static final int SEAT_ROW_1_CENTER = 2; // 0x2
259    field public static final int SEAT_ROW_1_LEFT = 1; // 0x1
260    field public static final int SEAT_ROW_1_RIGHT = 4; // 0x4
261    field public static final int SEAT_ROW_2_CENTER = 32; // 0x20
262    field public static final int SEAT_ROW_2_LEFT = 16; // 0x10
263    field public static final int SEAT_ROW_2_RIGHT = 64; // 0x40
264    field public static final int SEAT_ROW_3_CENTER = 512; // 0x200
265    field public static final int SEAT_ROW_3_LEFT = 256; // 0x100
266    field public static final int SEAT_ROW_3_RIGHT = 1024; // 0x400
267    field public static final int SEAT_UNKNOWN = 0; // 0x0
268  }
269
270  public final class VehicleAreaType {
271    field public static final int VEHICLE_AREA_TYPE_DOOR = 4; // 0x4
272    field public static final int VEHICLE_AREA_TYPE_GLOBAL = 0; // 0x0
273    field public static final int VEHICLE_AREA_TYPE_MIRROR = 5; // 0x5
274    field public static final int VEHICLE_AREA_TYPE_SEAT = 3; // 0x3
275    field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public static final int VEHICLE_AREA_TYPE_VENDOR = 7; // 0x7
276    field public static final int VEHICLE_AREA_TYPE_WHEEL = 6; // 0x6
277    field public static final int VEHICLE_AREA_TYPE_WINDOW = 2; // 0x2
278  }
279
280  public final class VehicleAreaWheel {
281    field public static final int WHEEL_LEFT_FRONT = 1; // 0x1
282    field public static final int WHEEL_LEFT_REAR = 4; // 0x4
283    field public static final int WHEEL_RIGHT_FRONT = 2; // 0x2
284    field public static final int WHEEL_RIGHT_REAR = 8; // 0x8
285    field public static final int WHEEL_UNKNOWN = 0; // 0x0
286  }
287
288  public final class VehicleGear {
289    method public static String toString(int);
290    field public static final int GEAR_DRIVE = 8; // 0x8
291    field public static final int GEAR_EIGHTH = 2048; // 0x800
292    field public static final int GEAR_FIFTH = 256; // 0x100
293    field public static final int GEAR_FIRST = 16; // 0x10
294    field public static final int GEAR_FOURTH = 128; // 0x80
295    field public static final int GEAR_NEUTRAL = 1; // 0x1
296    field public static final int GEAR_NINTH = 4096; // 0x1000
297    field public static final int GEAR_PARK = 4; // 0x4
298    field public static final int GEAR_REVERSE = 2; // 0x2
299    field public static final int GEAR_SECOND = 32; // 0x20
300    field public static final int GEAR_SEVENTH = 1024; // 0x400
301    field public static final int GEAR_SIXTH = 512; // 0x200
302    field public static final int GEAR_THIRD = 64; // 0x40
303    field public static final int GEAR_UNKNOWN = 0; // 0x0
304  }
305
306  public final class VehicleIgnitionState {
307    method @NonNull public static String toString(int);
308    field public static final int ACC = 3; // 0x3
309    field public static final int LOCK = 1; // 0x1
310    field public static final int OFF = 2; // 0x2
311    field public static final int ON = 4; // 0x4
312    field public static final int START = 5; // 0x5
313    field public static final int UNDEFINED = 0; // 0x0
314  }
315
316  public final class VehiclePropertyIds {
317    ctor @Deprecated public VehiclePropertyIds();
318    method public static String toString(int);
319    field @RequiresPermission("android.car.permission.CAR_DYNAMICS_STATE") public static final int ABS_ACTIVE = 287310858; // 0x1120040a
320    field @Deprecated @RequiresPermission("android.car.permission.CAR_POWER") public static final int AP_POWER_BOOTUP_REASON = 289409538; // 0x11400a02
321    field @Deprecated @RequiresPermission("android.car.permission.CAR_POWER") public static final int AP_POWER_STATE_REPORT = 289475073; // 0x11410a01
322    field @Deprecated @RequiresPermission("android.car.permission.CAR_POWER") public static final int AP_POWER_STATE_REQ = 289475072; // 0x11410a00
323    field @RequiresPermission(android.car.Car.PERMISSION_READ_INTERIOR_LIGHTS) public static final int CABIN_LIGHTS_STATE = 289410817; // 0x11400f01
324    field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_INTERIOR_LIGHTS) public static final int CABIN_LIGHTS_SWITCH = 289410818; // 0x11400f02
325    field @RequiresPermission("android.car.permission.CAR_TIRES") public static final int CRITICALLY_LOW_TIRE_PRESSURE = 392168202; // 0x1760030a
326    field @RequiresPermission(android.car.Car.PERMISSION_POWERTRAIN) public static final int CURRENT_GEAR = 289408001; // 0x11400401
327    field @Deprecated @RequiresPermission("android.car.permission.CAR_POWER") public static final int DISPLAY_BRIGHTNESS = 289409539; // 0x11400a03
328    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_DISPLAY_UNITS)) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(allOf={android.car.Car.PERMISSION_CONTROL_DISPLAY_UNITS, "android.car.permission.CAR_VENDOR_EXTENSION"})) public static final int DISTANCE_DISPLAY_UNITS = 289408512; // 0x11400600
329    field @RequiresPermission("android.car.permission.CONTROL_CAR_DOORS") public static final int DOOR_LOCK = 371198722; // 0x16200b02
330    field @RequiresPermission("android.car.permission.CONTROL_CAR_DOORS") public static final int DOOR_MOVE = 373295873; // 0x16400b01
331    field @RequiresPermission("android.car.permission.CONTROL_CAR_DOORS") public static final int DOOR_POS = 373295872; // 0x16400b00
332    field @RequiresPermission(android.car.Car.PERMISSION_CAR_INFO) public static final int ELECTRONIC_TOLL_COLLECTION_CARD_STATUS = 289410874; // 0x11400f3a
333    field @RequiresPermission(android.car.Car.PERMISSION_CAR_INFO) public static final int ELECTRONIC_TOLL_COLLECTION_CARD_TYPE = 289410873; // 0x11400f39
334    field @RequiresPermission("android.car.permission.CAR_ENGINE_DETAILED") public static final int ENGINE_COOLANT_TEMP = 291504897; // 0x11600301
335    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission("android.car.permission.CAR_ENGINE_DETAILED")) public static final int ENGINE_OIL_LEVEL = 289407747; // 0x11400303
336    field @RequiresPermission("android.car.permission.CAR_ENGINE_DETAILED") public static final int ENGINE_OIL_TEMP = 291504900; // 0x11600304
337    field @RequiresPermission("android.car.permission.CAR_ENGINE_DETAILED") public static final int ENGINE_RPM = 291504901; // 0x11600305
338    field @RequiresPermission(android.car.Car.PERMISSION_EXTERIOR_ENVIRONMENT) public static final int ENV_OUTSIDE_TEMPERATURE = 291505923; // 0x11600703
339    field @RequiresPermission("android.car.permission.CAR_EPOCH_TIME") public static final int EPOCH_TIME = 290457094; // 0x11500606
340    field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_ENERGY)) public static final int EV_BATTERY_AVERAGE_TEMPERATURE = 291504910; // 0x1160030e
341    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_DISPLAY_UNITS)) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(allOf={android.car.Car.PERMISSION_CONTROL_DISPLAY_UNITS, "android.car.permission.CAR_VENDOR_EXTENSION"})) public static final int EV_BATTERY_DISPLAY_UNITS = 289408515; // 0x11400603
342    field @RequiresPermission(android.car.Car.PERMISSION_ENERGY) public static final int EV_BATTERY_INSTANTANEOUS_CHARGE_RATE = 291504908; // 0x1160030c
343    field @RequiresPermission(android.car.Car.PERMISSION_ENERGY) public static final int EV_BATTERY_LEVEL = 291504905; // 0x11600309
344    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_POWERTRAIN, "android.car.permission.CONTROL_CAR_POWERTRAIN"})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission("android.car.permission.CONTROL_CAR_POWERTRAIN")) public static final int EV_BRAKE_REGENERATION_LEVEL = 289408012; // 0x1140040c
345    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_ENERGY, android.car.Car.PERMISSION_CONTROL_CAR_ENERGY})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_ENERGY)) public static final int EV_CHARGE_CURRENT_DRAW_LIMIT = 291508031; // 0x11600f3f
346    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_ENERGY, android.car.Car.PERMISSION_CONTROL_CAR_ENERGY})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_ENERGY)) public static final int EV_CHARGE_PERCENT_LIMIT = 291508032; // 0x11600f40
347    field @RequiresPermission(android.car.Car.PERMISSION_ENERGY_PORTS) public static final int EV_CHARGE_PORT_CONNECTED = 287310603; // 0x1120030b
348    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_ENERGY_PORTS, "android.car.permission.CONTROL_CAR_ENERGY_PORTS"})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission("android.car.permission.CONTROL_CAR_ENERGY_PORTS")) public static final int EV_CHARGE_PORT_OPEN = 287310602; // 0x1120030a
349    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_ENERGY)) public static final int EV_CHARGE_STATE = 289410881; // 0x11400f41
350    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_ENERGY, android.car.Car.PERMISSION_CONTROL_CAR_ENERGY})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_ENERGY)) public static final int EV_CHARGE_SWITCH = 287313730; // 0x11200f42
351    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_ENERGY)) public static final int EV_CHARGE_TIME_REMAINING = 289410883; // 0x11400f43
352    field @RequiresPermission(android.car.Car.PERMISSION_ENERGY) public static final int EV_CURRENT_BATTERY_CAPACITY = 291504909; // 0x1160030d
353    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_ENERGY)) public static final int EV_REGENERATIVE_BRAKING_STATE = 289410884; // 0x11400f44
354    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_POWERTRAIN, "android.car.permission.CONTROL_CAR_POWERTRAIN"})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission("android.car.permission.CONTROL_CAR_POWERTRAIN")) public static final int EV_STOPPING_MODE = 289408013; // 0x1140040d
355    field @RequiresPermission("android.car.permission.CAR_EXTERIOR_LIGHTS") public static final int FOG_LIGHTS_STATE = 289410562; // 0x11400e02
356    field @RequiresPermission("android.car.permission.CONTROL_CAR_EXTERIOR_LIGHTS") public static final int FOG_LIGHTS_SWITCH = 289410578; // 0x11400e12
357    field @RequiresPermission("android.car.permission.CAR_EXTERIOR_LIGHTS") public static final int FRONT_FOG_LIGHTS_STATE = 289410875; // 0x11400f3b
358    field @RequiresPermission("android.car.permission.CONTROL_CAR_EXTERIOR_LIGHTS") public static final int FRONT_FOG_LIGHTS_SWITCH = 289410876; // 0x11400f3c
359    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_DISPLAY_UNITS)) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(allOf={android.car.Car.PERMISSION_CONTROL_DISPLAY_UNITS, "android.car.permission.CAR_VENDOR_EXTENSION"})) public static final int FUEL_CONSUMPTION_UNITS_DISTANCE_OVER_VOLUME = 287311364; // 0x11200604
360    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_ENERGY_PORTS, "android.car.permission.CONTROL_CAR_ENERGY_PORTS"})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission("android.car.permission.CONTROL_CAR_ENERGY_PORTS")) public static final int FUEL_DOOR_OPEN = 287310600; // 0x11200308
361    field @RequiresPermission(android.car.Car.PERMISSION_ENERGY) public static final int FUEL_LEVEL = 291504903; // 0x11600307
362    field @RequiresPermission(android.car.Car.PERMISSION_ENERGY) public static final int FUEL_LEVEL_LOW = 287310853; // 0x11200405
363    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_DISPLAY_UNITS)) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(allOf={android.car.Car.PERMISSION_CONTROL_DISPLAY_UNITS, "android.car.permission.CAR_VENDOR_EXTENSION"})) public static final int FUEL_VOLUME_DISPLAY_UNITS = 289408513; // 0x11400601
364    field @RequiresPermission(android.car.Car.PERMISSION_POWERTRAIN) public static final int GEAR_SELECTION = 289408000; // 0x11400400
365    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CAR_INFO)) public static final int GENERAL_SAFETY_REGULATION_COMPLIANCE = 289410887; // 0x11400f47
366    field @RequiresPermission("android.car.permission.CAR_EXTERIOR_LIGHTS") public static final int HAZARD_LIGHTS_STATE = 289410563; // 0x11400e03
367    field @RequiresPermission("android.car.permission.CONTROL_CAR_EXTERIOR_LIGHTS") public static final int HAZARD_LIGHTS_SWITCH = 289410579; // 0x11400e13
368    field @RequiresPermission("android.car.permission.CAR_EXTERIOR_LIGHTS") public static final int HEADLIGHTS_STATE = 289410560; // 0x11400e00
369    field @RequiresPermission("android.car.permission.CONTROL_CAR_EXTERIOR_LIGHTS") public static final int HEADLIGHTS_SWITCH = 289410576; // 0x11400e10
370    field @RequiresPermission("android.car.permission.CAR_EXTERIOR_LIGHTS") public static final int HIGH_BEAM_LIGHTS_STATE = 289410561; // 0x11400e01
371    field @RequiresPermission("android.car.permission.CONTROL_CAR_EXTERIOR_LIGHTS") public static final int HIGH_BEAM_LIGHTS_SWITCH = 289410577; // 0x11400e11
372    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_ACTUAL_FAN_SPEED_RPM = 356517135; // 0x1540050f
373    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_AC_ON = 354419973; // 0x15200505
374    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_AUTO_ON = 354419978; // 0x1520050a
375    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_AUTO_RECIRC_ON = 354419986; // 0x15200512
376    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_DEFROSTER = 320865540; // 0x13200504
377    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_DUAL_ON = 354419977; // 0x15200509
378    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_FAN_DIRECTION = 356517121; // 0x15400501
379    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_FAN_DIRECTION_AVAILABLE = 356582673; // 0x15410511
380    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_FAN_SPEED = 356517120; // 0x15400500
381    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_MAX_AC_ON = 354419974; // 0x15200506
382    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_MAX_DEFROST_ON = 354419975; // 0x15200507
383    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_POWER_ON = 354419984; // 0x15200510
384    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_RECIRC_ON = 354419976; // 0x15200508
385    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_SEAT_TEMPERATURE = 356517131; // 0x1540050b
386    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_SEAT_VENTILATION = 356517139; // 0x15400513
387    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_SIDE_MIRROR_HEAT = 339739916; // 0x1440050c
388    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_STEERING_WHEEL_HEAT = 289408269; // 0x1140050d
389    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_TEMPERATURE_CURRENT = 358614274; // 0x15600502
390    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_DISPLAY_UNITS, "android.car.permission.CONTROL_CAR_CLIMATE"})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE")) public static final int HVAC_TEMPERATURE_DISPLAY_UNITS = 289408270; // 0x1140050e
391    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_TEMPERATURE_SET = 358614275; // 0x15600503
392    field @RequiresPermission("android.car.permission.CONTROL_CAR_CLIMATE") public static final int HVAC_TEMPERATURE_VALUE_SUGGESTION = 291570965; // 0x11610515
393    field @Deprecated public static final int HW_KEY_INPUT = 289475088; // 0x11410a10
394    field @RequiresPermission(android.car.Car.PERMISSION_POWERTRAIN) public static final int IGNITION_STATE = 289408009; // 0x11400409
395    field @RequiresPermission(android.car.Car.PERMISSION_CAR_INFO) public static final int INFO_DRIVER_SEAT = 356516106; // 0x1540010a
396    field @RequiresPermission(android.car.Car.PERMISSION_CAR_INFO) public static final int INFO_EV_BATTERY_CAPACITY = 291504390; // 0x11600106
397    field @RequiresPermission(android.car.Car.PERMISSION_CAR_INFO) public static final int INFO_EV_CONNECTOR_TYPE = 289472775; // 0x11410107
398    field @RequiresPermission(android.car.Car.PERMISSION_CAR_INFO) public static final int INFO_EV_PORT_LOCATION = 289407241; // 0x11400109
399    field @RequiresPermission(android.car.Car.PERMISSION_CAR_INFO) public static final int INFO_EXTERIOR_DIMENSIONS = 289472779; // 0x1141010b
400    field @RequiresPermission(android.car.Car.PERMISSION_CAR_INFO) public static final int INFO_FUEL_CAPACITY = 291504388; // 0x11600104
401    field @RequiresPermission(android.car.Car.PERMISSION_CAR_INFO) public static final int INFO_FUEL_DOOR_LOCATION = 289407240; // 0x11400108
402    field @RequiresPermission(android.car.Car.PERMISSION_CAR_INFO) public static final int INFO_FUEL_TYPE = 289472773; // 0x11410105
403    field @RequiresPermission(android.car.Car.PERMISSION_CAR_INFO) public static final int INFO_MAKE = 286261505; // 0x11100101
404    field @RequiresPermission(android.car.Car.PERMISSION_CAR_INFO) public static final int INFO_MODEL = 286261506; // 0x11100102
405    field @RequiresPermission(android.car.Car.PERMISSION_CAR_INFO) public static final int INFO_MODEL_YEAR = 289407235; // 0x11400103
406    field @RequiresPermission(android.car.Car.PERMISSION_CAR_INFO) public static final int INFO_MULTI_EV_PORT_LOCATIONS = 289472780; // 0x1141010c
407    field @RequiresPermission(android.car.Car.PERMISSION_IDENTIFICATION) public static final int INFO_VIN = 286261504; // 0x11100100
408    field public static final int INVALID = 0; // 0x0
409    field @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) public static final int LOCATION_CHARACTERIZATION = 289410064; // 0x11400c10
410    field @RequiresPermission("android.car.permission.CONTROL_CAR_MIRRORS") public static final int MIRROR_FOLD = 287312709; // 0x11200b45
411    field @RequiresPermission("android.car.permission.CONTROL_CAR_MIRRORS") public static final int MIRROR_LOCK = 287312708; // 0x11200b44
412    field @RequiresPermission("android.car.permission.CONTROL_CAR_MIRRORS") public static final int MIRROR_Y_MOVE = 339741507; // 0x14400b43
413    field @RequiresPermission("android.car.permission.CONTROL_CAR_MIRRORS") public static final int MIRROR_Y_POS = 339741506; // 0x14400b42
414    field @RequiresPermission("android.car.permission.CONTROL_CAR_MIRRORS") public static final int MIRROR_Z_MOVE = 339741505; // 0x14400b41
415    field @RequiresPermission("android.car.permission.CONTROL_CAR_MIRRORS") public static final int MIRROR_Z_POS = 339741504; // 0x14400b40
416    field @RequiresPermission(android.car.Car.PERMISSION_EXTERIOR_ENVIRONMENT) public static final int NIGHT_MODE = 287310855; // 0x11200407
417    field @Deprecated @RequiresPermission("android.car.permission.CAR_DIAGNOSTICS") public static final int OBD2_FREEZE_FRAME = 299896065; // 0x11e00d01
418    field @Deprecated @RequiresPermission("android.car.permission.CLEAR_CAR_DIAGNOSTICS") public static final int OBD2_FREEZE_FRAME_CLEAR = 299896067; // 0x11e00d03
419    field @Deprecated @RequiresPermission("android.car.permission.CAR_DIAGNOSTICS") public static final int OBD2_FREEZE_FRAME_INFO = 299896066; // 0x11e00d02
420    field @Deprecated @RequiresPermission("android.car.permission.CAR_DIAGNOSTICS") public static final int OBD2_LIVE_FRAME = 299896064; // 0x11e00d00
421    field @RequiresPermission(android.car.Car.PERMISSION_POWERTRAIN) public static final int PARKING_BRAKE_AUTO_APPLY = 287310851; // 0x11200403
422    field @RequiresPermission(android.car.Car.PERMISSION_POWERTRAIN) public static final int PARKING_BRAKE_ON = 287310850; // 0x11200402
423    field @RequiresPermission("android.car.permission.CAR_MILEAGE") public static final int PERF_ODOMETER = 291504644; // 0x11600204
424    field @RequiresPermission(android.car.Car.PERMISSION_READ_STEERING_STATE) public static final int PERF_REAR_STEERING_ANGLE = 291504656; // 0x11600210
425    field @RequiresPermission(android.car.Car.PERMISSION_READ_STEERING_STATE) public static final int PERF_STEERING_ANGLE = 291504649; // 0x11600209
426    field @RequiresPermission(android.car.Car.PERMISSION_SPEED) public static final int PERF_VEHICLE_SPEED = 291504647; // 0x11600207
427    field @RequiresPermission(android.car.Car.PERMISSION_SPEED) public static final int PERF_VEHICLE_SPEED_DISPLAY = 291504648; // 0x11600208
428    field @Deprecated @RequiresPermission("android.car.permission.CAR_POWER") public static final int PER_DISPLAY_BRIGHTNESS = 289475076; // 0x11410a04
429    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_ENERGY, "android.car.permission.ADJUST_RANGE_REMAINING"})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission("android.car.permission.ADJUST_RANGE_REMAINING")) public static final int RANGE_REMAINING = 291504904; // 0x11600308
430    field @RequiresPermission(android.car.Car.PERMISSION_READ_INTERIOR_LIGHTS) public static final int READING_LIGHTS_STATE = 356519683; // 0x15400f03
431    field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_INTERIOR_LIGHTS) public static final int READING_LIGHTS_SWITCH = 356519684; // 0x15400f04
432    field @RequiresPermission("android.car.permission.CAR_EXTERIOR_LIGHTS") public static final int REAR_FOG_LIGHTS_STATE = 289410877; // 0x11400f3d
433    field @RequiresPermission("android.car.permission.CONTROL_CAR_EXTERIOR_LIGHTS") public static final int REAR_FOG_LIGHTS_SWITCH = 289410878; // 0x11400f3e
434    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_BACKREST_ANGLE_1_MOVE = 356518792; // 0x15400b88
435    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_BACKREST_ANGLE_1_POS = 356518791; // 0x15400b87
436    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_BACKREST_ANGLE_2_MOVE = 356518794; // 0x15400b8a
437    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_BACKREST_ANGLE_2_POS = 356518793; // 0x15400b89
438    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_BELT_BUCKLED = 354421634; // 0x15200b82
439    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_BELT_HEIGHT_MOVE = 356518788; // 0x15400b84
440    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_BELT_HEIGHT_POS = 356518787; // 0x15400b83
441    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_DEPTH_MOVE = 356518798; // 0x15400b8e
442    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_DEPTH_POS = 356518797; // 0x15400b8d
443    field @RequiresPermission(android.car.Car.PERMISSION_READ_INTERIOR_LIGHTS) public static final int SEAT_FOOTWELL_LIGHTS_STATE = 356518811; // 0x15400b9b
444    field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_INTERIOR_LIGHTS) public static final int SEAT_FOOTWELL_LIGHTS_SWITCH = 356518812; // 0x15400b9c
445    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_FORE_AFT_MOVE = 356518790; // 0x15400b86
446    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_FORE_AFT_POS = 356518789; // 0x15400b85
447    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_HEADREST_ANGLE_MOVE = 356518808; // 0x15400b98
448    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_HEADREST_ANGLE_POS = 356518807; // 0x15400b97
449    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_HEADREST_FORE_AFT_MOVE = 356518810; // 0x15400b9a
450    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_HEADREST_FORE_AFT_POS = 356518809; // 0x15400b99
451    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_HEADREST_HEIGHT_MOVE = 356518806; // 0x15400b96
452    field @Deprecated @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_HEADREST_HEIGHT_POS = 289409941; // 0x11400b95
453    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_HEADREST_HEIGHT_POS_V2 = 356518820; // 0x15400ba4
454    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_HEIGHT_MOVE = 356518796; // 0x15400b8c
455    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_HEIGHT_POS = 356518795; // 0x15400b8b
456    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_LUMBAR_FORE_AFT_MOVE = 356518802; // 0x15400b92
457    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_LUMBAR_FORE_AFT_POS = 356518801; // 0x15400b91
458    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_LUMBAR_SIDE_SUPPORT_MOVE = 356518804; // 0x15400b94
459    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_LUMBAR_SIDE_SUPPORT_POS = 356518803; // 0x15400b93
460    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_MEMORY_SELECT = 356518784; // 0x15400b80
461    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_MEMORY_SET = 356518785; // 0x15400b81
462    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_OCCUPANCY = 356518832; // 0x15400bb0
463    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_TILT_MOVE = 356518800; // 0x15400b90
464    field @RequiresPermission("android.car.permission.CONTROL_CAR_SEATS") public static final int SEAT_TILT_POS = 356518799; // 0x15400b8f
465    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_INTERIOR_LIGHTS)) public static final int STEERING_WHEEL_LIGHTS_STATE = 289410828; // 0x11400f0c
466    field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_INTERIOR_LIGHTS) public static final int STEERING_WHEEL_LIGHTS_SWITCH = 289410829; // 0x11400f0d
467    field @RequiresPermission("android.car.permission.CAR_TIRES") public static final int TIRE_PRESSURE = 392168201; // 0x17600309
468    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_DISPLAY_UNITS)) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(allOf={android.car.Car.PERMISSION_CONTROL_DISPLAY_UNITS, "android.car.permission.CAR_VENDOR_EXTENSION"})) public static final int TIRE_PRESSURE_DISPLAY_UNITS = 289408514; // 0x11400602
469    field @RequiresPermission("android.car.permission.CAR_DYNAMICS_STATE") public static final int TRACTION_CONTROL_ACTIVE = 287310859; // 0x1120040b
470    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_PRIVILEGED_CAR_INFO)) public static final int TRAILER_PRESENT = 289410885; // 0x11400f45
471    field @RequiresPermission("android.car.permission.CAR_EXTERIOR_LIGHTS") public static final int TURN_SIGNAL_STATE = 289408008; // 0x11400408
472    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_PRIVILEGED_CAR_INFO)) public static final int VEHICLE_CURB_WEIGHT = 289410886; // 0x11400f46
473    field @Deprecated @RequiresPermission(anyOf={"android.car.permission.VMS_PUBLISHER", "android.car.permission.VMS_SUBSCRIBER"}) public static final int VEHICLE_MAP_SERVICE = 299895808; // 0x11e00c00
474    field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_DISPLAY_UNITS)) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(allOf={android.car.Car.PERMISSION_CONTROL_DISPLAY_UNITS, "android.car.permission.CAR_VENDOR_EXTENSION"})) public static final int VEHICLE_SPEED_DISPLAY_UNITS = 289408516; // 0x11400604
475    field @RequiresPermission(android.car.Car.PERMISSION_SPEED) public static final int WHEEL_TICK = 290521862; // 0x11510306
476    field @RequiresPermission("android.car.permission.CONTROL_CAR_WINDOWS") public static final int WINDOW_LOCK = 320867268; // 0x13200bc4
477    field @RequiresPermission("android.car.permission.CONTROL_CAR_WINDOWS") public static final int WINDOW_MOVE = 322964417; // 0x13400bc1
478    field @RequiresPermission("android.car.permission.CONTROL_CAR_WINDOWS") public static final int WINDOW_POS = 322964416; // 0x13400bc0
479  }
480
481  public final class VehicleUnit {
482    field public static final int AMPERE_HOURS = 100; // 0x64
483    field public static final int BAR = 114; // 0x72
484    field public static final int CELSIUS = 48; // 0x30
485    field public static final int FAHRENHEIT = 49; // 0x31
486    field public static final int IMPERIAL_GALLON = 67; // 0x43
487    field public static final int KELVIN = 50; // 0x32
488    field public static final int KILOMETER = 35; // 0x23
489    field public static final int KILOMETERS_PER_HOUR = 145; // 0x91
490    field public static final int KILOPASCAL = 112; // 0x70
491    field public static final int KILOWATT_HOUR = 101; // 0x65
492    field public static final int LITER = 65; // 0x41
493    field public static final int METER = 33; // 0x21
494    field public static final int METER_PER_SEC = 1; // 0x1
495    field public static final int MILE = 36; // 0x24
496    field public static final int MILES_PER_HOUR = 144; // 0x90
497    field public static final int MILLILITER = 64; // 0x40
498    field public static final int MILLIMETER = 32; // 0x20
499    field public static final int PSI = 113; // 0x71
500    field public static final int US_GALLON = 66; // 0x42
501    field public static final int WATT_HOUR = 96; // 0x60
502  }
503
504}
505
506package android.car.content.pm {
507
508  public final class CarPackageManager {
509    method @Deprecated @NonNull public android.car.CarVersion getTargetCarVersion();
510    method public boolean isActivityDistractionOptimized(String, String);
511    method public boolean isPendingIntentDistractionOptimized(@NonNull android.app.PendingIntent);
512    method public boolean isServiceDistractionOptimized(String, String);
513    field @Deprecated public static final String MANIFEST_METADATA_TARGET_CAR_VERSION = "android.car.targetCarVersion";
514  }
515
516}
517
518package android.car.drivingstate {
519
520  public final class CarUxRestrictions implements android.os.Parcelable {
521    ctor public CarUxRestrictions(android.car.drivingstate.CarUxRestrictions);
522    method public int describeContents();
523    method public int getActiveRestrictions();
524    method public int getMaxContentDepth();
525    method public int getMaxCumulativeContentItems();
526    method public int getMaxRestrictedStringLength();
527    method public boolean isRequiresDistractionOptimization();
528    method public boolean isSameRestrictions(android.car.drivingstate.CarUxRestrictions);
529    method public void writeToParcel(android.os.Parcel, int);
530    field public static final android.os.Parcelable.Creator<android.car.drivingstate.CarUxRestrictions> CREATOR;
531    field public static final int UX_RESTRICTIONS_BASELINE = 0; // 0x0
532    field public static final int UX_RESTRICTIONS_FULLY_RESTRICTED = 511; // 0x1ff
533    field public static final int UX_RESTRICTIONS_LIMIT_CONTENT = 32; // 0x20
534    field public static final int UX_RESTRICTIONS_LIMIT_STRING_LENGTH = 4; // 0x4
535    field public static final int UX_RESTRICTIONS_NO_DIALPAD = 1; // 0x1
536    field public static final int UX_RESTRICTIONS_NO_FILTERING = 2; // 0x2
537    field public static final int UX_RESTRICTIONS_NO_KEYBOARD = 8; // 0x8
538    field public static final int UX_RESTRICTIONS_NO_SETUP = 64; // 0x40
539    field public static final int UX_RESTRICTIONS_NO_TEXT_MESSAGE = 128; // 0x80
540    field public static final int UX_RESTRICTIONS_NO_VIDEO = 16; // 0x10
541    field public static final int UX_RESTRICTIONS_NO_VOICE_TRANSCRIPTION = 256; // 0x100
542  }
543
544  public static class CarUxRestrictions.Builder {
545    ctor public CarUxRestrictions.Builder(boolean, int, long);
546    method public android.car.drivingstate.CarUxRestrictions build();
547    method public android.car.drivingstate.CarUxRestrictions.Builder setMaxContentDepth(int);
548    method public android.car.drivingstate.CarUxRestrictions.Builder setMaxCumulativeContentItems(int);
549    method public android.car.drivingstate.CarUxRestrictions.Builder setMaxStringLength(int);
550  }
551
552  public final class CarUxRestrictionsManager {
553    method @Nullable public android.car.drivingstate.CarUxRestrictions getCurrentCarUxRestrictions();
554    method public void registerListener(@NonNull android.car.drivingstate.CarUxRestrictionsManager.OnUxRestrictionsChangedListener);
555    method public void unregisterListener();
556  }
557
558  public static interface CarUxRestrictionsManager.OnUxRestrictionsChangedListener {
559    method public void onUxRestrictionsChanged(android.car.drivingstate.CarUxRestrictions);
560  }
561
562}
563
564package android.car.hardware {
565
566  public final class CarPropertyConfig<T> implements android.os.Parcelable {
567    method public int describeContents();
568    method public int getAccess();
569    method @NonNull public android.car.hardware.property.AreaIdConfig<T> getAreaIdConfig(int);
570    method @NonNull public java.util.List<android.car.hardware.property.AreaIdConfig<T>> getAreaIdConfigs();
571    method @NonNull public int[] getAreaIds();
572    method public int getAreaType();
573    method public int getChangeMode();
574    method @NonNull public java.util.List<java.lang.Integer> getConfigArray();
575    method public float getMaxSampleRate();
576    method @Deprecated @Nullable public T getMaxValue(int);
577    method @Deprecated @Nullable public T getMaxValue();
578    method public float getMinSampleRate();
579    method @Deprecated @Nullable public T getMinValue(int);
580    method @Deprecated @Nullable public T getMinValue();
581    method public int getPropertyId();
582    method @NonNull public Class<T> getPropertyType();
583    method public boolean isGlobalProperty();
584    method public void writeToParcel(android.os.Parcel, int);
585    field public static final android.os.Parcelable.Creator<android.car.hardware.CarPropertyConfig> CREATOR;
586    field public static final int VEHICLE_PROPERTY_ACCESS_NONE = 0; // 0x0
587    field public static final int VEHICLE_PROPERTY_ACCESS_READ = 1; // 0x1
588    field public static final int VEHICLE_PROPERTY_ACCESS_READ_WRITE = 3; // 0x3
589    field public static final int VEHICLE_PROPERTY_ACCESS_WRITE = 2; // 0x2
590    field public static final int VEHICLE_PROPERTY_CHANGE_MODE_CONTINUOUS = 2; // 0x2
591    field public static final int VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE = 1; // 0x1
592    field public static final int VEHICLE_PROPERTY_CHANGE_MODE_STATIC = 0; // 0x0
593  }
594
595  public final class CarPropertyValue<T> implements android.os.Parcelable {
596    method public int describeContents();
597    method public int getAreaId();
598    method public int getPropertyId();
599    method @FlaggedApi("android.car.feature.car_property_value_property_status") public int getPropertyStatus();
600    method @Deprecated public int getStatus();
601    method public long getTimestamp();
602    method @NonNull public T getValue();
603    method public void writeToParcel(android.os.Parcel, int);
604    field public static final android.os.Parcelable.Creator<android.car.hardware.CarPropertyValue> CREATOR;
605    field public static final int STATUS_AVAILABLE = 0; // 0x0
606    field public static final int STATUS_ERROR = 2; // 0x2
607    field public static final int STATUS_UNAVAILABLE = 1; // 0x1
608  }
609
610  @Deprecated public class CarSensorEvent implements android.os.Parcelable {
611    method @Deprecated public int describeContents();
612    method @Deprecated public void writeToParcel(android.os.Parcel, int);
613    field @Deprecated public static final android.os.Parcelable.Creator<android.car.hardware.CarSensorEvent> CREATOR;
614    field @Deprecated public static final int GEAR_DRIVE = 8; // 0x8
615    field @Deprecated public static final int GEAR_EIGHTH = 2048; // 0x800
616    field @Deprecated public static final int GEAR_FIFTH = 256; // 0x100
617    field @Deprecated public static final int GEAR_FIRST = 16; // 0x10
618    field @Deprecated public static final int GEAR_FOURTH = 128; // 0x80
619    field @Deprecated public static final int GEAR_NEUTRAL = 1; // 0x1
620    field @Deprecated public static final int GEAR_NINTH = 4096; // 0x1000
621    field @Deprecated public static final int GEAR_PARK = 4; // 0x4
622    field @Deprecated public static final int GEAR_REVERSE = 2; // 0x2
623    field @Deprecated public static final int GEAR_SECOND = 32; // 0x20
624    field @Deprecated public static final int GEAR_SEVENTH = 1024; // 0x400
625    field @Deprecated public static final int GEAR_SIXTH = 512; // 0x200
626    field @Deprecated public static final int GEAR_TENTH = 8192; // 0x2000
627    field @Deprecated public static final int GEAR_THIRD = 64; // 0x40
628    field @Deprecated public static final int IGNITION_STATE_ACC = 3; // 0x3
629    field @Deprecated public static final int IGNITION_STATE_LOCK = 1; // 0x1
630    field @Deprecated public static final int IGNITION_STATE_OFF = 2; // 0x2
631    field @Deprecated public static final int IGNITION_STATE_ON = 4; // 0x4
632    field @Deprecated public static final int IGNITION_STATE_START = 5; // 0x5
633    field @Deprecated public static final int IGNITION_STATE_UNDEFINED = 0; // 0x0
634    field @Deprecated public static final int INDEX_ENVIRONMENT_TEMPERATURE = 0; // 0x0
635    field @Deprecated public static final int INDEX_WHEEL_DISTANCE_FRONT_LEFT = 1; // 0x1
636    field @Deprecated public static final int INDEX_WHEEL_DISTANCE_FRONT_RIGHT = 2; // 0x2
637    field @Deprecated public static final int INDEX_WHEEL_DISTANCE_REAR_LEFT = 4; // 0x4
638    field @Deprecated public static final int INDEX_WHEEL_DISTANCE_REAR_RIGHT = 3; // 0x3
639    field @Deprecated public static final int INDEX_WHEEL_DISTANCE_RESET_COUNT = 0; // 0x0
640    field @Deprecated public final float[] floatValues;
641    field @Deprecated public final int[] intValues;
642    field @Deprecated public final long[] longValues;
643    field @Deprecated public int sensorType;
644    field @Deprecated public long timestamp;
645  }
646
647  @Deprecated public static class CarSensorEvent.EnvironmentData {
648    field @Deprecated public float temperature;
649    field @Deprecated public long timestamp;
650  }
651
652  @Deprecated public final class CarSensorManager {
653    method @Deprecated @Nullable public android.car.hardware.CarSensorEvent getLatestSensorEvent(int);
654    method @Deprecated @NonNull public java.util.List<android.car.hardware.CarPropertyConfig> getPropertyList();
655    method @Deprecated @NonNull public int[] getSupportedSensors();
656    method @Deprecated public boolean isSensorSupported(int);
657    method @Deprecated @RequiresPermission(anyOf={android.car.Car.PERMISSION_SPEED, "android.car.permission.CAR_ENGINE_DETAILED", "android.car.permission.CAR_MILEAGE", android.car.Car.PERMISSION_ENERGY, android.car.Car.PERMISSION_POWERTRAIN, android.car.Car.PERMISSION_EXTERIOR_ENVIRONMENT, "android.car.permission.CAR_DYNAMICS_STATE", android.car.Car.PERMISSION_ENERGY_PORTS}, conditional=true) public boolean registerListener(@NonNull android.car.hardware.CarSensorManager.OnSensorChangedListener, int, int);
658    method @Deprecated public void unregisterListener(@NonNull android.car.hardware.CarSensorManager.OnSensorChangedListener);
659    method @Deprecated public void unregisterListener(@NonNull android.car.hardware.CarSensorManager.OnSensorChangedListener, int);
660    field @Deprecated public static final int SENSOR_RATE_FAST = 10; // 0xa
661    field @Deprecated public static final int SENSOR_RATE_FASTEST = 100; // 0x64
662    field @Deprecated public static final int SENSOR_RATE_NORMAL = 1; // 0x1
663    field @Deprecated public static final int SENSOR_RATE_ONCHANGE = 0; // 0x0
664    field @Deprecated public static final int SENSOR_RATE_UI = 5; // 0x5
665    field @Deprecated public static final int SENSOR_TYPE_ABS_ACTIVE = 287310858; // 0x1120040a
666    field @Deprecated public static final int SENSOR_TYPE_CAR_SPEED = 291504647; // 0x11600207
667    field @Deprecated public static final int SENSOR_TYPE_ENGINE_OIL_LEVEL = 289407747; // 0x11400303
668    field @Deprecated public static final int SENSOR_TYPE_ENV_OUTSIDE_TEMPERATURE = 291505923; // 0x11600703
669    field @Deprecated public static final int SENSOR_TYPE_EV_BATTERY_CHARGE_RATE = 291504908; // 0x1160030c
670    field @Deprecated public static final int SENSOR_TYPE_EV_BATTERY_LEVEL = 291504905; // 0x11600309
671    field @Deprecated public static final int SENSOR_TYPE_EV_CHARGE_PORT_CONNECTED = 287310603; // 0x1120030b
672    field @Deprecated public static final int SENSOR_TYPE_EV_CHARGE_PORT_OPEN = 287310602; // 0x1120030a
673    field @Deprecated public static final int SENSOR_TYPE_FUEL_DOOR_OPEN = 287310600; // 0x11200308
674    field @Deprecated public static final int SENSOR_TYPE_FUEL_LEVEL = 291504903; // 0x11600307
675    field @Deprecated public static final int SENSOR_TYPE_GEAR = 289408000; // 0x11400400
676    field @Deprecated public static final int SENSOR_TYPE_IGNITION_STATE = 289408009; // 0x11400409
677    field @Deprecated public static final int SENSOR_TYPE_NIGHT = 287310855; // 0x11200407
678    field @Deprecated public static final int SENSOR_TYPE_ODOMETER = 291504644; // 0x11600204
679    field @Deprecated public static final int SENSOR_TYPE_PARKING_BRAKE = 287310850; // 0x11200402
680    field @Deprecated public static final int SENSOR_TYPE_RPM = 291504901; // 0x11600305
681    field @Deprecated public static final int SENSOR_TYPE_TRACTION_CONTROL_ACTIVE = 287310859; // 0x1120040b
682    field @Deprecated public static final int SENSOR_TYPE_WHEEL_TICK_DISTANCE = 290521862; // 0x11510306
683  }
684
685  @Deprecated public static interface CarSensorManager.OnSensorChangedListener {
686    method @Deprecated public void onSensorChanged(android.car.hardware.CarSensorEvent);
687  }
688
689}
690
691package android.car.hardware.power {
692
693  public class CarPowerManager {
694    method @RequiresPermission(android.car.Car.PERMISSION_READ_CAR_POWER_POLICY) public void addPowerPolicyListener(@NonNull java.util.concurrent.Executor, @NonNull android.car.hardware.power.CarPowerPolicyFilter, @NonNull android.car.hardware.power.CarPowerManager.CarPowerPolicyListener);
695    method @Nullable @RequiresPermission(android.car.Car.PERMISSION_READ_CAR_POWER_POLICY) public android.car.hardware.power.CarPowerPolicy getCurrentPowerPolicy();
696    method @RequiresPermission(android.car.Car.PERMISSION_READ_CAR_POWER_POLICY) public void removePowerPolicyListener(@NonNull android.car.hardware.power.CarPowerManager.CarPowerPolicyListener);
697  }
698
699  public static interface CarPowerManager.CarPowerPolicyListener {
700    method public void onPolicyChanged(@NonNull android.car.hardware.power.CarPowerPolicy);
701  }
702
703  public final class CarPowerPolicy implements android.os.Parcelable {
704    method public int describeContents();
705    method @NonNull public int[] getDisabledComponents();
706    method @NonNull public int[] getEnabledComponents();
707    method @NonNull public String getPolicyId();
708    method public boolean isComponentEnabled(int);
709    method public void writeToParcel(@NonNull android.os.Parcel, int);
710    field @NonNull public static final android.os.Parcelable.Creator<android.car.hardware.power.CarPowerPolicy> CREATOR;
711  }
712
713  public final class CarPowerPolicyFilter implements android.os.Parcelable {
714    method public int describeContents();
715    method @NonNull public int[] getComponents();
716    method public void writeToParcel(@NonNull android.os.Parcel, int);
717    field @NonNull public static final android.os.Parcelable.Creator<android.car.hardware.power.CarPowerPolicyFilter> CREATOR;
718  }
719
720  public static final class CarPowerPolicyFilter.Builder {
721    ctor public CarPowerPolicyFilter.Builder();
722    method @NonNull public android.car.hardware.power.CarPowerPolicyFilter build();
723    method @NonNull public android.car.hardware.power.CarPowerPolicyFilter.Builder setComponents(@NonNull int...);
724  }
725
726  @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface PowerComponent {
727    field public static final int AUDIO = 1; // 0x1
728    field public static final int BLUETOOTH = 4; // 0x4
729    field public static final int CELLULAR = 6; // 0x6
730    field public static final int CPU = 16; // 0x10
731    field public static final int DISPLAY = 3; // 0x3
732    field public static final int ETHERNET = 7; // 0x7
733    field public static final int INPUT = 10; // 0xa
734    field public static final int LOCATION = 14; // 0xe
735    field public static final int MEDIA = 2; // 0x2
736    field public static final int MICROPHONE = 15; // 0xf
737    field public static final int MINIMUM_CUSTOM_COMPONENT_VALUE = 1000; // 0x3e8
738    field public static final int NFC = 9; // 0x9
739    field public static final int PROJECTION = 8; // 0x8
740    field public static final int TRUSTED_DEVICE_DETECTION = 13; // 0xd
741    field public static final int VISUAL_INTERACTION = 12; // 0xc
742    field public static final int VOICE_INTERACTION = 11; // 0xb
743    field public static final int WIFI = 5; // 0x5
744  }
745
746}
747
748package android.car.hardware.property {
749
750  public final class AreaIdConfig<T> implements android.os.Parcelable {
751    method public int describeContents();
752    method @FlaggedApi("android.car.feature.area_id_config_access") public int getAccess();
753    method public int getAreaId();
754    method @Nullable public T getMaxValue();
755    method @Nullable public T getMinValue();
756    method @NonNull public java.util.List<T> getSupportedEnumValues();
757    method @FlaggedApi("android.car.feature.variable_update_rate") public boolean isVariableUpdateRateSupported();
758    method public void writeToParcel(@NonNull android.os.Parcel, int);
759    field @NonNull public static final android.os.Parcelable.Creator<android.car.hardware.property.AreaIdConfig<java.lang.Object>> CREATOR;
760  }
761
762  public class CarInternalErrorException extends java.lang.RuntimeException {
763  }
764
765  public class CarPropertyManager {
766    method @NonNull public android.car.hardware.property.CarPropertyManager.GetPropertyRequest generateGetPropertyRequest(int, int);
767    method @NonNull public <T> android.car.hardware.property.CarPropertyManager.SetPropertyRequest<T> generateSetPropertyRequest(int, int, @NonNull T);
768    method public int getAreaId(int, int);
769    method public boolean getBooleanProperty(int, int);
770    method @Nullable public android.car.hardware.CarPropertyConfig<?> getCarPropertyConfig(int);
771    method public float getFloatProperty(int, int);
772    method @NonNull public int[] getIntArrayProperty(int, int);
773    method public int getIntProperty(int, int);
774    method public void getPropertiesAsync(@NonNull java.util.List<android.car.hardware.property.CarPropertyManager.GetPropertyRequest>, long, @Nullable android.os.CancellationSignal, @Nullable java.util.concurrent.Executor, @NonNull android.car.hardware.property.CarPropertyManager.GetPropertyCallback);
775    method public void getPropertiesAsync(@NonNull java.util.List<android.car.hardware.property.CarPropertyManager.GetPropertyRequest>, @Nullable android.os.CancellationSignal, @Nullable java.util.concurrent.Executor, @NonNull android.car.hardware.property.CarPropertyManager.GetPropertyCallback);
776    method @Nullable public <E> android.car.hardware.CarPropertyValue<E> getProperty(@NonNull Class<E>, int, int);
777    method @Nullable public <E> android.car.hardware.CarPropertyValue<E> getProperty(int, int);
778    method @NonNull public java.util.List<android.car.hardware.CarPropertyConfig> getPropertyList();
779    method @NonNull public java.util.List<android.car.hardware.CarPropertyConfig> getPropertyList(@NonNull android.util.ArraySet<java.lang.Integer>);
780    method public boolean isPropertyAvailable(int, int);
781    method @Deprecated public boolean registerCallback(@NonNull android.car.hardware.property.CarPropertyManager.CarPropertyEventCallback, int, @FloatRange(from=0.0, to=100.0) float);
782    method public void setBooleanProperty(int, int, boolean);
783    method public void setFloatProperty(int, int, float);
784    method public void setIntProperty(int, int, int);
785    method public void setPropertiesAsync(@NonNull java.util.List<android.car.hardware.property.CarPropertyManager.SetPropertyRequest<?>>, long, @Nullable android.os.CancellationSignal, @Nullable java.util.concurrent.Executor, @NonNull android.car.hardware.property.CarPropertyManager.SetPropertyCallback);
786    method public void setPropertiesAsync(@NonNull java.util.List<android.car.hardware.property.CarPropertyManager.SetPropertyRequest<?>>, @Nullable android.os.CancellationSignal, @Nullable java.util.concurrent.Executor, @NonNull android.car.hardware.property.CarPropertyManager.SetPropertyCallback);
787    method public <E> void setProperty(@NonNull Class<E>, int, int, @NonNull E);
788    method @FlaggedApi("android.car.feature.variable_update_rate") public boolean subscribePropertyEvents(int, @NonNull android.car.hardware.property.CarPropertyManager.CarPropertyEventCallback);
789    method @FlaggedApi("android.car.feature.variable_update_rate") public boolean subscribePropertyEvents(int, @FloatRange(from=0.0, to=100.0) float, @NonNull android.car.hardware.property.CarPropertyManager.CarPropertyEventCallback);
790    method @FlaggedApi("android.car.feature.variable_update_rate") public boolean subscribePropertyEvents(int, int, @NonNull android.car.hardware.property.CarPropertyManager.CarPropertyEventCallback);
791    method @FlaggedApi("android.car.feature.variable_update_rate") public boolean subscribePropertyEvents(int, int, @FloatRange(from=0.0, to=100.0) float, @NonNull android.car.hardware.property.CarPropertyManager.CarPropertyEventCallback);
792    method @FlaggedApi("android.car.feature.batched_subscriptions") public boolean subscribePropertyEvents(@NonNull java.util.List<android.car.hardware.property.Subscription>, @Nullable java.util.concurrent.Executor, @NonNull android.car.hardware.property.CarPropertyManager.CarPropertyEventCallback);
793    method @Deprecated public void unregisterCallback(@NonNull android.car.hardware.property.CarPropertyManager.CarPropertyEventCallback);
794    method @Deprecated public void unregisterCallback(@NonNull android.car.hardware.property.CarPropertyManager.CarPropertyEventCallback, int);
795    method @FlaggedApi("android.car.feature.batched_subscriptions") public void unsubscribePropertyEvents(@NonNull android.car.hardware.property.CarPropertyManager.CarPropertyEventCallback);
796    method @FlaggedApi("android.car.feature.batched_subscriptions") public void unsubscribePropertyEvents(int, @NonNull android.car.hardware.property.CarPropertyManager.CarPropertyEventCallback);
797    field public static final long ASYNC_GET_DEFAULT_TIMEOUT_MS = 10000L; // 0x2710L
798    field public static final int CAR_SET_PROPERTY_ERROR_CODE_ACCESS_DENIED = 4; // 0x4
799    field public static final int CAR_SET_PROPERTY_ERROR_CODE_INVALID_ARG = 2; // 0x2
800    field public static final int CAR_SET_PROPERTY_ERROR_CODE_PROPERTY_NOT_AVAILABLE = 3; // 0x3
801    field public static final int CAR_SET_PROPERTY_ERROR_CODE_TRY_AGAIN = 1; // 0x1
802    field public static final int CAR_SET_PROPERTY_ERROR_CODE_UNKNOWN = 5; // 0x5
803    field public static final float SENSOR_RATE_FAST = 10.0f;
804    field public static final float SENSOR_RATE_FASTEST = 100.0f;
805    field public static final float SENSOR_RATE_NORMAL = 1.0f;
806    field public static final float SENSOR_RATE_ONCHANGE = 0.0f;
807    field public static final float SENSOR_RATE_UI = 5.0f;
808    field public static final int STATUS_ERROR_INTERNAL_ERROR = 1; // 0x1
809    field public static final int STATUS_ERROR_NOT_AVAILABLE = 2; // 0x2
810    field public static final int STATUS_ERROR_TIMEOUT = 3; // 0x3
811  }
812
813  public static interface CarPropertyManager.AsyncPropertyRequest {
814    method public int getAreaId();
815    method public int getPropertyId();
816    method public int getRequestId();
817  }
818
819  public static interface CarPropertyManager.CarPropertyEventCallback {
820    method public void onChangeEvent(android.car.hardware.CarPropertyValue);
821    method public void onErrorEvent(int, int);
822    method public default void onErrorEvent(int, int, int);
823  }
824
825  public static interface CarPropertyManager.GetPropertyCallback {
826    method public void onFailure(@NonNull android.car.hardware.property.CarPropertyManager.PropertyAsyncError);
827    method public void onSuccess(@NonNull android.car.hardware.property.CarPropertyManager.GetPropertyResult<?>);
828  }
829
830  public static final class CarPropertyManager.GetPropertyRequest implements android.car.hardware.property.CarPropertyManager.AsyncPropertyRequest {
831    method public int getAreaId();
832    method public int getPropertyId();
833    method public int getRequestId();
834  }
835
836  public static final class CarPropertyManager.GetPropertyResult<T> {
837    method public int getAreaId();
838    method public int getPropertyId();
839    method public int getRequestId();
840    method public long getTimestampNanos();
841    method @NonNull public T getValue();
842  }
843
844  public static final class CarPropertyManager.PropertyAsyncError {
845    method public int getAreaId();
846    method @FlaggedApi("android.car.feature.car_property_detailed_error_codes") public int getDetailedErrorCode();
847    method public int getErrorCode();
848    method public int getPropertyId();
849    method public int getRequestId();
850  }
851
852  public static interface CarPropertyManager.SetPropertyCallback {
853    method public void onFailure(@NonNull android.car.hardware.property.CarPropertyManager.PropertyAsyncError);
854    method public void onSuccess(@NonNull android.car.hardware.property.CarPropertyManager.SetPropertyResult);
855  }
856
857  public static final class CarPropertyManager.SetPropertyRequest<T> implements android.car.hardware.property.CarPropertyManager.AsyncPropertyRequest {
858    method public int getAreaId();
859    method public int getPropertyId();
860    method public int getRequestId();
861    method public float getUpdateRateHz();
862    method public T getValue();
863    method public boolean isWaitForPropertyUpdate();
864    method public void setUpdateRateHz(float);
865    method public void setWaitForPropertyUpdate(boolean);
866  }
867
868  public static final class CarPropertyManager.SetPropertyResult {
869    method public int getAreaId();
870    method public int getPropertyId();
871    method public int getRequestId();
872    method public long getUpdateTimestampNanos();
873  }
874
875  @FlaggedApi("android.car.feature.car_property_detailed_error_codes") public final class DetailedErrorCode {
876    method @FlaggedApi("android.car.feature.car_property_detailed_error_codes") @NonNull public static String toString(int);
877    field @FlaggedApi("android.car.feature.car_property_detailed_error_codes") public static final int NOT_AVAILABLE_DISABLED = 1; // 0x1
878    field @FlaggedApi("android.car.feature.car_property_detailed_error_codes") public static final int NOT_AVAILABLE_POOR_VISIBILITY = 4; // 0x4
879    field @FlaggedApi("android.car.feature.car_property_detailed_error_codes") public static final int NOT_AVAILABLE_SAFETY = 5; // 0x5
880    field @FlaggedApi("android.car.feature.car_property_detailed_error_codes") public static final int NOT_AVAILABLE_SPEED_HIGH = 3; // 0x3
881    field @FlaggedApi("android.car.feature.car_property_detailed_error_codes") public static final int NOT_AVAILABLE_SPEED_LOW = 2; // 0x2
882    field @FlaggedApi("android.car.feature.car_property_detailed_error_codes") public static final int NO_DETAILED_ERROR_CODE = 0; // 0x0
883  }
884
885  public final class EvChargeState {
886    method @NonNull public static String toString(int);
887    field public static final int STATE_CHARGING = 1; // 0x1
888    field public static final int STATE_ERROR = 4; // 0x4
889    field public static final int STATE_FULLY_CHARGED = 2; // 0x2
890    field public static final int STATE_NOT_CHARGING = 3; // 0x3
891    field public static final int STATE_UNKNOWN = 0; // 0x0
892  }
893
894  public final class EvChargingConnectorType {
895    method @NonNull public static String toString(int);
896    field public static final int GBT_AC = 10; // 0xa
897    field public static final int GBT_DC = 11; // 0xb
898    field public static final int IEC_TYPE_1_AC = 1; // 0x1
899    field public static final int IEC_TYPE_1_CCS_DC = 5; // 0x5
900    field public static final int IEC_TYPE_2_AC = 2; // 0x2
901    field public static final int IEC_TYPE_2_CCS_DC = 6; // 0x6
902    field public static final int IEC_TYPE_3_AC = 3; // 0x3
903    field public static final int IEC_TYPE_4_DC = 4; // 0x4
904    field public static final int OTHER = 101; // 0x65
905    field public static final int TESLA_HPWC = 8; // 0x8
906    field public static final int TESLA_ROADSTER = 7; // 0x7
907    field public static final int TESLA_SUPERCHARGER = 9; // 0x9
908    field public static final int UNKNOWN = 0; // 0x0
909  }
910
911  public final class EvRegenerativeBrakingState {
912    method @NonNull public static String toString(int);
913    field public static final int STATE_DISABLED = 1; // 0x1
914    field public static final int STATE_FULLY_ENABLED = 3; // 0x3
915    field public static final int STATE_PARTIALLY_ENABLED = 2; // 0x2
916    field public static final int STATE_UNKNOWN = 0; // 0x0
917  }
918
919  public class LocationCharacterization {
920    method @NonNull public static String toString(int);
921    field public static final int ACCELEROMETER_FUSION = 4; // 0x4
922    field public static final int CAR_SPEED_FUSION = 64; // 0x40
923    field public static final int COMPASS_FUSION = 8; // 0x8
924    field public static final int DEAD_RECKONED = 128; // 0x80
925    field public static final int GYROSCOPE_FUSION = 2; // 0x2
926    field public static final int PRIOR_LOCATIONS = 1; // 0x1
927    field public static final int RAW_GNSS_ONLY = 256; // 0x100
928    field public static final int STEERING_ANGLE_FUSION = 32; // 0x20
929    field public static final int WHEEL_SPEED_FUSION = 16; // 0x10
930  }
931
932  public class PropertyAccessDeniedSecurityException extends java.lang.SecurityException {
933  }
934
935  public class PropertyNotAvailableAndRetryException extends java.lang.IllegalStateException {
936  }
937
938  public final class PropertyNotAvailableErrorCode {
939    method @NonNull public static String toString(int);
940    field public static final int NOT_AVAILABLE = 0; // 0x0
941    field public static final int NOT_AVAILABLE_DISABLED = 1; // 0x1
942    field public static final int NOT_AVAILABLE_POOR_VISIBILITY = 4; // 0x4
943    field public static final int NOT_AVAILABLE_SAFETY = 5; // 0x5
944    field public static final int NOT_AVAILABLE_SPEED_HIGH = 3; // 0x3
945    field public static final int NOT_AVAILABLE_SPEED_LOW = 2; // 0x2
946  }
947
948  public class PropertyNotAvailableException extends java.lang.IllegalStateException {
949    method public int getDetailedErrorCode();
950  }
951
952  @FlaggedApi("android.car.feature.batched_subscriptions") public final class Subscription {
953    method @NonNull public int[] getAreaIds();
954    method public int getPropertyId();
955    method @FlaggedApi("android.car.feature.subscription_with_resolution") public float getResolution();
956    method public float getUpdateRateFast();
957    method public float getUpdateRateFastest();
958    method public float getUpdateRateHz();
959    method public float getUpdateRateNormal();
960    method public float getUpdateRateUi();
961    method @FlaggedApi("android.car.feature.variable_update_rate") public boolean isVariableUpdateRateEnabled();
962  }
963
964  @FlaggedApi("android.car.feature.batched_subscriptions") public static final class Subscription.Builder {
965    ctor public Subscription.Builder(int);
966    method @NonNull public android.car.hardware.property.Subscription.Builder addAreaId(int);
967    method @NonNull public android.car.hardware.property.Subscription build();
968    method @FlaggedApi("android.car.feature.subscription_with_resolution") @NonNull public android.car.hardware.property.Subscription.Builder setResolution(float);
969    method @NonNull public android.car.hardware.property.Subscription.Builder setUpdateRateFast();
970    method @NonNull public android.car.hardware.property.Subscription.Builder setUpdateRateFastest();
971    method @NonNull public android.car.hardware.property.Subscription.Builder setUpdateRateHz(@FloatRange(from=0.0, to=100.0) float);
972    method @NonNull public android.car.hardware.property.Subscription.Builder setUpdateRateNormal();
973    method @NonNull public android.car.hardware.property.Subscription.Builder setUpdateRateUi();
974    method @FlaggedApi("android.car.feature.variable_update_rate") @NonNull public android.car.hardware.property.Subscription.Builder setVariableUpdateRateEnabled(boolean);
975  }
976
977  public class VehicleElectronicTollCollectionCardStatus {
978    field public static final int ELECTRONIC_TOLL_COLLECTION_CARD_INVALID = 2; // 0x2
979    field public static final int ELECTRONIC_TOLL_COLLECTION_CARD_NOT_INSERTED = 3; // 0x3
980    field public static final int ELECTRONIC_TOLL_COLLECTION_CARD_VALID = 1; // 0x1
981    field public static final int UNKNOWN = 0; // 0x0
982  }
983
984  public final class VehicleElectronicTollCollectionCardType {
985    field public static final int JP_ELECTRONIC_TOLL_COLLECTION_CARD = 1; // 0x1
986    field public static final int JP_ELECTRONIC_TOLL_COLLECTION_CARD_V2 = 2; // 0x2
987    field public static final int UNKNOWN = 0; // 0x0
988  }
989
990}
991
992package android.car.input {
993
994  public final class CarInputManager {
995    field public static final int INPUT_TYPE_CUSTOM_INPUT_EVENT = 200; // 0xc8
996    field public static final int INPUT_TYPE_DPAD_KEYS = 100; // 0x64
997    field public static final int INPUT_TYPE_NAVIGATE_KEYS = 101; // 0x65
998    field public static final int INPUT_TYPE_NONE = -1; // 0xffffffff
999    field public static final int INPUT_TYPE_ROTARY_NAVIGATION = 10; // 0xa
1000    field public static final int INPUT_TYPE_ROTARY_VOLUME = 11; // 0xb
1001    field public static final int INPUT_TYPE_SYSTEM_NAVIGATE_KEYS = 102; // 0x66
1002    field public static final int INPUT_TYPE_TOUCH_SCREEN = 210; // 0xd2
1003  }
1004
1005}
1006
1007package android.car.media {
1008
1009  public final class CarAudioManager {
1010    method public boolean isAudioFeatureEnabled(int);
1011    method public void registerCarVolumeCallback(@NonNull android.car.media.CarAudioManager.CarVolumeCallback);
1012    method public void unregisterCarVolumeCallback(@NonNull android.car.media.CarAudioManager.CarVolumeCallback);
1013    field public static final int AUDIO_FEATURE_AUDIO_MIRRORING = 5; // 0x5
1014    field public static final int AUDIO_FEATURE_DYNAMIC_ROUTING = 1; // 0x1
1015    field @FlaggedApi("android.car.feature.car_audio_min_max_activation_volume") public static final int AUDIO_FEATURE_MIN_MAX_ACTIVATION_VOLUME = 6; // 0x6
1016    field public static final int AUDIO_FEATURE_OEM_AUDIO_SERVICE = 3; // 0x3
1017    field public static final int AUDIO_FEATURE_VOLUME_GROUP_EVENTS = 4; // 0x4
1018    field public static final int AUDIO_FEATURE_VOLUME_GROUP_MUTING = 2; // 0x2
1019  }
1020
1021  public abstract static class CarAudioManager.CarVolumeCallback {
1022    ctor public CarAudioManager.CarVolumeCallback();
1023    method public void onGroupMuteChanged(int, int, int);
1024    method public void onGroupVolumeChanged(int, int, int);
1025    method public void onMasterMuteChanged(int, int);
1026  }
1027
1028  public final class CarMediaIntents {
1029    field public static final String ACTION_MEDIA_TEMPLATE = "android.car.intent.action.MEDIA_TEMPLATE";
1030    field public static final String EXTRA_MEDIA_COMPONENT = "android.car.intent.extra.MEDIA_COMPONENT";
1031    field public static final String EXTRA_SEARCH_QUERY = "android.car.media.extra.SEARCH_QUERY";
1032  }
1033
1034}
1035
1036package android.car.remoteaccess {
1037
1038  public final class CarRemoteAccessManager {
1039    method @RequiresPermission(android.car.Car.PERMISSION_USE_REMOTE_ACCESS) public void clearRemoteTaskClient();
1040    method @RequiresPermission(android.car.Car.PERMISSION_USE_REMOTE_ACCESS) public void reportRemoteTaskDone(@NonNull String);
1041    method @RequiresPermission(android.car.Car.PERMISSION_USE_REMOTE_ACCESS) public void setRemoteTaskClient(@NonNull java.util.concurrent.Executor, @NonNull android.car.remoteaccess.CarRemoteAccessManager.RemoteTaskClientCallback);
1042  }
1043
1044  public static interface CarRemoteAccessManager.CompletableRemoteTaskFuture {
1045    method public void complete();
1046  }
1047
1048  public static interface CarRemoteAccessManager.RemoteTaskClientCallback {
1049    method public void onRegistrationFailed();
1050    method public void onRegistrationUpdated(@NonNull android.car.remoteaccess.RemoteTaskClientRegistrationInfo);
1051    method public void onRemoteTaskRequested(@NonNull String, @Nullable byte[], int);
1052    method @FlaggedApi("android.car.feature.serverless_remote_access") public default void onServerlessClientRegistered();
1053    method public void onShutdownStarting(@NonNull android.car.remoteaccess.CarRemoteAccessManager.CompletableRemoteTaskFuture);
1054  }
1055
1056  public final class RemoteTaskClientRegistrationInfo implements android.os.Parcelable {
1057    method public int describeContents();
1058    method @NonNull public String getClientId();
1059    method @NonNull public String getProcessorId();
1060    method @NonNull public String getServiceId();
1061    method @NonNull public String getVehicleId();
1062    method public void writeToParcel(@NonNull android.os.Parcel, int);
1063    field @NonNull public static final android.os.Parcelable.Creator<android.car.remoteaccess.RemoteTaskClientRegistrationInfo> CREATOR;
1064  }
1065
1066}
1067
1068package android.car.watchdog {
1069
1070  public final class CarWatchdogManager {
1071    method public void addResourceOveruseListener(@NonNull java.util.concurrent.Executor, int, @NonNull android.car.watchdog.CarWatchdogManager.ResourceOveruseListener);
1072    method @NonNull public android.car.watchdog.ResourceOveruseStats getResourceOveruseStats(int, int);
1073    method public void removeResourceOveruseListener(@NonNull android.car.watchdog.CarWatchdogManager.ResourceOveruseListener);
1074    field public static final int FLAG_RESOURCE_OVERUSE_IO = 1; // 0x1
1075    field public static final int STATS_PERIOD_CURRENT_DAY = 1; // 0x1
1076    field public static final int STATS_PERIOD_PAST_15_DAYS = 4; // 0x4
1077    field public static final int STATS_PERIOD_PAST_30_DAYS = 5; // 0x5
1078    field public static final int STATS_PERIOD_PAST_3_DAYS = 2; // 0x2
1079    field public static final int STATS_PERIOD_PAST_7_DAYS = 3; // 0x3
1080  }
1081
1082  public static interface CarWatchdogManager.ResourceOveruseListener {
1083    method public void onOveruse(@NonNull android.car.watchdog.ResourceOveruseStats);
1084  }
1085
1086  public final class IoOveruseStats implements android.os.Parcelable {
1087    method public int describeContents();
1088    method public long getDurationInSeconds();
1089    method @NonNull public android.car.watchdog.PerStateBytes getRemainingWriteBytes();
1090    method public long getStartTime();
1091    method public long getTotalBytesWritten();
1092    method public long getTotalOveruses();
1093    method public long getTotalTimesKilled();
1094    method public boolean isKillableOnOveruse();
1095    method public void writeToParcel(@NonNull android.os.Parcel, int);
1096    field @NonNull public static final android.os.Parcelable.Creator<android.car.watchdog.IoOveruseStats> CREATOR;
1097  }
1098
1099  public final class PerStateBytes implements android.os.Parcelable {
1100    ctor public PerStateBytes(long, long, long);
1101    method public int describeContents();
1102    method public long getBackgroundModeBytes();
1103    method public long getForegroundModeBytes();
1104    method public long getGarageModeBytes();
1105    method public void writeToParcel(@NonNull android.os.Parcel, int);
1106    field @NonNull public static final android.os.Parcelable.Creator<android.car.watchdog.PerStateBytes> CREATOR;
1107  }
1108
1109  public final class ResourceOveruseStats implements android.os.Parcelable {
1110    method public int describeContents();
1111    method @Nullable public android.car.watchdog.IoOveruseStats getIoOveruseStats();
1112    method @NonNull public String getPackageName();
1113    method @NonNull public android.os.UserHandle getUserHandle();
1114    method public void writeToParcel(@NonNull android.os.Parcel, int);
1115    field @NonNull public static final android.os.Parcelable.Creator<android.car.watchdog.ResourceOveruseStats> CREATOR;
1116  }
1117
1118}
1119
1120