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