Home | History | Annotate | Download | only in api
      1 package android.car {
      2 
      3   public final class Car {
      4     method public void connect() throws java.lang.IllegalStateException;
      5     method public static android.car.Car createCar(android.content.Context, android.content.ServiceConnection, android.os.Handler);
      6     method public static android.car.Car createCar(android.content.Context, android.content.ServiceConnection);
      7     method public void disconnect();
      8     method public int getCarConnectionType();
      9     method public java.lang.Object getCarManager(java.lang.String) throws android.car.CarNotConnectedException;
     10     method public boolean isConnected();
     11     method public boolean isConnecting();
     12     field public static final java.lang.String APP_FOCUS_SERVICE = "app_focus";
     13     field public static final java.lang.String AUDIO_SERVICE = "audio";
     14     field public static final java.lang.String CABIN_SERVICE = "cabin";
     15     field public static final int CONNECTION_TYPE_EMBEDDED = 5; // 0x5
     16     field public static final java.lang.String HVAC_SERVICE = "hvac";
     17     field public static final java.lang.String INFO_SERVICE = "info";
     18     field public static final java.lang.String PACKAGE_SERVICE = "package";
     19     field public static final java.lang.String PERMISSION_CAR_CABIN = "android.car.permission.CAR_CABIN";
     20     field public static final java.lang.String PERMISSION_CAR_CONTROL_AUDIO_VOLUME = "android.car.permission.CAR_CONTROL_AUDIO_VOLUME";
     21     field public static final java.lang.String PERMISSION_CAR_HVAC = "android.car.permission.CAR_HVAC";
     22     field public static final java.lang.String PERMISSION_CAR_PROJECTION = "android.car.permission.CAR_PROJECTION";
     23     field public static final java.lang.String PERMISSION_CAR_RADIO = "android.car.permission.CAR_RADIO";
     24     field public static final java.lang.String PERMISSION_CAR_TEST_SERVICE = "android.car.permission.CAR_TEST_SERVICE";
     25     field public static final java.lang.String PERMISSION_CONTROL_APP_BLOCKING = "android.car.permission.CONTROL_APP_BLOCKING";
     26     field public static final java.lang.String PERMISSION_FUEL = "android.car.permission.CAR_FUEL";
     27     field public static final java.lang.String PERMISSION_MILEAGE = "android.car.permission.CAR_MILEAGE";
     28     field public static final deprecated java.lang.String PERMISSION_MOCK_VEHICLE_HAL = "android.car.permission.CAR_MOCK_VEHICLE_HAL";
     29     field public static final java.lang.String PERMISSION_SPEED = "android.car.permission.CAR_SPEED";
     30     field public static final java.lang.String PERMISSION_VENDOR_EXTENSION = "android.car.permission.CAR_VENDOR_EXTENSION";
     31     field public static final java.lang.String PERMISSION_VMS_PUBLISHER = "android.car.permission.VMS_PUBLISHER";
     32     field public static final java.lang.String PERMISSION_VMS_SUBSCRIBER = "android.car.permission.VMS_SUBSCRIBER";
     33     field public static final java.lang.String PROJECTION_SERVICE = "projection";
     34     field public static final java.lang.String RADIO_SERVICE = "radio";
     35     field public static final java.lang.String SENSOR_SERVICE = "sensor";
     36     field public static final java.lang.String TEST_SERVICE = "car-service-test";
     37     field public static final java.lang.String VENDOR_EXTENSION_SERVICE = "vendor_extension";
     38     field public static final int VERSION = 2; // 0x2
     39     field public static final java.lang.String VMS_SUBSCRIBER_SERVICE = "vehicle_map_subscriber_service";
     40   }
     41 
     42   public final class CarAppFocusManager {
     43     method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, int);
     44     method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback);
     45     method public void addFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener, int) throws android.car.CarNotConnectedException;
     46     method public boolean isOwningFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, int) throws android.car.CarNotConnectedException;
     47     method public void removeFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener, int);
     48     method public void removeFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener);
     49     method public int requestAppFocus(int, android.car.CarAppFocusManager.OnAppFocusOwnershipCallback) throws android.car.CarNotConnectedException, java.lang.SecurityException;
     50     field public static final int APP_FOCUS_REQUEST_FAILED = 0; // 0x0
     51     field public static final int APP_FOCUS_REQUEST_SUCCEEDED = 1; // 0x1
     52     field public static final int APP_FOCUS_TYPE_NAVIGATION = 1; // 0x1
     53     field public static final int APP_FOCUS_TYPE_VOICE_COMMAND = 2; // 0x2
     54   }
     55 
     56   public static abstract interface CarAppFocusManager.OnAppFocusChangedListener {
     57     method public abstract void onAppFocusChanged(int, boolean);
     58   }
     59 
     60   public static abstract interface CarAppFocusManager.OnAppFocusOwnershipCallback {
     61     method public abstract void onAppFocusOwnershipGranted(int);
     62     method public abstract void onAppFocusOwnershipLost(int);
     63   }
     64 
     65   public final class CarInfoManager {
     66     method public java.lang.String getManufacturer() throws android.car.CarNotConnectedException;
     67     method public java.lang.String getModel() throws android.car.CarNotConnectedException;
     68     method public java.lang.String getModelYear() throws android.car.CarNotConnectedException;
     69     method public java.lang.String getVehicleId() throws android.car.CarNotConnectedException;
     70   }
     71 
     72   public class CarNotConnectedException extends java.lang.Exception {
     73     ctor public CarNotConnectedException();
     74     ctor public CarNotConnectedException(java.lang.String);
     75     ctor public CarNotConnectedException(java.lang.String, java.lang.Throwable);
     76     ctor public CarNotConnectedException(java.lang.Exception);
     77   }
     78 
     79   public final class CarProjectionManager {
     80     method public void onCarDisconnected();
     81     method public void registerProjectionRunner(android.content.Intent) throws android.car.CarNotConnectedException;
     82     method public void regsiterProjectionListener(android.car.CarProjectionManager.CarProjectionListener, int) throws android.car.CarNotConnectedException;
     83     method public void unregisterProjectionRunner(android.content.Intent);
     84     method public void unregsiterProjectionListener();
     85     field public static final int PROJECTION_LONG_PRESS_VOICE_SEARCH = 2; // 0x2
     86     field public static final int PROJECTION_VOICE_SEARCH = 1; // 0x1
     87   }
     88 
     89   public static abstract interface CarProjectionManager.CarProjectionListener {
     90     method public abstract void onVoiceAssistantRequest(boolean);
     91   }
     92 
     93   public final class VehicleAreaType {
     94     field public static final int VEHICLE_AREA_TYPE_DOOR = 4; // 0x4
     95     field public static final int VEHICLE_AREA_TYPE_MIRROR = 5; // 0x5
     96     field public static final int VEHICLE_AREA_TYPE_NONE = 0; // 0x0
     97     field public static final int VEHICLE_AREA_TYPE_SEAT = 3; // 0x3
     98     field public static final int VEHICLE_AREA_TYPE_WINDOW = 2; // 0x2
     99     field public static final int VEHICLE_AREA_TYPE_ZONE = 1; // 0x1
    100   }
    101 
    102   public final class VehicleDoor {
    103     field public static final int DOOR_HOOD = 268435456; // 0x10000000
    104     field public static final int DOOR_REAR = 536870912; // 0x20000000
    105     field public static final int DOOR_ROW_1_LEFT = 1; // 0x1
    106     field public static final int DOOR_ROW_1_RIGHT = 4; // 0x4
    107     field public static final int DOOR_ROW_2_LEFT = 16; // 0x10
    108     field public static final int DOOR_ROW_2_RIGHT = 64; // 0x40
    109     field public static final int DOOR_ROW_3_LEFT = 256; // 0x100
    110     field public static final int DOOR_ROW_3_RIGHT = 1024; // 0x400
    111   }
    112 
    113   public final class VehicleMirror {
    114     field public static final int MIRROR_DRIVER_CENTER = 4; // 0x4
    115     field public static final int MIRROR_DRIVER_LEFT = 1; // 0x1
    116     field public static final int MIRROR_DRIVER_RIGHT = 2; // 0x2
    117   }
    118 
    119   public final class VehicleSeat {
    120     field public static final int SEAT_ROW_1_CENTER = 2; // 0x2
    121     field public static final int SEAT_ROW_1_LEFT = 1; // 0x1
    122     field public static final int SEAT_ROW_1_RIGHT = 4; // 0x4
    123     field public static final int SEAT_ROW_2_CENTER = 32; // 0x20
    124     field public static final int SEAT_ROW_2_LEFT = 16; // 0x10
    125     field public static final int SEAT_ROW_2_RIGHT = 64; // 0x40
    126     field public static final int SEAT_ROW_3_CENTER = 512; // 0x200
    127     field public static final int SEAT_ROW_3_LEFT = 256; // 0x100
    128     field public static final int SEAT_ROW_3_RIGHT = 1024; // 0x400
    129   }
    130 
    131   public final class VehicleWindow {
    132     field public static final int WINDOW_FRONT_WINDSHIELD = 1; // 0x1
    133     field public static final int WINDOW_REAR_WINDSHIELD = 2; // 0x2
    134     field public static final int WINDOW_ROOF_TOP = 4; // 0x4
    135     field public static final int WINDOW_ROW_1_LEFT = 16; // 0x10
    136     field public static final int WINDOW_ROW_1_RIGHT = 32; // 0x20
    137     field public static final int WINDOW_ROW_2_LEFT = 256; // 0x100
    138     field public static final int WINDOW_ROW_2_RIGHT = 512; // 0x200
    139     field public static final int WINDOW_ROW_3_LEFT = 4096; // 0x1000
    140     field public static final int WINDOW_ROW_3_RIGHT = 8192; // 0x2000
    141   }
    142 
    143   public final class VehicleZone {
    144     field public static final int ZONE_ALL = -2147483648; // 0x80000000
    145     field public static final int ZONE_ROW_1_ALL = 8; // 0x8
    146     field public static final int ZONE_ROW_1_CENTER = 2; // 0x2
    147     field public static final int ZONE_ROW_1_LEFT = 1; // 0x1
    148     field public static final int ZONE_ROW_1_RIGHT = 4; // 0x4
    149     field public static final int ZONE_ROW_2_ALL = 128; // 0x80
    150     field public static final int ZONE_ROW_2_CENTER = 32; // 0x20
    151     field public static final int ZONE_ROW_2_LEFT = 16; // 0x10
    152     field public static final int ZONE_ROW_2_RIGHT = 64; // 0x40
    153     field public static final int ZONE_ROW_3_ALL = 2048; // 0x800
    154     field public static final int ZONE_ROW_3_CENTER = 512; // 0x200
    155     field public static final int ZONE_ROW_3_LEFT = 256; // 0x100
    156     field public static final int ZONE_ROW_3_RIGHT = 1024; // 0x400
    157     field public static final int ZONE_ROW_4_ALL = 32768; // 0x8000
    158     field public static final int ZONE_ROW_4_CENTER = 8192; // 0x2000
    159     field public static final int ZONE_ROW_4_LEFT = 4096; // 0x1000
    160     field public static final int ZONE_ROW_4_RIGHT = 16384; // 0x4000
    161   }
    162 
    163   public final class VehicleZoneUtil {
    164     method public static int getFirstZone(int);
    165     method public static int getNextZone(int, int) throws java.lang.IllegalArgumentException;
    166     method public static int getNumberOfZones(int);
    167     method public static int[] listAllZones(int);
    168     method public static int zoneToIndex(int, int) throws java.lang.IllegalArgumentException;
    169   }
    170 
    171 }
    172 
    173 package android.car.app.menu {
    174 
    175   public abstract class CarMenuCallbacks {
    176     ctor public CarMenuCallbacks();
    177     method public abstract android.car.app.menu.RootMenu getRootMenu(android.os.Bundle);
    178     method public abstract void onCarMenuClosed();
    179     method public abstract void onCarMenuClosing();
    180     method public abstract void onCarMenuOpened();
    181     method public abstract void onCarMenuOpening();
    182     method public abstract void onItemClicked(java.lang.String);
    183     method public abstract boolean onItemLongClicked(java.lang.String);
    184     method public abstract boolean onMenuClicked();
    185     method public abstract void subscribe(java.lang.String, android.car.app.menu.SubscriptionCallbacks);
    186     method public abstract void unsubscribe(java.lang.String, android.car.app.menu.SubscriptionCallbacks);
    187   }
    188 
    189   public class CarMenuConstants {
    190     ctor public CarMenuConstants();
    191   }
    192 
    193   public static class CarMenuConstants.MenuItemConstants {
    194     ctor public CarMenuConstants.MenuItemConstants();
    195     field public static final int FLAG_BROWSABLE = 1; // 0x1
    196     field public static final int FLAG_FIRSTITEM = 2; // 0x2
    197     field public static final java.lang.String KEY_EMPTY_PLACEHOLDER = "android.car.app.menu.empty_placeholder";
    198     field public static final java.lang.String KEY_FLAGS = "android.car.app.menu.flags";
    199     field public static final java.lang.String KEY_ID = "android.car.app.menu.id";
    200     field public static final java.lang.String KEY_LEFTICON = "android.car.app.menu.leftIcon";
    201     field public static final java.lang.String KEY_REMOTEVIEWS = "android.car.app.menu.remoteViews";
    202     field public static final java.lang.String KEY_RIGHTICON = "android.car.app.menu.rightIcon";
    203     field public static final java.lang.String KEY_RIGHTTEXT = "android.car.app.menu.rightText";
    204     field public static final java.lang.String KEY_TEXT = "android.car.app.menu.text";
    205     field public static final java.lang.String KEY_TITLE = "android.car.app.menu.title";
    206     field public static final java.lang.String KEY_WIDGET = "android.car.app.menu.widget";
    207     field public static final java.lang.String KEY_WIDGET_STATE = "android.car.app.menu.widget_state";
    208     field public static final int WIDGET_CHECKBOX = 1; // 0x1
    209     field public static final int WIDGET_TEXT_VIEW = 2; // 0x2
    210   }
    211 
    212   public static abstract class CarMenuConstants.MenuItemConstants.MenuItemFlags implements java.lang.annotation.Annotation {
    213   }
    214 
    215   public static abstract class CarMenuConstants.MenuItemConstants.WidgetTypes implements java.lang.annotation.Annotation {
    216   }
    217 
    218   public abstract class CarUiEntry {
    219     ctor public CarUiEntry(android.content.Context, android.content.Context);
    220     method public abstract void closeDrawer();
    221     method public abstract android.view.View getContentView();
    222     method public abstract int getFragmentContainerId();
    223     method public abstract java.lang.CharSequence getSearchBoxText();
    224     method public abstract void hideMenuButton();
    225     method public abstract void hideTitle();
    226     method public abstract void onPause();
    227     method public abstract void onRestoreInstanceState(android.os.Bundle);
    228     method public abstract void onResume();
    229     method public abstract void onSaveInstanceState(android.os.Bundle);
    230     method public abstract void onStart();
    231     method public abstract void onStop();
    232     method public abstract void openDrawer();
    233     method public abstract void restoreMenuDrawable();
    234     method public abstract void setAutoLightDarkMode();
    235     method public abstract void setBackground(android.graphics.Bitmap);
    236     method public abstract void setCarMenuCallbacks(android.car.app.menu.CarMenuCallbacks);
    237     method public abstract void setDarkMode();
    238     method public abstract void setLightMode();
    239     method public abstract void setMenuButtonBitmap(android.graphics.Bitmap);
    240     method public abstract void setMenuButtonColor(int);
    241     method public abstract void setScrimColor(int);
    242     method public abstract void setSearchBoxColors(int, int, int, int);
    243     method public abstract void setSearchBoxEditListener(android.car.app.menu.SearchBoxEditListener);
    244     method public abstract void setSearchBoxEndView(android.view.View);
    245     method public abstract void setTitle(java.lang.CharSequence);
    246     method public abstract void showMenu(java.lang.String, java.lang.String);
    247     method public abstract void showSearchBox(android.view.View.OnClickListener);
    248     method public abstract void showTitle();
    249     method public abstract void showToast(java.lang.String, long);
    250     method public abstract android.widget.EditText startInput(java.lang.String, android.view.View.OnClickListener);
    251     method public abstract void stopInput();
    252     field protected final android.content.Context mAppContext;
    253     field protected final android.content.Context mUiLibContext;
    254   }
    255 
    256   public class RootMenu {
    257     ctor public RootMenu(java.lang.String);
    258     ctor public RootMenu(java.lang.String, android.os.Bundle);
    259     method public android.os.Bundle getBundle();
    260     method public java.lang.String getId();
    261   }
    262 
    263   public abstract class SearchBoxEditListener {
    264     ctor public SearchBoxEditListener();
    265     method public abstract void onEdit(java.lang.String);
    266     method public abstract void onSearch(java.lang.String);
    267   }
    268 
    269   public abstract class SubscriptionCallbacks {
    270     ctor public SubscriptionCallbacks();
    271     method public abstract void onChildChanged(java.lang.String, android.os.Bundle);
    272     method public abstract void onChildrenLoaded(java.lang.String, java.util.List<android.os.Bundle>);
    273     method public abstract void onError(java.lang.String);
    274   }
    275 
    276 }
    277 
    278 package android.car.cluster.renderer {
    279 
    280   public class DisplayConfiguration implements android.os.Parcelable {
    281     ctor public DisplayConfiguration(android.os.Parcel);
    282     ctor public DisplayConfiguration(android.graphics.Rect);
    283     ctor public DisplayConfiguration(android.graphics.Rect, android.graphics.Rect);
    284     method public int describeContents();
    285     method public android.graphics.Rect getPrimaryRegion();
    286     method public android.graphics.Rect getSecondaryRegion();
    287     method public boolean hasSecondaryRegion();
    288     method public void writeToParcel(android.os.Parcel, int);
    289     field public static final android.os.Parcelable.Creator<android.car.cluster.renderer.DisplayConfiguration> CREATOR;
    290   }
    291 
    292   public abstract class InstrumentClusterRenderer {
    293     ctor public InstrumentClusterRenderer();
    294     method protected abstract android.car.cluster.renderer.NavigationRenderer createNavigationRenderer();
    295     method public synchronized android.car.cluster.renderer.NavigationRenderer getNavigationRenderer();
    296     method public final synchronized void initialize();
    297     method public abstract void onCreate(android.content.Context);
    298     method public abstract void onStart();
    299     method public abstract void onStop();
    300   }
    301 
    302   public abstract class InstrumentClusterRenderingService extends android.app.Service {
    303     ctor public InstrumentClusterRenderingService();
    304     method protected abstract android.car.cluster.renderer.NavigationRenderer getNavigationRenderer();
    305     method public android.os.IBinder onBind(android.content.Intent);
    306     method protected void onKeyEvent(android.view.KeyEvent);
    307   }
    308 
    309   public abstract class NavigationRenderer {
    310     ctor public NavigationRenderer();
    311     method public abstract android.car.navigation.CarNavigationInstrumentCluster getNavigationProperties();
    312     method public abstract void onNextTurnChanged(int, java.lang.CharSequence, int, int, android.graphics.Bitmap, int);
    313     method public abstract void onNextTurnDistanceChanged(int, int, int, int);
    314     method public abstract void onStartNavigation();
    315     method public abstract void onStopNavigation();
    316   }
    317 
    318 }
    319 
    320 package android.car.content.pm {
    321 
    322   public class AppBlockingPackageInfo implements android.os.Parcelable {
    323     ctor public AppBlockingPackageInfo(java.lang.String, int, int, int, android.content.pm.Signature[], java.lang.String[]);
    324     ctor public AppBlockingPackageInfo(android.os.Parcel);
    325     method public int describeContents();
    326     method public void writeToParcel(android.os.Parcel, int);
    327     field public static final android.os.Parcelable.Creator<android.car.content.pm.AppBlockingPackageInfo> CREATOR;
    328     field public static final int FLAG_SYSTEM_APP = 1; // 0x1
    329     field public static final int FLAG_WHOLE_ACTIVITY = 2; // 0x2
    330     field public final java.lang.String[] activities;
    331     field public final int flags;
    332     field public final int maxRevisionCode;
    333     field public final int minRevisionCode;
    334     field public final java.lang.String packageName;
    335     field public final android.content.pm.Signature[] signatures;
    336   }
    337 
    338   public class CarAppBlockingPolicy implements android.os.Parcelable {
    339     ctor public CarAppBlockingPolicy(android.car.content.pm.AppBlockingPackageInfo[], android.car.content.pm.AppBlockingPackageInfo[]);
    340     ctor public CarAppBlockingPolicy(android.os.Parcel);
    341     method public int describeContents();
    342     method public void writeToParcel(android.os.Parcel, int);
    343     field public static final android.os.Parcelable.Creator<android.car.content.pm.CarAppBlockingPolicy> CREATOR;
    344     field public final android.car.content.pm.AppBlockingPackageInfo[] blacklists;
    345     field public final android.car.content.pm.AppBlockingPackageInfo[] whitelists;
    346   }
    347 
    348   public abstract class CarAppBlockingPolicyService extends android.app.Service {
    349     ctor public CarAppBlockingPolicyService();
    350     method protected abstract android.car.content.pm.CarAppBlockingPolicy getAppBlockingPolicy();
    351     method public android.os.IBinder onBind(android.content.Intent);
    352     field public static final java.lang.String SERVICE_INTERFACE = "android.car.content.pm.CarAppBlockingPolicyService";
    353   }
    354 
    355   public final class CarPackageManager {
    356     method public boolean isActivityAllowedWhileDriving(java.lang.String, java.lang.String) throws android.car.CarNotConnectedException;
    357     method public boolean isActivityBackedBySafeActivity(android.content.ComponentName) throws android.car.CarNotConnectedException;
    358     method public boolean isServiceAllowedWhileDriving(java.lang.String, java.lang.String) throws android.car.CarNotConnectedException;
    359     method public void setAppBlockingPolicy(java.lang.String, android.car.content.pm.CarAppBlockingPolicy, int) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException, java.lang.SecurityException;
    360     field public static final int FLAG_SET_POLICY_ADD = 2; // 0x2
    361     field public static final int FLAG_SET_POLICY_REMOVE = 4; // 0x4
    362     field public static final int FLAG_SET_POLICY_WAIT_FOR_CHANGE = 1; // 0x1
    363   }
    364 
    365 }
    366 
    367 package android.car.hardware {
    368 
    369   public class CarPropertyConfig<T> implements android.os.Parcelable {
    370     method public int describeContents();
    371     method public int getAreaCount();
    372     method public int[] getAreaIds();
    373     method public int getAreaType();
    374     method public int getFirstAndOnlyAreaId();
    375     method public T getMaxValue(int);
    376     method public T getMaxValue();
    377     method public T getMinValue(int);
    378     method public T getMinValue();
    379     method public int getPropertyId();
    380     method public java.lang.Class<T> getPropertyType();
    381     method public boolean hasArea(int);
    382     method public boolean isGlobalProperty();
    383     method public static <T> android.car.hardware.CarPropertyConfig.Builder<T> newBuilder(java.lang.Class<T>, int, int, int);
    384     method public static <T> android.car.hardware.CarPropertyConfig.Builder<T> newBuilder(java.lang.Class<T>, int, int);
    385     method public void writeToParcel(android.os.Parcel, int);
    386     field public static final android.os.Parcelable.Creator<android.car.hardware.CarPropertyConfig> CREATOR;
    387   }
    388 
    389   public static class CarPropertyConfig.AreaConfig<T> implements android.os.Parcelable {
    390     method public int describeContents();
    391     method public T getMaxValue();
    392     method public T getMinValue();
    393     method public void writeToParcel(android.os.Parcel, int);
    394     field public static final android.os.Parcelable.Creator<android.car.hardware.CarPropertyConfig.AreaConfig<java.lang.Object>> CREATOR;
    395   }
    396 
    397   public static class CarPropertyConfig.Builder<T> {
    398     method public android.car.hardware.CarPropertyConfig.Builder<T> addArea(int);
    399     method public android.car.hardware.CarPropertyConfig.Builder<T> addAreaConfig(int, T, T);
    400     method public android.car.hardware.CarPropertyConfig.Builder<T> addAreas(int[]);
    401     method public android.car.hardware.CarPropertyConfig<T> build();
    402   }
    403 
    404   public class CarPropertyValue<T> implements android.os.Parcelable {
    405     ctor public CarPropertyValue(int, T);
    406     ctor public CarPropertyValue(int, int, T);
    407     ctor public CarPropertyValue(android.os.Parcel);
    408     method public int describeContents();
    409     method public int getAreaId();
    410     method public int getPropertyId();
    411     method public T getValue();
    412     method public void writeToParcel(android.os.Parcel, int);
    413     field public static final android.os.Parcelable.Creator<android.car.hardware.CarPropertyValue> CREATOR;
    414   }
    415 
    416   public class CarSensorEvent implements android.os.Parcelable {
    417     method public int describeContents();
    418     method public void writeToParcel(android.os.Parcel, int);
    419     field public static final android.os.Parcelable.Creator<android.car.hardware.CarSensorEvent> CREATOR;
    420     field public static final int DRIVE_STATUS_FULLY_RESTRICTED = 31; // 0x1f
    421     field public static final int DRIVE_STATUS_LIMIT_MESSAGE_LEN = 16; // 0x10
    422     field public static final int DRIVE_STATUS_NO_CONFIG = 8; // 0x8
    423     field public static final int DRIVE_STATUS_NO_KEYBOARD_INPUT = 2; // 0x2
    424     field public static final int DRIVE_STATUS_NO_VIDEO = 1; // 0x1
    425     field public static final int DRIVE_STATUS_NO_VOICE_INPUT = 4; // 0x4
    426     field public static final int DRIVE_STATUS_UNRESTRICTED = 0; // 0x0
    427     field public static final int GEAR_DRIVE = 100; // 0x64
    428     field public static final int GEAR_EIGHTH = 8; // 0x8
    429     field public static final int GEAR_FIFTH = 5; // 0x5
    430     field public static final int GEAR_FIRST = 1; // 0x1
    431     field public static final int GEAR_FOURTH = 4; // 0x4
    432     field public static final int GEAR_NEUTRAL = 0; // 0x0
    433     field public static final int GEAR_NINTH = 9; // 0x9
    434     field public static final int GEAR_PARK = 101; // 0x65
    435     field public static final int GEAR_REVERSE = 102; // 0x66
    436     field public static final int GEAR_SECOND = 2; // 0x2
    437     field public static final int GEAR_SEVENTH = 7; // 0x7
    438     field public static final int GEAR_SIXTH = 6; // 0x6
    439     field public static final int GEAR_TENTH = 10; // 0xa
    440     field public static final int GEAR_THIRD = 3; // 0x3
    441     field public static final int IGNITION_STATE_ACC = 3; // 0x3
    442     field public static final int IGNITION_STATE_LOCK = 1; // 0x1
    443     field public static final int IGNITION_STATE_OFF = 2; // 0x2
    444     field public static final int IGNITION_STATE_ON = 4; // 0x4
    445     field public static final int IGNITION_STATE_START = 5; // 0x5
    446     field public static final int IGNITION_STATE_UNDEFINED = 0; // 0x0
    447     field public static final int INDEX_ENVIRONMENT_PRESSURE = 1; // 0x1
    448     field public static final int INDEX_ENVIRONMENT_TEMPERATURE = 0; // 0x0
    449     field public static final int INDEX_FUEL_LEVEL_IN_DISTANCE = 1; // 0x1
    450     field public static final int INDEX_FUEL_LEVEL_IN_PERCENTILE = 0; // 0x0
    451     field public static final int INDEX_FUEL_LOW_WARNING = 0; // 0x0
    452     field public final float[] floatValues;
    453     field public final int[] intValues;
    454     field public int sensorType;
    455     field public long timestamp;
    456   }
    457 
    458   public static class CarSensorEvent.EnvironmentData {
    459     field public float pressure;
    460     field public float temperature;
    461     field public long timestamp;
    462   }
    463 
    464   public final class CarSensorManager {
    465     method public android.car.hardware.CarSensorEvent getLatestSensorEvent(int) throws android.car.CarNotConnectedException;
    466     method public int[] getSupportedSensors() throws android.car.CarNotConnectedException;
    467     method public boolean isSensorSupported(int) throws android.car.CarNotConnectedException;
    468     method public static boolean isSensorSupported(int[], int);
    469     method public boolean registerListener(android.car.hardware.CarSensorManager.OnSensorChangedListener, int, int) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException;
    470     method public void unregisterListener(android.car.hardware.CarSensorManager.OnSensorChangedListener);
    471     method public void unregisterListener(android.car.hardware.CarSensorManager.OnSensorChangedListener, int);
    472     field public static final int SENSOR_RATE_FAST = 1; // 0x1
    473     field public static final int SENSOR_RATE_FASTEST = 0; // 0x0
    474     field public static final int SENSOR_RATE_NORMAL = 3; // 0x3
    475     field public static final int SENSOR_RATE_UI = 2; // 0x2
    476     field public static final int SENSOR_TYPE_CAR_SPEED = 2; // 0x2
    477     field public static final int SENSOR_TYPE_DRIVING_STATUS = 11; // 0xb
    478     field public static final int SENSOR_TYPE_ENVIRONMENT = 12; // 0xc
    479     field public static final int SENSOR_TYPE_FUEL_LEVEL = 5; // 0x5
    480     field public static final int SENSOR_TYPE_GEAR = 7; // 0x7
    481     field public static final int SENSOR_TYPE_IGNITION_STATE = 22; // 0x16
    482     field public static final int SENSOR_TYPE_NIGHT = 9; // 0x9
    483     field public static final int SENSOR_TYPE_ODOMETER = 4; // 0x4
    484     field public static final int SENSOR_TYPE_PARKING_BRAKE = 6; // 0x6
    485     field public static final int SENSOR_TYPE_RPM = 3; // 0x3
    486     field public static final int SENSOR_TYPE_VENDOR_EXTENSION_END = 1879048191; // 0x6fffffff
    487   }
    488 
    489   public static abstract interface CarSensorManager.OnSensorChangedListener {
    490     method public abstract void onSensorChanged(android.car.hardware.CarSensorEvent);
    491   }
    492 
    493   public final class CarVendorExtensionManager {
    494     method public <E> E getGlobalProperty(java.lang.Class<E>, int) throws android.car.CarNotConnectedException;
    495     method public java.util.List<android.car.hardware.CarPropertyConfig> getProperties() throws android.car.CarNotConnectedException;
    496     method public <E> E getProperty(java.lang.Class<E>, int, int) throws android.car.CarNotConnectedException;
    497     method public void registerCallback(android.car.hardware.CarVendorExtensionManager.CarVendorExtensionCallback) throws android.car.CarNotConnectedException;
    498     method public <E> void setGlobalProperty(java.lang.Class<E>, int, E) throws android.car.CarNotConnectedException;
    499     method public <E> void setProperty(java.lang.Class<E>, int, int, E) throws android.car.CarNotConnectedException;
    500     method public void unregisterCallback(android.car.hardware.CarVendorExtensionManager.CarVendorExtensionCallback);
    501   }
    502 
    503   public static abstract interface CarVendorExtensionManager.CarVendorExtensionCallback {
    504     method public abstract void onChangeEvent(android.car.hardware.CarPropertyValue);
    505     method public abstract void onErrorEvent(int, int);
    506   }
    507 
    508 }
    509 
    510 package android.car.hardware.cabin {
    511 
    512   public final class CarCabinManager {
    513     method public boolean getBooleanProperty(int, int) throws android.car.CarNotConnectedException;
    514     method public float getFloatProperty(int, int) throws android.car.CarNotConnectedException;
    515     method public int getIntProperty(int, int) throws android.car.CarNotConnectedException;
    516     method public java.util.List<android.car.hardware.CarPropertyConfig> getPropertyList() throws android.car.CarNotConnectedException;
    517     method public static boolean isZonedProperty(int);
    518     method public synchronized void registerCallback(android.car.hardware.cabin.CarCabinManager.CarCabinEventCallback) throws android.car.CarNotConnectedException;
    519     method public void setBooleanProperty(int, int, boolean) throws android.car.CarNotConnectedException;
    520     method public void setFloatProperty(int, int, float) throws android.car.CarNotConnectedException;
    521     method public void setIntProperty(int, int, int) throws android.car.CarNotConnectedException;
    522     method public synchronized void unregisterCallback(android.car.hardware.cabin.CarCabinManager.CarCabinEventCallback);
    523     field public static final int ID_DOOR_LOCK = 3; // 0x3
    524     field public static final int ID_DOOR_MOVE = 2; // 0x2
    525     field public static final int ID_DOOR_POS = 1; // 0x1
    526     field public static final int ID_MIRROR_FOLD = 4102; // 0x1006
    527     field public static final int ID_MIRROR_LOCK = 4101; // 0x1005
    528     field public static final int ID_MIRROR_Y_MOVE = 4100; // 0x1004
    529     field public static final int ID_MIRROR_Y_POS = 4099; // 0x1003
    530     field public static final int ID_MIRROR_Z_MOVE = 4098; // 0x1002
    531     field public static final int ID_MIRROR_Z_POS = 4097; // 0x1001
    532     field public static final int ID_SEAT_BACKREST_ANGLE_1_MOVE = 8201; // 0x2009
    533     field public static final int ID_SEAT_BACKREST_ANGLE_1_POS = 8200; // 0x2008
    534     field public static final int ID_SEAT_BACKREST_ANGLE_2_MOVE = 8203; // 0x200b
    535     field public static final int ID_SEAT_BACKREST_ANGLE_2_POS = 8202; // 0x200a
    536     field public static final int ID_SEAT_BELT_BUCKLED = 8195; // 0x2003
    537     field public static final int ID_SEAT_BELT_HEIGHT_MOVE = 8197; // 0x2005
    538     field public static final int ID_SEAT_BELT_HEIGHT_POS = 8196; // 0x2004
    539     field public static final int ID_SEAT_DEPTH_MOVE = 8207; // 0x200f
    540     field public static final int ID_SEAT_DEPTH_POS = 8206; // 0x200e
    541     field public static final int ID_SEAT_FORE_AFT_MOVE = 8199; // 0x2007
    542     field public static final int ID_SEAT_FORE_AFT_POS = 8198; // 0x2006
    543     field public static final int ID_SEAT_HEADREST_ANGLE_MOVE = 8217; // 0x2019
    544     field public static final int ID_SEAT_HEADREST_ANGLE_POS = 8216; // 0x2018
    545     field public static final int ID_SEAT_HEADREST_FORE_AFT_MOVE = 8219; // 0x201b
    546     field public static final int ID_SEAT_HEADREST_FORE_AFT_POS = 8218; // 0x201a
    547     field public static final int ID_SEAT_HEADREST_HEIGHT_MOVE = 8215; // 0x2017
    548     field public static final int ID_SEAT_HEADREST_HEIGHT_POS = 8214; // 0x2016
    549     field public static final int ID_SEAT_HEIGHT_MOVE = 8205; // 0x200d
    550     field public static final int ID_SEAT_HEIGHT_POS = 8204; // 0x200c
    551     field public static final int ID_SEAT_LUMBAR_FORE_AFT_MOVE = 8211; // 0x2013
    552     field public static final int ID_SEAT_LUMBAR_FORE_AFT_POS = 8210; // 0x2012
    553     field public static final int ID_SEAT_LUMBAR_SIDE_SUPPORT_MOVE = 8213; // 0x2015
    554     field public static final int ID_SEAT_LUMBAR_SIDE_SUPPORT_POS = 8212; // 0x2014
    555     field public static final int ID_SEAT_MEMORY_SELECT = 8193; // 0x2001
    556     field public static final int ID_SEAT_MEMORY_SET = 8194; // 0x2002
    557     field public static final int ID_SEAT_TILT_MOVE = 8209; // 0x2011
    558     field public static final int ID_SEAT_TILT_POS = 8208; // 0x2010
    559     field public static final int ID_WINDOW_LOCK = 12293; // 0x3005
    560     field public static final int ID_WINDOW_MOVE = 12290; // 0x3002
    561     field public static final int ID_WINDOW_POS = 12289; // 0x3001
    562     field public static final int ID_WINDOW_VENT_MOVE = 12292; // 0x3004
    563     field public static final int ID_WINDOW_VENT_POS = 12291; // 0x3003
    564   }
    565 
    566   public static abstract interface CarCabinManager.CarCabinEventCallback {
    567     method public abstract void onChangeEvent(android.car.hardware.CarPropertyValue);
    568     method public abstract void onErrorEvent(int, int);
    569   }
    570 
    571 }
    572 
    573 package android.car.hardware.hvac {
    574 
    575   public final class CarHvacManager {
    576     method public boolean getBooleanProperty(int, int) throws android.car.CarNotConnectedException;
    577     method public float getFloatProperty(int, int) throws android.car.CarNotConnectedException;
    578     method public int getIntProperty(int, int) throws android.car.CarNotConnectedException;
    579     method public java.util.List<android.car.hardware.CarPropertyConfig> getPropertyList() throws android.car.CarNotConnectedException;
    580     method public static boolean isZonedProperty(int);
    581     method public synchronized void registerCallback(android.car.hardware.hvac.CarHvacManager.CarHvacEventCallback) throws android.car.CarNotConnectedException;
    582     method public void setBooleanProperty(int, int, boolean) throws android.car.CarNotConnectedException;
    583     method public void setFloatProperty(int, int, float) throws android.car.CarNotConnectedException;
    584     method public void setIntProperty(int, int, int) throws android.car.CarNotConnectedException;
    585     method public synchronized void unregisterCallback(android.car.hardware.hvac.CarHvacManager.CarHvacEventCallback);
    586     field public static final int FAN_POSITION_DEFROST = 4; // 0x4
    587     field public static final int FAN_POSITION_DEFROST_AND_FLOOR = 5; // 0x5
    588     field public static final int FAN_POSITION_FACE = 1; // 0x1
    589     field public static final int FAN_POSITION_FACE_AND_FLOOR = 3; // 0x3
    590     field public static final int FAN_POSITION_FLOOR = 2; // 0x2
    591     field public static final int ID_MIRROR_DEFROSTER_ON = 1; // 0x1
    592     field public static final int ID_OUTSIDE_AIR_TEMP = 3; // 0x3
    593     field public static final int ID_STEERING_WHEEL_TEMP = 2; // 0x2
    594     field public static final int ID_TEMPERATURE_UNITS = 4; // 0x4
    595     field public static final int ID_WINDOW_DEFROSTER_ON = 20481; // 0x5001
    596     field public static final int ID_ZONED_AC_ON = 16393; // 0x4009
    597     field public static final int ID_ZONED_AIR_RECIRCULATION_ON = 16395; // 0x400b
    598     field public static final int ID_ZONED_AUTOMATIC_MODE_ON = 16394; // 0x400a
    599     field public static final int ID_ZONED_DUAL_ZONE_ON = 16397; // 0x400d
    600     field public static final int ID_ZONED_FAN_POSITION = 16391; // 0x4007
    601     field public static final int ID_ZONED_FAN_POSITION_AVAILABLE = 16390; // 0x4006
    602     field public static final int ID_ZONED_FAN_SPEED_RPM = 16389; // 0x4005
    603     field public static final int ID_ZONED_FAN_SPEED_SETPOINT = 16388; // 0x4004
    604     field public static final int ID_ZONED_HVAC_POWER_ON = 16387; // 0x4003
    605     field public static final int ID_ZONED_MAX_AC_ON = 16396; // 0x400c
    606     field public static final int ID_ZONED_MAX_DEFROST_ON = 16398; // 0x400e
    607     field public static final int ID_ZONED_SEAT_TEMP = 16392; // 0x4008
    608     field public static final int ID_ZONED_TEMP_ACTUAL = 16386; // 0x4002
    609     field public static final int ID_ZONED_TEMP_SETPOINT = 16385; // 0x4001
    610   }
    611 
    612   public static abstract interface CarHvacManager.CarHvacEventCallback {
    613     method public abstract void onChangeEvent(android.car.hardware.CarPropertyValue);
    614     method public abstract void onErrorEvent(int, int);
    615   }
    616 
    617 }
    618 
    619 package android.car.hardware.radio {
    620 
    621   public class CarRadioEvent implements android.os.Parcelable {
    622     ctor public CarRadioEvent(int, android.car.hardware.radio.CarRadioPreset);
    623     method public int describeContents();
    624     method public int getEventType();
    625     method public android.car.hardware.radio.CarRadioPreset getPreset();
    626     method public void writeToParcel(android.os.Parcel, int);
    627     field public static final android.os.Parcelable.Creator<android.car.hardware.radio.CarRadioEvent> CREATOR;
    628     field public static final int RADIO_PRESET = 0; // 0x0
    629   }
    630 
    631   public final class CarRadioManager {
    632     method public android.car.hardware.radio.CarRadioPreset getPreset(int) throws android.car.CarNotConnectedException;
    633     method public int getPresetCount() throws android.car.CarNotConnectedException;
    634     method public synchronized void registerListener(android.car.hardware.radio.CarRadioManager.CarRadioEventListener) throws android.car.CarNotConnectedException;
    635     method public boolean setPreset(android.car.hardware.radio.CarRadioPreset) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException;
    636     method public synchronized void unregisterListener();
    637   }
    638 
    639   public static abstract interface CarRadioManager.CarRadioEventListener {
    640     method public abstract void onEvent(android.car.hardware.radio.CarRadioEvent);
    641   }
    642 
    643   public class CarRadioPreset implements android.os.Parcelable {
    644     ctor public CarRadioPreset(int, int, int, int);
    645     method public int describeContents();
    646     method public int getBand();
    647     method public int getChannel();
    648     method public int getPresetNumber();
    649     method public int getSubChannel();
    650     method public void writeToParcel(android.os.Parcel, int);
    651     field public static final android.os.Parcelable.Creator<android.car.hardware.radio.CarRadioPreset> CREATOR;
    652   }
    653 
    654 }
    655 
    656 package android.car.input {
    657 
    658   public abstract class CarInputHandlingService extends android.app.Service {
    659     ctor protected CarInputHandlingService(android.car.input.CarInputHandlingService.InputFilter[]);
    660     method public android.os.IBinder onBind(android.content.Intent);
    661     method protected abstract void onKeyEvent(android.view.KeyEvent, int);
    662     field public static final int INPUT_CALLBACK_BINDER_CODE = 1; // 0x1
    663     field public static final java.lang.String INPUT_CALLBACK_BINDER_KEY = "callback_binder";
    664   }
    665 
    666   public static class CarInputHandlingService.InputFilter implements android.os.Parcelable {
    667     ctor public CarInputHandlingService.InputFilter(int, int);
    668     method public int describeContents();
    669     method public void writeToParcel(android.os.Parcel, int);
    670     field public static final android.os.Parcelable.Creator CREATOR;
    671     field public final int mKeyCode;
    672     field public final int mTargetDisplay;
    673   }
    674 
    675 }
    676 
    677 package android.car.media {
    678 
    679   public final class CarAudioManager {
    680     method public void abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, android.media.AudioAttributes);
    681     method public android.media.AudioAttributes getAudioAttributesForCarUsage(int) throws android.car.CarNotConnectedException;
    682     method public int getStreamMaxVolume(int) throws android.car.CarNotConnectedException;
    683     method public int getStreamMinVolume(int) throws android.car.CarNotConnectedException;
    684     method public int getStreamVolume(int) throws android.car.CarNotConnectedException;
    685     method public boolean isMediaMuted() throws android.car.CarNotConnectedException;
    686     method public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, android.media.AudioAttributes, int, int) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException;
    687     method public boolean setMediaMute(boolean) throws android.car.CarNotConnectedException;
    688     method public void setStreamVolume(int, int, int) throws android.car.CarNotConnectedException;
    689     method public void setVolumeController(android.media.IVolumeController) throws android.car.CarNotConnectedException;
    690     field public static final int CAR_AUDIO_USAGE_ALARM = 6; // 0x6
    691     field public static final int CAR_AUDIO_USAGE_DEFAULT = 0; // 0x0
    692     field public static final int CAR_AUDIO_USAGE_MUSIC = 1; // 0x1
    693     field public static final int CAR_AUDIO_USAGE_NAVIGATION_GUIDANCE = 3; // 0x3
    694     field public static final int CAR_AUDIO_USAGE_NOTIFICATION = 7; // 0x7
    695     field public static final int CAR_AUDIO_USAGE_RADIO = 2; // 0x2
    696     field public static final int CAR_AUDIO_USAGE_SYSTEM_SAFETY_ALERT = 9; // 0x9
    697     field public static final int CAR_AUDIO_USAGE_SYSTEM_SOUND = 8; // 0x8
    698     field public static final int CAR_AUDIO_USAGE_VOICE_CALL = 4; // 0x4
    699     field public static final int CAR_AUDIO_USAGE_VOICE_COMMAND = 5; // 0x5
    700   }
    701 
    702 }
    703 
    704 package android.car.navigation {
    705 
    706   public class CarNavigationInstrumentCluster implements android.os.Parcelable {
    707     ctor public CarNavigationInstrumentCluster(android.car.navigation.CarNavigationInstrumentCluster);
    708     method public static android.car.navigation.CarNavigationInstrumentCluster createCluster(int);
    709     method public static android.car.navigation.CarNavigationInstrumentCluster createCustomImageCluster(int, int, int, int);
    710     method public int describeContents();
    711     method public int getImageColorDepthBits();
    712     method public int getImageHeight();
    713     method public int getImageWidth();
    714     method public int getMinIntervalMillis();
    715     method public int getType();
    716     method public boolean supportsCustomImages();
    717     method public void writeToParcel(android.os.Parcel, int);
    718     field public static final int CLUSTER_TYPE_CUSTOM_IMAGES_SUPPORTED = 1; // 0x1
    719     field public static final int CLUSTER_TYPE_IMAGE_CODES_ONLY = 2; // 0x2
    720     field public static final android.os.Parcelable.Creator<android.car.navigation.CarNavigationInstrumentCluster> CREATOR;
    721   }
    722 
    723 }
    724 
    725 package android.car.settings {
    726 
    727   public class CarSettings {
    728     ctor public CarSettings();
    729   }
    730 
    731   public static final class CarSettings.Global {
    732     ctor public CarSettings.Global();
    733     field public static final java.lang.String KEY_GARAGE_MODE_ENABLED = "android.car.GARAGE_MODE_ENABLED";
    734     field public static final java.lang.String KEY_GARAGE_MODE_MAINTENANCE_WINDOW = "android.car.GARAGE_MODE_MAINTENANCE_WINDOW";
    735     field public static final java.lang.String KEY_GARAGE_MODE_WAKE_UP_TIME = "android.car.GARAGE_MODE_WAKE_UP_TIME";
    736   }
    737 
    738 }
    739 
    740 package android.car.test {
    741 
    742   public class CarTestManagerBinderWrapper {
    743     ctor public CarTestManagerBinderWrapper(android.os.IBinder);
    744     method public void onCarDisconnected();
    745     field public final android.os.IBinder binder;
    746   }
    747 
    748 }
    749 
    750