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