// Signature format: 2.0 package android.car { public abstract class AoapService extends android.app.Service { ctor public AoapService(); method @MainThread public int canSwitchToAoap(@NonNull android.hardware.usb.UsbDevice); method @MainThread public abstract int isDeviceSupported(@NonNull android.hardware.usb.UsbDevice); method public android.os.IBinder onBind(android.content.Intent); field public static final int RESULT_DEVICE_NOT_SUPPORTED = 1; // 0x1 field public static final int RESULT_DO_NOT_SWITCH_TO_AOAP = 2; // 0x2 field public static final int RESULT_OK = 0; // 0x0 } public final class Car { method @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_FEATURES) public int disableFeature(@NonNull String); method @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_FEATURES) public int enableFeature(@NonNull String); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_FEATURES) public java.util.List getAllEnabledFeatures(); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_FEATURES) public java.util.List getAllPendingDisabledFeatures(); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_FEATURES) public java.util.List getAllPendingEnabledFeatures(); field public static final String ACCESS_PRIVATE_DISPLAY_ID = "android.car.permission.ACCESS_PRIVATE_DISPLAY_ID"; field @Deprecated public static final String CABIN_SERVICE = "cabin"; field public static final String CAR_ACTIVITY_SERVICE = "car_activity_service"; field public static final String CAR_BUGREPORT_SERVICE = "car_bugreport"; field public static final String CAR_DEVICE_POLICY_SERVICE = "car_device_policy_service"; field @FlaggedApi("android.car.feature.display_compatibility") public static final String CAR_DISPLAY_COMPAT_SERVICE = "car_display_compat_service"; field public static final String CAR_DRIVING_STATE_SERVICE = "drivingstate"; field public static final String CAR_EVS_SERVICE = "car_evs_service"; field public static final String CAR_EXTRA_CLUSTER_ACTIVITY_STATE = "android.car.cluster.ClusterActivityState"; field public static final String CAR_INPUT_SERVICE = "android.car.input"; field public static final String CAR_MEDIA_SERVICE = "car_media"; field public static final String CAR_OCCUPANT_CONNECTION_SERVICE = "car_occupant_connection_service"; field public static final String CAR_PERFORMANCE_SERVICE = "car_performance"; field public static final String CAR_REMOTEACCESS_REMOTE_TASK_CLIENT_SERVICE = "android.car.remoteaccess.RemoteTaskClientService"; field public static final String CAR_REMOTE_ACCESS_SERVICE = "car_remote_access_service"; field public static final String CAR_REMOTE_DEVICE_SERVICE = "car_remote_device_service"; field public static final String CAR_TELEMETRY_SERVICE = "car_telemetry_service"; field public static final String CAR_USER_SERVICE = "car_user_service"; field @FlaggedApi("android.car.feature.persist_ap_settings") public static final String CAR_WIFI_SERVICE = "car_wifi_service"; field public static final String DIAGNOSTIC_SERVICE = "diagnostic"; field public static final int FEATURE_REQUEST_ALREADY_IN_THE_STATE = 1; // 0x1 field public static final int FEATURE_REQUEST_MANDATORY = 2; // 0x2 field public static final int FEATURE_REQUEST_NOT_EXISTING = 3; // 0x3 field public static final int FEATURE_REQUEST_SUCCESS = 0; // 0x0 field @Deprecated public static final String HVAC_SERVICE = "hvac"; field public static final String OCCUPANT_AWARENESS_SERVICE = "occupant_awareness"; field public static final String PERMISSION_ACCESS_MIRRORRED_SURFACE = "android.car.permission.ACCESS_MIRRORED_SURFACE"; field public static final String PERMISSION_ADJUST_RANGE_REMAINING = "android.car.permission.ADJUST_RANGE_REMAINING"; field @FlaggedApi("android.car.feature.car_app_card") public static final String PERMISSION_BIND_APP_CARD_PROVIDER = "android.car.permission.BIND_APP_CARD_PROVIDER"; field public static final String PERMISSION_CAR_DIAGNOSTIC_CLEAR = "android.car.permission.CLEAR_CAR_DIAGNOSTICS"; field public static final String PERMISSION_CAR_DIAGNOSTIC_READ_ALL = "android.car.permission.CAR_DIAGNOSTICS"; field public static final String PERMISSION_CAR_DRIVING_STATE = "android.car.permission.CAR_DRIVING_STATE"; field public static final String PERMISSION_CAR_DYNAMICS_STATE = "android.car.permission.CAR_DYNAMICS_STATE"; field public static final String PERMISSION_CAR_ENGINE_DETAILED = "android.car.permission.CAR_ENGINE_DETAILED"; field public static final String PERMISSION_CAR_EPOCH_TIME = "android.car.permission.CAR_EPOCH_TIME"; field public static final String PERMISSION_CAR_INSTRUMENT_CLUSTER_CONTROL = "android.car.permission.CAR_INSTRUMENT_CLUSTER_CONTROL"; field @FlaggedApi("android.car.feature.cluster_health_monitoring") public static final String PERMISSION_CAR_MONITOR_CLUSTER_NAVIGATION_STATE = "android.car.permission.CAR_MONITOR_CLUSTER_NAVIGATION_STATE"; field public static final String PERMISSION_CAR_MONITOR_INPUT = "android.car.permission.CAR_MONITOR_INPUT"; field public static final String PERMISSION_CAR_POWER = "android.car.permission.CAR_POWER"; field public static final String PERMISSION_CAR_PROJECTION = "android.car.permission.CAR_PROJECTION"; field public static final String PERMISSION_CAR_PROJECTION_STATUS = "android.car.permission.ACCESS_CAR_PROJECTION_STATUS"; field public static final String PERMISSION_CAR_TEST_SERVICE = "android.car.permission.CAR_TEST_SERVICE"; field public static final String PERMISSION_CAR_UX_RESTRICTIONS_CONFIGURATION = "android.car.permission.CAR_UX_RESTRICTIONS_CONFIGURATION"; field public static final String PERMISSION_COLLECT_CAR_WATCHDOG_METRICS = "android.car.permission.COLLECT_CAR_WATCHDOG_METRICS"; field public static final String PERMISSION_CONTROL_ADAS_SETTINGS = "android.car.permission.CONTROL_ADAS_SETTINGS"; field public static final String PERMISSION_CONTROL_ADAS_STATES = "android.car.permission.CONTROL_ADAS_STATES"; field public static final String PERMISSION_CONTROL_APP_BLOCKING = "android.car.permission.CONTROL_APP_BLOCKING"; field public static final String PERMISSION_CONTROL_CAR_AIRBAGS = "android.car.permission.CONTROL_CAR_AIRBAGS"; field public static final String PERMISSION_CONTROL_CAR_APP_LAUNCH = "android.car.permission.CONTROL_CAR_APP_LAUNCH"; field public static final String PERMISSION_CONTROL_CAR_CLIMATE = "android.car.permission.CONTROL_CAR_CLIMATE"; field public static final String PERMISSION_CONTROL_CAR_DOORS = "android.car.permission.CONTROL_CAR_DOORS"; field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public static final String PERMISSION_CONTROL_CAR_DYNAMICS_STATE = "android.car.permission.CONTROL_CAR_DYNAMICS_STATE"; field public static final String PERMISSION_CONTROL_CAR_EVS_ACTIVITY = "android.car.permission.CONTROL_CAR_EVS_ACTIVITY"; field public static final String PERMISSION_CONTROL_CAR_FEATURES = "android.car.permission.CONTROL_CAR_FEATURES"; field public static final String PERMISSION_CONTROL_CAR_MIRRORS = "android.car.permission.CONTROL_CAR_MIRRORS"; field @Deprecated public static final String PERMISSION_CONTROL_CAR_OCCUPANT_AWARENESS_SYSTEM = "android.car.permission.CONTROL_CAR_OCCUPANT_AWARENESS_SYSTEM"; field public static final String PERMISSION_CONTROL_CAR_POWER_POLICY = "android.car.permission.CONTROL_CAR_POWER_POLICY"; field public static final String PERMISSION_CONTROL_CAR_SEATS = "android.car.permission.CONTROL_CAR_SEATS"; field public static final String PERMISSION_CONTROL_CAR_WATCHDOG_CONFIG = "android.car.permission.CONTROL_CAR_WATCHDOG_CONFIG"; field public static final String PERMISSION_CONTROL_CAR_WINDOWS = "android.car.permission.CONTROL_CAR_WINDOWS"; field public static final String PERMISSION_CONTROL_DRIVER_MONITORING_SETTINGS = "android.car.permission.CONTROL_DRIVER_MONITORING_SETTINGS"; field public static final String PERMISSION_CONTROL_ENERGY_PORTS = "android.car.permission.CONTROL_CAR_ENERGY_PORTS"; field public static final String PERMISSION_CONTROL_EXTERIOR_LIGHTS = "android.car.permission.CONTROL_CAR_EXTERIOR_LIGHTS"; field public static final String PERMISSION_CONTROL_GLOVE_BOX = "android.car.permission.CONTROL_GLOVE_BOX"; field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public static final String PERMISSION_CONTROL_HEAD_UP_DISPLAY = "android.car.permission.CONTROL_HEAD_UP_DISPLAY"; field public static final String PERMISSION_CONTROL_POWERTRAIN = "android.car.permission.CONTROL_CAR_POWERTRAIN"; field public static final String PERMISSION_CONTROL_REMOTE_ACCESS = "android.car.permission.CONTROL_REMOTE_ACCESS"; field public static final String PERMISSION_CONTROL_SHUTDOWN_PROCESS = "android.car.permission.CONTROL_SHUTDOWN_PROCESS"; field public static final String PERMISSION_CONTROL_STEERING_WHEEL = "android.car.permission.CONTROL_STEERING_WHEEL"; field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public static final String PERMISSION_CONTROL_VALET_MODE = "android.car.permission.CONTROL_VALET_MODE"; field public static final String PERMISSION_CONTROL_WINDSHIELD_WIPERS = "android.car.permission.CONTROL_WINDSHIELD_WIPERS"; field public static final String PERMISSION_EXTERIOR_LIGHTS = "android.car.permission.CAR_EXTERIOR_LIGHTS"; field public static final String PERMISSION_MANAGE_CAR_SYSTEM_UI = "android.car.permission.MANAGE_CAR_SYSTEM_UI"; field @FlaggedApi("android.car.feature.display_compatibility") public static final String PERMISSION_MANAGE_DISPLAY_COMPATIBILITY = "android.car.permission.MANAGE_DISPLAY_COMPATIBILITY"; field public static final String PERMISSION_MANAGE_OCCUPANT_CONNECTION = "android.car.permission.MANAGE_OCCUPANT_CONNECTION"; field public static final String PERMISSION_MANAGE_OCCUPANT_ZONE = "android.car.permission.MANAGE_OCCUPANT_ZONE"; field public static final String PERMISSION_MANAGE_REMOTE_DEVICE = "android.car.permission.MANAGE_REMOTE_DEVICE"; field public static final String PERMISSION_MANAGE_THREAD_PRIORITY = "android.car.permission.MANAGE_THREAD_PRIORITY"; field public static final String PERMISSION_MILEAGE = "android.car.permission.CAR_MILEAGE"; field public static final String PERMISSION_MIRROR_DISPLAY = "android.car.permission.MIRROR_DISPLAY"; field @Deprecated public static final String PERMISSION_MOCK_VEHICLE_HAL = "android.car.permission.CAR_MOCK_VEHICLE_HAL"; field public static final String PERMISSION_MONITOR_CAR_EVS_STATUS = "android.car.permission.MONITOR_CAR_EVS_STATUS"; field public static final String PERMISSION_READ_ADAS_SETTINGS = "android.car.permission.READ_ADAS_SETTINGS"; field public static final String PERMISSION_READ_ADAS_STATES = "android.car.permission.READ_ADAS_STATES"; field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public static final String PERMISSION_READ_CAR_AIRBAGS = "android.car.permission.READ_CAR_AIRBAGS"; field public static final String PERMISSION_READ_CAR_OCCUPANT_AWARENESS_STATE = "android.car.permission.READ_CAR_OCCUPANT_AWARENESS_STATE"; field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public static final String PERMISSION_READ_CAR_SEAT_BELTS = "android.car.permission.READ_CAR_SEAT_BELTS"; field public static final String PERMISSION_READ_CAR_VENDOR_PERMISSION_INFO = "android.car.permission.READ_CAR_VENDOR_PERMISSION_INFO"; field public static final String PERMISSION_READ_DRIVER_MONITORING_SETTINGS = "android.car.permission.READ_DRIVER_MONITORING_SETTINGS"; field public static final String PERMISSION_READ_DRIVER_MONITORING_STATES = "android.car.permission.READ_DRIVER_MONITORING_STATES"; field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public static final String PERMISSION_READ_HEAD_UP_DISPLAY_STATUS = "android.car.permission.READ_HEAD_UP_DISPLAY_STATUS"; field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public static final String PERMISSION_READ_IMPACT_SENSORS = "android.car.permission.READ_IMPACT_SENSORS"; field @FlaggedApi("android.car.feature.persist_ap_settings") public static final String PERMISSION_READ_PERSIST_TETHERING_SETTINGS = "android.car.permission.READ_PERSIST_TETHERING_SETTINGS"; field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public static final String PERMISSION_READ_ULTRASONICS_SENSOR_DATA = "android.car.permission.READ_ULTRASONICS_SENSOR_DATA"; field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public static final String PERMISSION_READ_VALET_MODE = "android.car.permission.READ_VALET_MODE"; field public static final String PERMISSION_READ_WINDSHIELD_WIPERS = "android.car.permission.READ_WINDSHIELD_WIPERS"; field public static final String PERMISSION_RECEIVE_CAR_AUDIO_DUCKING_EVENTS = "android.car.permission.RECEIVE_CAR_AUDIO_DUCKING_EVENTS"; field public static final String PERMISSION_REGISTER_CAR_SYSTEM_UI_PROXY = "android.car.permission.REGISTER_CAR_SYSTEM_UI_PROXY"; field public static final String PERMISSION_REQUEST_CAR_EVS_ACTIVITY = "android.car.permission.REQUEST_CAR_EVS_ACTIVITY"; field public static final String PERMISSION_STORAGE_MONITORING = "android.car.permission.STORAGE_MONITORING"; field public static final String PERMISSION_TEMPLATE_RENDERER = "android.car.permission.TEMPLATE_RENDERER"; field public static final String PERMISSION_TIRES = "android.car.permission.CAR_TIRES"; field public static final String PERMISSION_USE_CAR_EVS_CAMERA = "android.car.permission.USE_CAR_EVS_CAMERA"; field public static final String PERMISSION_USE_CAR_TELEMETRY_SERVICE = "android.car.permission.USE_CAR_TELEMETRY_SERVICE"; field public static final String PERMISSION_USE_CAR_WATCHDOG = "android.car.permission.USE_CAR_WATCHDOG"; field public static final String PERMISSION_VENDOR_EXTENSION = "android.car.permission.CAR_VENDOR_EXTENSION"; field public static final String PERMISSION_VMS_PUBLISHER = "android.car.permission.VMS_PUBLISHER"; field public static final String PERMISSION_VMS_SUBSCRIBER = "android.car.permission.VMS_SUBSCRIBER"; field public static final String PROJECTION_SERVICE = "projection"; field public static final String STORAGE_MONITORING_SERVICE = "storage_monitoring"; field public static final String TEST_SERVICE = "car-service-test"; field public static final String VEHICLE_MAP_SERVICE = "vehicle_map_service"; field @Deprecated public static final String VENDOR_EXTENSION_SERVICE = "vendor_extension"; field @Deprecated public static final String VMS_SUBSCRIBER_SERVICE = "vehicle_map_subscriber_service"; } public final class CarAppFocusManager { method @FlaggedApi("android.car.feature.cluster_health_monitoring") @NonNull @RequiresPermission(allOf={android.Manifest.permission.QUERY_ALL_PACKAGES, android.Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public java.util.List getAppTypeOwner(int); } public final class CarBugreportManager { method @RequiresPermission(android.Manifest.permission.DUMP) public void cancelBugreport(); method @RequiresPermission(android.Manifest.permission.DUMP) public void requestBugreport(@NonNull android.os.ParcelFileDescriptor, @NonNull android.os.ParcelFileDescriptor, @NonNull android.car.CarBugreportManager.CarBugreportManagerCallback); } public abstract static class CarBugreportManager.CarBugreportManagerCallback { ctor public CarBugreportManager.CarBugreportManagerCallback(); method public void onError(int); method public void onFinished(); method public void onProgress(@FloatRange(from=0.0f, to=100.0f) float); field public static final int CAR_BUGREPORT_DUMPSTATE_CONNECTION_FAILED = 3; // 0x3 field public static final int CAR_BUGREPORT_DUMPSTATE_FAILED = 1; // 0x1 field public static final int CAR_BUGREPORT_IN_PROGRESS = 2; // 0x2 field public static final int CAR_BUGREPORT_SERVICE_NOT_AVAILABLE = 4; // 0x4 } public class CarOccupantZoneManager { method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.car.Car.PERMISSION_MANAGE_OCCUPANT_ZONE}) public int assignVisibleUserToOccupantZone(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, @NonNull android.os.UserHandle); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public int getAudioZoneIdForOccupant(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo); method @RequiresPermission(android.car.Car.ACCESS_PRIVATE_DISPLAY_ID) public int getDisplayIdForDriver(int); method @Nullable @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public android.car.CarOccupantZoneManager.OccupantZoneInfo getOccupantForAudioZoneId(int); method @Nullable public android.car.CarOccupantZoneManager.OccupantZoneInfo getOccupantZoneForDisplayId(int); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.car.Car.PERMISSION_MANAGE_OCCUPANT_ZONE}) public int unassignOccupantZone(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo); field public static final int USER_ASSIGNMENT_RESULT_FAIL_ALREADY_ASSIGNED = 1; // 0x1 field public static final int USER_ASSIGNMENT_RESULT_FAIL_DRIVER_ZONE = 3; // 0x3 field public static final int USER_ASSIGNMENT_RESULT_FAIL_NON_VISIBLE_USER = 2; // 0x2 field public static final int USER_ASSIGNMENT_RESULT_OK = 0; // 0x0 } public final class CarProjectionManager { method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public void addKeyEventHandler(@NonNull java.util.Set, @NonNull android.car.CarProjectionManager.ProjectionKeyEventHandler); method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public void addKeyEventHandler(@NonNull java.util.Set, @Nullable java.util.concurrent.Executor, @NonNull android.car.CarProjectionManager.ProjectionKeyEventHandler); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public java.util.List getAvailableWifiChannels(int); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public android.os.Bundle getProjectionOptions(); method @FlaggedApi("android.car.feature.projection_query_bt_profile_inhibit") @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public boolean isBluetoothProfileInhibited(@NonNull android.bluetooth.BluetoothDevice, int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public void registerProjectionListener(@NonNull android.car.CarProjectionManager.CarProjectionListener, int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public void registerProjectionRunner(@NonNull android.content.Intent); method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION_STATUS) public void registerProjectionStatusListener(@NonNull android.car.CarProjectionManager.ProjectionStatusListener); method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public boolean releaseBluetoothProfileInhibit(@NonNull android.bluetooth.BluetoothDevice, int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public void removeKeyEventHandler(@NonNull android.car.CarProjectionManager.ProjectionKeyEventHandler); method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public boolean requestBluetoothProfileInhibit(@NonNull android.bluetooth.BluetoothDevice, int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public void resetProjectionAccessPointCredentials(); method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public void startProjectionAccessPoint(@NonNull android.car.CarProjectionManager.ProjectionAccessPointCallback); method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public void stopProjectionAccessPoint(); method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public void unregisterProjectionListener(); method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public void unregisterProjectionRunner(@NonNull android.content.Intent); method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION_STATUS) public void unregisterProjectionStatusListener(@NonNull android.car.CarProjectionManager.ProjectionStatusListener); method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public void updateProjectionStatus(@NonNull android.car.projection.ProjectionStatus); field public static final int KEY_EVENT_CALL_KEY_DOWN = 4; // 0x4 field public static final int KEY_EVENT_CALL_LONG_PRESS_KEY_DOWN = 6; // 0x6 field public static final int KEY_EVENT_CALL_LONG_PRESS_KEY_UP = 7; // 0x7 field public static final int KEY_EVENT_CALL_SHORT_PRESS_KEY_UP = 5; // 0x5 field public static final int KEY_EVENT_VOICE_SEARCH_KEY_DOWN = 0; // 0x0 field public static final int KEY_EVENT_VOICE_SEARCH_LONG_PRESS_KEY_DOWN = 2; // 0x2 field public static final int KEY_EVENT_VOICE_SEARCH_LONG_PRESS_KEY_UP = 3; // 0x3 field public static final int KEY_EVENT_VOICE_SEARCH_SHORT_PRESS_KEY_UP = 1; // 0x1 field @Deprecated public static final int PROJECTION_LONG_PRESS_VOICE_SEARCH = 2; // 0x2 field @Deprecated public static final int PROJECTION_VOICE_SEARCH = 1; // 0x1 } public static interface CarProjectionManager.CarProjectionListener { method public void onVoiceAssistantRequest(boolean); } public abstract static class CarProjectionManager.ProjectionAccessPointCallback { ctor public CarProjectionManager.ProjectionAccessPointCallback(); method public void onFailed(int); method @Deprecated public void onStarted(@Nullable android.net.wifi.WifiConfiguration); method public void onStarted(@NonNull android.net.wifi.SoftApConfiguration); method public void onStopped(); field public static final int ERROR_GENERIC = 2; // 0x2 field public static final int ERROR_INCOMPATIBLE_MODE = 3; // 0x3 field public static final int ERROR_NO_CHANNEL = 1; // 0x1 field public static final int ERROR_TETHERING_DISALLOWED = 4; // 0x4 } public static interface CarProjectionManager.ProjectionKeyEventHandler { method public void onKeyEvent(int); } public static interface CarProjectionManager.ProjectionStatusListener { method public void onProjectionStatusChanged(int, @Nullable String, @NonNull java.util.List); } public final class CarRemoteDeviceManager { method @Nullable @RequiresPermission(android.car.Car.PERMISSION_MANAGE_REMOTE_DEVICE) public android.content.pm.PackageInfo getEndpointPackageInfo(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo); method @RequiresPermission(android.car.Car.PERMISSION_MANAGE_REMOTE_DEVICE) public boolean isOccupantZonePowerOn(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo); method @RequiresPermission(android.car.Car.PERMISSION_MANAGE_REMOTE_DEVICE) public void registerStateCallback(@NonNull java.util.concurrent.Executor, @NonNull android.car.CarRemoteDeviceManager.StateCallback); method @RequiresPermission(allOf={android.car.Car.PERMISSION_CAR_POWER, android.car.Car.PERMISSION_MANAGE_REMOTE_DEVICE}) public void setOccupantZonePower(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, boolean); method @RequiresPermission(android.car.Car.PERMISSION_MANAGE_REMOTE_DEVICE) public void unregisterStateCallback(); field public static final int FLAG_CLIENT_INSTALLED = 1; // 0x1 field public static final int FLAG_CLIENT_IN_FOREGROUND = 16; // 0x10 field public static final int FLAG_CLIENT_RUNNING = 8; // 0x8 field public static final int FLAG_CLIENT_SAME_LONG_VERSION = 2; // 0x2 field public static final int FLAG_CLIENT_SAME_SIGNATURE = 4; // 0x4 field public static final int FLAG_OCCUPANT_ZONE_CONNECTION_READY = 4; // 0x4 field public static final int FLAG_OCCUPANT_ZONE_POWER_ON = 1; // 0x1 field public static final int FLAG_OCCUPANT_ZONE_SCREEN_UNLOCKED = 2; // 0x2 } public static interface CarRemoteDeviceManager.StateCallback { method public void onAppStateChanged(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, int); method public void onOccupantZoneStateChanged(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, int); } public interface ResultCallback { method public void onResult(V); } public final class SyncResultCallback implements android.car.ResultCallback { ctor public SyncResultCallback(); method @Nullable public V get() throws java.lang.InterruptedException; method @Nullable public V get(long, @Nullable java.util.concurrent.TimeUnit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException; method public void onResult(V); } public final class VehicleAreaDoor { field public static final int DOOR_HOOD = 268435456; // 0x10000000 field public static final int DOOR_REAR = 536870912; // 0x20000000 field public static final int DOOR_ROW_1_LEFT = 1; // 0x1 field public static final int DOOR_ROW_1_RIGHT = 4; // 0x4 field public static final int DOOR_ROW_2_LEFT = 16; // 0x10 field public static final int DOOR_ROW_2_RIGHT = 64; // 0x40 field public static final int DOOR_ROW_3_LEFT = 256; // 0x100 field public static final int DOOR_ROW_3_RIGHT = 1024; // 0x400 } public final class VehicleAreaMirror { field public static final int MIRROR_DRIVER_CENTER = 4; // 0x4 field public static final int MIRROR_DRIVER_LEFT = 1; // 0x1 field public static final int MIRROR_DRIVER_RIGHT = 2; // 0x2 } public final class VehicleAreaWindow { field public static final int WINDOW_FRONT_WINDSHIELD = 1; // 0x1 field public static final int WINDOW_REAR_WINDSHIELD = 2; // 0x2 field public static final int WINDOW_ROOF_TOP_1 = 65536; // 0x10000 field public static final int WINDOW_ROOF_TOP_2 = 131072; // 0x20000 field public static final int WINDOW_ROW_1_LEFT = 16; // 0x10 field public static final int WINDOW_ROW_1_RIGHT = 64; // 0x40 field public static final int WINDOW_ROW_2_LEFT = 256; // 0x100 field public static final int WINDOW_ROW_2_RIGHT = 1024; // 0x400 field public static final int WINDOW_ROW_3_LEFT = 4096; // 0x1000 field public static final int WINDOW_ROW_3_RIGHT = 16384; // 0x4000 } public final class VehiclePropertyAccess { field public static final int NONE = 0; // 0x0 field public static final int READ = 1; // 0x1 field public static final int READ_WRITE = 3; // 0x3 field public static final int WRITE = 2; // 0x2 } public final class VehiclePropertyIds { field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ADAS_STATES)) public static final int ADAPTIVE_CRUISE_CONTROL_LEAD_VEHICLE_MEASURED_DISTANCE = 289411093; // 0x11401015 field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_ADAS_STATES, android.car.Car.PERMISSION_CONTROL_ADAS_STATES})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_ADAS_STATES)) public static final int ADAPTIVE_CRUISE_CONTROL_TARGET_TIME_GAP = 289411092; // 0x11401014 field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_ADAS_SETTINGS, android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS)) public static final int AUTOMATIC_EMERGENCY_BRAKING_ENABLED = 287313920; // 0x11201000 field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ADAS_STATES)) public static final int AUTOMATIC_EMERGENCY_BRAKING_STATE = 289411073; // 0x11401001 field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_ADAS_SETTINGS, android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS)) public static final int BLIND_SPOT_WARNING_ENABLED = 287313924; // 0x11201004 field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ADAS_STATES)) public static final int BLIND_SPOT_WARNING_STATE = 339742725; // 0x14401005 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_ADAS_SETTINGS, android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS)) public static final int CROSS_TRAFFIC_MONITORING_ENABLED = 287313955; // 0x11201023 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ADAS_STATES)) public static final int CROSS_TRAFFIC_MONITORING_WARNING_STATE = 289411108; // 0x11401024 field @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_ADAS_STATES)) public static final int CRUISE_CONTROL_COMMAND = 289411090; // 0x11401012 field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_ADAS_SETTINGS, android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS)) public static final int CRUISE_CONTROL_ENABLED = 287313935; // 0x1120100f field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ADAS_STATES)) public static final int CRUISE_CONTROL_STATE = 289411089; // 0x11401011 field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ADAS_STATES)) public static final int CRUISE_CONTROL_TARGET_SPEED = 291508243; // 0x11601013 field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_ADAS_STATES, android.car.Car.PERMISSION_CONTROL_ADAS_STATES})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_ADAS_STATES)) public static final int CRUISE_CONTROL_TYPE = 289411088; // 0x11401010 field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_DOORS) public static final int DOOR_CHILD_LOCK_ENABLED = 371198723; // 0x16200b03 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_DRIVER_MONITORING_STATES)) public static final int DRIVER_DISTRACTION_STATE = 289411102; // 0x1140101e field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_DRIVER_MONITORING_SETTINGS, android.car.Car.PERMISSION_CONTROL_DRIVER_MONITORING_SETTINGS})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_DRIVER_MONITORING_SETTINGS)) public static final int DRIVER_DISTRACTION_SYSTEM_ENABLED = 287313949; // 0x1120101d field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_DRIVER_MONITORING_STATES)) public static final int DRIVER_DISTRACTION_WARNING = 289411104; // 0x11401020 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_DRIVER_MONITORING_SETTINGS, android.car.Car.PERMISSION_CONTROL_DRIVER_MONITORING_SETTINGS})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_DRIVER_MONITORING_SETTINGS)) public static final int DRIVER_DISTRACTION_WARNING_ENABLED = 287313951; // 0x1120101f field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_DRIVER_MONITORING_STATES)) public static final int DRIVER_DROWSINESS_ATTENTION_STATE = 289411098; // 0x1140101a field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_DRIVER_MONITORING_SETTINGS, android.car.Car.PERMISSION_CONTROL_DRIVER_MONITORING_SETTINGS})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_DRIVER_MONITORING_SETTINGS)) public static final int DRIVER_DROWSINESS_ATTENTION_SYSTEM_ENABLED = 287313945; // 0x11201019 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_DRIVER_MONITORING_STATES)) public static final int DRIVER_DROWSINESS_ATTENTION_WARNING = 289411100; // 0x1140101c field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_DRIVER_MONITORING_SETTINGS, android.car.Car.PERMISSION_CONTROL_DRIVER_MONITORING_SETTINGS})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_DRIVER_MONITORING_SETTINGS)) public static final int DRIVER_DROWSINESS_ATTENTION_WARNING_ENABLED = 287313947; // 0x1120101b field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_CAR_DYNAMICS_STATE, android.car.Car.PERMISSION_CONTROL_CAR_DYNAMICS_STATE})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_DYNAMICS_STATE)) public static final int ELECTRONIC_STABILITY_CONTROL_ENABLED = 287310862; // 0x1120040e field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CAR_DYNAMICS_STATE)) public static final int ELECTRONIC_STABILITY_CONTROL_STATE = 289408015; // 0x1140040f field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_ADAS_SETTINGS, android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS)) public static final int EMERGENCY_LANE_KEEP_ASSIST_ENABLED = 287313933; // 0x1120100d field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ADAS_STATES)) public static final int EMERGENCY_LANE_KEEP_ASSIST_STATE = 289411086; // 0x1140100e field @RequiresPermission(android.car.Car.PERMISSION_CAR_ENGINE_DETAILED) public static final int ENGINE_IDLE_AUTO_STOP_ENABLED = 287310624; // 0x11200320 field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_ADAS_SETTINGS, android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS)) public static final int FORWARD_COLLISION_WARNING_ENABLED = 287313922; // 0x11201002 field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ADAS_STATES)) public static final int FORWARD_COLLISION_WARNING_STATE = 289411075; // 0x11401003 field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_GLOVE_BOX) public static final int GLOVE_BOX_DOOR_POS = 356518896; // 0x15400bf0 field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_GLOVE_BOX) public static final int GLOVE_BOX_LOCKED = 354421745; // 0x15200bf1 field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_DRIVER_MONITORING_STATES)) public static final int HANDS_ON_DETECTION_DRIVER_STATE = 289411095; // 0x11401017 field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_DRIVER_MONITORING_SETTINGS, android.car.Car.PERMISSION_CONTROL_DRIVER_MONITORING_SETTINGS})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_DRIVER_MONITORING_SETTINGS)) public static final int HANDS_ON_DETECTION_ENABLED = 287313942; // 0x11201016 field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_DRIVER_MONITORING_STATES)) public static final int HANDS_ON_DETECTION_WARNING = 289411096; // 0x11401018 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_HEAD_UP_DISPLAY_STATUS, android.car.Car.PERMISSION_CONTROL_HEAD_UP_DISPLAY})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_HEAD_UP_DISPLAY)) public static final int HEAD_UP_DISPLAY_ENABLED = 354421254; // 0x15200a06 field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_CLIMATE) public static final int HVAC_ELECTRIC_DEFROSTER_ON = 320865556; // 0x13200514 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_IMPACT_SENSORS)) public static final int IMPACT_DETECTED = 289407792; // 0x11400330 field @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_ADAS_STATES)) public static final int LANE_CENTERING_ASSIST_COMMAND = 289411083; // 0x1140100b field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_ADAS_SETTINGS, android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS)) public static final int LANE_CENTERING_ASSIST_ENABLED = 287313930; // 0x1120100a field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ADAS_STATES)) public static final int LANE_CENTERING_ASSIST_STATE = 289411084; // 0x1140100c field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_ADAS_SETTINGS, android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS)) public static final int LANE_DEPARTURE_WARNING_ENABLED = 287313926; // 0x11201006 field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ADAS_STATES)) public static final int LANE_DEPARTURE_WARNING_STATE = 289411079; // 0x11401007 field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_ADAS_SETTINGS, android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS)) public static final int LANE_KEEP_ASSIST_ENABLED = 287313928; // 0x11201008 field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ADAS_STATES)) public static final int LANE_KEEP_ASSIST_STATE = 289411081; // 0x11401009 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_ADAS_SETTINGS, android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS)) public static final int LOW_SPEED_AUTOMATIC_EMERGENCY_BRAKING_ENABLED = 287313957; // 0x11201025 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ADAS_STATES)) public static final int LOW_SPEED_AUTOMATIC_EMERGENCY_BRAKING_STATE = 289411110; // 0x11401026 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_ADAS_SETTINGS, android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_ADAS_SETTINGS)) public static final int LOW_SPEED_COLLISION_WARNING_ENABLED = 287313953; // 0x11201021 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ADAS_STATES)) public static final int LOW_SPEED_COLLISION_WARNING_STATE = 289411106; // 0x11401022 field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_MIRRORS) public static final int MIRROR_AUTO_FOLD_ENABLED = 337644358; // 0x14200b46 field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_MIRRORS) public static final int MIRROR_AUTO_TILT_ENABLED = 337644359; // 0x14200b47 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_CAR_AIRBAGS)) public static final int SEAT_AIRBAGS_DEPLOYED = 356518821; // 0x15400ba5 field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_AIRBAGS) public static final int SEAT_AIRBAG_ENABLED = 354421662; // 0x15200b9e field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_CAR_SEAT_BELTS)) public static final int SEAT_BELT_PRETENSIONER_DEPLOYED = 354421670; // 0x15200ba6 field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_SEATS) public static final int SEAT_CUSHION_SIDE_SUPPORT_MOVE = 356518816; // 0x15400ba0 field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_SEATS) public static final int SEAT_CUSHION_SIDE_SUPPORT_POS = 356518815; // 0x15400b9f field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_SEATS) public static final int SEAT_EASY_ACCESS_ENABLED = 354421661; // 0x15200b9d field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_SEATS) public static final int SEAT_LUMBAR_VERTICAL_MOVE = 356518818; // 0x15400ba2 field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_SEATS) public static final int SEAT_LUMBAR_VERTICAL_POS = 356518817; // 0x15400ba1 field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_SEATS) public static final int SEAT_WALK_IN_POS = 356518819; // 0x15400ba3 field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_STEERING_WHEEL) public static final int STEERING_WHEEL_DEPTH_MOVE = 289410017; // 0x11400be1 field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_STEERING_WHEEL) public static final int STEERING_WHEEL_DEPTH_POS = 289410016; // 0x11400be0 field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_STEERING_WHEEL) public static final int STEERING_WHEEL_EASY_ACCESS_ENABLED = 287312870; // 0x11200be6 field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_STEERING_WHEEL) public static final int STEERING_WHEEL_HEIGHT_MOVE = 289410019; // 0x11400be3 field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_STEERING_WHEEL) public static final int STEERING_WHEEL_HEIGHT_POS = 289410018; // 0x11400be2 field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_STEERING_WHEEL) public static final int STEERING_WHEEL_LOCKED = 287312869; // 0x11200be5 field @RequiresPermission(android.car.Car.PERMISSION_CONTROL_STEERING_WHEEL) public static final int STEERING_WHEEL_THEFT_LOCK_ENABLED = 287312868; // 0x11200be4 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ULTRASONICS_SENSOR_DATA)) public static final int ULTRASONICS_SENSOR_DETECTION_RANGE = 406916131; // 0x18410c23 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ULTRASONICS_SENSOR_DATA)) public static final int ULTRASONICS_SENSOR_FIELD_OF_VIEW = 406916130; // 0x18410c22 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ULTRASONICS_SENSOR_DATA)) public static final int ULTRASONICS_SENSOR_MEASURED_DISTANCE = 406916133; // 0x18410c25 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ULTRASONICS_SENSOR_DATA)) public static final int ULTRASONICS_SENSOR_ORIENTATION = 409013281; // 0x18610c21 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ULTRASONICS_SENSOR_DATA)) public static final int ULTRASONICS_SENSOR_POSITION = 406916128; // 0x18410c20 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_ULTRASONICS_SENSOR_DATA)) public static final int ULTRASONICS_SENSOR_SUPPORTED_RANGES = 406916132; // 0x18410c24 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_VALET_MODE, android.car.Car.PERMISSION_CONTROL_VALET_MODE})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_VALET_MODE)) public static final int VALET_MODE_ENABLED = 287312389; // 0x11200a05 field @FlaggedApi("android.car.feature.android_vic_vehicle_properties") @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CAR_DRIVING_STATE)) public static final int VEHICLE_DRIVING_AUTOMATION_CURRENT_LEVEL = 289410892; // 0x11400f4c field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_WINDSHIELD_WIPERS)) public static final int WINDSHIELD_WIPERS_PERIOD = 322964421; // 0x13400bc5 field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_READ_WINDSHIELD_WIPERS)) public static final int WINDSHIELD_WIPERS_STATE = 322964422; // 0x13400bc6 field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(anyOf={android.car.Car.PERMISSION_READ_WINDSHIELD_WIPERS, android.car.Car.PERMISSION_CONTROL_WINDSHIELD_WIPERS})) @RequiresPermission.Write(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_CONTROL_WINDSHIELD_WIPERS)) public static final int WINDSHIELD_WIPERS_SWITCH = 322964423; // 0x13400bc7 } public final class VehicleUnit { field public static final int DEGREES = 128; // 0x80 field public static final int HERTZ = 3; // 0x3 field public static final int MILLIAMPERE = 97; // 0x61 field public static final int MILLIVOLT = 98; // 0x62 field public static final int MILLIWATTS = 99; // 0x63 field public static final int MILLI_SECS = 81; // 0x51 field public static final int NANO_SECS = 80; // 0x50 field public static final int PERCENTILE = 16; // 0x10 field public static final int RPM = 2; // 0x2 field public static final int SECS = 83; // 0x53 field public static final int SHOULD_NOT_USE = 0; // 0x0 field public static final int YEAR = 89; // 0x59 } } package android.car.admin { public final class CarDevicePolicyManager { method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public android.car.admin.CreateUserResult createUser(@Nullable String, int); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public android.car.admin.RemoveUserResult removeUser(@NonNull android.os.UserHandle); field public static final int USER_TYPE_ADMIN = 1; // 0x1 field public static final int USER_TYPE_GUEST = 2; // 0x2 field public static final int USER_TYPE_REGULAR = 0; // 0x0 } public final class CreateUserResult { method public int getStatus(); method @Nullable public android.os.UserHandle getUserHandle(); method public boolean isSuccess(); field public static final int STATUS_FAILURE_GENERIC = 100; // 0x64 field public static final int STATUS_FAILURE_INVALID_ARGUMENTS = 2; // 0x2 field public static final int STATUS_SUCCESS = 1; // 0x1 } public final class RemoveUserResult { method public int getStatus(); method public boolean isSuccess(); field public static final int STATUS_FAILURE_GENERIC = 100; // 0x64 field public static final int STATUS_FAILURE_INVALID_ARGUMENTS = 5; // 0x5 field public static final int STATUS_FAILURE_USER_DOES_NOT_EXIST = 4; // 0x4 field public static final int STATUS_SUCCESS = 1; // 0x1 field public static final int STATUS_SUCCESS_LAST_ADMIN_REMOVED = 2; // 0x2 field public static final int STATUS_SUCCESS_LAST_ADMIN_SET_EPHEMERAL = 6; // 0x6 field public static final int STATUS_SUCCESS_SET_EPHEMERAL = 3; // 0x3 } } package android.car.app { public final class CarActivityManager { method @Nullable @RequiresPermission(android.car.Car.PERMISSION_MIRROR_DISPLAY) public android.os.IBinder createDisplayMirroringToken(int); method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public android.os.IBinder createTaskMirroringToken(int); method @MainThread @RequiresPermission(allOf={android.car.Car.PERMISSION_MANAGE_CAR_SYSTEM_UI, android.Manifest.permission.INTERACT_ACROSS_USERS}) public void getCarTaskViewController(@NonNull android.app.Activity, @NonNull java.util.concurrent.Executor, @NonNull android.car.app.CarTaskViewControllerCallback); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public java.util.List getVisibleTasks(); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public java.util.List getVisibleTasks(int); method public boolean isCarSystemUIProxyRegistered(); method @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_APP_LAUNCH) public void moveRootTaskToDisplay(int, int); method @RequiresPermission(android.car.Car.PERMISSION_REGISTER_CAR_SYSTEM_UI_PROXY) public void registerCarSystemUIProxy(@NonNull android.car.app.CarSystemUIProxy); method @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_APP_LAUNCH) public void setPersistentActivitiesOnRootTask(@NonNull java.util.List, @Nullable android.os.IBinder); method @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_APP_LAUNCH) public int setPersistentActivity(@NonNull android.content.ComponentName, int, int); method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public void startUserPickerOnDisplay(int); field public static final int RESULT_FAILURE = -1; // 0xffffffff field public static final int RESULT_INVALID_USER = -2; // 0xfffffffe field public static final int RESULT_SUCCESS = 0; // 0x0 } @FlaggedApi("android.car.feature.display_compatibility") public final class CarDisplayCompatContainer { method @RequiresPermission(android.car.Car.PERMISSION_MANAGE_DISPLAY_COMPATIBILITY) @UiThread public void notifyBackPressed(); method @RequiresPermission(android.car.Car.PERMISSION_MANAGE_DISPLAY_COMPATIBILITY) @UiThread public void setVisibility(int); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_MANAGE_DISPLAY_COMPATIBILITY) @UiThread public android.graphics.Rect setWindowBounds(@NonNull android.graphics.Rect); method @RequiresPermission(allOf={android.car.Car.PERMISSION_MANAGE_DISPLAY_COMPATIBILITY, android.car.Car.PERMISSION_MANAGE_CAR_SYSTEM_UI, android.Manifest.permission.INTERACT_ACROSS_USERS}) @UiThread public void startActivity(@NonNull android.content.Intent, @Nullable android.os.Bundle); } @FlaggedApi("android.car.feature.display_compatibility") public static final class CarDisplayCompatContainer.Builder { ctor public CarDisplayCompatContainer.Builder(@NonNull android.app.Activity); method @NonNull public android.car.app.CarDisplayCompatContainer.Builder setSurfaceViewCallback(@Nullable java.util.function.Consumer); } @FlaggedApi("android.car.feature.display_compatibility") public final class CarDisplayCompatManager { method @Nullable @RequiresPermission(android.car.Car.PERMISSION_MANAGE_DISPLAY_COMPATIBILITY) public android.car.app.CarDisplayCompatContainer initializeDisplayCompatContainer(@NonNull android.car.app.CarDisplayCompatContainer.Builder); } public interface CarSystemUIProxy { method @NonNull public android.car.app.CarTaskViewHost createControlledCarTaskView(@NonNull android.car.app.CarTaskViewClient); } public final class CarTaskViewClient { method @NonNull public android.graphics.Rect getCurrentBoundsOnScreen(); method public void onTaskAppeared(@NonNull android.app.ActivityManager.RunningTaskInfo, @NonNull android.view.SurfaceControl); method public void onTaskInfoChanged(@NonNull android.app.ActivityManager.RunningTaskInfo); method public void onTaskVanished(@NonNull android.app.ActivityManager.RunningTaskInfo); method public void setResizeBackgroundColor(@NonNull android.view.SurfaceControl.Transaction, int); } public final class CarTaskViewController { method @MainThread @RequiresPermission(allOf={android.Manifest.permission.INJECT_EVENTS, android.Manifest.permission.INTERNAL_SYSTEM_WINDOW}, conditional=true) public void createControlledRemoteCarTaskView(@NonNull android.car.app.ControlledRemoteCarTaskViewConfig, @NonNull java.util.concurrent.Executor, @NonNull android.car.app.ControlledRemoteCarTaskViewCallback); method @MainThread public void release(); method @MainThread public void showEmbeddedTasks(); } public interface CarTaskViewControllerCallback { method public void onConnected(@NonNull android.car.app.CarTaskViewController); method public void onDisconnected(@NonNull android.car.app.CarTaskViewController); } public interface CarTaskViewHost { method public void addInsets(int, int, @NonNull android.graphics.Rect); method public void notifySurfaceCreated(@NonNull android.view.SurfaceControl); method public void notifySurfaceDestroyed(); method public void release(); method public void removeInsets(int, int); method public void setWindowBounds(@NonNull android.graphics.Rect); method public void showEmbeddedTask(); method public void startActivity(@NonNull android.app.PendingIntent, @Nullable android.content.Intent, @NonNull android.os.Bundle, @Nullable android.graphics.Rect); } public final class ControlledRemoteCarTaskView extends android.view.SurfaceView { method @MainThread @RequiresPermission(android.car.Car.PERMISSION_REGISTER_CAR_SYSTEM_UI_PROXY) public void addInsets(int, int, @NonNull android.graphics.Rect); method @MainThread @Nullable public android.app.ActivityManager.RunningTaskInfo getTaskInfo(); method @MainThread public boolean isInitialized(); method public void onAttachedToWindow(); method public void onDetachedFromWindow(); method @MainThread public void release(); method @RequiresPermission(android.car.Car.PERMISSION_REGISTER_CAR_SYSTEM_UI_PROXY) public void removeInsets(int, int); method @MainThread public void setObscuredTouchRect(@NonNull android.graphics.Rect); method @MainThread public void setObscuredTouchRegion(@NonNull android.graphics.Region); method @MainThread @RequiresPermission(android.car.Car.PERMISSION_REGISTER_CAR_SYSTEM_UI_PROXY) public void showEmbeddedTask(); method @MainThread @RequiresPermission(android.car.Car.PERMISSION_REGISTER_CAR_SYSTEM_UI_PROXY) public void startActivity(); method @MainThread @RequiresPermission(android.car.Car.PERMISSION_REGISTER_CAR_SYSTEM_UI_PROXY) public void updateWindowBounds(); } public interface ControlledRemoteCarTaskViewCallback { method public default void onTaskAppeared(@NonNull android.app.ActivityManager.RunningTaskInfo); method public default void onTaskInfoChanged(@NonNull android.app.ActivityManager.RunningTaskInfo); method public default void onTaskVanished(@NonNull android.app.ActivityManager.RunningTaskInfo); method public default void onTaskViewCreated(@NonNull android.car.app.ControlledRemoteCarTaskView); method public default void onTaskViewInitialized(); method public default void onTaskViewReleased(); } public final class ControlledRemoteCarTaskViewConfig { method @NonNull public android.content.Intent getActivityIntent(); method public boolean shouldAutoRestartOnCrash(); method public boolean shouldCaptureGestures(); method public boolean shouldCaptureLongPress(); } public static final class ControlledRemoteCarTaskViewConfig.Builder { ctor public ControlledRemoteCarTaskViewConfig.Builder(); method @NonNull public android.car.app.ControlledRemoteCarTaskViewConfig build(); method @NonNull public android.car.app.ControlledRemoteCarTaskViewConfig.Builder setActivityIntent(@NonNull android.content.Intent); method @NonNull public android.car.app.ControlledRemoteCarTaskViewConfig.Builder setShouldAutoRestartOnTaskRemoval(boolean); method @NonNull public android.car.app.ControlledRemoteCarTaskViewConfig.Builder setShouldCaptureGestures(boolean); method @NonNull public android.car.app.ControlledRemoteCarTaskViewConfig.Builder setShouldCaptureLongPress(boolean); } } package android.car.cluster { @Deprecated public class CarInstrumentClusterManager { method @Deprecated public void registerCallback(String, android.car.cluster.CarInstrumentClusterManager.Callback); method @Deprecated public void startActivity(android.content.Intent); method @Deprecated public void unregisterCallback(android.car.cluster.CarInstrumentClusterManager.Callback); field @Deprecated public static final String CATEGORY_NAVIGATION = "android.car.cluster.NAVIGATION"; field @Deprecated public static final String KEY_EXTRA_ACTIVITY_STATE = "android.car.cluster.ClusterActivityState"; } @Deprecated public static interface CarInstrumentClusterManager.Callback { method @Deprecated public void onClusterActivityStateChanged(String, android.os.Bundle); } public final class ClusterActivityState { method @NonNull public static android.car.cluster.ClusterActivityState create(boolean, @NonNull android.graphics.Rect); method @NonNull public static android.car.cluster.ClusterActivityState fromBundle(@NonNull android.os.Bundle); method @Nullable public android.os.Bundle getExtras(); method @Nullable public android.graphics.Rect getUnobscuredBounds(); method public boolean isVisible(); method @NonNull public android.car.cluster.ClusterActivityState setExtras(@NonNull android.os.Bundle); method @NonNull public android.car.cluster.ClusterActivityState setUnobscuredBounds(@NonNull android.graphics.Rect); method @NonNull public android.car.cluster.ClusterActivityState setVisible(boolean); method @NonNull public android.os.Bundle toBundle(); } @FlaggedApi("android.car.feature.cluster_health_monitoring") public final class ClusterHomeManager { method @RequiresPermission(android.car.Car.PERMISSION_CAR_MONITOR_CLUSTER_NAVIGATION_STATE) public void registerClusterNavigationStateListener(@NonNull java.util.concurrent.Executor, @NonNull android.car.cluster.ClusterHomeManager.ClusterNavigationStateListener); method @RequiresPermission(android.car.Car.PERMISSION_CAR_INSTRUMENT_CLUSTER_CONTROL) public void sendHeartbeat(long, @Nullable byte[]); method @RequiresPermission(android.car.Car.PERMISSION_CAR_INSTRUMENT_CLUSTER_CONTROL) public void startVisibilityMonitoring(@NonNull android.app.Activity); method @RequiresPermission(android.car.Car.PERMISSION_CAR_MONITOR_CLUSTER_NAVIGATION_STATE) public void unregisterClusterNavigationStateListener(@NonNull android.car.cluster.ClusterHomeManager.ClusterNavigationStateListener); } @FlaggedApi("android.car.feature.cluster_health_monitoring") public static interface ClusterHomeManager.ClusterNavigationStateListener { method public void onNavigationStateChanged(@NonNull byte[]); } } package android.car.cluster.renderer { @Deprecated public abstract class InstrumentClusterRenderer { ctor @Deprecated public InstrumentClusterRenderer(); method @Deprecated protected abstract android.car.cluster.renderer.NavigationRenderer createNavigationRenderer(); method @Deprecated @Nullable public android.car.cluster.renderer.NavigationRenderer getNavigationRenderer(); method @Deprecated @UiThread public final void initialize(); method @Deprecated public abstract void onCreate(android.content.Context); method @Deprecated public abstract void onStart(); method @Deprecated public abstract void onStop(); } public abstract class InstrumentClusterRenderingService extends android.app.Service { ctor public InstrumentClusterRenderingService(); method @Deprecated @Nullable public android.graphics.Bitmap getBitmap(android.net.Uri); method @Nullable public android.graphics.Bitmap getBitmap(@NonNull android.net.Uri, int, int); method @Nullable public android.graphics.Bitmap getBitmap(@NonNull android.net.Uri, int, int, float); method @MainThread @Nullable public abstract android.car.cluster.renderer.NavigationRenderer getNavigationRenderer(); method @CallSuper public android.os.IBinder onBind(android.content.Intent); method @MainThread public void onKeyEvent(@NonNull android.view.KeyEvent); method @MainThread public void onNavigationComponentLaunched(); method @MainThread public void onNavigationComponentReleased(); method public void setClusterActivityLaunchOptions(@NonNull android.app.ActivityOptions); method public void setClusterActivityState(@NonNull android.car.cluster.ClusterActivityState); method public boolean startFixedActivityModeForDisplayAndUser(@NonNull android.content.Intent, @NonNull android.app.ActivityOptions, int); method protected boolean startNavigationActivity(@NonNull android.content.ComponentName); method public void stopFixedActivityMode(int); } @UiThread public abstract class NavigationRenderer { ctor public NavigationRenderer(); method public abstract android.car.navigation.CarNavigationInstrumentCluster getNavigationProperties(); method public void onNavigationStateChanged(@Nullable android.os.Bundle); } } package android.car.content.pm { public final class AppBlockingPackageInfo implements android.os.Parcelable { ctor public AppBlockingPackageInfo(String, int, int, int, @Nullable android.content.pm.Signature[], @Nullable String[]); ctor public AppBlockingPackageInfo(android.os.Parcel); method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; field public static final int FLAG_SYSTEM_APP = 1; // 0x1 field public static final int FLAG_WHOLE_ACTIVITY = 2; // 0x2 field public final String[] activities; field public final int flags; field public final int maxRevisionCode; field public final int minRevisionCode; field public final String packageName; field public final android.content.pm.Signature[] signatures; } public final class CarAppBlockingPolicy implements android.os.Parcelable { ctor public CarAppBlockingPolicy(android.car.content.pm.AppBlockingPackageInfo[], android.car.content.pm.AppBlockingPackageInfo[]); ctor public CarAppBlockingPolicy(android.os.Parcel); method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; field public final android.car.content.pm.AppBlockingPackageInfo[] blacklists; field public final android.car.content.pm.AppBlockingPackageInfo[] whitelists; } public abstract class CarAppBlockingPolicyService extends android.app.Service { ctor public CarAppBlockingPolicyService(); method protected abstract android.car.content.pm.CarAppBlockingPolicy getAppBlockingPolicy(); method public android.os.IBinder onBind(android.content.Intent); field public static final String SERVICE_INTERFACE = "android.car.content.pm.CarAppBlockingPolicyService"; } public final class CarPackageManager { method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.QUERY_ALL_PACKAGES) public android.car.CarVersion getTargetCarVersion(@NonNull String) throws android.content.pm.PackageManager.NameNotFoundException; method public boolean isActivityBackedBySafeActivity(android.content.ComponentName); method @FlaggedApi("android.car.feature.display_compatibility") @RequiresPermission(allOf={android.car.Car.PERMISSION_MANAGE_DISPLAY_COMPATIBILITY, android.Manifest.permission.QUERY_ALL_PACKAGES}) public boolean requiresDisplayCompat(@NonNull String) throws android.content.pm.PackageManager.NameNotFoundException; method @Deprecated public void setAppBlockingPolicy(String, android.car.content.pm.CarAppBlockingPolicy, int); field @Deprecated public static final int FLAG_SET_POLICY_ADD = 2; // 0x2 field @Deprecated public static final int FLAG_SET_POLICY_REMOVE = 4; // 0x4 field @Deprecated public static final int FLAG_SET_POLICY_WAIT_FOR_CHANGE = 1; // 0x1 } } package android.car.diagnostic { public final class CarDiagnosticEvent implements android.os.Parcelable { ctor public CarDiagnosticEvent(android.os.Parcel); method public int describeContents(); method @android.car.diagnostic.CarDiagnosticEvent.FuelSystemStatus.Status @Nullable public Integer getFuelSystemStatus(); method @android.car.diagnostic.CarDiagnosticEvent.FuelType.Type @Nullable public Integer getFuelType(); method @Nullable public android.car.diagnostic.CarDiagnosticEvent.CommonIgnitionMonitors getIgnitionMonitors(); method @android.car.diagnostic.CarDiagnosticEvent.SecondaryAirStatus.Status @Nullable public Integer getSecondaryAirStatus(); method public float getSystemFloatSensor(int, float); method @Nullable public Float getSystemFloatSensor(int); method public int getSystemIntegerSensor(int, int); method @Nullable public Integer getSystemIntegerSensor(int); method public float getVendorFloatSensor(int, float); method @Nullable public Float getVendorFloatSensor(int); method public int getVendorIntegerSensor(int, int); method @Nullable public Integer getVendorIntegerSensor(int); method public boolean isFreezeFrame(); method public boolean isLiveFrame(); method public void writeToJson(android.util.JsonWriter) throws java.io.IOException; method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; field public final String dtc; field public final int frameType; field public final long timestamp; } public static class CarDiagnosticEvent.Builder { method @Deprecated public android.car.diagnostic.CarDiagnosticEvent.Builder atTimestamp(long); method public android.car.diagnostic.CarDiagnosticEvent build(); method public static android.car.diagnostic.CarDiagnosticEvent.Builder newFreezeFrameBuilder(); method public static android.car.diagnostic.CarDiagnosticEvent.Builder newLiveFrameBuilder(); method public android.car.diagnostic.CarDiagnosticEvent.Builder setDtc(String); method public android.car.diagnostic.CarDiagnosticEvent.Builder setFloatValue(int, float); method public android.car.diagnostic.CarDiagnosticEvent.Builder setIntValue(int, int); method public android.car.diagnostic.CarDiagnosticEvent.Builder setTimeStamp(long); method @Deprecated public android.car.diagnostic.CarDiagnosticEvent.Builder withDtc(String); method @Deprecated public android.car.diagnostic.CarDiagnosticEvent.Builder withFloatValue(int, float); method @Deprecated public android.car.diagnostic.CarDiagnosticEvent.Builder withIntValue(int, int); } public static class CarDiagnosticEvent.CommonIgnitionMonitors { method @Nullable public android.car.diagnostic.CarDiagnosticEvent.CompressionIgnitionMonitors asCompressionIgnitionMonitors(); method @Nullable public android.car.diagnostic.CarDiagnosticEvent.SparkIgnitionMonitors asSparkIgnitionMonitors(); field public final android.car.diagnostic.CarDiagnosticEvent.IgnitionMonitor components; field public final android.car.diagnostic.CarDiagnosticEvent.IgnitionMonitor fuelSystem; field public final android.car.diagnostic.CarDiagnosticEvent.IgnitionMonitor misfire; } public static final class CarDiagnosticEvent.CompressionIgnitionMonitors extends android.car.diagnostic.CarDiagnosticEvent.CommonIgnitionMonitors { field public final android.car.diagnostic.CarDiagnosticEvent.IgnitionMonitor EGROrVVT; field public final android.car.diagnostic.CarDiagnosticEvent.IgnitionMonitor NMHCCatalyst; field public final android.car.diagnostic.CarDiagnosticEvent.IgnitionMonitor NOxSCR; field public final android.car.diagnostic.CarDiagnosticEvent.IgnitionMonitor PMFilter; field public final android.car.diagnostic.CarDiagnosticEvent.IgnitionMonitor boostPressure; field public final android.car.diagnostic.CarDiagnosticEvent.IgnitionMonitor exhaustGasSensor; } public static final class CarDiagnosticEvent.FuelSystemStatus { field public static final int CLOSED_LOOP = 2; // 0x2 field public static final int CLOSED_LOOP_BUT_FEEDBACK_FAULT = 16; // 0x10 field public static final int OPEN_ENGINE_LOAD_OR_DECELERATION = 4; // 0x4 field public static final int OPEN_INSUFFICIENT_ENGINE_TEMPERATURE = 1; // 0x1 field public static final int OPEN_SYSTEM_FAILURE = 8; // 0x8 } @IntDef({android.car.diagnostic.CarDiagnosticEvent.FuelSystemStatus.OPEN_INSUFFICIENT_ENGINE_TEMPERATURE, android.car.diagnostic.CarDiagnosticEvent.FuelSystemStatus.CLOSED_LOOP, android.car.diagnostic.CarDiagnosticEvent.FuelSystemStatus.OPEN_ENGINE_LOAD_OR_DECELERATION, android.car.diagnostic.CarDiagnosticEvent.FuelSystemStatus.OPEN_SYSTEM_FAILURE, android.car.diagnostic.CarDiagnosticEvent.FuelSystemStatus.CLOSED_LOOP_BUT_FEEDBACK_FAULT}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface CarDiagnosticEvent.FuelSystemStatus.Status { } public static final class CarDiagnosticEvent.FuelType { field public static final int BIFUEL_RUNNING_CNG = 13; // 0xd field public static final int BIFUEL_RUNNING_DIESEL = 23; // 0x17 field public static final int BIFUEL_RUNNING_ELECTRIC = 15; // 0xf field public static final int BIFUEL_RUNNING_ELECTRIC_AND_COMBUSTION = 16; // 0x10 field public static final int BIFUEL_RUNNING_ETHANOL = 11; // 0xb field public static final int BIFUEL_RUNNING_GASOLINE = 9; // 0x9 field public static final int BIFUEL_RUNNING_LPG = 12; // 0xc field public static final int BIFUEL_RUNNING_METHANOL = 10; // 0xa field public static final int BIFUEL_RUNNING_PROPANE = 14; // 0xe field public static final int CNG = 6; // 0x6 field public static final int DIESEL = 4; // 0x4 field public static final int ELECTRIC = 8; // 0x8 field public static final int ETHANOL = 3; // 0x3 field public static final int GASOLINE = 1; // 0x1 field public static final int HYBRID_DIESEL = 19; // 0x13 field public static final int HYBRID_ELECTRIC = 20; // 0x14 field public static final int HYBRID_ETHANOL = 18; // 0x12 field public static final int HYBRID_GASOLINE = 17; // 0x11 field public static final int HYBRID_REGENERATIVE = 22; // 0x16 field public static final int HYBRID_RUNNING_ELECTRIC_AND_COMBUSTION = 21; // 0x15 field public static final int LPG = 5; // 0x5 field public static final int METHANOL = 2; // 0x2 field public static final int NOT_AVAILABLE = 0; // 0x0 field public static final int PROPANE = 7; // 0x7 } @IntDef({android.car.diagnostic.CarDiagnosticEvent.FuelType.NOT_AVAILABLE, android.car.diagnostic.CarDiagnosticEvent.FuelType.GASOLINE, android.car.diagnostic.CarDiagnosticEvent.FuelType.METHANOL, android.car.diagnostic.CarDiagnosticEvent.FuelType.ETHANOL, android.car.diagnostic.CarDiagnosticEvent.FuelType.DIESEL, android.car.diagnostic.CarDiagnosticEvent.FuelType.LPG, android.car.diagnostic.CarDiagnosticEvent.FuelType.CNG, android.car.diagnostic.CarDiagnosticEvent.FuelType.PROPANE, android.car.diagnostic.CarDiagnosticEvent.FuelType.ELECTRIC, android.car.diagnostic.CarDiagnosticEvent.FuelType.BIFUEL_RUNNING_GASOLINE, android.car.diagnostic.CarDiagnosticEvent.FuelType.BIFUEL_RUNNING_METHANOL, android.car.diagnostic.CarDiagnosticEvent.FuelType.BIFUEL_RUNNING_ETHANOL, android.car.diagnostic.CarDiagnosticEvent.FuelType.BIFUEL_RUNNING_LPG, android.car.diagnostic.CarDiagnosticEvent.FuelType.BIFUEL_RUNNING_CNG, android.car.diagnostic.CarDiagnosticEvent.FuelType.BIFUEL_RUNNING_PROPANE, android.car.diagnostic.CarDiagnosticEvent.FuelType.BIFUEL_RUNNING_ELECTRIC, android.car.diagnostic.CarDiagnosticEvent.FuelType.BIFUEL_RUNNING_ELECTRIC_AND_COMBUSTION, android.car.diagnostic.CarDiagnosticEvent.FuelType.HYBRID_GASOLINE, android.car.diagnostic.CarDiagnosticEvent.FuelType.HYBRID_ETHANOL, android.car.diagnostic.CarDiagnosticEvent.FuelType.HYBRID_DIESEL, android.car.diagnostic.CarDiagnosticEvent.FuelType.HYBRID_ELECTRIC, android.car.diagnostic.CarDiagnosticEvent.FuelType.HYBRID_RUNNING_ELECTRIC_AND_COMBUSTION, android.car.diagnostic.CarDiagnosticEvent.FuelType.HYBRID_REGENERATIVE, android.car.diagnostic.CarDiagnosticEvent.FuelType.BIFUEL_RUNNING_DIESEL}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface CarDiagnosticEvent.FuelType.Type { } public static final class CarDiagnosticEvent.IgnitionMonitor { field public final boolean available; field public final boolean incomplete; } public static final class CarDiagnosticEvent.SecondaryAirStatus { field public static final int DOWNSTREAM_OF_CATALYCIC_CONVERTER = 2; // 0x2 field public static final int FROM_OUTSIDE_OR_OFF = 4; // 0x4 field public static final int PUMP_ON_FOR_DIAGNOSTICS = 8; // 0x8 field public static final int UPSTREAM = 1; // 0x1 } @IntDef({android.car.diagnostic.CarDiagnosticEvent.SecondaryAirStatus.UPSTREAM, android.car.diagnostic.CarDiagnosticEvent.SecondaryAirStatus.DOWNSTREAM_OF_CATALYCIC_CONVERTER, android.car.diagnostic.CarDiagnosticEvent.SecondaryAirStatus.FROM_OUTSIDE_OR_OFF, android.car.diagnostic.CarDiagnosticEvent.SecondaryAirStatus.PUMP_ON_FOR_DIAGNOSTICS}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface CarDiagnosticEvent.SecondaryAirStatus.Status { } public static final class CarDiagnosticEvent.SparkIgnitionMonitors extends android.car.diagnostic.CarDiagnosticEvent.CommonIgnitionMonitors { field public final android.car.diagnostic.CarDiagnosticEvent.IgnitionMonitor ACRefrigerant; field public final android.car.diagnostic.CarDiagnosticEvent.IgnitionMonitor EGR; field public final android.car.diagnostic.CarDiagnosticEvent.IgnitionMonitor catalyst; field public final android.car.diagnostic.CarDiagnosticEvent.IgnitionMonitor evaporativeSystem; field public final android.car.diagnostic.CarDiagnosticEvent.IgnitionMonitor heatedCatalyst; field public final android.car.diagnostic.CarDiagnosticEvent.IgnitionMonitor oxygenSensor; field public final android.car.diagnostic.CarDiagnosticEvent.IgnitionMonitor oxygenSensorHeater; field public final android.car.diagnostic.CarDiagnosticEvent.IgnitionMonitor secondaryAirSystem; } public final class CarDiagnosticManager { method @RequiresPermission(android.car.Car.PERMISSION_CAR_DIAGNOSTIC_CLEAR) public boolean clearFreezeFrames(long...); method @Nullable @RequiresPermission(anyOf={android.car.Car.PERMISSION_CAR_DIAGNOSTIC_READ_ALL, android.car.Car.PERMISSION_CAR_DIAGNOSTIC_CLEAR}) public android.car.diagnostic.CarDiagnosticEvent getFreezeFrame(long); method @RequiresPermission(anyOf={android.car.Car.PERMISSION_CAR_DIAGNOSTIC_READ_ALL, android.car.Car.PERMISSION_CAR_DIAGNOSTIC_CLEAR}) public long[] getFreezeFrameTimestamps(); method @Nullable @RequiresPermission(anyOf={android.car.Car.PERMISSION_CAR_DIAGNOSTIC_READ_ALL, android.car.Car.PERMISSION_CAR_DIAGNOSTIC_CLEAR}) public android.car.diagnostic.CarDiagnosticEvent getLatestLiveFrame(); method @RequiresPermission(anyOf={android.car.Car.PERMISSION_CAR_DIAGNOSTIC_READ_ALL, android.car.Car.PERMISSION_CAR_DIAGNOSTIC_CLEAR}) public boolean isClearFreezeFramesSupported(); method @RequiresPermission(anyOf={android.car.Car.PERMISSION_CAR_DIAGNOSTIC_READ_ALL, android.car.Car.PERMISSION_CAR_DIAGNOSTIC_CLEAR}) public boolean isFreezeFrameNotificationSupported(); method @RequiresPermission(anyOf={android.car.Car.PERMISSION_CAR_DIAGNOSTIC_READ_ALL, android.car.Car.PERMISSION_CAR_DIAGNOSTIC_CLEAR}) public boolean isGetFreezeFrameSupported(); method @RequiresPermission(anyOf={android.car.Car.PERMISSION_CAR_DIAGNOSTIC_READ_ALL, android.car.Car.PERMISSION_CAR_DIAGNOSTIC_CLEAR}) public boolean isLiveFrameSupported(); method @RequiresPermission(anyOf={android.car.Car.PERMISSION_CAR_DIAGNOSTIC_READ_ALL, android.car.Car.PERMISSION_CAR_DIAGNOSTIC_CLEAR}) public boolean isSelectiveClearFreezeFramesSupported(); method public void onCarDisconnected(); method @RequiresPermission(android.car.Car.PERMISSION_CAR_DIAGNOSTIC_READ_ALL) public boolean registerListener(android.car.diagnostic.CarDiagnosticManager.OnDiagnosticEventListener, @android.car.diagnostic.CarDiagnosticManager.FrameType int, int); method @RequiresPermission(anyOf={android.car.Car.PERMISSION_CAR_DIAGNOSTIC_READ_ALL, android.car.Car.PERMISSION_CAR_DIAGNOSTIC_CLEAR}) public void unregisterListener(android.car.diagnostic.CarDiagnosticManager.OnDiagnosticEventListener); field public static final int FRAME_TYPE_FREEZE = 1; // 0x1 field public static final int FRAME_TYPE_LIVE = 0; // 0x0 } @IntDef({android.car.diagnostic.CarDiagnosticManager.FRAME_TYPE_LIVE, android.car.diagnostic.CarDiagnosticManager.FRAME_TYPE_FREEZE}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface CarDiagnosticManager.FrameType { } public static interface CarDiagnosticManager.OnDiagnosticEventListener { method public void onDiagnosticEvent(android.car.diagnostic.CarDiagnosticEvent); } public final class FloatSensorIndex { field public static final int ABSOLUTE_EVAPORATION_SYSTEM_VAPOR_PRESSURE = 58; // 0x3a field public static final int ABSOLUTE_LOAD_VALUE = 48; // 0x30 field public static final int ABSOLUTE_THROTTLE_POSITION_B = 51; // 0x33 field public static final int ABSOLUTE_THROTTLE_POSITION_C = 52; // 0x34 field public static final int ACCELERATOR_PEDAL_POSITION_D = 53; // 0x35 field public static final int ACCELERATOR_PEDAL_POSITION_E = 54; // 0x36 field public static final int ACCELERATOR_PEDAL_POSITION_F = 55; // 0x37 field public static final int CALCULATED_ENGINE_LOAD = 0; // 0x0 field public static final int CATALYST_TEMPERATURE_BANK1_SENSOR1 = 44; // 0x2c field public static final int CATALYST_TEMPERATURE_BANK1_SENSOR2 = 46; // 0x2e field public static final int CATALYST_TEMPERATURE_BANK2_SENSOR1 = 45; // 0x2d field public static final int CATALYST_TEMPERATURE_BANK2_SENSOR2 = 47; // 0x2f field public static final int COMMANDED_EVAPORATIVE_PURGE = 41; // 0x29 field public static final int COMMANDED_EXHAUST_GAS_RECIRCULATION = 39; // 0x27 field public static final int COMMANDED_THROTTLE_ACTUATOR = 56; // 0x38 field public static final int ENGINE_COOLANT_TEMPERATURE = 1; // 0x1 field public static final int ENGINE_FUEL_RATE = 70; // 0x46 field public static final int ENGINE_RPM = 8; // 0x8 field public static final int ETHANOL_FUEL_PERCENTAGE = 57; // 0x39 field public static final int EVAPORATION_SYSTEM_VAPOR_PRESSURE = 43; // 0x2b field public static final int EXHAUST_GAS_RECIRCULATION_ERROR = 40; // 0x28 field public static final int FUEL_AIR_COMMANDED_EQUIVALENCE_RATIO = 49; // 0x31 field public static final int FUEL_INJECTION_TIMING = 69; // 0x45 field public static final int FUEL_PRESSURE = 6; // 0x6 field public static final int FUEL_RAIL_GAUGE_PRESSURE = 38; // 0x26 field public static final int FUEL_RAIL_PRESSURE = 37; // 0x25 field public static final int FUEL_TANK_LEVEL_INPUT = 42; // 0x2a field public static final int HYBRID_BATTERY_PACK_REMAINING_LIFE = 68; // 0x44 field public static final int INTAKE_MANIFOLD_ABSOLUTE_PRESSURE = 7; // 0x7 field public static final int LAST_SYSTEM = 70; // 0x46 field public static final int LONG_TERM_FUEL_TRIM_BANK1 = 3; // 0x3 field public static final int LONG_TERM_FUEL_TRIM_BANK2 = 5; // 0x5 field public static final int LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK1 = 63; // 0x3f field public static final int LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK2 = 64; // 0x40 field public static final int LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK3 = 65; // 0x41 field public static final int LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK4 = 66; // 0x42 field public static final int MAF_AIR_FLOW_RATE = 11; // 0xb field public static final int OXYGEN_SENSOR1_FUEL_AIR_EQUIVALENCE_RATIO = 15; // 0xf field public static final int OXYGEN_SENSOR1_SHORT_TERM_FUEL_TRIM = 14; // 0xe field public static final int OXYGEN_SENSOR1_VOLTAGE = 13; // 0xd field public static final int OXYGEN_SENSOR2_FUEL_AIR_EQUIVALENCE_RATIO = 18; // 0x12 field public static final int OXYGEN_SENSOR2_SHORT_TERM_FUEL_TRIM = 17; // 0x11 field public static final int OXYGEN_SENSOR2_VOLTAGE = 16; // 0x10 field public static final int OXYGEN_SENSOR3_FUEL_AIR_EQUIVALENCE_RATIO = 21; // 0x15 field public static final int OXYGEN_SENSOR3_SHORT_TERM_FUEL_TRIM = 20; // 0x14 field public static final int OXYGEN_SENSOR3_VOLTAGE = 19; // 0x13 field public static final int OXYGEN_SENSOR4_FUEL_AIR_EQUIVALENCE_RATIO = 24; // 0x18 field public static final int OXYGEN_SENSOR4_SHORT_TERM_FUEL_TRIM = 23; // 0x17 field public static final int OXYGEN_SENSOR4_VOLTAGE = 22; // 0x16 field public static final int OXYGEN_SENSOR5_FUEL_AIR_EQUIVALENCE_RATIO = 27; // 0x1b field public static final int OXYGEN_SENSOR5_SHORT_TERM_FUEL_TRIM = 26; // 0x1a field public static final int OXYGEN_SENSOR5_VOLTAGE = 25; // 0x19 field public static final int OXYGEN_SENSOR6_FUEL_AIR_EQUIVALENCE_RATIO = 30; // 0x1e field public static final int OXYGEN_SENSOR6_SHORT_TERM_FUEL_TRIM = 29; // 0x1d field public static final int OXYGEN_SENSOR6_VOLTAGE = 28; // 0x1c field public static final int OXYGEN_SENSOR7_FUEL_AIR_EQUIVALENCE_RATIO = 33; // 0x21 field public static final int OXYGEN_SENSOR7_SHORT_TERM_FUEL_TRIM = 32; // 0x20 field public static final int OXYGEN_SENSOR7_VOLTAGE = 31; // 0x1f field public static final int OXYGEN_SENSOR8_FUEL_AIR_EQUIVALENCE_RATIO = 36; // 0x24 field public static final int OXYGEN_SENSOR8_SHORT_TERM_FUEL_TRIM = 35; // 0x23 field public static final int OXYGEN_SENSOR8_VOLTAGE = 34; // 0x22 field public static final int RELATIVE_ACCELERATOR_PEDAL_POSITION = 67; // 0x43 field public static final int RELATIVE_THROTTLE_POSITION = 50; // 0x32 field public static final int SHORT_TERM_FUEL_TRIM_BANK1 = 2; // 0x2 field public static final int SHORT_TERM_FUEL_TRIM_BANK2 = 4; // 0x4 field public static final int SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK1 = 59; // 0x3b field public static final int SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK2 = 60; // 0x3c field public static final int SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK3 = 61; // 0x3d field public static final int SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK4 = 62; // 0x3e field public static final int THROTTLE_POSITION = 12; // 0xc field public static final int TIMING_ADVANCE = 10; // 0xa field public static final int VEHICLE_SPEED = 9; // 0x9 field public static final int VENDOR_START = 71; // 0x47 } public final class IntegerSensorIndex { field public static final int ABSOLUTE_BAROMETRIC_PRESSURE = 11; // 0xb field public static final int AMBIENT_AIR_TEMPERATURE = 13; // 0xd field public static final int COMMANDED_SECONDARY_AIR_STATUS = 5; // 0x5 field public static final int CONTROL_MODULE_VOLTAGE = 12; // 0xc field public static final int DISTANCE_TRAVELED_SINCE_CODES_CLEARED = 10; // 0xa field public static final int DISTANCE_TRAVELED_WITH_MALFUNCTION_INDICATOR_LIGHT_ON = 8; // 0x8 field public static final int DRIVER_DEMAND_PERCENT_TORQUE = 24; // 0x18 field public static final int ENGINE_ACTUAL_PERCENT_TORQUE = 25; // 0x19 field public static final int ENGINE_OIL_TEMPERATURE = 23; // 0x17 field public static final int ENGINE_PERCENT_TORQUE_DATA_IDLE = 27; // 0x1b field public static final int ENGINE_PERCENT_TORQUE_DATA_POINT1 = 28; // 0x1c field public static final int ENGINE_PERCENT_TORQUE_DATA_POINT2 = 29; // 0x1d field public static final int ENGINE_PERCENT_TORQUE_DATA_POINT3 = 30; // 0x1e field public static final int ENGINE_PERCENT_TORQUE_DATA_POINT4 = 31; // 0x1f field public static final int ENGINE_REFERENCE_PERCENT_TORQUE = 26; // 0x1a field public static final int FUEL_RAIL_ABSOLUTE_PRESSURE = 22; // 0x16 field public static final int FUEL_SYSTEM_STATUS = 0; // 0x0 field public static final int FUEL_TYPE = 21; // 0x15 field public static final int IGNITION_MONITORS_SUPPORTED = 2; // 0x2 field public static final int IGNITION_SPECIFIC_MONITORS = 3; // 0x3 field public static final int INTAKE_AIR_TEMPERATURE = 4; // 0x4 field public static final int LAST_SYSTEM = 31; // 0x1f field public static final int MALFUNCTION_INDICATOR_LIGHT_ON = 1; // 0x1 field public static final int MAX_AIR_FLOW_RATE_FROM_MASS_AIR_FLOW_SENSOR = 20; // 0x14 field public static final int MAX_FUEL_AIR_EQUIVALENCE_RATIO = 16; // 0x10 field public static final int MAX_INTAKE_MANIFOLD_ABSOLUTE_PRESSURE = 19; // 0x13 field public static final int MAX_OXYGEN_SENSOR_CURRENT = 18; // 0x12 field public static final int MAX_OXYGEN_SENSOR_VOLTAGE = 17; // 0x11 field public static final int NUM_OXYGEN_SENSORS_PRESENT = 6; // 0x6 field public static final int RUNTIME_SINCE_ENGINE_START = 7; // 0x7 field public static final int TIME_SINCE_TROUBLE_CODES_CLEARED = 15; // 0xf field public static final int TIME_WITH_MALFUNCTION_LIGHT_ON = 14; // 0xe field public static final int VENDOR_START = 32; // 0x20 field public static final int WARMUPS_SINCE_CODES_CLEARED = 9; // 0x9 } } package android.car.drivingstate { public final class CarDrivingStateEvent implements android.os.Parcelable { ctor public CarDrivingStateEvent(int, long); method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; field public static final int DRIVING_STATE_IDLING = 1; // 0x1 field public static final int DRIVING_STATE_MOVING = 2; // 0x2 field public static final int DRIVING_STATE_PARKED = 0; // 0x0 field public static final int DRIVING_STATE_UNKNOWN = -1; // 0xffffffff field public final int eventValue; field public final long timeStamp; } public final class CarDrivingStateManager { method @Nullable public android.car.drivingstate.CarDrivingStateEvent getCurrentCarDrivingState(); method public void registerListener(@NonNull android.car.drivingstate.CarDrivingStateManager.CarDrivingStateEventListener); method public void unregisterListener(); } public static interface CarDrivingStateManager.CarDrivingStateEventListener { method public void onDrivingStateChanged(android.car.drivingstate.CarDrivingStateEvent); } public final class CarUxRestrictionsConfiguration implements android.os.Parcelable { method public int describeContents(); method public int getDisplayType(); method public int getOccupantZoneId(); method @Nullable public Integer getPhysicalPort(); method @NonNull public android.car.drivingstate.CarUxRestrictions getUxRestrictions(int, float); method @NonNull public android.car.drivingstate.CarUxRestrictions getUxRestrictions(int, @FloatRange(from=0.0f) float, @NonNull String); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class CarUxRestrictionsManager { method @Nullable @RequiresPermission(android.car.Car.PERMISSION_CAR_UX_RESTRICTIONS_CONFIGURATION) public java.util.List getConfigs(); method @Nullable public android.car.drivingstate.CarUxRestrictions getCurrentCarUxRestrictions(int); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CAR_UX_RESTRICTIONS_CONFIGURATION) public String getRestrictionMode(); method @Nullable @RequiresPermission(android.car.Car.PERMISSION_CAR_UX_RESTRICTIONS_CONFIGURATION) public java.util.List getStagedConfigs(); method public void onCarDisconnected(); method @RequiresPermission(android.car.Car.PERMISSION_CAR_UX_RESTRICTIONS_CONFIGURATION) public boolean saveUxRestrictionsConfigurationForNextBoot(@NonNull java.util.List); method @RequiresPermission(android.car.Car.PERMISSION_CAR_UX_RESTRICTIONS_CONFIGURATION) public boolean saveUxRestrictionsConfigurationForNextBoot(@NonNull android.car.drivingstate.CarUxRestrictionsConfiguration); method @Deprecated public void setListener(int, @NonNull android.car.drivingstate.CarUxRestrictionsManager.OnUxRestrictionsChangedListener); method @RequiresPermission(android.car.Car.PERMISSION_CAR_UX_RESTRICTIONS_CONFIGURATION) public boolean setRestrictionMode(@NonNull String); field public static final String UX_RESTRICTION_MODE_BASELINE = "baseline"; } } package android.car.evs { public final class CarEvsBufferDescriptor implements java.lang.AutoCloseable android.os.Parcelable { ctor public CarEvsBufferDescriptor(int, @NonNull android.hardware.HardwareBuffer); ctor @FlaggedApi("android.car.feature.car_evs_stream_management") public CarEvsBufferDescriptor(int, int, @NonNull android.hardware.HardwareBuffer); method public void close(); method public int describeContents(); method @NonNull public android.hardware.HardwareBuffer getHardwareBuffer(); method public int getId(); method @FlaggedApi("android.car.feature.car_evs_stream_management") public int getType(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class CarEvsManager { method @RequiresPermission(android.car.Car.PERMISSION_MONITOR_CAR_EVS_STATUS) public void clearStatusListener(); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_EVS_ACTIVITY) public android.os.IBinder generateSessionToken(); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_MONITOR_CAR_EVS_STATUS) public android.car.evs.CarEvsStatus getCurrentStatus(); method @FlaggedApi("android.car.feature.car_evs_query_service_status") @Nullable @RequiresPermission(android.car.Car.PERMISSION_MONITOR_CAR_EVS_STATUS) public android.car.evs.CarEvsStatus getCurrentStatus(int); method @RequiresPermission(android.car.Car.PERMISSION_MONITOR_CAR_EVS_STATUS) public boolean isSupported(int); method @RequiresPermission(android.car.Car.PERMISSION_USE_CAR_EVS_CAMERA) public void returnFrameBuffer(@NonNull android.car.evs.CarEvsBufferDescriptor); method @RequiresPermission(android.car.Car.PERMISSION_MONITOR_CAR_EVS_STATUS) public void setStatusListener(@NonNull java.util.concurrent.Executor, @NonNull android.car.evs.CarEvsManager.CarEvsStatusListener); method @RequiresPermission(android.car.Car.PERMISSION_REQUEST_CAR_EVS_ACTIVITY) public int startActivity(int); method @RequiresPermission(android.car.Car.PERMISSION_USE_CAR_EVS_CAMERA) public int startVideoStream(int, @Nullable android.os.IBinder, @NonNull java.util.concurrent.Executor, @NonNull android.car.evs.CarEvsManager.CarEvsStreamCallback); method @RequiresPermission(android.car.Car.PERMISSION_REQUEST_CAR_EVS_ACTIVITY) public void stopActivity(); method @RequiresPermission(android.car.Car.PERMISSION_USE_CAR_EVS_CAMERA) public void stopVideoStream(); method @FlaggedApi("android.car.feature.car_evs_stream_management") @RequiresPermission(android.car.Car.PERMISSION_USE_CAR_EVS_CAMERA) public void stopVideoStream(int); field public static final int ERROR_BUSY = -2; // 0xfffffffe field public static final int ERROR_NONE = 0; // 0x0 field public static final int ERROR_UNAVAILABLE = -1; // 0xffffffff field public static final String EXTRA_SESSION_TOKEN = "android.car.evs.extra.SESSION_TOKEN"; field public static final int SERVICE_STATE_ACTIVE = 3; // 0x3 field public static final int SERVICE_STATE_INACTIVE = 1; // 0x1 field public static final int SERVICE_STATE_REQUESTED = 2; // 0x2 field public static final int SERVICE_STATE_UNAVAILABLE = 0; // 0x0 field public static final int SERVICE_TYPE_DRIVERVIEW = 5; // 0x5 field public static final int SERVICE_TYPE_FRONTVIEW = 2; // 0x2 field public static final int SERVICE_TYPE_FRONT_PASSENGERSVIEW = 6; // 0x6 field public static final int SERVICE_TYPE_LEFTVIEW = 3; // 0x3 field public static final int SERVICE_TYPE_REARVIEW = 0; // 0x0 field public static final int SERVICE_TYPE_REAR_PASSENGERSVIEW = 7; // 0x7 field public static final int SERVICE_TYPE_RIGHTVIEW = 4; // 0x4 field public static final int SERVICE_TYPE_SURROUNDVIEW = 1; // 0x1 field @FlaggedApi("android.car.feature.car_evs_stream_management") public static final int SERVICE_TYPE_UNKNOWN = -1; // 0xffffffff field public static final int SERVICE_TYPE_USER_DEFINED = 1000; // 0x3e8 field public static final int STREAM_EVENT_FRAME_DROPPED = 3; // 0x3 field public static final int STREAM_EVENT_NONE = 0; // 0x0 field public static final int STREAM_EVENT_OTHER_ERRORS = 7; // 0x7 field public static final int STREAM_EVENT_PARAMETER_CHANGED = 5; // 0x5 field public static final int STREAM_EVENT_PRIMARY_OWNER_CHANGED = 6; // 0x6 field public static final int STREAM_EVENT_STREAM_STARTED = 1; // 0x1 field public static final int STREAM_EVENT_STREAM_STOPPED = 2; // 0x2 field public static final int STREAM_EVENT_TIMEOUT = 4; // 0x4 } public static interface CarEvsManager.CarEvsStatusListener { method public void onStatusChanged(@NonNull android.car.evs.CarEvsStatus); } public static interface CarEvsManager.CarEvsStreamCallback { method public default void onNewFrame(@NonNull android.car.evs.CarEvsBufferDescriptor); method @Deprecated public default void onStreamEvent(int); method @FlaggedApi("android.car.feature.car_evs_stream_management") public default void onStreamEvent(int, int); } public final class CarEvsStatus implements android.os.Parcelable { ctor public CarEvsStatus(int, int); method public int describeContents(); method public int getServiceType(); method public int getState(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.car.hardware { public final class CarHvacFanDirection { field public static final int DEFROST = 4; // 0x4 field public static final int DEFROST_AND_FLOOR = 6; // 0x6 field public static final int FACE = 1; // 0x1 field public static final int FACE_AND_DEFROST = 5; // 0x5 field public static final int FACE_AND_FLOOR = 3; // 0x3 field public static final int FACE_DEFROST_AND_FLOOR = 7; // 0x7 field public static final int FLOOR = 2; // 0x2 field public static final int UNKNOWN = 0; // 0x0 } public final class CarPropertyConfig implements android.os.Parcelable { method @Deprecated public static android.car.hardware.CarPropertyConfig.Builder newBuilder(Class, int, int, int); } @Deprecated public static class CarPropertyConfig.Builder { method @Deprecated @NonNull public android.car.hardware.CarPropertyConfig.Builder addAreaIdConfig(@NonNull android.car.hardware.property.AreaIdConfig); method @Deprecated public android.car.hardware.CarPropertyConfig build(); method @Deprecated public android.car.hardware.CarPropertyConfig.Builder setAccess(int); method @Deprecated public android.car.hardware.CarPropertyConfig.Builder setChangeMode(int); method @Deprecated public android.car.hardware.CarPropertyConfig.Builder setConfigArray(java.util.ArrayList); method @Deprecated public android.car.hardware.CarPropertyConfig.Builder setConfigString(String); method @Deprecated public android.car.hardware.CarPropertyConfig.Builder setMaxSampleRate(float); method @Deprecated public android.car.hardware.CarPropertyConfig.Builder setMinSampleRate(float); } @Deprecated public final class CarVendorExtensionManager { method @Deprecated public E getGlobalProperty(Class, int); method @Deprecated public java.util.List getProperties(); method @Deprecated public E getProperty(Class, int, int); method @Deprecated public boolean isPropertyAvailable(int, int); method @Deprecated public void registerCallback(android.car.hardware.CarVendorExtensionManager.CarVendorExtensionCallback); method @Deprecated public void setGlobalProperty(Class, int, E); method @Deprecated public void setProperty(Class, int, int, E); method @Deprecated public void unregisterCallback(android.car.hardware.CarVendorExtensionManager.CarVendorExtensionCallback); } @Deprecated public static interface CarVendorExtensionManager.CarVendorExtensionCallback { method @Deprecated public void onChangeEvent(android.car.hardware.CarPropertyValue); method @Deprecated public void onErrorEvent(int, int); } } package android.car.hardware.cabin { @Deprecated public final class CarCabinManager { method @Deprecated public boolean getBooleanProperty(int, int); method @Deprecated public float getFloatProperty(int, int); method @Deprecated public int getIntProperty(int, int); method @Deprecated public java.util.List getPropertyList(); method @Deprecated public static boolean isZonedProperty(int); method @Deprecated public void registerCallback(android.car.hardware.cabin.CarCabinManager.CarCabinEventCallback); method @Deprecated public void setBooleanProperty(int, int, boolean); method @Deprecated public void setFloatProperty(int, int, float); method @Deprecated public void setIntProperty(int, int, int); method @Deprecated public void unregisterCallback(android.car.hardware.cabin.CarCabinManager.CarCabinEventCallback); field @Deprecated public static final int ID_DOOR_LOCK = 371198722; // 0x16200b02 field @Deprecated public static final int ID_DOOR_MOVE = 373295873; // 0x16400b01 field @Deprecated public static final int ID_DOOR_POS = 373295872; // 0x16400b00 field @Deprecated public static final int ID_MIRROR_FOLD = 287312709; // 0x11200b45 field @Deprecated public static final int ID_MIRROR_LOCK = 287312708; // 0x11200b44 field @Deprecated public static final int ID_MIRROR_Y_MOVE = 339741507; // 0x14400b43 field @Deprecated public static final int ID_MIRROR_Y_POS = 339741506; // 0x14400b42 field @Deprecated public static final int ID_MIRROR_Z_MOVE = 339741505; // 0x14400b41 field @Deprecated public static final int ID_MIRROR_Z_POS = 339741504; // 0x14400b40 field @Deprecated public static final int ID_SEAT_BACKREST_ANGLE_1_MOVE = 356518792; // 0x15400b88 field @Deprecated public static final int ID_SEAT_BACKREST_ANGLE_1_POS = 356518791; // 0x15400b87 field @Deprecated public static final int ID_SEAT_BACKREST_ANGLE_2_MOVE = 356518794; // 0x15400b8a field @Deprecated public static final int ID_SEAT_BACKREST_ANGLE_2_POS = 356518793; // 0x15400b89 field @Deprecated public static final int ID_SEAT_BELT_BUCKLED = 354421634; // 0x15200b82 field @Deprecated public static final int ID_SEAT_BELT_HEIGHT_MOVE = 356518788; // 0x15400b84 field @Deprecated public static final int ID_SEAT_BELT_HEIGHT_POS = 356518787; // 0x15400b83 field @Deprecated public static final int ID_SEAT_DEPTH_MOVE = 356518798; // 0x15400b8e field @Deprecated public static final int ID_SEAT_DEPTH_POS = 356518797; // 0x15400b8d field @Deprecated public static final int ID_SEAT_FORE_AFT_MOVE = 356518790; // 0x15400b86 field @Deprecated public static final int ID_SEAT_FORE_AFT_POS = 356518789; // 0x15400b85 field @Deprecated public static final int ID_SEAT_HEADREST_ANGLE_MOVE = 356518808; // 0x15400b98 field @Deprecated public static final int ID_SEAT_HEADREST_ANGLE_POS = 356518807; // 0x15400b97 field @Deprecated public static final int ID_SEAT_HEADREST_FORE_AFT_MOVE = 356518810; // 0x15400b9a field @Deprecated public static final int ID_SEAT_HEADREST_FORE_AFT_POS = 356518809; // 0x15400b99 field @Deprecated public static final int ID_SEAT_HEADREST_HEIGHT_MOVE = 356518806; // 0x15400b96 field @Deprecated public static final int ID_SEAT_HEADREST_HEIGHT_POS = 356518805; // 0x15400b95 field @Deprecated public static final int ID_SEAT_HEIGHT_MOVE = 356518796; // 0x15400b8c field @Deprecated public static final int ID_SEAT_HEIGHT_POS = 356518795; // 0x15400b8b field @Deprecated public static final int ID_SEAT_LUMBAR_FORE_AFT_MOVE = 356518802; // 0x15400b92 field @Deprecated public static final int ID_SEAT_LUMBAR_FORE_AFT_POS = 356518801; // 0x15400b91 field @Deprecated public static final int ID_SEAT_LUMBAR_SIDE_SUPPORT_MOVE = 356518804; // 0x15400b94 field @Deprecated public static final int ID_SEAT_LUMBAR_SIDE_SUPPORT_POS = 356518803; // 0x15400b93 field @Deprecated public static final int ID_SEAT_MEMORY_SELECT = 356518784; // 0x15400b80 field @Deprecated public static final int ID_SEAT_MEMORY_SET = 356518785; // 0x15400b81 field @Deprecated public static final int ID_SEAT_TILT_MOVE = 356518800; // 0x15400b90 field @Deprecated public static final int ID_SEAT_TILT_POS = 356518799; // 0x15400b8f field @Deprecated public static final int ID_WINDOW_LOCK = 322964420; // 0x13400bc4 field @Deprecated public static final int ID_WINDOW_MOVE = 322964417; // 0x13400bc1 field @Deprecated public static final int ID_WINDOW_POS = 322964416; // 0x13400bc0 } @Deprecated public static interface CarCabinManager.CarCabinEventCallback { method @Deprecated public void onChangeEvent(android.car.hardware.CarPropertyValue); method @Deprecated public void onErrorEvent(int, int); } } package android.car.hardware.hvac { @Deprecated public final class CarHvacManager { method @Deprecated public boolean getBooleanProperty(int, int); method @Deprecated public float getFloatProperty(int, int); method @Deprecated public int getIntProperty(int, int); method @Deprecated public java.util.List getPropertyList(); method @Deprecated public boolean isPropertyAvailable(int, int); method @Deprecated public void registerCallback(android.car.hardware.hvac.CarHvacManager.CarHvacEventCallback); method @Deprecated public void setBooleanProperty(int, int, boolean); method @Deprecated public void setFloatProperty(int, int, float); method @Deprecated public void setIntProperty(int, int, int); method @Deprecated public void unregisterCallback(android.car.hardware.hvac.CarHvacManager.CarHvacEventCallback); field @Deprecated public static final int FAN_DIRECTION_DEFROST = 4; // 0x4 field @Deprecated public static final int FAN_DIRECTION_FACE = 1; // 0x1 field @Deprecated public static final int FAN_DIRECTION_FLOOR = 2; // 0x2 field @Deprecated public static final int ID_MIRROR_DEFROSTER_ON = 339739916; // 0x1440050c field @Deprecated public static final int ID_OUTSIDE_AIR_TEMP = 291505923; // 0x11600703 field @Deprecated public static final int ID_STEERING_WHEEL_HEAT = 289408269; // 0x1140050d field @Deprecated public static final int ID_TEMPERATURE_DISPLAY_UNITS = 289408270; // 0x1140050e field @Deprecated public static final int ID_WINDOW_DEFROSTER_ON = 320865540; // 0x13200504 field @Deprecated public static final int ID_ZONED_AC_ON = 354419973; // 0x15200505 field @Deprecated public static final int ID_ZONED_AIR_RECIRCULATION_ON = 354419976; // 0x15200508 field @Deprecated public static final int ID_ZONED_AUTOMATIC_MODE_ON = 354419978; // 0x1520050a field @Deprecated public static final int ID_ZONED_DUAL_ZONE_ON = 354419977; // 0x15200509 field @Deprecated public static final int ID_ZONED_FAN_DIRECTION = 356517121; // 0x15400501 field @Deprecated public static final int ID_ZONED_FAN_DIRECTION_AVAILABLE = 356582673; // 0x15410511 field @Deprecated public static final int ID_ZONED_FAN_SPEED_RPM = 356517135; // 0x1540050f field @Deprecated public static final int ID_ZONED_FAN_SPEED_SETPOINT = 356517120; // 0x15400500 field @Deprecated public static final int ID_ZONED_HVAC_AUTO_RECIRC_ON = 354419986; // 0x15200512 field @Deprecated public static final int ID_ZONED_HVAC_POWER_ON = 354419984; // 0x15200510 field @Deprecated public static final int ID_ZONED_MAX_AC_ON = 354419974; // 0x15200506 field @Deprecated public static final int ID_ZONED_MAX_DEFROST_ON = 354419975; // 0x15200507 field @Deprecated public static final int ID_ZONED_SEAT_TEMP = 356517131; // 0x1540050b field @Deprecated public static final int ID_ZONED_TEMP_ACTUAL = 358614274; // 0x15600502 field @Deprecated public static final int ID_ZONED_TEMP_SETPOINT = 358614275; // 0x15600503 } @Deprecated public static interface CarHvacManager.CarHvacEventCallback { method @Deprecated public void onChangeEvent(android.car.hardware.CarPropertyValue); method @Deprecated public void onErrorEvent(int, int); } } package android.car.hardware.power { public class CarPowerManager { method @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_POWER_POLICY) public void applyPowerPolicy(@NonNull String); method @RequiresPermission(android.car.Car.PERMISSION_CAR_POWER) public void clearListener(); method @RequiresPermission(android.car.Car.PERMISSION_CAR_POWER) public int getPowerState(); method @RequiresPermission(android.car.Car.PERMISSION_CAR_POWER) public void setDisplayPowerState(int, boolean); method @RequiresPermission(android.car.Car.PERMISSION_CAR_POWER) public void setListener(@NonNull java.util.concurrent.Executor, @NonNull android.car.hardware.power.CarPowerManager.CarPowerStateListener); method @RequiresPermission(android.car.Car.PERMISSION_CONTROL_SHUTDOWN_PROCESS) public void setListenerWithCompletion(@NonNull java.util.concurrent.Executor, @NonNull android.car.hardware.power.CarPowerManager.CarPowerStateListenerWithCompletion); method @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_POWER_POLICY) public void setPowerPolicyGroup(@NonNull String); field public static final int STATE_HIBERNATION_ENTER = 9; // 0x9 field public static final int STATE_HIBERNATION_EXIT = 10; // 0xa field public static final int STATE_INVALID = 0; // 0x0 field public static final int STATE_ON = 6; // 0x6 field public static final int STATE_POST_HIBERNATION_ENTER = 14; // 0xe field public static final int STATE_POST_SHUTDOWN_ENTER = 13; // 0xd field public static final int STATE_POST_SUSPEND_ENTER = 12; // 0xc field public static final int STATE_PRE_SHUTDOWN_PREPARE = 11; // 0xb field public static final int STATE_SHUTDOWN_CANCELLED = 8; // 0x8 field public static final int STATE_SHUTDOWN_ENTER = 5; // 0x5 field public static final int STATE_SHUTDOWN_PREPARE = 7; // 0x7 field public static final int STATE_SUSPEND_ENTER = 2; // 0x2 field public static final int STATE_SUSPEND_EXIT = 3; // 0x3 field public static final int STATE_WAIT_FOR_VHAL = 1; // 0x1 } public static interface CarPowerManager.CarPowerStateListener { method public void onStateChanged(int); } public static interface CarPowerManager.CarPowerStateListenerWithCompletion { method public void onStateChanged(int, @Nullable android.car.hardware.power.CarPowerManager.CompletablePowerStateChangeFuture); } public static interface CarPowerManager.CompletablePowerStateChangeFuture { method public void complete(); method public long getExpirationTime(); } } package android.car.hardware.property { @Deprecated public static final class AreaIdConfig.Builder { ctor @Deprecated public AreaIdConfig.Builder(int); ctor @Deprecated @FlaggedApi("android.car.feature.area_id_config_access") public AreaIdConfig.Builder(int, int); method @Deprecated @NonNull public android.car.hardware.property.AreaIdConfig build(); method @Deprecated @NonNull public android.car.hardware.property.AreaIdConfig.Builder setMaxValue(T); method @Deprecated @NonNull public android.car.hardware.property.AreaIdConfig.Builder setMinValue(T); method @Deprecated @NonNull public android.car.hardware.property.AreaIdConfig.Builder setSupportedEnumValues(@NonNull java.util.List); } public final class AutomaticEmergencyBrakingState { method @NonNull public static String toString(int); field public static final int ACTIVATED = 2; // 0x2 field public static final int ENABLED = 1; // 0x1 field public static final int OTHER = 0; // 0x0 field public static final int USER_OVERRIDE = 3; // 0x3 } public final class BlindSpotWarningState { method @NonNull public static String toString(int); field public static final int NO_WARNING = 1; // 0x1 field public static final int OTHER = 0; // 0x0 field public static final int WARNING = 2; // 0x2 } public class CarInternalErrorException extends java.lang.RuntimeException { method public int getVendorErrorCode(); } public static final class CarPropertyManager.PropertyAsyncError { method public int getVendorErrorCode(); } @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public final class CrossTrafficMonitoringWarningState { method @NonNull public static String toString(int); field public static final int NO_WARNING = 1; // 0x1 field public static final int OTHER = 0; // 0x0 field public static final int WARNING_FRONT_BOTH = 4; // 0x4 field public static final int WARNING_FRONT_LEFT = 2; // 0x2 field public static final int WARNING_FRONT_RIGHT = 3; // 0x3 field public static final int WARNING_REAR_BOTH = 7; // 0x7 field public static final int WARNING_REAR_LEFT = 5; // 0x5 field public static final int WARNING_REAR_RIGHT = 6; // 0x6 } public class CruiseControlCommand { method @NonNull public static String toString(int); field public static final int ACTIVATE = 1; // 0x1 field public static final int DECREASE_TARGET_SPEED = 4; // 0x4 field public static final int DECREASE_TARGET_TIME_GAP = 6; // 0x6 field public static final int INCREASE_TARGET_SPEED = 3; // 0x3 field public static final int INCREASE_TARGET_TIME_GAP = 5; // 0x5 field public static final int SUSPEND = 2; // 0x2 } public class CruiseControlState { method @NonNull public static String toString(int); field public static final int ACTIVATED = 2; // 0x2 field public static final int ENABLED = 1; // 0x1 field public static final int FORCED_DEACTIVATION_WARNING = 5; // 0x5 field public static final int OTHER = 0; // 0x0 field public static final int SUSPENDED = 4; // 0x4 field public static final int USER_OVERRIDE = 3; // 0x3 } public class CruiseControlType { method @NonNull public static String toString(int); field public static final int ADAPTIVE = 2; // 0x2 field public static final int OTHER = 0; // 0x0 field public static final int PREDICTIVE = 3; // 0x3 field public static final int STANDARD = 1; // 0x1 } @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public final class DriverDistractionState { method @NonNull public static String toString(int); field public static final int DISTRACTED = 2; // 0x2 field public static final int NOT_DISTRACTED = 1; // 0x1 field public static final int OTHER = 0; // 0x0 } @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public final class DriverDistractionWarning { method @NonNull public static String toString(int); field public static final int NO_WARNING = 1; // 0x1 field public static final int OTHER = 0; // 0x0 field public static final int WARNING = 2; // 0x2 } @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public final class DriverDrowsinessAttentionState { method @NonNull public static String toString(int); field public static final int KSS_RATING_1_EXTREMELY_ALERT = 1; // 0x1 field public static final int KSS_RATING_2_VERY_ALERT = 2; // 0x2 field public static final int KSS_RATING_3_ALERT = 3; // 0x3 field public static final int KSS_RATING_4_RATHER_ALERT = 4; // 0x4 field public static final int KSS_RATING_5_NEITHER_ALERT_NOR_SLEEPY = 5; // 0x5 field public static final int KSS_RATING_6_SOME_SLEEPINESS = 6; // 0x6 field public static final int KSS_RATING_7_SLEEPY_NO_EFFORT = 7; // 0x7 field public static final int KSS_RATING_8_SLEEPY_SOME_EFFORT = 8; // 0x8 field public static final int KSS_RATING_9_VERY_SLEEPY = 9; // 0x9 field public static final int OTHER = 0; // 0x0 } @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public final class DriverDrowsinessAttentionWarning { method @NonNull public static String toString(int); field public static final int NO_WARNING = 1; // 0x1 field public static final int OTHER = 0; // 0x0 field public static final int WARNING = 2; // 0x2 } @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public final class ElectronicStabilityControlState { method @NonNull public static String toString(int); field public static final int ACTIVATED = 2; // 0x2 field public static final int ENABLED = 1; // 0x1 field public static final int OTHER = 0; // 0x0 } public class EmergencyLaneKeepAssistState { method @NonNull public static String toString(int); field public static final int ACTIVATED_STEER_LEFT = 4; // 0x4 field public static final int ACTIVATED_STEER_RIGHT = 5; // 0x5 field public static final int ENABLED = 1; // 0x1 field public static final int OTHER = 0; // 0x0 field public static final int USER_OVERRIDE = 6; // 0x6 field public static final int WARNING_LEFT = 2; // 0x2 field public static final int WARNING_RIGHT = 3; // 0x3 } public final class ErrorState { method @NonNull public static String toString(int); field public static final int NOT_AVAILABLE_DISABLED = -2; // 0xfffffffe field public static final int NOT_AVAILABLE_POOR_VISIBILITY = -5; // 0xfffffffb field public static final int NOT_AVAILABLE_SAFETY = -6; // 0xfffffffa field public static final int NOT_AVAILABLE_SPEED_HIGH = -4; // 0xfffffffc field public static final int NOT_AVAILABLE_SPEED_LOW = -3; // 0xfffffffd field public static final int OTHER_ERROR_STATE = -1; // 0xffffffff } public final class EvStoppingMode { method @NonNull public static String toString(int); field public static final int STATE_CREEP = 1; // 0x1 field public static final int STATE_HOLD = 3; // 0x3 field public static final int STATE_OTHER = 0; // 0x0 field public static final int STATE_ROLL = 2; // 0x2 } public final class ForwardCollisionWarningState { method @NonNull public static String toString(int); field public static final int NO_WARNING = 1; // 0x1 field public static final int OTHER = 0; // 0x0 field public static final int WARNING = 2; // 0x2 } public class HandsOnDetectionDriverState { method @NonNull public static String toString(int); field public static final int HANDS_OFF = 2; // 0x2 field public static final int HANDS_ON = 1; // 0x1 field public static final int OTHER = 0; // 0x0 } public class HandsOnDetectionWarning { method @NonNull public static String toString(int); field public static final int NO_WARNING = 1; // 0x1 field public static final int OTHER = 0; // 0x0 field public static final int WARNING = 2; // 0x2 } @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public final class ImpactSensorLocation { method @NonNull public static String toString(int); field public static final int FRONT = 2; // 0x2 field public static final int FRONT_LEFT_DOOR_SIDE = 4; // 0x4 field public static final int FRONT_RIGHT_DOOR_SIDE = 8; // 0x8 field public static final int OTHER = 1; // 0x1 field public static final int REAR = 64; // 0x40 field public static final int REAR_LEFT_DOOR_SIDE = 16; // 0x10 field public static final int REAR_RIGHT_DOOR_SIDE = 32; // 0x20 } public final class LaneCenteringAssistCommand { method @NonNull public static String toString(int); field public static final int ACTIVATE = 1; // 0x1 field public static final int DEACTIVATE = 2; // 0x2 } public final class LaneCenteringAssistState { method @NonNull public static String toString(int); field public static final int ACTIVATED = 3; // 0x3 field public static final int ACTIVATION_REQUESTED = 2; // 0x2 field public static final int ENABLED = 1; // 0x1 field public static final int FORCED_DEACTIVATION_WARNING = 5; // 0x5 field public static final int OTHER = 0; // 0x0 field public static final int USER_OVERRIDE = 4; // 0x4 } public final class LaneDepartureWarningState { method @NonNull public static String toString(int); field public static final int NO_WARNING = 1; // 0x1 field public static final int OTHER = 0; // 0x0 field public static final int WARNING_LEFT = 2; // 0x2 field public static final int WARNING_RIGHT = 3; // 0x3 } public final class LaneKeepAssistState { method @NonNull public static String toString(int); field public static final int ACTIVATED_STEER_LEFT = 2; // 0x2 field public static final int ACTIVATED_STEER_RIGHT = 3; // 0x3 field public static final int ENABLED = 1; // 0x1 field public static final int OTHER = 0; // 0x0 field public static final int USER_OVERRIDE = 4; // 0x4 } @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public final class LowSpeedAutomaticEmergencyBrakingState { method @NonNull public static String toString(int); field public static final int ACTIVATED = 2; // 0x2 field public static final int ENABLED = 1; // 0x1 field public static final int OTHER = 0; // 0x0 field public static final int USER_OVERRIDE = 3; // 0x3 } @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public final class LowSpeedCollisionWarningState { method @NonNull public static String toString(int); field public static final int NO_WARNING = 1; // 0x1 field public static final int OTHER = 0; // 0x0 field public static final int WARNING = 2; // 0x2 } public class PropertyNotAvailableException extends java.lang.IllegalStateException { method public int getVendorErrorCode(); } public final class TrailerState { method @NonNull public static String toString(int); field public static final int STATE_ERROR = 3; // 0x3 field public static final int STATE_NOT_PRESENT = 1; // 0x1 field public static final int STATE_PRESENT = 2; // 0x2 field public static final int STATE_UNKNOWN = 0; // 0x0 } @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public final class VehicleAirbagLocation { method @NonNull public static String toString(int); field public static final int CURTAIN = 32; // 0x20 field public static final int FRONT = 2; // 0x2 field public static final int KNEE = 4; // 0x4 field public static final int LEFT_SIDE = 8; // 0x8 field public static final int OTHER = 1; // 0x1 field public static final int RIGHT_SIDE = 16; // 0x10 } @FlaggedApi("android.car.feature.android_vic_vehicle_properties") public final class VehicleAutonomousState { method @NonNull public static String toString(int); field public static final int LEVEL_0 = 0; // 0x0 field public static final int LEVEL_1 = 1; // 0x1 field public static final int LEVEL_2 = 2; // 0x2 field public static final int LEVEL_3 = 3; // 0x3 field public static final int LEVEL_4 = 4; // 0x4 field public static final int LEVEL_5 = 5; // 0x5 } public final class VehicleLightState { method @NonNull public static String toString(int); field public static final int STATE_DAYTIME_RUNNING = 2; // 0x2 field public static final int STATE_OFF = 0; // 0x0 field public static final int STATE_ON = 1; // 0x1 } public final class VehicleLightSwitch { method @NonNull public static String toString(int); field public static final int STATE_AUTOMATIC = 256; // 0x100 field public static final int STATE_DAYTIME_RUNNING = 2; // 0x2 field public static final int STATE_OFF = 0; // 0x0 field public static final int STATE_ON = 1; // 0x1 } public final class VehicleOilLevel { method @NonNull public static String toString(int); field public static final int LEVEL_CRITICALLY_LOW = 0; // 0x0 field public static final int LEVEL_ERROR = 4; // 0x4 field public static final int LEVEL_HIGH = 3; // 0x3 field public static final int LEVEL_LOW = 1; // 0x1 field public static final int LEVEL_NORMAL = 2; // 0x2 } public final class VehicleTurnSignal { method @NonNull public static String toString(int); field public static final int STATE_LEFT = 2; // 0x2 field public static final int STATE_NONE = 0; // 0x0 field public static final int STATE_RIGHT = 1; // 0x1 } public final class VehicleVendorPermission { field public static final String PERMISSION_GET_CAR_VENDOR_CATEGORY_1 = "android.car.permission.GET_CAR_VENDOR_CATEGORY_1"; field public static final String PERMISSION_GET_CAR_VENDOR_CATEGORY_10 = "android.car.permission.GET_CAR_VENDOR_CATEGORY_10"; field public static final String PERMISSION_GET_CAR_VENDOR_CATEGORY_2 = "android.car.permission.GET_CAR_VENDOR_CATEGORY_2"; field public static final String PERMISSION_GET_CAR_VENDOR_CATEGORY_3 = "android.car.permission.GET_CAR_VENDOR_CATEGORY_3"; field public static final String PERMISSION_GET_CAR_VENDOR_CATEGORY_4 = "android.car.permission.GET_CAR_VENDOR_CATEGORY_4"; field public static final String PERMISSION_GET_CAR_VENDOR_CATEGORY_5 = "android.car.permission.GET_CAR_VENDOR_CATEGORY_5"; field public static final String PERMISSION_GET_CAR_VENDOR_CATEGORY_6 = "android.car.permission.GET_CAR_VENDOR_CATEGORY_6"; field public static final String PERMISSION_GET_CAR_VENDOR_CATEGORY_7 = "android.car.permission.GET_CAR_VENDOR_CATEGORY_7"; field public static final String PERMISSION_GET_CAR_VENDOR_CATEGORY_8 = "android.car.permission.GET_CAR_VENDOR_CATEGORY_8"; field public static final String PERMISSION_GET_CAR_VENDOR_CATEGORY_9 = "android.car.permission.GET_CAR_VENDOR_CATEGORY_9"; field public static final String PERMISSION_GET_CAR_VENDOR_CATEGORY_DOOR = "android.car.permission.GET_CAR_VENDOR_CATEGORY_DOOR"; field public static final String PERMISSION_GET_CAR_VENDOR_CATEGORY_ENGINE = "android.car.permission.GET_CAR_VENDOR_CATEGORY_ENGINE"; field public static final String PERMISSION_GET_CAR_VENDOR_CATEGORY_HVAC = "android.car.permission.GET_CAR_VENDOR_CATEGORY_HVAC"; field public static final String PERMISSION_GET_CAR_VENDOR_CATEGORY_INFO = "android.car.permission.GET_CAR_VENDOR_CATEGORY_INFO"; field public static final String PERMISSION_GET_CAR_VENDOR_CATEGORY_LIGHT = "android.car.permission.GET_CAR_VENDOR_CATEGORY_LIGHT"; field public static final String PERMISSION_GET_CAR_VENDOR_CATEGORY_MIRROR = "android.car.permission.GET_CAR_VENDOR_CATEGORY_MIRROR"; field public static final String PERMISSION_GET_CAR_VENDOR_CATEGORY_SEAT = "android.car.permission.GET_CAR_VENDOR_CATEGORY_SEAT"; field public static final String PERMISSION_GET_CAR_VENDOR_CATEGORY_WINDOW = "android.car.permission.GET_CAR_VENDOR_CATEGORY_WINDOW"; field public static final String PERMISSION_SET_CAR_VENDOR_CATEGORY_1 = "android.car.permission.SET_CAR_VENDOR_CATEGORY_1"; field public static final String PERMISSION_SET_CAR_VENDOR_CATEGORY_10 = "android.car.permission.SET_CAR_VENDOR_CATEGORY_10"; field public static final String PERMISSION_SET_CAR_VENDOR_CATEGORY_2 = "android.car.permission.SET_CAR_VENDOR_CATEGORY_2"; field public static final String PERMISSION_SET_CAR_VENDOR_CATEGORY_3 = "android.car.permission.SET_CAR_VENDOR_CATEGORY_3"; field public static final String PERMISSION_SET_CAR_VENDOR_CATEGORY_4 = "android.car.permission.SET_CAR_VENDOR_CATEGORY_4"; field public static final String PERMISSION_SET_CAR_VENDOR_CATEGORY_5 = "android.car.permission.SET_CAR_VENDOR_CATEGORY_5"; field public static final String PERMISSION_SET_CAR_VENDOR_CATEGORY_6 = "android.car.permission.SET_CAR_VENDOR_CATEGORY_6"; field public static final String PERMISSION_SET_CAR_VENDOR_CATEGORY_7 = "android.car.permission.SET_CAR_VENDOR_CATEGORY_7"; field public static final String PERMISSION_SET_CAR_VENDOR_CATEGORY_8 = "android.car.permission.SET_CAR_VENDOR_CATEGORY_8"; field public static final String PERMISSION_SET_CAR_VENDOR_CATEGORY_9 = "android.car.permission.SET_CAR_VENDOR_CATEGORY_9"; field public static final String PERMISSION_SET_CAR_VENDOR_CATEGORY_DOOR = "android.car.permission.SET_CAR_VENDOR_CATEGORY_DOOR"; field public static final String PERMISSION_SET_CAR_VENDOR_CATEGORY_ENGINE = "android.car.permission.SET_CAR_VENDOR_CATEGORY_ENGINE"; field public static final String PERMISSION_SET_CAR_VENDOR_CATEGORY_HVAC = "android.car.permission.SET_CAR_VENDOR_CATEGORY_HVAC"; field public static final String PERMISSION_SET_CAR_VENDOR_CATEGORY_INFO = "android.car.permission.SET_CAR_VENDOR_CATEGORY_INFO"; field public static final String PERMISSION_SET_CAR_VENDOR_CATEGORY_LIGHT = "android.car.permission.SET_CAR_VENDOR_CATEGORY_LIGHT"; field public static final String PERMISSION_SET_CAR_VENDOR_CATEGORY_MIRROR = "android.car.permission.SET_CAR_VENDOR_CATEGORY_MIRROR"; field public static final String PERMISSION_SET_CAR_VENDOR_CATEGORY_SEAT = "android.car.permission.SET_CAR_VENDOR_CATEGORY_SEAT"; field public static final String PERMISSION_SET_CAR_VENDOR_CATEGORY_WINDOW = "android.car.permission.SET_CAR_VENDOR_CATEGORY_WINDOW"; } public final class WindshieldWipersState { method @NonNull public static String toString(int); field public static final int OFF = 1; // 0x1 field public static final int ON = 2; // 0x2 field public static final int OTHER = 0; // 0x0 field public static final int SERVICE = 3; // 0x3 } public final class WindshieldWipersSwitch { method @NonNull public static String toString(int); field public static final int AUTO = 13; // 0xd field public static final int CONTINUOUS_LEVEL_1 = 8; // 0x8 field public static final int CONTINUOUS_LEVEL_2 = 9; // 0x9 field public static final int CONTINUOUS_LEVEL_3 = 10; // 0xa field public static final int CONTINUOUS_LEVEL_4 = 11; // 0xb field public static final int CONTINUOUS_LEVEL_5 = 12; // 0xc field public static final int INTERMITTENT_LEVEL_1 = 3; // 0x3 field public static final int INTERMITTENT_LEVEL_2 = 4; // 0x4 field public static final int INTERMITTENT_LEVEL_3 = 5; // 0x5 field public static final int INTERMITTENT_LEVEL_4 = 6; // 0x6 field public static final int INTERMITTENT_LEVEL_5 = 7; // 0x7 field public static final int MIST = 2; // 0x2 field public static final int OFF = 1; // 0x1 field public static final int OTHER = 0; // 0x0 field public static final int SERVICE = 14; // 0xe } } package android.car.input { public final class CarInputManager { method @RequiresPermission(android.Manifest.permission.INJECT_EVENTS) public void injectKeyEvent(@NonNull android.view.KeyEvent, int); method public void releaseInputEventCapture(int); method @RequiresPermission(anyOf={"android.permission.MONITOR_INPUT", android.car.Car.PERMISSION_CAR_MONITOR_INPUT}) public int requestInputEventCapture(int, @NonNull int[], int, @NonNull android.car.input.CarInputManager.CarInputCaptureCallback); method @RequiresPermission(anyOf={"android.permission.MONITOR_INPUT", android.car.Car.PERMISSION_CAR_MONITOR_INPUT}) public int requestInputEventCapture(int, @NonNull int[], int, @NonNull java.util.concurrent.Executor, @NonNull android.car.input.CarInputManager.CarInputCaptureCallback); field public static final int CAPTURE_REQ_FLAGS_ALLOW_DELAYED_GRANT = 1; // 0x1 field public static final int CAPTURE_REQ_FLAGS_TAKE_ALL_EVENTS_FOR_DISPLAY = 2; // 0x2 field public static final int INPUT_CAPTURE_RESPONSE_DELAYED = 2; // 0x2 field public static final int INPUT_CAPTURE_RESPONSE_FAILED = 1; // 0x1 field public static final int INPUT_CAPTURE_RESPONSE_SUCCEEDED = 0; // 0x0 field public static final int INPUT_TYPE_ALL_INPUTS = 1; // 0x1 } public static interface CarInputManager.CarInputCaptureCallback { method public default void onCaptureStateChanged(int, @NonNull int[]); method public default void onCustomInputEvents(int, @NonNull java.util.List); method public default void onKeyEvents(int, @NonNull java.util.List); method public default void onRotaryEvents(int, @NonNull java.util.List); } public final class CustomInputEvent implements android.os.Parcelable { ctor public CustomInputEvent(int, int, int); method public int describeContents(); method public int getInputCode(); method public int getRepeatCounter(); method public int getTargetDisplayType(); method @NonNull public static String inputCodeToString(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int INPUT_CODE_F1 = 1001; // 0x3e9 field public static final int INPUT_CODE_F10 = 1010; // 0x3f2 field public static final int INPUT_CODE_F2 = 1002; // 0x3ea field public static final int INPUT_CODE_F3 = 1003; // 0x3eb field public static final int INPUT_CODE_F4 = 1004; // 0x3ec field public static final int INPUT_CODE_F5 = 1005; // 0x3ed field public static final int INPUT_CODE_F6 = 1006; // 0x3ee field public static final int INPUT_CODE_F7 = 1007; // 0x3ef field public static final int INPUT_CODE_F8 = 1008; // 0x3f0 field public static final int INPUT_CODE_F9 = 1009; // 0x3f1 } public final class RotaryEvent implements android.os.Parcelable { ctor public RotaryEvent(int, boolean, @NonNull long[]); method public int describeContents(); method public int getInputType(); method public int getNumberOfClicks(); method public long getUptimeMillisForClick(int); method @NonNull public long[] getUptimeMillisForClicks(); method public boolean isClockwise(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.car.media { @FlaggedApi("android.car.feature.car_audio_dynamic_devices") public interface AudioZoneConfigurationsChangeCallback { method public default void onAudioZoneConfigurationsChanged(@NonNull java.util.List, int); } public interface AudioZonesMirrorStatusCallback { method public void onAudioZonesMirrorStatusChanged(@NonNull java.util.List, int); } public final class CarAudioManager { method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public boolean allowMediaAudioOnPrimaryZone(long, boolean); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public int canEnableAudioMirror(); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public boolean cancelMediaAudioOnPrimaryZone(long); method @FlaggedApi("android.car.feature.car_audio_dynamic_devices") @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public void clearAudioZoneConfigsCallback(); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public void clearAudioZonesMirrorStatusCallback(); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public void clearPrimaryZoneMediaAudioRequestCallback(); method @Deprecated @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public android.car.media.CarAudioPatchHandle createAudioPatch(String, int, int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public void disableAudioMirror(long); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public void disableAudioMirrorForZone(int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public long enableMirrorForAudioZones(@NonNull java.util.List); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public void extendAudioMirrorRequest(long, @NonNull java.util.List); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public java.util.List getAudioAttributesForVolumeGroup(@NonNull android.car.media.CarVolumeGroupInfo); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public java.util.List getAudioZoneConfigInfos(int); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public java.util.List getAudioZoneIds(); method @Nullable @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public android.car.media.CarAudioZoneConfigInfo getCurrentAudioZoneConfigInfo(int); method @Deprecated @NonNull @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public String[] getExternalSources(); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int getGroupMaxVolume(int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int getGroupMaxVolume(int, int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int getGroupMinVolume(int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int getGroupMinVolume(int, int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int getGroupVolume(int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int getGroupVolume(int, int); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public java.util.List getInputDevicesForZoneId(int); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public java.util.List getMirrorAudioZonesForAudioZone(int); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public java.util.List getMirrorAudioZonesForMirrorRequest(long); method @Nullable @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public android.media.AudioDeviceInfo getOutputDeviceForUsage(int, int); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int[] getUsagesForVolumeGroupId(int); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int[] getUsagesForVolumeGroupId(int, int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int getVolumeGroupCount(); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int getVolumeGroupCount(int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int getVolumeGroupIdForUsage(int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public int getVolumeGroupIdForUsage(int, int); method @Nullable @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public android.car.media.CarVolumeGroupInfo getVolumeGroupInfo(int, int); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public java.util.List getVolumeGroupInfosForZone(int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public boolean isMediaAudioAllowedInPrimaryZone(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public boolean isPlaybackOnVolumeGroupActive(int, int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public boolean isVolumeGroupMuted(int, int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public boolean registerCarVolumeGroupEventCallback(@NonNull java.util.concurrent.Executor, @NonNull android.car.media.CarVolumeGroupEventCallback); method @Deprecated @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public void releaseAudioPatch(android.car.media.CarAudioPatchHandle); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public long requestMediaAudioOnPrimaryZone(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, @NonNull java.util.concurrent.Executor, @NonNull android.car.media.MediaAudioRequestStatusCallback); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public boolean resetMediaAudioOnPrimaryZone(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo); method @FlaggedApi("android.car.feature.car_audio_dynamic_devices") @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public boolean setAudioZoneConfigsChangeCallback(@NonNull java.util.concurrent.Executor, @NonNull android.car.media.AudioZoneConfigurationsChangeCallback); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public boolean setAudioZoneMirrorStatusCallback(@NonNull java.util.concurrent.Executor, @NonNull android.car.media.AudioZonesMirrorStatusCallback); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public void setBalanceTowardRight(float); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public void setFadeTowardFront(float); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public void setGroupVolume(int, int, int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public void setGroupVolume(int, int, int, int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public boolean setPrimaryZoneMediaAudioRequestCallback(@NonNull java.util.concurrent.Executor, @NonNull android.car.media.PrimaryZoneMediaAudioRequestCallback); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public void setVolumeGroupMute(int, int, boolean, int); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS) public void switchAudioZoneToConfig(@NonNull android.car.media.CarAudioZoneConfigInfo, @NonNull java.util.concurrent.Executor, @NonNull android.car.media.SwitchAudioZoneConfigCallback); method @RequiresPermission(android.car.Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME) public void unregisterCarVolumeGroupEventCallback(@NonNull android.car.media.CarVolumeGroupEventCallback); field public static final String AUDIOFOCUS_EXTRA_RECEIVE_DUCKING_EVENTS = "android.car.media.AUDIOFOCUS_EXTRA_RECEIVE_DUCKING_EVENTS"; field public static final int AUDIO_MIRROR_CAN_ENABLE = 1; // 0x1 field public static final int AUDIO_MIRROR_INTERNAL_ERROR = -1; // 0xffffffff field public static final int AUDIO_MIRROR_OUT_OF_OUTPUT_DEVICES = 2; // 0x2 field public static final int AUDIO_REQUEST_STATUS_APPROVED = 1; // 0x1 field public static final int AUDIO_REQUEST_STATUS_CANCELLED = 3; // 0x3 field public static final int AUDIO_REQUEST_STATUS_REJECTED = 2; // 0x2 field public static final int AUDIO_REQUEST_STATUS_STOPPED = 4; // 0x4 field @FlaggedApi("android.car.feature.car_audio_dynamic_devices") public static final int CONFIG_STATUS_AUTO_SWITCHED = 2; // 0x2 field @FlaggedApi("android.car.feature.car_audio_dynamic_devices") public static final int CONFIG_STATUS_CHANGED = 1; // 0x1 field public static final int INVALID_AUDIO_ZONE = -1; // 0xffffffff field public static final long INVALID_REQUEST_ID = -1L; // 0xffffffffffffffffL field public static final int PRIMARY_AUDIO_ZONE = 0; // 0x0 } public final class CarAudioPatchHandle implements android.os.Parcelable { method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; } public final class CarAudioZoneConfigInfo implements android.os.Parcelable { method public int describeContents(); method public int getConfigId(); method @FlaggedApi("android.car.feature.car_audio_dynamic_devices") @NonNull public java.util.List getConfigVolumeGroups(); method @NonNull public String getName(); method public int getZoneId(); method @FlaggedApi("android.car.feature.car_audio_dynamic_devices") public boolean hasSameConfigInfo(@NonNull android.car.media.CarAudioZoneConfigInfo); method @FlaggedApi("android.car.feature.car_audio_dynamic_devices") public boolean isActive(); method @FlaggedApi("android.car.feature.car_audio_dynamic_devices") public boolean isDefault(); method @FlaggedApi("android.car.feature.car_audio_dynamic_devices") public boolean isSelected(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class CarMediaManager { method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void addMediaSourceListener(@NonNull android.car.media.CarMediaManager.MediaSourceChangedListener, int); method @NonNull @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public java.util.List getLastMediaSources(int); method @NonNull @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public android.content.ComponentName getMediaSource(int); method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void removeMediaSourceListener(@NonNull android.car.media.CarMediaManager.MediaSourceChangedListener, int); method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void setMediaSource(@NonNull android.content.ComponentName, int); field public static final int MEDIA_SOURCE_MODE_BROWSE = 1; // 0x1 field public static final int MEDIA_SOURCE_MODE_PLAYBACK = 0; // 0x0 } public static interface CarMediaManager.MediaSourceChangedListener { method public void onMediaSourceChanged(@NonNull android.content.ComponentName); } public final class CarVolumeGroupEvent implements android.os.Parcelable { method public static int convertExtraInfoToFlags(@NonNull java.util.List); method @NonNull public static java.util.List convertFlagsToExtraInfo(int, int); method public int describeContents(); method @NonNull public static String eventTypeToString(int); method @NonNull public static String extraInfosToString(@NonNull java.util.List); method @NonNull public java.util.List getCarVolumeGroupInfos(); method public int getEventTypes(); method @NonNull public java.util.List getExtraInfos(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int EVENT_TYPE_ATTENUATION_CHANGED = 32; // 0x20 field public static final int EVENT_TYPE_MUTE_CHANGED = 8; // 0x8 field public static final int EVENT_TYPE_VOLUME_BLOCKED_CHANGED = 16; // 0x10 field public static final int EVENT_TYPE_VOLUME_GAIN_INDEX_CHANGED = 1; // 0x1 field public static final int EVENT_TYPE_VOLUME_MAX_INDEX_CHANGED = 4; // 0x4 field public static final int EVENT_TYPE_VOLUME_MIN_INDEX_CHANGED = 2; // 0x2 field public static final int EVENT_TYPE_ZONE_CONFIGURATION_CHANGED = 64; // 0x40 field public static final int EXTRA_INFO_ATTENUATION_ACTIVATION = 110; // 0x6e field public static final int EXTRA_INFO_MUTE_LOCKED = 210; // 0xd2 field public static final int EXTRA_INFO_MUTE_TOGGLED_BY_AUDIO_SYSTEM = 203; // 0xcb field public static final int EXTRA_INFO_MUTE_TOGGLED_BY_EMERGENCY = 202; // 0xca field public static final int EXTRA_INFO_MUTE_TOGGLED_BY_KEYEVENT = 201; // 0xc9 field public static final int EXTRA_INFO_MUTE_TOGGLED_BY_UI = 200; // 0xc8 field public static final int EXTRA_INFO_NONE = 100; // 0x64 field public static final int EXTRA_INFO_PLAY_SOUND = 301; // 0x12d field public static final int EXTRA_INFO_SHOW_UI = 300; // 0x12c field public static final int EXTRA_INFO_TRANSIENT_ATTENUATION_DUCKED = 121; // 0x79 field public static final int EXTRA_INFO_TRANSIENT_ATTENUATION_EXTERNAL = 124; // 0x7c field public static final int EXTRA_INFO_TRANSIENT_ATTENUATION_NAVIGATION = 123; // 0x7b field public static final int EXTRA_INFO_TRANSIENT_ATTENUATION_PROJECTION = 122; // 0x7a field public static final int EXTRA_INFO_TRANSIENT_ATTENUATION_THERMAL = 120; // 0x78 field public static final int EXTRA_INFO_VOLUME_INDEX_CHANGED_BY_AUDIO_SYSTEM = 103; // 0x67 field public static final int EXTRA_INFO_VOLUME_INDEX_CHANGED_BY_KEYEVENT = 102; // 0x66 field public static final int EXTRA_INFO_VOLUME_INDEX_CHANGED_BY_UI = 101; // 0x65 } public static final class CarVolumeGroupEvent.Builder { ctor public CarVolumeGroupEvent.Builder(@NonNull java.util.List, int); ctor public CarVolumeGroupEvent.Builder(@NonNull java.util.List, int, @NonNull java.util.List); method @NonNull public android.car.media.CarVolumeGroupEvent.Builder addCarVolumeGroupInfo(@NonNull android.car.media.CarVolumeGroupInfo); method @NonNull public android.car.media.CarVolumeGroupEvent.Builder addEventType(int); method @NonNull public android.car.media.CarVolumeGroupEvent.Builder addExtraInfo(int); method @NonNull public android.car.media.CarVolumeGroupEvent build(); method @NonNull public android.car.media.CarVolumeGroupEvent.Builder setExtraInfos(@NonNull java.util.List); } public interface CarVolumeGroupEventCallback { method public void onVolumeGroupEvent(@NonNull java.util.List); } public final class CarVolumeGroupInfo implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getAudioAttributes(); method @FlaggedApi("android.car.feature.car_audio_dynamic_devices") @NonNull public java.util.List getAudioDeviceAttributes(); method public int getId(); method @FlaggedApi("android.car.feature.car_audio_min_max_activation_volume") public int getMaxActivationVolumeGainIndex(); method public int getMaxVolumeGainIndex(); method @FlaggedApi("android.car.feature.car_audio_min_max_activation_volume") public int getMinActivationVolumeGainIndex(); method public int getMinVolumeGainIndex(); method @NonNull public String getName(); method public int getVolumeGainIndex(); method public int getZoneId(); method public boolean isAttenuated(); method public boolean isBlocked(); method public boolean isMuted(); method @FlaggedApi("android.car.feature.car_audio_mute_ambiguity") public boolean isMutedBySystem(); method public boolean isSameVolumeGroup(@Nullable android.car.media.CarVolumeGroupInfo); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class CarVolumeGroupInfo.Builder { ctor public CarVolumeGroupInfo.Builder(@NonNull String, int, int); ctor public CarVolumeGroupInfo.Builder(@NonNull android.car.media.CarVolumeGroupInfo); method @NonNull public android.car.media.CarVolumeGroupInfo build(); method @NonNull public android.car.media.CarVolumeGroupInfo.Builder setAttenuated(boolean); method @NonNull public android.car.media.CarVolumeGroupInfo.Builder setAudioAttributes(@NonNull java.util.List); method @FlaggedApi("android.car.feature.car_audio_dynamic_devices") @NonNull public android.car.media.CarVolumeGroupInfo.Builder setAudioDeviceAttributes(@NonNull java.util.List); method @NonNull public android.car.media.CarVolumeGroupInfo.Builder setBlocked(boolean); method @FlaggedApi("android.car.feature.car_audio_min_max_activation_volume") @NonNull public android.car.media.CarVolumeGroupInfo.Builder setMaxActivationVolumeGainIndex(int); method @NonNull public android.car.media.CarVolumeGroupInfo.Builder setMaxVolumeGainIndex(int); method @FlaggedApi("android.car.feature.car_audio_min_max_activation_volume") @NonNull public android.car.media.CarVolumeGroupInfo.Builder setMinActivationVolumeGainIndex(int); method @NonNull public android.car.media.CarVolumeGroupInfo.Builder setMinVolumeGainIndex(int); method @NonNull public android.car.media.CarVolumeGroupInfo.Builder setMuted(boolean); method @NonNull public android.car.media.CarVolumeGroupInfo.Builder setVolumeGainIndex(int); } public interface MediaAudioRequestStatusCallback { method public void onMediaAudioRequestStatusChanged(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, long, int); } public interface PrimaryZoneMediaAudioRequestCallback { method public void onMediaAudioRequestStatusChanged(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, long, int); method public void onRequestMediaOnPrimaryZone(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, long); } public interface SwitchAudioZoneConfigCallback { method public void onAudioZoneConfigSwitched(@NonNull android.car.media.CarAudioZoneConfigInfo, boolean); } } package android.car.navigation { public final class CarNavigationInstrumentCluster implements android.os.Parcelable { ctor public CarNavigationInstrumentCluster(android.car.navigation.CarNavigationInstrumentCluster); method public static android.car.navigation.CarNavigationInstrumentCluster createCluster(int); method public static android.car.navigation.CarNavigationInstrumentCluster createCustomImageCluster(int, int, int, int); method public int describeContents(); method public int getImageColorDepthBits(); method public int getImageHeight(); method public int getImageWidth(); method public int getMinIntervalMillis(); method public int getType(); method public boolean supportsCustomImages(); method public void writeToParcel(android.os.Parcel, int); field public static final int CLUSTER_TYPE_CUSTOM_IMAGES_SUPPORTED = 1; // 0x1 field public static final int CLUSTER_TYPE_IMAGE_CODES_ONLY = 2; // 0x2 field public static final android.os.Parcelable.Creator CREATOR; } public final class CarNavigationStatusManager { method @RequiresPermission(android.car.Car.PERMISSION_CAR_NAVIGATION_MANAGER) public android.car.navigation.CarNavigationInstrumentCluster getInstrumentClusterInfo(); method @Deprecated @RequiresPermission(android.car.Car.PERMISSION_CAR_NAVIGATION_MANAGER) public void sendEvent(int, android.os.Bundle); method @RequiresPermission(android.car.Car.PERMISSION_CAR_NAVIGATION_MANAGER) public void sendNavigationStateChange(android.os.Bundle); } } package android.car.occupantconnection { public abstract class AbstractReceiverService extends android.app.Service { ctor public AbstractReceiverService(); method public final void acceptConnection(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo); method public void dump(@Nullable java.io.FileDescriptor, @NonNull java.io.PrintWriter, @Nullable String[]); method public final boolean forwardPayload(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, @NonNull String, @NonNull android.car.occupantconnection.Payload); method @NonNull public final java.util.Set getAllReceiverEndpoints(); method public boolean isSenderAuthorized(@NonNull android.content.pm.SigningInfo); method public boolean isSenderCompatible(long); method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent); method public void onConnected(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo); method public void onConnectionCanceled(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo); method public abstract void onConnectionInitiated(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo); method public void onDisconnected(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo); method @Nullable public android.os.IBinder onLocalServiceBind(@NonNull android.content.Intent); method public abstract void onPayloadReceived(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, @NonNull android.car.occupantconnection.Payload); method public void onReceiverRegistered(@NonNull String); method public final void rejectConnection(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, int); } public final class CarOccupantConnectionManager { method @RequiresPermission(android.car.Car.PERMISSION_MANAGE_OCCUPANT_CONNECTION) public void cancelConnection(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo); method @RequiresPermission(android.car.Car.PERMISSION_MANAGE_OCCUPANT_CONNECTION) public void disconnect(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo); method @RequiresPermission(android.car.Car.PERMISSION_MANAGE_OCCUPANT_CONNECTION) public boolean isConnected(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo); method @RequiresPermission(android.car.Car.PERMISSION_MANAGE_OCCUPANT_CONNECTION) public void registerReceiver(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.car.occupantconnection.CarOccupantConnectionManager.PayloadCallback); method @RequiresPermission(android.car.Car.PERMISSION_MANAGE_OCCUPANT_CONNECTION) public void requestConnection(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, @NonNull java.util.concurrent.Executor, @NonNull android.car.occupantconnection.CarOccupantConnectionManager.ConnectionRequestCallback); method @RequiresPermission(android.car.Car.PERMISSION_MANAGE_OCCUPANT_CONNECTION) public void sendPayload(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, @NonNull android.car.occupantconnection.Payload) throws android.car.occupantconnection.CarOccupantConnectionManager.PayloadTransferException; method @RequiresPermission(android.car.Car.PERMISSION_MANAGE_OCCUPANT_CONNECTION) public void unregisterReceiver(@NonNull String); field public static final int CONNECTION_ERROR_LONG_VERSION_NOT_MATCH = 4; // 0x4 field public static final int CONNECTION_ERROR_NONE = 0; // 0x0 field public static final int CONNECTION_ERROR_NOT_READY = 2; // 0x2 field public static final int CONNECTION_ERROR_PEER_APP_NOT_INSTALLED = 3; // 0x3 field public static final int CONNECTION_ERROR_PREDEFINED_MAXIMUM_VALUE = 10000; // 0x2710 field public static final int CONNECTION_ERROR_SIGNATURE_NOT_MATCH = 5; // 0x5 field public static final int CONNECTION_ERROR_UNKNOWN = 1; // 0x1 field public static final int CONNECTION_ERROR_USER_REJECTED = 6; // 0x6 } public static interface CarOccupantConnectionManager.ConnectionRequestCallback { method public void onConnected(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo); method public void onDisconnected(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo); method public void onFailed(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, int); } public static interface CarOccupantConnectionManager.PayloadCallback { method public void onPayloadReceived(@NonNull android.car.CarOccupantZoneManager.OccupantZoneInfo, @NonNull android.car.occupantconnection.Payload); } public static final class CarOccupantConnectionManager.PayloadTransferException extends java.lang.Exception { ctor public CarOccupantConnectionManager.PayloadTransferException(); } public final class Payload implements java.io.Closeable android.os.Parcelable { ctor public Payload(@NonNull byte[]); ctor public Payload(@NonNull android.os.IBinder); method public void close(); method public int describeContents(); method public void deserialize(@NonNull android.os.Parcel); method @Nullable public android.os.IBinder getBinder(); method @Nullable public byte[] getBytes(); method public void serialize(@NonNull android.os.Parcel, int); method public void serializeNullPayload(@NonNull android.os.Parcel); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.car.oem { public final class AudioFocusEntry implements android.os.Parcelable { method public int describeContents(); method public int getAudioContextId(); method @NonNull public android.media.AudioFocusInfo getAudioFocusInfo(); method public int getAudioFocusResult(); method public int getAudioVolumeGroupId(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class AudioFocusEntry.Builder { ctor public AudioFocusEntry.Builder(@NonNull android.car.oem.AudioFocusEntry); ctor public AudioFocusEntry.Builder(@NonNull android.media.AudioFocusInfo, int, int, int); method @NonNull public android.car.oem.AudioFocusEntry build(); method @NonNull public android.car.oem.AudioFocusEntry.Builder setAudioContextId(int); method @NonNull public android.car.oem.AudioFocusEntry.Builder setAudioFocusInfo(@NonNull android.media.AudioFocusInfo); method @NonNull public android.car.oem.AudioFocusEntry.Builder setAudioFocusResult(int); method @NonNull public android.car.oem.AudioFocusEntry.Builder setAudioVolumeGroupId(int); } @FlaggedApi("android.car.feature.car_audio_fade_manager_configuration") public final class CarAudioFadeConfiguration implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.media.FadeManagerConfiguration getFadeManagerConfiguration(); method @NonNull public String getName(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } @FlaggedApi("android.car.feature.car_audio_fade_manager_configuration") public static final class CarAudioFadeConfiguration.Builder { ctor public CarAudioFadeConfiguration.Builder(@NonNull android.media.FadeManagerConfiguration); method @NonNull public android.car.oem.CarAudioFadeConfiguration build(); method @NonNull public android.car.oem.CarAudioFadeConfiguration.Builder setName(@NonNull String); } @FlaggedApi("android.car.feature.car_audio_dynamic_devices") public final class CarAudioFeaturesInfo implements android.os.Parcelable { method public int describeContents(); method public boolean isAudioFeatureEnabled(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final int AUDIO_FEATURE_FADE_MANAGER_CONFIGS = 2; // 0x2 field public static final int AUDIO_FEATURE_ISOLATED_DEVICE_FOCUS = 1; // 0x1 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public interface OemCarAudioDuckingService extends android.car.oem.OemCarServiceComponent { method @NonNull public java.util.List evaluateAttributesToDuck(@NonNull android.car.oem.OemCarAudioVolumeRequest); } public final class OemCarAudioFocusEvaluationRequest implements android.os.Parcelable { method public int describeContents(); method @FlaggedApi("android.car.feature.car_audio_dynamic_devices") @Nullable public android.car.oem.CarAudioFeaturesInfo getAudioFeaturesInfo(); method @Nullable public android.car.oem.AudioFocusEntry getAudioFocusRequest(); method public int getAudioZoneId(); method @NonNull public java.util.List getFocusHolders(); method @NonNull public java.util.List getFocusLosers(); method @NonNull public java.util.List getMutedVolumeGroups(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class OemCarAudioFocusEvaluationRequest.Builder { ctor public OemCarAudioFocusEvaluationRequest.Builder(@NonNull java.util.List, @NonNull java.util.List, @NonNull java.util.List, int); method @NonNull public android.car.oem.OemCarAudioFocusEvaluationRequest.Builder addFocusHolders(@NonNull android.car.oem.AudioFocusEntry); method @NonNull public android.car.oem.OemCarAudioFocusEvaluationRequest.Builder addFocusLosers(@NonNull android.car.oem.AudioFocusEntry); method @NonNull public android.car.oem.OemCarAudioFocusEvaluationRequest.Builder addMutedVolumeGroups(@NonNull android.car.media.CarVolumeGroupInfo); method @NonNull public android.car.oem.OemCarAudioFocusEvaluationRequest build(); method @FlaggedApi("android.car.feature.car_audio_dynamic_devices") @NonNull public android.car.oem.OemCarAudioFocusEvaluationRequest.Builder setAudioFeaturesInfo(@NonNull android.car.oem.CarAudioFeaturesInfo); method @NonNull public android.car.oem.OemCarAudioFocusEvaluationRequest.Builder setAudioFocusRequest(@NonNull android.car.oem.AudioFocusEntry); method @NonNull public android.car.oem.OemCarAudioFocusEvaluationRequest.Builder setAudioZoneId(int); method @NonNull public android.car.oem.OemCarAudioFocusEvaluationRequest.Builder setFocusHolders(@NonNull java.util.List); method @NonNull public android.car.oem.OemCarAudioFocusEvaluationRequest.Builder setFocusLosers(@NonNull java.util.List); method @NonNull public android.car.oem.OemCarAudioFocusEvaluationRequest.Builder setMutedVolumeGroups(@NonNull java.util.List); } public final class OemCarAudioFocusResult implements android.os.Parcelable { method public int describeContents(); method @FlaggedApi("android.car.feature.car_audio_fade_manager_configuration") @NonNull public java.util.Map getAudioAttributesToCarAudioFadeConfigurationMap(); method @Nullable public android.car.oem.AudioFocusEntry getAudioFocusEntry(); method public int getAudioFocusResult(); method @FlaggedApi("android.car.feature.car_audio_fade_manager_configuration") @Nullable public android.car.oem.CarAudioFadeConfiguration getCarAudioFadeConfigurationForAudioAttributes(@NonNull android.media.AudioAttributes); method @NonNull public java.util.List getNewlyBlockedAudioFocusEntries(); method @NonNull public java.util.List getNewlyLostAudioFocusEntries(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field @NonNull public static final android.car.oem.OemCarAudioFocusResult EMPTY_OEM_CAR_AUDIO_FOCUS_RESULTS; } public static final class OemCarAudioFocusResult.Builder { ctor public OemCarAudioFocusResult.Builder(@NonNull java.util.List, @NonNull java.util.List, int); method @NonNull public android.car.oem.OemCarAudioFocusResult.Builder addNewlyBlockedAudioFocusEntry(@NonNull android.car.oem.AudioFocusEntry); method @NonNull public android.car.oem.OemCarAudioFocusResult.Builder addNewlyLostAudioFocusEntry(@NonNull android.car.oem.AudioFocusEntry); method @NonNull public android.car.oem.OemCarAudioFocusResult build(); method @FlaggedApi("android.car.feature.car_audio_fade_manager_configuration") @NonNull public android.car.oem.OemCarAudioFocusResult.Builder setAudioAttributesToCarAudioFadeConfigurationMap(@NonNull java.util.Map); method @NonNull public android.car.oem.OemCarAudioFocusResult.Builder setAudioFocusEntry(@NonNull android.car.oem.AudioFocusEntry); method @NonNull public android.car.oem.OemCarAudioFocusResult.Builder setAudioFocusResult(int); method @NonNull public android.car.oem.OemCarAudioFocusResult.Builder setNewlyBlockedAudioFocusEntries(@NonNull java.util.List); method @NonNull public android.car.oem.OemCarAudioFocusResult.Builder setNewlyLostAudioFocusEntries(@NonNull java.util.List); } public interface OemCarAudioFocusService extends android.car.oem.OemCarServiceComponent { method @NonNull public android.car.oem.OemCarAudioFocusResult evaluateAudioFocusRequest(@NonNull android.car.oem.OemCarAudioFocusEvaluationRequest); method public void notifyAudioFocusChange(@NonNull java.util.List, @NonNull java.util.List, int); } public final class OemCarAudioVolumeRequest implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getActivePlaybackAttributes(); method public int getAudioZoneId(); method public int getCallState(); method @NonNull public java.util.List getCarVolumeGroupInfos(); method @NonNull public java.util.List getDuckedAudioAttributes(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class OemCarAudioVolumeRequest.Builder { method @NonNull public android.car.oem.OemCarAudioVolumeRequest.Builder addActivePlaybackAttributes(@NonNull android.media.AudioAttributes); method @NonNull public android.car.oem.OemCarAudioVolumeRequest.Builder addCarVolumeGroupInfos(@NonNull android.car.media.CarVolumeGroupInfo); method @NonNull public android.car.oem.OemCarAudioVolumeRequest.Builder addDuckedAudioAttributes(@NonNull android.media.AudioAttributes); method @NonNull public android.car.oem.OemCarAudioVolumeRequest build(); method @NonNull public android.car.oem.OemCarAudioVolumeRequest.Builder setActivePlaybackAttributes(@NonNull java.util.List); method @NonNull public android.car.oem.OemCarAudioVolumeRequest.Builder setCallState(int); method @NonNull public android.car.oem.OemCarAudioVolumeRequest.Builder setCarVolumeGroupInfos(@NonNull java.util.List); method @NonNull public android.car.oem.OemCarAudioVolumeRequest.Builder setDuckedAudioAttributes(@NonNull java.util.List); } public interface OemCarAudioVolumeService extends android.car.oem.OemCarServiceComponent { method @NonNull public android.car.oem.OemCarVolumeChangeInfo getSuggestedGroupForVolumeChange(@NonNull android.car.oem.OemCarAudioVolumeRequest, int); } public abstract class OemCarService extends android.app.Service { ctor public OemCarService(); method @CallSuper public void dump(@Nullable java.io.FileDescriptor, @Nullable java.io.PrintWriter, @Nullable String[]); method @Nullable public android.car.oem.OemCarAudioDuckingService getOemAudioDuckingService(); method @Nullable public android.car.oem.OemCarAudioFocusService getOemAudioFocusService(); method @Nullable public android.car.oem.OemCarAudioVolumeService getOemAudioVolumeService(); method @NonNull public abstract android.car.CarVersion getSupportedCarVersion(); method @NonNull public final android.os.IBinder onBind(@Nullable android.content.Intent); method public abstract void onCarServiceReady(); method public final int onStartCommand(@Nullable android.content.Intent, int, int); } public interface OemCarServiceComponent { method public void dump(@Nullable java.io.PrintWriter, @Nullable String[]); method public void init(); method public void onCarServiceReady(); method public void release(); } public final class OemCarVolumeChangeInfo implements android.os.Parcelable { method public int describeContents(); method @Nullable public android.car.media.CarVolumeGroupInfo getChangedVolumeGroup(); method public boolean isVolumeChanged(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field @NonNull public static final android.car.oem.OemCarVolumeChangeInfo EMPTY_OEM_VOLUME_CHANGE; } public static final class OemCarVolumeChangeInfo.Builder { ctor public OemCarVolumeChangeInfo.Builder(boolean); method @NonNull public android.car.oem.OemCarVolumeChangeInfo build(); method @NonNull public android.car.oem.OemCarVolumeChangeInfo.Builder setChangedVolumeGroup(@NonNull android.car.media.CarVolumeGroupInfo); } } package android.car.os { public final class CarPerformanceManager { method @NonNull @RequiresPermission(android.car.Car.PERMISSION_MANAGE_THREAD_PRIORITY) public android.car.os.ThreadPolicyWithPriority getThreadPriority(); method @RequiresPermission(android.car.Car.PERMISSION_MANAGE_THREAD_PRIORITY) public void setThreadPriority(@NonNull android.car.os.ThreadPolicyWithPriority) throws android.car.os.CarPerformanceManager.SetSchedulerFailedException; } public static final class CarPerformanceManager.SetSchedulerFailedException extends java.lang.Exception { } public final class ThreadPolicyWithPriority implements android.os.Parcelable { ctor public ThreadPolicyWithPriority(int, @IntRange(from=0, to=99) int); method public int describeContents(); method public int getPolicy(); method @IntRange(from=0, to=99) public int getPriority(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int PRIORITY_MAX = 99; // 0x63 field public static final int PRIORITY_MIN = 1; // 0x1 field public static final int SCHED_DEFAULT = 0; // 0x0 field public static final int SCHED_FIFO = 1; // 0x1 field public static final int SCHED_RR = 2; // 0x2 } } package android.car.projection { public class ProjectionOptions { ctor public ProjectionOptions(android.os.Bundle); method @Nullable public android.app.ActivityOptions getActivityOptions(); method @Nullable public android.content.ComponentName getConsentActivity(); method public int getProjectionAccessPointMode(); method public int getUiMode(); method @NonNull public android.os.Bundle toBundle(); field public static final int AP_MODE_LOHS_DYNAMIC_CREDENTIALS = 2; // 0x2 field public static final int AP_MODE_LOHS_STATIC_CREDENTIALS = 3; // 0x3 field public static final int AP_MODE_NOT_SPECIFIED = 0; // 0x0 field public static final int AP_MODE_TETHERED = 1; // 0x1 field public static final int UI_MODE_BLENDED = 1; // 0x1 field public static final int UI_MODE_FULL_SCREEN = 0; // 0x0 } public final class ProjectionStatus implements android.os.Parcelable { method @NonNull public static android.car.projection.ProjectionStatus.Builder builder(String, int); method public int describeContents(); method @NonNull public java.util.List getConnectedMobileDevices(); method @NonNull public android.os.Bundle getExtras(); method @NonNull public String getPackageName(); method public int getState(); method public int getTransport(); method public boolean isActive(); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; field public static final int PROJECTION_STATE_ACTIVE_BACKGROUND = 3; // 0x3 field public static final int PROJECTION_STATE_ACTIVE_FOREGROUND = 2; // 0x2 field public static final int PROJECTION_STATE_ATTEMPTING = 4; // 0x4 field public static final int PROJECTION_STATE_FINISHING = 5; // 0x5 field public static final int PROJECTION_STATE_INACTIVE = 0; // 0x0 field public static final int PROJECTION_STATE_READY_TO_PROJECT = 1; // 0x1 field public static final int PROJECTION_TRANSPORT_NONE = 0; // 0x0 field public static final int PROJECTION_TRANSPORT_USB = 1; // 0x1 field public static final int PROJECTION_TRANSPORT_WIFI = 2; // 0x2 } public static final class ProjectionStatus.Builder { method @NonNull public android.car.projection.ProjectionStatus.Builder addMobileDevice(android.car.projection.ProjectionStatus.MobileDevice); method public android.car.projection.ProjectionStatus build(); method @NonNull public android.car.projection.ProjectionStatus.Builder setExtras(android.os.Bundle); method @NonNull public android.car.projection.ProjectionStatus.Builder setProjectionTransport(int); } public static final class ProjectionStatus.MobileDevice implements android.os.Parcelable { method @NonNull public static android.car.projection.ProjectionStatus.MobileDevice.Builder builder(int, String); method public int describeContents(); method @NonNull public java.util.List getAvailableTransports(); method @NonNull public android.os.Bundle getExtras(); method public int getId(); method @NonNull public String getName(); method public boolean isProjecting(); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; } public static final class ProjectionStatus.MobileDevice.Builder { method @NonNull public android.car.projection.ProjectionStatus.MobileDevice.Builder addTransport(int); method @NonNull public android.car.projection.ProjectionStatus.MobileDevice build(); method @NonNull public android.car.projection.ProjectionStatus.MobileDevice.Builder setExtras(android.os.Bundle); method @NonNull public android.car.projection.ProjectionStatus.MobileDevice.Builder setProjecting(boolean); } } package android.car.remoteaccess { public final class CarRemoteAccessManager { method @FlaggedApi("android.car.feature.serverless_remote_access") @Nullable @RequiresPermission(android.car.Car.PERMISSION_CONTROL_REMOTE_ACCESS) public android.car.remoteaccess.CarRemoteAccessManager.InVehicleTaskScheduler getInVehicleTaskScheduler(); method @FlaggedApi("android.car.feature.serverless_remote_access") @RequiresPermission(android.car.Car.PERMISSION_CONTROL_REMOTE_ACCESS) public boolean isTaskScheduleSupported(); method @RequiresPermission(android.car.Car.PERMISSION_CONTROL_REMOTE_ACCESS) public void setPowerStatePostTaskExecution(int, boolean); field public static final int NEXT_POWER_STATE_OFF = 2; // 0x2 field public static final int NEXT_POWER_STATE_ON = 1; // 0x1 field public static final int NEXT_POWER_STATE_SUSPEND_TO_DISK = 4; // 0x4 field public static final int NEXT_POWER_STATE_SUSPEND_TO_RAM = 3; // 0x3 field @FlaggedApi("android.car.feature.serverless_remote_access") public static final int TASK_TYPE_CUSTOM = 0; // 0x0 field @FlaggedApi("android.car.feature.serverless_remote_access") public static final int TASK_TYPE_ENTER_GARAGE_MODE = 1; // 0x1 } @FlaggedApi("android.car.feature.serverless_remote_access") public final class CarRemoteAccessManager.InVehicleTaskScheduler { method @FlaggedApi("android.car.feature.serverless_remote_access") @NonNull @RequiresPermission(android.car.Car.PERMISSION_CONTROL_REMOTE_ACCESS) public java.util.List getAllPendingScheduledTasks() throws android.car.remoteaccess.CarRemoteAccessManager.InVehicleTaskSchedulerException; method @FlaggedApi("android.car.feature.serverless_remote_access") @NonNull @RequiresPermission(android.car.Car.PERMISSION_CONTROL_REMOTE_ACCESS) public int[] getSupportedTaskTypes() throws android.car.remoteaccess.CarRemoteAccessManager.InVehicleTaskSchedulerException; method @FlaggedApi("android.car.feature.serverless_remote_access") @RequiresPermission(android.car.Car.PERMISSION_CONTROL_REMOTE_ACCESS) public boolean isTaskScheduled(@NonNull String) throws android.car.remoteaccess.CarRemoteAccessManager.InVehicleTaskSchedulerException; method @FlaggedApi("android.car.feature.serverless_remote_access") @RequiresPermission(android.car.Car.PERMISSION_CONTROL_REMOTE_ACCESS) public void scheduleTask(@NonNull android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo) throws android.car.remoteaccess.CarRemoteAccessManager.InVehicleTaskSchedulerException; method @FlaggedApi("android.car.feature.serverless_remote_access") @RequiresPermission(android.car.Car.PERMISSION_CONTROL_REMOTE_ACCESS) public void unscheduleAllTasks() throws android.car.remoteaccess.CarRemoteAccessManager.InVehicleTaskSchedulerException; method @FlaggedApi("android.car.feature.serverless_remote_access") @RequiresPermission(android.car.Car.PERMISSION_CONTROL_REMOTE_ACCESS) public void unscheduleTask(@NonNull String) throws android.car.remoteaccess.CarRemoteAccessManager.InVehicleTaskSchedulerException; } @FlaggedApi("android.car.feature.serverless_remote_access") public static final class CarRemoteAccessManager.InVehicleTaskSchedulerException extends java.lang.Exception { } @FlaggedApi("android.car.feature.serverless_remote_access") public static final class CarRemoteAccessManager.ScheduleInfo { method @FlaggedApi("android.car.feature.serverless_remote_access") public int getCount(); method @FlaggedApi("android.car.feature.serverless_remote_access") @NonNull public java.time.Duration getPeriodic(); method @FlaggedApi("android.car.feature.serverless_remote_access") @NonNull public String getScheduleId(); method @FlaggedApi("android.car.feature.serverless_remote_access") public long getStartTimeInEpochSeconds(); method @FlaggedApi("android.car.feature.serverless_remote_access") @NonNull public byte[] getTaskData(); method @FlaggedApi("android.car.feature.serverless_remote_access") public int getTaskType(); field @NonNull public static final java.time.Duration PERIODIC_DAILY; field @NonNull public static final java.time.Duration PERIODIC_WEEKLY; } @FlaggedApi("android.car.feature.serverless_remote_access") public static final class CarRemoteAccessManager.ScheduleInfo.Builder { ctor @FlaggedApi("android.car.feature.serverless_remote_access") public CarRemoteAccessManager.ScheduleInfo.Builder(@NonNull String, int, long); method @FlaggedApi("android.car.feature.serverless_remote_access") @NonNull public android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo build(); method @FlaggedApi("android.car.feature.serverless_remote_access") @NonNull public android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo.Builder setCount(int); method @FlaggedApi("android.car.feature.serverless_remote_access") @NonNull public android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo.Builder setPeriodic(@NonNull java.time.Duration); method @FlaggedApi("android.car.feature.serverless_remote_access") @NonNull public android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo.Builder setTaskData(@NonNull byte[]); } } package android.car.settings { public class CarSettings { } public static final class CarSettings.Global { field public static final String DISPLAY_INPUT_LOCK = "android.car.DISPLAY_INPUT_LOCK"; field public static final String DISPLAY_POWER_MODE = "android.car.DISPLAY_POWER_MODE"; field @FlaggedApi("android.car.feature.persist_ap_settings") public static final String ENABLE_PERSISTENT_TETHERING = "android.car.ENABLE_PERSISTENT_TETHERING"; field @FlaggedApi("android.car.feature.car_night_global_setting") public static final String FORCED_DAY_NIGHT_MODE = "android.car.FORCED_DAY_NIGHT_MODE"; field public static final String GLOBAL_VISIBLE_USER_ALLOCATION_PER_ZONE = "android.car.GLOBAL_VISIBLE_USER_ALLOCATION_PER_ZONE"; } public static final class CarSettings.Secure { field public static final String KEY_AUDIO_FOCUS_NAVIGATION_REJECTED_DURING_CALL = "android.car.KEY_AUDIO_FOCUS_NAVIGATION_REJECTED_DURING_CALL"; field public static final String KEY_AUDIO_PERSIST_VOLUME_GROUP_MUTE_STATES = "android.car.KEY_AUDIO_PERSIST_VOLUME_GROUP_MUTE_STATES"; field public static final String KEY_DRIVER_ALLOWED_TO_CONTROL_MEDIA = "android.car.DRIVER_ALLOWED_TO_CONTROL_MEDIA"; field public static final String KEY_ENABLE_INITIAL_NOTICE_SCREEN_TO_USER = "android.car.ENABLE_INITIAL_NOTICE_SCREEN_TO_USER"; field public static final String KEY_PACKAGES_DISABLED_ON_RESOURCE_OVERUSE = "android.car.KEY_PACKAGES_DISABLED_ON_RESOURCE_OVERUSE"; field public static final String KEY_ROTARY_KEY_EVENT_FILTER = "android.car.ROTARY_KEY_EVENT_FILTER"; field public static final String KEY_SETUP_WIZARD_IN_PROGRESS = "android.car.SETUP_WIZARD_IN_PROGRESS"; field public static final String KEY_UNACCEPTED_TOS_DISABLED_APPS = "android.car.KEY_UNACCEPTED_TOS_DISABLED_APPS"; field public static final String KEY_USER_TOS_ACCEPTED = "android.car.KEY_USER_TOS_ACCEPTED"; field public static final String VISIBLE_USER_ALLOCATION_PER_ZONE = "android.car.VISIBLE_USER_ALLOCATION_PER_ZONE"; } } package android.car.storagemonitoring { public final class CarStorageMonitoringManager { method @Deprecated @RequiresPermission(android.car.Car.PERMISSION_STORAGE_MONITORING) public java.util.List getAggregateIoStats(); method @Deprecated @RequiresPermission(android.car.Car.PERMISSION_STORAGE_MONITORING) public java.util.List getBootIoStats(); method @Deprecated @RequiresPermission(android.car.Car.PERMISSION_STORAGE_MONITORING) public java.util.List getIoStatsDeltas(); method @RequiresPermission(android.car.Car.PERMISSION_STORAGE_MONITORING) public int getPreEolIndicatorStatus(); method @Deprecated @RequiresPermission(android.car.Car.PERMISSION_STORAGE_MONITORING) public long getShutdownDiskWriteAmount(); method @Deprecated @RequiresPermission(android.car.Car.PERMISSION_STORAGE_MONITORING) public android.car.storagemonitoring.WearEstimate getWearEstimate(); method @Deprecated @RequiresPermission(android.car.Car.PERMISSION_STORAGE_MONITORING) public java.util.List getWearEstimateHistory(); method @Deprecated @RequiresPermission(android.car.Car.PERMISSION_STORAGE_MONITORING) public void registerListener(android.car.storagemonitoring.CarStorageMonitoringManager.IoStatsListener); method @Deprecated @RequiresPermission(android.car.Car.PERMISSION_STORAGE_MONITORING) public void unregisterListener(android.car.storagemonitoring.CarStorageMonitoringManager.IoStatsListener); field public static final String INTENT_EXCESSIVE_IO = "android.car.storagemonitoring.EXCESSIVE_IO"; field public static final int PRE_EOL_INFO_NORMAL = 1; // 0x1 field public static final int PRE_EOL_INFO_UNKNOWN = 0; // 0x0 field public static final int PRE_EOL_INFO_URGENT = 3; // 0x3 field public static final int PRE_EOL_INFO_WARNING = 2; // 0x2 field public static final long SHUTDOWN_COST_INFO_MISSING = -1L; // 0xffffffffffffffffL } @Deprecated public static interface CarStorageMonitoringManager.IoStatsListener { method @Deprecated public void onSnapshot(android.car.storagemonitoring.IoStats); } @Deprecated public final class IoStats implements android.os.Parcelable { ctor @Deprecated public IoStats(java.util.List, long); ctor @Deprecated public IoStats(android.os.Parcel); method @Deprecated public int describeContents(); method @Deprecated public android.car.storagemonitoring.IoStatsEntry.Metrics getBackgroundTotals(); method @Deprecated public android.car.storagemonitoring.IoStatsEntry.Metrics getForegroundTotals(); method @Deprecated public java.util.List getStats(); method @Deprecated public long getTimestamp(); method @Deprecated public android.car.storagemonitoring.IoStatsEntry.Metrics getTotals(); method @Deprecated public android.car.storagemonitoring.IoStatsEntry getUserIdStats(int); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated public static final android.os.Parcelable.Creator CREATOR; } @Deprecated public final class IoStatsEntry implements android.os.Parcelable { ctor @Deprecated public IoStatsEntry(int, long, android.car.storagemonitoring.IoStatsEntry.Metrics, android.car.storagemonitoring.IoStatsEntry.Metrics); ctor @Deprecated public IoStatsEntry(android.os.Parcel); ctor @Deprecated public IoStatsEntry(android.car.storagemonitoring.UidIoRecord, long); method @Deprecated public int describeContents(); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated public static final android.os.Parcelable.Creator CREATOR; field @Deprecated public final android.car.storagemonitoring.IoStatsEntry.Metrics background; field @Deprecated public final android.car.storagemonitoring.IoStatsEntry.Metrics foreground; field @Deprecated public final long runtimeMillis; field @Deprecated public final int uid; } @Deprecated public static final class IoStatsEntry.Metrics implements android.os.Parcelable { ctor @Deprecated public IoStatsEntry.Metrics(long, long, long, long, long); ctor @Deprecated public IoStatsEntry.Metrics(android.os.Parcel); method @Deprecated public int describeContents(); method @Deprecated public void writeToParcel(android.os.Parcel, int); field @Deprecated public static final android.os.Parcelable.Creator CREATOR; field @Deprecated public final long bytesRead; field @Deprecated public final long bytesReadFromStorage; field @Deprecated public final long bytesWritten; field @Deprecated public final long bytesWrittenToStorage; field @Deprecated public final long fsyncCalls; } public final class LifetimeWriteInfo implements android.os.Parcelable { ctor public LifetimeWriteInfo(String, String, long); ctor public LifetimeWriteInfo(android.os.Parcel); method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; field public final String fstype; field public final String partition; field public final long writtenBytes; } public final class UidIoRecord { ctor public UidIoRecord(int, long, long, long, long, long, long, long, long, long, long); field public final long background_fsync; field public final long background_rchar; field public final long background_read_bytes; field public final long background_wchar; field public final long background_write_bytes; field public final long foreground_fsync; field public final long foreground_rchar; field public final long foreground_read_bytes; field public final long foreground_wchar; field public final long foreground_write_bytes; field public final int uid; } public final class WearEstimate implements android.os.Parcelable { ctor public WearEstimate(int, int); ctor public WearEstimate(android.os.Parcel); method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; field public static final int UNKNOWN = -1; // 0xffffffff field @IntRange(from=0xffffffff, to=100) public final int typeA; field @IntRange(from=0xffffffff, to=100) public final int typeB; } public final class WearEstimateChange implements android.os.Parcelable { ctor public WearEstimateChange(android.car.storagemonitoring.WearEstimate, android.car.storagemonitoring.WearEstimate, long, java.time.Instant, boolean); ctor public WearEstimateChange(android.os.Parcel); method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; field @NonNull public final java.time.Instant dateAtChange; field public final boolean isAcceptableDegradation; field @NonNull public final android.car.storagemonitoring.WearEstimate newEstimate; field @NonNull public final android.car.storagemonitoring.WearEstimate oldEstimate; field public final long uptimeAtChange; } } package android.car.telemetry { public final class CarTelemetryManager { method @RequiresPermission(android.car.Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE) public void addMetricsConfig(@NonNull String, @NonNull byte[], @NonNull java.util.concurrent.Executor, @NonNull android.car.telemetry.CarTelemetryManager.AddMetricsConfigCallback); method @RequiresPermission(android.car.Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE) public void clearReportReadyListener(); method @RequiresPermission(android.car.Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE) public void getAllFinishedReports(@NonNull java.util.concurrent.Executor, @NonNull android.car.telemetry.CarTelemetryManager.MetricsReportCallback); method @RequiresPermission(android.car.Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE) public void getFinishedReport(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.car.telemetry.CarTelemetryManager.MetricsReportCallback); method @RequiresPermission(android.car.Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE) public void removeAllMetricsConfigs(); method @RequiresPermission(android.car.Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE) public void removeMetricsConfig(@NonNull String); method @RequiresPermission(android.car.Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE) public void setReportReadyListener(@NonNull java.util.concurrent.Executor, @NonNull android.car.telemetry.CarTelemetryManager.ReportReadyListener); field public static final int STATUS_ADD_METRICS_CONFIG_ALREADY_EXISTS = 1; // 0x1 field public static final int STATUS_ADD_METRICS_CONFIG_PARSE_FAILED = 3; // 0x3 field public static final int STATUS_ADD_METRICS_CONFIG_SIGNATURE_VERIFICATION_FAILED = 4; // 0x4 field public static final int STATUS_ADD_METRICS_CONFIG_SUCCEEDED = 0; // 0x0 field public static final int STATUS_ADD_METRICS_CONFIG_UNKNOWN = 5; // 0x5 field public static final int STATUS_ADD_METRICS_CONFIG_VERSION_TOO_OLD = 2; // 0x2 field public static final int STATUS_GET_METRICS_CONFIG_DOES_NOT_EXIST = 4; // 0x4 field public static final int STATUS_GET_METRICS_CONFIG_FINISHED = 0; // 0x0 field public static final int STATUS_GET_METRICS_CONFIG_INTERIM_RESULTS = 2; // 0x2 field public static final int STATUS_GET_METRICS_CONFIG_PENDING = 1; // 0x1 field public static final int STATUS_GET_METRICS_CONFIG_RUNTIME_ERROR = 3; // 0x3 } public static interface CarTelemetryManager.AddMetricsConfigCallback { method public void onAddMetricsConfigStatus(@NonNull String, int); } public static interface CarTelemetryManager.MetricsReportCallback { method public void onResult(@NonNull String, @Nullable android.os.PersistableBundle, @Nullable byte[], int); } public static interface CarTelemetryManager.ReportReadyListener { method public void onReady(@NonNull String); } } package android.car.user { public final class CarUserManager { method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public void addListener(@NonNull java.util.concurrent.Executor, @NonNull android.car.user.CarUserManager.UserLifecycleListener); method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public void addListener(@NonNull java.util.concurrent.Executor, @NonNull android.car.user.UserLifecycleEventFilter, @NonNull android.car.user.CarUserManager.UserLifecycleListener); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public void createUser(@NonNull android.car.user.UserCreationRequest, @NonNull java.util.concurrent.Executor, @NonNull android.car.ResultCallback); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean isValidUser(@NonNull android.os.UserHandle); method @NonNull public static String lifecycleEventTypeToString(int); method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public void removeListener(@NonNull android.car.user.CarUserManager.UserLifecycleListener); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public void removeUser(@NonNull android.car.user.UserRemovalRequest, @NonNull java.util.concurrent.Executor, @NonNull android.car.ResultCallback); method @RequiresPermission(android.Manifest.permission.MANAGE_USERS) public void setUserSwitchUiCallback(@NonNull java.util.concurrent.Executor, @NonNull android.car.user.CarUserManager.UserHandleSwitchUiCallback); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public void startUser(@NonNull android.car.user.UserStartRequest, @NonNull java.util.concurrent.Executor, @NonNull android.car.ResultCallback); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public void stopUser(@NonNull android.car.user.UserStopRequest, @NonNull java.util.concurrent.Executor, @NonNull android.car.ResultCallback); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public void switchUser(@NonNull android.car.user.UserSwitchRequest, @NonNull java.util.concurrent.Executor, @NonNull android.car.ResultCallback); method @FlaggedApi("android.car.feature.switch_user_ignoring_uxr") @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public void switchUserIgnoringUxRestriction(@NonNull android.car.user.UserSwitchRequest, @NonNull java.util.concurrent.Executor, @NonNull android.car.ResultCallback); field public static final int USER_LIFECYCLE_EVENT_TYPE_CREATED = 8; // 0x8 field public static final int USER_LIFECYCLE_EVENT_TYPE_INVISIBLE = 11; // 0xb field public static final int USER_LIFECYCLE_EVENT_TYPE_REMOVED = 9; // 0x9 field public static final int USER_LIFECYCLE_EVENT_TYPE_STARTING = 1; // 0x1 field public static final int USER_LIFECYCLE_EVENT_TYPE_STOPPED = 6; // 0x6 field public static final int USER_LIFECYCLE_EVENT_TYPE_STOPPING = 5; // 0x5 field public static final int USER_LIFECYCLE_EVENT_TYPE_SWITCHING = 2; // 0x2 field public static final int USER_LIFECYCLE_EVENT_TYPE_UNLOCKED = 4; // 0x4 field public static final int USER_LIFECYCLE_EVENT_TYPE_UNLOCKING = 3; // 0x3 field public static final int USER_LIFECYCLE_EVENT_TYPE_VISIBLE = 10; // 0xa } public static interface CarUserManager.UserHandleSwitchUiCallback { method public void onUserSwitchStart(@NonNull android.os.UserHandle); } public static final class CarUserManager.UserLifecycleEvent { method public int getEventType(); method @Nullable public android.os.UserHandle getPreviousUserHandle(); method @NonNull public android.os.UserHandle getUserHandle(); } public static interface CarUserManager.UserLifecycleListener { method public void onEvent(@NonNull android.car.user.CarUserManager.UserLifecycleEvent); } public final class UserCreationRequest implements android.os.Parcelable { method public int describeContents(); method @Nullable public String getName(); method public boolean isAdmin(); method public boolean isEphemeral(); method public boolean isGuest(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class UserCreationRequest.Builder { ctor public UserCreationRequest.Builder(); method @NonNull public android.car.user.UserCreationRequest build(); method @NonNull public android.car.user.UserCreationRequest.Builder setAdmin(); method @NonNull public android.car.user.UserCreationRequest.Builder setEphemeral(); method @NonNull public android.car.user.UserCreationRequest.Builder setGuest(); method @NonNull public android.car.user.UserCreationRequest.Builder setName(@NonNull String); } public final class UserCreationResult implements android.os.Parcelable { method public int describeContents(); method @Nullable public Integer getAndroidFailureStatus(); method @Nullable public String getErrorMessage(); method @Nullable public String getInternalErrorMessage(); method public int getStatus(); method @Nullable public android.os.UserHandle getUser(); method public boolean isSuccess(); method @NonNull public static String statusToString(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int STATUS_ANDROID_FAILURE = 2; // 0x2 field public static final int STATUS_HAL_FAILURE = 3; // 0x3 field public static final int STATUS_HAL_INTERNAL_FAILURE = 4; // 0x4 field public static final int STATUS_INVALID_REQUEST = 5; // 0x5 field public static final int STATUS_SUCCESSFUL = 1; // 0x1 } public final class UserLifecycleEventFilter implements android.os.Parcelable { method public boolean apply(@NonNull android.car.user.CarUserManager.UserLifecycleEvent); method public int describeContents(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class UserLifecycleEventFilter.Builder { ctor public UserLifecycleEventFilter.Builder(); method @NonNull public android.car.user.UserLifecycleEventFilter.Builder addEventType(int); method @NonNull public android.car.user.UserLifecycleEventFilter.Builder addUser(@NonNull android.os.UserHandle); method @NonNull public android.car.user.UserLifecycleEventFilter build(); } public final class UserRemovalRequest implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.os.UserHandle getUserHandle(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class UserRemovalRequest.Builder { ctor public UserRemovalRequest.Builder(@NonNull android.os.UserHandle); method @NonNull public android.car.user.UserRemovalRequest build(); } public final class UserRemovalResult implements android.os.Parcelable { method public int describeContents(); method public int getStatus(); method public boolean isSuccess(); method @NonNull public static String statusToString(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int STATUS_ANDROID_FAILURE = 2; // 0x2 field public static final int STATUS_INVALID_REQUEST = 5; // 0x5 field public static final int STATUS_SUCCESSFUL = 1; // 0x1 field public static final int STATUS_SUCCESSFUL_LAST_ADMIN_REMOVED = 102; // 0x66 field public static final int STATUS_SUCCESSFUL_LAST_ADMIN_SET_EPHEMERAL = 104; // 0x68 field public static final int STATUS_SUCCESSFUL_SET_EPHEMERAL = 103; // 0x67 field public static final int STATUS_USER_DOES_NOT_EXIST = 101; // 0x65 } public final class UserStartRequest implements android.os.Parcelable { method public int describeContents(); method public int getDisplayId(); method @NonNull public android.os.UserHandle getUserHandle(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class UserStartRequest.Builder { ctor public UserStartRequest.Builder(@NonNull android.os.UserHandle); method @NonNull public android.car.user.UserStartRequest build(); method @NonNull public android.car.user.UserStartRequest.Builder setDisplayId(int); } public final class UserStartResponse implements android.os.Parcelable { method public int describeContents(); method public int getStatus(); method public boolean isSuccess(); method @NonNull public static String statusToString(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int STATUS_ANDROID_FAILURE = 2; // 0x2 field public static final int STATUS_DISPLAY_INVALID = 104; // 0x68 field public static final int STATUS_DISPLAY_UNAVAILABLE = 105; // 0x69 field public static final int STATUS_SUCCESSFUL = 1; // 0x1 field public static final int STATUS_SUCCESSFUL_USER_ALREADY_VISIBLE_ON_DISPLAY = 103; // 0x67 field public static final int STATUS_SUCCESSFUL_USER_IS_CURRENT_USER = 101; // 0x65 field public static final int STATUS_UNSUPPORTED_PLATFORM_FAILURE = 7; // 0x7 field public static final int STATUS_USER_ASSIGNED_TO_ANOTHER_DISPLAY = 107; // 0x6b field public static final int STATUS_USER_DOES_NOT_EXIST = 102; // 0x66 field public static final int STATUS_USER_INVALID = 106; // 0x6a } public final class UserStopRequest implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.os.UserHandle getUserHandle(); method public boolean isForce(); method public boolean isWithDelayedLocking(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class UserStopRequest.Builder { ctor public UserStopRequest.Builder(@NonNull android.os.UserHandle); method @NonNull public android.car.user.UserStopRequest build(); method @NonNull public android.car.user.UserStopRequest.Builder setForce(); method @NonNull public android.car.user.UserStopRequest.Builder withDelayedLocking(boolean); } public final class UserStopResponse implements android.os.Parcelable { method public int describeContents(); method public int getStatus(); method public static boolean isSuccess(int); method public boolean isSuccess(); method @NonNull public static String statusToString(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int STATUS_ANDROID_FAILURE = 2; // 0x2 field public static final int STATUS_FAILURE_CURRENT_USER = 103; // 0x67 field public static final int STATUS_FAILURE_SYSTEM_USER = 102; // 0x66 field public static final int STATUS_SUCCESSFUL = 1; // 0x1 field public static final int STATUS_USER_DOES_NOT_EXIST = 101; // 0x65 } public final class UserSwitchRequest implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.os.UserHandle getUserHandle(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class UserSwitchRequest.Builder { ctor public UserSwitchRequest.Builder(@NonNull android.os.UserHandle); method @NonNull public android.car.user.UserSwitchRequest build(); } public final class UserSwitchResult implements android.os.Parcelable { method public int describeContents(); method @Nullable public Integer getAndroidFailureStatus(); method @Nullable public String getErrorMessage(); method public int getStatus(); method public boolean isSuccess(); method @NonNull public static String statusToString(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int STATUS_ANDROID_FAILURE = 2; // 0x2 field public static final int STATUS_HAL_FAILURE = 3; // 0x3 field public static final int STATUS_HAL_INTERNAL_FAILURE = 4; // 0x4 field public static final int STATUS_INVALID_REQUEST = 5; // 0x5 field public static final int STATUS_NOT_LOGGED_IN = 105; // 0x69 field public static final int STATUS_NOT_SWITCHABLE = 104; // 0x68 field public static final int STATUS_OK_USER_ALREADY_IN_FOREGROUND = 101; // 0x65 field public static final int STATUS_SUCCESSFUL = 1; // 0x1 field public static final int STATUS_TARGET_USER_ABANDONED_DUE_TO_A_NEW_REQUEST = 103; // 0x67 field public static final int STATUS_TARGET_USER_ALREADY_BEING_SWITCHED_TO = 102; // 0x66 field public static final int STATUS_UX_RESTRICTION_FAILURE = 6; // 0x6 } } package android.car.view { public final class DisplayHelper { method public static int getPhysicalPort(@NonNull android.view.Display); method @Nullable public static String getUniqueId(@NonNull android.view.Display); field public static final int INVALID_PORT = -1; // 0xffffffff } public final class MirroredSurfaceView extends android.view.SurfaceView { ctor public MirroredSurfaceView(@NonNull android.content.Context); ctor public MirroredSurfaceView(@NonNull android.content.Context, @Nullable android.util.AttributeSet); ctor public MirroredSurfaceView(@NonNull android.content.Context, @Nullable android.util.AttributeSet, int); ctor public MirroredSurfaceView(@NonNull android.content.Context, @Nullable android.util.AttributeSet, int, int); method @MainThread @RequiresPermission(android.car.Car.PERMISSION_ACCESS_MIRRORRED_SURFACE) public boolean mirrorSurface(@NonNull android.os.IBinder); method @MainThread public void release(); method @MainThread public void setObscuredTouchRegion(@Nullable android.graphics.Region); } public final class WindowManagerHelper { method public static void setInputFeatureSpy(@NonNull android.view.WindowManager.LayoutParams); method @RequiresPermission(android.Manifest.permission.INTERNAL_SYSTEM_WINDOW) public static void setTrustedOverlay(@NonNull android.view.WindowManager.LayoutParams); } } package android.car.vms { public final class VmsAssociatedLayer implements android.os.Parcelable { ctor public VmsAssociatedLayer(@NonNull android.car.vms.VmsLayer, @NonNull java.util.Set); method public int describeContents(); method @NonNull public java.util.Set getProviderIds(); method @Deprecated @NonNull public java.util.Set getPublisherIds(); method @NonNull public android.car.vms.VmsLayer getVmsLayer(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class VmsAvailableLayers implements android.os.Parcelable { ctor @Deprecated public VmsAvailableLayers(@NonNull java.util.Set, int); ctor public VmsAvailableLayers(int, @NonNull java.util.Set); method public int describeContents(); method @NonNull public java.util.Set getAssociatedLayers(); method @Deprecated public int getSequence(); method public int getSequenceNumber(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class VmsClient { method @NonNull @RequiresPermission(anyOf={android.car.Car.PERMISSION_VMS_PUBLISHER, android.car.Car.PERMISSION_VMS_SUBSCRIBER}) public android.car.vms.VmsAvailableLayers getAvailableLayers(); method @Nullable @RequiresPermission(anyOf={android.car.Car.PERMISSION_VMS_PUBLISHER, android.car.Car.PERMISSION_VMS_SUBSCRIBER}) public byte[] getProviderDescription(int); method @NonNull @RequiresPermission(anyOf={android.car.Car.PERMISSION_VMS_PUBLISHER, android.car.Car.PERMISSION_VMS_SUBSCRIBER}) public android.car.vms.VmsSubscriptionState getSubscriptionState(); method @RequiresPermission(android.car.Car.PERMISSION_VMS_SUBSCRIBER) public boolean isMonitoringEnabled(); method @RequiresPermission(android.car.Car.PERMISSION_VMS_PUBLISHER) public void publishPacket(int, @NonNull android.car.vms.VmsLayer, @NonNull byte[]); method @RequiresPermission(android.car.Car.PERMISSION_VMS_PUBLISHER) public int registerProvider(@NonNull byte[]); method @RequiresPermission(android.car.Car.PERMISSION_VMS_SUBSCRIBER) public void setMonitoringEnabled(boolean); method @RequiresPermission(android.car.Car.PERMISSION_VMS_PUBLISHER) public void setProviderOfferings(int, @NonNull java.util.Set); method @RequiresPermission(android.car.Car.PERMISSION_VMS_SUBSCRIBER) public void setSubscriptions(@NonNull java.util.Set); method @RequiresPermission(android.car.Car.PERMISSION_VMS_PUBLISHER) public void unregisterProvider(int); } public final class VmsClientManager { method @RequiresPermission(anyOf={android.car.Car.PERMISSION_VMS_PUBLISHER, android.car.Car.PERMISSION_VMS_SUBSCRIBER}) public void registerVmsClientCallback(@NonNull java.util.concurrent.Executor, @NonNull android.car.vms.VmsClientManager.VmsClientCallback); method @RequiresPermission(anyOf={android.car.Car.PERMISSION_VMS_PUBLISHER, android.car.Car.PERMISSION_VMS_SUBSCRIBER}) public void unregisterVmsClientCallback(@NonNull android.car.vms.VmsClientManager.VmsClientCallback); } public static interface VmsClientManager.VmsClientCallback { method public void onClientConnected(@NonNull android.car.vms.VmsClient); method public void onLayerAvailabilityChanged(@NonNull android.car.vms.VmsAvailableLayers); method public void onPacketReceived(int, @NonNull android.car.vms.VmsLayer, @NonNull byte[]); method public void onSubscriptionStateChanged(@NonNull android.car.vms.VmsSubscriptionState); } public final class VmsLayer implements android.os.Parcelable { ctor public VmsLayer(int, int, int); method public int describeContents(); method public int getChannel(); method @Deprecated public int getSubtype(); method public int getType(); method public int getVersion(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class VmsLayerDependency implements android.os.Parcelable { ctor public VmsLayerDependency(@NonNull android.car.vms.VmsLayer); ctor public VmsLayerDependency(@NonNull android.car.vms.VmsLayer, @NonNull java.util.Set); method public int describeContents(); method @NonNull public java.util.Set getDependencies(); method @NonNull public android.car.vms.VmsLayer getLayer(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } @Deprecated public final class VmsLayersOffering implements android.os.Parcelable { ctor @Deprecated public VmsLayersOffering(@NonNull java.util.Set, int); method @Deprecated public int describeContents(); method @Deprecated @NonNull public java.util.Set getDependencies(); method @Deprecated public int getPublisherId(); method @Deprecated public void writeToParcel(@NonNull android.os.Parcel, int); field @Deprecated @NonNull public static final android.os.Parcelable.Creator CREATOR; } @Deprecated public final class VmsOperationRecorder { method @Deprecated public void addHalSubscription(int, android.car.vms.VmsLayer); method @Deprecated public void addPromiscuousSubscription(int); method @Deprecated public void addSubscription(int, android.car.vms.VmsLayer); method @Deprecated public static android.car.vms.VmsOperationRecorder get(); method @Deprecated public void getPublisherId(int); method @Deprecated public void removeHalSubscription(int, android.car.vms.VmsLayer); method @Deprecated public void removePromiscuousSubscription(int); method @Deprecated public void removeSubscription(int, android.car.vms.VmsLayer); method @Deprecated public void setHalPublisherLayersOffering(android.car.vms.VmsLayersOffering); method @Deprecated public void setLayersOffering(android.car.vms.VmsLayersOffering); method @Deprecated public void setPublisherLayersOffering(android.car.vms.VmsLayersOffering); method @Deprecated public void startMonitoring(); method @Deprecated public void stopMonitoring(); method @Deprecated public void subscribe(android.car.vms.VmsLayer); method @Deprecated public void subscribe(android.car.vms.VmsLayer, int); method @Deprecated public void unsubscribe(android.car.vms.VmsLayer); method @Deprecated public void unsubscribe(android.car.vms.VmsLayer, int); } @Deprecated public abstract class VmsPublisherClientService extends android.app.Service { ctor @Deprecated public VmsPublisherClientService(); method @Deprecated public final int getPublisherId(byte[]); method @Deprecated public final android.car.vms.VmsSubscriptionState getSubscriptions(); method @Deprecated public android.os.IBinder onBind(android.content.Intent); method @Deprecated protected abstract void onVmsPublisherServiceReady(); method @Deprecated public abstract void onVmsSubscriptionChange(@NonNull android.car.vms.VmsSubscriptionState); method @Deprecated public final void publish(@NonNull android.car.vms.VmsLayer, int, byte[]); method @Deprecated public final void setLayersOffering(@NonNull android.car.vms.VmsLayersOffering); } @Deprecated public final class VmsSubscriberManager { method @Deprecated public void clearVmsSubscriberClientCallback(); method @Deprecated @NonNull public android.car.vms.VmsAvailableLayers getAvailableLayers(); method @Deprecated @NonNull public byte[] getPublisherInfo(int); method @Deprecated public void setVmsSubscriberClientCallback(@NonNull java.util.concurrent.Executor, @NonNull android.car.vms.VmsSubscriberManager.VmsSubscriberClientCallback); method @Deprecated public void startMonitoring(); method @Deprecated public void stopMonitoring(); method @Deprecated public void subscribe(@NonNull android.car.vms.VmsLayer); method @Deprecated public void subscribe(@NonNull android.car.vms.VmsLayer, int); method @Deprecated public void unsubscribe(@NonNull android.car.vms.VmsLayer); method @Deprecated public void unsubscribe(@NonNull android.car.vms.VmsLayer, int); } @Deprecated public static interface VmsSubscriberManager.VmsSubscriberClientCallback { method @Deprecated public void onLayersAvailabilityChanged(@NonNull android.car.vms.VmsAvailableLayers); method @Deprecated public void onVmsMessageReceived(@NonNull android.car.vms.VmsLayer, byte[]); } public final class VmsSubscriptionState implements android.os.Parcelable { ctor public VmsSubscriptionState(int, @NonNull java.util.Set, @NonNull java.util.Set); method public int describeContents(); method @NonNull public java.util.Set getAssociatedLayers(); method @NonNull public java.util.Set getLayers(); method public int getSequenceNumber(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.car.watchdog { public final class CarWatchdogManager { method @RequiresPermission(android.car.Car.PERMISSION_COLLECT_CAR_WATCHDOG_METRICS) public void addResourceOveruseListenerForSystem(@NonNull java.util.concurrent.Executor, int, @NonNull android.car.watchdog.CarWatchdogManager.ResourceOveruseListener); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_COLLECT_CAR_WATCHDOG_METRICS) public java.util.List getAllResourceOveruseStats(int, int, int); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_WATCHDOG_CONFIG) public java.util.List getPackageKillableStatesAsUser(@NonNull android.os.UserHandle); method @Nullable @RequiresPermission(anyOf={android.car.Car.PERMISSION_CONTROL_CAR_WATCHDOG_CONFIG, android.car.Car.PERMISSION_COLLECT_CAR_WATCHDOG_METRICS}) public java.util.List getResourceOveruseConfigurations(int); method @NonNull @RequiresPermission(android.car.Car.PERMISSION_COLLECT_CAR_WATCHDOG_METRICS) public android.car.watchdog.ResourceOveruseStats getResourceOveruseStatsForUserPackage(@NonNull String, @NonNull android.os.UserHandle, int, int); method @RequiresPermission(android.car.Car.PERMISSION_USE_CAR_WATCHDOG) public void registerClient(@NonNull java.util.concurrent.Executor, @NonNull android.car.watchdog.CarWatchdogManager.CarWatchdogClientCallback, int); method @RequiresPermission(android.car.Car.PERMISSION_COLLECT_CAR_WATCHDOG_METRICS) public void removeResourceOveruseListenerForSystem(@NonNull android.car.watchdog.CarWatchdogManager.ResourceOveruseListener); method @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_WATCHDOG_CONFIG) public void setKillablePackageAsUser(@NonNull String, @NonNull android.os.UserHandle, boolean); method @RequiresPermission(android.car.Car.PERMISSION_CONTROL_CAR_WATCHDOG_CONFIG) public int setResourceOveruseConfigurations(@NonNull java.util.List, int); method @RequiresPermission(android.car.Car.PERMISSION_USE_CAR_WATCHDOG) public void tellClientAlive(@NonNull android.car.watchdog.CarWatchdogManager.CarWatchdogClientCallback, int); method @RequiresPermission(android.car.Car.PERMISSION_USE_CAR_WATCHDOG) public void unregisterClient(@NonNull android.car.watchdog.CarWatchdogManager.CarWatchdogClientCallback); field public static final int FLAG_MINIMUM_STATS_IO_100_MB = 2; // 0x2 field public static final int FLAG_MINIMUM_STATS_IO_1_GB = 4; // 0x4 field public static final int FLAG_MINIMUM_STATS_IO_1_MB = 1; // 0x1 field public static final int RETURN_CODE_ERROR = -1; // 0xffffffff field public static final int RETURN_CODE_SUCCESS = 0; // 0x0 field public static final int TIMEOUT_CRITICAL = 0; // 0x0 field public static final int TIMEOUT_MODERATE = 1; // 0x1 field public static final int TIMEOUT_NORMAL = 2; // 0x2 } public abstract static class CarWatchdogManager.CarWatchdogClientCallback { ctor public CarWatchdogManager.CarWatchdogClientCallback(); method public boolean onCheckHealthStatus(int, int); method public void onPrepareProcessTermination(); } public final class IoOveruseAlertThreshold implements android.os.Parcelable { method public int describeContents(); method public long getDurationInSeconds(); method public long getWrittenBytesPerSecond(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class IoOveruseConfiguration implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.Map getAppCategorySpecificThresholds(); method @NonNull public android.car.watchdog.PerStateBytes getComponentLevelThresholds(); method @NonNull public java.util.Map getPackageSpecificThresholds(); method @NonNull public java.util.List getSystemWideThresholds(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class IoOveruseConfiguration.Builder { ctor public IoOveruseConfiguration.Builder(@NonNull android.car.watchdog.PerStateBytes, @NonNull java.util.Map, @NonNull java.util.Map, @NonNull java.util.List); method @NonNull public android.car.watchdog.IoOveruseConfiguration.Builder addAppCategorySpecificThresholds(@NonNull String, @NonNull android.car.watchdog.PerStateBytes); method @NonNull public android.car.watchdog.IoOveruseConfiguration.Builder addPackageSpecificThresholds(@NonNull String, @NonNull android.car.watchdog.PerStateBytes); method @NonNull public android.car.watchdog.IoOveruseConfiguration.Builder addSystemWideThresholds(@NonNull android.car.watchdog.IoOveruseAlertThreshold); method @NonNull public android.car.watchdog.IoOveruseConfiguration build(); method @NonNull public android.car.watchdog.IoOveruseConfiguration.Builder setAppCategorySpecificThresholds(@NonNull java.util.Map); method @NonNull public android.car.watchdog.IoOveruseConfiguration.Builder setComponentLevelThresholds(@NonNull android.car.watchdog.PerStateBytes); method @NonNull public android.car.watchdog.IoOveruseConfiguration.Builder setPackageSpecificThresholds(@NonNull java.util.Map); method @NonNull public android.car.watchdog.IoOveruseConfiguration.Builder setSystemWideThresholds(@NonNull java.util.List); } public final class PackageKillableState implements android.os.Parcelable { method public int describeContents(); method public int getKillableState(); method @NonNull public String getPackageName(); method public int getUserId(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int KILLABLE_STATE_NEVER = 3; // 0x3 field public static final int KILLABLE_STATE_NO = 2; // 0x2 field public static final int KILLABLE_STATE_YES = 1; // 0x1 } public final class ResourceOveruseConfiguration implements android.os.Parcelable { method public int describeContents(); method public int getComponentType(); method @Nullable public android.car.watchdog.IoOveruseConfiguration getIoOveruseConfiguration(); method @NonNull public java.util.Map getPackagesToAppCategoryTypes(); method @NonNull public java.util.List getSafeToKillPackages(); method @NonNull public java.util.List getVendorPackagePrefixes(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final String APPLICATION_CATEGORY_TYPE_MAPS = "android.car.watchdog.app.category.MAPS"; field public static final String APPLICATION_CATEGORY_TYPE_MEDIA = "android.car.watchdog.app.category.MEDIA"; field public static final int COMPONENT_TYPE_SYSTEM = 1; // 0x1 field public static final int COMPONENT_TYPE_THIRD_PARTY = 3; // 0x3 field public static final int COMPONENT_TYPE_VENDOR = 2; // 0x2 field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class ResourceOveruseConfiguration.Builder { ctor public ResourceOveruseConfiguration.Builder(int, @NonNull java.util.List, @NonNull java.util.List, @NonNull java.util.Map); method @NonNull public android.car.watchdog.ResourceOveruseConfiguration.Builder addPackagesToAppCategoryTypes(@NonNull String, @NonNull String); method @NonNull public android.car.watchdog.ResourceOveruseConfiguration.Builder addSafeToKillPackages(@NonNull String); method @NonNull public android.car.watchdog.ResourceOveruseConfiguration.Builder addVendorPackagePrefixes(@NonNull String); method @NonNull public android.car.watchdog.ResourceOveruseConfiguration build(); method @NonNull public android.car.watchdog.ResourceOveruseConfiguration.Builder setComponentType(int); method @NonNull public android.car.watchdog.ResourceOveruseConfiguration.Builder setIoOveruseConfiguration(@NonNull android.car.watchdog.IoOveruseConfiguration); method @NonNull public android.car.watchdog.ResourceOveruseConfiguration.Builder setPackagesToAppCategoryTypes(@NonNull java.util.Map); method @NonNull public android.car.watchdog.ResourceOveruseConfiguration.Builder setSafeToKillPackages(@NonNull java.util.List); method @NonNull public android.car.watchdog.ResourceOveruseConfiguration.Builder setVendorPackagePrefixes(@NonNull java.util.List); } } package android.car.wifi { @FlaggedApi("android.car.feature.persist_ap_settings") public final class CarWifiManager { method @FlaggedApi("android.car.feature.persist_ap_settings") @RequiresPermission(android.car.Car.PERMISSION_READ_PERSIST_TETHERING_SETTINGS) public boolean canControlPersistTetheringSettings(); } }