blob: 8b75e9f348ed40dc49f39e6588ef2deb33249fd8 [file] [log] [blame]
package android.car {
public final class Car {
method public void connect() throws java.lang.IllegalStateException;
method public static android.car.Car createCar(android.content.Context, android.content.ServiceConnection, android.os.Handler);
method public static android.car.Car createCar(android.content.Context, android.content.ServiceConnection);
method public void disconnect();
method public int getCarConnectionType();
method public java.lang.Object getCarManager(java.lang.String) throws android.car.CarNotConnectedException;
method public boolean isConnected();
method public boolean isConnecting();
field public static final java.lang.String APP_FOCUS_SERVICE = "app_focus";
field public static final java.lang.String AUDIO_SERVICE = "audio";
field public static final java.lang.String CABIN_SERVICE = "cabin";
field public static final java.lang.String CAR_EXTRA_MEDIA_PACKAGE = "android.car.intent.extra.MEDIA_PACKAGE";
field public static final java.lang.String CAR_INTENT_ACTION_MEDIA_TEMPLATE = "android.car.intent.action.MEDIA_TEMPLATE";
field public static final int CONNECTION_TYPE_EMBEDDED = 5; // 0x5
field public static final java.lang.String DIAGNOSTIC_SERVICE = "diagnostic";
field public static final java.lang.String HVAC_SERVICE = "hvac";
field public static final java.lang.String INFO_SERVICE = "info";
field public static final java.lang.String PACKAGE_SERVICE = "package";
field public static final java.lang.String PERMISSION_CAR_CABIN = "android.car.permission.CAR_CABIN";
field public static final java.lang.String PERMISSION_CAR_CONTROL_AUDIO_VOLUME = "android.car.permission.CAR_CONTROL_AUDIO_VOLUME";
field public static final java.lang.String PERMISSION_CAR_DIAGNOSTIC_CLEAR = "android.car.permission.DIAGNOSTIC_CLEAR";
field public static final java.lang.String PERMISSION_CAR_DIAGNOSTIC_READ_ALL = "android.car.permission.DIAGNOSTIC_READ_ALL";
field public static final java.lang.String PERMISSION_CAR_HVAC = "android.car.permission.CAR_HVAC";
field public static final java.lang.String PERMISSION_CAR_PROJECTION = "android.car.permission.CAR_PROJECTION";
field public static final java.lang.String PERMISSION_CAR_RADIO = "android.car.permission.CAR_RADIO";
field public static final java.lang.String PERMISSION_CAR_TEST_SERVICE = "android.car.permission.CAR_TEST_SERVICE";
field public static final java.lang.String PERMISSION_CONTROL_APP_BLOCKING = "android.car.permission.CONTROL_APP_BLOCKING";
field public static final java.lang.String PERMISSION_FUEL = "android.car.permission.CAR_FUEL";
field public static final java.lang.String PERMISSION_MILEAGE = "android.car.permission.CAR_MILEAGE";
field public static final deprecated java.lang.String PERMISSION_MOCK_VEHICLE_HAL = "android.car.permission.CAR_MOCK_VEHICLE_HAL";
field public static final java.lang.String PERMISSION_SPEED = "android.car.permission.CAR_SPEED";
field public static final java.lang.String PERMISSION_STORAGE_MONITORING = "android.car.permission.STORAGE_MONITORING";
field public static final java.lang.String PERMISSION_VEHICLE_DYNAMICS_STATE = "android.car.permission.VEHICLE_DYNAMICS_STATE";
field public static final java.lang.String PERMISSION_VENDOR_EXTENSION = "android.car.permission.CAR_VENDOR_EXTENSION";
field public static final java.lang.String PROJECTION_SERVICE = "projection";
field public static final java.lang.String RADIO_SERVICE = "radio";
field public static final java.lang.String SENSOR_SERVICE = "sensor";
field public static final java.lang.String STORAGE_MONITORING_SERVICE = "storage_monitoring";
field public static final java.lang.String TEST_SERVICE = "car-service-test";
field public static final java.lang.String VENDOR_EXTENSION_SERVICE = "vendor_extension";
field public static final int VERSION = 3; // 0x3
}
public final class CarAppFocusManager {
method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, int);
method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback);
method public void addFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener, int) throws android.car.CarNotConnectedException;
method public boolean isOwningFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, int) throws android.car.CarNotConnectedException;
method public void removeFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener, int);
method public void removeFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener);
method public int requestAppFocus(int, android.car.CarAppFocusManager.OnAppFocusOwnershipCallback) throws android.car.CarNotConnectedException, java.lang.SecurityException;
field public static final int APP_FOCUS_REQUEST_FAILED = 0; // 0x0
field public static final int APP_FOCUS_REQUEST_SUCCEEDED = 1; // 0x1
field public static final int APP_FOCUS_TYPE_NAVIGATION = 1; // 0x1
field public static final int APP_FOCUS_TYPE_VOICE_COMMAND = 2; // 0x2
}
public static abstract interface CarAppFocusManager.OnAppFocusChangedListener {
method public abstract void onAppFocusChanged(int, boolean);
}
public static abstract interface CarAppFocusManager.OnAppFocusOwnershipCallback {
method public abstract void onAppFocusOwnershipGranted(int);
method public abstract void onAppFocusOwnershipLost(int);
}
public final class CarInfoManager {
method public java.lang.String getManufacturer() throws android.car.CarNotConnectedException;
method public java.lang.String getModel() throws android.car.CarNotConnectedException;
method public java.lang.String getModelYear() throws android.car.CarNotConnectedException;
method public java.lang.String getVehicleId() throws android.car.CarNotConnectedException;
}
public class CarNotConnectedException extends java.lang.Exception {
ctor public CarNotConnectedException();
ctor public CarNotConnectedException(java.lang.String);
ctor public CarNotConnectedException(java.lang.String, java.lang.Throwable);
ctor public CarNotConnectedException(java.lang.Exception);
}
public final class CarProjectionManager {
method public void onCarDisconnected();
method public void registerProjectionListener(android.car.CarProjectionManager.CarProjectionListener, int) throws android.car.CarNotConnectedException;
method public void registerProjectionRunner(android.content.Intent) throws android.car.CarNotConnectedException;
method public void unregisterProjectionListener();
method public void unregisterProjectionRunner(android.content.Intent);
field public static final int PROJECTION_LONG_PRESS_VOICE_SEARCH = 2; // 0x2
field public static final int PROJECTION_VOICE_SEARCH = 1; // 0x1
}
public static abstract interface CarProjectionManager.CarProjectionListener {
method public abstract void onVoiceAssistantRequest(boolean);
}
public final class VehicleAreaType {
field public static final int VEHICLE_AREA_TYPE_DOOR = 4; // 0x4
field public static final int VEHICLE_AREA_TYPE_MIRROR = 5; // 0x5
field public static final int VEHICLE_AREA_TYPE_NONE = 0; // 0x0
field public static final int VEHICLE_AREA_TYPE_SEAT = 3; // 0x3
field public static final int VEHICLE_AREA_TYPE_WINDOW = 2; // 0x2
field public static final int VEHICLE_AREA_TYPE_ZONE = 1; // 0x1
}
public final class VehicleDoor {
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 VehicleMirror {
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 VehicleSeat {
field public static final int SEAT_ROW_1_CENTER = 2; // 0x2
field public static final int SEAT_ROW_1_LEFT = 1; // 0x1
field public static final int SEAT_ROW_1_RIGHT = 4; // 0x4
field public static final int SEAT_ROW_2_CENTER = 32; // 0x20
field public static final int SEAT_ROW_2_LEFT = 16; // 0x10
field public static final int SEAT_ROW_2_RIGHT = 64; // 0x40
field public static final int SEAT_ROW_3_CENTER = 512; // 0x200
field public static final int SEAT_ROW_3_LEFT = 256; // 0x100
field public static final int SEAT_ROW_3_RIGHT = 1024; // 0x400
}
public final class VehicleWindow {
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 = 4; // 0x4
field public static final int WINDOW_ROW_1_LEFT = 16; // 0x10
field public static final int WINDOW_ROW_1_RIGHT = 32; // 0x20
field public static final int WINDOW_ROW_2_LEFT = 256; // 0x100
field public static final int WINDOW_ROW_2_RIGHT = 512; // 0x200
field public static final int WINDOW_ROW_3_LEFT = 4096; // 0x1000
field public static final int WINDOW_ROW_3_RIGHT = 8192; // 0x2000
}
public final class VehicleZone {
field public static final int ZONE_ALL = -2147483648; // 0x80000000
field public static final int ZONE_ROW_1_ALL = 8; // 0x8
field public static final int ZONE_ROW_1_CENTER = 2; // 0x2
field public static final int ZONE_ROW_1_LEFT = 1; // 0x1
field public static final int ZONE_ROW_1_RIGHT = 4; // 0x4
field public static final int ZONE_ROW_2_ALL = 128; // 0x80
field public static final int ZONE_ROW_2_CENTER = 32; // 0x20
field public static final int ZONE_ROW_2_LEFT = 16; // 0x10
field public static final int ZONE_ROW_2_RIGHT = 64; // 0x40
field public static final int ZONE_ROW_3_ALL = 2048; // 0x800
field public static final int ZONE_ROW_3_CENTER = 512; // 0x200
field public static final int ZONE_ROW_3_LEFT = 256; // 0x100
field public static final int ZONE_ROW_3_RIGHT = 1024; // 0x400
field public static final int ZONE_ROW_4_ALL = 32768; // 0x8000
field public static final int ZONE_ROW_4_CENTER = 8192; // 0x2000
field public static final int ZONE_ROW_4_LEFT = 4096; // 0x1000
field public static final int ZONE_ROW_4_RIGHT = 16384; // 0x4000
}
public final class VehicleZoneUtil {
method public static int getFirstZone(int);
method public static int getNextZone(int, int) throws java.lang.IllegalArgumentException;
method public static int getNumberOfZones(int);
method public static int[] listAllZones(int);
method public static int zoneToIndex(int, int) throws java.lang.IllegalArgumentException;
}
}
package android.car.app.menu {
public abstract class CarMenuCallbacks {
ctor public CarMenuCallbacks();
method public abstract android.car.app.menu.RootMenu getRootMenu(android.os.Bundle);
method public abstract void onCarMenuClosed();
method public abstract void onCarMenuClosing();
method public abstract void onCarMenuOpened();
method public abstract void onCarMenuOpening();
method public abstract void onItemClicked(java.lang.String);
method public abstract boolean onItemLongClicked(java.lang.String);
method public abstract boolean onMenuClicked();
method public abstract void subscribe(java.lang.String, android.car.app.menu.SubscriptionCallbacks);
method public abstract void unsubscribe(java.lang.String, android.car.app.menu.SubscriptionCallbacks);
}
public class CarMenuConstants {
ctor public CarMenuConstants();
}
public static class CarMenuConstants.MenuItemConstants {
ctor public CarMenuConstants.MenuItemConstants();
field public static final int FLAG_BROWSABLE = 1; // 0x1
field public static final int FLAG_FIRSTITEM = 2; // 0x2
field public static final java.lang.String KEY_EMPTY_PLACEHOLDER = "android.car.app.menu.empty_placeholder";
field public static final java.lang.String KEY_FLAGS = "android.car.app.menu.flags";
field public static final java.lang.String KEY_ID = "android.car.app.menu.id";
field public static final java.lang.String KEY_LEFTICON = "android.car.app.menu.leftIcon";
field public static final java.lang.String KEY_REMOTEVIEWS = "android.car.app.menu.remoteViews";
field public static final java.lang.String KEY_RIGHTICON = "android.car.app.menu.rightIcon";
field public static final java.lang.String KEY_RIGHTTEXT = "android.car.app.menu.rightText";
field public static final java.lang.String KEY_TEXT = "android.car.app.menu.text";
field public static final java.lang.String KEY_TITLE = "android.car.app.menu.title";
field public static final java.lang.String KEY_WIDGET = "android.car.app.menu.widget";
field public static final java.lang.String KEY_WIDGET_STATE = "android.car.app.menu.widget_state";
field public static final int WIDGET_CHECKBOX = 1; // 0x1
field public static final int WIDGET_TEXT_VIEW = 2; // 0x2
}
public static abstract class CarMenuConstants.MenuItemConstants.MenuItemFlags implements java.lang.annotation.Annotation {
}
public static abstract class CarMenuConstants.MenuItemConstants.WidgetTypes implements java.lang.annotation.Annotation {
}
public abstract class CarUiEntry {
ctor public CarUiEntry(android.content.Context, android.content.Context);
method public abstract void closeDrawer();
method public abstract android.view.View getContentView();
method public abstract int getFragmentContainerId();
method public abstract java.lang.CharSequence getSearchBoxText();
method public abstract void hideMenuButton();
method public abstract void hideTitle();
method public abstract void onPause();
method public abstract void onRestoreInstanceState(android.os.Bundle);
method public abstract void onResume();
method public abstract void onSaveInstanceState(android.os.Bundle);
method public abstract void onStart();
method public abstract void onStop();
method public abstract void openDrawer();
method public abstract void restoreMenuDrawable();
method public abstract void setAutoLightDarkMode();
method public abstract void setBackground(android.graphics.Bitmap);
method public abstract void setCarMenuCallbacks(android.car.app.menu.CarMenuCallbacks);
method public abstract void setDarkMode();
method public abstract void setLightMode();
method public abstract void setMenuButtonBitmap(android.graphics.Bitmap);
method public abstract void setMenuButtonColor(int);
method public abstract void setScrimColor(int);
method public abstract void setSearchBoxColors(int, int, int, int);
method public abstract void setSearchBoxEditListener(android.car.app.menu.SearchBoxEditListener);
method public abstract void setSearchBoxEndView(android.view.View);
method public abstract void setTitle(java.lang.CharSequence);
method public abstract void showMenu(java.lang.String, java.lang.String);
method public abstract void showSearchBox(android.view.View.OnClickListener);
method public abstract void showTitle();
method public abstract void showToast(java.lang.String, long);
method public abstract android.widget.EditText startInput(java.lang.String, android.view.View.OnClickListener);
method public abstract void stopInput();
field protected final android.content.Context mAppContext;
field protected final android.content.Context mUiLibContext;
}
public class RootMenu {
ctor public RootMenu(java.lang.String);
ctor public RootMenu(java.lang.String, android.os.Bundle);
method public android.os.Bundle getBundle();
method public java.lang.String getId();
}
public abstract class SearchBoxEditListener {
ctor public SearchBoxEditListener();
method public abstract void onEdit(java.lang.String);
method public abstract void onSearch(java.lang.String);
}
public abstract class SubscriptionCallbacks {
ctor public SubscriptionCallbacks();
method public abstract void onChildChanged(java.lang.String, android.os.Bundle);
method public abstract void onChildrenLoaded(java.lang.String, java.util.List<android.os.Bundle>);
method public abstract void onError(java.lang.String);
}
}
package android.car.cluster.renderer {
public abstract class InstrumentClusterRenderer {
ctor public InstrumentClusterRenderer();
method protected abstract android.car.cluster.renderer.NavigationRenderer createNavigationRenderer();
method public synchronized android.car.cluster.renderer.NavigationRenderer getNavigationRenderer();
method public final synchronized void initialize();
method public abstract void onCreate(android.content.Context);
method public abstract void onStart();
method public abstract void onStop();
}
public abstract class InstrumentClusterRenderingService extends android.app.Service {
ctor public InstrumentClusterRenderingService();
method protected abstract android.car.cluster.renderer.NavigationRenderer getNavigationRenderer();
method public android.os.IBinder onBind(android.content.Intent);
method protected void onKeyEvent(android.view.KeyEvent);
}
public abstract class NavigationRenderer {
ctor public NavigationRenderer();
method public abstract android.car.navigation.CarNavigationInstrumentCluster getNavigationProperties();
method public abstract void onNextTurnChanged(int, java.lang.CharSequence, int, int, android.graphics.Bitmap, int);
method public abstract void onNextTurnDistanceChanged(int, int, int, int);
method public abstract void onStartNavigation();
method public abstract void onStopNavigation();
}
}
package android.car.content.pm {
public class AppBlockingPackageInfo implements android.os.Parcelable {
ctor public AppBlockingPackageInfo(java.lang.String, int, int, int, android.content.pm.Signature[], java.lang.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<android.car.content.pm.AppBlockingPackageInfo> CREATOR;
field public static final int FLAG_SYSTEM_APP = 1; // 0x1
field public static final int FLAG_WHOLE_ACTIVITY = 2; // 0x2
field public final java.lang.String[] activities;
field public final int flags;
field public final int maxRevisionCode;
field public final int minRevisionCode;
field public final java.lang.String packageName;
field public final android.content.pm.Signature[] signatures;
}
public 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<android.car.content.pm.CarAppBlockingPolicy> 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 java.lang.String SERVICE_INTERFACE = "android.car.content.pm.CarAppBlockingPolicyService";
}
public final class CarPackageManager {
method public boolean isActivityAllowedWhileDriving(java.lang.String, java.lang.String) throws android.car.CarNotConnectedException;
method public boolean isActivityBackedBySafeActivity(android.content.ComponentName) throws android.car.CarNotConnectedException;
method public boolean isServiceAllowedWhileDriving(java.lang.String, java.lang.String) throws android.car.CarNotConnectedException;
method public void setAppBlockingPolicy(java.lang.String, android.car.content.pm.CarAppBlockingPolicy, int) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException, java.lang.SecurityException;
field public static final int FLAG_SET_POLICY_ADD = 2; // 0x2
field public static final int FLAG_SET_POLICY_REMOVE = 4; // 0x4
field public static final int FLAG_SET_POLICY_WAIT_FOR_CHANGE = 1; // 0x1
}
}
package android.car.diagnostic {
public class CarDiagnosticEvent implements android.os.Parcelable {
ctor public CarDiagnosticEvent(android.os.Parcel);
method public int describeContents();
method public java.lang.Integer getFuelSystemStatus();
method public java.lang.Integer getFuelType();
method public android.car.diagnostic.CarDiagnosticEvent.CommonIgnitionMonitors getIgnitionMonitors();
method public java.lang.Integer getSecondaryAirStatus();
method public float getSystemFloatSensor(int, float);
method public java.lang.Float getSystemFloatSensor(int);
method public int getSystemIntegerSensor(int, int);
method public java.lang.Integer getSystemIntegerSensor(int);
method public float getVendorFloatSensor(int, float);
method public java.lang.Float getVendorFloatSensor(int);
method public int getVendorIntegerSensor(int, int);
method public java.lang.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<android.car.diagnostic.CarDiagnosticEvent> CREATOR;
field public final java.lang.String dtc;
field public final int frameType;
field public final long timestamp;
}
public static class CarDiagnosticEvent.Builder {
method 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 withDtc(java.lang.String);
method public android.car.diagnostic.CarDiagnosticEvent.Builder withFloatValue(int, float);
method public android.car.diagnostic.CarDiagnosticEvent.Builder withIntValue(int, int);
}
public static class CarDiagnosticEvent.CommonIgnitionMonitors {
method public android.car.diagnostic.CarDiagnosticEvent.CompressionIgnitionMonitors asCompressionIgnitionMonitors();
method 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
}
public static abstract class CarDiagnosticEvent.FuelSystemStatus.Status implements java.lang.annotation.Annotation {
}
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
}
public static abstract class CarDiagnosticEvent.FuelType.Type implements java.lang.annotation.Annotation {
}
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
}
public static abstract class CarDiagnosticEvent.SecondaryAirStatus.Status implements java.lang.annotation.Annotation {
}
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 public boolean clearFreezeFrames(long...) throws android.car.CarNotConnectedException;
method public android.car.diagnostic.CarDiagnosticEvent getFreezeFrame(long) throws android.car.CarNotConnectedException;
method public long[] getFreezeFrameTimestamps() throws android.car.CarNotConnectedException;
method public android.car.diagnostic.CarDiagnosticEvent getLatestLiveFrame() throws android.car.CarNotConnectedException;
method public boolean isClearFreezeFramesSupported() throws android.car.CarNotConnectedException;
method public boolean isFreezeFrameNotificationSupported() throws android.car.CarNotConnectedException;
method public boolean isGetFreezeFrameSupported() throws android.car.CarNotConnectedException;
method public boolean isLiveFrameSupported() throws android.car.CarNotConnectedException;
method public boolean isSelectiveClearFreezeFramesSupported() throws android.car.CarNotConnectedException;
method public void onCarDisconnected();
method public boolean registerListener(android.car.diagnostic.CarDiagnosticManager.OnDiagnosticEventListener, int, int) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException;
method 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
}
public static abstract class CarDiagnosticManager.FrameType implements java.lang.annotation.Annotation {
}
public static abstract interface CarDiagnosticManager.OnDiagnosticEventListener {
method public abstract 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.hardware {
public class CarPropertyConfig<T> implements android.os.Parcelable {
method public int describeContents();
method public int getAreaCount();
method public int[] getAreaIds();
method public int getAreaType();
method public int getFirstAndOnlyAreaId();
method public T getMaxValue(int);
method public T getMaxValue();
method public T getMinValue(int);
method public T getMinValue();
method public int getPropertyId();
method public java.lang.Class<T> getPropertyType();
method public boolean hasArea(int);
method public boolean isGlobalProperty();
method public static <T> android.car.hardware.CarPropertyConfig.Builder<T> newBuilder(java.lang.Class<T>, int, int, int);
method public static <T> android.car.hardware.CarPropertyConfig.Builder<T> newBuilder(java.lang.Class<T>, int, int);
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.car.hardware.CarPropertyConfig> CREATOR;
}
public static class CarPropertyConfig.AreaConfig<T> implements android.os.Parcelable {
method public int describeContents();
method public T getMaxValue();
method public T getMinValue();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.car.hardware.CarPropertyConfig.AreaConfig<java.lang.Object>> CREATOR;
}
public static class CarPropertyConfig.Builder<T> {
method public android.car.hardware.CarPropertyConfig.Builder<T> addArea(int);
method public android.car.hardware.CarPropertyConfig.Builder<T> addAreaConfig(int, T, T);
method public android.car.hardware.CarPropertyConfig.Builder<T> addAreas(int[]);
method public android.car.hardware.CarPropertyConfig<T> build();
}
public class CarPropertyValue<T> implements android.os.Parcelable {
ctor public CarPropertyValue(int, T);
ctor public CarPropertyValue(int, int, T);
ctor public CarPropertyValue(android.os.Parcel);
method public int describeContents();
method public int getAreaId();
method public int getPropertyId();
method public T getValue();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.car.hardware.CarPropertyValue> CREATOR;
}
public class CarSensorEvent implements android.os.Parcelable {
method public int describeContents();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.car.hardware.CarSensorEvent> CREATOR;
field public static final int DRIVE_STATUS_FULLY_RESTRICTED = 31; // 0x1f
field public static final int DRIVE_STATUS_LIMIT_MESSAGE_LEN = 16; // 0x10
field public static final int DRIVE_STATUS_NO_CONFIG = 8; // 0x8
field public static final int DRIVE_STATUS_NO_KEYBOARD_INPUT = 2; // 0x2
field public static final int DRIVE_STATUS_NO_VIDEO = 1; // 0x1
field public static final int DRIVE_STATUS_NO_VOICE_INPUT = 4; // 0x4
field public static final int DRIVE_STATUS_UNRESTRICTED = 0; // 0x0
field public static final int GEAR_DRIVE = 100; // 0x64
field public static final int GEAR_EIGHTH = 8; // 0x8
field public static final int GEAR_FIFTH = 5; // 0x5
field public static final int GEAR_FIRST = 1; // 0x1
field public static final int GEAR_FOURTH = 4; // 0x4
field public static final int GEAR_NEUTRAL = 0; // 0x0
field public static final int GEAR_NINTH = 9; // 0x9
field public static final int GEAR_PARK = 101; // 0x65
field public static final int GEAR_REVERSE = 102; // 0x66
field public static final int GEAR_SECOND = 2; // 0x2
field public static final int GEAR_SEVENTH = 7; // 0x7
field public static final int GEAR_SIXTH = 6; // 0x6
field public static final int GEAR_TENTH = 10; // 0xa
field public static final int GEAR_THIRD = 3; // 0x3
field public static final int IGNITION_STATE_ACC = 3; // 0x3
field public static final int IGNITION_STATE_LOCK = 1; // 0x1
field public static final int IGNITION_STATE_OFF = 2; // 0x2
field public static final int IGNITION_STATE_ON = 4; // 0x4
field public static final int IGNITION_STATE_START = 5; // 0x5
field public static final int IGNITION_STATE_UNDEFINED = 0; // 0x0
field public static final int INDEX_ENVIRONMENT_PRESSURE = 1; // 0x1
field public static final int INDEX_ENVIRONMENT_TEMPERATURE = 0; // 0x0
field public static final int INDEX_FUEL_LEVEL_IN_DISTANCE = 1; // 0x1
field public static final int INDEX_FUEL_LEVEL_IN_PERCENTILE = 0; // 0x0
field public static final int INDEX_FUEL_LOW_WARNING = 0; // 0x0
field public static final int INDEX_WHEEL_DISTANCE_FRONT_LEFT = 1; // 0x1
field public static final int INDEX_WHEEL_DISTANCE_FRONT_RIGHT = 2; // 0x2
field public static final int INDEX_WHEEL_DISTANCE_REAR_LEFT = 4; // 0x4
field public static final int INDEX_WHEEL_DISTANCE_REAR_RIGHT = 3; // 0x3
field public static final int INDEX_WHEEL_DISTANCE_RESET_COUNT = 0; // 0x0
field public final float[] floatValues;
field public final int[] intValues;
field public final long[] longValues;
field public int sensorType;
field public long timestamp;
}
public static class CarSensorEvent.EnvironmentData {
field public float pressure;
field public float temperature;
field public long timestamp;
}
public final class CarSensorManager {
method public android.car.hardware.CarSensorEvent getLatestSensorEvent(int) throws android.car.CarNotConnectedException;
method public int[] getSupportedSensors() throws android.car.CarNotConnectedException;
method public boolean isSensorSupported(int) throws android.car.CarNotConnectedException;
method public static boolean isSensorSupported(int[], int);
method public boolean registerListener(android.car.hardware.CarSensorManager.OnSensorChangedListener, int, int) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException;
method public void unregisterListener(android.car.hardware.CarSensorManager.OnSensorChangedListener);
method public void unregisterListener(android.car.hardware.CarSensorManager.OnSensorChangedListener, int);
field public static final int SENSOR_RATE_FAST = 1; // 0x1
field public static final int SENSOR_RATE_FASTEST = 0; // 0x0
field public static final int SENSOR_RATE_NORMAL = 3; // 0x3
field public static final int SENSOR_RATE_UI = 2; // 0x2
field public static final int SENSOR_TYPE_ABS_ACTIVE = 24; // 0x18
field public static final int SENSOR_TYPE_CAR_SPEED = 2; // 0x2
field public static final int SENSOR_TYPE_DRIVING_STATUS = 11; // 0xb
field public static final int SENSOR_TYPE_ENVIRONMENT = 12; // 0xc
field public static final int SENSOR_TYPE_FUEL_LEVEL = 5; // 0x5
field public static final int SENSOR_TYPE_GEAR = 7; // 0x7
field public static final int SENSOR_TYPE_IGNITION_STATE = 22; // 0x16
field public static final int SENSOR_TYPE_NIGHT = 9; // 0x9
field public static final int SENSOR_TYPE_ODOMETER = 4; // 0x4
field public static final int SENSOR_TYPE_PARKING_BRAKE = 6; // 0x6
field public static final int SENSOR_TYPE_RPM = 3; // 0x3
field public static final int SENSOR_TYPE_TRACTION_CONTROL_ACTIVE = 25; // 0x19
field public static final int SENSOR_TYPE_VENDOR_EXTENSION_END = 1879048191; // 0x6fffffff
field public static final int SENSOR_TYPE_WHEEL_TICK_DISTANCE = 23; // 0x17
}
public static abstract interface CarSensorManager.OnSensorChangedListener {
method public abstract void onSensorChanged(android.car.hardware.CarSensorEvent);
}
public final class CarVendorExtensionManager {
method public <E> E getGlobalProperty(java.lang.Class<E>, int) throws android.car.CarNotConnectedException;
method public java.util.List<android.car.hardware.CarPropertyConfig> getProperties() throws android.car.CarNotConnectedException;
method public <E> E getProperty(java.lang.Class<E>, int, int) throws android.car.CarNotConnectedException;
method public void registerCallback(android.car.hardware.CarVendorExtensionManager.CarVendorExtensionCallback) throws android.car.CarNotConnectedException;
method public <E> void setGlobalProperty(java.lang.Class<E>, int, E) throws android.car.CarNotConnectedException;
method public <E> void setProperty(java.lang.Class<E>, int, int, E) throws android.car.CarNotConnectedException;
method public void unregisterCallback(android.car.hardware.CarVendorExtensionManager.CarVendorExtensionCallback);
}
public static abstract interface CarVendorExtensionManager.CarVendorExtensionCallback {
method public abstract void onChangeEvent(android.car.hardware.CarPropertyValue);
method public abstract void onErrorEvent(int, int);
}
}
package android.car.hardware.cabin {
public final class CarCabinManager {
method public boolean getBooleanProperty(int, int) throws android.car.CarNotConnectedException;
method public float getFloatProperty(int, int) throws android.car.CarNotConnectedException;
method public int getIntProperty(int, int) throws android.car.CarNotConnectedException;
method public java.util.List<android.car.hardware.CarPropertyConfig> getPropertyList() throws android.car.CarNotConnectedException;
method public static boolean isZonedProperty(int);
method public synchronized void registerCallback(android.car.hardware.cabin.CarCabinManager.CarCabinEventCallback) throws android.car.CarNotConnectedException;
method public void setBooleanProperty(int, int, boolean) throws android.car.CarNotConnectedException;
method public void setFloatProperty(int, int, float) throws android.car.CarNotConnectedException;
method public void setIntProperty(int, int, int) throws android.car.CarNotConnectedException;
method public synchronized void unregisterCallback(android.car.hardware.cabin.CarCabinManager.CarCabinEventCallback);
field public static final int ID_DOOR_LOCK = 3; // 0x3
field public static final int ID_DOOR_MOVE = 2; // 0x2
field public static final int ID_DOOR_POS = 1; // 0x1
field public static final int ID_MIRROR_FOLD = 4102; // 0x1006
field public static final int ID_MIRROR_LOCK = 4101; // 0x1005
field public static final int ID_MIRROR_Y_MOVE = 4100; // 0x1004
field public static final int ID_MIRROR_Y_POS = 4099; // 0x1003
field public static final int ID_MIRROR_Z_MOVE = 4098; // 0x1002
field public static final int ID_MIRROR_Z_POS = 4097; // 0x1001
field public static final int ID_SEAT_BACKREST_ANGLE_1_MOVE = 8201; // 0x2009
field public static final int ID_SEAT_BACKREST_ANGLE_1_POS = 8200; // 0x2008
field public static final int ID_SEAT_BACKREST_ANGLE_2_MOVE = 8203; // 0x200b
field public static final int ID_SEAT_BACKREST_ANGLE_2_POS = 8202; // 0x200a
field public static final int ID_SEAT_BELT_BUCKLED = 8195; // 0x2003
field public static final int ID_SEAT_BELT_HEIGHT_MOVE = 8197; // 0x2005
field public static final int ID_SEAT_BELT_HEIGHT_POS = 8196; // 0x2004
field public static final int ID_SEAT_DEPTH_MOVE = 8207; // 0x200f
field public static final int ID_SEAT_DEPTH_POS = 8206; // 0x200e
field public static final int ID_SEAT_FORE_AFT_MOVE = 8199; // 0x2007
field public static final int ID_SEAT_FORE_AFT_POS = 8198; // 0x2006
field public static final int ID_SEAT_HEADREST_ANGLE_MOVE = 8217; // 0x2019
field public static final int ID_SEAT_HEADREST_ANGLE_POS = 8216; // 0x2018
field public static final int ID_SEAT_HEADREST_FORE_AFT_MOVE = 8219; // 0x201b
field public static final int ID_SEAT_HEADREST_FORE_AFT_POS = 8218; // 0x201a
field public static final int ID_SEAT_HEADREST_HEIGHT_MOVE = 8215; // 0x2017
field public static final int ID_SEAT_HEADREST_HEIGHT_POS = 8214; // 0x2016
field public static final int ID_SEAT_HEIGHT_MOVE = 8205; // 0x200d
field public static final int ID_SEAT_HEIGHT_POS = 8204; // 0x200c
field public static final int ID_SEAT_LUMBAR_FORE_AFT_MOVE = 8211; // 0x2013
field public static final int ID_SEAT_LUMBAR_FORE_AFT_POS = 8210; // 0x2012
field public static final int ID_SEAT_LUMBAR_SIDE_SUPPORT_MOVE = 8213; // 0x2015
field public static final int ID_SEAT_LUMBAR_SIDE_SUPPORT_POS = 8212; // 0x2014
field public static final int ID_SEAT_MEMORY_SELECT = 8193; // 0x2001
field public static final int ID_SEAT_MEMORY_SET = 8194; // 0x2002
field public static final int ID_SEAT_TILT_MOVE = 8209; // 0x2011
field public static final int ID_SEAT_TILT_POS = 8208; // 0x2010
field public static final int ID_WINDOW_LOCK = 12293; // 0x3005
field public static final int ID_WINDOW_MOVE = 12290; // 0x3002
field public static final int ID_WINDOW_POS = 12289; // 0x3001
field public static final int ID_WINDOW_VENT_MOVE = 12292; // 0x3004
field public static final int ID_WINDOW_VENT_POS = 12291; // 0x3003
}
public static abstract interface CarCabinManager.CarCabinEventCallback {
method public abstract void onChangeEvent(android.car.hardware.CarPropertyValue);
method public abstract void onErrorEvent(int, int);
}
}
package android.car.hardware.hvac {
public final class CarHvacManager {
method public boolean getBooleanProperty(int, int) throws android.car.CarNotConnectedException;
method public float getFloatProperty(int, int) throws android.car.CarNotConnectedException;
method public int getIntProperty(int, int) throws android.car.CarNotConnectedException;
method public java.util.List<android.car.hardware.CarPropertyConfig> getPropertyList() throws android.car.CarNotConnectedException;
method public static boolean isZonedProperty(int);
method public synchronized void registerCallback(android.car.hardware.hvac.CarHvacManager.CarHvacEventCallback) throws android.car.CarNotConnectedException;
method public void setBooleanProperty(int, int, boolean) throws android.car.CarNotConnectedException;
method public void setFloatProperty(int, int, float) throws android.car.CarNotConnectedException;
method public void setIntProperty(int, int, int) throws android.car.CarNotConnectedException;
method public synchronized void unregisterCallback(android.car.hardware.hvac.CarHvacManager.CarHvacEventCallback);
field public static final int FAN_POSITION_DEFROST = 4; // 0x4
field public static final int FAN_POSITION_DEFROST_AND_FLOOR = 5; // 0x5
field public static final int FAN_POSITION_FACE = 1; // 0x1
field public static final int FAN_POSITION_FACE_AND_FLOOR = 3; // 0x3
field public static final int FAN_POSITION_FLOOR = 2; // 0x2
field public static final int ID_MIRROR_DEFROSTER_ON = 1; // 0x1
field public static final int ID_OUTSIDE_AIR_TEMP = 3; // 0x3
field public static final int ID_STEERING_WHEEL_TEMP = 2; // 0x2
field public static final int ID_TEMPERATURE_UNITS = 4; // 0x4
field public static final int ID_WINDOW_DEFROSTER_ON = 20481; // 0x5001
field public static final int ID_ZONED_AC_ON = 16393; // 0x4009
field public static final int ID_ZONED_AIR_RECIRCULATION_ON = 16395; // 0x400b
field public static final int ID_ZONED_AUTOMATIC_MODE_ON = 16394; // 0x400a
field public static final int ID_ZONED_DUAL_ZONE_ON = 16397; // 0x400d
field public static final int ID_ZONED_FAN_POSITION = 16391; // 0x4007
field public static final int ID_ZONED_FAN_POSITION_AVAILABLE = 16390; // 0x4006
field public static final int ID_ZONED_FAN_SPEED_RPM = 16389; // 0x4005
field public static final int ID_ZONED_FAN_SPEED_SETPOINT = 16388; // 0x4004
field public static final int ID_ZONED_HVAC_AUTO_RECIRC_ON = 16399; // 0x400f
field public static final int ID_ZONED_HVAC_POWER_ON = 16387; // 0x4003
field public static final int ID_ZONED_MAX_AC_ON = 16396; // 0x400c
field public static final int ID_ZONED_MAX_DEFROST_ON = 16398; // 0x400e
field public static final int ID_ZONED_SEAT_TEMP = 16392; // 0x4008
field public static final int ID_ZONED_TEMP_ACTUAL = 16386; // 0x4002
field public static final int ID_ZONED_TEMP_SETPOINT = 16385; // 0x4001
}
public static abstract interface CarHvacManager.CarHvacEventCallback {
method public abstract void onChangeEvent(android.car.hardware.CarPropertyValue);
method public abstract void onErrorEvent(int, int);
}
}
package android.car.hardware.radio {
public class CarRadioEvent implements android.os.Parcelable {
ctor public CarRadioEvent(int, android.car.hardware.radio.CarRadioPreset);
method public int describeContents();
method public int getEventType();
method public android.car.hardware.radio.CarRadioPreset getPreset();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.car.hardware.radio.CarRadioEvent> CREATOR;
field public static final int RADIO_PRESET = 0; // 0x0
}
public final class CarRadioManager {
method public android.car.hardware.radio.CarRadioPreset getPreset(int) throws android.car.CarNotConnectedException;
method public int getPresetCount() throws android.car.CarNotConnectedException;
method public synchronized void registerListener(android.car.hardware.radio.CarRadioManager.CarRadioEventListener) throws android.car.CarNotConnectedException;
method public boolean setPreset(android.car.hardware.radio.CarRadioPreset) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException;
method public synchronized void unregisterListener();
}
public static abstract interface CarRadioManager.CarRadioEventListener {
method public abstract void onEvent(android.car.hardware.radio.CarRadioEvent);
}
public class CarRadioPreset implements android.os.Parcelable {
ctor public CarRadioPreset(int, int, int, int);
method public int describeContents();
method public int getBand();
method public int getChannel();
method public int getPresetNumber();
method public int getSubChannel();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.car.hardware.radio.CarRadioPreset> CREATOR;
}
}
package android.car.input {
public abstract class CarInputHandlingService extends android.app.Service {
ctor protected CarInputHandlingService(android.car.input.CarInputHandlingService.InputFilter[]);
method public android.os.IBinder onBind(android.content.Intent);
method protected abstract void onKeyEvent(android.view.KeyEvent, int);
field public static final int INPUT_CALLBACK_BINDER_CODE = 1; // 0x1
field public static final java.lang.String INPUT_CALLBACK_BINDER_KEY = "callback_binder";
}
public static class CarInputHandlingService.InputFilter implements android.os.Parcelable {
ctor public CarInputHandlingService.InputFilter(int, int);
method public int describeContents();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator CREATOR;
field public final int mKeyCode;
field public final int mTargetDisplay;
}
}
package android.car.media {
public final class CarAudioManager {
method public void abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, android.media.AudioAttributes);
method public android.media.AudioAttributes getAudioAttributesForCarUsage(int) throws android.car.CarNotConnectedException;
method public int getStreamMaxVolume(int) throws android.car.CarNotConnectedException;
method public int getStreamMinVolume(int) throws android.car.CarNotConnectedException;
method public int getStreamVolume(int) throws android.car.CarNotConnectedException;
method public boolean isMediaMuted() throws android.car.CarNotConnectedException;
method public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, android.media.AudioAttributes, int, int) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException;
method public boolean setMediaMute(boolean) throws android.car.CarNotConnectedException;
method public void setStreamVolume(int, int, int) throws android.car.CarNotConnectedException;
method public void setVolumeController(android.media.IVolumeController) throws android.car.CarNotConnectedException;
field public static final int CAR_AUDIO_USAGE_ALARM = 6; // 0x6
field public static final int CAR_AUDIO_USAGE_DEFAULT = 0; // 0x0
field public static final int CAR_AUDIO_USAGE_MUSIC = 1; // 0x1
field public static final int CAR_AUDIO_USAGE_NAVIGATION_GUIDANCE = 3; // 0x3
field public static final int CAR_AUDIO_USAGE_NOTIFICATION = 7; // 0x7
field public static final int CAR_AUDIO_USAGE_RADIO = 2; // 0x2
field public static final int CAR_AUDIO_USAGE_RINGTONE = 10; // 0xa
field public static final int CAR_AUDIO_USAGE_SYSTEM_SAFETY_ALERT = 9; // 0x9
field public static final int CAR_AUDIO_USAGE_SYSTEM_SOUND = 8; // 0x8
field public static final int CAR_AUDIO_USAGE_VOICE_CALL = 4; // 0x4
field public static final int CAR_AUDIO_USAGE_VOICE_COMMAND = 5; // 0x5
}
}
package android.car.navigation {
public 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<android.car.navigation.CarNavigationInstrumentCluster> CREATOR;
}
}
package android.car.settings {
public class CarSettings {
ctor public CarSettings();
}
public static final class CarSettings.Global {
ctor public CarSettings.Global();
field public static final java.lang.String KEY_GARAGE_MODE_ENABLED = "android.car.GARAGE_MODE_ENABLED";
field public static final java.lang.String KEY_GARAGE_MODE_MAINTENANCE_WINDOW = "android.car.GARAGE_MODE_MAINTENANCE_WINDOW";
field public static final java.lang.String KEY_GARAGE_MODE_WAKE_UP_TIME = "android.car.GARAGE_MODE_WAKE_UP_TIME";
}
}
package android.car.storagemonitoring {
public final class CarStorageMonitoringManager {
method public int getPreEolIndicatorStatus() throws android.car.CarNotConnectedException;
method public android.car.storagemonitoring.WearEstimate getWearEstimate() throws android.car.CarNotConnectedException;
method public java.util.List<android.car.storagemonitoring.WearEstimateChange> getWearEstimateHistory() throws android.car.CarNotConnectedException;
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
}
public final class UidIoStatEntry implements android.os.Parcelable {
ctor public UidIoStatEntry(int, android.car.storagemonitoring.UidIoStatEntry.PerStateMetrics, android.car.storagemonitoring.UidIoStatEntry.PerStateMetrics);
ctor public UidIoStatEntry(android.os.Parcel);
ctor public UidIoStatEntry(org.json.JSONObject) throws org.json.JSONException;
method public int describeContents();
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<android.car.storagemonitoring.UidIoStatEntry> CREATOR;
field public final android.car.storagemonitoring.UidIoStatEntry.PerStateMetrics background;
field public final android.car.storagemonitoring.UidIoStatEntry.PerStateMetrics foreground;
field public final int uid;
}
public static final class UidIoStatEntry.PerStateMetrics implements android.os.Parcelable {
ctor public UidIoStatEntry.PerStateMetrics(long, long, long, long, long);
ctor public UidIoStatEntry.PerStateMetrics(android.os.Parcel);
ctor public UidIoStatEntry.PerStateMetrics(org.json.JSONObject) throws org.json.JSONException;
method public int describeContents();
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<android.car.storagemonitoring.UidIoStatEntry.PerStateMetrics> CREATOR;
field public final long bytesRead;
field public final long bytesReadFromStorage;
field public final long bytesWritten;
field public final long bytesWrittenToStorage;
field public final long fsyncCalls;
}
public class WearEstimate implements android.os.Parcelable {
ctor public WearEstimate(int, int);
ctor public WearEstimate(android.os.Parcel);
ctor public WearEstimate(android.util.JsonReader) throws java.io.IOException;
method public int describeContents();
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<android.car.storagemonitoring.WearEstimate> CREATOR;
field public static final int UNKNOWN = -1; // 0xffffffff
field public final int typeA;
field public final int typeB;
}
public 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<android.car.storagemonitoring.WearEstimateChange> CREATOR;
field public final java.time.Instant dateAtChange;
field public final boolean isAcceptableDegradation;
field public final android.car.storagemonitoring.WearEstimate newEstimate;
field public final android.car.storagemonitoring.WearEstimate oldEstimate;
field public final long uptimeAtChange;
}
}
package android.car.test {
public class CarTestManagerBinderWrapper {
ctor public CarTestManagerBinderWrapper(android.os.IBinder);
method public void onCarDisconnected();
field public final android.os.IBinder binder;
}
}
package android.car.vms {
public final class VmsAssociatedLayer implements android.os.Parcelable {
ctor public VmsAssociatedLayer(android.car.vms.VmsLayer, java.util.Set<java.lang.Integer>);
method public int describeContents();
method public java.util.Set<java.lang.Integer> getPublisherIds();
method public android.car.vms.VmsLayer getVmsLayer();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.car.vms.VmsAssociatedLayer> CREATOR;
}
public final class VmsLayer implements android.os.Parcelable {
ctor public VmsLayer(int, int, int);
method public int describeContents();
method public int getSubtype();
method public int getType();
method public int getVersion();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.car.vms.VmsLayer> CREATOR;
}
public final class VmsLayerDependency implements android.os.Parcelable {
ctor public VmsLayerDependency(android.car.vms.VmsLayer, java.util.Set<android.car.vms.VmsLayer>);
ctor public VmsLayerDependency(android.car.vms.VmsLayer);
method public int describeContents();
method public java.util.Set<android.car.vms.VmsLayer> getDependencies();
method public android.car.vms.VmsLayer getLayer();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.car.vms.VmsLayerDependency> CREATOR;
}
public final class VmsLayersOffering implements android.os.Parcelable {
ctor public VmsLayersOffering(java.util.Set<android.car.vms.VmsLayerDependency>, int);
method public int describeContents();
method public java.util.Set<android.car.vms.VmsLayerDependency> getDependencies();
method public int getPublisherId();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.car.vms.VmsLayersOffering> CREATOR;
}
public final class VmsOperationRecorder {
ctor public VmsOperationRecorder(android.car.vms.VmsOperationRecorder.Writer);
method public void addHalSubscription(int, android.car.vms.VmsLayer);
method public void addPromiscuousSubscription(int);
method public void addSubscription(int, android.car.vms.VmsLayer);
method public static android.car.vms.VmsOperationRecorder get();
method public void getPublisherId(int);
method public void removeHalSubscription(int, android.car.vms.VmsLayer);
method public void removePromiscuousSubscription(int);
method public void removeSubscription(int, android.car.vms.VmsLayer);
method public void setHalPublisherLayersOffering(android.car.vms.VmsLayersOffering);
method public void setLayersOffering(android.car.vms.VmsLayersOffering);
method public void setPublisherLayersOffering(android.car.vms.VmsLayersOffering);
method public void startMonitoring();
method public void stopMonitoring();
method public void subscribe(android.car.vms.VmsLayer);
method public void subscribe(android.car.vms.VmsLayer, int);
method public void unsubscribe(android.car.vms.VmsLayer);
method public void unsubscribe(android.car.vms.VmsLayer, int);
}
public static class VmsOperationRecorder.Writer {
ctor public VmsOperationRecorder.Writer();
method public boolean isEnabled();
method public void write(java.lang.String);
}
public abstract class VmsPublisherClientService extends android.app.Service {
ctor public VmsPublisherClientService();
method public final int getPublisherId(byte[]);
method public final android.car.vms.VmsSubscriptionState getSubscriptions();
method public final android.os.IBinder onBind(android.content.Intent);
method public final boolean onUnbind(android.content.Intent);
method protected abstract void onVmsPublisherServiceReady();
method public abstract void onVmsSubscriptionChange(android.car.vms.VmsSubscriptionState);
method public final void publish(android.car.vms.VmsLayer, int, byte[]);
method public final void setLayersOffering(android.car.vms.VmsLayersOffering);
}
public final class VmsSubscriberManager {
ctor public VmsSubscriberManager(android.os.IBinder, android.os.Handler);
method public byte[] getPublisherInfo(int) throws android.car.CarNotConnectedException, java.lang.IllegalStateException;
method public void registerClientCallback(android.car.vms.VmsSubscriberManager.VmsSubscriberClientCallback) throws android.car.CarNotConnectedException;
method public void startMonitoring() throws android.car.CarNotConnectedException;
method public void stopMonitoring();
method public void subscribe(android.car.vms.VmsLayer) throws android.car.CarNotConnectedException;
method public void subscribe(android.car.vms.VmsLayer, int) throws android.car.CarNotConnectedException;
method public void unregisterClientCallback() throws android.car.CarNotConnectedException;
method public void unsubscribe(android.car.vms.VmsLayer);
method public void unsubscribe(android.car.vms.VmsLayer, int);
}
public static abstract interface VmsSubscriberManager.VmsSubscriberClientCallback {
method public abstract void onLayersAvailabilityChanged(java.util.List<android.car.vms.VmsLayer>);
method public abstract void onVmsMessageReceived(android.car.vms.VmsLayer, byte[]);
}
public final class VmsSubscriptionState implements android.os.Parcelable {
ctor public VmsSubscriptionState(int, java.util.Set<android.car.vms.VmsLayer>, java.util.Set<android.car.vms.VmsAssociatedLayer>);
method public int describeContents();
method public java.util.Set<android.car.vms.VmsAssociatedLayer> getAssociatedLayers();
method public java.util.Set<android.car.vms.VmsLayer> getLayers();
method public int getSequenceNumber();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.car.vms.VmsSubscriptionState> CREATOR;
}
}