| package android.car { |
| |
| public 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.Looper); |
| 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); |
| method public boolean isConnected(); |
| method public boolean isConnecting(); |
| field public static final java.lang.String APP_CONTEXT_SERVICE = "app_context"; |
| field public static final java.lang.String AUDIO_SERVICE = "audio"; |
| field public static final java.lang.String CAMERA_SERVICE = "camera"; |
| field public static final int CONNECTION_TYPE_EMBEDDED = 5; // 0x5 |
| 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_CAMERA = "android.car.permission.CAR_CAMERA"; |
| 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_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 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_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 TEST_SERVICE = "car-service-test"; |
| } |
| |
| public class CarAppContextManager { |
| method public int getActiveAppContexts(); |
| method public boolean isOwningContext(int); |
| method public void onCarDisconnected(); |
| method public void registerContextListener(android.car.CarAppContextManager.AppContextChangeListener, int); |
| method public void resetActiveContexts(int); |
| method public void setActiveContexts(android.car.CarAppContextManager.AppContextOwnershipChangeListener, int) throws java.lang.SecurityException; |
| method public void unregisterContextListener(); |
| field public static final int APP_CONTEXT_NAVIGATION = 1; // 0x1 |
| field public static final int APP_CONTEXT_VOICE_COMMAND = 2; // 0x2 |
| } |
| |
| public static abstract interface CarAppContextManager.AppContextChangeListener { |
| method public abstract void onAppContextChange(int); |
| } |
| |
| public static abstract interface CarAppContextManager.AppContextOwnershipChangeListener { |
| method public abstract void onAppContextOwnershipLoss(int); |
| } |
| |
| public class CarInfoManager { |
| method public java.lang.Float getFloat(java.lang.String) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException; |
| method public java.lang.Integer getInt(java.lang.String) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException; |
| method public java.lang.Long getLong(java.lang.String) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException; |
| method public java.lang.String getString(java.lang.String) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException; |
| field public static final java.lang.String KEY_MANUFACTURER = "manufacturer"; |
| field public static final java.lang.String KEY_MODEL = "model"; |
| field public static final java.lang.String KEY_MODEL_YEAR = "model-year"; |
| field public static final java.lang.String KEY_VEHICLE_ID = "vehicle-id"; |
| } |
| |
| 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 class CarNotSupportedException extends java.lang.Exception { |
| ctor public CarNotSupportedException(); |
| ctor public CarNotSupportedException(java.lang.String); |
| ctor public CarNotSupportedException(java.lang.String, java.lang.Throwable); |
| ctor public CarNotSupportedException(java.lang.Exception); |
| } |
| |
| public class CarProjectionManager { |
| method public void onCarDisconnected(); |
| method public void registerProjectionRunner(android.content.Intent); |
| method public void regsiterProjectionListener(android.car.CarProjectionManager.CarProjectionListener, int); |
| method public void unregisterProjectionRunner(android.content.Intent); |
| method public void unregsiterProjectionListener(); |
| 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 class VehicleDoor { |
| ctor public 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 class VehicleSeat { |
| ctor public VehicleSeat(); |
| field public static final int SEAT_DRIVER_LHD = 1; // 0x1 |
| field public static final int SEAT_DRIVER_RHD = 2; // 0x2 |
| field public static final int SEAT_ROW_1_PASSENGER_CENTER = 32; // 0x20 |
| field public static final int SEAT_ROW_1_PASSENGER_LEFT = 16; // 0x10 |
| field public static final int SEAT_ROW_1_PASSENGER_RIGHT = 64; // 0x40 |
| field public static final int SEAT_ROW_2_PASSENGER_CENTER = 512; // 0x200 |
| field public static final int SEAT_ROW_2_PASSENGER_LEFT = 256; // 0x100 |
| field public static final int SEAT_ROW_2_PASSENGER_RIGHT = 1024; // 0x400 |
| field public static final int SEAT_ROW_3_PASSENGER_CENTER = 8192; // 0x2000 |
| field public static final int SEAT_ROW_3_PASSENGER_LEFT = 4096; // 0x1000 |
| field public static final int SEAT_ROW_3_PASSENGER_RIGHT = 16384; // 0x4000 |
| } |
| |
| public class VehicleWindow { |
| ctor public 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 class VehicleZone { |
| ctor public 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 class VehicleZoneUtil { |
| ctor public 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.annotation { |
| |
| public abstract class ValueTypeDef implements java.lang.annotation.Annotation { |
| } |
| |
| } |
| |
| 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 setBackgroundResource(int); |
| 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 class DisplayConfiguration implements android.os.Parcelable { |
| ctor public DisplayConfiguration(android.os.Parcel); |
| ctor public DisplayConfiguration(android.graphics.Rect); |
| ctor public DisplayConfiguration(android.graphics.Rect, android.graphics.Rect); |
| method public int describeContents(); |
| method public android.graphics.Rect getPrimaryRegion(); |
| method public android.graphics.Rect getSecondaryRegion(); |
| method public boolean hasSecondaryRegion(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field public static final android.os.Parcelable.Creator<android.car.cluster.renderer.DisplayConfiguration> CREATOR; |
| } |
| |
| public abstract class InstrumentClusterRenderer { |
| ctor public InstrumentClusterRenderer(); |
| method protected abstract android.car.cluster.renderer.NavigationRenderer createNavigationRenderer(); |
| method public abstract android.car.navigation.CarNavigationInstrumentCluster getNavigationProperties(); |
| 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 android.view.View onCreateView(android.car.cluster.renderer.DisplayConfiguration); |
| method public abstract void onStart(); |
| method public abstract void onStop(); |
| } |
| |
| public abstract class NavigationRenderer { |
| ctor public NavigationRenderer(); |
| method public abstract void onNextTurnChanged(int, java.lang.String, int, int, android.graphics.Bitmap, int); |
| method public abstract void onNextTurnDistanceChanged(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 class CarPackageManager { |
| method public boolean isActivityAllowedWhileDriving(java.lang.String, java.lang.String) 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.hardware { |
| |
| public class CarSensorEvent implements android.os.Parcelable { |
| ctor public CarSensorEvent(android.os.Parcel); |
| ctor public CarSensorEvent(int, long, int, int); |
| method public int describeContents(); |
| method public android.car.hardware.CarSensorEvent.CarSpeedData getCarSpeedData(android.car.hardware.CarSensorEvent.CarSpeedData); |
| method public android.car.hardware.CarSensorEvent.DrivingStatusData getDrivingStatusData(android.car.hardware.CarSensorEvent.DrivingStatusData); |
| method public android.car.hardware.CarSensorEvent.EnvironmentData getEnvironmentData(android.car.hardware.CarSensorEvent.EnvironmentData); |
| method public android.car.hardware.CarSensorEvent.FuelLevelData getFuelLevelData(android.car.hardware.CarSensorEvent.FuelLevelData); |
| method public android.car.hardware.CarSensorEvent.GearData getGearData(android.car.hardware.CarSensorEvent.GearData); |
| method public android.car.hardware.CarSensorEvent.NightData getNightData(android.car.hardware.CarSensorEvent.NightData); |
| method public android.car.hardware.CarSensorEvent.OdometerData getOdometerData(android.car.hardware.CarSensorEvent.OdometerData); |
| method public android.car.hardware.CarSensorEvent.ParkingBrakeData getParkingBrakeData(android.car.hardware.CarSensorEvent.ParkingBrakeData); |
| method public android.car.hardware.CarSensorEvent.RpmData getRpmData(android.car.hardware.CarSensorEvent.RpmData); |
| 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 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 final float[] floatValues; |
| field public final int[] intValues; |
| field public int sensorType; |
| field public long timeStampNs; |
| } |
| |
| public static class CarSensorEvent.CarSpeedData { |
| ctor public CarSensorEvent.CarSpeedData(); |
| field public float carSpeed; |
| field public long timeStampNs; |
| } |
| |
| public static class CarSensorEvent.DrivingStatusData { |
| ctor public CarSensorEvent.DrivingStatusData(); |
| field public int status; |
| field public long timeStampNs; |
| } |
| |
| public static class CarSensorEvent.EnvironmentData { |
| ctor public CarSensorEvent.EnvironmentData(); |
| field public float pressure; |
| field public float temperature; |
| field public long timeStampNs; |
| } |
| |
| public static class CarSensorEvent.FuelLevelData { |
| ctor public CarSensorEvent.FuelLevelData(); |
| field public int level; |
| field public boolean lowFuelWarning; |
| field public float range; |
| field public long timeStampNs; |
| } |
| |
| public static class CarSensorEvent.GearData { |
| ctor public CarSensorEvent.GearData(); |
| field public int gear; |
| field public long timeStampNs; |
| } |
| |
| public static class CarSensorEvent.NightData { |
| ctor public CarSensorEvent.NightData(); |
| field public boolean isNightMode; |
| field public long timeStampNs; |
| } |
| |
| public static class CarSensorEvent.OdometerData { |
| ctor public CarSensorEvent.OdometerData(); |
| field public float kms; |
| field public long timeStampNs; |
| } |
| |
| public static class CarSensorEvent.ParkingBrakeData { |
| ctor public CarSensorEvent.ParkingBrakeData(); |
| field public boolean isEngaged; |
| field public long timeStampNs; |
| } |
| |
| public static class CarSensorEvent.RpmData { |
| ctor public CarSensorEvent.RpmData(); |
| field public float rpm; |
| field public long timeStampNs; |
| } |
| |
| public 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.CarSensorEventListener, int, int) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException; |
| method public void unregisterListener(android.car.hardware.CarSensorManager.CarSensorEventListener); |
| method public void unregisterListener(android.car.hardware.CarSensorManager.CarSensorEventListener, 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_CAR_SPEED = 2; // 0x2 |
| field public static final int SENSOR_TYPE_DRIVING_STATUS = 10; // 0xa |
| field public static final int SENSOR_TYPE_ENVIRONMENT = 11; // 0xb |
| 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_NIGHT = 8; // 0x8 |
| 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_VENDOR_EXTENSION_END = 1879048191; // 0x6fffffff |
| } |
| |
| public static abstract interface CarSensorManager.CarSensorEventListener { |
| method public abstract void onSensorChanged(android.car.hardware.CarSensorEvent); |
| } |
| |
| } |
| |
| package android.car.hardware.camera { |
| |
| public class CarCamera { |
| ctor public CarCamera(android.car.hardware.camera.ICarCamera, int); |
| method public android.graphics.Rect getCameraCrop(); |
| method public android.graphics.Rect getCameraPosition(); |
| method public android.car.hardware.camera.CarCameraState getCameraState(); |
| method public int getCapabilities(); |
| method public void setCameraCrop(android.graphics.Rect); |
| method public void setCameraPosition(android.graphics.Rect); |
| method public void setCameraState(android.car.hardware.camera.CarCameraState); |
| field public static final java.lang.String TAG; |
| field public final int mCameraType; |
| } |
| |
| public class CarCameraManager { |
| method public void closeCamera(android.car.hardware.camera.CarCamera); |
| method public int getCameraCapabilities(int); |
| method public int[] getCameraList(); |
| method public android.car.hardware.camera.CarCamera openCamera(int); |
| field public static final int ANDROID_OVERLAY_SUPPORT_FLAG = 1; // 0x1 |
| field public static final int CAMERA_CROP_SUPPORT_FLAG = 2; // 0x2 |
| field public static final int CAMERA_POSITIONING_SUPPORT_FLAG = 4; // 0x4 |
| field public static final int CAR_CAMERA_TYPE_NONE = 0; // 0x0 |
| field public static final int CAR_CAMERA_TYPE_RVC = 1; // 0x1 |
| field public static final boolean DBG = true; |
| field public static final java.lang.String TAG; |
| } |
| |
| public class CarCameraState implements android.os.Parcelable { |
| ctor public CarCameraState(android.car.hardware.camera.CarCameraState); |
| ctor public CarCameraState(boolean, boolean); |
| method public int describeContents(); |
| method public boolean getCameraIsOn(); |
| method public boolean getOverlayIsOn(); |
| method public void setCameraIsOn(boolean); |
| method public void setOverlayIsOn(boolean); |
| method public void writeToParcel(android.os.Parcel, int); |
| field public static final android.os.Parcelable.Creator<android.car.hardware.camera.CarCameraState> CREATOR; |
| } |
| |
| public abstract interface ICarCamera implements android.os.IInterface { |
| method public abstract android.graphics.Rect getCameraCrop(int) throws android.os.RemoteException; |
| method public abstract int[] getCameraList() throws android.os.RemoteException; |
| method public abstract android.graphics.Rect getCameraPosition(int) throws android.os.RemoteException; |
| method public abstract android.car.hardware.camera.CarCameraState getCameraState(int) throws android.os.RemoteException; |
| method public abstract int getCapabilities(int) throws android.os.RemoteException; |
| method public abstract void setCameraCrop(int, android.graphics.Rect) throws android.os.RemoteException; |
| method public abstract void setCameraPosition(int, android.graphics.Rect) throws android.os.RemoteException; |
| method public abstract void setCameraState(int, android.car.hardware.camera.CarCameraState) throws android.os.RemoteException; |
| } |
| |
| } |
| |
| package android.car.hardware.hvac { |
| |
| public class CarHvacEvent implements android.os.Parcelable { |
| ctor public CarHvacEvent(int, int, int, boolean); |
| ctor public CarHvacEvent(int, int, int, float); |
| ctor public CarHvacEvent(int, int, int, int); |
| method public int describeContents(); |
| method public int getEventType(); |
| method public float getFloatValue(); |
| method public int getIntValue(); |
| method public int getPropertyId(); |
| method public int getPropertyType(); |
| method public int getZone(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field public static final android.os.Parcelable.Creator<android.car.hardware.hvac.CarHvacEvent> CREATOR; |
| field public static final int HVAC_EVENT_ERROR = 1; // 0x1 |
| field public static final int HVAC_EVENT_PROPERTY_CHANGE = 0; // 0x0 |
| } |
| |
| public class CarHvacManager { |
| method public boolean getBooleanProperty(int, int); |
| method public float getFloatProperty(int, int); |
| method public int getIntProperty(int, int); |
| method public java.util.List<android.car.hardware.hvac.CarHvacManager.CarHvacBaseProperty> getPropertyList(); |
| method public static boolean isZonedProperty(int); |
| method public synchronized void registerListener(android.car.hardware.hvac.CarHvacManager.CarHvacEventListener) throws android.car.CarNotConnectedException; |
| method public void setBooleanProperty(int, int, boolean); |
| method public void setFloatProperty(int, int, float); |
| method public void setIntProperty(int, int, int); |
| method public synchronized void unregisterListener(); |
| field public static final boolean DBG = true; |
| field public static final int HVAC_AIR_RECIRCULATION_ON = 4; // 0x4 |
| field public static final int HVAC_AUTOMATIC_MODE_ON = 3; // 0x3 |
| field public static final int HVAC_MIRROR_DEFROSTER_ON = 1; // 0x1 |
| field public static final int HVAC_STEERING_WHEEL_TEMP = 5; // 0x5 |
| field public static final int HVAC_WINDOW_DEFROSTER_ON = 20481; // 0x5001 |
| field public static final int HVAC_ZONED_AC_ON = 16393; // 0x4009 |
| field public static final int HVAC_ZONED_FAN_POSITION = 16391; // 0x4007 |
| field public static final int HVAC_ZONED_FAN_POSITION_AVAILABLE = 16390; // 0x4006 |
| field public static final int HVAC_ZONED_FAN_SPEED_RPM = 16389; // 0x4005 |
| field public static final int HVAC_ZONED_FAN_SPEED_SETPOINT = 16388; // 0x4004 |
| field public static final int HVAC_ZONED_SEAT_TEMP = 16392; // 0x4008 |
| field public static final int HVAC_ZONED_TEMP_ACTUAL = 16386; // 0x4002 |
| field public static final int HVAC_ZONED_TEMP_IS_FAHRENHEIT = 16387; // 0x4003 |
| field public static final int HVAC_ZONED_TEMP_SETPOINT = 16385; // 0x4001 |
| field public static final int MAX_GLOBAL_PROPERTY_ID = 16383; // 0x3fff |
| field public static final int PROPERTY_TYPE_BOOLEAN = 0; // 0x0 |
| field public static final int PROPERTY_TYPE_FLOAT = 1; // 0x1 |
| field public static final int PROPERTY_TYPE_FLOAT_VECTOR = 4; // 0x4 |
| field public static final int PROPERTY_TYPE_INT = 2; // 0x2 |
| field public static final int PROPERTY_TYPE_INT_VECTOR = 3; // 0x3 |
| field public static final java.lang.String TAG = "CarHvacManager"; |
| } |
| |
| public static class CarHvacManager.CarHvacBaseProperty { |
| ctor public CarHvacManager.CarHvacBaseProperty(int, int, int); |
| method protected void assertNonZonedProperty(); |
| method protected void assertZonedProperty(); |
| method public int getPropertyId(); |
| method public int getType(); |
| method public int getZone(); |
| method public int getZones(); |
| method public boolean isZonedProperty(); |
| field protected final int mPropertyId; |
| field protected final int mType; |
| field protected final int mZones; |
| } |
| |
| public static final class CarHvacManager.CarHvacBooleanProperty extends android.car.hardware.hvac.CarHvacManager.CarHvacBaseProperty { |
| ctor public CarHvacManager.CarHvacBooleanProperty(int, int); |
| } |
| |
| public static final class CarHvacManager.CarHvacBooleanValue extends android.car.hardware.hvac.CarHvacManager.CarHvacBaseProperty { |
| ctor public CarHvacManager.CarHvacBooleanValue(int, int, boolean); |
| method public boolean getValue(); |
| } |
| |
| public static abstract interface CarHvacManager.CarHvacEventListener { |
| method public abstract void onChangeEvent(android.car.hardware.hvac.CarHvacManager.CarHvacBaseProperty); |
| method public abstract void onErrorEvent(int, int); |
| } |
| |
| public static final class CarHvacManager.CarHvacFloatProperty extends android.car.hardware.hvac.CarHvacManager.CarHvacBaseProperty { |
| ctor public CarHvacManager.CarHvacFloatProperty(int, int, float[], float[]); |
| method public float getMaxValue(); |
| method public float getMaxValue(int); |
| method public float getMinValue(); |
| method public float getMinValue(int); |
| } |
| |
| public static final class CarHvacManager.CarHvacFloatValue extends android.car.hardware.hvac.CarHvacManager.CarHvacBaseProperty { |
| ctor public CarHvacManager.CarHvacFloatValue(int, int, float); |
| method public float getValue(); |
| } |
| |
| public static final class CarHvacManager.CarHvacIntProperty extends android.car.hardware.hvac.CarHvacManager.CarHvacBaseProperty { |
| ctor public CarHvacManager.CarHvacIntProperty(int, int, int[], int[]); |
| method public int getMaxValue(); |
| method public int getMaxValue(int); |
| method public int getMinValue(); |
| method public int getMinValue(int); |
| } |
| |
| public static final class CarHvacManager.CarHvacIntValue extends android.car.hardware.hvac.CarHvacManager.CarHvacBaseProperty { |
| ctor public CarHvacManager.CarHvacIntValue(int, int, int); |
| method public int getValue(); |
| } |
| |
| public class CarHvacProperty implements android.os.Parcelable { |
| ctor public CarHvacProperty(android.car.hardware.hvac.CarHvacProperty); |
| ctor public CarHvacProperty(int, int, boolean); |
| ctor public CarHvacProperty(int, int, float[], float[], float); |
| ctor public CarHvacProperty(int, int, int[], int[], int); |
| ctor public CarHvacProperty(int, int, int[], int[], int[]); |
| ctor public CarHvacProperty(int, int, float[], float[], float[]); |
| method public int describeContents(); |
| method public boolean getBooleanValue(); |
| method public float[] getFloatMaxs(); |
| method public float[] getFloatMins(); |
| method public float getFloatValue(); |
| method public float[] getFloatValues(); |
| method public int[] getIntMaxs(); |
| method public int[] getIntMins(); |
| method public int getIntValue(); |
| method public int[] getIntValues(); |
| method public int getPropertyId(); |
| method public int getType(); |
| method public int getZones(); |
| method public void setBooleanValue(boolean); |
| method public void setFloatValue(float); |
| method public void setFloatValues(float[]); |
| method public void setIntValue(int); |
| method public void setIntValues(int[]); |
| method public void setZones(int); |
| method public void writeToParcel(android.os.Parcel, int); |
| field public static final android.os.Parcelable.Creator<android.car.hardware.hvac.CarHvacProperty> CREATOR; |
| } |
| |
| } |
| |
| 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 class CarRadioManager { |
| method public android.car.hardware.radio.CarRadioPreset getPreset(int); |
| method public int getPresetCount(); |
| 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 java.lang.IllegalArgumentException; |
| method public synchronized void unregisterListener(); |
| field public static final boolean DBG = true; |
| field public static final java.lang.String TAG = "CarRadioManager"; |
| } |
| |
| 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.media { |
| |
| public class CarAudioManager { |
| method public int abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, android.media.AudioAttributes); |
| method public android.media.AudioAttributes getAudioAttributesForCarUsage(int); |
| method public void onCarDisconnected(); |
| method public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, android.media.AudioAttributes, int, int) throws java.lang.IllegalArgumentException; |
| 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_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 getMinIntervalMs(); |
| method public int getType(); |
| method public boolean supportsCustomImages(); |
| method public void writeToParcel(android.os.Parcel, int); |
| field public static final android.os.Parcelable.Creator<android.car.navigation.CarNavigationInstrumentCluster> CREATOR; |
| } |
| |
| public static abstract class CarNavigationInstrumentCluster.ClusterType implements java.lang.annotation.Annotation { |
| field public static final int CUSTOM_IMAGES_SUPPORTED = 1; // 0x1 |
| field public static final int IMAGE_CODES_ONLY = 2; // 0x2 |
| } |
| |
| } |
| |
| package android.car.test { |
| |
| public class CarTestManagerBinderWrapper { |
| ctor public CarTestManagerBinderWrapper(android.os.IBinder); |
| method public void onCarDisconnected(); |
| field public final android.os.IBinder binder; |
| } |
| |
| } |
| |