Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 1 | package android.car { |
| 2 | |
Keun-young Park | 4cf6911 | 2016-10-04 10:02:59 -0700 | [diff] [blame] | 3 | public final class Car { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 4 | method public void connect() throws java.lang.IllegalStateException; |
Jason Tholstrup | 3ee334d | 2016-08-26 14:30:20 -0700 | [diff] [blame] | 5 | method public static android.car.Car createCar(android.content.Context, android.content.ServiceConnection, android.os.Handler); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 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"; |
Steve Paik | 43c04a7 | 2016-07-08 19:12:09 -0700 | [diff] [blame] | 14 | field public static final java.lang.String CABIN_SERVICE = "cabin"; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 15 | field public static final java.lang.String CAMERA_SERVICE = "camera"; |
| 16 | field public static final int CONNECTION_TYPE_EMBEDDED = 5; // 0x5 |
| 17 | field public static final java.lang.String HVAC_SERVICE = "hvac"; |
| 18 | field public static final java.lang.String INFO_SERVICE = "info"; |
| 19 | field public static final java.lang.String PACKAGE_SERVICE = "package"; |
Steve Paik | 43c04a7 | 2016-07-08 19:12:09 -0700 | [diff] [blame] | 20 | field public static final java.lang.String PERMISSION_CAR_CABIN = "android.car.permission.CAR_CABIN"; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 21 | 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] | 22 | 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] | 23 | field public static final java.lang.String PERMISSION_CAR_HVAC = "android.car.permission.CAR_HVAC"; |
| 24 | field public static final java.lang.String PERMISSION_CAR_PROJECTION = "android.car.permission.CAR_PROJECTION"; |
| 25 | field public static final java.lang.String PERMISSION_CAR_RADIO = "android.car.permission.CAR_RADIO"; |
| 26 | field public static final java.lang.String PERMISSION_CONTROL_APP_BLOCKING = "android.car.permission.CONTROL_APP_BLOCKING"; |
| 27 | field public static final java.lang.String PERMISSION_FUEL = "android.car.permission.CAR_FUEL"; |
| 28 | field public static final java.lang.String PERMISSION_MILEAGE = "android.car.permission.CAR_MILEAGE"; |
| 29 | field public static final java.lang.String PERMISSION_MOCK_VEHICLE_HAL = "android.car.permission.CAR_MOCK_VEHICLE_HAL"; |
| 30 | field public static final java.lang.String PERMISSION_SPEED = "android.car.permission.CAR_SPEED"; |
| 31 | field public static final java.lang.String PERMISSION_VENDOR_EXTENSION = "android.car.permission.CAR_VENDOR_EXTENSION"; |
| 32 | field public static final java.lang.String PROJECTION_SERVICE = "projection"; |
| 33 | field public static final java.lang.String RADIO_SERVICE = "radio"; |
| 34 | field public static final java.lang.String SENSOR_SERVICE = "sensor"; |
| 35 | field public static final java.lang.String TEST_SERVICE = "car-service-test"; |
Pavel Maltsev | 634e1ff | 2016-07-14 15:41:26 -0700 | [diff] [blame] | 36 | field public static final java.lang.String VENDOR_EXTENSION_SERVICE = "vendor_extension"; |
Keun-young Park | f521fd7 | 2016-07-08 14:51:43 -0700 | [diff] [blame] | 37 | field public static final int VERSION = 1; // 0x1 |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 38 | } |
| 39 | |
Vitalii Tomkiv | 4637147 | 2016-05-23 16:55:22 -0700 | [diff] [blame] | 40 | public final class CarAppFocusManager { |
Vitalii Tomkiv | d15d887 | 2016-10-04 14:08:56 -0700 | [diff] [blame] | 41 | method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, int) throws android.car.CarNotConnectedException; |
| 42 | method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback) throws android.car.CarNotConnectedException; |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 43 | method public void addFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener, int) throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | d15d887 | 2016-10-04 14:08:56 -0700 | [diff] [blame] | 44 | method public boolean isOwningFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, int) throws android.car.CarNotConnectedException; |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 45 | method public void removeFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener, int) throws android.car.CarNotConnectedException; |
| 46 | method public void removeFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener) throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | d15d887 | 2016-10-04 14:08:56 -0700 | [diff] [blame] | 47 | method public int requestAppFocus(int, android.car.CarAppFocusManager.OnAppFocusOwnershipCallback) throws android.car.CarNotConnectedException, java.lang.SecurityException; |
Vitalii Tomkiv | 4637147 | 2016-05-23 16:55:22 -0700 | [diff] [blame] | 48 | field public static final int APP_FOCUS_REQUEST_FAILED = 0; // 0x0 |
Vitalii Tomkiv | d15d887 | 2016-10-04 14:08:56 -0700 | [diff] [blame] | 49 | field public static final int APP_FOCUS_REQUEST_SUCCEEDED = 1; // 0x1 |
Vitalii Tomkiv | 4637147 | 2016-05-23 16:55:22 -0700 | [diff] [blame] | 50 | field public static final int APP_FOCUS_TYPE_NAVIGATION = 1; // 0x1 |
| 51 | field public static final int APP_FOCUS_TYPE_VOICE_COMMAND = 2; // 0x2 |
| 52 | } |
| 53 | |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 54 | public static abstract interface CarAppFocusManager.OnAppFocusChangedListener { |
| 55 | method public abstract void onAppFocusChanged(int, boolean); |
Vitalii Tomkiv | 4637147 | 2016-05-23 16:55:22 -0700 | [diff] [blame] | 56 | } |
| 57 | |
Vitalii Tomkiv | d15d887 | 2016-10-04 14:08:56 -0700 | [diff] [blame] | 58 | public static abstract interface CarAppFocusManager.OnAppFocusOwnershipCallback { |
| 59 | method public abstract void onAppFocusOwnershipGranted(int); |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 60 | method public abstract void onAppFocusOwnershipLost(int); |
Vitalii Tomkiv | 4637147 | 2016-05-23 16:55:22 -0700 | [diff] [blame] | 61 | } |
| 62 | |
Keun-young Park | 6745635 | 2016-10-03 13:45:19 -0700 | [diff] [blame] | 63 | public final class CarInfoManager { |
| 64 | method public android.os.Bundle getBasicInfo() throws android.car.CarNotConnectedException; |
| 65 | field public static final java.lang.String BASIC_INFO_KEY_MANUFACTURER = "android.car.manufacturer"; |
| 66 | field public static final java.lang.String BASIC_INFO_KEY_MODEL = "android.car.model"; |
| 67 | field public static final java.lang.String BASIC_INFO_KEY_MODEL_YEAR = "android.car.model-year"; |
| 68 | field public static final java.lang.String BASIC_INFO_KEY_VEHICLE_ID = "android.car.vehicle-id"; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 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 | |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 78 | public class CarOperationNotSupportedException extends java.lang.Exception { |
| 79 | ctor public CarOperationNotSupportedException(); |
| 80 | ctor public CarOperationNotSupportedException(java.lang.String); |
| 81 | ctor public CarOperationNotSupportedException(java.lang.String, java.lang.Throwable); |
| 82 | ctor public CarOperationNotSupportedException(java.lang.Exception); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 83 | } |
| 84 | |
Keun-young Park | 4cf6911 | 2016-10-04 10:02:59 -0700 | [diff] [blame] | 85 | public final class CarProjectionManager { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 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 | |
Keun-young Park | cd68cc7 | 2016-09-14 11:06:56 -0700 | [diff] [blame] | 99 | public final class VehicleAreaType { |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 100 | field public static final int VEHICLE_AREA_TYPE_DOOR = 4; // 0x4 |
| 101 | field public static final int VEHICLE_AREA_TYPE_NONE = 0; // 0x0 |
| 102 | field public static final int VEHICLE_AREA_TYPE_SEAT = 3; // 0x3 |
| 103 | field public static final int VEHICLE_AREA_TYPE_WINDOW = 2; // 0x2 |
| 104 | field public static final int VEHICLE_AREA_TYPE_ZONE = 1; // 0x1 |
| 105 | } |
| 106 | |
Keun-young Park | cd68cc7 | 2016-09-14 11:06:56 -0700 | [diff] [blame] | 107 | public final class VehicleDoor { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 108 | field public static final int DOOR_HOOD = 268435456; // 0x10000000 |
| 109 | field public static final int DOOR_REAR = 536870912; // 0x20000000 |
| 110 | field public static final int DOOR_ROW_1_LEFT = 1; // 0x1 |
| 111 | field public static final int DOOR_ROW_1_RIGHT = 4; // 0x4 |
| 112 | field public static final int DOOR_ROW_2_LEFT = 16; // 0x10 |
| 113 | field public static final int DOOR_ROW_2_RIGHT = 64; // 0x40 |
| 114 | field public static final int DOOR_ROW_3_LEFT = 256; // 0x100 |
| 115 | field public static final int DOOR_ROW_3_RIGHT = 1024; // 0x400 |
| 116 | } |
| 117 | |
Keun-young Park | cd68cc7 | 2016-09-14 11:06:56 -0700 | [diff] [blame] | 118 | public final class VehicleMirror { |
Steve Paik | 43c04a7 | 2016-07-08 19:12:09 -0700 | [diff] [blame] | 119 | field public static final int MIRROR_DRIVER_CENTER = 4; // 0x4 |
| 120 | field public static final int MIRROR_DRIVER_LEFT = 1; // 0x1 |
| 121 | field public static final int MIRROR_DRIVER_RIGHT = 2; // 0x2 |
| 122 | } |
| 123 | |
Keun-young Park | cd68cc7 | 2016-09-14 11:06:56 -0700 | [diff] [blame] | 124 | public final class VehicleSeat { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 125 | field public static final int SEAT_DRIVER_LHD = 1; // 0x1 |
| 126 | field public static final int SEAT_DRIVER_RHD = 2; // 0x2 |
| 127 | field public static final int SEAT_ROW_1_PASSENGER_CENTER = 32; // 0x20 |
| 128 | field public static final int SEAT_ROW_1_PASSENGER_LEFT = 16; // 0x10 |
| 129 | field public static final int SEAT_ROW_1_PASSENGER_RIGHT = 64; // 0x40 |
| 130 | field public static final int SEAT_ROW_2_PASSENGER_CENTER = 512; // 0x200 |
| 131 | field public static final int SEAT_ROW_2_PASSENGER_LEFT = 256; // 0x100 |
| 132 | field public static final int SEAT_ROW_2_PASSENGER_RIGHT = 1024; // 0x400 |
| 133 | field public static final int SEAT_ROW_3_PASSENGER_CENTER = 8192; // 0x2000 |
| 134 | field public static final int SEAT_ROW_3_PASSENGER_LEFT = 4096; // 0x1000 |
| 135 | field public static final int SEAT_ROW_3_PASSENGER_RIGHT = 16384; // 0x4000 |
| 136 | } |
| 137 | |
Keun-young Park | cd68cc7 | 2016-09-14 11:06:56 -0700 | [diff] [blame] | 138 | public final class VehicleWindow { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 139 | field public static final int WINDOW_FRONT_WINDSHIELD = 1; // 0x1 |
| 140 | field public static final int WINDOW_REAR_WINDSHIELD = 2; // 0x2 |
| 141 | field public static final int WINDOW_ROOF_TOP = 4; // 0x4 |
| 142 | field public static final int WINDOW_ROW_1_LEFT = 16; // 0x10 |
| 143 | field public static final int WINDOW_ROW_1_RIGHT = 32; // 0x20 |
| 144 | field public static final int WINDOW_ROW_2_LEFT = 256; // 0x100 |
| 145 | field public static final int WINDOW_ROW_2_RIGHT = 512; // 0x200 |
| 146 | field public static final int WINDOW_ROW_3_LEFT = 4096; // 0x1000 |
| 147 | field public static final int WINDOW_ROW_3_RIGHT = 8192; // 0x2000 |
| 148 | } |
| 149 | |
Keun-young Park | cd68cc7 | 2016-09-14 11:06:56 -0700 | [diff] [blame] | 150 | public final class VehicleZone { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 151 | field public static final int ZONE_ALL = -2147483648; // 0x80000000 |
| 152 | field public static final int ZONE_ROW_1_ALL = 8; // 0x8 |
| 153 | field public static final int ZONE_ROW_1_CENTER = 2; // 0x2 |
| 154 | field public static final int ZONE_ROW_1_LEFT = 1; // 0x1 |
| 155 | field public static final int ZONE_ROW_1_RIGHT = 4; // 0x4 |
| 156 | field public static final int ZONE_ROW_2_ALL = 128; // 0x80 |
| 157 | field public static final int ZONE_ROW_2_CENTER = 32; // 0x20 |
| 158 | field public static final int ZONE_ROW_2_LEFT = 16; // 0x10 |
| 159 | field public static final int ZONE_ROW_2_RIGHT = 64; // 0x40 |
| 160 | field public static final int ZONE_ROW_3_ALL = 2048; // 0x800 |
| 161 | field public static final int ZONE_ROW_3_CENTER = 512; // 0x200 |
| 162 | field public static final int ZONE_ROW_3_LEFT = 256; // 0x100 |
| 163 | field public static final int ZONE_ROW_3_RIGHT = 1024; // 0x400 |
| 164 | field public static final int ZONE_ROW_4_ALL = 32768; // 0x8000 |
| 165 | field public static final int ZONE_ROW_4_CENTER = 8192; // 0x2000 |
| 166 | field public static final int ZONE_ROW_4_LEFT = 4096; // 0x1000 |
| 167 | field public static final int ZONE_ROW_4_RIGHT = 16384; // 0x4000 |
| 168 | } |
| 169 | |
Keun-young Park | cd68cc7 | 2016-09-14 11:06:56 -0700 | [diff] [blame] | 170 | public final class VehicleZoneUtil { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 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(); |
Keun-young Park | 3388e78 | 2016-10-05 16:28:32 -0700 | [diff] [blame^] | 326 | method public abstract void onNextTurnChanged(int, java.lang.CharSequence, int, int, android.graphics.Bitmap, int); |
Pavel Maltsev | a928f13 | 2016-08-01 16:46:10 -0700 | [diff] [blame] | 327 | method public abstract void onNextTurnDistanceChanged(int, int, int, int); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 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 | |
Keun-young Park | 4cf6911 | 2016-10-04 10:02:59 -0700 | [diff] [blame] | 369 | public final class CarPackageManager { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 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; |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 474 | field public long timestamp; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 475 | } |
| 476 | |
| 477 | public static class CarSensorEvent.CarSpeedData { |
| 478 | ctor public CarSensorEvent.CarSpeedData(); |
| 479 | field public float carSpeed; |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 480 | field public long timestamp; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 481 | } |
| 482 | |
| 483 | public static class CarSensorEvent.DrivingStatusData { |
| 484 | ctor public CarSensorEvent.DrivingStatusData(); |
| 485 | field public int status; |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 486 | field public long timestamp; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 487 | } |
| 488 | |
| 489 | public static class CarSensorEvent.EnvironmentData { |
| 490 | ctor public CarSensorEvent.EnvironmentData(); |
| 491 | field public float pressure; |
| 492 | field public float temperature; |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 493 | field public long timestamp; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 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; |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 501 | field public long timestamp; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 502 | } |
| 503 | |
| 504 | public static class CarSensorEvent.GearData { |
| 505 | ctor public CarSensorEvent.GearData(); |
| 506 | field public int gear; |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 507 | field public long timestamp; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 508 | } |
| 509 | |
| 510 | public static class CarSensorEvent.NightData { |
| 511 | ctor public CarSensorEvent.NightData(); |
| 512 | field public boolean isNightMode; |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 513 | field public long timestamp; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 514 | } |
| 515 | |
| 516 | public static class CarSensorEvent.OdometerData { |
| 517 | ctor public CarSensorEvent.OdometerData(); |
| 518 | field public float kms; |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 519 | field public long timestamp; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 520 | } |
| 521 | |
| 522 | public static class CarSensorEvent.ParkingBrakeData { |
| 523 | ctor public CarSensorEvent.ParkingBrakeData(); |
| 524 | field public boolean isEngaged; |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 525 | field public long timestamp; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 526 | } |
| 527 | |
| 528 | public static class CarSensorEvent.RpmData { |
| 529 | ctor public CarSensorEvent.RpmData(); |
| 530 | field public float rpm; |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 531 | field public long timestamp; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 532 | } |
| 533 | |
Keun-young Park | 4cf6911 | 2016-10-04 10:02:59 -0700 | [diff] [blame] | 534 | public final class CarSensorManager { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 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); |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 539 | method public boolean registerListener(android.car.hardware.CarSensorManager.OnSensorChangedListener, int, int) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException; |
| 540 | method public void unregisterListener(android.car.hardware.CarSensorManager.OnSensorChangedListener) throws android.car.CarNotConnectedException; |
| 541 | method public void unregisterListener(android.car.hardware.CarSensorManager.OnSensorChangedListener, 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 | |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 558 | public static abstract interface CarSensorManager.OnSensorChangedListener { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 559 | method public abstract void onSensorChanged(android.car.hardware.CarSensorEvent); |
| 560 | } |
| 561 | |
Keun-young Park | 4cf6911 | 2016-10-04 10:02:59 -0700 | [diff] [blame] | 562 | public final class CarVendorExtensionManager { |
Pavel Maltsev | 634e1ff | 2016-07-14 15:41:26 -0700 | [diff] [blame] | 563 | method public E getGlobalProperty(java.lang.Class<E>, int) throws android.car.CarNotConnectedException; |
| 564 | method public java.util.List<android.car.hardware.CarPropertyConfig> getProperties() throws android.car.CarNotConnectedException; |
| 565 | method public E getProperty(java.lang.Class<E>, int, int) throws android.car.CarNotConnectedException; |
| 566 | method public void registerListener(android.car.hardware.CarVendorExtensionManager.CarVendorExtensionListener) throws android.car.CarNotConnectedException; |
| 567 | method public void setGlobalProperty(java.lang.Class<E>, int, E) throws android.car.CarNotConnectedException; |
| 568 | method public void setProperty(java.lang.Class<E>, int, int, E) throws android.car.CarNotConnectedException; |
| 569 | method public void unregisterListener(android.car.hardware.CarVendorExtensionManager.CarVendorExtensionListener) throws android.car.CarNotConnectedException; |
| 570 | } |
| 571 | |
| 572 | public static abstract interface CarVendorExtensionManager.CarVendorExtensionListener { |
| 573 | method public abstract void onChangeEvent(android.car.hardware.CarPropertyValue); |
| 574 | method public abstract void onErrorEvent(int, int); |
| 575 | } |
| 576 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 577 | } |
| 578 | |
Steve Paik | 43c04a7 | 2016-07-08 19:12:09 -0700 | [diff] [blame] | 579 | package android.car.hardware.cabin { |
| 580 | |
Keun-young Park | 4cf6911 | 2016-10-04 10:02:59 -0700 | [diff] [blame] | 581 | public final class CarCabinManager { |
Steve Paik | 43c04a7 | 2016-07-08 19:12:09 -0700 | [diff] [blame] | 582 | method public boolean getBooleanProperty(int, int) throws android.car.CarNotConnectedException; |
| 583 | method public float getFloatProperty(int, int) throws android.car.CarNotConnectedException; |
| 584 | method public int getIntProperty(int, int) throws android.car.CarNotConnectedException; |
| 585 | method public java.util.List<android.car.hardware.CarPropertyConfig> getPropertyList() throws android.car.CarNotConnectedException; |
| 586 | method public static boolean isZonedProperty(int); |
| 587 | method public synchronized void registerListener(android.car.hardware.cabin.CarCabinManager.CarCabinEventListener) throws android.car.CarNotConnectedException; |
| 588 | method public void setBooleanProperty(int, int, boolean) throws android.car.CarNotConnectedException; |
| 589 | method public void setFloatProperty(int, int, float) throws android.car.CarNotConnectedException; |
| 590 | method public void setIntProperty(int, int, int) throws android.car.CarNotConnectedException; |
| 591 | method public synchronized void unregisterListener(android.car.hardware.cabin.CarCabinManager.CarCabinEventListener) throws android.car.CarNotConnectedException; |
| 592 | } |
| 593 | |
| 594 | public static abstract class CarCabinManager.CabinPropertyId implements java.lang.annotation.Annotation { |
| 595 | field public static final int DOOR_LOCK = 3; // 0x3 |
| 596 | field public static final int DOOR_MOVE = 2; // 0x2 |
| 597 | field public static final int DOOR_POS = 1; // 0x1 |
| 598 | field public static final int MIRROR_FOLD = 4102; // 0x1006 |
| 599 | field public static final int MIRROR_LOCK = 4101; // 0x1005 |
| 600 | field public static final int MIRROR_Y_MOVE = 4100; // 0x1004 |
| 601 | field public static final int MIRROR_Y_POS = 4099; // 0x1003 |
| 602 | field public static final int MIRROR_Z_MOVE = 4098; // 0x1002 |
| 603 | field public static final int MIRROR_Z_POS = 4097; // 0x1001 |
| 604 | field public static final int SEAT_BACKREST_ANGLE_1_MOVE = 8201; // 0x2009 |
| 605 | field public static final int SEAT_BACKREST_ANGLE_1_POS = 8200; // 0x2008 |
| 606 | field public static final int SEAT_BACKREST_ANGLE_2_MOVE = 8203; // 0x200b |
| 607 | field public static final int SEAT_BACKREST_ANGLE_2_POS = 8202; // 0x200a |
| 608 | field public static final int SEAT_BELT_BUCKLED = 8195; // 0x2003 |
| 609 | field public static final int SEAT_BELT_HEIGHT_MOVE = 8197; // 0x2005 |
| 610 | field public static final int SEAT_BELT_HEIGHT_POS = 8196; // 0x2004 |
| 611 | field public static final int SEAT_DEPTH_MOVE = 8207; // 0x200f |
| 612 | field public static final int SEAT_DEPTH_POS = 8206; // 0x200e |
| 613 | field public static final int SEAT_FORE_AFT_MOVE = 8199; // 0x2007 |
| 614 | field public static final int SEAT_FORE_AFT_POS = 8198; // 0x2006 |
| 615 | field public static final int SEAT_HEADREST_ANGLE_MOVE = 8217; // 0x2019 |
| 616 | field public static final int SEAT_HEADREST_ANGLE_POS = 8216; // 0x2018 |
| 617 | field public static final int SEAT_HEADREST_FORE_AFT_MOVE = 8219; // 0x201b |
| 618 | field public static final int SEAT_HEADREST_FORE_AFT_POS = 8218; // 0x201a |
| 619 | field public static final int SEAT_HEADREST_HEIGHT_MOVE = 8215; // 0x2017 |
| 620 | field public static final int SEAT_HEADREST_HEIGHT_POS = 8214; // 0x2016 |
| 621 | field public static final int SEAT_HEIGHT_MOVE = 8205; // 0x200d |
| 622 | field public static final int SEAT_HEIGHT_POS = 8204; // 0x200c |
| 623 | field public static final int SEAT_LUMBAR_FORE_AFT_MOVE = 8211; // 0x2013 |
| 624 | field public static final int SEAT_LUMBAR_FORE_AFT_POS = 8210; // 0x2012 |
| 625 | field public static final int SEAT_LUMBAR_SIDE_SUPPORT_MOVE = 8213; // 0x2015 |
| 626 | field public static final int SEAT_LUMBAR_SIDE_SUPPORT_POS = 8212; // 0x2014 |
| 627 | field public static final int SEAT_MEMORY_SELECT = 8193; // 0x2001 |
| 628 | field public static final int SEAT_MEMORY_SET = 8194; // 0x2002 |
| 629 | field public static final int SEAT_TILT_MOVE = 8209; // 0x2011 |
| 630 | field public static final int SEAT_TILT_POS = 8208; // 0x2010 |
| 631 | field public static final int WINDOW_LOCK = 12293; // 0x3005 |
| 632 | field public static final int WINDOW_MOVE = 12290; // 0x3002 |
| 633 | field public static final int WINDOW_POS = 12289; // 0x3001 |
| 634 | field public static final int WINDOW_VENT_MOVE = 12292; // 0x3004 |
| 635 | field public static final int WINDOW_VENT_POS = 12291; // 0x3003 |
| 636 | } |
| 637 | |
| 638 | public static abstract interface CarCabinManager.CarCabinEventListener { |
| 639 | method public abstract void onChangeEvent(android.car.hardware.CarPropertyValue); |
| 640 | method public abstract void onErrorEvent(int, int); |
| 641 | } |
| 642 | |
| 643 | } |
| 644 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 645 | package android.car.hardware.camera { |
| 646 | |
| 647 | public class CarCamera { |
| 648 | ctor public CarCamera(android.car.hardware.camera.ICarCamera, int); |
Vitalii Tomkiv | 235f8ac | 2016-04-04 11:26:49 -0700 | [diff] [blame] | 649 | method public android.graphics.Rect getCameraCrop() throws android.car.CarNotConnectedException; |
| 650 | method public android.graphics.Rect getCameraPosition() throws android.car.CarNotConnectedException; |
| 651 | method public android.car.hardware.camera.CarCameraState getCameraState() throws android.car.CarNotConnectedException; |
| 652 | method public int getCapabilities() throws android.car.CarNotConnectedException; |
| 653 | method public void setCameraCrop(android.graphics.Rect) throws android.car.CarNotConnectedException; |
| 654 | method public void setCameraPosition(android.graphics.Rect) throws android.car.CarNotConnectedException; |
| 655 | 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] | 656 | field public static final java.lang.String TAG; |
| 657 | field public final int mCameraType; |
| 658 | } |
| 659 | |
Keun-young Park | 4cf6911 | 2016-10-04 10:02:59 -0700 | [diff] [blame] | 660 | public final class CarCameraManager { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 661 | method public void closeCamera(android.car.hardware.camera.CarCamera); |
Vitalii Tomkiv | 235f8ac | 2016-04-04 11:26:49 -0700 | [diff] [blame] | 662 | method public int getCameraCapabilities(int) throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 663 | method public int[] getCameraList(); |
| 664 | method public android.car.hardware.camera.CarCamera openCamera(int); |
| 665 | field public static final int ANDROID_OVERLAY_SUPPORT_FLAG = 1; // 0x1 |
| 666 | field public static final int CAMERA_CROP_SUPPORT_FLAG = 2; // 0x2 |
| 667 | field public static final int CAMERA_POSITIONING_SUPPORT_FLAG = 4; // 0x4 |
| 668 | field public static final int CAR_CAMERA_TYPE_NONE = 0; // 0x0 |
| 669 | field public static final int CAR_CAMERA_TYPE_RVC = 1; // 0x1 |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 670 | } |
| 671 | |
| 672 | public class CarCameraState implements android.os.Parcelable { |
| 673 | ctor public CarCameraState(android.car.hardware.camera.CarCameraState); |
| 674 | ctor public CarCameraState(boolean, boolean); |
| 675 | method public int describeContents(); |
| 676 | method public boolean getCameraIsOn(); |
| 677 | method public boolean getOverlayIsOn(); |
| 678 | method public void setCameraIsOn(boolean); |
| 679 | method public void setOverlayIsOn(boolean); |
| 680 | method public void writeToParcel(android.os.Parcel, int); |
| 681 | field public static final android.os.Parcelable.Creator<android.car.hardware.camera.CarCameraState> CREATOR; |
| 682 | } |
| 683 | |
| 684 | public abstract interface ICarCamera implements android.os.IInterface { |
| 685 | method public abstract android.graphics.Rect getCameraCrop(int) throws android.os.RemoteException; |
| 686 | method public abstract int[] getCameraList() throws android.os.RemoteException; |
| 687 | method public abstract android.graphics.Rect getCameraPosition(int) throws android.os.RemoteException; |
| 688 | method public abstract android.car.hardware.camera.CarCameraState getCameraState(int) throws android.os.RemoteException; |
| 689 | method public abstract int getCapabilities(int) throws android.os.RemoteException; |
| 690 | method public abstract void setCameraCrop(int, android.graphics.Rect) throws android.os.RemoteException; |
| 691 | method public abstract void setCameraPosition(int, android.graphics.Rect) throws android.os.RemoteException; |
| 692 | method public abstract void setCameraState(int, android.car.hardware.camera.CarCameraState) throws android.os.RemoteException; |
| 693 | } |
| 694 | |
| 695 | } |
| 696 | |
| 697 | package android.car.hardware.hvac { |
| 698 | |
Keun-young Park | 4cf6911 | 2016-10-04 10:02:59 -0700 | [diff] [blame] | 699 | public final class CarHvacManager { |
Vitalii Tomkiv | 235f8ac | 2016-04-04 11:26:49 -0700 | [diff] [blame] | 700 | method public boolean getBooleanProperty(int, int) throws android.car.CarNotConnectedException; |
| 701 | method public float getFloatProperty(int, int) throws android.car.CarNotConnectedException; |
| 702 | method public int getIntProperty(int, int) throws android.car.CarNotConnectedException; |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 703 | 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] | 704 | method public static boolean isZonedProperty(int); |
| 705 | 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] | 706 | method public void setBooleanProperty(int, int, boolean) throws android.car.CarNotConnectedException; |
| 707 | method public void setFloatProperty(int, int, float) throws android.car.CarNotConnectedException; |
| 708 | method public void setIntProperty(int, int, int) throws android.car.CarNotConnectedException; |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 709 | 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] | 710 | } |
| 711 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 712 | public static abstract interface CarHvacManager.CarHvacEventListener { |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 713 | method public abstract void onChangeEvent(android.car.hardware.CarPropertyValue); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 714 | method public abstract void onErrorEvent(int, int); |
| 715 | } |
| 716 | |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 717 | public static abstract class CarHvacManager.HvacPropertyId implements java.lang.annotation.Annotation { |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 718 | field public static final int MAX_GLOBAL_PROPERTY_ID = 16383; // 0x3fff |
| 719 | field public static final int MIRROR_DEFROSTER_ON = 1; // 0x1 |
Steve Paik | c960e01 | 2016-05-04 15:09:23 -0700 | [diff] [blame] | 720 | field public static final int OUTSIDE_AIR_TEMP = 3; // 0x3 |
Keun-young Park | 4fff3d5 | 2016-04-22 16:39:24 -0700 | [diff] [blame] | 721 | field public static final int STEERING_WHEEL_TEMP = 2; // 0x2 |
Steve Paik | b224b85 | 2016-07-08 16:11:43 -0700 | [diff] [blame] | 722 | field public static final int TEMPERATURE_UNITS = 4; // 0x4 |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 723 | field public static final int WINDOW_DEFROSTER_ON = 20481; // 0x5001 |
| 724 | field public static final int ZONED_AC_ON = 16393; // 0x4009 |
Keun-young Park | 4fff3d5 | 2016-04-22 16:39:24 -0700 | [diff] [blame] | 725 | field public static final int ZONED_AIR_RECIRCULATION_ON = 16395; // 0x400b |
| 726 | field public static final int ZONED_AUTOMATIC_MODE_ON = 16394; // 0x400a |
Steve Paik | 3412beb | 2016-04-29 16:34:41 -0700 | [diff] [blame] | 727 | field public static final int ZONED_DUAL_ZONE_ON = 16397; // 0x400d |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 728 | field public static final int ZONED_FAN_POSITION = 16391; // 0x4007 |
| 729 | field public static final int ZONED_FAN_POSITION_AVAILABLE = 16390; // 0x4006 |
| 730 | field public static final int ZONED_FAN_SPEED_RPM = 16389; // 0x4005 |
| 731 | field public static final int ZONED_FAN_SPEED_SETPOINT = 16388; // 0x4004 |
Steve Paik | b224b85 | 2016-07-08 16:11:43 -0700 | [diff] [blame] | 732 | field public static final int ZONED_HVAC_POWER_ON = 16387; // 0x4003 |
Steve Paik | 3412beb | 2016-04-29 16:34:41 -0700 | [diff] [blame] | 733 | field public static final int ZONED_MAX_AC_ON = 16396; // 0x400c |
Steve Paik | c960e01 | 2016-05-04 15:09:23 -0700 | [diff] [blame] | 734 | field public static final int ZONED_MAX_DEFROST_ON = 16398; // 0x400e |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 735 | field public static final int ZONED_SEAT_TEMP = 16392; // 0x4008 |
| 736 | field public static final int ZONED_TEMP_ACTUAL = 16386; // 0x4002 |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 737 | field public static final int ZONED_TEMP_SETPOINT = 16385; // 0x4001 |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 738 | } |
| 739 | |
| 740 | } |
| 741 | |
| 742 | package android.car.hardware.radio { |
| 743 | |
| 744 | public class CarRadioEvent implements android.os.Parcelable { |
| 745 | ctor public CarRadioEvent(int, android.car.hardware.radio.CarRadioPreset); |
| 746 | method public int describeContents(); |
| 747 | method public int getEventType(); |
| 748 | method public android.car.hardware.radio.CarRadioPreset getPreset(); |
| 749 | method public void writeToParcel(android.os.Parcel, int); |
| 750 | field public static final android.os.Parcelable.Creator<android.car.hardware.radio.CarRadioEvent> CREATOR; |
| 751 | field public static final int RADIO_PRESET = 0; // 0x0 |
| 752 | } |
| 753 | |
Keun-young Park | 4cf6911 | 2016-10-04 10:02:59 -0700 | [diff] [blame] | 754 | public final class CarRadioManager { |
Vitalii Tomkiv | 235f8ac | 2016-04-04 11:26:49 -0700 | [diff] [blame] | 755 | 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] | 756 | method public int getPresetCount(); |
| 757 | 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] | 758 | method public boolean setPreset(android.car.hardware.radio.CarRadioPreset) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException; |
| 759 | method public synchronized void unregisterListener() throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 760 | } |
| 761 | |
| 762 | public static abstract interface CarRadioManager.CarRadioEventListener { |
| 763 | method public abstract void onEvent(android.car.hardware.radio.CarRadioEvent); |
| 764 | } |
| 765 | |
| 766 | public class CarRadioPreset implements android.os.Parcelable { |
| 767 | ctor public CarRadioPreset(int, int, int, int); |
| 768 | method public int describeContents(); |
| 769 | method public int getBand(); |
| 770 | method public int getChannel(); |
| 771 | method public int getPresetNumber(); |
| 772 | method public int getSubChannel(); |
| 773 | method public void writeToParcel(android.os.Parcel, int); |
| 774 | field public static final android.os.Parcelable.Creator<android.car.hardware.radio.CarRadioPreset> CREATOR; |
| 775 | } |
| 776 | |
| 777 | } |
| 778 | |
| 779 | package android.car.media { |
| 780 | |
Keun-young Park | 4cf6911 | 2016-10-04 10:02:59 -0700 | [diff] [blame] | 781 | public final class CarAudioManager { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 782 | method public int abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, android.media.AudioAttributes); |
| 783 | method public android.media.AudioAttributes getAudioAttributesForCarUsage(int); |
Yao Chen | c4d442f | 2016-04-08 11:33:47 -0700 | [diff] [blame] | 784 | method public int getStreamMaxVolume(int) throws android.car.CarNotConnectedException; |
| 785 | method public int getStreamMinVolume(int) throws android.car.CarNotConnectedException; |
| 786 | method public int getStreamVolume(int) throws android.car.CarNotConnectedException; |
Keun-young Park | 3cb8910 | 2016-05-05 13:16:03 -0700 | [diff] [blame] | 787 | method public boolean isMediaMuted() throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 788 | method public void onCarDisconnected(); |
| 789 | 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] | 790 | method public boolean setMediaMute(boolean) throws android.car.CarNotConnectedException; |
Yao Chen | c4d442f | 2016-04-08 11:33:47 -0700 | [diff] [blame] | 791 | method public void setStreamVolume(int, int, int) throws android.car.CarNotConnectedException; |
| 792 | method public void setVolumeController(android.media.IVolumeController) throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 793 | field public static final int CAR_AUDIO_USAGE_ALARM = 6; // 0x6 |
| 794 | field public static final int CAR_AUDIO_USAGE_DEFAULT = 0; // 0x0 |
| 795 | field public static final int CAR_AUDIO_USAGE_MUSIC = 1; // 0x1 |
| 796 | field public static final int CAR_AUDIO_USAGE_NAVIGATION_GUIDANCE = 3; // 0x3 |
| 797 | field public static final int CAR_AUDIO_USAGE_NOTIFICATION = 7; // 0x7 |
| 798 | field public static final int CAR_AUDIO_USAGE_RADIO = 2; // 0x2 |
| 799 | field public static final int CAR_AUDIO_USAGE_SYSTEM_SAFETY_ALERT = 9; // 0x9 |
| 800 | field public static final int CAR_AUDIO_USAGE_SYSTEM_SOUND = 8; // 0x8 |
| 801 | field public static final int CAR_AUDIO_USAGE_VOICE_CALL = 4; // 0x4 |
| 802 | field public static final int CAR_AUDIO_USAGE_VOICE_COMMAND = 5; // 0x5 |
| 803 | } |
| 804 | |
| 805 | } |
| 806 | |
| 807 | package android.car.navigation { |
| 808 | |
| 809 | public class CarNavigationInstrumentCluster implements android.os.Parcelable { |
| 810 | ctor public CarNavigationInstrumentCluster(android.car.navigation.CarNavigationInstrumentCluster); |
| 811 | method public static android.car.navigation.CarNavigationInstrumentCluster createCluster(int); |
| 812 | method public static android.car.navigation.CarNavigationInstrumentCluster createCustomImageCluster(int, int, int, int); |
| 813 | method public int describeContents(); |
| 814 | method public int getImageColorDepthBits(); |
| 815 | method public int getImageHeight(); |
| 816 | method public int getImageWidth(); |
Keun-young Park | 3388e78 | 2016-10-05 16:28:32 -0700 | [diff] [blame^] | 817 | method public int getMinIntervalMillis(); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 818 | method public int getType(); |
| 819 | method public boolean supportsCustomImages(); |
| 820 | method public void writeToParcel(android.os.Parcel, int); |
Keun-young Park | 3388e78 | 2016-10-05 16:28:32 -0700 | [diff] [blame^] | 821 | field public static final int CLUSTER_TYPE_CUSTOM_IMAGES_SUPPORTED = 1; // 0x1 |
| 822 | field public static final int CLUSTER_TYPE_IMAGE_CODES_ONLY = 2; // 0x2 |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 823 | field public static final android.os.Parcelable.Creator<android.car.navigation.CarNavigationInstrumentCluster> CREATOR; |
| 824 | } |
| 825 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 826 | } |
| 827 | |
Yao Chen | 94d4766 | 2016-07-28 14:03:28 -0700 | [diff] [blame] | 828 | package android.car.settings { |
| 829 | |
| 830 | public class CarSettings { |
| 831 | ctor public CarSettings(); |
| 832 | } |
| 833 | |
| 834 | public static final class CarSettings.Global { |
| 835 | ctor public CarSettings.Global(); |
| 836 | field public static final java.lang.String KEY_GARAGE_MODE_ENABLED = "android.car.GARAGE_MODE_ENABLED"; |
| 837 | field public static final java.lang.String KEY_GARAGE_MODE_MAINTENANCE_WINDOW = "android.car.GARAGE_MODE_MAINTENANCE_WINDOW"; |
| 838 | field public static final java.lang.String KEY_GARAGE_MODE_WAKE_UP_TIME = "android.car.GARAGE_MODE_WAKE_UP_TIME"; |
| 839 | } |
| 840 | |
| 841 | } |
| 842 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 843 | package android.car.test { |
| 844 | |
| 845 | public class CarTestManagerBinderWrapper { |
| 846 | ctor public CarTestManagerBinderWrapper(android.os.IBinder); |
| 847 | method public void onCarDisconnected(); |
| 848 | field public final android.os.IBinder binder; |
| 849 | } |
| 850 | |
| 851 | } |
| 852 | |