Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 1 | package android.car { |
| 2 | |
| 3 | public 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.Looper); |
| 6 | method public static android.car.Car createCar(android.content.Context, android.content.ServiceConnection); |
| 7 | method public void disconnect(); |
| 8 | method public int getCarConnectionType(); |
Vitalii Tomkiv | 235f8ac | 2016-04-04 11:26:49 -0700 | [diff] [blame] | 9 | method public java.lang.Object getCarManager(java.lang.String) throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 10 | method public boolean isConnected(); |
| 11 | method public boolean isConnecting(); |
Vitalii Tomkiv | 4637147 | 2016-05-23 16:55:22 -0700 | [diff] [blame] | 12 | field public static final java.lang.String APP_FOCUS_SERVICE = "app_focus"; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 13 | field public static final java.lang.String AUDIO_SERVICE = "audio"; |
| 14 | field public static final java.lang.String CAMERA_SERVICE = "camera"; |
| 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_CAMERA = "android.car.permission.CAR_CAMERA"; |
Yao Chen | c4d442f | 2016-04-08 11:33:47 -0700 | [diff] [blame] | 20 | field public static final java.lang.String PERMISSION_CAR_CONTROL_AUDIO_VOLUME = "android.car.permission.CAR_CONTROL_AUDIO_VOLUME"; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 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_CONTROL_APP_BLOCKING = "android.car.permission.CONTROL_APP_BLOCKING"; |
| 25 | field public static final java.lang.String PERMISSION_FUEL = "android.car.permission.CAR_FUEL"; |
| 26 | field public static final java.lang.String PERMISSION_MILEAGE = "android.car.permission.CAR_MILEAGE"; |
| 27 | field public static final java.lang.String PERMISSION_MOCK_VEHICLE_HAL = "android.car.permission.CAR_MOCK_VEHICLE_HAL"; |
| 28 | field public static final java.lang.String PERMISSION_SPEED = "android.car.permission.CAR_SPEED"; |
| 29 | field public static final java.lang.String PERMISSION_VENDOR_EXTENSION = "android.car.permission.CAR_VENDOR_EXTENSION"; |
| 30 | field public static final java.lang.String PROJECTION_SERVICE = "projection"; |
| 31 | field public static final java.lang.String RADIO_SERVICE = "radio"; |
| 32 | field public static final java.lang.String SENSOR_SERVICE = "sensor"; |
| 33 | field public static final java.lang.String TEST_SERVICE = "car-service-test"; |
Keun-young Park | f521fd7 | 2016-07-08 14:51:43 -0700 | [diff] [blame] | 34 | field public static final int VERSION = 1; // 0x1 |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 35 | } |
| 36 | |
Vitalii Tomkiv | 4637147 | 2016-05-23 16:55:22 -0700 | [diff] [blame] | 37 | public final class CarAppFocusManager { |
| 38 | method public void abandonAppFocus(android.car.CarAppFocusManager.AppFocusOwnershipChangeListener, int) throws android.car.CarNotConnectedException; |
| 39 | method public void abandonAppFocus(android.car.CarAppFocusManager.AppFocusOwnershipChangeListener) throws android.car.CarNotConnectedException; |
| 40 | method public int[] getActiveAppTypes() throws android.car.CarNotConnectedException; |
| 41 | method public boolean isOwningFocus(android.car.CarAppFocusManager.AppFocusOwnershipChangeListener, int) throws android.car.CarNotConnectedException; |
| 42 | method public void registerFocusListener(android.car.CarAppFocusManager.AppFocusChangeListener, int) throws android.car.CarNotConnectedException; |
| 43 | method public int requestAppFocus(android.car.CarAppFocusManager.AppFocusOwnershipChangeListener, int) throws android.car.CarNotConnectedException, java.lang.SecurityException; |
| 44 | method public void unregisterFocusListener(android.car.CarAppFocusManager.AppFocusChangeListener, int) throws android.car.CarNotConnectedException; |
| 45 | method public void unregisterFocusListener(android.car.CarAppFocusManager.AppFocusChangeListener) throws android.car.CarNotConnectedException; |
| 46 | field public static final int APP_FOCUS_REQUEST_FAILED = 0; // 0x0 |
| 47 | field public static final int APP_FOCUS_REQUEST_GRANTED = 1; // 0x1 |
| 48 | field public static final int APP_FOCUS_TYPE_NAVIGATION = 1; // 0x1 |
| 49 | field public static final int APP_FOCUS_TYPE_VOICE_COMMAND = 2; // 0x2 |
| 50 | } |
| 51 | |
| 52 | public static abstract interface CarAppFocusManager.AppFocusChangeListener { |
| 53 | method public abstract void onAppFocusChange(int, boolean); |
| 54 | } |
| 55 | |
| 56 | public static abstract interface CarAppFocusManager.AppFocusOwnershipChangeListener { |
| 57 | method public abstract void onAppFocusOwnershipLoss(int); |
| 58 | } |
| 59 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 60 | public class CarInfoManager { |
| 61 | method public java.lang.Float getFloat(java.lang.String) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException; |
| 62 | method public java.lang.Integer getInt(java.lang.String) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException; |
| 63 | method public java.lang.Long getLong(java.lang.String) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException; |
| 64 | method public java.lang.String getString(java.lang.String) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException; |
| 65 | field public static final java.lang.String KEY_MANUFACTURER = "manufacturer"; |
| 66 | field public static final java.lang.String KEY_MODEL = "model"; |
| 67 | field public static final java.lang.String KEY_MODEL_YEAR = "model-year"; |
| 68 | field public static final java.lang.String KEY_VEHICLE_ID = "vehicle-id"; |
| 69 | } |
| 70 | |
| 71 | public class CarNotConnectedException extends java.lang.Exception { |
| 72 | ctor public CarNotConnectedException(); |
| 73 | ctor public CarNotConnectedException(java.lang.String); |
| 74 | ctor public CarNotConnectedException(java.lang.String, java.lang.Throwable); |
| 75 | ctor public CarNotConnectedException(java.lang.Exception); |
| 76 | } |
| 77 | |
| 78 | public class CarNotSupportedException extends java.lang.Exception { |
| 79 | ctor public CarNotSupportedException(); |
| 80 | ctor public CarNotSupportedException(java.lang.String); |
| 81 | ctor public CarNotSupportedException(java.lang.String, java.lang.Throwable); |
| 82 | ctor public CarNotSupportedException(java.lang.Exception); |
| 83 | } |
| 84 | |
| 85 | public class CarProjectionManager { |
| 86 | method public void onCarDisconnected(); |
Vitalii Tomkiv | 235f8ac | 2016-04-04 11:26:49 -0700 | [diff] [blame] | 87 | method public void registerProjectionRunner(android.content.Intent) throws android.car.CarNotConnectedException; |
| 88 | method public void regsiterProjectionListener(android.car.CarProjectionManager.CarProjectionListener, int) throws android.car.CarNotConnectedException; |
| 89 | method public void unregisterProjectionRunner(android.content.Intent) throws android.car.CarNotConnectedException; |
| 90 | method public void unregsiterProjectionListener() throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 91 | field public static final int PROJECTION_LONG_PRESS_VOICE_SEARCH = 2; // 0x2 |
| 92 | field public static final int PROJECTION_VOICE_SEARCH = 1; // 0x1 |
| 93 | } |
| 94 | |
| 95 | public static abstract interface CarProjectionManager.CarProjectionListener { |
| 96 | method public abstract void onVoiceAssistantRequest(boolean); |
| 97 | } |
| 98 | |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 99 | public class VehicleAreaType { |
| 100 | ctor public VehicleAreaType(); |
| 101 | field public static final int VEHICLE_AREA_TYPE_DOOR = 4; // 0x4 |
| 102 | field public static final int VEHICLE_AREA_TYPE_NONE = 0; // 0x0 |
| 103 | field public static final int VEHICLE_AREA_TYPE_SEAT = 3; // 0x3 |
| 104 | field public static final int VEHICLE_AREA_TYPE_WINDOW = 2; // 0x2 |
| 105 | field public static final int VEHICLE_AREA_TYPE_ZONE = 1; // 0x1 |
| 106 | } |
| 107 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 108 | public class VehicleDoor { |
| 109 | ctor public VehicleDoor(); |
| 110 | field public static final int DOOR_HOOD = 268435456; // 0x10000000 |
| 111 | field public static final int DOOR_REAR = 536870912; // 0x20000000 |
| 112 | field public static final int DOOR_ROW_1_LEFT = 1; // 0x1 |
| 113 | field public static final int DOOR_ROW_1_RIGHT = 4; // 0x4 |
| 114 | field public static final int DOOR_ROW_2_LEFT = 16; // 0x10 |
| 115 | field public static final int DOOR_ROW_2_RIGHT = 64; // 0x40 |
| 116 | field public static final int DOOR_ROW_3_LEFT = 256; // 0x100 |
| 117 | field public static final int DOOR_ROW_3_RIGHT = 1024; // 0x400 |
| 118 | } |
| 119 | |
| 120 | public class VehicleSeat { |
| 121 | ctor public VehicleSeat(); |
| 122 | field public static final int SEAT_DRIVER_LHD = 1; // 0x1 |
| 123 | field public static final int SEAT_DRIVER_RHD = 2; // 0x2 |
| 124 | field public static final int SEAT_ROW_1_PASSENGER_CENTER = 32; // 0x20 |
| 125 | field public static final int SEAT_ROW_1_PASSENGER_LEFT = 16; // 0x10 |
| 126 | field public static final int SEAT_ROW_1_PASSENGER_RIGHT = 64; // 0x40 |
| 127 | field public static final int SEAT_ROW_2_PASSENGER_CENTER = 512; // 0x200 |
| 128 | field public static final int SEAT_ROW_2_PASSENGER_LEFT = 256; // 0x100 |
| 129 | field public static final int SEAT_ROW_2_PASSENGER_RIGHT = 1024; // 0x400 |
| 130 | field public static final int SEAT_ROW_3_PASSENGER_CENTER = 8192; // 0x2000 |
| 131 | field public static final int SEAT_ROW_3_PASSENGER_LEFT = 4096; // 0x1000 |
| 132 | field public static final int SEAT_ROW_3_PASSENGER_RIGHT = 16384; // 0x4000 |
| 133 | } |
| 134 | |
| 135 | public class VehicleWindow { |
| 136 | ctor public VehicleWindow(); |
| 137 | field public static final int WINDOW_FRONT_WINDSHIELD = 1; // 0x1 |
| 138 | field public static final int WINDOW_REAR_WINDSHIELD = 2; // 0x2 |
| 139 | field public static final int WINDOW_ROOF_TOP = 4; // 0x4 |
| 140 | field public static final int WINDOW_ROW_1_LEFT = 16; // 0x10 |
| 141 | field public static final int WINDOW_ROW_1_RIGHT = 32; // 0x20 |
| 142 | field public static final int WINDOW_ROW_2_LEFT = 256; // 0x100 |
| 143 | field public static final int WINDOW_ROW_2_RIGHT = 512; // 0x200 |
| 144 | field public static final int WINDOW_ROW_3_LEFT = 4096; // 0x1000 |
| 145 | field public static final int WINDOW_ROW_3_RIGHT = 8192; // 0x2000 |
| 146 | } |
| 147 | |
| 148 | public class VehicleZone { |
| 149 | ctor public VehicleZone(); |
| 150 | field public static final int ZONE_ALL = -2147483648; // 0x80000000 |
| 151 | field public static final int ZONE_ROW_1_ALL = 8; // 0x8 |
| 152 | field public static final int ZONE_ROW_1_CENTER = 2; // 0x2 |
| 153 | field public static final int ZONE_ROW_1_LEFT = 1; // 0x1 |
| 154 | field public static final int ZONE_ROW_1_RIGHT = 4; // 0x4 |
| 155 | field public static final int ZONE_ROW_2_ALL = 128; // 0x80 |
| 156 | field public static final int ZONE_ROW_2_CENTER = 32; // 0x20 |
| 157 | field public static final int ZONE_ROW_2_LEFT = 16; // 0x10 |
| 158 | field public static final int ZONE_ROW_2_RIGHT = 64; // 0x40 |
| 159 | field public static final int ZONE_ROW_3_ALL = 2048; // 0x800 |
| 160 | field public static final int ZONE_ROW_3_CENTER = 512; // 0x200 |
| 161 | field public static final int ZONE_ROW_3_LEFT = 256; // 0x100 |
| 162 | field public static final int ZONE_ROW_3_RIGHT = 1024; // 0x400 |
| 163 | field public static final int ZONE_ROW_4_ALL = 32768; // 0x8000 |
| 164 | field public static final int ZONE_ROW_4_CENTER = 8192; // 0x2000 |
| 165 | field public static final int ZONE_ROW_4_LEFT = 4096; // 0x1000 |
| 166 | field public static final int ZONE_ROW_4_RIGHT = 16384; // 0x4000 |
| 167 | } |
| 168 | |
| 169 | public class VehicleZoneUtil { |
| 170 | ctor public VehicleZoneUtil(); |
| 171 | method public static int getFirstZone(int); |
Keun-young Park | cc48749 | 2016-03-17 10:14:23 -0700 | [diff] [blame] | 172 | method public static int getNextZone(int, int) throws java.lang.IllegalArgumentException; |
| 173 | method public static int getNumberOfZones(int); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 174 | method public static int[] listAllZones(int); |
Keun-young Park | cc48749 | 2016-03-17 10:14:23 -0700 | [diff] [blame] | 175 | method public static int zoneToIndex(int, int) throws java.lang.IllegalArgumentException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 176 | } |
| 177 | |
| 178 | } |
| 179 | |
| 180 | package android.car.annotation { |
| 181 | |
| 182 | public abstract class ValueTypeDef implements java.lang.annotation.Annotation { |
| 183 | } |
| 184 | |
| 185 | } |
| 186 | |
| 187 | package android.car.app.menu { |
| 188 | |
| 189 | public abstract class CarMenuCallbacks { |
| 190 | ctor public CarMenuCallbacks(); |
| 191 | method public abstract android.car.app.menu.RootMenu getRootMenu(android.os.Bundle); |
| 192 | method public abstract void onCarMenuClosed(); |
| 193 | method public abstract void onCarMenuClosing(); |
| 194 | method public abstract void onCarMenuOpened(); |
| 195 | method public abstract void onCarMenuOpening(); |
| 196 | method public abstract void onItemClicked(java.lang.String); |
| 197 | method public abstract boolean onItemLongClicked(java.lang.String); |
| 198 | method public abstract boolean onMenuClicked(); |
| 199 | method public abstract void subscribe(java.lang.String, android.car.app.menu.SubscriptionCallbacks); |
| 200 | method public abstract void unsubscribe(java.lang.String, android.car.app.menu.SubscriptionCallbacks); |
| 201 | } |
| 202 | |
| 203 | public class CarMenuConstants { |
| 204 | ctor public CarMenuConstants(); |
| 205 | } |
| 206 | |
| 207 | public static class CarMenuConstants.MenuItemConstants { |
| 208 | ctor public CarMenuConstants.MenuItemConstants(); |
| 209 | field public static final int FLAG_BROWSABLE = 1; // 0x1 |
| 210 | field public static final int FLAG_FIRSTITEM = 2; // 0x2 |
| 211 | field public static final java.lang.String KEY_EMPTY_PLACEHOLDER = "android.car.app.menu.empty_placeholder"; |
| 212 | field public static final java.lang.String KEY_FLAGS = "android.car.app.menu.flags"; |
| 213 | field public static final java.lang.String KEY_ID = "android.car.app.menu.id"; |
| 214 | field public static final java.lang.String KEY_LEFTICON = "android.car.app.menu.leftIcon"; |
| 215 | field public static final java.lang.String KEY_REMOTEVIEWS = "android.car.app.menu.remoteViews"; |
| 216 | field public static final java.lang.String KEY_RIGHTICON = "android.car.app.menu.rightIcon"; |
| 217 | field public static final java.lang.String KEY_RIGHTTEXT = "android.car.app.menu.rightText"; |
| 218 | field public static final java.lang.String KEY_TEXT = "android.car.app.menu.text"; |
| 219 | field public static final java.lang.String KEY_TITLE = "android.car.app.menu.title"; |
| 220 | field public static final java.lang.String KEY_WIDGET = "android.car.app.menu.widget"; |
| 221 | field public static final java.lang.String KEY_WIDGET_STATE = "android.car.app.menu.widget_state"; |
| 222 | field public static final int WIDGET_CHECKBOX = 1; // 0x1 |
| 223 | field public static final int WIDGET_TEXT_VIEW = 2; // 0x2 |
| 224 | } |
| 225 | |
| 226 | public static abstract class CarMenuConstants.MenuItemConstants.MenuItemFlags implements java.lang.annotation.Annotation { |
| 227 | } |
| 228 | |
| 229 | public static abstract class CarMenuConstants.MenuItemConstants.WidgetTypes implements java.lang.annotation.Annotation { |
| 230 | } |
| 231 | |
| 232 | public abstract class CarUiEntry { |
| 233 | ctor public CarUiEntry(android.content.Context, android.content.Context); |
| 234 | method public abstract void closeDrawer(); |
| 235 | method public abstract android.view.View getContentView(); |
| 236 | method public abstract int getFragmentContainerId(); |
| 237 | method public abstract java.lang.CharSequence getSearchBoxText(); |
| 238 | method public abstract void hideMenuButton(); |
| 239 | method public abstract void hideTitle(); |
| 240 | method public abstract void onPause(); |
| 241 | method public abstract void onRestoreInstanceState(android.os.Bundle); |
| 242 | method public abstract void onResume(); |
| 243 | method public abstract void onSaveInstanceState(android.os.Bundle); |
| 244 | method public abstract void onStart(); |
| 245 | method public abstract void onStop(); |
| 246 | method public abstract void openDrawer(); |
| 247 | method public abstract void restoreMenuDrawable(); |
| 248 | method public abstract void setAutoLightDarkMode(); |
| 249 | method public abstract void setBackground(android.graphics.Bitmap); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 250 | method public abstract void setCarMenuCallbacks(android.car.app.menu.CarMenuCallbacks); |
| 251 | method public abstract void setDarkMode(); |
| 252 | method public abstract void setLightMode(); |
| 253 | method public abstract void setMenuButtonBitmap(android.graphics.Bitmap); |
| 254 | method public abstract void setMenuButtonColor(int); |
| 255 | method public abstract void setScrimColor(int); |
| 256 | method public abstract void setSearchBoxColors(int, int, int, int); |
| 257 | method public abstract void setSearchBoxEditListener(android.car.app.menu.SearchBoxEditListener); |
| 258 | method public abstract void setSearchBoxEndView(android.view.View); |
| 259 | method public abstract void setTitle(java.lang.CharSequence); |
| 260 | method public abstract void showMenu(java.lang.String, java.lang.String); |
| 261 | method public abstract void showSearchBox(android.view.View.OnClickListener); |
| 262 | method public abstract void showTitle(); |
| 263 | method public abstract void showToast(java.lang.String, long); |
| 264 | method public abstract android.widget.EditText startInput(java.lang.String, android.view.View.OnClickListener); |
| 265 | method public abstract void stopInput(); |
| 266 | field protected final android.content.Context mAppContext; |
| 267 | field protected final android.content.Context mUiLibContext; |
| 268 | } |
| 269 | |
| 270 | public class RootMenu { |
| 271 | ctor public RootMenu(java.lang.String); |
| 272 | ctor public RootMenu(java.lang.String, android.os.Bundle); |
| 273 | method public android.os.Bundle getBundle(); |
| 274 | method public java.lang.String getId(); |
| 275 | } |
| 276 | |
| 277 | public abstract class SearchBoxEditListener { |
| 278 | ctor public SearchBoxEditListener(); |
| 279 | method public abstract void onEdit(java.lang.String); |
| 280 | method public abstract void onSearch(java.lang.String); |
| 281 | } |
| 282 | |
| 283 | public abstract class SubscriptionCallbacks { |
| 284 | ctor public SubscriptionCallbacks(); |
| 285 | method public abstract void onChildChanged(java.lang.String, android.os.Bundle); |
| 286 | method public abstract void onChildrenLoaded(java.lang.String, java.util.List<android.os.Bundle>); |
| 287 | method public abstract void onError(java.lang.String); |
| 288 | } |
| 289 | |
| 290 | } |
| 291 | |
| 292 | package android.car.cluster.renderer { |
| 293 | |
| 294 | public class DisplayConfiguration implements android.os.Parcelable { |
| 295 | ctor public DisplayConfiguration(android.os.Parcel); |
| 296 | ctor public DisplayConfiguration(android.graphics.Rect); |
| 297 | ctor public DisplayConfiguration(android.graphics.Rect, android.graphics.Rect); |
| 298 | method public int describeContents(); |
| 299 | method public android.graphics.Rect getPrimaryRegion(); |
| 300 | method public android.graphics.Rect getSecondaryRegion(); |
| 301 | method public boolean hasSecondaryRegion(); |
| 302 | method public void writeToParcel(android.os.Parcel, int); |
| 303 | field public static final android.os.Parcelable.Creator<android.car.cluster.renderer.DisplayConfiguration> CREATOR; |
| 304 | } |
| 305 | |
| 306 | public abstract class InstrumentClusterRenderer { |
| 307 | ctor public InstrumentClusterRenderer(); |
| 308 | method protected abstract android.car.cluster.renderer.NavigationRenderer createNavigationRenderer(); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 309 | method public synchronized android.car.cluster.renderer.NavigationRenderer getNavigationRenderer(); |
| 310 | method public final synchronized void initialize(); |
| 311 | method public abstract void onCreate(android.content.Context); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 312 | method public abstract void onStart(); |
| 313 | method public abstract void onStop(); |
| 314 | } |
| 315 | |
Pavel Maltsev | 0477e29 | 2016-05-27 12:22:36 -0700 | [diff] [blame] | 316 | public abstract class InstrumentClusterRenderingService extends android.app.Service { |
| 317 | ctor public InstrumentClusterRenderingService(); |
| 318 | method protected abstract android.car.cluster.renderer.NavigationRenderer getNavigationRenderer(); |
| 319 | method public android.os.IBinder onBind(android.content.Intent); |
Pavel Maltsev | 03cf60c | 2016-06-27 15:11:51 -0700 | [diff] [blame] | 320 | method protected void onKeyEvent(android.view.KeyEvent); |
Pavel Maltsev | 0477e29 | 2016-05-27 12:22:36 -0700 | [diff] [blame] | 321 | } |
| 322 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 323 | public abstract class NavigationRenderer { |
| 324 | ctor public NavigationRenderer(); |
Pavel Maltsev | 8cf8691 | 2016-04-01 18:01:51 -0700 | [diff] [blame] | 325 | method public abstract android.car.navigation.CarNavigationInstrumentCluster getNavigationProperties(); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 326 | method public abstract void onNextTurnChanged(int, java.lang.String, int, int, android.graphics.Bitmap, int); |
| 327 | method public abstract void onNextTurnDistanceChanged(int, int); |
| 328 | method public abstract void onStartNavigation(); |
| 329 | method public abstract void onStopNavigation(); |
| 330 | } |
| 331 | |
| 332 | } |
| 333 | |
| 334 | package android.car.content.pm { |
| 335 | |
| 336 | public class AppBlockingPackageInfo implements android.os.Parcelable { |
| 337 | ctor public AppBlockingPackageInfo(java.lang.String, int, int, int, android.content.pm.Signature[], java.lang.String[]); |
| 338 | ctor public AppBlockingPackageInfo(android.os.Parcel); |
| 339 | method public int describeContents(); |
| 340 | method public void writeToParcel(android.os.Parcel, int); |
| 341 | field public static final android.os.Parcelable.Creator<android.car.content.pm.AppBlockingPackageInfo> CREATOR; |
| 342 | field public static final int FLAG_SYSTEM_APP = 1; // 0x1 |
| 343 | field public static final int FLAG_WHOLE_ACTIVITY = 2; // 0x2 |
| 344 | field public final java.lang.String[] activities; |
| 345 | field public final int flags; |
| 346 | field public final int maxRevisionCode; |
| 347 | field public final int minRevisionCode; |
| 348 | field public final java.lang.String packageName; |
| 349 | field public final android.content.pm.Signature[] signatures; |
| 350 | } |
| 351 | |
| 352 | public class CarAppBlockingPolicy implements android.os.Parcelable { |
| 353 | ctor public CarAppBlockingPolicy(android.car.content.pm.AppBlockingPackageInfo[], android.car.content.pm.AppBlockingPackageInfo[]); |
| 354 | ctor public CarAppBlockingPolicy(android.os.Parcel); |
| 355 | method public int describeContents(); |
| 356 | method public void writeToParcel(android.os.Parcel, int); |
| 357 | field public static final android.os.Parcelable.Creator<android.car.content.pm.CarAppBlockingPolicy> CREATOR; |
| 358 | field public final android.car.content.pm.AppBlockingPackageInfo[] blacklists; |
| 359 | field public final android.car.content.pm.AppBlockingPackageInfo[] whitelists; |
| 360 | } |
| 361 | |
| 362 | public abstract class CarAppBlockingPolicyService extends android.app.Service { |
| 363 | ctor public CarAppBlockingPolicyService(); |
| 364 | method protected abstract android.car.content.pm.CarAppBlockingPolicy getAppBlockingPolicy(); |
| 365 | method public android.os.IBinder onBind(android.content.Intent); |
| 366 | field public static final java.lang.String SERVICE_INTERFACE = "android.car.content.pm.CarAppBlockingPolicyService"; |
| 367 | } |
| 368 | |
| 369 | public class CarPackageManager { |
| 370 | method public boolean isActivityAllowedWhileDriving(java.lang.String, java.lang.String) throws android.car.CarNotConnectedException; |
Keun-young Park | 4727da3 | 2016-05-31 10:00:51 -0700 | [diff] [blame] | 371 | method public boolean isActivityBackedBySafeActivity(android.content.ComponentName) throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 372 | method public boolean isServiceAllowedWhileDriving(java.lang.String, java.lang.String) throws android.car.CarNotConnectedException; |
| 373 | method public void setAppBlockingPolicy(java.lang.String, android.car.content.pm.CarAppBlockingPolicy, int) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException, java.lang.SecurityException; |
| 374 | field public static final int FLAG_SET_POLICY_ADD = 2; // 0x2 |
| 375 | field public static final int FLAG_SET_POLICY_REMOVE = 4; // 0x4 |
| 376 | field public static final int FLAG_SET_POLICY_WAIT_FOR_CHANGE = 1; // 0x1 |
| 377 | } |
| 378 | |
| 379 | } |
| 380 | |
| 381 | package android.car.hardware { |
| 382 | |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 383 | public class CarPropertyConfig implements android.os.Parcelable { |
| 384 | method public int describeContents(); |
| 385 | method public int getAreaCount(); |
| 386 | method public int[] getAreaIds(); |
| 387 | method public int getAreaType(); |
| 388 | method public int getFirstAndOnlyAreaId(); |
| 389 | method public T getMaxValue(int); |
| 390 | method public T getMaxValue(); |
| 391 | method public T getMinValue(int); |
| 392 | method public T getMinValue(); |
| 393 | method public int getPropertyId(); |
| 394 | method public java.lang.Class<T> getPropertyType(); |
| 395 | method public boolean hasArea(int); |
| 396 | method public boolean isGlobalProperty(); |
| 397 | method public static android.car.hardware.CarPropertyConfig.Builder<T> newBuilder(java.lang.Class<T>, int, int, int); |
| 398 | method public static android.car.hardware.CarPropertyConfig.Builder<T> newBuilder(java.lang.Class<T>, int, int); |
| 399 | method public void writeToParcel(android.os.Parcel, int); |
| 400 | field public static final android.os.Parcelable.Creator<android.car.hardware.CarPropertyConfig> CREATOR; |
| 401 | } |
| 402 | |
| 403 | public static class CarPropertyConfig.AreaConfig implements android.os.Parcelable { |
| 404 | method public int describeContents(); |
| 405 | method public T getMaxValue(); |
| 406 | method public T getMinValue(); |
| 407 | method public void writeToParcel(android.os.Parcel, int); |
| 408 | field public static final android.os.Parcelable.Creator<android.car.hardware.CarPropertyConfig.AreaConfig<java.lang.Object>> CREATOR; |
| 409 | } |
| 410 | |
| 411 | public static class CarPropertyConfig.Builder { |
| 412 | method public android.car.hardware.CarPropertyConfig.Builder<T> addArea(int); |
| 413 | method public android.car.hardware.CarPropertyConfig.Builder<T> addAreaConfig(int, T, T); |
| 414 | method public android.car.hardware.CarPropertyConfig.Builder<T> addAreas(int[]); |
| 415 | method public android.car.hardware.CarPropertyConfig<T> build(); |
| 416 | } |
| 417 | |
| 418 | public class CarPropertyValue implements android.os.Parcelable { |
| 419 | ctor public CarPropertyValue(int, T); |
| 420 | ctor public CarPropertyValue(int, int, T); |
| 421 | ctor public CarPropertyValue(android.os.Parcel); |
| 422 | method public int describeContents(); |
| 423 | method public int getAreaId(); |
| 424 | method public int getPropertyId(); |
| 425 | method public T getValue(); |
| 426 | method public void writeToParcel(android.os.Parcel, int); |
| 427 | field public static final android.os.Parcelable.Creator<android.car.hardware.CarPropertyValue> CREATOR; |
| 428 | } |
| 429 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 430 | public class CarSensorEvent implements android.os.Parcelable { |
| 431 | ctor public CarSensorEvent(android.os.Parcel); |
| 432 | ctor public CarSensorEvent(int, long, int, int); |
| 433 | method public int describeContents(); |
| 434 | method public android.car.hardware.CarSensorEvent.CarSpeedData getCarSpeedData(android.car.hardware.CarSensorEvent.CarSpeedData); |
| 435 | method public android.car.hardware.CarSensorEvent.DrivingStatusData getDrivingStatusData(android.car.hardware.CarSensorEvent.DrivingStatusData); |
| 436 | method public android.car.hardware.CarSensorEvent.EnvironmentData getEnvironmentData(android.car.hardware.CarSensorEvent.EnvironmentData); |
| 437 | method public android.car.hardware.CarSensorEvent.FuelLevelData getFuelLevelData(android.car.hardware.CarSensorEvent.FuelLevelData); |
| 438 | method public android.car.hardware.CarSensorEvent.GearData getGearData(android.car.hardware.CarSensorEvent.GearData); |
| 439 | method public android.car.hardware.CarSensorEvent.NightData getNightData(android.car.hardware.CarSensorEvent.NightData); |
| 440 | method public android.car.hardware.CarSensorEvent.OdometerData getOdometerData(android.car.hardware.CarSensorEvent.OdometerData); |
| 441 | method public android.car.hardware.CarSensorEvent.ParkingBrakeData getParkingBrakeData(android.car.hardware.CarSensorEvent.ParkingBrakeData); |
| 442 | method public android.car.hardware.CarSensorEvent.RpmData getRpmData(android.car.hardware.CarSensorEvent.RpmData); |
| 443 | method public void writeToParcel(android.os.Parcel, int); |
| 444 | field public static final android.os.Parcelable.Creator<android.car.hardware.CarSensorEvent> CREATOR; |
| 445 | field public static final int DRIVE_STATUS_FULLY_RESTRICTED = 31; // 0x1f |
| 446 | field public static final int DRIVE_STATUS_LIMIT_MESSAGE_LEN = 16; // 0x10 |
| 447 | field public static final int DRIVE_STATUS_NO_CONFIG = 8; // 0x8 |
| 448 | field public static final int DRIVE_STATUS_NO_KEYBOARD_INPUT = 2; // 0x2 |
| 449 | field public static final int DRIVE_STATUS_NO_VIDEO = 1; // 0x1 |
| 450 | field public static final int DRIVE_STATUS_NO_VOICE_INPUT = 4; // 0x4 |
| 451 | field public static final int DRIVE_STATUS_UNRESTRICTED = 0; // 0x0 |
| 452 | field public static final int GEAR_DRIVE = 100; // 0x64 |
| 453 | field public static final int GEAR_EIGHTH = 8; // 0x8 |
| 454 | field public static final int GEAR_FIFTH = 5; // 0x5 |
| 455 | field public static final int GEAR_FIRST = 1; // 0x1 |
| 456 | field public static final int GEAR_FOURTH = 4; // 0x4 |
| 457 | field public static final int GEAR_NEUTRAL = 0; // 0x0 |
| 458 | field public static final int GEAR_NINTH = 9; // 0x9 |
| 459 | field public static final int GEAR_PARK = 101; // 0x65 |
| 460 | field public static final int GEAR_REVERSE = 102; // 0x66 |
| 461 | field public static final int GEAR_SECOND = 2; // 0x2 |
| 462 | field public static final int GEAR_SEVENTH = 7; // 0x7 |
| 463 | field public static final int GEAR_SIXTH = 6; // 0x6 |
| 464 | field public static final int GEAR_TENTH = 10; // 0xa |
| 465 | field public static final int GEAR_THIRD = 3; // 0x3 |
| 466 | field public static final int INDEX_ENVIRONMENT_PRESSURE = 1; // 0x1 |
| 467 | field public static final int INDEX_ENVIRONMENT_TEMPERATURE = 0; // 0x0 |
| 468 | field public static final int INDEX_FUEL_LEVEL_IN_DISTANCE = 1; // 0x1 |
| 469 | field public static final int INDEX_FUEL_LEVEL_IN_PERCENTILE = 0; // 0x0 |
| 470 | field public static final int INDEX_FUEL_LOW_WARNING = 0; // 0x0 |
| 471 | field public final float[] floatValues; |
| 472 | field public final int[] intValues; |
| 473 | field public int sensorType; |
| 474 | field public long timeStampNs; |
| 475 | } |
| 476 | |
| 477 | public static class CarSensorEvent.CarSpeedData { |
| 478 | ctor public CarSensorEvent.CarSpeedData(); |
| 479 | field public float carSpeed; |
| 480 | field public long timeStampNs; |
| 481 | } |
| 482 | |
| 483 | public static class CarSensorEvent.DrivingStatusData { |
| 484 | ctor public CarSensorEvent.DrivingStatusData(); |
| 485 | field public int status; |
| 486 | field public long timeStampNs; |
| 487 | } |
| 488 | |
| 489 | public static class CarSensorEvent.EnvironmentData { |
| 490 | ctor public CarSensorEvent.EnvironmentData(); |
| 491 | field public float pressure; |
| 492 | field public float temperature; |
| 493 | field public long timeStampNs; |
| 494 | } |
| 495 | |
| 496 | public static class CarSensorEvent.FuelLevelData { |
| 497 | ctor public CarSensorEvent.FuelLevelData(); |
| 498 | field public int level; |
| 499 | field public boolean lowFuelWarning; |
| 500 | field public float range; |
| 501 | field public long timeStampNs; |
| 502 | } |
| 503 | |
| 504 | public static class CarSensorEvent.GearData { |
| 505 | ctor public CarSensorEvent.GearData(); |
| 506 | field public int gear; |
| 507 | field public long timeStampNs; |
| 508 | } |
| 509 | |
| 510 | public static class CarSensorEvent.NightData { |
| 511 | ctor public CarSensorEvent.NightData(); |
| 512 | field public boolean isNightMode; |
| 513 | field public long timeStampNs; |
| 514 | } |
| 515 | |
| 516 | public static class CarSensorEvent.OdometerData { |
| 517 | ctor public CarSensorEvent.OdometerData(); |
| 518 | field public float kms; |
| 519 | field public long timeStampNs; |
| 520 | } |
| 521 | |
| 522 | public static class CarSensorEvent.ParkingBrakeData { |
| 523 | ctor public CarSensorEvent.ParkingBrakeData(); |
| 524 | field public boolean isEngaged; |
| 525 | field public long timeStampNs; |
| 526 | } |
| 527 | |
| 528 | public static class CarSensorEvent.RpmData { |
| 529 | ctor public CarSensorEvent.RpmData(); |
| 530 | field public float rpm; |
| 531 | field public long timeStampNs; |
| 532 | } |
| 533 | |
| 534 | public class CarSensorManager { |
| 535 | method public android.car.hardware.CarSensorEvent getLatestSensorEvent(int) throws android.car.CarNotConnectedException; |
| 536 | method public int[] getSupportedSensors() throws android.car.CarNotConnectedException; |
| 537 | method public boolean isSensorSupported(int) throws android.car.CarNotConnectedException; |
| 538 | method public static boolean isSensorSupported(int[], int); |
| 539 | method public boolean registerListener(android.car.hardware.CarSensorManager.CarSensorEventListener, int, int) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException; |
Vitalii Tomkiv | 235f8ac | 2016-04-04 11:26:49 -0700 | [diff] [blame] | 540 | method public void unregisterListener(android.car.hardware.CarSensorManager.CarSensorEventListener) throws android.car.CarNotConnectedException; |
| 541 | method public void unregisterListener(android.car.hardware.CarSensorManager.CarSensorEventListener, int) throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 542 | field public static final int SENSOR_RATE_FAST = 1; // 0x1 |
| 543 | field public static final int SENSOR_RATE_FASTEST = 0; // 0x0 |
| 544 | field public static final int SENSOR_RATE_NORMAL = 3; // 0x3 |
| 545 | field public static final int SENSOR_RATE_UI = 2; // 0x2 |
| 546 | field public static final int SENSOR_TYPE_CAR_SPEED = 2; // 0x2 |
Jason Tholstrup | 9eae32f | 2016-05-10 14:39:05 -0700 | [diff] [blame] | 547 | field public static final int SENSOR_TYPE_DRIVING_STATUS = 11; // 0xb |
| 548 | field public static final int SENSOR_TYPE_ENVIRONMENT = 12; // 0xc |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 549 | field public static final int SENSOR_TYPE_FUEL_LEVEL = 5; // 0x5 |
| 550 | field public static final int SENSOR_TYPE_GEAR = 7; // 0x7 |
Jason Tholstrup | 9eae32f | 2016-05-10 14:39:05 -0700 | [diff] [blame] | 551 | field public static final int SENSOR_TYPE_NIGHT = 9; // 0x9 |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 552 | field public static final int SENSOR_TYPE_ODOMETER = 4; // 0x4 |
| 553 | field public static final int SENSOR_TYPE_PARKING_BRAKE = 6; // 0x6 |
| 554 | field public static final int SENSOR_TYPE_RPM = 3; // 0x3 |
| 555 | field public static final int SENSOR_TYPE_VENDOR_EXTENSION_END = 1879048191; // 0x6fffffff |
| 556 | } |
| 557 | |
| 558 | public static abstract interface CarSensorManager.CarSensorEventListener { |
| 559 | method public abstract void onSensorChanged(android.car.hardware.CarSensorEvent); |
| 560 | } |
| 561 | |
| 562 | } |
| 563 | |
| 564 | package android.car.hardware.camera { |
| 565 | |
| 566 | public class CarCamera { |
| 567 | ctor public CarCamera(android.car.hardware.camera.ICarCamera, int); |
Vitalii Tomkiv | 235f8ac | 2016-04-04 11:26:49 -0700 | [diff] [blame] | 568 | method public android.graphics.Rect getCameraCrop() throws android.car.CarNotConnectedException; |
| 569 | method public android.graphics.Rect getCameraPosition() throws android.car.CarNotConnectedException; |
| 570 | method public android.car.hardware.camera.CarCameraState getCameraState() throws android.car.CarNotConnectedException; |
| 571 | method public int getCapabilities() throws android.car.CarNotConnectedException; |
| 572 | method public void setCameraCrop(android.graphics.Rect) throws android.car.CarNotConnectedException; |
| 573 | method public void setCameraPosition(android.graphics.Rect) throws android.car.CarNotConnectedException; |
| 574 | method public void setCameraState(android.car.hardware.camera.CarCameraState) throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 575 | field public static final java.lang.String TAG; |
| 576 | field public final int mCameraType; |
| 577 | } |
| 578 | |
| 579 | public class CarCameraManager { |
| 580 | method public void closeCamera(android.car.hardware.camera.CarCamera); |
Vitalii Tomkiv | 235f8ac | 2016-04-04 11:26:49 -0700 | [diff] [blame] | 581 | method public int getCameraCapabilities(int) throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 582 | method public int[] getCameraList(); |
| 583 | method public android.car.hardware.camera.CarCamera openCamera(int); |
| 584 | field public static final int ANDROID_OVERLAY_SUPPORT_FLAG = 1; // 0x1 |
| 585 | field public static final int CAMERA_CROP_SUPPORT_FLAG = 2; // 0x2 |
| 586 | field public static final int CAMERA_POSITIONING_SUPPORT_FLAG = 4; // 0x4 |
| 587 | field public static final int CAR_CAMERA_TYPE_NONE = 0; // 0x0 |
| 588 | field public static final int CAR_CAMERA_TYPE_RVC = 1; // 0x1 |
| 589 | field public static final boolean DBG = true; |
| 590 | field public static final java.lang.String TAG; |
| 591 | } |
| 592 | |
| 593 | public class CarCameraState implements android.os.Parcelable { |
| 594 | ctor public CarCameraState(android.car.hardware.camera.CarCameraState); |
| 595 | ctor public CarCameraState(boolean, boolean); |
| 596 | method public int describeContents(); |
| 597 | method public boolean getCameraIsOn(); |
| 598 | method public boolean getOverlayIsOn(); |
| 599 | method public void setCameraIsOn(boolean); |
| 600 | method public void setOverlayIsOn(boolean); |
| 601 | method public void writeToParcel(android.os.Parcel, int); |
| 602 | field public static final android.os.Parcelable.Creator<android.car.hardware.camera.CarCameraState> CREATOR; |
| 603 | } |
| 604 | |
| 605 | public abstract interface ICarCamera implements android.os.IInterface { |
| 606 | method public abstract android.graphics.Rect getCameraCrop(int) throws android.os.RemoteException; |
| 607 | method public abstract int[] getCameraList() throws android.os.RemoteException; |
| 608 | method public abstract android.graphics.Rect getCameraPosition(int) throws android.os.RemoteException; |
| 609 | method public abstract android.car.hardware.camera.CarCameraState getCameraState(int) throws android.os.RemoteException; |
| 610 | method public abstract int getCapabilities(int) throws android.os.RemoteException; |
| 611 | method public abstract void setCameraCrop(int, android.graphics.Rect) throws android.os.RemoteException; |
| 612 | method public abstract void setCameraPosition(int, android.graphics.Rect) throws android.os.RemoteException; |
| 613 | method public abstract void setCameraState(int, android.car.hardware.camera.CarCameraState) throws android.os.RemoteException; |
| 614 | } |
| 615 | |
| 616 | } |
| 617 | |
| 618 | package android.car.hardware.hvac { |
| 619 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 620 | public class CarHvacManager { |
Vitalii Tomkiv | 235f8ac | 2016-04-04 11:26:49 -0700 | [diff] [blame] | 621 | method public boolean getBooleanProperty(int, int) throws android.car.CarNotConnectedException; |
| 622 | method public float getFloatProperty(int, int) throws android.car.CarNotConnectedException; |
| 623 | method public int getIntProperty(int, int) throws android.car.CarNotConnectedException; |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 624 | method public java.util.List<android.car.hardware.CarPropertyConfig> getPropertyList() throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 625 | method public static boolean isZonedProperty(int); |
| 626 | method public synchronized void registerListener(android.car.hardware.hvac.CarHvacManager.CarHvacEventListener) throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 235f8ac | 2016-04-04 11:26:49 -0700 | [diff] [blame] | 627 | method public void setBooleanProperty(int, int, boolean) throws android.car.CarNotConnectedException; |
| 628 | method public void setFloatProperty(int, int, float) throws android.car.CarNotConnectedException; |
| 629 | method public void setIntProperty(int, int, int) throws android.car.CarNotConnectedException; |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 630 | method public synchronized void unregisterListener(android.car.hardware.hvac.CarHvacManager.CarHvacEventListener) throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 631 | } |
| 632 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 633 | public static abstract interface CarHvacManager.CarHvacEventListener { |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 634 | method public abstract void onChangeEvent(android.car.hardware.CarPropertyValue); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 635 | method public abstract void onErrorEvent(int, int); |
| 636 | } |
| 637 | |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 638 | public static abstract class CarHvacManager.HvacPropertyId implements java.lang.annotation.Annotation { |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 639 | field public static final int MAX_GLOBAL_PROPERTY_ID = 16383; // 0x3fff |
| 640 | field public static final int MIRROR_DEFROSTER_ON = 1; // 0x1 |
Steve Paik | c960e01 | 2016-05-04 15:09:23 -0700 | [diff] [blame] | 641 | field public static final int OUTSIDE_AIR_TEMP = 3; // 0x3 |
Keun-young Park | 4fff3d5 | 2016-04-22 16:39:24 -0700 | [diff] [blame] | 642 | field public static final int STEERING_WHEEL_TEMP = 2; // 0x2 |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 643 | field public static final int WINDOW_DEFROSTER_ON = 20481; // 0x5001 |
| 644 | field public static final int ZONED_AC_ON = 16393; // 0x4009 |
Keun-young Park | 4fff3d5 | 2016-04-22 16:39:24 -0700 | [diff] [blame] | 645 | field public static final int ZONED_AIR_RECIRCULATION_ON = 16395; // 0x400b |
| 646 | field public static final int ZONED_AUTOMATIC_MODE_ON = 16394; // 0x400a |
Steve Paik | 3412beb | 2016-04-29 16:34:41 -0700 | [diff] [blame] | 647 | field public static final int ZONED_DUAL_ZONE_ON = 16397; // 0x400d |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 648 | field public static final int ZONED_FAN_POSITION = 16391; // 0x4007 |
| 649 | field public static final int ZONED_FAN_POSITION_AVAILABLE = 16390; // 0x4006 |
| 650 | field public static final int ZONED_FAN_SPEED_RPM = 16389; // 0x4005 |
| 651 | field public static final int ZONED_FAN_SPEED_SETPOINT = 16388; // 0x4004 |
Steve Paik | 3412beb | 2016-04-29 16:34:41 -0700 | [diff] [blame] | 652 | field public static final int ZONED_MAX_AC_ON = 16396; // 0x400c |
Steve Paik | c960e01 | 2016-05-04 15:09:23 -0700 | [diff] [blame] | 653 | field public static final int ZONED_MAX_DEFROST_ON = 16398; // 0x400e |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 654 | field public static final int ZONED_SEAT_TEMP = 16392; // 0x4008 |
| 655 | field public static final int ZONED_TEMP_ACTUAL = 16386; // 0x4002 |
| 656 | field public static final int ZONED_TEMP_IS_FAHRENHEIT = 16387; // 0x4003 |
| 657 | field public static final int ZONED_TEMP_SETPOINT = 16385; // 0x4001 |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 658 | } |
| 659 | |
| 660 | } |
| 661 | |
| 662 | package android.car.hardware.radio { |
| 663 | |
| 664 | public class CarRadioEvent implements android.os.Parcelable { |
| 665 | ctor public CarRadioEvent(int, android.car.hardware.radio.CarRadioPreset); |
| 666 | method public int describeContents(); |
| 667 | method public int getEventType(); |
| 668 | method public android.car.hardware.radio.CarRadioPreset getPreset(); |
| 669 | method public void writeToParcel(android.os.Parcel, int); |
| 670 | field public static final android.os.Parcelable.Creator<android.car.hardware.radio.CarRadioEvent> CREATOR; |
| 671 | field public static final int RADIO_PRESET = 0; // 0x0 |
| 672 | } |
| 673 | |
| 674 | public class CarRadioManager { |
Vitalii Tomkiv | 235f8ac | 2016-04-04 11:26:49 -0700 | [diff] [blame] | 675 | method public android.car.hardware.radio.CarRadioPreset getPreset(int) throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 676 | method public int getPresetCount(); |
| 677 | method public synchronized void registerListener(android.car.hardware.radio.CarRadioManager.CarRadioEventListener) throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 235f8ac | 2016-04-04 11:26:49 -0700 | [diff] [blame] | 678 | method public boolean setPreset(android.car.hardware.radio.CarRadioPreset) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException; |
| 679 | method public synchronized void unregisterListener() throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 680 | field public static final boolean DBG = true; |
| 681 | field public static final java.lang.String TAG = "CarRadioManager"; |
| 682 | } |
| 683 | |
| 684 | public static abstract interface CarRadioManager.CarRadioEventListener { |
| 685 | method public abstract void onEvent(android.car.hardware.radio.CarRadioEvent); |
| 686 | } |
| 687 | |
| 688 | public class CarRadioPreset implements android.os.Parcelable { |
| 689 | ctor public CarRadioPreset(int, int, int, int); |
| 690 | method public int describeContents(); |
| 691 | method public int getBand(); |
| 692 | method public int getChannel(); |
| 693 | method public int getPresetNumber(); |
| 694 | method public int getSubChannel(); |
| 695 | method public void writeToParcel(android.os.Parcel, int); |
| 696 | field public static final android.os.Parcelable.Creator<android.car.hardware.radio.CarRadioPreset> CREATOR; |
| 697 | } |
| 698 | |
| 699 | } |
| 700 | |
Vitalii Tomkiv | 2bd0692 | 2016-07-26 11:07:48 -0700 | [diff] [blame^] | 701 | package android.car.input { |
| 702 | |
| 703 | public abstract class CarInputHandlingService extends android.app.Service { |
| 704 | ctor protected CarInputHandlingService(android.car.input.CarInputHandlingService.InputFilter[]); |
| 705 | method public android.os.IBinder onBind(android.content.Intent); |
| 706 | method protected abstract void onKeyEvent(android.view.KeyEvent, int); |
| 707 | field public static final int INPUT_CALLBACK_BINDER_CODE = 1; // 0x1 |
| 708 | field public static final java.lang.String INPUT_CALLBACK_BINDER_KEY = "callback_binder"; |
| 709 | } |
| 710 | |
| 711 | public static class CarInputHandlingService.InputFilter implements android.os.Parcelable { |
| 712 | ctor public CarInputHandlingService.InputFilter(int, int); |
| 713 | method public int describeContents(); |
| 714 | method public void writeToParcel(android.os.Parcel, int); |
| 715 | field public static final android.os.Parcelable.Creator CREATOR; |
| 716 | field public final int mKeyCode; |
| 717 | field public final int mTargetDisplay; |
| 718 | } |
| 719 | |
| 720 | } |
| 721 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 722 | package android.car.media { |
| 723 | |
| 724 | public class CarAudioManager { |
| 725 | method public int abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, android.media.AudioAttributes); |
| 726 | method public android.media.AudioAttributes getAudioAttributesForCarUsage(int); |
Yao Chen | c4d442f | 2016-04-08 11:33:47 -0700 | [diff] [blame] | 727 | method public int getStreamMaxVolume(int) throws android.car.CarNotConnectedException; |
| 728 | method public int getStreamMinVolume(int) throws android.car.CarNotConnectedException; |
| 729 | method public int getStreamVolume(int) throws android.car.CarNotConnectedException; |
Keun-young Park | 3cb8910 | 2016-05-05 13:16:03 -0700 | [diff] [blame] | 730 | method public boolean isMediaMuted() throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 731 | method public void onCarDisconnected(); |
| 732 | method public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, android.media.AudioAttributes, int, int) throws java.lang.IllegalArgumentException; |
Keun-young Park | 3cb8910 | 2016-05-05 13:16:03 -0700 | [diff] [blame] | 733 | method public boolean setMediaMute(boolean) throws android.car.CarNotConnectedException; |
Yao Chen | c4d442f | 2016-04-08 11:33:47 -0700 | [diff] [blame] | 734 | method public void setStreamVolume(int, int, int) throws android.car.CarNotConnectedException; |
| 735 | method public void setVolumeController(android.media.IVolumeController) throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 736 | field public static final int CAR_AUDIO_USAGE_ALARM = 6; // 0x6 |
| 737 | field public static final int CAR_AUDIO_USAGE_DEFAULT = 0; // 0x0 |
| 738 | field public static final int CAR_AUDIO_USAGE_MUSIC = 1; // 0x1 |
| 739 | field public static final int CAR_AUDIO_USAGE_NAVIGATION_GUIDANCE = 3; // 0x3 |
| 740 | field public static final int CAR_AUDIO_USAGE_NOTIFICATION = 7; // 0x7 |
| 741 | field public static final int CAR_AUDIO_USAGE_RADIO = 2; // 0x2 |
| 742 | field public static final int CAR_AUDIO_USAGE_SYSTEM_SAFETY_ALERT = 9; // 0x9 |
| 743 | field public static final int CAR_AUDIO_USAGE_SYSTEM_SOUND = 8; // 0x8 |
| 744 | field public static final int CAR_AUDIO_USAGE_VOICE_CALL = 4; // 0x4 |
| 745 | field public static final int CAR_AUDIO_USAGE_VOICE_COMMAND = 5; // 0x5 |
| 746 | } |
| 747 | |
| 748 | } |
| 749 | |
| 750 | package android.car.navigation { |
| 751 | |
| 752 | public class CarNavigationInstrumentCluster implements android.os.Parcelable { |
| 753 | ctor public CarNavigationInstrumentCluster(android.car.navigation.CarNavigationInstrumentCluster); |
| 754 | method public static android.car.navigation.CarNavigationInstrumentCluster createCluster(int); |
| 755 | method public static android.car.navigation.CarNavigationInstrumentCluster createCustomImageCluster(int, int, int, int); |
| 756 | method public int describeContents(); |
| 757 | method public int getImageColorDepthBits(); |
| 758 | method public int getImageHeight(); |
| 759 | method public int getImageWidth(); |
| 760 | method public int getMinIntervalMs(); |
| 761 | method public int getType(); |
| 762 | method public boolean supportsCustomImages(); |
| 763 | method public void writeToParcel(android.os.Parcel, int); |
| 764 | field public static final android.os.Parcelable.Creator<android.car.navigation.CarNavigationInstrumentCluster> CREATOR; |
| 765 | } |
| 766 | |
| 767 | public static abstract class CarNavigationInstrumentCluster.ClusterType implements java.lang.annotation.Annotation { |
| 768 | field public static final int CUSTOM_IMAGES_SUPPORTED = 1; // 0x1 |
| 769 | field public static final int IMAGE_CODES_ONLY = 2; // 0x2 |
| 770 | } |
| 771 | |
| 772 | } |
| 773 | |
| 774 | package android.car.test { |
| 775 | |
| 776 | public class CarTestManagerBinderWrapper { |
| 777 | ctor public CarTestManagerBinderWrapper(android.os.IBinder); |
| 778 | method public void onCarDisconnected(); |
| 779 | field public final android.os.IBinder binder; |
| 780 | } |
| 781 | |
| 782 | } |
| 783 | |