1// Signature format: 2.0
2package android.car.builtin {
3
4  public final class CarBuiltin {
5    field public static final int PLATFORM_VERSION_MINOR_INT;
6  }
7
8  public final class PermissionHelper {
9    field public static final String MONITOR_INPUT = "android.permission.MONITOR_INPUT";
10  }
11
12}
13
14package android.car.builtin.annotation {
15
16  public enum PlatformVersion {
17    enum_constant public static final android.car.builtin.annotation.PlatformVersion TIRAMISU_0;
18    enum_constant public static final android.car.builtin.annotation.PlatformVersion TIRAMISU_1;
19    enum_constant public static final android.car.builtin.annotation.PlatformVersion TIRAMISU_2;
20    enum_constant public static final android.car.builtin.annotation.PlatformVersion TIRAMISU_3;
21    enum_constant public static final android.car.builtin.annotation.PlatformVersion UPSIDE_DOWN_CAKE_0;
22    enum_constant public static final android.car.builtin.annotation.PlatformVersion UPSIDE_DOWN_CAKE_1;
23    enum_constant public static final android.car.builtin.annotation.PlatformVersion VANILLA_ICE_CREAM_0;
24  }
25
26}
27
28package android.car.builtin.app {
29
30  public final class ActivityManagerHelper {
31    method public static int checkComponentPermission(@NonNull String, int, int, boolean);
32    method @NonNull public static android.app.ActivityOptions createActivityOptions(@NonNull android.os.Bundle);
33    method public static android.os.IBinder getActivityToken(android.app.Activity);
34    method public static int getFlagsForRunningAppProcessInfo(@NonNull android.app.ActivityManager.RunningAppProcessInfo);
35    method public static java.util.List<android.app.ActivityManager.RunningAppProcessInfo> getRunningAppProcesses();
36    method public static java.util.List<android.app.ActivityManager.RunningTaskInfo> getTasks(int, boolean, boolean, int);
37    method public static boolean isVisible(android.app.Activity);
38    method public static void killAllBackgroundProcesses();
39    method public static void killUid(int, int, String);
40    method @RequiresPermission(android.Manifest.permission.INTERNAL_SYSTEM_WINDOW) public static void moveRootTaskToDisplay(int, int);
41    method public static void registerProcessObserverCallback(android.car.builtin.app.ActivityManagerHelper.ProcessObserverCallback);
42    method public static boolean removeTask(int);
43    method public static void setFocusedTask(int);
44    method public static boolean startUserInBackground(int);
45    method public static boolean startUserInBackgroundVisibleOnDisplay(int, int);
46    method public static boolean startUserInForeground(int);
47    method public static void stopAllTasksForUser(int);
48    method public static int stopUser(int, boolean);
49    method public static int stopUserWithDelayedLocking(int, boolean);
50    method public static boolean unlockUser(int);
51    method public static void unregisterProcessObserverCallback(android.car.builtin.app.ActivityManagerHelper.ProcessObserverCallback);
52    field public static final int INVALID_TASK_ID = -1; // 0xffffffff
53    field public static final int PROCESS_INFO_PERSISTENT_FLAG = 2; // 0x2
54  }
55
56  public abstract static class ActivityManagerHelper.ProcessObserverCallback {
57    ctor public ActivityManagerHelper.ProcessObserverCallback();
58    method public void onForegroundActivitiesChanged(int, int, boolean);
59    method public void onProcessDied(int, int);
60  }
61
62  public final class AppOpsManagerHelper {
63    method public static void setTurnScreenOnAllowed(android.content.Context, int, String, boolean);
64  }
65
66  public final class KeyguardManagerHelper {
67    method public static boolean isKeyguardLocked();
68  }
69
70  public class TaskInfoHelper {
71    method @NonNull public static android.graphics.Rect getBounds(@NonNull android.app.TaskInfo);
72    method public static int getDisplayId(@NonNull android.app.TaskInfo);
73    method public static android.os.IBinder getToken(@NonNull android.app.TaskInfo);
74    method public static int getUserId(@NonNull android.app.TaskInfo);
75    method public static boolean isVisible(@NonNull android.app.TaskInfo);
76    method public static String toString(@Nullable android.app.TaskInfo);
77  }
78
79  public final class VoiceInteractionHelper {
80    method public static boolean isAvailable();
81    method public static void setEnabled(boolean) throws android.os.RemoteException;
82  }
83
84}
85
86package android.car.builtin.bluetooth {
87
88  @Deprecated public final class BluetoothHeadsetClientHelper {
89    method @Deprecated public static java.util.List<android.bluetooth.BluetoothDevice> getConnectedBvraDevices(@NonNull android.bluetooth.BluetoothHeadsetClient);
90    method @Deprecated public static boolean startVoiceRecognition(@NonNull android.bluetooth.BluetoothHeadsetClient, android.bluetooth.BluetoothDevice);
91    method @Deprecated public static boolean stopVoiceRecognition(@NonNull android.bluetooth.BluetoothHeadsetClient, android.bluetooth.BluetoothDevice);
92  }
93
94}
95
96package android.car.builtin.bluetooth.le {
97
98  public final class AdvertisingSetCallbackHelper {
99    method public static android.bluetooth.le.AdvertisingSetCallback createRealCallbackFromProxy(@NonNull android.car.builtin.bluetooth.le.AdvertisingSetCallbackHelper.Callback);
100  }
101
102  public abstract static class AdvertisingSetCallbackHelper.Callback {
103    ctor public AdvertisingSetCallbackHelper.Callback();
104    method public void onAdvertisingDataSet(android.bluetooth.le.AdvertisingSet, int);
105    method public void onAdvertisingEnabled(android.bluetooth.le.AdvertisingSet, boolean, int);
106    method public void onAdvertisingParametersUpdated(android.bluetooth.le.AdvertisingSet, int, int);
107    method public void onAdvertisingSetStarted(android.bluetooth.le.AdvertisingSet, int, int);
108    method public void onAdvertisingSetStopped(android.bluetooth.le.AdvertisingSet);
109    method public void onOwnAddressRead(android.bluetooth.le.AdvertisingSet, int, String);
110    method public void onPeriodicAdvertisingDataSet(android.bluetooth.le.AdvertisingSet, int);
111    method public void onPeriodicAdvertisingEnabled(android.bluetooth.le.AdvertisingSet, boolean, int);
112    method public void onPeriodicAdvertisingParametersUpdated(android.bluetooth.le.AdvertisingSet, int);
113    method public void onScanResponseDataSet(android.bluetooth.le.AdvertisingSet, int);
114  }
115
116  public final class AdvertisingSetHelper {
117    method @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_ADVERTISE, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public static void getOwnAddress(@NonNull android.bluetooth.le.AdvertisingSet);
118  }
119
120}
121
122package android.car.builtin.content {
123
124  public final class ContextHelper {
125    method public static int getAssociatedDisplayId(@NonNull android.content.Context);
126    method public static int getDisplayId(@NonNull android.content.Context);
127    method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public static void startActivityAsUser(@NonNull android.content.Context, @NonNull android.content.Intent, @Nullable android.os.Bundle, @NonNull android.os.UserHandle);
128  }
129
130}
131
132package android.car.builtin.content.pm {
133
134  public final class PackageManagerHelper {
135    method public static void forceStopPackageAsUser(@NonNull android.content.Context, @NonNull String, int);
136    method public static void forceStopPackageAsUserEvenWhenStopping(@NonNull android.content.Context, @NonNull String, int);
137    method public static int getApplicationEnabledSettingForUser(@NonNull String, int) throws android.os.RemoteException;
138    method public static android.content.ComponentName getComponentName(android.content.pm.ComponentInfo);
139    method @Nullable public static String[] getNamesForUids(@NonNull android.content.pm.PackageManager, int[]);
140    method public static android.content.pm.PackageInfo getPackageInfoAsUser(@NonNull android.content.pm.PackageManager, @NonNull String, int, int) throws android.content.pm.PackageManager.NameNotFoundException;
141    method public static int getPackageUidAsUser(@NonNull android.content.pm.PackageManager, @NonNull String, int) throws android.content.pm.PackageManager.NameNotFoundException;
142    method @NonNull public static String getSystemUiPackageName(@NonNull android.content.Context);
143    method @NonNull public static android.content.ComponentName getSystemUiServiceComponent(@NonNull android.content.Context);
144    method public static boolean isOdmApp(@NonNull android.content.pm.ApplicationInfo);
145    method public static boolean isOemApp(@NonNull android.content.pm.ApplicationInfo);
146    method public static boolean isProductApp(@NonNull android.content.pm.ApplicationInfo);
147    method public static boolean isSystemApp(@NonNull android.content.pm.ApplicationInfo);
148    method public static boolean isSystemExtApp(@NonNull android.content.pm.ApplicationInfo);
149    method public static boolean isUpdatedSystemApp(@NonNull android.content.pm.ApplicationInfo);
150    method public static boolean isVendorApp(@NonNull android.content.pm.ApplicationInfo);
151    method public static void setApplicationEnabledSettingForUser(@NonNull String, int, int, int, @NonNull String) throws android.os.RemoteException;
152    field public static final String PROPERTY_CAR_SERVICE_OVERLAY_PACKAGES = "ro.android.car.carservice.overlay.packages";
153    field public static final String PROPERTY_CAR_SERVICE_PACKAGE_NAME = "ro.android.car.carservice.package";
154  }
155
156}
157
158package android.car.builtin.display {
159
160  public final class DisplayManagerHelper {
161    method public static float getBrightness(android.content.Context, int);
162    method @Nullable public static String getUniqueId(@NonNull android.view.Display);
163    method public static void registerDisplayListener(android.content.Context, android.hardware.display.DisplayManager.DisplayListener, android.os.Handler, long);
164    method public static void setBrightness(android.content.Context, int, @FloatRange(from=0.0f, to=1.0f) float);
165    field public static final long EVENT_FLAG_DISPLAY_ADDED = 1L; // 0x1L
166    field public static final long EVENT_FLAG_DISPLAY_BRIGHTNESS = 8L; // 0x8L
167    field public static final long EVENT_FLAG_DISPLAY_CHANGED = 4L; // 0x4L
168    field public static final long EVENT_FLAG_DISPLAY_REMOVED = 2L; // 0x2L
169  }
170
171}
172
173package android.car.builtin.input {
174
175  public class InputManagerHelper {
176    method public static void addUniqueIdAssociationByDescriptor(@NonNull android.hardware.input.InputManager, @NonNull String, @NonNull String);
177    method public static boolean injectInputEvent(@NonNull android.hardware.input.InputManager, @NonNull android.view.InputEvent);
178    method public static void pilferPointers(@NonNull android.hardware.input.InputManager, @NonNull android.view.View);
179    method public static void removeUniqueIdAssociationByDescriptor(@NonNull android.hardware.input.InputManager, @NonNull String);
180  }
181
182}
183
184package android.car.builtin.job {
185
186  public final class JobSchedulerHelper {
187    method public static java.util.List<android.app.job.JobInfo> getPendingJobs(android.content.Context);
188    method public static java.util.List<android.app.job.JobInfo> getRunningJobsAtIdle(android.content.Context);
189  }
190
191}
192
193package android.car.builtin.keyguard {
194
195  public final class KeyguardServiceDelegate {
196    ctor public KeyguardServiceDelegate();
197    method public void bindService(android.content.Context, android.os.UserHandle, int[]);
198    method public void dump(java.io.PrintWriter);
199    method public boolean isShowing();
200    method public void notifyDisplayOff();
201    method public void notifyDisplayOn();
202    method public void registerKeyguardLockedStateCallback(@NonNull android.car.builtin.keyguard.KeyguardServiceDelegate.KeyguardLockedStateCallback);
203    method public void stop(android.content.Context);
204    method public void unregisterKeyguardLockedStateCallback();
205  }
206
207  public static interface KeyguardServiceDelegate.KeyguardLockedStateCallback {
208    method public void onKeyguardLockedStateChanged(boolean);
209  }
210
211}
212
213package android.car.builtin.media {
214
215  public final class AudioManagerHelper {
216    method public static void addTagToAudioAttributes(@NonNull android.media.AudioAttributes.Builder, @NonNull String);
217    method public static String adjustToString(int);
218    method public static void adjustVolumeGroupVolume(@NonNull android.media.AudioManager, int, int, int);
219    method public static android.car.builtin.media.AudioManagerHelper.AudioPatchInfo createAudioPatch(@NonNull android.media.AudioDeviceInfo, @NonNull android.media.AudioDeviceInfo, int);
220    method public static android.car.builtin.media.AudioManagerHelper.AudioGainInfo getAudioGainInfo(@NonNull android.media.AudioDeviceInfo);
221    method public static String getFormattedTags(@NonNull android.media.AudioAttributes);
222    method public static int getLastAudibleVolumeGroupVolume(@NonNull android.media.AudioManager, int);
223    method public static java.util.Set<java.lang.String> getTags(@NonNull android.media.AudioAttributes);
224    method public static int getUsageVirtualSource();
225    method public static int getVolumeGroupIdForAudioAttributes(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull android.media.AudioAttributes);
226    method public static boolean isCallFocusRequestClientId(String);
227    method public static boolean isMasterMute(@NonNull android.media.AudioManager);
228    method public static boolean isVolumeGroupMuted(@NonNull android.media.AudioManager, int);
229    method public static void registerVolumeAndMuteReceiver(android.content.Context, android.car.builtin.media.AudioManagerHelper.VolumeAndMuteReceiver);
230    method public static boolean releaseAudioPatch(@NonNull android.media.AudioManager, @NonNull android.car.builtin.media.AudioManagerHelper.AudioPatchInfo);
231    method public static boolean setAudioDeviceGain(@NonNull android.media.AudioManager, @NonNull String, int, boolean);
232    method public static void setMasterMute(@NonNull android.media.AudioManager, boolean, int);
233    method public static void unregisterVolumeAndMuteReceiver(android.content.Context, android.car.builtin.media.AudioManagerHelper.VolumeAndMuteReceiver);
234    method public static String usageToString(int);
235    method public static String usageToXsdString(int);
236    method public static int xsdStringToContentType(String);
237    method public static int xsdStringToUsage(String);
238    field public static final String AUDIO_ATTRIBUTE_TAG_SEPARATOR = ";";
239    field public static final int UNDEFINED_STREAM_TYPE = -1; // 0xffffffff
240  }
241
242  public static class AudioManagerHelper.AudioGainInfo {
243    method public int getDefaultGain();
244    method public int getMaxGain();
245    method public int getMinGain();
246    method public int getStepValue();
247  }
248
249  public static class AudioManagerHelper.AudioPatchInfo {
250    ctor public AudioManagerHelper.AudioPatchInfo(@NonNull String, @NonNull String, int);
251    method public int getHandleId();
252    method public String getSinkAddress();
253    method public String getSourceAddress();
254  }
255
256  public abstract static class AudioManagerHelper.VolumeAndMuteReceiver {
257    ctor public AudioManagerHelper.VolumeAndMuteReceiver();
258    method public abstract void onMuteChanged();
259    method public abstract void onVolumeChanged(int);
260  }
261
262}
263
264package android.car.builtin.os {
265
266  public final class BinderHelper {
267    method public static void dumpRemoteCallbackList(@NonNull android.os.RemoteCallbackList<?>, @NonNull java.io.PrintWriter);
268    method public static boolean onTransactForCmd(int, @NonNull android.os.Parcel, @Nullable android.os.Parcel, int, @NonNull android.car.builtin.os.BinderHelper.ShellCommandListener) throws android.os.RemoteException;
269  }
270
271  public static interface BinderHelper.ShellCommandListener {
272    method public int onShellCommand(@NonNull java.io.FileDescriptor, @NonNull java.io.FileDescriptor, @NonNull java.io.FileDescriptor, @NonNull String[]);
273  }
274
275  public final class BuildHelper {
276    method public static boolean isDebuggableBuild();
277    method public static boolean isEngBuild();
278    method public static boolean isUserBuild();
279    method public static boolean isUserDebugBuild();
280  }
281
282  public final class HandlerHelper {
283    method public static void removeEqualMessages(android.os.Handler, int, @Nullable Object);
284  }
285
286  public final class ParcelHelper {
287    method @Nullable public static android.util.ArraySet<?> readArraySet(@NonNull android.os.Parcel, @Nullable ClassLoader);
288    method @Nullable public static byte[] readBlob(@NonNull android.os.Parcel);
289    method @Nullable public static String[] readStringArray(@NonNull android.os.Parcel);
290    method public static void writeArraySet(@NonNull android.os.Parcel, @Nullable android.util.ArraySet<?>);
291    method public static void writeBlob(@NonNull android.os.Parcel, @Nullable byte[]);
292  }
293
294  public final class ProcessHelper {
295    field public static final int THREAD_GROUP_DEFAULT = -1; // 0xffffffff
296    field public static final int THREAD_GROUP_FOREGROUND = 1; // 0x1
297    field public static final int THREAD_GROUP_TOP_APP = 5; // 0x5
298  }
299
300  public final class ServiceManagerHelper {
301    method public static void addService(@NonNull String, @NonNull android.os.IBinder);
302    method @Nullable public static android.os.IBinder checkService(@NonNull String);
303    method @Nullable public static String[] getDeclaredInstances(@NonNull String);
304    method @Nullable public static android.os.IBinder getService(@NonNull String);
305    method @Nullable public static android.os.IBinder waitForDeclaredService(@NonNull String);
306  }
307
308  public final class SharedMemoryHelper {
309    method @NonNull public static android.os.ParcelFileDescriptor createParcelFileDescriptor(@NonNull android.os.SharedMemory) throws java.io.IOException;
310  }
311
312  public final class SystemPropertiesHelper {
313    method public static void set(@NonNull String, @Nullable String);
314  }
315
316  public final class TraceHelper {
317    field public static final long TRACE_TAG_CAR_EVS_SERVICE = 1024L; // 0x400L
318    field public static final long TRACE_TAG_CAR_SERVICE = 524288L; // 0x80000L
319  }
320
321  public final class UserManagerHelper {
322    method @NonNull public static String getDefaultUserName(@NonNull android.content.Context);
323    method public static String getDefaultUserTypeForUserInfoFlags(int);
324    method public static int getMainDisplayIdAssignedToUser(@NonNull android.os.UserManager);
325    method public static int getMaxRunningUsers(@NonNull android.content.Context);
326    method public static int getMaxSupportedUsers(@NonNull android.content.Context);
327    method @NonNull public static java.util.List<android.os.UserHandle> getUserHandles(@NonNull android.os.UserManager, boolean);
328    method @Deprecated @NonNull public static java.util.List<android.os.UserHandle> getUserHandles(@NonNull android.os.UserManager, boolean, boolean, boolean);
329    method public static int getUserId(int);
330    method public static boolean isEnabledUser(@NonNull android.os.UserManager, @NonNull android.os.UserHandle);
331    method public static boolean isEphemeralUser(@NonNull android.os.UserManager, @NonNull android.os.UserHandle);
332    method public static boolean isFullUser(@NonNull android.os.UserManager, @NonNull android.os.UserHandle);
333    method public static boolean isGuestUser(@NonNull android.os.UserManager, @NonNull android.os.UserHandle);
334    method public static boolean isInitializedUser(@NonNull android.os.UserManager, @NonNull android.os.UserHandle);
335    method public static boolean isVisibleBackgroundUsersOnDefaultDisplaySupported(@NonNull android.os.UserManager);
336    method public static boolean isVisibleBackgroundUsersSupported(@NonNull android.os.UserManager);
337    method public static boolean markGuestForDeletion(@NonNull android.os.UserManager, @NonNull android.os.UserHandle);
338    field public static final int FLAG_ADMIN = 2; // 0x2
339    field public static final int FLAG_DEMO = 512; // 0x200
340    field public static final int FLAG_DISABLED = 64; // 0x40
341    field public static final int FLAG_EPHEMERAL = 256; // 0x100
342    field public static final int FLAG_FULL = 1024; // 0x400
343    field public static final int FLAG_GUEST = 4; // 0x4
344    field public static final int FLAG_INITIALIZED = 16; // 0x10
345    field public static final int FLAG_MANAGED_PROFILE = 32; // 0x20
346    field public static final int FLAG_PRIMARY = 1; // 0x1
347    field public static final int FLAG_PROFILE = 4096; // 0x1000
348    field public static final int FLAG_QUIET_MODE = 128; // 0x80
349    field public static final int FLAG_RESTRICTED = 8; // 0x8
350    field public static final int FLAG_SYSTEM = 2048; // 0x800
351    field public static final int USER_ALL = -1; // 0xffffffff
352    field public static final int USER_NULL = -10000; // 0xffffd8f0
353    field public static final int USER_SYSTEM = 0; // 0x0
354  }
355
356}
357
358package android.car.builtin.power {
359
360  public final class PowerManagerHelper {
361    method public static int getMaximumScreenBrightnessSetting(android.content.Context);
362    method public static int getMinimumScreenBrightnessSetting(android.content.Context);
363    method public static void goToSleep(android.content.Context, int, long);
364    method public static android.os.PowerManager.WakeLock newWakeLock(android.content.Context, int, String, int);
365    method public static void setDisplayState(android.content.Context, boolean, long);
366    method public static void shutdown(android.content.Context, boolean, String, boolean);
367    field public static final int BRIGHTNESS_DEFAULT = -1; // 0xffffffff
368    field public static final int BRIGHTNESS_INVALID = -1; // 0xffffffff
369    field public static final float BRIGHTNESS_INVALID_FLOAT;
370    field public static final float BRIGHTNESS_MAX = 1.0f;
371    field public static final float BRIGHTNESS_MIN = 0.0f;
372    field public static final int BRIGHTNESS_OFF = 0; // 0x0
373    field public static final float BRIGHTNESS_OFF_FLOAT = -1.0f;
374    field public static final int BRIGHTNESS_ON = 255; // 0xff
375  }
376
377}
378
379package android.car.builtin.provider {
380
381  public final class SettingsHelper {
382    field public static final String SYSTEM_LOCALES = "system_locales";
383  }
384
385}
386
387package android.car.builtin.util {
388
389  public final class AssistUtilsHelper {
390    method public static void hideCurrentSession(@NonNull android.content.Context);
391    method public static boolean isSessionRunning(@NonNull android.content.Context);
392    method public static void registerVoiceInteractionSessionListenerHelper(@NonNull android.content.Context, @NonNull android.car.builtin.util.AssistUtilsHelper.VoiceInteractionSessionListenerHelper);
393    method public static boolean showPushToTalkSessionForActiveService(@NonNull android.content.Context, @NonNull android.car.builtin.util.AssistUtilsHelper.VoiceInteractionSessionShowCallbackHelper);
394  }
395
396  public static interface AssistUtilsHelper.VoiceInteractionSessionListenerHelper {
397    method public void onVoiceSessionHidden();
398    method public void onVoiceSessionShown();
399  }
400
401  public static interface AssistUtilsHelper.VoiceInteractionSessionShowCallbackHelper {
402    method public void onFailed();
403    method public void onShown();
404  }
405
406  public final class AtomicFileHelper {
407    method public static boolean exists(android.util.AtomicFile);
408  }
409
410  public final class EventLogHelper {
411    method public static void writeCarDevicePolicyManagerCreateUserReq(int, @Nullable String, int);
412    method public static void writeCarDevicePolicyManagerCreateUserResp(int, int);
413    method public static void writeCarDevicePolicyManagerRemoveUserReq(int, int);
414    method public static void writeCarDevicePolicyManagerRemoveUserResp(int, int);
415    method public static void writeCarDevicePolicyManagerStartUserInBackgroundReq(int, int);
416    method public static void writeCarDevicePolicyManagerStartUserInBackgroundResp(int, int);
417    method public static void writeCarDevicePolicyManagerStopUserReq(int, int);
418    method public static void writeCarDevicePolicyManagerStopUserResp(int, int);
419    method public static void writeCarHelperBootPhase(int);
420    method public static void writeCarHelperServiceConnected();
421    method public static void writeCarHelperStart();
422    method public static void writeCarHelperUserStarting(int);
423    method public static void writeCarHelperUserStopped(int);
424    method public static void writeCarHelperUserStopping(int);
425    method public static void writeCarHelperUserSwitching(int, int);
426    method public static void writeCarHelperUserUnlocked(int);
427    method public static void writeCarHelperUserUnlocking(int);
428    method public static void writeCarInitialUserFallbackDefaultBehavior(@Nullable String);
429    method public static void writeCarInitialUserInfo(int, boolean, int, @Nullable String, int, boolean, @Nullable String);
430    method public static void writeCarInitialUserReplaceGuest(int);
431    method public static void writeCarInitialUserResetGlobalProperty(@Nullable String);
432    method public static void writeCarInitialUserSetLastActive(int);
433    method public static void writeCarInitialUserStartFgUser(int);
434    method public static void writeCarInitialUserUnlockSystemUser();
435    method public static void writeCarPowerManagerStateChange(int);
436    method public static void writeCarPowerManagerStateRequest(int, int);
437    method public static void writeCarServiceConnected(@Nullable String);
438    method public static void writeCarServiceCreate(boolean);
439    method public static void writeCarServiceDestroy(boolean);
440    method public static void writeCarServiceInit(int);
441    method public static void writeCarServiceInitBootUser();
442    method public static void writeCarServiceOnUserLifecycle(int, int, int);
443    method public static void writeCarServiceOnUserRemoved(int);
444    method public static void writeCarServiceSetCarServiceHelper(int);
445    method public static void writeCarServiceVhalDied(long);
446    method public static void writeCarServiceVhalReconnected(int);
447    method public static void writeCarUserHalCreateUserReq(int, @Nullable String, int, int);
448    method public static void writeCarUserHalCreateUserResp(int, int, int, @Nullable String);
449    method public static void writeCarUserHalGetUserAuthReq(@Nullable Object[]);
450    method public static void writeCarUserHalGetUserAuthResp(@Nullable Object[]);
451    method public static void writeCarUserHalInitialUserInfoReq(int, int, int);
452    method public static void writeCarUserHalInitialUserInfoResp(int, int, int, int, int, @Nullable String, @Nullable String);
453    method public static void writeCarUserHalLegacySwitchUserReq(int, int, int);
454    method public static void writeCarUserHalOemSwitchUserReq(int, int);
455    method public static void writeCarUserHalPostSwitchUserReq(int, int, int);
456    method public static void writeCarUserHalRemoveUserReq(int, int);
457    method public static void writeCarUserHalSetUserAuthReq(@Nullable Object[]);
458    method public static void writeCarUserHalSetUserAuthResp(@Nullable Object[]);
459    method public static void writeCarUserHalSwitchUserReq(int, int, int, int);
460    method public static void writeCarUserHalSwitchUserResp(int, int, int, @Nullable String);
461    method public static void writeCarUserManagerAddListener(int, @Nullable String, boolean);
462    method public static void writeCarUserManagerCreateUserReq(int, @Nullable String, @Nullable String, int);
463    method public static void writeCarUserManagerCreateUserResp(int, int, @Nullable String);
464    method public static void writeCarUserManagerDisconnected(int);
465    method public static void writeCarUserManagerGetUserAuthReq(@Nullable Object[]);
466    method public static void writeCarUserManagerGetUserAuthResp(@Nullable Object[]);
467    method public static void writeCarUserManagerLogoutUserReq(int);
468    method public static void writeCarUserManagerLogoutUserResp(int, int, @Nullable String);
469    method public static void writeCarUserManagerNotifyLifecycleListener(int, int, int, int);
470    method public static void writeCarUserManagerPreCreateUserReq(int);
471    method public static void writeCarUserManagerRemoveListener(int, @Nullable String);
472    method public static void writeCarUserManagerRemoveUserReq(int, int);
473    method public static void writeCarUserManagerRemoveUserResp(int, int);
474    method public static void writeCarUserManagerSetUserAuthReq(@Nullable Object[]);
475    method public static void writeCarUserManagerSetUserAuthResp(@Nullable Object[]);
476    method public static void writeCarUserManagerStartUserReq(int, int, int);
477    method public static void writeCarUserManagerStartUserResp(int, int, int, int);
478    method public static void writeCarUserManagerStopUserReq(int, int);
479    method public static void writeCarUserManagerStopUserResp(int, int, int);
480    method public static void writeCarUserManagerSwitchUserReq(int, int);
481    method public static void writeCarUserManagerSwitchUserResp(int, int, @Nullable String);
482    method public static void writeCarUserServiceCreateUserReq(@Nullable String, @Nullable String, int, int, int);
483    method public static void writeCarUserServiceCreateUserResp(int, int, @Nullable String);
484    method public static void writeCarUserServiceCreateUserUserCreated(int, @Nullable String, @Nullable String, int);
485    method public static void writeCarUserServiceCreateUserUserRemoved(int, @Nullable String);
486    method public static void writeCarUserServiceGetUserAuthReq(int, int, int);
487    method public static void writeCarUserServiceGetUserAuthResp(int);
488    method public static void writeCarUserServiceInitialUserInfoReq(int, int, int, int, int);
489    method public static void writeCarUserServiceInitialUserInfoReqComplete(int);
490    method public static void writeCarUserServiceInitialUserInfoResp(int, int, int, int, @Nullable String, @Nullable String);
491    method public static void writeCarUserServiceLogoutUserReq(int, int);
492    method public static void writeCarUserServiceLogoutUserResp(int, int, @Nullable String);
493    method public static void writeCarUserServiceNotifyAppLifecycleListener(int, @Nullable String, int, int, int);
494    method public static void writeCarUserServiceNotifyInternalLifecycleListener(@Nullable String, int, int, int);
495    method public static void writeCarUserServicePostSwitchUserReq(int, int);
496    method public static void writeCarUserServicePreCreationRequested(int, int);
497    method public static void writeCarUserServicePreCreationStatus(int, int, int, int, int, int, int);
498    method public static void writeCarUserServiceRemoveUserReq(int, int);
499    method public static void writeCarUserServiceRemoveUserResp(int, int);
500    method public static void writeCarUserServiceResetLifecycleListener(int, @Nullable String);
501    method public static void writeCarUserServiceSetInitialUser(int);
502    method public static void writeCarUserServiceSetLifecycleListener(int, @Nullable String);
503    method public static void writeCarUserServiceSetUserAuthReq(int, int, int);
504    method public static void writeCarUserServiceSetUserAuthResp(int, @Nullable String);
505    method public static void writeCarUserServiceStartUserInBackgroundReq(int);
506    method public static void writeCarUserServiceStartUserInBackgroundResp(int, int);
507    method public static void writeCarUserServiceStartUserVisibleOnDisplayReq(int, int);
508    method public static void writeCarUserServiceStartUserVisibleOnDisplayResp(int, int, int);
509    method public static void writeCarUserServiceStopUserReq(int);
510    method public static void writeCarUserServiceStopUserResp(int, int);
511    method public static void writeCarUserServiceSwitchUserFromHalReq(int, int);
512    method public static void writeCarUserServiceSwitchUserReq(int, int);
513    method public static void writeCarUserServiceSwitchUserResp(int, int, @Nullable String);
514    method public static void writeCarUserServiceSwitchUserUiReq(int);
515    method public static void writeGarageModeEvent(int);
516    method public static void writePowerPolicyChange(String);
517  }
518
519  public final class Slogf {
520    method public static int d(@NonNull String, @NonNull String);
521    method public static int d(@NonNull String, @NonNull String, @NonNull Throwable);
522    method public static void d(@NonNull String, @NonNull String, @Nullable java.lang.Object...);
523    method public static int e(@NonNull String, @NonNull String);
524    method public static int e(@NonNull String, @NonNull String, @NonNull Throwable);
525    method public static void e(@NonNull String, @NonNull String, @Nullable java.lang.Object...);
526    method public static void e(@NonNull String, @NonNull Exception, @NonNull String, @Nullable java.lang.Object...);
527    method public static int i(@NonNull String, @NonNull String);
528    method public static int i(@NonNull String, @NonNull String, @NonNull Throwable);
529    method public static void i(@NonNull String, @NonNull String, @Nullable java.lang.Object...);
530    method public static boolean isLoggable(@NonNull String, int);
531    method public static int v(@NonNull String, @NonNull String);
532    method public static int v(@NonNull String, @NonNull String, @NonNull Throwable);
533    method public static void v(@NonNull String, @NonNull String, @Nullable java.lang.Object...);
534    method public static int w(@NonNull String, @NonNull String);
535    method public static int w(@NonNull String, @NonNull String, @NonNull Throwable);
536    method public static int w(@NonNull String, @NonNull Throwable);
537    method public static void w(@NonNull String, @NonNull String, @Nullable java.lang.Object...);
538    method public static void w(@NonNull String, @NonNull Exception, @NonNull String, @Nullable java.lang.Object...);
539    method public static int wtf(@NonNull String, @NonNull String);
540    method public static int wtf(@NonNull String, @NonNull Throwable);
541    method public static int wtf(@NonNull String, @NonNull String, @NonNull Throwable);
542    method public static void wtf(@NonNull String, @NonNull String, @Nullable java.lang.Object...);
543    method public static void wtf(@NonNull String, @NonNull Exception, @NonNull String, @Nullable java.lang.Object...);
544  }
545
546  public class TimeUtils {
547    ctor public TimeUtils();
548    method public static void dumpTime(java.io.PrintWriter, long);
549    method public static void formatDuration(long, java.io.PrintWriter);
550  }
551
552  public class TimingsTraceLog {
553    ctor public TimingsTraceLog(@NonNull String, long);
554    ctor public TimingsTraceLog(@NonNull String, long, int);
555    method public void logDuration(@NonNull String, long);
556    method public void traceBegin(@NonNull String);
557    method public void traceEnd();
558  }
559
560  public final class UsageStatsManagerHelper {
561    method public static void reportUserInteraction(@NonNull android.app.usage.UsageStatsManager, @NonNull String, int, @NonNull android.os.PersistableBundle);
562  }
563
564  public final class ValidationHelper {
565    method public static boolean isAppIdValid(int);
566    method public static boolean isUserIdValid(int);
567  }
568
569}
570
571package android.car.builtin.view {
572
573  public final class DisplayHelper {
574    method public static int getPhysicalPort(android.view.Display);
575    method public static int getType(android.view.Display);
576    method public static String getUniqueId(android.view.Display);
577    field public static final int INVALID_PORT = -1; // 0xffffffff
578    field public static final int TYPE_EXTERNAL = 2; // 0x2
579    field public static final int TYPE_INTERNAL = 1; // 0x1
580    field public static final int TYPE_VIRTUAL = 5; // 0x5
581  }
582
583  public final class InputEventHelper {
584    method public static void setDisplayId(@NonNull android.view.InputEvent, int);
585  }
586
587  public final class KeyEventHelper {
588    method @Deprecated public static void setDisplayId(@NonNull android.view.KeyEvent, int);
589  }
590
591  public final class SurfaceControlHelper {
592    method public static android.view.SurfaceControl copy(android.view.SurfaceControl);
593    method @Nullable public static android.view.SurfaceControl getSurfaceControl(@NonNull android.app.Activity);
594    method @Nullable public static android.view.SurfaceControl mirrorDisplay(int);
595    method @NonNull public static android.view.SurfaceControl mirrorSurface(@NonNull android.view.SurfaceControl);
596  }
597
598  @UiThread public final class TouchableInsetsProvider {
599    ctor public TouchableInsetsProvider(@NonNull android.view.View);
600    method public void addToViewTreeObserver();
601    method public void removeFromViewTreeObserver();
602    method public void setObscuredTouchRegion(@Nullable android.graphics.Region);
603  }
604
605  public final class ViewHelper {
606    method public static void getBoundsOnScreen(@NonNull android.view.View, @NonNull android.graphics.Rect);
607    method public static void seResizeBackgroundColor(@NonNull android.view.SurfaceView, int);
608  }
609
610}
611
612package android.car.builtin.widget {
613
614  public final class LockPatternHelper {
615    method public static boolean isSecure(@NonNull android.content.Context, int);
616  }
617
618}
619
620package android.car.builtin.window {
621
622  public class DisplayAreaOrganizerHelper {
623    ctor public DisplayAreaOrganizerHelper();
624    field public static final int FEATURE_UNDEFINED = -1; // 0xffffffff
625  }
626
627  public final class WindowManagerHelper {
628    method public static void setInputFeatureSpy(@NonNull android.view.WindowManager.LayoutParams);
629    method public static void setTrustedOverlay(@NonNull android.view.WindowManager.LayoutParams);
630  }
631
632}
633
634