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 int CONNECTION_TYPE_EMBEDDED = 5; // 0x5 |
Enrico Granata | ae25b92 | 2017-07-07 11:28:15 -0700 | [diff] [blame] | 16 | field public static final java.lang.String DIAGNOSTIC_SERVICE = "diagnostic"; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 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"; |
Yao Chen | c4d442f | 2016-04-08 11:33:47 -0700 | [diff] [blame] | 21 | field public static final java.lang.String PERMISSION_CAR_CONTROL_AUDIO_VOLUME = "android.car.permission.CAR_CONTROL_AUDIO_VOLUME"; |
Enrico Granata | ae25b92 | 2017-07-07 11:28:15 -0700 | [diff] [blame] | 22 | field public static final java.lang.String PERMISSION_CAR_DIAGNOSTIC_CLEAR = "android.car.permission.DIAGNOSTIC_CLEAR"; |
| 23 | field public static final java.lang.String PERMISSION_CAR_DIAGNOSTIC_READ_ALL = "android.car.permission.DIAGNOSTIC_READ_ALL"; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 24 | field public static final java.lang.String PERMISSION_CAR_HVAC = "android.car.permission.CAR_HVAC"; |
| 25 | field public static final java.lang.String PERMISSION_CAR_PROJECTION = "android.car.permission.CAR_PROJECTION"; |
| 26 | field public static final java.lang.String PERMISSION_CAR_RADIO = "android.car.permission.CAR_RADIO"; |
Pavel Maltsev | 0d07c76 | 2016-11-03 16:40:15 -0700 | [diff] [blame] | 27 | field public static final java.lang.String PERMISSION_CAR_TEST_SERVICE = "android.car.permission.CAR_TEST_SERVICE"; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 28 | field public static final java.lang.String PERMISSION_CONTROL_APP_BLOCKING = "android.car.permission.CONTROL_APP_BLOCKING"; |
| 29 | field public static final java.lang.String PERMISSION_FUEL = "android.car.permission.CAR_FUEL"; |
| 30 | field public static final java.lang.String PERMISSION_MILEAGE = "android.car.permission.CAR_MILEAGE"; |
Pavel Maltsev | 0d07c76 | 2016-11-03 16:40:15 -0700 | [diff] [blame] | 31 | field public static final deprecated java.lang.String PERMISSION_MOCK_VEHICLE_HAL = "android.car.permission.CAR_MOCK_VEHICLE_HAL"; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 32 | field public static final java.lang.String PERMISSION_SPEED = "android.car.permission.CAR_SPEED"; |
Steve Paik | 289ab99 | 2017-07-11 22:40:57 -0700 | [diff] [blame] | 33 | field public static final java.lang.String PERMISSION_VEHICLE_DYNAMICS_STATE = "android.car.permission.VEHICLE_DYNAMICS_STATE"; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 34 | field public static final java.lang.String PERMISSION_VENDOR_EXTENSION = "android.car.permission.CAR_VENDOR_EXTENSION"; |
| 35 | field public static final java.lang.String PROJECTION_SERVICE = "projection"; |
| 36 | field public static final java.lang.String RADIO_SERVICE = "radio"; |
| 37 | field public static final java.lang.String SENSOR_SERVICE = "sensor"; |
| 38 | field public static final java.lang.String TEST_SERVICE = "car-service-test"; |
Pavel Maltsev | 634e1ff | 2016-07-14 15:41:26 -0700 | [diff] [blame] | 39 | field public static final java.lang.String VENDOR_EXTENSION_SERVICE = "vendor_extension"; |
Keun-young Park | 909546f | 2017-07-19 14:59:51 -0700 | [diff] [blame] | 40 | field public static final int VERSION = 3; // 0x3 |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 41 | } |
| 42 | |
Vitalii Tomkiv | 4637147 | 2016-05-23 16:55:22 -0700 | [diff] [blame] | 43 | public final class CarAppFocusManager { |
Keun-young Park | 150d8de | 2016-10-07 15:48:11 -0700 | [diff] [blame] | 44 | method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, int); |
| 45 | method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback); |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 46 | 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] | 47 | method public boolean isOwningFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, int) throws android.car.CarNotConnectedException; |
Keun-young Park | 150d8de | 2016-10-07 15:48:11 -0700 | [diff] [blame] | 48 | method public void removeFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener, int); |
| 49 | method public void removeFocusListener(android.car.CarAppFocusManager.OnAppFocusChangedListener); |
Vitalii Tomkiv | d15d887 | 2016-10-04 14:08:56 -0700 | [diff] [blame] | 50 | 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] | 51 | field public static final int APP_FOCUS_REQUEST_FAILED = 0; // 0x0 |
Vitalii Tomkiv | d15d887 | 2016-10-04 14:08:56 -0700 | [diff] [blame] | 52 | field public static final int APP_FOCUS_REQUEST_SUCCEEDED = 1; // 0x1 |
Vitalii Tomkiv | 4637147 | 2016-05-23 16:55:22 -0700 | [diff] [blame] | 53 | field public static final int APP_FOCUS_TYPE_NAVIGATION = 1; // 0x1 |
| 54 | field public static final int APP_FOCUS_TYPE_VOICE_COMMAND = 2; // 0x2 |
| 55 | } |
| 56 | |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 57 | public static abstract interface CarAppFocusManager.OnAppFocusChangedListener { |
| 58 | method public abstract void onAppFocusChanged(int, boolean); |
Vitalii Tomkiv | 4637147 | 2016-05-23 16:55:22 -0700 | [diff] [blame] | 59 | } |
| 60 | |
Vitalii Tomkiv | d15d887 | 2016-10-04 14:08:56 -0700 | [diff] [blame] | 61 | public static abstract interface CarAppFocusManager.OnAppFocusOwnershipCallback { |
| 62 | method public abstract void onAppFocusOwnershipGranted(int); |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 63 | method public abstract void onAppFocusOwnershipLost(int); |
Vitalii Tomkiv | 4637147 | 2016-05-23 16:55:22 -0700 | [diff] [blame] | 64 | } |
| 65 | |
Keun-young Park | 6745635 | 2016-10-03 13:45:19 -0700 | [diff] [blame] | 66 | public final class CarInfoManager { |
Keun-young Park | 07ddbbd | 2016-10-06 14:13:02 -0700 | [diff] [blame] | 67 | method public java.lang.String getManufacturer() throws android.car.CarNotConnectedException; |
| 68 | method public java.lang.String getModel() throws android.car.CarNotConnectedException; |
| 69 | method public java.lang.String getModelYear() throws android.car.CarNotConnectedException; |
| 70 | method public java.lang.String getVehicleId() throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 71 | } |
| 72 | |
| 73 | public class CarNotConnectedException extends java.lang.Exception { |
| 74 | ctor public CarNotConnectedException(); |
| 75 | ctor public CarNotConnectedException(java.lang.String); |
| 76 | ctor public CarNotConnectedException(java.lang.String, java.lang.Throwable); |
| 77 | ctor public CarNotConnectedException(java.lang.Exception); |
| 78 | } |
| 79 | |
Keun-young Park | 4cf6911 | 2016-10-04 10:02:59 -0700 | [diff] [blame] | 80 | public final class CarProjectionManager { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 81 | method public void onCarDisconnected(); |
Gene Karshenboym | beab135 | 2017-06-22 15:58:31 -0700 | [diff] [blame] | 82 | method public void registerProjectionListener(android.car.CarProjectionManager.CarProjectionListener, int) throws android.car.CarNotConnectedException; |
Enrico Granata | ae25b92 | 2017-07-07 11:28:15 -0700 | [diff] [blame] | 83 | method public void registerProjectionRunner(android.content.Intent) throws android.car.CarNotConnectedException; |
Gene Karshenboym | beab135 | 2017-06-22 15:58:31 -0700 | [diff] [blame] | 84 | method public void unregisterProjectionListener(); |
Enrico Granata | ae25b92 | 2017-07-07 11:28:15 -0700 | [diff] [blame] | 85 | method public void unregisterProjectionRunner(android.content.Intent); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 86 | field public static final int PROJECTION_LONG_PRESS_VOICE_SEARCH = 2; // 0x2 |
| 87 | field public static final int PROJECTION_VOICE_SEARCH = 1; // 0x1 |
| 88 | } |
| 89 | |
| 90 | public static abstract interface CarProjectionManager.CarProjectionListener { |
| 91 | method public abstract void onVoiceAssistantRequest(boolean); |
| 92 | } |
| 93 | |
Keun-young Park | cd68cc7 | 2016-09-14 11:06:56 -0700 | [diff] [blame] | 94 | public final class VehicleAreaType { |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 95 | field public static final int VEHICLE_AREA_TYPE_DOOR = 4; // 0x4 |
Vitalii Tomkiv | 5f537ee | 2016-10-11 14:26:44 -0700 | [diff] [blame] | 96 | field public static final int VEHICLE_AREA_TYPE_MIRROR = 5; // 0x5 |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 97 | field public static final int VEHICLE_AREA_TYPE_NONE = 0; // 0x0 |
| 98 | field public static final int VEHICLE_AREA_TYPE_SEAT = 3; // 0x3 |
| 99 | field public static final int VEHICLE_AREA_TYPE_WINDOW = 2; // 0x2 |
| 100 | field public static final int VEHICLE_AREA_TYPE_ZONE = 1; // 0x1 |
| 101 | } |
| 102 | |
Keun-young Park | cd68cc7 | 2016-09-14 11:06:56 -0700 | [diff] [blame] | 103 | public final class VehicleDoor { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 104 | field public static final int DOOR_HOOD = 268435456; // 0x10000000 |
| 105 | field public static final int DOOR_REAR = 536870912; // 0x20000000 |
| 106 | field public static final int DOOR_ROW_1_LEFT = 1; // 0x1 |
| 107 | field public static final int DOOR_ROW_1_RIGHT = 4; // 0x4 |
| 108 | field public static final int DOOR_ROW_2_LEFT = 16; // 0x10 |
| 109 | field public static final int DOOR_ROW_2_RIGHT = 64; // 0x40 |
| 110 | field public static final int DOOR_ROW_3_LEFT = 256; // 0x100 |
| 111 | field public static final int DOOR_ROW_3_RIGHT = 1024; // 0x400 |
| 112 | } |
| 113 | |
Keun-young Park | cd68cc7 | 2016-09-14 11:06:56 -0700 | [diff] [blame] | 114 | public final class VehicleMirror { |
Steve Paik | 43c04a7 | 2016-07-08 19:12:09 -0700 | [diff] [blame] | 115 | field public static final int MIRROR_DRIVER_CENTER = 4; // 0x4 |
| 116 | field public static final int MIRROR_DRIVER_LEFT = 1; // 0x1 |
| 117 | field public static final int MIRROR_DRIVER_RIGHT = 2; // 0x2 |
| 118 | } |
| 119 | |
Keun-young Park | cd68cc7 | 2016-09-14 11:06:56 -0700 | [diff] [blame] | 120 | public final class VehicleSeat { |
Steve Paik | 8968e1d | 2016-10-06 20:29:37 -0700 | [diff] [blame] | 121 | field public static final int SEAT_ROW_1_CENTER = 2; // 0x2 |
| 122 | field public static final int SEAT_ROW_1_LEFT = 1; // 0x1 |
| 123 | field public static final int SEAT_ROW_1_RIGHT = 4; // 0x4 |
| 124 | field public static final int SEAT_ROW_2_CENTER = 32; // 0x20 |
| 125 | field public static final int SEAT_ROW_2_LEFT = 16; // 0x10 |
| 126 | field public static final int SEAT_ROW_2_RIGHT = 64; // 0x40 |
| 127 | field public static final int SEAT_ROW_3_CENTER = 512; // 0x200 |
| 128 | field public static final int SEAT_ROW_3_LEFT = 256; // 0x100 |
| 129 | field public static final int SEAT_ROW_3_RIGHT = 1024; // 0x400 |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 130 | } |
| 131 | |
Keun-young Park | cd68cc7 | 2016-09-14 11:06:56 -0700 | [diff] [blame] | 132 | public final class VehicleWindow { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 133 | field public static final int WINDOW_FRONT_WINDSHIELD = 1; // 0x1 |
| 134 | field public static final int WINDOW_REAR_WINDSHIELD = 2; // 0x2 |
| 135 | field public static final int WINDOW_ROOF_TOP = 4; // 0x4 |
| 136 | field public static final int WINDOW_ROW_1_LEFT = 16; // 0x10 |
| 137 | field public static final int WINDOW_ROW_1_RIGHT = 32; // 0x20 |
| 138 | field public static final int WINDOW_ROW_2_LEFT = 256; // 0x100 |
| 139 | field public static final int WINDOW_ROW_2_RIGHT = 512; // 0x200 |
| 140 | field public static final int WINDOW_ROW_3_LEFT = 4096; // 0x1000 |
| 141 | field public static final int WINDOW_ROW_3_RIGHT = 8192; // 0x2000 |
| 142 | } |
| 143 | |
Keun-young Park | cd68cc7 | 2016-09-14 11:06:56 -0700 | [diff] [blame] | 144 | public final class VehicleZone { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 145 | field public static final int ZONE_ALL = -2147483648; // 0x80000000 |
| 146 | field public static final int ZONE_ROW_1_ALL = 8; // 0x8 |
| 147 | field public static final int ZONE_ROW_1_CENTER = 2; // 0x2 |
| 148 | field public static final int ZONE_ROW_1_LEFT = 1; // 0x1 |
| 149 | field public static final int ZONE_ROW_1_RIGHT = 4; // 0x4 |
| 150 | field public static final int ZONE_ROW_2_ALL = 128; // 0x80 |
| 151 | field public static final int ZONE_ROW_2_CENTER = 32; // 0x20 |
| 152 | field public static final int ZONE_ROW_2_LEFT = 16; // 0x10 |
| 153 | field public static final int ZONE_ROW_2_RIGHT = 64; // 0x40 |
| 154 | field public static final int ZONE_ROW_3_ALL = 2048; // 0x800 |
| 155 | field public static final int ZONE_ROW_3_CENTER = 512; // 0x200 |
| 156 | field public static final int ZONE_ROW_3_LEFT = 256; // 0x100 |
| 157 | field public static final int ZONE_ROW_3_RIGHT = 1024; // 0x400 |
| 158 | field public static final int ZONE_ROW_4_ALL = 32768; // 0x8000 |
| 159 | field public static final int ZONE_ROW_4_CENTER = 8192; // 0x2000 |
| 160 | field public static final int ZONE_ROW_4_LEFT = 4096; // 0x1000 |
| 161 | field public static final int ZONE_ROW_4_RIGHT = 16384; // 0x4000 |
| 162 | } |
| 163 | |
Keun-young Park | cd68cc7 | 2016-09-14 11:06:56 -0700 | [diff] [blame] | 164 | public final class VehicleZoneUtil { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 165 | method public static int getFirstZone(int); |
Keun-young Park | cc48749 | 2016-03-17 10:14:23 -0700 | [diff] [blame] | 166 | method public static int getNextZone(int, int) throws java.lang.IllegalArgumentException; |
| 167 | method public static int getNumberOfZones(int); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 168 | method public static int[] listAllZones(int); |
Keun-young Park | cc48749 | 2016-03-17 10:14:23 -0700 | [diff] [blame] | 169 | method public static int zoneToIndex(int, int) throws java.lang.IllegalArgumentException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 170 | } |
| 171 | |
| 172 | } |
| 173 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 174 | package android.car.app.menu { |
| 175 | |
| 176 | public abstract class CarMenuCallbacks { |
| 177 | ctor public CarMenuCallbacks(); |
| 178 | method public abstract android.car.app.menu.RootMenu getRootMenu(android.os.Bundle); |
| 179 | method public abstract void onCarMenuClosed(); |
| 180 | method public abstract void onCarMenuClosing(); |
| 181 | method public abstract void onCarMenuOpened(); |
| 182 | method public abstract void onCarMenuOpening(); |
| 183 | method public abstract void onItemClicked(java.lang.String); |
| 184 | method public abstract boolean onItemLongClicked(java.lang.String); |
| 185 | method public abstract boolean onMenuClicked(); |
| 186 | method public abstract void subscribe(java.lang.String, android.car.app.menu.SubscriptionCallbacks); |
| 187 | method public abstract void unsubscribe(java.lang.String, android.car.app.menu.SubscriptionCallbacks); |
| 188 | } |
| 189 | |
| 190 | public class CarMenuConstants { |
| 191 | ctor public CarMenuConstants(); |
| 192 | } |
| 193 | |
| 194 | public static class CarMenuConstants.MenuItemConstants { |
| 195 | ctor public CarMenuConstants.MenuItemConstants(); |
| 196 | field public static final int FLAG_BROWSABLE = 1; // 0x1 |
| 197 | field public static final int FLAG_FIRSTITEM = 2; // 0x2 |
| 198 | field public static final java.lang.String KEY_EMPTY_PLACEHOLDER = "android.car.app.menu.empty_placeholder"; |
| 199 | field public static final java.lang.String KEY_FLAGS = "android.car.app.menu.flags"; |
| 200 | field public static final java.lang.String KEY_ID = "android.car.app.menu.id"; |
| 201 | field public static final java.lang.String KEY_LEFTICON = "android.car.app.menu.leftIcon"; |
| 202 | field public static final java.lang.String KEY_REMOTEVIEWS = "android.car.app.menu.remoteViews"; |
| 203 | field public static final java.lang.String KEY_RIGHTICON = "android.car.app.menu.rightIcon"; |
| 204 | field public static final java.lang.String KEY_RIGHTTEXT = "android.car.app.menu.rightText"; |
| 205 | field public static final java.lang.String KEY_TEXT = "android.car.app.menu.text"; |
| 206 | field public static final java.lang.String KEY_TITLE = "android.car.app.menu.title"; |
| 207 | field public static final java.lang.String KEY_WIDGET = "android.car.app.menu.widget"; |
| 208 | field public static final java.lang.String KEY_WIDGET_STATE = "android.car.app.menu.widget_state"; |
| 209 | field public static final int WIDGET_CHECKBOX = 1; // 0x1 |
| 210 | field public static final int WIDGET_TEXT_VIEW = 2; // 0x2 |
| 211 | } |
| 212 | |
| 213 | public static abstract class CarMenuConstants.MenuItemConstants.MenuItemFlags implements java.lang.annotation.Annotation { |
| 214 | } |
| 215 | |
| 216 | public static abstract class CarMenuConstants.MenuItemConstants.WidgetTypes implements java.lang.annotation.Annotation { |
| 217 | } |
| 218 | |
| 219 | public abstract class CarUiEntry { |
| 220 | ctor public CarUiEntry(android.content.Context, android.content.Context); |
| 221 | method public abstract void closeDrawer(); |
| 222 | method public abstract android.view.View getContentView(); |
| 223 | method public abstract int getFragmentContainerId(); |
| 224 | method public abstract java.lang.CharSequence getSearchBoxText(); |
| 225 | method public abstract void hideMenuButton(); |
| 226 | method public abstract void hideTitle(); |
| 227 | method public abstract void onPause(); |
| 228 | method public abstract void onRestoreInstanceState(android.os.Bundle); |
| 229 | method public abstract void onResume(); |
| 230 | method public abstract void onSaveInstanceState(android.os.Bundle); |
| 231 | method public abstract void onStart(); |
| 232 | method public abstract void onStop(); |
| 233 | method public abstract void openDrawer(); |
| 234 | method public abstract void restoreMenuDrawable(); |
| 235 | method public abstract void setAutoLightDarkMode(); |
| 236 | method public abstract void setBackground(android.graphics.Bitmap); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 237 | method public abstract void setCarMenuCallbacks(android.car.app.menu.CarMenuCallbacks); |
| 238 | method public abstract void setDarkMode(); |
| 239 | method public abstract void setLightMode(); |
| 240 | method public abstract void setMenuButtonBitmap(android.graphics.Bitmap); |
| 241 | method public abstract void setMenuButtonColor(int); |
| 242 | method public abstract void setScrimColor(int); |
| 243 | method public abstract void setSearchBoxColors(int, int, int, int); |
| 244 | method public abstract void setSearchBoxEditListener(android.car.app.menu.SearchBoxEditListener); |
| 245 | method public abstract void setSearchBoxEndView(android.view.View); |
| 246 | method public abstract void setTitle(java.lang.CharSequence); |
| 247 | method public abstract void showMenu(java.lang.String, java.lang.String); |
| 248 | method public abstract void showSearchBox(android.view.View.OnClickListener); |
| 249 | method public abstract void showTitle(); |
| 250 | method public abstract void showToast(java.lang.String, long); |
| 251 | method public abstract android.widget.EditText startInput(java.lang.String, android.view.View.OnClickListener); |
| 252 | method public abstract void stopInput(); |
| 253 | field protected final android.content.Context mAppContext; |
| 254 | field protected final android.content.Context mUiLibContext; |
| 255 | } |
| 256 | |
| 257 | public class RootMenu { |
| 258 | ctor public RootMenu(java.lang.String); |
| 259 | ctor public RootMenu(java.lang.String, android.os.Bundle); |
| 260 | method public android.os.Bundle getBundle(); |
| 261 | method public java.lang.String getId(); |
| 262 | } |
| 263 | |
| 264 | public abstract class SearchBoxEditListener { |
| 265 | ctor public SearchBoxEditListener(); |
| 266 | method public abstract void onEdit(java.lang.String); |
| 267 | method public abstract void onSearch(java.lang.String); |
| 268 | } |
| 269 | |
| 270 | public abstract class SubscriptionCallbacks { |
| 271 | ctor public SubscriptionCallbacks(); |
| 272 | method public abstract void onChildChanged(java.lang.String, android.os.Bundle); |
| 273 | method public abstract void onChildrenLoaded(java.lang.String, java.util.List<android.os.Bundle>); |
| 274 | method public abstract void onError(java.lang.String); |
| 275 | } |
| 276 | |
| 277 | } |
| 278 | |
| 279 | package android.car.cluster.renderer { |
| 280 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 281 | public abstract class InstrumentClusterRenderer { |
| 282 | ctor public InstrumentClusterRenderer(); |
| 283 | method protected abstract android.car.cluster.renderer.NavigationRenderer createNavigationRenderer(); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 284 | method public synchronized android.car.cluster.renderer.NavigationRenderer getNavigationRenderer(); |
| 285 | method public final synchronized void initialize(); |
| 286 | method public abstract void onCreate(android.content.Context); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 287 | method public abstract void onStart(); |
| 288 | method public abstract void onStop(); |
| 289 | } |
| 290 | |
Pavel Maltsev | 0477e29 | 2016-05-27 12:22:36 -0700 | [diff] [blame] | 291 | public abstract class InstrumentClusterRenderingService extends android.app.Service { |
| 292 | ctor public InstrumentClusterRenderingService(); |
| 293 | method protected abstract android.car.cluster.renderer.NavigationRenderer getNavigationRenderer(); |
| 294 | method public android.os.IBinder onBind(android.content.Intent); |
Pavel Maltsev | 03cf60c | 2016-06-27 15:11:51 -0700 | [diff] [blame] | 295 | method protected void onKeyEvent(android.view.KeyEvent); |
Pavel Maltsev | 0477e29 | 2016-05-27 12:22:36 -0700 | [diff] [blame] | 296 | } |
| 297 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 298 | public abstract class NavigationRenderer { |
| 299 | ctor public NavigationRenderer(); |
Pavel Maltsev | 8cf8691 | 2016-04-01 18:01:51 -0700 | [diff] [blame] | 300 | method public abstract android.car.navigation.CarNavigationInstrumentCluster getNavigationProperties(); |
Keun-young Park | 3388e78 | 2016-10-05 16:28:32 -0700 | [diff] [blame] | 301 | 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] | 302 | method public abstract void onNextTurnDistanceChanged(int, int, int, int); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 303 | method public abstract void onStartNavigation(); |
| 304 | method public abstract void onStopNavigation(); |
| 305 | } |
| 306 | |
| 307 | } |
| 308 | |
| 309 | package android.car.content.pm { |
| 310 | |
| 311 | public class AppBlockingPackageInfo implements android.os.Parcelable { |
| 312 | ctor public AppBlockingPackageInfo(java.lang.String, int, int, int, android.content.pm.Signature[], java.lang.String[]); |
| 313 | ctor public AppBlockingPackageInfo(android.os.Parcel); |
| 314 | method public int describeContents(); |
| 315 | method public void writeToParcel(android.os.Parcel, int); |
| 316 | field public static final android.os.Parcelable.Creator<android.car.content.pm.AppBlockingPackageInfo> CREATOR; |
| 317 | field public static final int FLAG_SYSTEM_APP = 1; // 0x1 |
| 318 | field public static final int FLAG_WHOLE_ACTIVITY = 2; // 0x2 |
| 319 | field public final java.lang.String[] activities; |
| 320 | field public final int flags; |
| 321 | field public final int maxRevisionCode; |
| 322 | field public final int minRevisionCode; |
| 323 | field public final java.lang.String packageName; |
| 324 | field public final android.content.pm.Signature[] signatures; |
| 325 | } |
| 326 | |
| 327 | public class CarAppBlockingPolicy implements android.os.Parcelable { |
| 328 | ctor public CarAppBlockingPolicy(android.car.content.pm.AppBlockingPackageInfo[], android.car.content.pm.AppBlockingPackageInfo[]); |
| 329 | ctor public CarAppBlockingPolicy(android.os.Parcel); |
| 330 | method public int describeContents(); |
| 331 | method public void writeToParcel(android.os.Parcel, int); |
| 332 | field public static final android.os.Parcelable.Creator<android.car.content.pm.CarAppBlockingPolicy> CREATOR; |
| 333 | field public final android.car.content.pm.AppBlockingPackageInfo[] blacklists; |
| 334 | field public final android.car.content.pm.AppBlockingPackageInfo[] whitelists; |
| 335 | } |
| 336 | |
| 337 | public abstract class CarAppBlockingPolicyService extends android.app.Service { |
| 338 | ctor public CarAppBlockingPolicyService(); |
| 339 | method protected abstract android.car.content.pm.CarAppBlockingPolicy getAppBlockingPolicy(); |
| 340 | method public android.os.IBinder onBind(android.content.Intent); |
| 341 | field public static final java.lang.String SERVICE_INTERFACE = "android.car.content.pm.CarAppBlockingPolicyService"; |
| 342 | } |
| 343 | |
Keun-young Park | 4cf6911 | 2016-10-04 10:02:59 -0700 | [diff] [blame] | 344 | public final class CarPackageManager { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 345 | 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] | 346 | method public boolean isActivityBackedBySafeActivity(android.content.ComponentName) throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 347 | method public boolean isServiceAllowedWhileDriving(java.lang.String, java.lang.String) throws android.car.CarNotConnectedException; |
| 348 | method public void setAppBlockingPolicy(java.lang.String, android.car.content.pm.CarAppBlockingPolicy, int) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException, java.lang.SecurityException; |
| 349 | field public static final int FLAG_SET_POLICY_ADD = 2; // 0x2 |
| 350 | field public static final int FLAG_SET_POLICY_REMOVE = 4; // 0x4 |
| 351 | field public static final int FLAG_SET_POLICY_WAIT_FOR_CHANGE = 1; // 0x1 |
| 352 | } |
| 353 | |
| 354 | } |
| 355 | |
| 356 | package android.car.hardware { |
| 357 | |
Enrico Granata | ae25b92 | 2017-07-07 11:28:15 -0700 | [diff] [blame] | 358 | public class CarDiagnosticEvent implements android.os.Parcelable { |
| 359 | ctor public CarDiagnosticEvent(android.os.Parcel); |
| 360 | method public int describeContents(); |
| 361 | method public java.lang.Integer getFuelSystemStatus(); |
| 362 | method public java.lang.Integer getFuelType(); |
| 363 | method public android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.CommonIgnitionMonitors getIgnitionMonitors(); |
| 364 | method public java.lang.Integer getSecondaryAirStatus(); |
| 365 | method public float getSystemFloatSensor(int, float); |
| 366 | method public java.lang.Float getSystemFloatSensor(int); |
| 367 | method public int getSystemIntegerSensor(int, int); |
| 368 | method public java.lang.Integer getSystemIntegerSensor(int); |
| 369 | method public float getVendorFloatSensor(int, float); |
| 370 | method public java.lang.Float getVendorFloatSensor(int); |
| 371 | method public int getVendorIntegerSensor(int, int); |
| 372 | method public java.lang.Integer getVendorIntegerSensor(int); |
| 373 | method public boolean isEmptyFrame(); |
| 374 | method public boolean isFreezeFrame(); |
| 375 | method public boolean isLiveFrame(); |
| 376 | method public void writeToJson(android.util.JsonWriter) throws java.io.IOException; |
| 377 | method public void writeToParcel(android.os.Parcel, int); |
| 378 | field public static final android.os.Parcelable.Creator<android.car.hardware.CarDiagnosticEvent> CREATOR; |
| 379 | field public final java.lang.String dtc; |
| 380 | field public final int frameType; |
| 381 | field public final long timestamp; |
| 382 | } |
| 383 | |
| 384 | public static class CarDiagnosticEvent.Builder { |
| 385 | method public android.car.hardware.CarDiagnosticEvent.Builder atTimestamp(long); |
| 386 | method public android.car.hardware.CarDiagnosticEvent build(); |
| 387 | method public static android.car.hardware.CarDiagnosticEvent.Builder newFreezeFrameBuilder(); |
| 388 | method public static android.car.hardware.CarDiagnosticEvent.Builder newLiveFrameBuilder(); |
| 389 | method public android.car.hardware.CarDiagnosticEvent.Builder withDTC(java.lang.String); |
| 390 | method public android.car.hardware.CarDiagnosticEvent.Builder withFloatValue(int, float); |
| 391 | method public android.car.hardware.CarDiagnosticEvent.Builder withIntValue(int, int); |
| 392 | } |
| 393 | |
| 394 | public static final class CarDiagnosticEvent.FuelSystemStatus { |
| 395 | field public static final int CLOSED_LOOP = 2; // 0x2 |
| 396 | field public static final int CLOSED_LOOP_BUT_FEEDBACK_FAULT = 16; // 0x10 |
| 397 | field public static final int OPEN_ENGINE_LOAD_OR_DECELERATION = 4; // 0x4 |
| 398 | field public static final int OPEN_INSUFFICIENT_ENGINE_TEMPERATURE = 1; // 0x1 |
| 399 | field public static final int OPEN_SYSTEM_FAILURE = 8; // 0x8 |
| 400 | } |
| 401 | |
| 402 | public static abstract class CarDiagnosticEvent.FuelSystemStatus.Status implements java.lang.annotation.Annotation { |
| 403 | } |
| 404 | |
| 405 | public static final class CarDiagnosticEvent.FuelType { |
| 406 | field public static final int BIFUEL_RUNNING_CNG = 13; // 0xd |
| 407 | field public static final int BIFUEL_RUNNING_DIESEL = 23; // 0x17 |
| 408 | field public static final int BIFUEL_RUNNING_ELECTRIC = 15; // 0xf |
| 409 | field public static final int BIFUEL_RUNNING_ELECTRIC_AND_COMBUSTION = 16; // 0x10 |
| 410 | field public static final int BIFUEL_RUNNING_ETHANOL = 11; // 0xb |
| 411 | field public static final int BIFUEL_RUNNING_GASOLINE = 9; // 0x9 |
| 412 | field public static final int BIFUEL_RUNNING_LPG = 12; // 0xc |
| 413 | field public static final int BIFUEL_RUNNING_METHANOL = 10; // 0xa |
| 414 | field public static final int BIFUEL_RUNNING_PROPANE = 14; // 0xe |
| 415 | field public static final int CNG = 6; // 0x6 |
| 416 | field public static final int DIESEL = 4; // 0x4 |
| 417 | field public static final int ELECTRIC = 8; // 0x8 |
| 418 | field public static final int ETHANOL = 3; // 0x3 |
| 419 | field public static final int GASOLINE = 1; // 0x1 |
| 420 | field public static final int HYBRID_DIESEL = 19; // 0x13 |
| 421 | field public static final int HYBRID_ELECTRIC = 20; // 0x14 |
| 422 | field public static final int HYBRID_ETHANOL = 18; // 0x12 |
| 423 | field public static final int HYBRID_GASOLINE = 17; // 0x11 |
| 424 | field public static final int HYBRID_REGENERATIVE = 22; // 0x16 |
| 425 | field public static final int HYBRID_RUNNING_ELECTRIC_AND_COMBUSTION = 21; // 0x15 |
| 426 | field public static final int LPG = 5; // 0x5 |
| 427 | field public static final int METHANOL = 2; // 0x2 |
| 428 | field public static final int NOT_AVAILABLE = 0; // 0x0 |
| 429 | field public static final int PROPANE = 7; // 0x7 |
| 430 | } |
| 431 | |
| 432 | public static abstract class CarDiagnosticEvent.FuelType.Type implements java.lang.annotation.Annotation { |
| 433 | } |
| 434 | |
| 435 | public static final class CarDiagnosticEvent.IgnitionMonitors { |
| 436 | ctor public CarDiagnosticEvent.IgnitionMonitors(); |
| 437 | } |
| 438 | |
| 439 | public static class CarDiagnosticEvent.IgnitionMonitors.CommonIgnitionMonitors { |
| 440 | method public android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.CompressionIgnitionMonitors asCompressionIgnitionMonitors(); |
| 441 | method public android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.SparkIgnitionMonitors asSparkIgnitionMonitors(); |
| 442 | field public final android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor components; |
| 443 | field public final android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor fuelSystem; |
| 444 | field public final android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor misfire; |
| 445 | } |
| 446 | |
| 447 | public static final class CarDiagnosticEvent.IgnitionMonitors.CompressionIgnitionMonitors extends android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.CommonIgnitionMonitors { |
| 448 | field public final android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor EGROrVVT; |
| 449 | field public final android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor NMHCCatalyst; |
| 450 | field public final android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor NOxSCR; |
| 451 | field public final android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor PMFilter; |
| 452 | field public final android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor boostPressure; |
| 453 | field public final android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor exhaustGasSensor; |
| 454 | } |
| 455 | |
| 456 | public static final class CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor { |
| 457 | field public final boolean available; |
| 458 | field public final boolean incomplete; |
| 459 | } |
| 460 | |
| 461 | public static final class CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor.Decoder { |
| 462 | method public android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor fromValue(int); |
| 463 | } |
| 464 | |
| 465 | public static final class CarDiagnosticEvent.IgnitionMonitors.SparkIgnitionMonitors extends android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.CommonIgnitionMonitors { |
| 466 | field public final android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor ACRefrigerant; |
| 467 | field public final android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor EGR; |
| 468 | field public final android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor catalyst; |
| 469 | field public final android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor evaporativeSystem; |
| 470 | field public final android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor heatedCatalyst; |
| 471 | field public final android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor oxygenSensor; |
| 472 | field public final android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor oxygenSensorHeater; |
| 473 | field public final android.car.hardware.CarDiagnosticEvent.IgnitionMonitors.IgnitionMonitor secondaryAirSystem; |
| 474 | } |
| 475 | |
| 476 | public static final class CarDiagnosticEvent.SecondaryAirStatus { |
| 477 | field public static final int DOWNSTREAM_OF_CATALYCIC_CONVERTER = 2; // 0x2 |
| 478 | field public static final int FROM_OUTSIDE_OR_OFF = 4; // 0x4 |
| 479 | field public static final int PUMP_ON_FOR_DIAGNOSTICS = 8; // 0x8 |
| 480 | field public static final int UPSTREAM = 1; // 0x1 |
| 481 | } |
| 482 | |
| 483 | public static abstract class CarDiagnosticEvent.SecondaryAirStatus.Status implements java.lang.annotation.Annotation { |
| 484 | } |
| 485 | |
| 486 | public final class CarDiagnosticManager { |
| 487 | ctor public CarDiagnosticManager(android.os.IBinder, android.content.Context, android.os.Handler); |
| 488 | method public boolean clearFreezeFrames(long...) throws android.car.CarNotConnectedException; |
| 489 | method public android.car.hardware.CarDiagnosticEvent getFreezeFrame(long) throws android.car.CarNotConnectedException; |
| 490 | method public long[] getFreezeFrameTimestamps() throws android.car.CarNotConnectedException; |
| 491 | method public android.car.hardware.CarDiagnosticEvent getLatestLiveFrame() throws android.car.CarNotConnectedException; |
Enrico Granata | 2e3b49a | 2017-07-27 14:51:52 -0700 | [diff] [blame^] | 492 | method public boolean isClearFreezeFramesSupported() throws android.car.CarNotConnectedException; |
| 493 | method public boolean isFreezeFrameNotificationSupported() throws android.car.CarNotConnectedException; |
| 494 | method public boolean isGetFreezeFrameSupported() throws android.car.CarNotConnectedException; |
Enrico Granata | ae25b92 | 2017-07-07 11:28:15 -0700 | [diff] [blame] | 495 | method public boolean isLiveFrameSupported() throws android.car.CarNotConnectedException; |
| 496 | method public void onCarDisconnected(); |
| 497 | method public boolean registerListener(android.car.hardware.CarDiagnosticManager.OnDiagnosticEventListener, int, int) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException; |
| 498 | method public void unregisterListener(android.car.hardware.CarDiagnosticManager.OnDiagnosticEventListener); |
| 499 | field public static final int[] FRAME_TYPES; |
| 500 | field public static final int FRAME_TYPE_FREEZE = 1; // 0x1 |
| 501 | field public static final int FRAME_TYPE_LIVE = 0; // 0x0 |
| 502 | } |
| 503 | |
| 504 | public static abstract class CarDiagnosticManager.FrameType implements java.lang.annotation.Annotation { |
| 505 | } |
| 506 | |
| 507 | public static abstract interface CarDiagnosticManager.OnDiagnosticEventListener { |
| 508 | method public abstract void onDiagnosticEvent(android.car.hardware.CarDiagnosticEvent); |
| 509 | } |
| 510 | |
| 511 | public final class CarDiagnosticSensorIndices { |
| 512 | ctor public CarDiagnosticSensorIndices(); |
| 513 | } |
| 514 | |
| 515 | public static abstract class CarDiagnosticSensorIndices.FloatSensorIndex implements java.lang.annotation.Annotation { |
| 516 | } |
| 517 | |
| 518 | public static abstract class CarDiagnosticSensorIndices.IntegerSensorIndex implements java.lang.annotation.Annotation { |
| 519 | } |
| 520 | |
| 521 | public static final class CarDiagnosticSensorIndices.Obd2FloatSensorIndex { |
| 522 | field public static final int ABSOLUTE_EVAPORATION_SYSTEM_VAPOR_PRESSURE = 58; // 0x3a |
| 523 | field public static final int ABSOLUTE_LOAD_VALUE = 48; // 0x30 |
| 524 | field public static final int ABSOLUTE_THROTTLE_POSITION_B = 51; // 0x33 |
| 525 | field public static final int ABSOLUTE_THROTTLE_POSITION_C = 52; // 0x34 |
| 526 | field public static final int ACCELERATOR_PEDAL_POSITION_D = 53; // 0x35 |
| 527 | field public static final int ACCELERATOR_PEDAL_POSITION_E = 54; // 0x36 |
| 528 | field public static final int ACCELERATOR_PEDAL_POSITION_F = 55; // 0x37 |
| 529 | field public static final int CALCULATED_ENGINE_LOAD = 0; // 0x0 |
| 530 | field public static final int CATALYST_TEMPERATURE_BANK1_SENSOR1 = 44; // 0x2c |
| 531 | field public static final int CATALYST_TEMPERATURE_BANK1_SENSOR2 = 46; // 0x2e |
| 532 | field public static final int CATALYST_TEMPERATURE_BANK2_SENSOR1 = 45; // 0x2d |
| 533 | field public static final int CATALYST_TEMPERATURE_BANK2_SENSOR2 = 47; // 0x2f |
| 534 | field public static final int COMMANDED_EVAPORATIVE_PURGE = 41; // 0x29 |
| 535 | field public static final int COMMANDED_EXHAUST_GAS_RECIRCULATION = 39; // 0x27 |
| 536 | field public static final int COMMANDED_THROTTLE_ACTUATOR = 56; // 0x38 |
| 537 | field public static final int ENGINE_COOLANT_TEMPERATURE = 1; // 0x1 |
| 538 | field public static final int ENGINE_FUEL_RATE = 70; // 0x46 |
| 539 | field public static final int ENGINE_RPM = 8; // 0x8 |
| 540 | field public static final int ETHANOL_FUEL_PERCENTAGE = 57; // 0x39 |
| 541 | field public static final int EVAPORATION_SYSTEM_VAPOR_PRESSURE = 43; // 0x2b |
| 542 | field public static final int EXHAUST_GAS_RECIRCULATION_ERROR = 40; // 0x28 |
| 543 | field public static final int FUEL_AIR_COMMANDED_EQUIVALENCE_RATIO = 49; // 0x31 |
| 544 | field public static final int FUEL_INJECTION_TIMING = 69; // 0x45 |
| 545 | field public static final int FUEL_PRESSURE = 6; // 0x6 |
| 546 | field public static final int FUEL_RAIL_GAUGE_PRESSURE = 38; // 0x26 |
| 547 | field public static final int FUEL_RAIL_PRESSURE = 37; // 0x25 |
| 548 | field public static final int FUEL_TANK_LEVEL_INPUT = 42; // 0x2a |
| 549 | field public static final int HYBRID_BATTERY_PACK_REMAINING_LIFE = 68; // 0x44 |
| 550 | field public static final int INTAKE_MANIFOLD_ABSOLUTE_PRESSURE = 7; // 0x7 |
| 551 | field public static final int LAST_SYSTEM = 70; // 0x46 |
| 552 | field public static final int LONG_TERM_FUEL_TRIM_BANK1 = 3; // 0x3 |
| 553 | field public static final int LONG_TERM_FUEL_TRIM_BANK2 = 5; // 0x5 |
| 554 | field public static final int LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK1 = 63; // 0x3f |
| 555 | field public static final int LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK2 = 64; // 0x40 |
| 556 | field public static final int LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK3 = 65; // 0x41 |
| 557 | field public static final int LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK4 = 66; // 0x42 |
| 558 | field public static final int MAF_AIR_FLOW_RATE = 11; // 0xb |
| 559 | field public static final int OXYGEN_SENSOR1_FUEL_AIR_EQUIVALENCE_RATIO = 15; // 0xf |
| 560 | field public static final int OXYGEN_SENSOR1_SHORT_TERM_FUEL_TRIM = 14; // 0xe |
| 561 | field public static final int OXYGEN_SENSOR1_VOLTAGE = 13; // 0xd |
| 562 | field public static final int OXYGEN_SENSOR2_FUEL_AIR_EQUIVALENCE_RATIO = 18; // 0x12 |
| 563 | field public static final int OXYGEN_SENSOR2_SHORT_TERM_FUEL_TRIM = 17; // 0x11 |
| 564 | field public static final int OXYGEN_SENSOR2_VOLTAGE = 16; // 0x10 |
| 565 | field public static final int OXYGEN_SENSOR3_FUEL_AIR_EQUIVALENCE_RATIO = 21; // 0x15 |
| 566 | field public static final int OXYGEN_SENSOR3_SHORT_TERM_FUEL_TRIM = 20; // 0x14 |
| 567 | field public static final int OXYGEN_SENSOR3_VOLTAGE = 19; // 0x13 |
| 568 | field public static final int OXYGEN_SENSOR4_FUEL_AIR_EQUIVALENCE_RATIO = 24; // 0x18 |
| 569 | field public static final int OXYGEN_SENSOR4_SHORT_TERM_FUEL_TRIM = 23; // 0x17 |
| 570 | field public static final int OXYGEN_SENSOR4_VOLTAGE = 22; // 0x16 |
| 571 | field public static final int OXYGEN_SENSOR5_FUEL_AIR_EQUIVALENCE_RATIO = 27; // 0x1b |
| 572 | field public static final int OXYGEN_SENSOR5_SHORT_TERM_FUEL_TRIM = 26; // 0x1a |
| 573 | field public static final int OXYGEN_SENSOR5_VOLTAGE = 25; // 0x19 |
| 574 | field public static final int OXYGEN_SENSOR6_FUEL_AIR_EQUIVALENCE_RATIO = 30; // 0x1e |
| 575 | field public static final int OXYGEN_SENSOR6_SHORT_TERM_FUEL_TRIM = 29; // 0x1d |
| 576 | field public static final int OXYGEN_SENSOR6_VOLTAGE = 28; // 0x1c |
| 577 | field public static final int OXYGEN_SENSOR7_FUEL_AIR_EQUIVALENCE_RATIO = 33; // 0x21 |
| 578 | field public static final int OXYGEN_SENSOR7_SHORT_TERM_FUEL_TRIM = 32; // 0x20 |
| 579 | field public static final int OXYGEN_SENSOR7_VOLTAGE = 31; // 0x1f |
| 580 | field public static final int OXYGEN_SENSOR8_FUEL_AIR_EQUIVALENCE_RATIO = 36; // 0x24 |
| 581 | field public static final int OXYGEN_SENSOR8_SHORT_TERM_FUEL_TRIM = 35; // 0x23 |
| 582 | field public static final int OXYGEN_SENSOR8_VOLTAGE = 34; // 0x22 |
| 583 | field public static final int RELATIVE_ACCELERATOR_PEDAL_POSITION = 67; // 0x43 |
| 584 | field public static final int RELATIVE_THROTTLE_POSITION = 50; // 0x32 |
| 585 | field public static final int SHORT_TERM_FUEL_TRIM_BANK1 = 2; // 0x2 |
| 586 | field public static final int SHORT_TERM_FUEL_TRIM_BANK2 = 4; // 0x4 |
| 587 | field public static final int SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK1 = 59; // 0x3b |
| 588 | field public static final int SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK2 = 60; // 0x3c |
| 589 | field public static final int SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK3 = 61; // 0x3d |
| 590 | field public static final int SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK4 = 62; // 0x3e |
| 591 | field public static final int THROTTLE_POSITION = 12; // 0xc |
| 592 | field public static final int TIMING_ADVANCE = 10; // 0xa |
| 593 | field public static final int VEHICLE_SPEED = 9; // 0x9 |
| 594 | field public static final int VENDOR_START = 71; // 0x47 |
| 595 | } |
| 596 | |
| 597 | public static final class CarDiagnosticSensorIndices.Obd2IntegerSensorIndex { |
| 598 | field public static final int ABSOLUTE_BAROMETRIC_PRESSURE = 11; // 0xb |
| 599 | field public static final int AMBIENT_AIR_TEMPERATURE = 13; // 0xd |
| 600 | field public static final int COMMANDED_SECONDARY_AIR_STATUS = 5; // 0x5 |
| 601 | field public static final int CONTROL_MODULE_VOLTAGE = 12; // 0xc |
| 602 | field public static final int DISTANCE_TRAVELED_SINCE_CODES_CLEARED = 10; // 0xa |
| 603 | field public static final int DISTANCE_TRAVELED_WITH_MALFUNCTION_INDICATOR_LIGHT_ON = 8; // 0x8 |
| 604 | field public static final int DRIVER_DEMAND_PERCENT_TORQUE = 24; // 0x18 |
| 605 | field public static final int ENGINE_ACTUAL_PERCENT_TORQUE = 25; // 0x19 |
| 606 | field public static final int ENGINE_OIL_TEMPERATURE = 23; // 0x17 |
| 607 | field public static final int ENGINE_PERCENT_TORQUE_DATA_IDLE = 27; // 0x1b |
| 608 | field public static final int ENGINE_PERCENT_TORQUE_DATA_POINT1 = 28; // 0x1c |
| 609 | field public static final int ENGINE_PERCENT_TORQUE_DATA_POINT2 = 29; // 0x1d |
| 610 | field public static final int ENGINE_PERCENT_TORQUE_DATA_POINT3 = 30; // 0x1e |
| 611 | field public static final int ENGINE_PERCENT_TORQUE_DATA_POINT4 = 31; // 0x1f |
| 612 | field public static final int ENGINE_REFERENCE_PERCENT_TORQUE = 26; // 0x1a |
| 613 | field public static final int FUEL_RAIL_ABSOLUTE_PRESSURE = 22; // 0x16 |
| 614 | field public static final int FUEL_SYSTEM_STATUS = 0; // 0x0 |
| 615 | field public static final int FUEL_TYPE = 21; // 0x15 |
| 616 | field public static final int IGNITION_MONITORS_SUPPORTED = 2; // 0x2 |
| 617 | field public static final int IGNITION_SPECIFIC_MONITORS = 3; // 0x3 |
| 618 | field public static final int INTAKE_AIR_TEMPERATURE = 4; // 0x4 |
| 619 | field public static final int LAST_SYSTEM = 31; // 0x1f |
| 620 | field public static final int MALFUNCTION_INDICATOR_LIGHT_ON = 1; // 0x1 |
| 621 | field public static final int MAX_AIR_FLOW_RATE_FROM_MASS_AIR_FLOW_SENSOR = 20; // 0x14 |
| 622 | field public static final int MAX_FUEL_AIR_EQUIVALENCE_RATIO = 16; // 0x10 |
| 623 | field public static final int MAX_INTAKE_MANIFOLD_ABSOLUTE_PRESSURE = 19; // 0x13 |
| 624 | field public static final int MAX_OXYGEN_SENSOR_CURRENT = 18; // 0x12 |
| 625 | field public static final int MAX_OXYGEN_SENSOR_VOLTAGE = 17; // 0x11 |
| 626 | field public static final int NUM_OXYGEN_SENSORS_PRESENT = 6; // 0x6 |
| 627 | field public static final int RUNTIME_SINCE_ENGINE_START = 7; // 0x7 |
| 628 | field public static final int TIME_SINCE_TROUBLE_CODES_CLEARED = 15; // 0xf |
| 629 | field public static final int TIME_WITH_MALFUNCTION_LIGHT_ON = 14; // 0xe |
| 630 | field public static final int VENDOR_START = 32; // 0x20 |
| 631 | field public static final int WARMUPS_SINCE_CODES_CLEARED = 9; // 0x9 |
| 632 | } |
| 633 | |
Keun-young Park | 6089156 | 2016-09-28 11:16:02 -0700 | [diff] [blame] | 634 | public class CarPropertyConfig<T> implements android.os.Parcelable { |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 635 | method public int describeContents(); |
| 636 | method public int getAreaCount(); |
| 637 | method public int[] getAreaIds(); |
| 638 | method public int getAreaType(); |
| 639 | method public int getFirstAndOnlyAreaId(); |
| 640 | method public T getMaxValue(int); |
| 641 | method public T getMaxValue(); |
| 642 | method public T getMinValue(int); |
| 643 | method public T getMinValue(); |
| 644 | method public int getPropertyId(); |
| 645 | method public java.lang.Class<T> getPropertyType(); |
| 646 | method public boolean hasArea(int); |
| 647 | method public boolean isGlobalProperty(); |
Keun-young Park | 6089156 | 2016-09-28 11:16:02 -0700 | [diff] [blame] | 648 | method public static <T> android.car.hardware.CarPropertyConfig.Builder<T> newBuilder(java.lang.Class<T>, int, int, int); |
| 649 | method public static <T> android.car.hardware.CarPropertyConfig.Builder<T> newBuilder(java.lang.Class<T>, int, int); |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 650 | method public void writeToParcel(android.os.Parcel, int); |
| 651 | field public static final android.os.Parcelable.Creator<android.car.hardware.CarPropertyConfig> CREATOR; |
| 652 | } |
| 653 | |
Keun-young Park | 6089156 | 2016-09-28 11:16:02 -0700 | [diff] [blame] | 654 | public static class CarPropertyConfig.AreaConfig<T> implements android.os.Parcelable { |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 655 | method public int describeContents(); |
| 656 | method public T getMaxValue(); |
| 657 | method public T getMinValue(); |
| 658 | method public void writeToParcel(android.os.Parcel, int); |
| 659 | field public static final android.os.Parcelable.Creator<android.car.hardware.CarPropertyConfig.AreaConfig<java.lang.Object>> CREATOR; |
| 660 | } |
| 661 | |
Keun-young Park | 6089156 | 2016-09-28 11:16:02 -0700 | [diff] [blame] | 662 | public static class CarPropertyConfig.Builder<T> { |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 663 | method public android.car.hardware.CarPropertyConfig.Builder<T> addArea(int); |
| 664 | method public android.car.hardware.CarPropertyConfig.Builder<T> addAreaConfig(int, T, T); |
| 665 | method public android.car.hardware.CarPropertyConfig.Builder<T> addAreas(int[]); |
| 666 | method public android.car.hardware.CarPropertyConfig<T> build(); |
| 667 | } |
| 668 | |
Keun-young Park | 6089156 | 2016-09-28 11:16:02 -0700 | [diff] [blame] | 669 | public class CarPropertyValue<T> implements android.os.Parcelable { |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 670 | ctor public CarPropertyValue(int, T); |
| 671 | ctor public CarPropertyValue(int, int, T); |
| 672 | ctor public CarPropertyValue(android.os.Parcel); |
| 673 | method public int describeContents(); |
| 674 | method public int getAreaId(); |
| 675 | method public int getPropertyId(); |
| 676 | method public T getValue(); |
| 677 | method public void writeToParcel(android.os.Parcel, int); |
| 678 | field public static final android.os.Parcelable.Creator<android.car.hardware.CarPropertyValue> CREATOR; |
| 679 | } |
| 680 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 681 | public class CarSensorEvent implements android.os.Parcelable { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 682 | method public int describeContents(); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 683 | method public void writeToParcel(android.os.Parcel, int); |
| 684 | field public static final android.os.Parcelable.Creator<android.car.hardware.CarSensorEvent> CREATOR; |
| 685 | field public static final int DRIVE_STATUS_FULLY_RESTRICTED = 31; // 0x1f |
| 686 | field public static final int DRIVE_STATUS_LIMIT_MESSAGE_LEN = 16; // 0x10 |
| 687 | field public static final int DRIVE_STATUS_NO_CONFIG = 8; // 0x8 |
| 688 | field public static final int DRIVE_STATUS_NO_KEYBOARD_INPUT = 2; // 0x2 |
| 689 | field public static final int DRIVE_STATUS_NO_VIDEO = 1; // 0x1 |
| 690 | field public static final int DRIVE_STATUS_NO_VOICE_INPUT = 4; // 0x4 |
| 691 | field public static final int DRIVE_STATUS_UNRESTRICTED = 0; // 0x0 |
| 692 | field public static final int GEAR_DRIVE = 100; // 0x64 |
| 693 | field public static final int GEAR_EIGHTH = 8; // 0x8 |
| 694 | field public static final int GEAR_FIFTH = 5; // 0x5 |
| 695 | field public static final int GEAR_FIRST = 1; // 0x1 |
| 696 | field public static final int GEAR_FOURTH = 4; // 0x4 |
| 697 | field public static final int GEAR_NEUTRAL = 0; // 0x0 |
| 698 | field public static final int GEAR_NINTH = 9; // 0x9 |
| 699 | field public static final int GEAR_PARK = 101; // 0x65 |
| 700 | field public static final int GEAR_REVERSE = 102; // 0x66 |
| 701 | field public static final int GEAR_SECOND = 2; // 0x2 |
| 702 | field public static final int GEAR_SEVENTH = 7; // 0x7 |
| 703 | field public static final int GEAR_SIXTH = 6; // 0x6 |
| 704 | field public static final int GEAR_TENTH = 10; // 0xa |
| 705 | field public static final int GEAR_THIRD = 3; // 0x3 |
Pavel Maltsev | 1e5a88b | 2016-12-15 17:51:29 -0800 | [diff] [blame] | 706 | field public static final int IGNITION_STATE_ACC = 3; // 0x3 |
| 707 | field public static final int IGNITION_STATE_LOCK = 1; // 0x1 |
| 708 | field public static final int IGNITION_STATE_OFF = 2; // 0x2 |
| 709 | field public static final int IGNITION_STATE_ON = 4; // 0x4 |
| 710 | field public static final int IGNITION_STATE_START = 5; // 0x5 |
| 711 | field public static final int IGNITION_STATE_UNDEFINED = 0; // 0x0 |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 712 | field public static final int INDEX_ENVIRONMENT_PRESSURE = 1; // 0x1 |
| 713 | field public static final int INDEX_ENVIRONMENT_TEMPERATURE = 0; // 0x0 |
| 714 | field public static final int INDEX_FUEL_LEVEL_IN_DISTANCE = 1; // 0x1 |
| 715 | field public static final int INDEX_FUEL_LEVEL_IN_PERCENTILE = 0; // 0x0 |
| 716 | field public static final int INDEX_FUEL_LOW_WARNING = 0; // 0x0 |
Steve Paik | 289ab99 | 2017-07-11 22:40:57 -0700 | [diff] [blame] | 717 | field public static final int INDEX_WHEEL_DISTANCE_FRONT_LEFT = 1; // 0x1 |
| 718 | field public static final int INDEX_WHEEL_DISTANCE_FRONT_RIGHT = 2; // 0x2 |
| 719 | field public static final int INDEX_WHEEL_DISTANCE_REAR_LEFT = 4; // 0x4 |
| 720 | field public static final int INDEX_WHEEL_DISTANCE_REAR_RIGHT = 3; // 0x3 |
| 721 | field public static final int INDEX_WHEEL_DISTANCE_RESET_COUNT = 0; // 0x0 |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 722 | field public final float[] floatValues; |
| 723 | field public final int[] intValues; |
Steve Paik | 289ab99 | 2017-07-11 22:40:57 -0700 | [diff] [blame] | 724 | field public final long[] longValues; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 725 | field public int sensorType; |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 726 | field public long timestamp; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 727 | } |
| 728 | |
| 729 | public static class CarSensorEvent.EnvironmentData { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 730 | field public float pressure; |
| 731 | field public float temperature; |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 732 | field public long timestamp; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 733 | } |
| 734 | |
Keun-young Park | 4cf6911 | 2016-10-04 10:02:59 -0700 | [diff] [blame] | 735 | public final class CarSensorManager { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 736 | method public android.car.hardware.CarSensorEvent getLatestSensorEvent(int) throws android.car.CarNotConnectedException; |
| 737 | method public int[] getSupportedSensors() throws android.car.CarNotConnectedException; |
| 738 | method public boolean isSensorSupported(int) throws android.car.CarNotConnectedException; |
| 739 | method public static boolean isSensorSupported(int[], int); |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 740 | method public boolean registerListener(android.car.hardware.CarSensorManager.OnSensorChangedListener, int, int) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException; |
Keun-young Park | 150d8de | 2016-10-07 15:48:11 -0700 | [diff] [blame] | 741 | method public void unregisterListener(android.car.hardware.CarSensorManager.OnSensorChangedListener); |
| 742 | method public void unregisterListener(android.car.hardware.CarSensorManager.OnSensorChangedListener, int); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 743 | field public static final int SENSOR_RATE_FAST = 1; // 0x1 |
| 744 | field public static final int SENSOR_RATE_FASTEST = 0; // 0x0 |
| 745 | field public static final int SENSOR_RATE_NORMAL = 3; // 0x3 |
| 746 | field public static final int SENSOR_RATE_UI = 2; // 0x2 |
Steve Paik | 289ab99 | 2017-07-11 22:40:57 -0700 | [diff] [blame] | 747 | field public static final int SENSOR_TYPE_ABS_ACTIVE = 24; // 0x18 |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 748 | field public static final int SENSOR_TYPE_CAR_SPEED = 2; // 0x2 |
Jason Tholstrup | 9eae32f | 2016-05-10 14:39:05 -0700 | [diff] [blame] | 749 | field public static final int SENSOR_TYPE_DRIVING_STATUS = 11; // 0xb |
| 750 | field public static final int SENSOR_TYPE_ENVIRONMENT = 12; // 0xc |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 751 | field public static final int SENSOR_TYPE_FUEL_LEVEL = 5; // 0x5 |
| 752 | field public static final int SENSOR_TYPE_GEAR = 7; // 0x7 |
Pavel Maltsev | 1e5a88b | 2016-12-15 17:51:29 -0800 | [diff] [blame] | 753 | field public static final int SENSOR_TYPE_IGNITION_STATE = 22; // 0x16 |
Jason Tholstrup | 9eae32f | 2016-05-10 14:39:05 -0700 | [diff] [blame] | 754 | field public static final int SENSOR_TYPE_NIGHT = 9; // 0x9 |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 755 | field public static final int SENSOR_TYPE_ODOMETER = 4; // 0x4 |
| 756 | field public static final int SENSOR_TYPE_PARKING_BRAKE = 6; // 0x6 |
| 757 | field public static final int SENSOR_TYPE_RPM = 3; // 0x3 |
Steve Paik | 289ab99 | 2017-07-11 22:40:57 -0700 | [diff] [blame] | 758 | field public static final int SENSOR_TYPE_TRACTION_CONTROL_ACTIVE = 25; // 0x19 |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 759 | field public static final int SENSOR_TYPE_VENDOR_EXTENSION_END = 1879048191; // 0x6fffffff |
Steve Paik | 289ab99 | 2017-07-11 22:40:57 -0700 | [diff] [blame] | 760 | field public static final int SENSOR_TYPE_WHEEL_TICK_DISTANCE = 23; // 0x17 |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 761 | } |
| 762 | |
Jason Tholstrup | d72b535 | 2016-09-22 16:32:14 -0700 | [diff] [blame] | 763 | public static abstract interface CarSensorManager.OnSensorChangedListener { |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 764 | method public abstract void onSensorChanged(android.car.hardware.CarSensorEvent); |
| 765 | } |
| 766 | |
Keun-young Park | 4cf6911 | 2016-10-04 10:02:59 -0700 | [diff] [blame] | 767 | public final class CarVendorExtensionManager { |
Keun-young Park | 6089156 | 2016-09-28 11:16:02 -0700 | [diff] [blame] | 768 | method public <E> E getGlobalProperty(java.lang.Class<E>, int) throws android.car.CarNotConnectedException; |
Pavel Maltsev | 634e1ff | 2016-07-14 15:41:26 -0700 | [diff] [blame] | 769 | method public java.util.List<android.car.hardware.CarPropertyConfig> getProperties() throws android.car.CarNotConnectedException; |
Keun-young Park | 6089156 | 2016-09-28 11:16:02 -0700 | [diff] [blame] | 770 | method public <E> E getProperty(java.lang.Class<E>, int, int) throws android.car.CarNotConnectedException; |
Keun-young Park | af2cc99 | 2016-10-07 11:46:45 -0700 | [diff] [blame] | 771 | method public void registerCallback(android.car.hardware.CarVendorExtensionManager.CarVendorExtensionCallback) throws android.car.CarNotConnectedException; |
Keun-young Park | 6089156 | 2016-09-28 11:16:02 -0700 | [diff] [blame] | 772 | method public <E> void setGlobalProperty(java.lang.Class<E>, int, E) throws android.car.CarNotConnectedException; |
| 773 | method public <E> void setProperty(java.lang.Class<E>, int, int, E) throws android.car.CarNotConnectedException; |
Keun-young Park | 150d8de | 2016-10-07 15:48:11 -0700 | [diff] [blame] | 774 | method public void unregisterCallback(android.car.hardware.CarVendorExtensionManager.CarVendorExtensionCallback); |
Pavel Maltsev | 634e1ff | 2016-07-14 15:41:26 -0700 | [diff] [blame] | 775 | } |
| 776 | |
Keun-young Park | af2cc99 | 2016-10-07 11:46:45 -0700 | [diff] [blame] | 777 | public static abstract interface CarVendorExtensionManager.CarVendorExtensionCallback { |
Pavel Maltsev | 634e1ff | 2016-07-14 15:41:26 -0700 | [diff] [blame] | 778 | method public abstract void onChangeEvent(android.car.hardware.CarPropertyValue); |
| 779 | method public abstract void onErrorEvent(int, int); |
| 780 | } |
| 781 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 782 | } |
| 783 | |
Steve Paik | 43c04a7 | 2016-07-08 19:12:09 -0700 | [diff] [blame] | 784 | package android.car.hardware.cabin { |
| 785 | |
Keun-young Park | 4cf6911 | 2016-10-04 10:02:59 -0700 | [diff] [blame] | 786 | public final class CarCabinManager { |
Steve Paik | 43c04a7 | 2016-07-08 19:12:09 -0700 | [diff] [blame] | 787 | method public boolean getBooleanProperty(int, int) throws android.car.CarNotConnectedException; |
| 788 | method public float getFloatProperty(int, int) throws android.car.CarNotConnectedException; |
| 789 | method public int getIntProperty(int, int) throws android.car.CarNotConnectedException; |
| 790 | method public java.util.List<android.car.hardware.CarPropertyConfig> getPropertyList() throws android.car.CarNotConnectedException; |
| 791 | method public static boolean isZonedProperty(int); |
Keun-young Park | af2cc99 | 2016-10-07 11:46:45 -0700 | [diff] [blame] | 792 | method public synchronized void registerCallback(android.car.hardware.cabin.CarCabinManager.CarCabinEventCallback) throws android.car.CarNotConnectedException; |
Steve Paik | 43c04a7 | 2016-07-08 19:12:09 -0700 | [diff] [blame] | 793 | method public void setBooleanProperty(int, int, boolean) throws android.car.CarNotConnectedException; |
| 794 | method public void setFloatProperty(int, int, float) throws android.car.CarNotConnectedException; |
| 795 | method public void setIntProperty(int, int, int) throws android.car.CarNotConnectedException; |
Keun-young Park | 150d8de | 2016-10-07 15:48:11 -0700 | [diff] [blame] | 796 | method public synchronized void unregisterCallback(android.car.hardware.cabin.CarCabinManager.CarCabinEventCallback); |
Keun-young Park | af2cc99 | 2016-10-07 11:46:45 -0700 | [diff] [blame] | 797 | field public static final int ID_DOOR_LOCK = 3; // 0x3 |
| 798 | field public static final int ID_DOOR_MOVE = 2; // 0x2 |
| 799 | field public static final int ID_DOOR_POS = 1; // 0x1 |
| 800 | field public static final int ID_MIRROR_FOLD = 4102; // 0x1006 |
| 801 | field public static final int ID_MIRROR_LOCK = 4101; // 0x1005 |
| 802 | field public static final int ID_MIRROR_Y_MOVE = 4100; // 0x1004 |
| 803 | field public static final int ID_MIRROR_Y_POS = 4099; // 0x1003 |
| 804 | field public static final int ID_MIRROR_Z_MOVE = 4098; // 0x1002 |
| 805 | field public static final int ID_MIRROR_Z_POS = 4097; // 0x1001 |
| 806 | field public static final int ID_SEAT_BACKREST_ANGLE_1_MOVE = 8201; // 0x2009 |
| 807 | field public static final int ID_SEAT_BACKREST_ANGLE_1_POS = 8200; // 0x2008 |
| 808 | field public static final int ID_SEAT_BACKREST_ANGLE_2_MOVE = 8203; // 0x200b |
| 809 | field public static final int ID_SEAT_BACKREST_ANGLE_2_POS = 8202; // 0x200a |
| 810 | field public static final int ID_SEAT_BELT_BUCKLED = 8195; // 0x2003 |
| 811 | field public static final int ID_SEAT_BELT_HEIGHT_MOVE = 8197; // 0x2005 |
| 812 | field public static final int ID_SEAT_BELT_HEIGHT_POS = 8196; // 0x2004 |
| 813 | field public static final int ID_SEAT_DEPTH_MOVE = 8207; // 0x200f |
| 814 | field public static final int ID_SEAT_DEPTH_POS = 8206; // 0x200e |
| 815 | field public static final int ID_SEAT_FORE_AFT_MOVE = 8199; // 0x2007 |
| 816 | field public static final int ID_SEAT_FORE_AFT_POS = 8198; // 0x2006 |
| 817 | field public static final int ID_SEAT_HEADREST_ANGLE_MOVE = 8217; // 0x2019 |
| 818 | field public static final int ID_SEAT_HEADREST_ANGLE_POS = 8216; // 0x2018 |
| 819 | field public static final int ID_SEAT_HEADREST_FORE_AFT_MOVE = 8219; // 0x201b |
| 820 | field public static final int ID_SEAT_HEADREST_FORE_AFT_POS = 8218; // 0x201a |
| 821 | field public static final int ID_SEAT_HEADREST_HEIGHT_MOVE = 8215; // 0x2017 |
| 822 | field public static final int ID_SEAT_HEADREST_HEIGHT_POS = 8214; // 0x2016 |
| 823 | field public static final int ID_SEAT_HEIGHT_MOVE = 8205; // 0x200d |
| 824 | field public static final int ID_SEAT_HEIGHT_POS = 8204; // 0x200c |
| 825 | field public static final int ID_SEAT_LUMBAR_FORE_AFT_MOVE = 8211; // 0x2013 |
| 826 | field public static final int ID_SEAT_LUMBAR_FORE_AFT_POS = 8210; // 0x2012 |
| 827 | field public static final int ID_SEAT_LUMBAR_SIDE_SUPPORT_MOVE = 8213; // 0x2015 |
| 828 | field public static final int ID_SEAT_LUMBAR_SIDE_SUPPORT_POS = 8212; // 0x2014 |
| 829 | field public static final int ID_SEAT_MEMORY_SELECT = 8193; // 0x2001 |
| 830 | field public static final int ID_SEAT_MEMORY_SET = 8194; // 0x2002 |
| 831 | field public static final int ID_SEAT_TILT_MOVE = 8209; // 0x2011 |
| 832 | field public static final int ID_SEAT_TILT_POS = 8208; // 0x2010 |
| 833 | field public static final int ID_WINDOW_LOCK = 12293; // 0x3005 |
| 834 | field public static final int ID_WINDOW_MOVE = 12290; // 0x3002 |
| 835 | field public static final int ID_WINDOW_POS = 12289; // 0x3001 |
| 836 | field public static final int ID_WINDOW_VENT_MOVE = 12292; // 0x3004 |
| 837 | field public static final int ID_WINDOW_VENT_POS = 12291; // 0x3003 |
Steve Paik | 43c04a7 | 2016-07-08 19:12:09 -0700 | [diff] [blame] | 838 | } |
| 839 | |
Keun-young Park | af2cc99 | 2016-10-07 11:46:45 -0700 | [diff] [blame] | 840 | public static abstract interface CarCabinManager.CarCabinEventCallback { |
Steve Paik | 43c04a7 | 2016-07-08 19:12:09 -0700 | [diff] [blame] | 841 | method public abstract void onChangeEvent(android.car.hardware.CarPropertyValue); |
| 842 | method public abstract void onErrorEvent(int, int); |
| 843 | } |
| 844 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 845 | } |
| 846 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 847 | package android.car.hardware.hvac { |
| 848 | |
Keun-young Park | 4cf6911 | 2016-10-04 10:02:59 -0700 | [diff] [blame] | 849 | public final class CarHvacManager { |
Vitalii Tomkiv | 235f8ac | 2016-04-04 11:26:49 -0700 | [diff] [blame] | 850 | method public boolean getBooleanProperty(int, int) throws android.car.CarNotConnectedException; |
| 851 | method public float getFloatProperty(int, int) throws android.car.CarNotConnectedException; |
| 852 | method public int getIntProperty(int, int) throws android.car.CarNotConnectedException; |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 853 | 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] | 854 | method public static boolean isZonedProperty(int); |
Keun-young Park | af2cc99 | 2016-10-07 11:46:45 -0700 | [diff] [blame] | 855 | method public synchronized void registerCallback(android.car.hardware.hvac.CarHvacManager.CarHvacEventCallback) throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 235f8ac | 2016-04-04 11:26:49 -0700 | [diff] [blame] | 856 | method public void setBooleanProperty(int, int, boolean) throws android.car.CarNotConnectedException; |
| 857 | method public void setFloatProperty(int, int, float) throws android.car.CarNotConnectedException; |
| 858 | method public void setIntProperty(int, int, int) throws android.car.CarNotConnectedException; |
Keun-young Park | 150d8de | 2016-10-07 15:48:11 -0700 | [diff] [blame] | 859 | method public synchronized void unregisterCallback(android.car.hardware.hvac.CarHvacManager.CarHvacEventCallback); |
Pavel Maltsev | 5e9202e | 2017-01-10 14:34:22 -0800 | [diff] [blame] | 860 | field public static final int FAN_POSITION_DEFROST = 4; // 0x4 |
| 861 | field public static final int FAN_POSITION_DEFROST_AND_FLOOR = 5; // 0x5 |
| 862 | field public static final int FAN_POSITION_FACE = 1; // 0x1 |
| 863 | field public static final int FAN_POSITION_FACE_AND_FLOOR = 3; // 0x3 |
| 864 | field public static final int FAN_POSITION_FLOOR = 2; // 0x2 |
Keun-young Park | af2cc99 | 2016-10-07 11:46:45 -0700 | [diff] [blame] | 865 | field public static final int ID_MIRROR_DEFROSTER_ON = 1; // 0x1 |
| 866 | field public static final int ID_OUTSIDE_AIR_TEMP = 3; // 0x3 |
| 867 | field public static final int ID_STEERING_WHEEL_TEMP = 2; // 0x2 |
| 868 | field public static final int ID_TEMPERATURE_UNITS = 4; // 0x4 |
| 869 | field public static final int ID_WINDOW_DEFROSTER_ON = 20481; // 0x5001 |
| 870 | field public static final int ID_ZONED_AC_ON = 16393; // 0x4009 |
| 871 | field public static final int ID_ZONED_AIR_RECIRCULATION_ON = 16395; // 0x400b |
| 872 | field public static final int ID_ZONED_AUTOMATIC_MODE_ON = 16394; // 0x400a |
| 873 | field public static final int ID_ZONED_DUAL_ZONE_ON = 16397; // 0x400d |
| 874 | field public static final int ID_ZONED_FAN_POSITION = 16391; // 0x4007 |
| 875 | field public static final int ID_ZONED_FAN_POSITION_AVAILABLE = 16390; // 0x4006 |
| 876 | field public static final int ID_ZONED_FAN_SPEED_RPM = 16389; // 0x4005 |
| 877 | field public static final int ID_ZONED_FAN_SPEED_SETPOINT = 16388; // 0x4004 |
Steve Paik | 595fc67 | 2017-06-28 15:49:58 -0700 | [diff] [blame] | 878 | field public static final int ID_ZONED_HVAC_AUTO_RECIRC_ON = 16399; // 0x400f |
Keun-young Park | af2cc99 | 2016-10-07 11:46:45 -0700 | [diff] [blame] | 879 | field public static final int ID_ZONED_HVAC_POWER_ON = 16387; // 0x4003 |
| 880 | field public static final int ID_ZONED_MAX_AC_ON = 16396; // 0x400c |
| 881 | field public static final int ID_ZONED_MAX_DEFROST_ON = 16398; // 0x400e |
| 882 | field public static final int ID_ZONED_SEAT_TEMP = 16392; // 0x4008 |
| 883 | field public static final int ID_ZONED_TEMP_ACTUAL = 16386; // 0x4002 |
| 884 | field public static final int ID_ZONED_TEMP_SETPOINT = 16385; // 0x4001 |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 885 | } |
| 886 | |
Keun-young Park | af2cc99 | 2016-10-07 11:46:45 -0700 | [diff] [blame] | 887 | public static abstract interface CarHvacManager.CarHvacEventCallback { |
Steve Paik | fb5f623 | 2016-03-28 10:31:25 -0700 | [diff] [blame] | 888 | method public abstract void onChangeEvent(android.car.hardware.CarPropertyValue); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 889 | method public abstract void onErrorEvent(int, int); |
| 890 | } |
| 891 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 892 | } |
| 893 | |
| 894 | package android.car.hardware.radio { |
| 895 | |
| 896 | public class CarRadioEvent implements android.os.Parcelable { |
| 897 | ctor public CarRadioEvent(int, android.car.hardware.radio.CarRadioPreset); |
| 898 | method public int describeContents(); |
| 899 | method public int getEventType(); |
| 900 | method public android.car.hardware.radio.CarRadioPreset getPreset(); |
| 901 | method public void writeToParcel(android.os.Parcel, int); |
| 902 | field public static final android.os.Parcelable.Creator<android.car.hardware.radio.CarRadioEvent> CREATOR; |
| 903 | field public static final int RADIO_PRESET = 0; // 0x0 |
| 904 | } |
| 905 | |
Keun-young Park | 4cf6911 | 2016-10-04 10:02:59 -0700 | [diff] [blame] | 906 | public final class CarRadioManager { |
Vitalii Tomkiv | 235f8ac | 2016-04-04 11:26:49 -0700 | [diff] [blame] | 907 | method public android.car.hardware.radio.CarRadioPreset getPreset(int) throws android.car.CarNotConnectedException; |
Keun-young Park | 150d8de | 2016-10-07 15:48:11 -0700 | [diff] [blame] | 908 | method public int getPresetCount() throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 909 | 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] | 910 | method public boolean setPreset(android.car.hardware.radio.CarRadioPreset) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException; |
Keun-young Park | 150d8de | 2016-10-07 15:48:11 -0700 | [diff] [blame] | 911 | method public synchronized void unregisterListener(); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 912 | } |
| 913 | |
| 914 | public static abstract interface CarRadioManager.CarRadioEventListener { |
| 915 | method public abstract void onEvent(android.car.hardware.radio.CarRadioEvent); |
| 916 | } |
| 917 | |
| 918 | public class CarRadioPreset implements android.os.Parcelable { |
| 919 | ctor public CarRadioPreset(int, int, int, int); |
| 920 | method public int describeContents(); |
| 921 | method public int getBand(); |
| 922 | method public int getChannel(); |
| 923 | method public int getPresetNumber(); |
| 924 | method public int getSubChannel(); |
| 925 | method public void writeToParcel(android.os.Parcel, int); |
| 926 | field public static final android.os.Parcelable.Creator<android.car.hardware.radio.CarRadioPreset> CREATOR; |
| 927 | } |
| 928 | |
| 929 | } |
| 930 | |
Vitalii Tomkiv | 2bd0692 | 2016-07-26 11:07:48 -0700 | [diff] [blame] | 931 | package android.car.input { |
| 932 | |
| 933 | public abstract class CarInputHandlingService extends android.app.Service { |
| 934 | ctor protected CarInputHandlingService(android.car.input.CarInputHandlingService.InputFilter[]); |
| 935 | method public android.os.IBinder onBind(android.content.Intent); |
| 936 | method protected abstract void onKeyEvent(android.view.KeyEvent, int); |
| 937 | field public static final int INPUT_CALLBACK_BINDER_CODE = 1; // 0x1 |
| 938 | field public static final java.lang.String INPUT_CALLBACK_BINDER_KEY = "callback_binder"; |
| 939 | } |
| 940 | |
| 941 | public static class CarInputHandlingService.InputFilter implements android.os.Parcelable { |
| 942 | ctor public CarInputHandlingService.InputFilter(int, int); |
| 943 | method public int describeContents(); |
| 944 | method public void writeToParcel(android.os.Parcel, int); |
| 945 | field public static final android.os.Parcelable.Creator CREATOR; |
| 946 | field public final int mKeyCode; |
| 947 | field public final int mTargetDisplay; |
| 948 | } |
| 949 | |
| 950 | } |
| 951 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 952 | package android.car.media { |
| 953 | |
Keun-young Park | 4cf6911 | 2016-10-04 10:02:59 -0700 | [diff] [blame] | 954 | public final class CarAudioManager { |
Keun-young Park | 150d8de | 2016-10-07 15:48:11 -0700 | [diff] [blame] | 955 | method public void abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, android.media.AudioAttributes); |
| 956 | method public android.media.AudioAttributes getAudioAttributesForCarUsage(int) throws android.car.CarNotConnectedException; |
Yao Chen | c4d442f | 2016-04-08 11:33:47 -0700 | [diff] [blame] | 957 | method public int getStreamMaxVolume(int) throws android.car.CarNotConnectedException; |
| 958 | method public int getStreamMinVolume(int) throws android.car.CarNotConnectedException; |
| 959 | method public int getStreamVolume(int) throws android.car.CarNotConnectedException; |
Keun-young Park | 3cb8910 | 2016-05-05 13:16:03 -0700 | [diff] [blame] | 960 | method public boolean isMediaMuted() throws android.car.CarNotConnectedException; |
Keun-young Park | 150d8de | 2016-10-07 15:48:11 -0700 | [diff] [blame] | 961 | method public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, android.media.AudioAttributes, int, int) throws android.car.CarNotConnectedException, java.lang.IllegalArgumentException; |
Keun-young Park | 3cb8910 | 2016-05-05 13:16:03 -0700 | [diff] [blame] | 962 | method public boolean setMediaMute(boolean) throws android.car.CarNotConnectedException; |
Yao Chen | c4d442f | 2016-04-08 11:33:47 -0700 | [diff] [blame] | 963 | method public void setStreamVolume(int, int, int) throws android.car.CarNotConnectedException; |
| 964 | method public void setVolumeController(android.media.IVolumeController) throws android.car.CarNotConnectedException; |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 965 | field public static final int CAR_AUDIO_USAGE_ALARM = 6; // 0x6 |
| 966 | field public static final int CAR_AUDIO_USAGE_DEFAULT = 0; // 0x0 |
| 967 | field public static final int CAR_AUDIO_USAGE_MUSIC = 1; // 0x1 |
| 968 | field public static final int CAR_AUDIO_USAGE_NAVIGATION_GUIDANCE = 3; // 0x3 |
| 969 | field public static final int CAR_AUDIO_USAGE_NOTIFICATION = 7; // 0x7 |
| 970 | field public static final int CAR_AUDIO_USAGE_RADIO = 2; // 0x2 |
| 971 | field public static final int CAR_AUDIO_USAGE_SYSTEM_SAFETY_ALERT = 9; // 0x9 |
| 972 | field public static final int CAR_AUDIO_USAGE_SYSTEM_SOUND = 8; // 0x8 |
| 973 | field public static final int CAR_AUDIO_USAGE_VOICE_CALL = 4; // 0x4 |
| 974 | field public static final int CAR_AUDIO_USAGE_VOICE_COMMAND = 5; // 0x5 |
| 975 | } |
| 976 | |
| 977 | } |
| 978 | |
| 979 | package android.car.navigation { |
| 980 | |
| 981 | public class CarNavigationInstrumentCluster implements android.os.Parcelable { |
| 982 | ctor public CarNavigationInstrumentCluster(android.car.navigation.CarNavigationInstrumentCluster); |
| 983 | method public static android.car.navigation.CarNavigationInstrumentCluster createCluster(int); |
| 984 | method public static android.car.navigation.CarNavigationInstrumentCluster createCustomImageCluster(int, int, int, int); |
| 985 | method public int describeContents(); |
| 986 | method public int getImageColorDepthBits(); |
| 987 | method public int getImageHeight(); |
| 988 | method public int getImageWidth(); |
Keun-young Park | 3388e78 | 2016-10-05 16:28:32 -0700 | [diff] [blame] | 989 | method public int getMinIntervalMillis(); |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 990 | method public int getType(); |
| 991 | method public boolean supportsCustomImages(); |
| 992 | method public void writeToParcel(android.os.Parcel, int); |
Keun-young Park | 3388e78 | 2016-10-05 16:28:32 -0700 | [diff] [blame] | 993 | field public static final int CLUSTER_TYPE_CUSTOM_IMAGES_SUPPORTED = 1; // 0x1 |
| 994 | field public static final int CLUSTER_TYPE_IMAGE_CODES_ONLY = 2; // 0x2 |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 995 | field public static final android.os.Parcelable.Creator<android.car.navigation.CarNavigationInstrumentCluster> CREATOR; |
| 996 | } |
| 997 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 998 | } |
| 999 | |
Yao Chen | 94d4766 | 2016-07-28 14:03:28 -0700 | [diff] [blame] | 1000 | package android.car.settings { |
| 1001 | |
| 1002 | public class CarSettings { |
| 1003 | ctor public CarSettings(); |
| 1004 | } |
| 1005 | |
| 1006 | public static final class CarSettings.Global { |
| 1007 | ctor public CarSettings.Global(); |
| 1008 | field public static final java.lang.String KEY_GARAGE_MODE_ENABLED = "android.car.GARAGE_MODE_ENABLED"; |
| 1009 | field public static final java.lang.String KEY_GARAGE_MODE_MAINTENANCE_WINDOW = "android.car.GARAGE_MODE_MAINTENANCE_WINDOW"; |
| 1010 | field public static final java.lang.String KEY_GARAGE_MODE_WAKE_UP_TIME = "android.car.GARAGE_MODE_WAKE_UP_TIME"; |
| 1011 | } |
| 1012 | |
| 1013 | } |
| 1014 | |
Vitalii Tomkiv | 280b572 | 2016-03-17 16:17:21 -0700 | [diff] [blame] | 1015 | package android.car.test { |
| 1016 | |
| 1017 | public class CarTestManagerBinderWrapper { |
| 1018 | ctor public CarTestManagerBinderWrapper(android.os.IBinder); |
| 1019 | method public void onCarDisconnected(); |
| 1020 | field public final android.os.IBinder binder; |
| 1021 | } |
| 1022 | |
| 1023 | } |
| 1024 | |