xref: /aosp_15_r20/prebuilts/sdk/34/test/api/android-non-updatable.txt (revision 344a7f5ef16c479e7a7f54ee6567a9d112f9e72b)
1*344a7f5eSAndroid Build Coastguard Worker// Signature format: 2.0
2*344a7f5eSAndroid Build Coastguard Workerpackage android {
3*344a7f5eSAndroid Build Coastguard Worker
4*344a7f5eSAndroid Build Coastguard Worker  public static final class Manifest.permission {
5*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACCESS_NOTIFICATIONS = "android.permission.ACCESS_NOTIFICATIONS";
6*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACTIVITY_EMBEDDING = "android.permission.ACTIVITY_EMBEDDING";
7*344a7f5eSAndroid Build Coastguard Worker    field public static final String ADJUST_RUNTIME_PERMISSIONS_POLICY = "android.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY";
8*344a7f5eSAndroid Build Coastguard Worker    field public static final String APPROVE_INCIDENT_REPORTS = "android.permission.APPROVE_INCIDENT_REPORTS";
9*344a7f5eSAndroid Build Coastguard Worker    field public static final String BACKGROUND_CAMERA = "android.permission.BACKGROUND_CAMERA";
10*344a7f5eSAndroid Build Coastguard Worker    field public static final String BIND_CELL_BROADCAST_SERVICE = "android.permission.BIND_CELL_BROADCAST_SERVICE";
11*344a7f5eSAndroid Build Coastguard Worker    field public static final String BRIGHTNESS_SLIDER_USAGE = "android.permission.BRIGHTNESS_SLIDER_USAGE";
12*344a7f5eSAndroid Build Coastguard Worker    field public static final String BROADCAST_CLOSE_SYSTEM_DIALOGS = "android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS";
13*344a7f5eSAndroid Build Coastguard Worker    field public static final String CHANGE_APP_IDLE_STATE = "android.permission.CHANGE_APP_IDLE_STATE";
14*344a7f5eSAndroid Build Coastguard Worker    field public static final String CLEAR_APP_USER_DATA = "android.permission.CLEAR_APP_USER_DATA";
15*344a7f5eSAndroid Build Coastguard Worker    field public static final String CLEAR_FREEZE_PERIOD = "android.permission.CLEAR_FREEZE_PERIOD";
16*344a7f5eSAndroid Build Coastguard Worker    field public static final String CONFIGURE_DISPLAY_BRIGHTNESS = "android.permission.CONFIGURE_DISPLAY_BRIGHTNESS";
17*344a7f5eSAndroid Build Coastguard Worker    field public static final String CONTROL_DEVICE_LIGHTS = "android.permission.CONTROL_DEVICE_LIGHTS";
18*344a7f5eSAndroid Build Coastguard Worker    field public static final String CONTROL_DEVICE_STATE = "android.permission.CONTROL_DEVICE_STATE";
19*344a7f5eSAndroid Build Coastguard Worker    field public static final String DELETE_STAGED_HEALTH_CONNECT_REMOTE_DATA = "android.permission.DELETE_STAGED_HEALTH_CONNECT_REMOTE_DATA";
20*344a7f5eSAndroid Build Coastguard Worker    field public static final String FORCE_DEVICE_POLICY_MANAGER_LOGS = "android.permission.FORCE_DEVICE_POLICY_MANAGER_LOGS";
21*344a7f5eSAndroid Build Coastguard Worker    field public static final String FORCE_STOP_PACKAGES = "android.permission.FORCE_STOP_PACKAGES";
22*344a7f5eSAndroid Build Coastguard Worker    field public static final String GRANT_RUNTIME_PERMISSIONS = "android.permission.GRANT_RUNTIME_PERMISSIONS";
23*344a7f5eSAndroid Build Coastguard Worker    field public static final String INSTALL_TEST_ONLY_PACKAGE = "android.permission.INSTALL_TEST_ONLY_PACKAGE";
24*344a7f5eSAndroid Build Coastguard Worker    field public static final String KEEP_UNINSTALLED_PACKAGES = "android.permission.KEEP_UNINSTALLED_PACKAGES";
25*344a7f5eSAndroid Build Coastguard Worker    field public static final String MAKE_UID_VISIBLE = "android.permission.MAKE_UID_VISIBLE";
26*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String MANAGE_ACTIVITY_STACKS = "android.permission.MANAGE_ACTIVITY_STACKS";
27*344a7f5eSAndroid Build Coastguard Worker    field public static final String MANAGE_ACTIVITY_TASKS = "android.permission.MANAGE_ACTIVITY_TASKS";
28*344a7f5eSAndroid Build Coastguard Worker    field public static final String MANAGE_APP_OPS_MODES = "android.permission.MANAGE_APP_OPS_MODES";
29*344a7f5eSAndroid Build Coastguard Worker    field public static final String MANAGE_CRATES = "android.permission.MANAGE_CRATES";
30*344a7f5eSAndroid Build Coastguard Worker    field public static final String MANAGE_NOTIFICATION_LISTENERS = "android.permission.MANAGE_NOTIFICATION_LISTENERS";
31*344a7f5eSAndroid Build Coastguard Worker    field public static final String MANAGE_ROLLBACKS = "android.permission.MANAGE_ROLLBACKS";
32*344a7f5eSAndroid Build Coastguard Worker    field public static final String MANAGE_TOAST_RATE_LIMITING = "android.permission.MANAGE_TOAST_RATE_LIMITING";
33*344a7f5eSAndroid Build Coastguard Worker    field public static final String MODIFY_HDR_CONVERSION_MODE = "android.permission.MODIFY_HDR_CONVERSION_MODE";
34*344a7f5eSAndroid Build Coastguard Worker    field public static final String MODIFY_REFRESH_RATE_SWITCHING_TYPE = "android.permission.MODIFY_REFRESH_RATE_SWITCHING_TYPE";
35*344a7f5eSAndroid Build Coastguard Worker    field public static final String MODIFY_USER_PREFERRED_DISPLAY_MODE = "android.permission.MODIFY_USER_PREFERRED_DISPLAY_MODE";
36*344a7f5eSAndroid Build Coastguard Worker    field public static final String NETWORK_SETTINGS = "android.permission.NETWORK_SETTINGS";
37*344a7f5eSAndroid Build Coastguard Worker    field public static final String NETWORK_STACK = "android.permission.NETWORK_STACK";
38*344a7f5eSAndroid Build Coastguard Worker    field public static final String OVERRIDE_DISPLAY_MODE_REQUESTS = "android.permission.OVERRIDE_DISPLAY_MODE_REQUESTS";
39*344a7f5eSAndroid Build Coastguard Worker    field public static final String QUERY_AUDIO_STATE = "android.permission.QUERY_AUDIO_STATE";
40*344a7f5eSAndroid Build Coastguard Worker    field public static final String READ_CELL_BROADCASTS = "android.permission.READ_CELL_BROADCASTS";
41*344a7f5eSAndroid Build Coastguard Worker    field public static final String READ_PRIVILEGED_PHONE_STATE = "android.permission.READ_PRIVILEGED_PHONE_STATE";
42*344a7f5eSAndroid Build Coastguard Worker    field public static final String READ_WRITE_SYNC_DISABLED_MODE_CONFIG = "android.permission.READ_WRITE_SYNC_DISABLED_MODE_CONFIG";
43*344a7f5eSAndroid Build Coastguard Worker    field public static final String RECORD_BACKGROUND_AUDIO = "android.permission.RECORD_BACKGROUND_AUDIO";
44*344a7f5eSAndroid Build Coastguard Worker    field public static final String REMAP_MODIFIER_KEYS = "android.permission.REMAP_MODIFIER_KEYS";
45*344a7f5eSAndroid Build Coastguard Worker    field public static final String REMOVE_TASKS = "android.permission.REMOVE_TASKS";
46*344a7f5eSAndroid Build Coastguard Worker    field public static final String REQUEST_UNIQUE_ID_ATTESTATION = "android.permission.REQUEST_UNIQUE_ID_ATTESTATION";
47*344a7f5eSAndroid Build Coastguard Worker    field public static final String RESET_APP_ERRORS = "android.permission.RESET_APP_ERRORS";
48*344a7f5eSAndroid Build Coastguard Worker    field public static final String REVOKE_POST_NOTIFICATIONS_WITHOUT_KILL = "android.permission.REVOKE_POST_NOTIFICATIONS_WITHOUT_KILL";
49*344a7f5eSAndroid Build Coastguard Worker    field public static final String SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS = "android.permission.SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS";
50*344a7f5eSAndroid Build Coastguard Worker    field public static final String SET_GAME_SERVICE = "android.permission.SET_GAME_SERVICE";
51*344a7f5eSAndroid Build Coastguard Worker    field public static final String SET_KEYBOARD_LAYOUT = "android.permission.SET_KEYBOARD_LAYOUT";
52*344a7f5eSAndroid Build Coastguard Worker    field public static final String SUSPEND_APPS = "android.permission.SUSPEND_APPS";
53*344a7f5eSAndroid Build Coastguard Worker    field public static final String TEST_BIOMETRIC = "android.permission.TEST_BIOMETRIC";
54*344a7f5eSAndroid Build Coastguard Worker    field public static final String TEST_INPUT_METHOD = "android.permission.TEST_INPUT_METHOD";
55*344a7f5eSAndroid Build Coastguard Worker    field public static final String TEST_MANAGE_ROLLBACKS = "android.permission.TEST_MANAGE_ROLLBACKS";
56*344a7f5eSAndroid Build Coastguard Worker    field public static final String UPGRADE_RUNTIME_PERMISSIONS = "android.permission.UPGRADE_RUNTIME_PERMISSIONS";
57*344a7f5eSAndroid Build Coastguard Worker    field public static final String WRITE_ALLOWLISTED_DEVICE_CONFIG = "android.permission.WRITE_ALLOWLISTED_DEVICE_CONFIG";
58*344a7f5eSAndroid Build Coastguard Worker    field public static final String WRITE_DEVICE_CONFIG = "android.permission.WRITE_DEVICE_CONFIG";
59*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String WRITE_MEDIA_STORAGE = "android.permission.WRITE_MEDIA_STORAGE";
60*344a7f5eSAndroid Build Coastguard Worker    field public static final String WRITE_OBB = "android.permission.WRITE_OBB";
61*344a7f5eSAndroid Build Coastguard Worker  }
62*344a7f5eSAndroid Build Coastguard Worker
63*344a7f5eSAndroid Build Coastguard Worker  public static final class Manifest.permission_group {
64*344a7f5eSAndroid Build Coastguard Worker    field public static final String UNDEFINED = "android.permission-group.UNDEFINED";
65*344a7f5eSAndroid Build Coastguard Worker  }
66*344a7f5eSAndroid Build Coastguard Worker
67*344a7f5eSAndroid Build Coastguard Worker  public static final class R.attr {
68*344a7f5eSAndroid Build Coastguard Worker    field public static final int requestForegroundServiceExemption = 16844362; // 0x101064a
69*344a7f5eSAndroid Build Coastguard Worker  }
70*344a7f5eSAndroid Build Coastguard Worker
71*344a7f5eSAndroid Build Coastguard Worker  public static final class R.bool {
72*344a7f5eSAndroid Build Coastguard Worker    field public static final int config_assistantOnTopOfDream = 17891333; // 0x1110005
73*344a7f5eSAndroid Build Coastguard Worker    field public static final int config_perDisplayFocusEnabled = 17891332; // 0x1110004
74*344a7f5eSAndroid Build Coastguard Worker    field public static final int config_preventImeStartupUnlessTextEditor = 17891335; // 0x1110007
75*344a7f5eSAndroid Build Coastguard Worker    field public static final int config_remoteInsetsControllerControlsSystemBars = 17891334; // 0x1110006
76*344a7f5eSAndroid Build Coastguard Worker  }
77*344a7f5eSAndroid Build Coastguard Worker
78*344a7f5eSAndroid Build Coastguard Worker  public static final class R.string {
79*344a7f5eSAndroid Build Coastguard Worker    field public static final int config_defaultAssistant = 17039393; // 0x1040021
80*344a7f5eSAndroid Build Coastguard Worker    field public static final int config_defaultDialer = 17039395; // 0x1040023
81*344a7f5eSAndroid Build Coastguard Worker    field public static final int config_systemAutomotiveCalendarSyncManager = 17039423; // 0x104003f
82*344a7f5eSAndroid Build Coastguard Worker    field public static final int config_systemAutomotiveCluster = 17039400; // 0x1040028
83*344a7f5eSAndroid Build Coastguard Worker    field public static final int config_systemAutomotiveProjection = 17039401; // 0x1040029
84*344a7f5eSAndroid Build Coastguard Worker    field public static final int config_systemGallery = 17039399; // 0x1040027
85*344a7f5eSAndroid Build Coastguard Worker  }
86*344a7f5eSAndroid Build Coastguard Worker
87*344a7f5eSAndroid Build Coastguard Worker}
88*344a7f5eSAndroid Build Coastguard Worker
89*344a7f5eSAndroid Build Coastguard Workerpackage android.accessibilityservice {
90*344a7f5eSAndroid Build Coastguard Worker
91*344a7f5eSAndroid Build Coastguard Worker  public final class AccessibilityGestureEvent implements android.os.Parcelable {
92*344a7f5eSAndroid Build Coastguard Worker    ctor public AccessibilityGestureEvent(int, int);
93*344a7f5eSAndroid Build Coastguard Worker  }
94*344a7f5eSAndroid Build Coastguard Worker
95*344a7f5eSAndroid Build Coastguard Worker  public abstract class AccessibilityService extends android.app.Service {
96*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACCESSIBILITY_TAKE_SCREENSHOT_REQUEST_INTERVAL_TIMES_MS = 333; // 0x14d
97*344a7f5eSAndroid Build Coastguard Worker  }
98*344a7f5eSAndroid Build Coastguard Worker
99*344a7f5eSAndroid Build Coastguard Worker  public class AccessibilityServiceInfo implements android.os.Parcelable {
100*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.content.ComponentName getComponentName();
101*344a7f5eSAndroid Build Coastguard Worker  }
102*344a7f5eSAndroid Build Coastguard Worker
103*344a7f5eSAndroid Build Coastguard Worker}
104*344a7f5eSAndroid Build Coastguard Worker
105*344a7f5eSAndroid Build Coastguard Workerpackage android.animation {
106*344a7f5eSAndroid Build Coastguard Worker
107*344a7f5eSAndroid Build Coastguard Worker  public abstract class Animator implements java.lang.Cloneable {
108*344a7f5eSAndroid Build Coastguard Worker    method public static long getBackgroundPauseDelay();
109*344a7f5eSAndroid Build Coastguard Worker    method public static void setAnimatorPausingEnabled(boolean);
110*344a7f5eSAndroid Build Coastguard Worker    method public static void setBackgroundPauseDelay(long);
111*344a7f5eSAndroid Build Coastguard Worker  }
112*344a7f5eSAndroid Build Coastguard Worker
113*344a7f5eSAndroid Build Coastguard Worker  public class ValueAnimator extends android.animation.Animator {
114*344a7f5eSAndroid Build Coastguard Worker    method @MainThread public static void setDurationScale(@FloatRange(from=0) float);
115*344a7f5eSAndroid Build Coastguard Worker  }
116*344a7f5eSAndroid Build Coastguard Worker
117*344a7f5eSAndroid Build Coastguard Worker}
118*344a7f5eSAndroid Build Coastguard Worker
119*344a7f5eSAndroid Build Coastguard Workerpackage android.app {
120*344a7f5eSAndroid Build Coastguard Worker
121*344a7f5eSAndroid Build Coastguard Worker  @UiContext public class Activity extends android.view.ContextThemeWrapper implements android.content.ComponentCallbacks2 android.view.KeyEvent.Callback android.view.LayoutInflater.Factory2 android.view.View.OnCreateContextMenuListener android.view.Window.Callback {
122*344a7f5eSAndroid Build Coastguard Worker    method public final boolean addDumpable(@NonNull android.util.Dumpable);
123*344a7f5eSAndroid Build Coastguard Worker    method public void dumpInternal(@NonNull String, @Nullable java.io.FileDescriptor, @NonNull java.io.PrintWriter, @Nullable String[]);
124*344a7f5eSAndroid Build Coastguard Worker    method public void onMovedToDisplay(int, android.content.res.Configuration);
125*344a7f5eSAndroid Build Coastguard Worker    field public static final String DUMP_ARG_DUMP_DUMPABLE = "--dump-dumpable";
126*344a7f5eSAndroid Build Coastguard Worker    field public static final String DUMP_ARG_LIST_DUMPABLES = "--list-dumpables";
127*344a7f5eSAndroid Build Coastguard Worker  }
128*344a7f5eSAndroid Build Coastguard Worker
129*344a7f5eSAndroid Build Coastguard Worker  public class ActivityManager {
130*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER) public void addHomeVisibilityListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.HomeVisibilityListener);
131*344a7f5eSAndroid Build Coastguard Worker    method public void alwaysShowUnsupportedCompileSdkWarning(android.content.ComponentName);
132*344a7f5eSAndroid Build Coastguard Worker    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public int[] getDisplayIdsForStartingVisibleBackgroundUsers();
133*344a7f5eSAndroid Build Coastguard Worker    method public long getTotalRam();
134*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int[] getUidFrozenState(@NonNull int[]);
135*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(allOf={android.Manifest.permission.PACKAGE_USAGE_STATS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}, conditional=true) public int getUidProcessCapabilities(int);
136*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(allOf={android.Manifest.permission.PACKAGE_USAGE_STATS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}, conditional=true) public int getUidProcessState(int);
137*344a7f5eSAndroid Build Coastguard Worker    method public void holdLock(android.os.IBinder, int);
138*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isHighEndGfx();
139*344a7f5eSAndroid Build Coastguard Worker    method public void notifySystemPropertiesChanged();
140*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void registerUidFrozenStateChangedCallback(@NonNull java.util.concurrent.Executor, @NonNull android.app.ActivityManager.UidFrozenStateChangedCallback);
141*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER) public void removeHomeVisibilityListener(@NonNull android.app.HomeVisibilityListener);
142*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.RESET_APP_ERRORS) public void resetAppErrors();
143*344a7f5eSAndroid Build Coastguard Worker    method public static void resumeAppSwitches() throws android.os.RemoteException;
144*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.CHANGE_CONFIGURATION) public void scheduleApplicationInfoChanged(java.util.List<java.lang.String>, int);
145*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public void setStopUserOnSwitch(int);
146*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public boolean startUserInBackgroundVisibleOnDisplay(int, int);
147*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public boolean stopUser(int, boolean);
148*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void unregisterUidFrozenStateChangedCallback(@NonNull android.app.ActivityManager.UidFrozenStateChangedCallback);
149*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.CHANGE_CONFIGURATION) public boolean updateMccMncConfiguration(@NonNull String, @NonNull String);
150*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.DUMP) public void waitForBroadcastIdle();
151*344a7f5eSAndroid Build Coastguard Worker    field public static final long LOCK_DOWN_CLOSE_SYSTEM_DIALOGS = 174664365L; // 0xa692aadL
152*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROCESS_CAPABILITY_ALL_IMPLICIT = 6; // 0x6
153*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROCESS_CAPABILITY_POWER_RESTRICTED_NETWORK = 8; // 0x8
154*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROCESS_CAPABILITY_USER_RESTRICTED_NETWORK = 32; // 0x20
155*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROCESS_STATE_FOREGROUND_SERVICE = 4; // 0x4
156*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROCESS_STATE_TOP = 2; // 0x2
157*344a7f5eSAndroid Build Coastguard Worker    field public static final int STOP_USER_ON_SWITCH_DEFAULT = -1; // 0xffffffff
158*344a7f5eSAndroid Build Coastguard Worker    field public static final int STOP_USER_ON_SWITCH_FALSE = 0; // 0x0
159*344a7f5eSAndroid Build Coastguard Worker    field public static final int STOP_USER_ON_SWITCH_TRUE = 1; // 0x1
160*344a7f5eSAndroid Build Coastguard Worker  }
161*344a7f5eSAndroid Build Coastguard Worker
162*344a7f5eSAndroid Build Coastguard Worker  public static class ActivityManager.RunningAppProcessInfo implements android.os.Parcelable {
163*344a7f5eSAndroid Build Coastguard Worker    field public static final int IMPORTANCE_CANT_SAVE_STATE_PRE_26 = 170; // 0xaa
164*344a7f5eSAndroid Build Coastguard Worker  }
165*344a7f5eSAndroid Build Coastguard Worker
166*344a7f5eSAndroid Build Coastguard Worker  public static class ActivityManager.TaskDescription implements android.os.Parcelable {
167*344a7f5eSAndroid Build Coastguard Worker    method public String getIconFilename();
168*344a7f5eSAndroid Build Coastguard Worker    method public int getIconResource();
169*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getIconResourcePackage();
170*344a7f5eSAndroid Build Coastguard Worker  }
171*344a7f5eSAndroid Build Coastguard Worker
172*344a7f5eSAndroid Build Coastguard Worker  public static interface ActivityManager.UidFrozenStateChangedCallback {
173*344a7f5eSAndroid Build Coastguard Worker    method public void onUidFrozenStateChanged(@NonNull int[], @NonNull int[]);
174*344a7f5eSAndroid Build Coastguard Worker    field public static final int UID_FROZEN_STATE_FROZEN = 1; // 0x1
175*344a7f5eSAndroid Build Coastguard Worker    field public static final int UID_FROZEN_STATE_UNFROZEN = 2; // 0x2
176*344a7f5eSAndroid Build Coastguard Worker  }
177*344a7f5eSAndroid Build Coastguard Worker
178*344a7f5eSAndroid Build Coastguard Worker  public class ActivityOptions extends android.app.ComponentOptions {
179*344a7f5eSAndroid Build Coastguard Worker    method public boolean isEligibleForLegacyPermissionPrompt();
180*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.app.ActivityOptions makeCustomAnimation(@NonNull android.content.Context, int, int, int, @Nullable android.os.Handler, @Nullable android.app.ActivityOptions.OnAnimationStartedListener, @Nullable android.app.ActivityOptions.OnAnimationFinishedListener);
181*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.START_TASKS_FROM_RECENTS) public static android.app.ActivityOptions makeCustomTaskAnimation(@NonNull android.content.Context, int, int, @Nullable android.os.Handler, @Nullable android.app.ActivityOptions.OnAnimationStartedListener, @Nullable android.app.ActivityOptions.OnAnimationFinishedListener);
182*344a7f5eSAndroid Build Coastguard Worker    method public void setEligibleForLegacyPermissionPrompt(boolean);
183*344a7f5eSAndroid Build Coastguard Worker    method public static void setExitTransitionTimeout(long);
184*344a7f5eSAndroid Build Coastguard Worker    method public void setLaunchActivityType(int);
185*344a7f5eSAndroid Build Coastguard Worker    method public void setLaunchTaskDisplayAreaFeatureId(int);
186*344a7f5eSAndroid Build Coastguard Worker    method public void setLaunchWindowingMode(int);
187*344a7f5eSAndroid Build Coastguard Worker    method public void setLaunchedFromBubble(boolean);
188*344a7f5eSAndroid Build Coastguard Worker    method public void setTaskAlwaysOnTop(boolean);
189*344a7f5eSAndroid Build Coastguard Worker    method public void setTaskOverlay(boolean, boolean);
190*344a7f5eSAndroid Build Coastguard Worker  }
191*344a7f5eSAndroid Build Coastguard Worker
192*344a7f5eSAndroid Build Coastguard Worker  public static interface ActivityOptions.OnAnimationFinishedListener {
193*344a7f5eSAndroid Build Coastguard Worker    method public void onAnimationFinished(long);
194*344a7f5eSAndroid Build Coastguard Worker  }
195*344a7f5eSAndroid Build Coastguard Worker
196*344a7f5eSAndroid Build Coastguard Worker  public static interface ActivityOptions.OnAnimationStartedListener {
197*344a7f5eSAndroid Build Coastguard Worker    method public void onAnimationStarted(long);
198*344a7f5eSAndroid Build Coastguard Worker  }
199*344a7f5eSAndroid Build Coastguard Worker
200*344a7f5eSAndroid Build Coastguard Worker  public class ActivityTaskManager {
201*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void clearLaunchParamsForPackages(java.util.List<java.lang.String>);
202*344a7f5eSAndroid Build Coastguard Worker    method public static boolean currentUiModeSupportsErrorDialogs(@NonNull android.content.Context);
203*344a7f5eSAndroid Build Coastguard Worker    method public static int getMaxNumPictureInPictureActions(@NonNull android.content.Context);
204*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void moveTaskToRootTask(int, int, boolean);
205*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void removeRootTasksInWindowingModes(@NonNull int[]);
206*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void removeRootTasksWithActivityTypes(@NonNull int[]);
207*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public boolean removeTask(int);
208*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void resizeTask(int, android.graphics.Rect);
209*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void startSystemLockTaskMode(int);
210*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void stopSystemLockTaskMode();
211*344a7f5eSAndroid Build Coastguard Worker    method public static boolean supportsMultiWindow(android.content.Context);
212*344a7f5eSAndroid Build Coastguard Worker    method public static boolean supportsSplitScreenMultiWindow(android.content.Context);
213*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.UPDATE_LOCK_TASK_PACKAGES") public void updateLockTaskPackages(@NonNull android.content.Context, @NonNull String[]);
214*344a7f5eSAndroid Build Coastguard Worker    field public static final int DEFAULT_MINIMAL_SPLIT_SCREEN_DISPLAY_SIZE_DP = 440; // 0x1b8
215*344a7f5eSAndroid Build Coastguard Worker    field public static final int INVALID_STACK_ID = -1; // 0xffffffff
216*344a7f5eSAndroid Build Coastguard Worker  }
217*344a7f5eSAndroid Build Coastguard Worker
218*344a7f5eSAndroid Build Coastguard Worker  public class AlarmManager {
219*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasScheduleExactAlarm(@NonNull String, int);
220*344a7f5eSAndroid Build Coastguard Worker  }
221*344a7f5eSAndroid Build Coastguard Worker
222*344a7f5eSAndroid Build Coastguard Worker  public class AppDetailsActivity extends android.app.Activity {
223*344a7f5eSAndroid Build Coastguard Worker    ctor public AppDetailsActivity();
224*344a7f5eSAndroid Build Coastguard Worker  }
225*344a7f5eSAndroid Build Coastguard Worker
226*344a7f5eSAndroid Build Coastguard Worker  public class AppOpsManager {
227*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void addHistoricalOps(@NonNull android.app.AppOpsManager.HistoricalOps);
228*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void clearHistory();
229*344a7f5eSAndroid Build Coastguard Worker    method public static void collectNotedOpSync(@NonNull android.app.SyncNotedAppOp);
230*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void getHistoricalOpsFromDiskRaw(@NonNull android.app.AppOpsManager.HistoricalOpsRequest, @Nullable java.util.concurrent.Executor, @NonNull java.util.function.Consumer<android.app.AppOpsManager.HistoricalOps>);
231*344a7f5eSAndroid Build Coastguard Worker    method public static int getNumOps();
232*344a7f5eSAndroid Build Coastguard Worker    method public boolean isOperationActive(int, int, String);
233*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void offsetHistory(long);
234*344a7f5eSAndroid Build Coastguard Worker    method public static String opToPermission(int);
235*344a7f5eSAndroid Build Coastguard Worker    method public static int permissionToOpCode(String);
236*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void rebootHistory(long);
237*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void reloadNonHistoricalState();
238*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void resetHistoryParameters();
239*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void resetPackageOpsNoHistory(@NonNull String);
240*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void setHistoryParameters(int, long, int);
241*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_APP_OPS_MODES) public void setMode(int, int, String, int);
242*344a7f5eSAndroid Build Coastguard Worker    method public static int strOpToOp(@NonNull String);
243*344a7f5eSAndroid Build Coastguard Worker    field public static final int ATTRIBUTION_CHAIN_ID_NONE = -1; // 0xffffffff
244*344a7f5eSAndroid Build Coastguard Worker    field public static final int ATTRIBUTION_FLAGS_NONE = 0; // 0x0
245*344a7f5eSAndroid Build Coastguard Worker    field public static final int ATTRIBUTION_FLAG_ACCESSOR = 1; // 0x1
246*344a7f5eSAndroid Build Coastguard Worker    field public static final int ATTRIBUTION_FLAG_INTERMEDIARY = 2; // 0x2
247*344a7f5eSAndroid Build Coastguard Worker    field public static final int ATTRIBUTION_FLAG_RECEIVER = 4; // 0x4
248*344a7f5eSAndroid Build Coastguard Worker    field public static final int HISTORICAL_MODE_DISABLED = 0; // 0x0
249*344a7f5eSAndroid Build Coastguard Worker    field public static final int HISTORICAL_MODE_ENABLED_ACTIVE = 1; // 0x1
250*344a7f5eSAndroid Build Coastguard Worker    field public static final int HISTORICAL_MODE_ENABLED_PASSIVE = 2; // 0x2
251*344a7f5eSAndroid Build Coastguard Worker    field public static final int HISTORY_FLAGS_ALL = 3; // 0x3
252*344a7f5eSAndroid Build Coastguard Worker    field public static final int HISTORY_FLAG_AGGREGATE = 1; // 0x1
253*344a7f5eSAndroid Build Coastguard Worker    field public static final int HISTORY_FLAG_DISCRETE = 2; // 0x2
254*344a7f5eSAndroid Build Coastguard Worker    field public static final String KEY_BG_STATE_SETTLE_TIME = "bg_state_settle_time";
255*344a7f5eSAndroid Build Coastguard Worker    field public static final String KEY_FG_SERVICE_STATE_SETTLE_TIME = "fg_service_state_settle_time";
256*344a7f5eSAndroid Build Coastguard Worker    field public static final String KEY_TOP_STATE_SETTLE_TIME = "top_state_settle_time";
257*344a7f5eSAndroid Build Coastguard Worker    field public static final String OPSTR_ACTIVITY_RECOGNITION = "android:activity_recognition";
258*344a7f5eSAndroid Build Coastguard Worker    field public static final String OPSTR_ACTIVITY_RECOGNITION_SOURCE = "android:activity_recognition_source";
259*344a7f5eSAndroid Build Coastguard Worker    field public static final String OPSTR_MANAGE_ONGOING_CALLS = "android:manage_ongoing_calls";
260*344a7f5eSAndroid Build Coastguard Worker    field public static final String OPSTR_RECORD_AUDIO_HOTWORD = "android:record_audio_hotword";
261*344a7f5eSAndroid Build Coastguard Worker    field public static final String OPSTR_USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER = "android:use_icc_auth_with_device_identifier";
262*344a7f5eSAndroid Build Coastguard Worker    field public static final int OP_COARSE_LOCATION = 0; // 0x0
263*344a7f5eSAndroid Build Coastguard Worker    field public static final int OP_RECORD_AUDIO = 27; // 0x1b
264*344a7f5eSAndroid Build Coastguard Worker    field public static final int OP_START_FOREGROUND = 76; // 0x4c
265*344a7f5eSAndroid Build Coastguard Worker    field public static final int OP_SYSTEM_ALERT_WINDOW = 24; // 0x18
266*344a7f5eSAndroid Build Coastguard Worker    field public static final long SECURITY_EXCEPTION_ON_INVALID_ATTRIBUTION_TAG_CHANGE = 151105954L; // 0x901b1a2L
267*344a7f5eSAndroid Build Coastguard Worker  }
268*344a7f5eSAndroid Build Coastguard Worker
269*344a7f5eSAndroid Build Coastguard Worker  public static final class AppOpsManager.HistoricalOps implements android.os.Parcelable {
270*344a7f5eSAndroid Build Coastguard Worker    ctor public AppOpsManager.HistoricalOps(long, long);
271*344a7f5eSAndroid Build Coastguard Worker    method public void addDiscreteAccess(int, int, @NonNull String, @Nullable String, int, int, long, long);
272*344a7f5eSAndroid Build Coastguard Worker    method public void increaseAccessCount(int, int, @NonNull String, @Nullable String, int, int, long);
273*344a7f5eSAndroid Build Coastguard Worker    method public void increaseAccessDuration(int, int, @NonNull String, @Nullable String, int, int, long);
274*344a7f5eSAndroid Build Coastguard Worker    method public void increaseRejectCount(int, int, @NonNull String, @Nullable String, int, int, long);
275*344a7f5eSAndroid Build Coastguard Worker    method public void offsetBeginAndEndTime(long);
276*344a7f5eSAndroid Build Coastguard Worker  }
277*344a7f5eSAndroid Build Coastguard Worker
278*344a7f5eSAndroid Build Coastguard Worker  public static interface AppOpsManager.OnOpActiveChangedListener {
279*344a7f5eSAndroid Build Coastguard Worker    method public default void onOpActiveChanged(@NonNull String, int, @NonNull String, @Nullable String, boolean, int, int);
280*344a7f5eSAndroid Build Coastguard Worker  }
281*344a7f5eSAndroid Build Coastguard Worker
282*344a7f5eSAndroid Build Coastguard Worker  public class BroadcastOptions extends android.app.ComponentOptions {
283*344a7f5eSAndroid Build Coastguard Worker    ctor public BroadcastOptions();
284*344a7f5eSAndroid Build Coastguard Worker    ctor public BroadcastOptions(@NonNull android.os.Bundle);
285*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getMaxManifestReceiverApiLevel();
286*344a7f5eSAndroid Build Coastguard Worker    method public long getTemporaryAppAllowlistDuration();
287*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getTemporaryAppAllowlistReason();
288*344a7f5eSAndroid Build Coastguard Worker    method public int getTemporaryAppAllowlistReasonCode();
289*344a7f5eSAndroid Build Coastguard Worker    method public int getTemporaryAppAllowlistType();
290*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setMaxManifestReceiverApiLevel(int);
291*344a7f5eSAndroid Build Coastguard Worker    method public boolean testRequireCompatChange(int);
292*344a7f5eSAndroid Build Coastguard Worker    field public static final long CHANGE_ALWAYS_DISABLED = 210856463L; // 0xc916a0fL
293*344a7f5eSAndroid Build Coastguard Worker    field public static final long CHANGE_ALWAYS_ENABLED = 209888056L; // 0xc82a338L
294*344a7f5eSAndroid Build Coastguard Worker  }
295*344a7f5eSAndroid Build Coastguard Worker
296*344a7f5eSAndroid Build Coastguard Worker  public class ComponentOptions {
297*344a7f5eSAndroid Build Coastguard Worker    field public static final int MODE_BACKGROUND_ACTIVITY_START_ALLOWED = 1; // 0x1
298*344a7f5eSAndroid Build Coastguard Worker    field public static final int MODE_BACKGROUND_ACTIVITY_START_DENIED = 2; // 0x2
299*344a7f5eSAndroid Build Coastguard Worker    field public static final int MODE_BACKGROUND_ACTIVITY_START_SYSTEM_DEFINED = 0; // 0x0
300*344a7f5eSAndroid Build Coastguard Worker  }
301*344a7f5eSAndroid Build Coastguard Worker
302*344a7f5eSAndroid Build Coastguard Worker  public class DownloadManager {
303*344a7f5eSAndroid Build Coastguard Worker    field public static final String COLUMN_MEDIASTORE_URI = "mediastore_uri";
304*344a7f5eSAndroid Build Coastguard Worker  }
305*344a7f5eSAndroid Build Coastguard Worker
306*344a7f5eSAndroid Build Coastguard Worker  public class DreamManager {
307*344a7f5eSAndroid Build Coastguard Worker    method public boolean areDreamsSupported();
308*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isDreaming();
309*344a7f5eSAndroid Build Coastguard Worker    method public boolean isScreensaverEnabled();
310*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.WRITE_DREAM_STATE) public void setActiveDream(@Nullable android.content.ComponentName);
311*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.WRITE_DREAM_STATE) public void setDreamOverlay(@Nullable android.content.ComponentName);
312*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setScreensaverEnabled(boolean);
313*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.WRITE_DREAM_STATE) public void setSystemDreamComponent(@Nullable android.content.ComponentName);
314*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.WRITE_DREAM_STATE) public void startDream();
315*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.WRITE_DREAM_STATE) public void stopDream();
316*344a7f5eSAndroid Build Coastguard Worker  }
317*344a7f5eSAndroid Build Coastguard Worker
318*344a7f5eSAndroid Build Coastguard Worker  public final class GameManager {
319*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_MODE) public int getGameMode(@NonNull String);
320*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_MODE) public boolean isAngleEnabled(@NonNull String);
321*344a7f5eSAndroid Build Coastguard Worker    method public void setGameServiceProvider(@Nullable String);
322*344a7f5eSAndroid Build Coastguard Worker  }
323*344a7f5eSAndroid Build Coastguard Worker
324*344a7f5eSAndroid Build Coastguard Worker  public abstract class HomeVisibilityListener {
325*344a7f5eSAndroid Build Coastguard Worker    ctor public HomeVisibilityListener();
326*344a7f5eSAndroid Build Coastguard Worker    method public abstract void onHomeVisibilityChanged(boolean);
327*344a7f5eSAndroid Build Coastguard Worker  }
328*344a7f5eSAndroid Build Coastguard Worker
329*344a7f5eSAndroid Build Coastguard Worker  public class KeyguardManager {
330*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(anyOf={android.Manifest.permission.SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS, "android.permission.ACCESS_KEYGUARD_SECURE_STORAGE"}) public boolean checkLock(int, @Nullable byte[]);
331*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(anyOf={android.Manifest.permission.SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS, "android.permission.ACCESS_KEYGUARD_SECURE_STORAGE"}) public boolean setLock(int, @Nullable byte[], int, @Nullable byte[]);
332*344a7f5eSAndroid Build Coastguard Worker  }
333*344a7f5eSAndroid Build Coastguard Worker
334*344a7f5eSAndroid Build Coastguard Worker  public class LocaleManager {
335*344a7f5eSAndroid Build Coastguard Worker    method public void setSystemLocales(@NonNull android.os.LocaleList);
336*344a7f5eSAndroid Build Coastguard Worker  }
337*344a7f5eSAndroid Build Coastguard Worker
338*344a7f5eSAndroid Build Coastguard Worker  public class Notification implements android.os.Parcelable {
339*344a7f5eSAndroid Build Coastguard Worker    method public boolean isUserInitiatedJob();
340*344a7f5eSAndroid Build Coastguard Worker    method public boolean shouldShowForegroundImmediately();
341*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_MEDIA_REMOTE_DEVICE = "android.mediaRemoteDevice";
342*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_MEDIA_REMOTE_ICON = "android.mediaRemoteIcon";
343*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_MEDIA_REMOTE_INTENT = "android.mediaRemoteIntent";
344*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_USER_INITIATED_JOB = 32768; // 0x8000
345*344a7f5eSAndroid Build Coastguard Worker  }
346*344a7f5eSAndroid Build Coastguard Worker
347*344a7f5eSAndroid Build Coastguard Worker  public final class NotificationChannel implements android.os.Parcelable {
348*344a7f5eSAndroid Build Coastguard Worker    method public int getOriginalImportance();
349*344a7f5eSAndroid Build Coastguard Worker    method public boolean isImportanceLockedByCriticalDeviceFunction();
350*344a7f5eSAndroid Build Coastguard Worker    method public void lockFields(int);
351*344a7f5eSAndroid Build Coastguard Worker    method public void setDeleted(boolean);
352*344a7f5eSAndroid Build Coastguard Worker    method public void setDeletedTimeMs(long);
353*344a7f5eSAndroid Build Coastguard Worker    method public void setDemoted(boolean);
354*344a7f5eSAndroid Build Coastguard Worker    method public void setImportanceLockedByCriticalDeviceFunction(boolean);
355*344a7f5eSAndroid Build Coastguard Worker    method public void setImportantConversation(boolean);
356*344a7f5eSAndroid Build Coastguard Worker    method public void setOriginalImportance(int);
357*344a7f5eSAndroid Build Coastguard Worker    method public void setUserVisibleTaskShown(boolean);
358*344a7f5eSAndroid Build Coastguard Worker  }
359*344a7f5eSAndroid Build Coastguard Worker
360*344a7f5eSAndroid Build Coastguard Worker  public final class NotificationChannelGroup implements android.os.Parcelable {
361*344a7f5eSAndroid Build Coastguard Worker    method public int getUserLockedFields();
362*344a7f5eSAndroid Build Coastguard Worker    method public void lockFields(int);
363*344a7f5eSAndroid Build Coastguard Worker    method public void setBlocked(boolean);
364*344a7f5eSAndroid Build Coastguard Worker  }
365*344a7f5eSAndroid Build Coastguard Worker
366*344a7f5eSAndroid Build Coastguard Worker  public class NotificationManager {
367*344a7f5eSAndroid Build Coastguard Worker    method public void cleanUpCallersAfter(long);
368*344a7f5eSAndroid Build Coastguard Worker    method public android.content.ComponentName getEffectsSuppressor();
369*344a7f5eSAndroid Build Coastguard Worker    method public boolean isNotificationPolicyAccessGrantedForPackage(@NonNull String);
370*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_NOTIFICATION_LISTENERS) public void setNotificationListenerAccessGranted(@NonNull android.content.ComponentName, boolean, boolean);
371*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_TOAST_RATE_LIMITING) public void setToastRateLimitingEnabled(boolean);
372*344a7f5eSAndroid Build Coastguard Worker    method public void updateNotificationChannel(@NonNull String, int, @NonNull android.app.NotificationChannel);
373*344a7f5eSAndroid Build Coastguard Worker  }
374*344a7f5eSAndroid Build Coastguard Worker
375*344a7f5eSAndroid Build Coastguard Worker  public final class PendingIntent implements android.os.Parcelable {
376*344a7f5eSAndroid Build Coastguard Worker    method public boolean addCancelListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.PendingIntent.CancelListener);
377*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.GET_INTENT_SENDER_INTENT") public boolean intentFilterEquals(@Nullable android.app.PendingIntent);
378*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission("android.permission.GET_INTENT_SENDER_INTENT") public java.util.List<android.content.pm.ResolveInfo> queryIntentComponents(int);
379*344a7f5eSAndroid Build Coastguard Worker    method public void removeCancelListener(@NonNull android.app.PendingIntent.CancelListener);
380*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int FLAG_MUTABLE_UNAUDITED = 33554432; // 0x2000000
381*344a7f5eSAndroid Build Coastguard Worker  }
382*344a7f5eSAndroid Build Coastguard Worker
383*344a7f5eSAndroid Build Coastguard Worker  public static interface PendingIntent.CancelListener {
384*344a7f5eSAndroid Build Coastguard Worker    method public void onCanceled(@NonNull android.app.PendingIntent);
385*344a7f5eSAndroid Build Coastguard Worker  }
386*344a7f5eSAndroid Build Coastguard Worker
387*344a7f5eSAndroid Build Coastguard Worker  public final class PictureInPictureParams implements android.os.Parcelable {
388*344a7f5eSAndroid Build Coastguard Worker    method public float getAspectRatioFloat();
389*344a7f5eSAndroid Build Coastguard Worker    method public float getExpandedAspectRatioFloat();
390*344a7f5eSAndroid Build Coastguard Worker  }
391*344a7f5eSAndroid Build Coastguard Worker
392*344a7f5eSAndroid Build Coastguard Worker  public final class PictureInPictureUiState implements android.os.Parcelable {
393*344a7f5eSAndroid Build Coastguard Worker    ctor public PictureInPictureUiState(boolean);
394*344a7f5eSAndroid Build Coastguard Worker  }
395*344a7f5eSAndroid Build Coastguard Worker
396*344a7f5eSAndroid Build Coastguard Worker  public class PropertyInvalidatedCache<Query, Result> {
397*344a7f5eSAndroid Build Coastguard Worker    ctor public PropertyInvalidatedCache(int, @NonNull String, @NonNull String, @NonNull String, @NonNull android.app.PropertyInvalidatedCache.QueryHandler<Query,Result>);
398*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static String createPropertyName(@NonNull String, @NonNull String);
399*344a7f5eSAndroid Build Coastguard Worker    method public void disableForCurrentProcess();
400*344a7f5eSAndroid Build Coastguard Worker    method public static void disableForCurrentProcess(@NonNull String);
401*344a7f5eSAndroid Build Coastguard Worker    method public static void disableForTestMode();
402*344a7f5eSAndroid Build Coastguard Worker    method public final void disableInstance();
403*344a7f5eSAndroid Build Coastguard Worker    method public final void disableSystemWide();
404*344a7f5eSAndroid Build Coastguard Worker    method public final void forgetDisableLocal();
405*344a7f5eSAndroid Build Coastguard Worker    method public boolean getDisabledState();
406*344a7f5eSAndroid Build Coastguard Worker    method public void invalidateCache();
407*344a7f5eSAndroid Build Coastguard Worker    method public static void invalidateCache(@NonNull String, @NonNull String);
408*344a7f5eSAndroid Build Coastguard Worker    method public final boolean isDisabled();
409*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public Result query(@NonNull Query);
410*344a7f5eSAndroid Build Coastguard Worker    method public static void setTestMode(boolean);
411*344a7f5eSAndroid Build Coastguard Worker    method public void testPropertyName();
412*344a7f5eSAndroid Build Coastguard Worker    field public static final String MODULE_BLUETOOTH = "bluetooth";
413*344a7f5eSAndroid Build Coastguard Worker    field public static final String MODULE_SYSTEM = "system_server";
414*344a7f5eSAndroid Build Coastguard Worker    field public static final String MODULE_TELEPHONY = "telephony";
415*344a7f5eSAndroid Build Coastguard Worker    field public static final String MODULE_TEST = "test";
416*344a7f5eSAndroid Build Coastguard Worker  }
417*344a7f5eSAndroid Build Coastguard Worker
418*344a7f5eSAndroid Build Coastguard Worker  public abstract static class PropertyInvalidatedCache.QueryHandler<Q, R> {
419*344a7f5eSAndroid Build Coastguard Worker    ctor public PropertyInvalidatedCache.QueryHandler();
420*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public abstract R apply(@NonNull Q);
421*344a7f5eSAndroid Build Coastguard Worker    method public boolean shouldBypassCache(@NonNull Q);
422*344a7f5eSAndroid Build Coastguard Worker  }
423*344a7f5eSAndroid Build Coastguard Worker
424*344a7f5eSAndroid Build Coastguard Worker  public class StatusBarManager {
425*344a7f5eSAndroid Build Coastguard Worker    method public void cancelRequestAddTile(@NonNull String);
426*344a7f5eSAndroid Build Coastguard Worker    method public void clickNotification(@Nullable String, int, int, boolean);
427*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void collapsePanels();
428*344a7f5eSAndroid Build Coastguard Worker    method public void expandNotificationsPanel();
429*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public int getLastSystemKey();
430*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void handleSystemKey(@NonNull android.view.KeyEvent);
431*344a7f5eSAndroid Build Coastguard Worker    method public void sendNotificationFeedback(@Nullable String, @Nullable android.os.Bundle);
432*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setExpansionDisabledForSimNetworkLock(boolean);
433*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void togglePanel();
434*344a7f5eSAndroid Build Coastguard Worker  }
435*344a7f5eSAndroid Build Coastguard Worker
436*344a7f5eSAndroid Build Coastguard Worker  public static final class StatusBarManager.DisableInfo {
437*344a7f5eSAndroid Build Coastguard Worker    method public boolean isRotationSuggestionDisabled();
438*344a7f5eSAndroid Build Coastguard Worker  }
439*344a7f5eSAndroid Build Coastguard Worker
440*344a7f5eSAndroid Build Coastguard Worker  public final class SyncNotedAppOp implements android.os.Parcelable {
441*344a7f5eSAndroid Build Coastguard Worker    ctor public SyncNotedAppOp(int, @IntRange(from=0L) int, @Nullable String, @Nullable String);
442*344a7f5eSAndroid Build Coastguard Worker  }
443*344a7f5eSAndroid Build Coastguard Worker
444*344a7f5eSAndroid Build Coastguard Worker  public class TaskInfo {
445*344a7f5eSAndroid Build Coastguard Worker    method public boolean containsLaunchCookie(@NonNull android.os.IBinder);
446*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.content.res.Configuration getConfiguration();
447*344a7f5eSAndroid Build Coastguard Worker    method public int getDisplayId();
448*344a7f5eSAndroid Build Coastguard Worker    method public int getParentTaskId();
449*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.app.PictureInPictureParams getPictureInPictureParams();
450*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerToken getToken();
451*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasParentTask();
452*344a7f5eSAndroid Build Coastguard Worker    method public boolean shouldDockBigOverlays();
453*344a7f5eSAndroid Build Coastguard Worker  }
454*344a7f5eSAndroid Build Coastguard Worker
455*344a7f5eSAndroid Build Coastguard Worker  public class TimePickerDialog extends android.app.AlertDialog implements android.content.DialogInterface.OnClickListener android.widget.TimePicker.OnTimeChangedListener {
456*344a7f5eSAndroid Build Coastguard Worker    method public android.widget.TimePicker getTimePicker();
457*344a7f5eSAndroid Build Coastguard Worker  }
458*344a7f5eSAndroid Build Coastguard Worker
459*344a7f5eSAndroid Build Coastguard Worker  public final class UiAutomation {
460*344a7f5eSAndroid Build Coastguard Worker    method public void destroy();
461*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Set<java.lang.String> getAdoptedShellPermissions();
462*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean grantRuntimePermission(String, String, android.os.UserHandle);
463*344a7f5eSAndroid Build Coastguard Worker    method public boolean injectInputEvent(@NonNull android.view.InputEvent, boolean, boolean);
464*344a7f5eSAndroid Build Coastguard Worker    method public void injectInputEventToInputFilter(@NonNull android.view.InputEvent);
465*344a7f5eSAndroid Build Coastguard Worker    method public boolean isNodeInCache(@NonNull android.view.accessibility.AccessibilityNodeInfo);
466*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean revokeRuntimePermission(String, String, android.os.UserHandle);
467*344a7f5eSAndroid Build Coastguard Worker    method public void syncInputTransactions();
468*344a7f5eSAndroid Build Coastguard Worker    method public void syncInputTransactions(boolean);
469*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final java.util.Set<java.lang.String> ALL_PERMISSIONS;
470*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_NOT_ACCESSIBILITY_TOOL = 4; // 0x4
471*344a7f5eSAndroid Build Coastguard Worker  }
472*344a7f5eSAndroid Build Coastguard Worker
473*344a7f5eSAndroid Build Coastguard Worker  public class UiModeManager {
474*344a7f5eSAndroid Build Coastguard Worker    method public boolean isNightModeLocked();
475*344a7f5eSAndroid Build Coastguard Worker    method public boolean isUiModeLocked();
476*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(value=android.Manifest.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean releaseProjection(int);
477*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(value=android.Manifest.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean requestProjection(int);
478*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROJECTION_TYPE_ALL = -1; // 0xffffffff
479*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROJECTION_TYPE_AUTOMOTIVE = 1; // 0x1
480*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROJECTION_TYPE_NONE = 0; // 0x0
481*344a7f5eSAndroid Build Coastguard Worker  }
482*344a7f5eSAndroid Build Coastguard Worker
483*344a7f5eSAndroid Build Coastguard Worker  public class WallpaperManager {
484*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.graphics.Bitmap getBitmap();
485*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.graphics.Bitmap getBitmapAsUser(int, boolean, int);
486*344a7f5eSAndroid Build Coastguard Worker    method public boolean isLockscreenLiveWallpaperEnabled();
487*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.graphics.Rect peekBitmapDimensions();
488*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.graphics.Rect peekBitmapDimensions(int);
489*344a7f5eSAndroid Build Coastguard Worker    method public void setWallpaperZoomOut(@NonNull android.os.IBinder, float);
490*344a7f5eSAndroid Build Coastguard Worker    method public boolean shouldEnableWideColorGamut();
491*344a7f5eSAndroid Build Coastguard Worker    method public boolean wallpaperSupportsWcg(int);
492*344a7f5eSAndroid Build Coastguard Worker  }
493*344a7f5eSAndroid Build Coastguard Worker
494*344a7f5eSAndroid Build Coastguard Worker  public class WindowConfiguration implements java.lang.Comparable<android.app.WindowConfiguration> android.os.Parcelable {
495*344a7f5eSAndroid Build Coastguard Worker    ctor public WindowConfiguration();
496*344a7f5eSAndroid Build Coastguard Worker    method public int compareTo(android.app.WindowConfiguration);
497*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
498*344a7f5eSAndroid Build Coastguard Worker    method public int getActivityType();
499*344a7f5eSAndroid Build Coastguard Worker    method public android.graphics.Rect getAppBounds();
500*344a7f5eSAndroid Build Coastguard Worker    method public android.graphics.Rect getBounds();
501*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.graphics.Rect getMaxBounds();
502*344a7f5eSAndroid Build Coastguard Worker    method public int getRotation();
503*344a7f5eSAndroid Build Coastguard Worker    method public int getWindowingMode();
504*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isFloating(int);
505*344a7f5eSAndroid Build Coastguard Worker    method public void setActivityType(int);
506*344a7f5eSAndroid Build Coastguard Worker    method public void setAppBounds(android.graphics.Rect);
507*344a7f5eSAndroid Build Coastguard Worker    method public void setBounds(android.graphics.Rect);
508*344a7f5eSAndroid Build Coastguard Worker    method public void setMaxBounds(@Nullable android.graphics.Rect);
509*344a7f5eSAndroid Build Coastguard Worker    method public void setRotation(int);
510*344a7f5eSAndroid Build Coastguard Worker    method public void setTo(android.app.WindowConfiguration);
511*344a7f5eSAndroid Build Coastguard Worker    method public void setWindowingMode(int);
512*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(android.os.Parcel, int);
513*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACTIVITY_TYPE_ASSISTANT = 4; // 0x4
514*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACTIVITY_TYPE_DREAM = 5; // 0x5
515*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACTIVITY_TYPE_HOME = 2; // 0x2
516*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACTIVITY_TYPE_RECENTS = 3; // 0x3
517*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACTIVITY_TYPE_STANDARD = 1; // 0x1
518*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACTIVITY_TYPE_UNDEFINED = 0; // 0x0
519*344a7f5eSAndroid Build Coastguard Worker    field public static final int ROTATION_UNDEFINED = -1; // 0xffffffff
520*344a7f5eSAndroid Build Coastguard Worker    field public static final int WINDOWING_MODE_FREEFORM = 5; // 0x5
521*344a7f5eSAndroid Build Coastguard Worker    field public static final int WINDOWING_MODE_FULLSCREEN = 1; // 0x1
522*344a7f5eSAndroid Build Coastguard Worker    field public static final int WINDOWING_MODE_MULTI_WINDOW = 6; // 0x6
523*344a7f5eSAndroid Build Coastguard Worker    field public static final int WINDOWING_MODE_PINNED = 2; // 0x2
524*344a7f5eSAndroid Build Coastguard Worker    field public static final int WINDOWING_MODE_UNDEFINED = 0; // 0x0
525*344a7f5eSAndroid Build Coastguard Worker  }
526*344a7f5eSAndroid Build Coastguard Worker
527*344a7f5eSAndroid Build Coastguard Worker}
528*344a7f5eSAndroid Build Coastguard Worker
529*344a7f5eSAndroid Build Coastguard Workerpackage android.app.admin {
530*344a7f5eSAndroid Build Coastguard Worker
531*344a7f5eSAndroid Build Coastguard Worker  public final class AccountTypePolicyKey extends android.app.admin.PolicyKey {
532*344a7f5eSAndroid Build Coastguard Worker    ctor public AccountTypePolicyKey(@NonNull String, @NonNull String);
533*344a7f5eSAndroid Build Coastguard Worker  }
534*344a7f5eSAndroid Build Coastguard Worker
535*344a7f5eSAndroid Build Coastguard Worker  public final class DeviceAdminAuthority extends android.app.admin.Authority {
536*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.app.admin.DeviceAdminAuthority DEVICE_ADMIN_AUTHORITY;
537*344a7f5eSAndroid Build Coastguard Worker  }
538*344a7f5eSAndroid Build Coastguard Worker
539*344a7f5eSAndroid Build Coastguard Worker  public class DevicePolicyManager {
540*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public void acknowledgeNewUserDisclaimer();
541*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public void calculateHasIncompatibleAccounts();
542*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public void clearOrganizationId();
543*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.CLEAR_FREEZE_PERIOD) public void clearSystemUpdatePolicyFreezePeriodRecord();
544*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.FORCE_DEVICE_POLICY_MANAGER_LOGS) public long forceNetworkLogs();
545*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public void forceRemoveActiveAdmin(@NonNull android.content.ComponentName, int);
546*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.FORCE_DEVICE_POLICY_MANAGER_LOGS) public long forceSecurityLogs();
547*344a7f5eSAndroid Build Coastguard Worker    method public void forceUpdateUserSetupComplete(int);
548*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Set<java.lang.String> getDefaultCrossProfilePackages();
549*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getDeviceOwnerType(@NonNull android.content.ComponentName);
550*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getDevicePolicyManagementRoleHolderUpdaterPackage();
551*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Set<java.lang.String> getDisallowedSystemApps(@NonNull android.content.ComponentName, int, @NonNull String);
552*344a7f5eSAndroid Build Coastguard Worker    method public long getLastBugReportRequestTime();
553*344a7f5eSAndroid Build Coastguard Worker    method public long getLastNetworkLogRetrievalTime();
554*344a7f5eSAndroid Build Coastguard Worker    method public long getLastSecurityLogRetrievalTime();
555*344a7f5eSAndroid Build Coastguard Worker    method public java.util.List<java.lang.String> getOwnerInstalledCaCerts(@NonNull android.os.UserHandle);
556*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_ADMINS) public java.util.Set<java.lang.String> getPolicyExemptApps();
557*344a7f5eSAndroid Build Coastguard Worker    method public boolean isCurrentInputMethodSetByOwner();
558*344a7f5eSAndroid Build Coastguard Worker    method public boolean isFactoryResetProtectionPolicySupported();
559*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public boolean isNewUserDisclaimerAcknowledged();
560*344a7f5eSAndroid Build Coastguard Worker    method public boolean isRemovingAdmin(@NonNull android.content.ComponentName, int);
561*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static String operationSafetyReasonToString(int);
562*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static String operationToString(int);
563*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public void resetDefaultCrossProfileIntentFilters(int);
564*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void resetShouldAllowBypassingDevicePolicyManagementRoleQualificationState();
565*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(allOf={android.Manifest.permission.MANAGE_DEVICE_ADMINS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public void setActiveAdmin(@NonNull android.content.ComponentName, boolean, int);
566*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public boolean setDeviceOwner(@NonNull android.content.ComponentName, int);
567*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public boolean setDeviceOwnerOnly(@NonNull android.content.ComponentName, int);
568*344a7f5eSAndroid Build Coastguard Worker    method public void setDeviceOwnerType(@NonNull android.content.ComponentName, int);
569*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_ADMINS) public void setNextOperationSafety(int, int);
570*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public void setOverrideKeepProfilesRunning(boolean);
571*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(anyOf={android.Manifest.permission.MARK_DEVICE_ORGANIZATION_OWNED, android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS}, conditional=true) public void setProfileOwnerOnOrganizationOwnedDevice(@NonNull android.content.ComponentName, boolean);
572*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public boolean triggerDevicePolicyEngineMigration(boolean);
573*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACTION_DATA_SHARING_RESTRICTION_APPLIED = "android.app.action.DATA_SHARING_RESTRICTION_APPLIED";
574*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACTION_DEVICE_POLICY_CONSTANTS_CHANGED = "android.app.action.DEVICE_POLICY_CONSTANTS_CHANGED";
575*344a7f5eSAndroid Build Coastguard Worker    field public static final int DEVICE_OWNER_TYPE_DEFAULT = 0; // 0x0
576*344a7f5eSAndroid Build Coastguard Worker    field public static final int DEVICE_OWNER_TYPE_FINANCED = 1; // 0x1
577*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_CLEAR_APPLICATION_USER_DATA = 23; // 0x17
578*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_CREATE_AND_MANAGE_USER = 5; // 0x5
579*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_INSTALL_CA_CERT = 24; // 0x18
580*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_INSTALL_KEY_PAIR = 25; // 0x19
581*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_INSTALL_SYSTEM_UPDATE = 26; // 0x1a
582*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_LOCK_NOW = 1; // 0x1
583*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_LOGOUT_USER = 9; // 0x9
584*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_REBOOT = 7; // 0x7
585*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_REMOVE_ACTIVE_ADMIN = 27; // 0x1b
586*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_REMOVE_KEY_PAIR = 28; // 0x1c
587*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_REMOVE_USER = 6; // 0x6
588*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_REQUEST_BUGREPORT = 29; // 0x1d
589*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SAFETY_REASON_NONE = -1; // 0xffffffff
590*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_ALWAYS_ON_VPN_PACKAGE = 30; // 0x1e
591*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_APPLICATION_HIDDEN = 15; // 0xf
592*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_APPLICATION_RESTRICTIONS = 16; // 0x10
593*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_CAMERA_DISABLED = 31; // 0x1f
594*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_FACTORY_RESET_PROTECTION_POLICY = 32; // 0x20
595*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_GLOBAL_PRIVATE_DNS = 33; // 0x21
596*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_KEEP_UNINSTALLED_PACKAGES = 17; // 0x11
597*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_KEYGUARD_DISABLED = 12; // 0xc
598*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_LOCK_TASK_FEATURES = 18; // 0x12
599*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_LOCK_TASK_PACKAGES = 19; // 0x13
600*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_LOGOUT_ENABLED = 34; // 0x22
601*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_MASTER_VOLUME_MUTED = 35; // 0x23
602*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_OVERRIDE_APNS_ENABLED = 36; // 0x24
603*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_PACKAGES_SUSPENDED = 20; // 0x14
604*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_PERMISSION_GRANT_STATE = 37; // 0x25
605*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_PERMISSION_POLICY = 38; // 0x26
606*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_RESTRICTIONS_PROVIDER = 39; // 0x27
607*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_STATUS_BAR_DISABLED = 13; // 0xd
608*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_SYSTEM_SETTING = 11; // 0xb
609*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_SYSTEM_UPDATE_POLICY = 14; // 0xe
610*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_TRUST_AGENT_CONFIGURATION = 21; // 0x15
611*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_USER_CONTROL_DISABLED_PACKAGES = 22; // 0x16
612*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_USER_RESTRICTION = 10; // 0xa
613*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_START_USER_IN_BACKGROUND = 3; // 0x3
614*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_STOP_USER = 4; // 0x4
615*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SWITCH_USER = 2; // 0x2
616*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_UNINSTALL_CA_CERT = 40; // 0x28
617*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_WIPE_DATA = 8; // 0x8
618*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int STATUS_SPLIT_SYSTEM_USER_DEVICE_SYSTEM_USER = 14; // 0xe
619*344a7f5eSAndroid Build Coastguard Worker  }
620*344a7f5eSAndroid Build Coastguard Worker
621*344a7f5eSAndroid Build Coastguard Worker  public final class DpcAuthority extends android.app.admin.Authority {
622*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.app.admin.DpcAuthority DPC_AUTHORITY;
623*344a7f5eSAndroid Build Coastguard Worker  }
624*344a7f5eSAndroid Build Coastguard Worker
625*344a7f5eSAndroid Build Coastguard Worker  public final class FlagUnion extends android.app.admin.ResolutionMechanism<java.lang.Integer> {
626*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
627*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
628*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.FlagUnion> CREATOR;
629*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.app.admin.FlagUnion FLAG_UNION;
630*344a7f5eSAndroid Build Coastguard Worker  }
631*344a7f5eSAndroid Build Coastguard Worker
632*344a7f5eSAndroid Build Coastguard Worker  public final class IntentFilterPolicyKey extends android.app.admin.PolicyKey {
633*344a7f5eSAndroid Build Coastguard Worker    ctor public IntentFilterPolicyKey(@NonNull String, @NonNull android.content.IntentFilter);
634*344a7f5eSAndroid Build Coastguard Worker  }
635*344a7f5eSAndroid Build Coastguard Worker
636*344a7f5eSAndroid Build Coastguard Worker  public final class MostRecent<V> extends android.app.admin.ResolutionMechanism<V> {
637*344a7f5eSAndroid Build Coastguard Worker    ctor public MostRecent();
638*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
639*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
640*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.MostRecent<?>> CREATOR;
641*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.app.admin.MostRecent<?> MOST_RECENT;
642*344a7f5eSAndroid Build Coastguard Worker  }
643*344a7f5eSAndroid Build Coastguard Worker
644*344a7f5eSAndroid Build Coastguard Worker  public final class MostRestrictive<V> extends android.app.admin.ResolutionMechanism<V> {
645*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
646*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<V> getMostToLeastRestrictiveValues();
647*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
648*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.MostRestrictive<?>> CREATOR;
649*344a7f5eSAndroid Build Coastguard Worker  }
650*344a7f5eSAndroid Build Coastguard Worker
651*344a7f5eSAndroid Build Coastguard Worker  public final class PackagePermissionPolicyKey extends android.app.admin.PolicyKey {
652*344a7f5eSAndroid Build Coastguard Worker    ctor public PackagePermissionPolicyKey(@NonNull String, @NonNull String, @NonNull String);
653*344a7f5eSAndroid Build Coastguard Worker  }
654*344a7f5eSAndroid Build Coastguard Worker
655*344a7f5eSAndroid Build Coastguard Worker  public final class PackagePolicyKey extends android.app.admin.PolicyKey {
656*344a7f5eSAndroid Build Coastguard Worker    ctor public PackagePolicyKey(@NonNull String, @NonNull String);
657*344a7f5eSAndroid Build Coastguard Worker  }
658*344a7f5eSAndroid Build Coastguard Worker
659*344a7f5eSAndroid Build Coastguard Worker  public final class PolicyState<V> implements android.os.Parcelable {
660*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.admin.ResolutionMechanism<V> getResolutionMechanism();
661*344a7f5eSAndroid Build Coastguard Worker  }
662*344a7f5eSAndroid Build Coastguard Worker
663*344a7f5eSAndroid Build Coastguard Worker  public abstract class PolicyUpdateReceiver extends android.content.BroadcastReceiver {
664*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_POLICY_BUNDLE_KEY = "android.app.admin.extra.POLICY_BUNDLE_KEY";
665*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_POLICY_KEY = "android.app.admin.extra.POLICY_KEY";
666*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_POLICY_TARGET_USER_ID = "android.app.admin.extra.POLICY_TARGET_USER_ID";
667*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_POLICY_UPDATE_RESULT_KEY = "android.app.admin.extra.POLICY_UPDATE_RESULT_KEY";
668*344a7f5eSAndroid Build Coastguard Worker  }
669*344a7f5eSAndroid Build Coastguard Worker
670*344a7f5eSAndroid Build Coastguard Worker  public abstract class ResolutionMechanism<V> implements android.os.Parcelable {
671*344a7f5eSAndroid Build Coastguard Worker  }
672*344a7f5eSAndroid Build Coastguard Worker
673*344a7f5eSAndroid Build Coastguard Worker  public static final class SecurityLog.SecurityEvent implements android.os.Parcelable {
674*344a7f5eSAndroid Build Coastguard Worker    ctor public SecurityLog.SecurityEvent(long, byte[]);
675*344a7f5eSAndroid Build Coastguard Worker  }
676*344a7f5eSAndroid Build Coastguard Worker
677*344a7f5eSAndroid Build Coastguard Worker  public final class StringSetUnion extends android.app.admin.ResolutionMechanism<java.util.Set<java.lang.String>> {
678*344a7f5eSAndroid Build Coastguard Worker    ctor public StringSetUnion();
679*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
680*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
681*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.StringSetUnion> CREATOR;
682*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.app.admin.StringSetUnion STRING_SET_UNION;
683*344a7f5eSAndroid Build Coastguard Worker  }
684*344a7f5eSAndroid Build Coastguard Worker
685*344a7f5eSAndroid Build Coastguard Worker  public final class TargetUser {
686*344a7f5eSAndroid Build Coastguard Worker    field public static final int GLOBAL_USER_ID = -3; // 0xfffffffd
687*344a7f5eSAndroid Build Coastguard Worker    field public static final int LOCAL_USER_ID = -1; // 0xffffffff
688*344a7f5eSAndroid Build Coastguard Worker    field public static final int PARENT_USER_ID = -2; // 0xfffffffe
689*344a7f5eSAndroid Build Coastguard Worker    field public static final int UNKNOWN_USER_ID = -3; // 0xfffffffd
690*344a7f5eSAndroid Build Coastguard Worker  }
691*344a7f5eSAndroid Build Coastguard Worker
692*344a7f5eSAndroid Build Coastguard Worker  public final class TopPriority<V> extends android.app.admin.ResolutionMechanism<V> {
693*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
694*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.app.admin.Authority> getHighestToLowestPriorityAuthorities();
695*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
696*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.TopPriority<?>> CREATOR;
697*344a7f5eSAndroid Build Coastguard Worker  }
698*344a7f5eSAndroid Build Coastguard Worker
699*344a7f5eSAndroid Build Coastguard Worker  public final class UnknownAuthority extends android.app.admin.Authority {
700*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.app.admin.UnknownAuthority UNKNOWN_AUTHORITY;
701*344a7f5eSAndroid Build Coastguard Worker  }
702*344a7f5eSAndroid Build Coastguard Worker
703*344a7f5eSAndroid Build Coastguard Worker  public final class UnsafeStateException extends java.lang.IllegalStateException implements android.os.Parcelable {
704*344a7f5eSAndroid Build Coastguard Worker    ctor public UnsafeStateException(int, int);
705*344a7f5eSAndroid Build Coastguard Worker    method public int getOperation();
706*344a7f5eSAndroid Build Coastguard Worker  }
707*344a7f5eSAndroid Build Coastguard Worker
708*344a7f5eSAndroid Build Coastguard Worker  public final class UserRestrictionPolicyKey extends android.app.admin.PolicyKey {
709*344a7f5eSAndroid Build Coastguard Worker    ctor public UserRestrictionPolicyKey(@NonNull String, @NonNull String);
710*344a7f5eSAndroid Build Coastguard Worker  }
711*344a7f5eSAndroid Build Coastguard Worker
712*344a7f5eSAndroid Build Coastguard Worker}
713*344a7f5eSAndroid Build Coastguard Worker
714*344a7f5eSAndroid Build Coastguard Workerpackage android.app.assist {
715*344a7f5eSAndroid Build Coastguard Worker
716*344a7f5eSAndroid Build Coastguard Worker  public final class ActivityId implements android.os.Parcelable {
717*344a7f5eSAndroid Build Coastguard Worker    ctor public ActivityId(int, @Nullable android.os.IBinder);
718*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
719*344a7f5eSAndroid Build Coastguard Worker    method public int getTaskId();
720*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.os.IBinder getToken();
721*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
722*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.app.assist.ActivityId> CREATOR;
723*344a7f5eSAndroid Build Coastguard Worker  }
724*344a7f5eSAndroid Build Coastguard Worker
725*344a7f5eSAndroid Build Coastguard Worker}
726*344a7f5eSAndroid Build Coastguard Worker
727*344a7f5eSAndroid Build Coastguard Workerpackage android.app.blob {
728*344a7f5eSAndroid Build Coastguard Worker
729*344a7f5eSAndroid Build Coastguard Worker  public class BlobStoreManager {
730*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.app.blob.LeaseInfo getLeaseInfo(@NonNull android.app.blob.BlobHandle) throws java.io.IOException;
731*344a7f5eSAndroid Build Coastguard Worker    method public void waitForIdle(long) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException;
732*344a7f5eSAndroid Build Coastguard Worker  }
733*344a7f5eSAndroid Build Coastguard Worker
734*344a7f5eSAndroid Build Coastguard Worker  public final class LeaseInfo implements android.os.Parcelable {
735*344a7f5eSAndroid Build Coastguard Worker    ctor public LeaseInfo(@NonNull String, long, @IdRes int, @Nullable CharSequence);
736*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
737*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public CharSequence getDescription();
738*344a7f5eSAndroid Build Coastguard Worker    method @IdRes public int getDescriptionResId();
739*344a7f5eSAndroid Build Coastguard Worker    method public long getExpiryTimeMillis();
740*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getPackageName();
741*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
742*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.app.blob.LeaseInfo> CREATOR;
743*344a7f5eSAndroid Build Coastguard Worker  }
744*344a7f5eSAndroid Build Coastguard Worker
745*344a7f5eSAndroid Build Coastguard Worker}
746*344a7f5eSAndroid Build Coastguard Worker
747*344a7f5eSAndroid Build Coastguard Workerpackage android.app.cloudsearch {
748*344a7f5eSAndroid Build Coastguard Worker
749*344a7f5eSAndroid Build Coastguard Worker  public static final class SearchRequest.Builder {
750*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.cloudsearch.SearchRequest.Builder setCallerPackageName(@NonNull String);
751*344a7f5eSAndroid Build Coastguard Worker  }
752*344a7f5eSAndroid Build Coastguard Worker
753*344a7f5eSAndroid Build Coastguard Worker}
754*344a7f5eSAndroid Build Coastguard Worker
755*344a7f5eSAndroid Build Coastguard Workerpackage android.app.contentsuggestions {
756*344a7f5eSAndroid Build Coastguard Worker
757*344a7f5eSAndroid Build Coastguard Worker  public final class ContentSuggestionsManager {
758*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_CONTENT_SUGGESTIONS) public void resetTemporaryService(int);
759*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_CONTENT_SUGGESTIONS) public void setDefaultServiceEnabled(int, boolean);
760*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_CONTENT_SUGGESTIONS) public void setTemporaryService(int, @NonNull String, int);
761*344a7f5eSAndroid Build Coastguard Worker  }
762*344a7f5eSAndroid Build Coastguard Worker
763*344a7f5eSAndroid Build Coastguard Worker}
764*344a7f5eSAndroid Build Coastguard Worker
765*344a7f5eSAndroid Build Coastguard Workerpackage android.app.job {
766*344a7f5eSAndroid Build Coastguard Worker
767*344a7f5eSAndroid Build Coastguard Worker  public class JobParameters implements android.os.Parcelable {
768*344a7f5eSAndroid Build Coastguard Worker    field public static final int INTERNAL_STOP_REASON_USER_UI_STOP = 11; // 0xb
769*344a7f5eSAndroid Build Coastguard Worker  }
770*344a7f5eSAndroid Build Coastguard Worker
771*344a7f5eSAndroid Build Coastguard Worker}
772*344a7f5eSAndroid Build Coastguard Worker
773*344a7f5eSAndroid Build Coastguard Workerpackage android.app.prediction {
774*344a7f5eSAndroid Build Coastguard Worker
775*344a7f5eSAndroid Build Coastguard Worker  public final class AppPredictor {
776*344a7f5eSAndroid Build Coastguard Worker    method public android.app.prediction.AppPredictionSessionId getSessionId();
777*344a7f5eSAndroid Build Coastguard Worker  }
778*344a7f5eSAndroid Build Coastguard Worker
779*344a7f5eSAndroid Build Coastguard Worker}
780*344a7f5eSAndroid Build Coastguard Worker
781*344a7f5eSAndroid Build Coastguard Workerpackage android.app.tare {
782*344a7f5eSAndroid Build Coastguard Worker
783*344a7f5eSAndroid Build Coastguard Worker  public class EconomyManager {
784*344a7f5eSAndroid Build Coastguard Worker    method public int getEnabledMode();
785*344a7f5eSAndroid Build Coastguard Worker    field public static final int ENABLED_MODE_OFF = 0; // 0x0
786*344a7f5eSAndroid Build Coastguard Worker    field public static final int ENABLED_MODE_SHADOW = 2; // 0x2
787*344a7f5eSAndroid Build Coastguard Worker    field public static final String KEY_ENABLE_TARE_MODE = "enable_tare_mode";
788*344a7f5eSAndroid Build Coastguard Worker  }
789*344a7f5eSAndroid Build Coastguard Worker
790*344a7f5eSAndroid Build Coastguard Worker}
791*344a7f5eSAndroid Build Coastguard Worker
792*344a7f5eSAndroid Build Coastguard Workerpackage android.app.usage {
793*344a7f5eSAndroid Build Coastguard Worker
794*344a7f5eSAndroid Build Coastguard Worker  public class StorageStatsManager {
795*344a7f5eSAndroid Build Coastguard Worker    method public boolean isQuotaSupported(@NonNull java.util.UUID);
796*344a7f5eSAndroid Build Coastguard Worker    method public boolean isReservedSupported(@NonNull java.util.UUID);
797*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @WorkerThread public java.util.Collection<android.os.storage.CrateInfo> queryCratesForPackage(@NonNull java.util.UUID, @NonNull String, @NonNull android.os.UserHandle) throws java.io.IOException, android.content.pm.PackageManager.NameNotFoundException;
798*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @WorkerThread public java.util.Collection<android.os.storage.CrateInfo> queryCratesForUid(@NonNull java.util.UUID, int) throws java.io.IOException, android.content.pm.PackageManager.NameNotFoundException;
799*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_CRATES) @WorkerThread public java.util.Collection<android.os.storage.CrateInfo> queryCratesForUser(@NonNull java.util.UUID, @NonNull android.os.UserHandle) throws java.io.IOException, android.content.pm.PackageManager.NameNotFoundException;
800*344a7f5eSAndroid Build Coastguard Worker  }
801*344a7f5eSAndroid Build Coastguard Worker
802*344a7f5eSAndroid Build Coastguard Worker  public final class UsageStats implements android.os.Parcelable {
803*344a7f5eSAndroid Build Coastguard Worker    ctor public UsageStats();
804*344a7f5eSAndroid Build Coastguard Worker  }
805*344a7f5eSAndroid Build Coastguard Worker
806*344a7f5eSAndroid Build Coastguard Worker  public static final class UsageStats.Builder {
807*344a7f5eSAndroid Build Coastguard Worker    ctor public UsageStats.Builder();
808*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.usage.UsageStats build();
809*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.usage.UsageStats.Builder setFirstTimeStamp(long);
810*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.usage.UsageStats.Builder setLastTimeStamp(long);
811*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.usage.UsageStats.Builder setLastTimeUsed(long);
812*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.usage.UsageStats.Builder setPackageName(@Nullable String);
813*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.usage.UsageStats.Builder setTotalTimeInForeground(long);
814*344a7f5eSAndroid Build Coastguard Worker  }
815*344a7f5eSAndroid Build Coastguard Worker
816*344a7f5eSAndroid Build Coastguard Worker  public final class UsageStatsManager {
817*344a7f5eSAndroid Build Coastguard Worker    method public void forceUsageSourceSettingRead();
818*344a7f5eSAndroid Build Coastguard Worker    method public boolean isAppStandbyEnabled();
819*344a7f5eSAndroid Build Coastguard Worker  }
820*344a7f5eSAndroid Build Coastguard Worker
821*344a7f5eSAndroid Build Coastguard Worker}
822*344a7f5eSAndroid Build Coastguard Worker
823*344a7f5eSAndroid Build Coastguard Workerpackage android.appwidget {
824*344a7f5eSAndroid Build Coastguard Worker
825*344a7f5eSAndroid Build Coastguard Worker  public class AppWidgetManager {
826*344a7f5eSAndroid Build Coastguard Worker    method public void setBindAppWidgetPermission(@NonNull String, int, boolean);
827*344a7f5eSAndroid Build Coastguard Worker  }
828*344a7f5eSAndroid Build Coastguard Worker
829*344a7f5eSAndroid Build Coastguard Worker}
830*344a7f5eSAndroid Build Coastguard Worker
831*344a7f5eSAndroid Build Coastguard Workerpackage android.companion {
832*344a7f5eSAndroid Build Coastguard Worker
833*344a7f5eSAndroid Build Coastguard Worker  public abstract class CompanionDeviceService extends android.app.Service {
834*344a7f5eSAndroid Build Coastguard Worker    method public void onBindCompanionDeviceService(@NonNull android.content.Intent);
835*344a7f5eSAndroid Build Coastguard Worker  }
836*344a7f5eSAndroid Build Coastguard Worker
837*344a7f5eSAndroid Build Coastguard Worker}
838*344a7f5eSAndroid Build Coastguard Worker
839*344a7f5eSAndroid Build Coastguard Workerpackage android.content {
840*344a7f5eSAndroid Build Coastguard Worker
841*344a7f5eSAndroid Build Coastguard Worker  public final class AttributionSource implements android.os.Parcelable {
842*344a7f5eSAndroid Build Coastguard Worker    ctor public AttributionSource(int, @Nullable String, @Nullable String);
843*344a7f5eSAndroid Build Coastguard Worker    ctor public AttributionSource(int, @Nullable String, @Nullable String, @NonNull android.os.IBinder);
844*344a7f5eSAndroid Build Coastguard Worker    ctor public AttributionSource(int, @Nullable String, @Nullable String, @Nullable java.util.Set<java.lang.String>, @Nullable android.content.AttributionSource);
845*344a7f5eSAndroid Build Coastguard Worker    method public void enforceCallingPid();
846*344a7f5eSAndroid Build Coastguard Worker  }
847*344a7f5eSAndroid Build Coastguard Worker
848*344a7f5eSAndroid Build Coastguard Worker  public final class AutofillOptions implements android.os.Parcelable {
849*344a7f5eSAndroid Build Coastguard Worker    ctor public AutofillOptions(int, boolean);
850*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
851*344a7f5eSAndroid Build Coastguard Worker    method public static android.content.AutofillOptions forWhitelistingItself();
852*344a7f5eSAndroid Build Coastguard Worker    method public boolean isAugmentedAutofillEnabled(@NonNull android.content.Context);
853*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(android.os.Parcel, int);
854*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.content.AutofillOptions> CREATOR;
855*344a7f5eSAndroid Build Coastguard Worker    field public long appDisabledExpiration;
856*344a7f5eSAndroid Build Coastguard Worker    field public boolean augmentedAutofillEnabled;
857*344a7f5eSAndroid Build Coastguard Worker    field public final boolean compatModeEnabled;
858*344a7f5eSAndroid Build Coastguard Worker    field @Nullable public android.util.ArrayMap<java.lang.String,java.lang.Long> disabledActivities;
859*344a7f5eSAndroid Build Coastguard Worker    field public final int loggingLevel;
860*344a7f5eSAndroid Build Coastguard Worker    field @Nullable public android.util.ArraySet<android.content.ComponentName> whitelistedActivitiesForAugmentedAutofill;
861*344a7f5eSAndroid Build Coastguard Worker  }
862*344a7f5eSAndroid Build Coastguard Worker
863*344a7f5eSAndroid Build Coastguard Worker  public class ClipboardManager extends android.text.ClipboardManager {
864*344a7f5eSAndroid Build Coastguard Worker    method @Nullable @RequiresPermission(android.Manifest.permission.SET_CLIP_SOURCE) public String getPrimaryClipSource();
865*344a7f5eSAndroid Build Coastguard Worker  }
866*344a7f5eSAndroid Build Coastguard Worker
867*344a7f5eSAndroid Build Coastguard Worker  public final class ContentCaptureOptions implements android.os.Parcelable {
868*344a7f5eSAndroid Build Coastguard Worker    ctor public ContentCaptureOptions(int);
869*344a7f5eSAndroid Build Coastguard Worker    ctor public ContentCaptureOptions(int, int, int, int, int, @Nullable android.util.ArraySet<android.content.ComponentName>);
870*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
871*344a7f5eSAndroid Build Coastguard Worker    method public static android.content.ContentCaptureOptions forWhitelistingItself();
872*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(android.os.Parcel, int);
873*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.content.ContentCaptureOptions> CREATOR;
874*344a7f5eSAndroid Build Coastguard Worker    field public final int idleFlushingFrequencyMs;
875*344a7f5eSAndroid Build Coastguard Worker    field public final boolean lite;
876*344a7f5eSAndroid Build Coastguard Worker    field public final int logHistorySize;
877*344a7f5eSAndroid Build Coastguard Worker    field public final int loggingLevel;
878*344a7f5eSAndroid Build Coastguard Worker    field public final int maxBufferSize;
879*344a7f5eSAndroid Build Coastguard Worker    field public final int textChangeFlushingFrequencyMs;
880*344a7f5eSAndroid Build Coastguard Worker    field @Nullable public final android.util.ArraySet<android.content.ComponentName> whitelistedComponents;
881*344a7f5eSAndroid Build Coastguard Worker  }
882*344a7f5eSAndroid Build Coastguard Worker
883*344a7f5eSAndroid Build Coastguard Worker  public abstract class ContentProvider implements android.content.ComponentCallbacks2 {
884*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.os.UserHandle getUserHandleFromUri(@NonNull android.net.Uri);
885*344a7f5eSAndroid Build Coastguard Worker  }
886*344a7f5eSAndroid Build Coastguard Worker
887*344a7f5eSAndroid Build Coastguard Worker  public abstract class ContentResolver {
888*344a7f5eSAndroid Build Coastguard Worker    method public static String[] getSyncAdapterPackagesForAuthorityAsUser(String, int);
889*344a7f5eSAndroid Build Coastguard Worker  }
890*344a7f5eSAndroid Build Coastguard Worker
891*344a7f5eSAndroid Build Coastguard Worker  public abstract class Context {
892*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.io.File getCrateDir(@NonNull String);
893*344a7f5eSAndroid Build Coastguard Worker    method public abstract int getDisplayId();
894*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.UserHandle getUser();
895*344a7f5eSAndroid Build Coastguard Worker    method public int getUserId();
896*344a7f5eSAndroid Build Coastguard Worker    method public void setAutofillOptions(@Nullable android.content.AutofillOptions);
897*344a7f5eSAndroid Build Coastguard Worker    method public void setContentCaptureOptions(@Nullable android.content.ContentCaptureOptions);
898*344a7f5eSAndroid Build Coastguard Worker    method public void updateDeviceId(int);
899*344a7f5eSAndroid Build Coastguard Worker    field public static final String ATTENTION_SERVICE = "attention";
900*344a7f5eSAndroid Build Coastguard Worker    field public static final String CONTENT_CAPTURE_MANAGER_SERVICE = "content_capture";
901*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_IDLE_CONTROLLER = "deviceidle";
902*344a7f5eSAndroid Build Coastguard Worker    field public static final String DREAM_SERVICE = "dream";
903*344a7f5eSAndroid Build Coastguard Worker    field public static final String FONT_SERVICE = "font";
904*344a7f5eSAndroid Build Coastguard Worker    field public static final String POWER_EXEMPTION_SERVICE = "power_exemption";
905*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String POWER_WHITELIST_MANAGER = "power_whitelist";
906*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int RECEIVER_EXPORTED_UNAUDITED = 2; // 0x2
907*344a7f5eSAndroid Build Coastguard Worker    field public static final String TEST_NETWORK_SERVICE = "test_network";
908*344a7f5eSAndroid Build Coastguard Worker  }
909*344a7f5eSAndroid Build Coastguard Worker
910*344a7f5eSAndroid Build Coastguard Worker  public class ContextWrapper extends android.content.Context {
911*344a7f5eSAndroid Build Coastguard Worker    method public int getDisplayId();
912*344a7f5eSAndroid Build Coastguard Worker  }
913*344a7f5eSAndroid Build Coastguard Worker
914*344a7f5eSAndroid Build Coastguard Worker  public class Intent implements java.lang.Cloneable android.os.Parcelable {
915*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACTION_USER_STOPPED = "android.intent.action.USER_STOPPED";
916*344a7f5eSAndroid Build Coastguard Worker  }
917*344a7f5eSAndroid Build Coastguard Worker
918*344a7f5eSAndroid Build Coastguard Worker  public class SyncAdapterType implements android.os.Parcelable {
919*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getPackageName();
920*344a7f5eSAndroid Build Coastguard Worker  }
921*344a7f5eSAndroid Build Coastguard Worker
922*344a7f5eSAndroid Build Coastguard Worker}
923*344a7f5eSAndroid Build Coastguard Worker
924*344a7f5eSAndroid Build Coastguard Workerpackage android.content.integrity {
925*344a7f5eSAndroid Build Coastguard Worker
926*344a7f5eSAndroid Build Coastguard Worker  public class AppIntegrityManager {
927*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.content.integrity.RuleSet getCurrentRuleSet();
928*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<java.lang.String> getWhitelistedRuleProviders();
929*344a7f5eSAndroid Build Coastguard Worker  }
930*344a7f5eSAndroid Build Coastguard Worker
931*344a7f5eSAndroid Build Coastguard Worker}
932*344a7f5eSAndroid Build Coastguard Worker
933*344a7f5eSAndroid Build Coastguard Workerpackage android.content.pm {
934*344a7f5eSAndroid Build Coastguard Worker
935*344a7f5eSAndroid Build Coastguard Worker  public class ActivityInfo extends android.content.pm.ComponentInfo implements android.os.Parcelable {
936*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isTranslucentOrFloating(android.content.res.TypedArray);
937*344a7f5eSAndroid Build Coastguard Worker    field public static final long ALWAYS_SANDBOX_DISPLAY_APIS = 185004937L; // 0xb06f389L
938*344a7f5eSAndroid Build Coastguard Worker    field public static final long FORCE_NON_RESIZE_APP = 181136395L; // 0xacbec0bL
939*344a7f5eSAndroid Build Coastguard Worker    field public static final long FORCE_RESIZE_APP = 174042936L; // 0xa5faf38L
940*344a7f5eSAndroid Build Coastguard Worker    field public static final long NEVER_SANDBOX_DISPLAY_APIS = 184838306L; // 0xb0468a2L
941*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_CAMERA_COMPAT_DISABLE_FORCE_ROTATION = 263959004L; // 0xfbbb1dcL
942*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_CAMERA_COMPAT_DISABLE_REFRESH = 264304459L; // 0xfc0f74bL
943*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_CAMERA_COMPAT_ENABLE_REFRESH_VIA_PAUSE = 264301586L; // 0xfc0ec12L
944*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_ENABLE_COMPAT_FAKE_FOCUS = 263259275L; // 0xfb1048bL
945*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_ENABLE_COMPAT_IGNORE_REQUESTED_ORIENTATION = 254631730L; // 0xf2d5f32L
946*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_LANDSCAPE_ORIENTATION_TO_REVERSE_LANDSCAPE = 266124927L; // 0xfdcbe7fL
947*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_MIN_ASPECT_RATIO = 174042980L; // 0xa5faf64L
948*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_MIN_ASPECT_RATIO_EXCLUDE_PORTRAIT_FULLSCREEN = 218959984L; // 0xd0d1070L
949*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_MIN_ASPECT_RATIO_LARGE = 180326787L; // 0xabf9183L
950*344a7f5eSAndroid Build Coastguard Worker    field public static final float OVERRIDE_MIN_ASPECT_RATIO_LARGE_VALUE = 1.7777778f;
951*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_MIN_ASPECT_RATIO_MEDIUM = 180326845L; // 0xabf91bdL
952*344a7f5eSAndroid Build Coastguard Worker    field public static final float OVERRIDE_MIN_ASPECT_RATIO_MEDIUM_VALUE = 1.5f;
953*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_MIN_ASPECT_RATIO_PORTRAIT_ONLY = 203647190L; // 0xc2368d6L
954*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_MIN_ASPECT_RATIO_TO_ALIGN_WITH_SPLIT_SCREEN = 208648326L; // 0xc6fb886L
955*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_SANDBOX_VIEW_BOUNDS_APIS = 237531167L; // 0xe28701fL
956*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_UNDEFINED_ORIENTATION_TO_NOSENSOR = 265451093L; // 0xfd27655L
957*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_UNDEFINED_ORIENTATION_TO_PORTRAIT = 265452344L; // 0xfd27b38L
958*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_USE_DISPLAY_LANDSCAPE_NATURAL_ORIENTATION = 255940284L; // 0xf4156bcL
959*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESIZE_MODE_RESIZEABLE = 2; // 0x2
960*344a7f5eSAndroid Build Coastguard Worker  }
961*344a7f5eSAndroid Build Coastguard Worker
962*344a7f5eSAndroid Build Coastguard Worker  public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable {
963*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasRequestForegroundServiceExemption();
964*344a7f5eSAndroid Build Coastguard Worker    method public boolean isOnBackInvokedCallbackEnabled();
965*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public boolean isPrivilegedApp();
966*344a7f5eSAndroid Build Coastguard Worker    method public boolean isSystemApp();
967*344a7f5eSAndroid Build Coastguard Worker    method public void setEnableOnBackInvokedCallback(boolean);
968*344a7f5eSAndroid Build Coastguard Worker    field public static final int PRIVATE_FLAG_PRIVILEGED = 8; // 0x8
969*344a7f5eSAndroid Build Coastguard Worker    field public int privateFlags;
970*344a7f5eSAndroid Build Coastguard Worker  }
971*344a7f5eSAndroid Build Coastguard Worker
972*344a7f5eSAndroid Build Coastguard Worker  public class CrossProfileApps {
973*344a7f5eSAndroid Build Coastguard Worker    method public boolean canConfigureInteractAcrossProfiles(@NonNull String);
974*344a7f5eSAndroid Build Coastguard Worker  }
975*344a7f5eSAndroid Build Coastguard Worker
976*344a7f5eSAndroid Build Coastguard Worker  public class LauncherApps {
977*344a7f5eSAndroid Build Coastguard Worker    ctor public LauncherApps(android.content.Context);
978*344a7f5eSAndroid Build Coastguard Worker  }
979*344a7f5eSAndroid Build Coastguard Worker
980*344a7f5eSAndroid Build Coastguard Worker  public static class PackageInstaller.SessionParams implements android.os.Parcelable {
981*344a7f5eSAndroid Build Coastguard Worker    method public void setInstallFlagAllowTest();
982*344a7f5eSAndroid Build Coastguard Worker  }
983*344a7f5eSAndroid Build Coastguard Worker
984*344a7f5eSAndroid Build Coastguard Worker  public abstract class PackageManager {
985*344a7f5eSAndroid Build Coastguard Worker    method public abstract void addCrossProfileIntentFilter(@NonNull android.content.IntentFilter, int, int, int);
986*344a7f5eSAndroid Build Coastguard Worker    method public abstract void clearCrossProfileIntentFilters(int);
987*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @Nullable public final String getContentCaptureServicePackageName();
988*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getDefaultTextClassifierPackageName();
989*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.INJECT_EVENTS) public android.os.IBinder getHoldLockToken();
990*344a7f5eSAndroid Build Coastguard Worker    method public abstract int getInstallReason(@NonNull String, @NonNull android.os.UserHandle);
991*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public abstract java.util.List<android.content.pm.ApplicationInfo> getInstalledApplicationsAsUser(int, int);
992*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.content.pm.ApplicationInfo> getInstalledApplicationsAsUser(@NonNull android.content.pm.PackageManager.ApplicationInfoFlags, int);
993*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public abstract String[] getNamesForUids(int[]);
994*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getPermissionControllerPackageName();
995*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getSdkSandboxPackageName();
996*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public abstract String getServicesSystemSharedLibraryPackageName();
997*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public abstract String getSharedSystemSharedLibraryPackageName();
998*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getSystemTextClassifierPackageName();
999*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getWellbeingPackageName();
1000*344a7f5eSAndroid Build Coastguard Worker    method public void holdLock(android.os.IBinder, int);
1001*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MAKE_UID_VISIBLE) public void makeUidVisible(int, int);
1002*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.KEEP_UNINSTALLED_PACKAGES) public void setKeepUninstalledPackages(@NonNull java.util.List<java.lang.String>);
1003*344a7f5eSAndroid Build Coastguard Worker    field public static final String FEATURE_ADOPTABLE_STORAGE = "android.software.adoptable_storage";
1004*344a7f5eSAndroid Build Coastguard Worker    field public static final String FEATURE_COMMUNAL_MODE = "android.software.communal_mode";
1005*344a7f5eSAndroid Build Coastguard Worker    field public static final String FEATURE_FILE_BASED_ENCRYPTION = "android.software.file_based_encryption";
1006*344a7f5eSAndroid Build Coastguard Worker    field public static final String FEATURE_HDMI_CEC = "android.hardware.hdmi.cec";
1007*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_PERMISSION_REVOKE_WHEN_REQUESTED = 128; // 0x80
1008*344a7f5eSAndroid Build Coastguard Worker    field public static final int MATCH_KNOWN_PACKAGES = 4202496; // 0x402000
1009*344a7f5eSAndroid Build Coastguard Worker    field public static final String SYSTEM_SHARED_LIBRARY_SERVICES = "android.ext.services";
1010*344a7f5eSAndroid Build Coastguard Worker    field public static final String SYSTEM_SHARED_LIBRARY_SHARED = "android.ext.shared";
1011*344a7f5eSAndroid Build Coastguard Worker  }
1012*344a7f5eSAndroid Build Coastguard Worker
1013*344a7f5eSAndroid Build Coastguard Worker  public final class ProviderInfoList implements android.os.Parcelable {
1014*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
1015*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.content.pm.ProviderInfoList fromList(@NonNull java.util.List<android.content.pm.ProviderInfo>);
1016*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.content.pm.ProviderInfo> getList();
1017*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
1018*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.ProviderInfoList> CREATOR;
1019*344a7f5eSAndroid Build Coastguard Worker  }
1020*344a7f5eSAndroid Build Coastguard Worker
1021*344a7f5eSAndroid Build Coastguard Worker  public final class SharedLibraryInfo implements android.os.Parcelable {
1022*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<java.lang.String> getAllCodePaths();
1023*344a7f5eSAndroid Build Coastguard Worker    method public boolean isNative();
1024*344a7f5eSAndroid Build Coastguard Worker  }
1025*344a7f5eSAndroid Build Coastguard Worker
1026*344a7f5eSAndroid Build Coastguard Worker  public final class ShortcutInfo implements android.os.Parcelable {
1027*344a7f5eSAndroid Build Coastguard Worker    method public boolean isVisibleToPublisher();
1028*344a7f5eSAndroid Build Coastguard Worker  }
1029*344a7f5eSAndroid Build Coastguard Worker
1030*344a7f5eSAndroid Build Coastguard Worker  public class ShortcutManager {
1031*344a7f5eSAndroid Build Coastguard Worker    ctor public ShortcutManager(android.content.Context);
1032*344a7f5eSAndroid Build Coastguard Worker  }
1033*344a7f5eSAndroid Build Coastguard Worker
1034*344a7f5eSAndroid Build Coastguard Worker  public class UserInfo implements android.os.Parcelable {
1035*344a7f5eSAndroid Build Coastguard Worker    ctor public UserInfo(int, String, int);
1036*344a7f5eSAndroid Build Coastguard Worker    ctor public UserInfo(int, String, String, int);
1037*344a7f5eSAndroid Build Coastguard Worker    ctor public UserInfo(int, String, String, int, String);
1038*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public UserInfo();
1039*344a7f5eSAndroid Build Coastguard Worker    ctor public UserInfo(android.content.pm.UserInfo);
1040*344a7f5eSAndroid Build Coastguard Worker    method public boolean canHaveProfile();
1041*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
1042*344a7f5eSAndroid Build Coastguard Worker    method public android.os.UserHandle getUserHandle();
1043*344a7f5eSAndroid Build Coastguard Worker    method public boolean isAdmin();
1044*344a7f5eSAndroid Build Coastguard Worker    method public boolean isCloneProfile();
1045*344a7f5eSAndroid Build Coastguard Worker    method public boolean isDemo();
1046*344a7f5eSAndroid Build Coastguard Worker    method public boolean isEnabled();
1047*344a7f5eSAndroid Build Coastguard Worker    method public boolean isEphemeral();
1048*344a7f5eSAndroid Build Coastguard Worker    method public boolean isForTesting();
1049*344a7f5eSAndroid Build Coastguard Worker    method public boolean isFull();
1050*344a7f5eSAndroid Build Coastguard Worker    method public boolean isGuest();
1051*344a7f5eSAndroid Build Coastguard Worker    method public boolean isInitialized();
1052*344a7f5eSAndroid Build Coastguard Worker    method public boolean isMain();
1053*344a7f5eSAndroid Build Coastguard Worker    method public boolean isManagedProfile();
1054*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isPrimary();
1055*344a7f5eSAndroid Build Coastguard Worker    method public boolean isProfile();
1056*344a7f5eSAndroid Build Coastguard Worker    method public boolean isQuietModeEnabled();
1057*344a7f5eSAndroid Build Coastguard Worker    method public boolean isRestricted();
1058*344a7f5eSAndroid Build Coastguard Worker    method public boolean supportsSwitchTo();
1059*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean supportsSwitchToByUser();
1060*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(android.os.Parcel, int);
1061*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.UserInfo> CREATOR;
1062*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_ADMIN = 2; // 0x2
1063*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int FLAG_DEMO = 512; // 0x200
1064*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_DISABLED = 64; // 0x40
1065*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_EPHEMERAL = 256; // 0x100
1066*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_FULL = 1024; // 0x400
1067*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int FLAG_GUEST = 4; // 0x4
1068*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_INITIALIZED = 16; // 0x10
1069*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_MAIN = 16384; // 0x4000
1070*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int FLAG_MANAGED_PROFILE = 32; // 0x20
1071*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int FLAG_PRIMARY = 1; // 0x1
1072*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_PROFILE = 4096; // 0x1000
1073*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_QUIET_MODE = 128; // 0x80
1074*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int FLAG_RESTRICTED = 8; // 0x8
1075*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_SYSTEM = 2048; // 0x800
1076*344a7f5eSAndroid Build Coastguard Worker    field public static final int NO_PROFILE_GROUP_ID = -10000; // 0xffffd8f0
1077*344a7f5eSAndroid Build Coastguard Worker    field public boolean convertedFromPreCreated;
1078*344a7f5eSAndroid Build Coastguard Worker    field public long creationTime;
1079*344a7f5eSAndroid Build Coastguard Worker    field public int flags;
1080*344a7f5eSAndroid Build Coastguard Worker    field public boolean guestToRemove;
1081*344a7f5eSAndroid Build Coastguard Worker    field public String iconPath;
1082*344a7f5eSAndroid Build Coastguard Worker    field public int id;
1083*344a7f5eSAndroid Build Coastguard Worker    field public String lastLoggedInFingerprint;
1084*344a7f5eSAndroid Build Coastguard Worker    field public long lastLoggedInTime;
1085*344a7f5eSAndroid Build Coastguard Worker    field @Nullable public String name;
1086*344a7f5eSAndroid Build Coastguard Worker    field public boolean partial;
1087*344a7f5eSAndroid Build Coastguard Worker    field public boolean preCreated;
1088*344a7f5eSAndroid Build Coastguard Worker    field public int profileBadge;
1089*344a7f5eSAndroid Build Coastguard Worker    field public int profileGroupId;
1090*344a7f5eSAndroid Build Coastguard Worker    field public int restrictedProfileParentId;
1091*344a7f5eSAndroid Build Coastguard Worker    field public int serialNumber;
1092*344a7f5eSAndroid Build Coastguard Worker    field public String userType;
1093*344a7f5eSAndroid Build Coastguard Worker  }
1094*344a7f5eSAndroid Build Coastguard Worker
1095*344a7f5eSAndroid Build Coastguard Worker  public final class UserProperties implements android.os.Parcelable {
1096*344a7f5eSAndroid Build Coastguard Worker    method public int getShowInLauncher();
1097*344a7f5eSAndroid Build Coastguard Worker    field public static final int SHOW_IN_LAUNCHER_NO = 2; // 0x2
1098*344a7f5eSAndroid Build Coastguard Worker    field public static final int SHOW_IN_LAUNCHER_SEPARATE = 1; // 0x1
1099*344a7f5eSAndroid Build Coastguard Worker    field public static final int SHOW_IN_LAUNCHER_WITH_PARENT = 0; // 0x0
1100*344a7f5eSAndroid Build Coastguard Worker  }
1101*344a7f5eSAndroid Build Coastguard Worker
1102*344a7f5eSAndroid Build Coastguard Worker}
1103*344a7f5eSAndroid Build Coastguard Worker
1104*344a7f5eSAndroid Build Coastguard Workerpackage android.content.res {
1105*344a7f5eSAndroid Build Coastguard Worker
1106*344a7f5eSAndroid Build Coastguard Worker  public final class AssetManager implements java.lang.AutoCloseable {
1107*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String[] getApkPaths();
1108*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getLastResourceResolution();
1109*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getOverlayablesToString(String);
1110*344a7f5eSAndroid Build Coastguard Worker    method public void setResourceResolutionLoggingEnabled(boolean);
1111*344a7f5eSAndroid Build Coastguard Worker  }
1112*344a7f5eSAndroid Build Coastguard Worker
1113*344a7f5eSAndroid Build Coastguard Worker  public final class Configuration implements java.lang.Comparable<android.content.res.Configuration> android.os.Parcelable {
1114*344a7f5eSAndroid Build Coastguard Worker    field public int assetsSeq;
1115*344a7f5eSAndroid Build Coastguard Worker    field public final android.app.WindowConfiguration windowConfiguration;
1116*344a7f5eSAndroid Build Coastguard Worker  }
1117*344a7f5eSAndroid Build Coastguard Worker
1118*344a7f5eSAndroid Build Coastguard Worker}
1119*344a7f5eSAndroid Build Coastguard Worker
1120*344a7f5eSAndroid Build Coastguard Workerpackage android.content.rollback {
1121*344a7f5eSAndroid Build Coastguard Worker
1122*344a7f5eSAndroid Build Coastguard Worker  public final class RollbackManager {
1123*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS) public void blockRollbackManager(long);
1124*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS) public void expireRollbackForPackage(@NonNull String);
1125*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS) public void reloadPersistedData();
1126*344a7f5eSAndroid Build Coastguard Worker    field public static final String PROPERTY_ROLLBACK_LIFETIME_MILLIS = "rollback_lifetime_in_millis";
1127*344a7f5eSAndroid Build Coastguard Worker  }
1128*344a7f5eSAndroid Build Coastguard Worker
1129*344a7f5eSAndroid Build Coastguard Worker}
1130*344a7f5eSAndroid Build Coastguard Worker
1131*344a7f5eSAndroid Build Coastguard Workerpackage android.credentials {
1132*344a7f5eSAndroid Build Coastguard Worker
1133*344a7f5eSAndroid Build Coastguard Worker  public final class CredentialManager {
1134*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.QUERY_ALL_PACKAGES, "android.permission.LIST_ENABLED_CREDENTIAL_PROVIDERS"}) public java.util.List<android.credentials.CredentialProviderInfo> getCredentialProviderServicesForTesting(int);
1135*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isServiceEnabled(@NonNull android.content.Context);
1136*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROVIDER_FILTER_ALL_PROVIDERS = 0; // 0x0
1137*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROVIDER_FILTER_SYSTEM_PROVIDERS_ONLY = 1; // 0x1
1138*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROVIDER_FILTER_USER_PROVIDERS_ONLY = 2; // 0x2
1139*344a7f5eSAndroid Build Coastguard Worker  }
1140*344a7f5eSAndroid Build Coastguard Worker
1141*344a7f5eSAndroid Build Coastguard Worker  public final class CredentialProviderInfo implements android.os.Parcelable {
1142*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
1143*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<java.lang.String> getCapabilities();
1144*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.content.ComponentName getComponentName();
1145*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public CharSequence getLabel(@NonNull android.content.Context);
1146*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.graphics.drawable.Drawable getServiceIcon(@NonNull android.content.Context);
1147*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.content.pm.ServiceInfo getServiceInfo();
1148*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public CharSequence getSettingsSubtitle();
1149*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public boolean hasCapability(@NonNull String);
1150*344a7f5eSAndroid Build Coastguard Worker    method public boolean isEnabled();
1151*344a7f5eSAndroid Build Coastguard Worker    method public boolean isSystemProvider();
1152*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
1153*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.credentials.CredentialProviderInfo> CREATOR;
1154*344a7f5eSAndroid Build Coastguard Worker  }
1155*344a7f5eSAndroid Build Coastguard Worker
1156*344a7f5eSAndroid Build Coastguard Worker  public static final class CredentialProviderInfo.Builder {
1157*344a7f5eSAndroid Build Coastguard Worker    ctor public CredentialProviderInfo.Builder(@NonNull android.content.pm.ServiceInfo);
1158*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.credentials.CredentialProviderInfo.Builder addCapabilities(@NonNull java.util.List<java.lang.String>);
1159*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.credentials.CredentialProviderInfo build();
1160*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.credentials.CredentialProviderInfo.Builder setEnabled(boolean);
1161*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.credentials.CredentialProviderInfo.Builder setSettingsSubtitle(@Nullable CharSequence);
1162*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.credentials.CredentialProviderInfo.Builder setSystemProvider(boolean);
1163*344a7f5eSAndroid Build Coastguard Worker  }
1164*344a7f5eSAndroid Build Coastguard Worker
1165*344a7f5eSAndroid Build Coastguard Worker}
1166*344a7f5eSAndroid Build Coastguard Worker
1167*344a7f5eSAndroid Build Coastguard Workerpackage android.credentials.ui {
1168*344a7f5eSAndroid Build Coastguard Worker
1169*344a7f5eSAndroid Build Coastguard Worker  public final class AuthenticationEntry implements android.os.Parcelable {
1170*344a7f5eSAndroid Build Coastguard Worker    ctor public AuthenticationEntry(@NonNull String, @NonNull String, @NonNull android.app.slice.Slice, int);
1171*344a7f5eSAndroid Build Coastguard Worker    ctor public AuthenticationEntry(@NonNull String, @NonNull String, @NonNull android.app.slice.Slice, int, @NonNull android.content.Intent);
1172*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
1173*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.content.Intent getFrameworkExtrasIntent();
1174*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getKey();
1175*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.slice.Slice getSlice();
1176*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public int getStatus();
1177*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getSubkey();
1178*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
1179*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.credentials.ui.AuthenticationEntry> CREATOR;
1180*344a7f5eSAndroid Build Coastguard Worker    field public static final int STATUS_LOCKED = 0; // 0x0
1181*344a7f5eSAndroid Build Coastguard Worker    field public static final int STATUS_UNLOCKED_BUT_EMPTY_LESS_RECENT = 1; // 0x1
1182*344a7f5eSAndroid Build Coastguard Worker    field public static final int STATUS_UNLOCKED_BUT_EMPTY_MOST_RECENT = 2; // 0x2
1183*344a7f5eSAndroid Build Coastguard Worker  }
1184*344a7f5eSAndroid Build Coastguard Worker
1185*344a7f5eSAndroid Build Coastguard Worker  public final class CreateCredentialProviderData extends android.credentials.ui.ProviderData implements android.os.Parcelable {
1186*344a7f5eSAndroid Build Coastguard Worker    ctor public CreateCredentialProviderData(@NonNull String, @NonNull java.util.List<android.credentials.ui.Entry>, @Nullable android.credentials.ui.Entry);
1187*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.credentials.ui.Entry getRemoteEntry();
1188*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.credentials.ui.Entry> getSaveEntries();
1189*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.credentials.ui.CreateCredentialProviderData> CREATOR;
1190*344a7f5eSAndroid Build Coastguard Worker  }
1191*344a7f5eSAndroid Build Coastguard Worker
1192*344a7f5eSAndroid Build Coastguard Worker  public static final class CreateCredentialProviderData.Builder {
1193*344a7f5eSAndroid Build Coastguard Worker    ctor public CreateCredentialProviderData.Builder(@NonNull String);
1194*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.credentials.ui.CreateCredentialProviderData build();
1195*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.credentials.ui.CreateCredentialProviderData.Builder setRemoteEntry(@Nullable android.credentials.ui.Entry);
1196*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.credentials.ui.CreateCredentialProviderData.Builder setSaveEntries(@NonNull java.util.List<android.credentials.ui.Entry>);
1197*344a7f5eSAndroid Build Coastguard Worker  }
1198*344a7f5eSAndroid Build Coastguard Worker
1199*344a7f5eSAndroid Build Coastguard Worker  public final class DisabledProviderData extends android.credentials.ui.ProviderData implements android.os.Parcelable {
1200*344a7f5eSAndroid Build Coastguard Worker    ctor public DisabledProviderData(@NonNull String);
1201*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.credentials.ui.DisabledProviderData> CREATOR;
1202*344a7f5eSAndroid Build Coastguard Worker  }
1203*344a7f5eSAndroid Build Coastguard Worker
1204*344a7f5eSAndroid Build Coastguard Worker  public final class Entry implements android.os.Parcelable {
1205*344a7f5eSAndroid Build Coastguard Worker    ctor public Entry(@NonNull String, @NonNull String, @NonNull android.app.slice.Slice);
1206*344a7f5eSAndroid Build Coastguard Worker    ctor public Entry(@NonNull String, @NonNull String, @NonNull android.app.slice.Slice, @NonNull android.content.Intent);
1207*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
1208*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.content.Intent getFrameworkExtrasIntent();
1209*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getKey();
1210*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.app.PendingIntent getPendingIntent();
1211*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.slice.Slice getSlice();
1212*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getSubkey();
1213*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
1214*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.credentials.ui.Entry> CREATOR;
1215*344a7f5eSAndroid Build Coastguard Worker  }
1216*344a7f5eSAndroid Build Coastguard Worker
1217*344a7f5eSAndroid Build Coastguard Worker  public final class GetCredentialProviderData extends android.credentials.ui.ProviderData implements android.os.Parcelable {
1218*344a7f5eSAndroid Build Coastguard Worker    ctor public GetCredentialProviderData(@NonNull String, @NonNull java.util.List<android.credentials.ui.Entry>, @NonNull java.util.List<android.credentials.ui.Entry>, @NonNull java.util.List<android.credentials.ui.AuthenticationEntry>, @Nullable android.credentials.ui.Entry);
1219*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.credentials.ui.Entry> getActionChips();
1220*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.credentials.ui.AuthenticationEntry> getAuthenticationEntries();
1221*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.credentials.ui.Entry> getCredentialEntries();
1222*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.credentials.ui.Entry getRemoteEntry();
1223*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.credentials.ui.GetCredentialProviderData> CREATOR;
1224*344a7f5eSAndroid Build Coastguard Worker  }
1225*344a7f5eSAndroid Build Coastguard Worker
1226*344a7f5eSAndroid Build Coastguard Worker  public static final class GetCredentialProviderData.Builder {
1227*344a7f5eSAndroid Build Coastguard Worker    ctor public GetCredentialProviderData.Builder(@NonNull String);
1228*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.credentials.ui.GetCredentialProviderData build();
1229*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.credentials.ui.GetCredentialProviderData.Builder setActionChips(@NonNull java.util.List<android.credentials.ui.Entry>);
1230*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.credentials.ui.GetCredentialProviderData.Builder setAuthenticationEntries(@NonNull java.util.List<android.credentials.ui.AuthenticationEntry>);
1231*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.credentials.ui.GetCredentialProviderData.Builder setCredentialEntries(@NonNull java.util.List<android.credentials.ui.Entry>);
1232*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.credentials.ui.GetCredentialProviderData.Builder setRemoteEntry(@Nullable android.credentials.ui.Entry);
1233*344a7f5eSAndroid Build Coastguard Worker  }
1234*344a7f5eSAndroid Build Coastguard Worker
1235*344a7f5eSAndroid Build Coastguard Worker  public class IntentFactory {
1236*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.content.Intent createCredentialSelectorIntent(@NonNull android.credentials.ui.RequestInfo, @NonNull java.util.ArrayList<android.credentials.ui.ProviderData>, @NonNull java.util.ArrayList<android.credentials.ui.DisabledProviderData>, @NonNull android.os.ResultReceiver);
1237*344a7f5eSAndroid Build Coastguard Worker  }
1238*344a7f5eSAndroid Build Coastguard Worker
1239*344a7f5eSAndroid Build Coastguard Worker  public abstract class ProviderData implements android.os.Parcelable {
1240*344a7f5eSAndroid Build Coastguard Worker    ctor public ProviderData(@NonNull String);
1241*344a7f5eSAndroid Build Coastguard Worker    ctor protected ProviderData(@NonNull android.os.Parcel);
1242*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
1243*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getProviderFlattenedComponentName();
1244*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
1245*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_DISABLED_PROVIDER_DATA_LIST = "android.credentials.ui.extra.DISABLED_PROVIDER_DATA_LIST";
1246*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_ENABLED_PROVIDER_DATA_LIST = "android.credentials.ui.extra.ENABLED_PROVIDER_DATA_LIST";
1247*344a7f5eSAndroid Build Coastguard Worker  }
1248*344a7f5eSAndroid Build Coastguard Worker
1249*344a7f5eSAndroid Build Coastguard Worker  public final class RequestInfo implements android.os.Parcelable {
1250*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
1251*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getAppPackageName();
1252*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.credentials.CreateCredentialRequest getCreateCredentialRequest();
1253*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.credentials.GetCredentialRequest getGetCredentialRequest();
1254*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.IBinder getToken();
1255*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getType();
1256*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.credentials.ui.RequestInfo newCreateRequestInfo(@NonNull android.os.IBinder, @NonNull android.credentials.CreateCredentialRequest, @NonNull String);
1257*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.credentials.ui.RequestInfo newGetRequestInfo(@NonNull android.os.IBinder, @NonNull android.credentials.GetCredentialRequest, @NonNull String);
1258*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
1259*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.credentials.ui.RequestInfo> CREATOR;
1260*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final String EXTRA_REQUEST_INFO = "android.credentials.ui.extra.REQUEST_INFO";
1261*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final String TYPE_CREATE = "android.credentials.ui.TYPE_CREATE";
1262*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final String TYPE_GET = "android.credentials.ui.TYPE_GET";
1263*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final String TYPE_UNDEFINED = "android.credentials.ui.TYPE_UNDEFINED";
1264*344a7f5eSAndroid Build Coastguard Worker  }
1265*344a7f5eSAndroid Build Coastguard Worker
1266*344a7f5eSAndroid Build Coastguard Worker}
1267*344a7f5eSAndroid Build Coastguard Worker
1268*344a7f5eSAndroid Build Coastguard Workerpackage android.database.sqlite {
1269*344a7f5eSAndroid Build Coastguard Worker
1270*344a7f5eSAndroid Build Coastguard Worker  public class SQLiteCompatibilityWalFlags {
1271*344a7f5eSAndroid Build Coastguard Worker    method public static void reset();
1272*344a7f5eSAndroid Build Coastguard Worker  }
1273*344a7f5eSAndroid Build Coastguard Worker
1274*344a7f5eSAndroid Build Coastguard Worker  public final class SQLiteDebug {
1275*344a7f5eSAndroid Build Coastguard Worker    method public static void dump(android.util.Printer, String[]);
1276*344a7f5eSAndroid Build Coastguard Worker    method public static android.database.sqlite.SQLiteDebug.PagerStats getDatabaseInfo();
1277*344a7f5eSAndroid Build Coastguard Worker  }
1278*344a7f5eSAndroid Build Coastguard Worker
1279*344a7f5eSAndroid Build Coastguard Worker  public static class SQLiteDebug.DbStats {
1280*344a7f5eSAndroid Build Coastguard Worker    ctor public SQLiteDebug.DbStats(@NonNull String, long, long, int, int, int, int, boolean);
1281*344a7f5eSAndroid Build Coastguard Worker    field public final boolean arePoolStats;
1282*344a7f5eSAndroid Build Coastguard Worker    field public String dbName;
1283*344a7f5eSAndroid Build Coastguard Worker    field public long dbSize;
1284*344a7f5eSAndroid Build Coastguard Worker    field public int lookaside;
1285*344a7f5eSAndroid Build Coastguard Worker    field public long pageSize;
1286*344a7f5eSAndroid Build Coastguard Worker  }
1287*344a7f5eSAndroid Build Coastguard Worker
1288*344a7f5eSAndroid Build Coastguard Worker  public static class SQLiteDebug.PagerStats {
1289*344a7f5eSAndroid Build Coastguard Worker    ctor public SQLiteDebug.PagerStats();
1290*344a7f5eSAndroid Build Coastguard Worker    field public java.util.ArrayList<android.database.sqlite.SQLiteDebug.DbStats> dbStats;
1291*344a7f5eSAndroid Build Coastguard Worker    field public int largestMemAlloc;
1292*344a7f5eSAndroid Build Coastguard Worker    field public int memoryUsed;
1293*344a7f5eSAndroid Build Coastguard Worker    field public int pageCacheOverflow;
1294*344a7f5eSAndroid Build Coastguard Worker  }
1295*344a7f5eSAndroid Build Coastguard Worker
1296*344a7f5eSAndroid Build Coastguard Worker  public final class SQLiteDirectCursorDriver implements android.database.sqlite.SQLiteCursorDriver {
1297*344a7f5eSAndroid Build Coastguard Worker    ctor public SQLiteDirectCursorDriver(android.database.sqlite.SQLiteDatabase, String, String, android.os.CancellationSignal);
1298*344a7f5eSAndroid Build Coastguard Worker    method public void cursorClosed();
1299*344a7f5eSAndroid Build Coastguard Worker    method public void cursorDeactivated();
1300*344a7f5eSAndroid Build Coastguard Worker    method public void cursorRequeried(android.database.Cursor);
1301*344a7f5eSAndroid Build Coastguard Worker    method public android.database.Cursor query(android.database.sqlite.SQLiteDatabase.CursorFactory, String[]);
1302*344a7f5eSAndroid Build Coastguard Worker    method public void setBindArguments(String[]);
1303*344a7f5eSAndroid Build Coastguard Worker  }
1304*344a7f5eSAndroid Build Coastguard Worker
1305*344a7f5eSAndroid Build Coastguard Worker  public final class SQLiteGlobal {
1306*344a7f5eSAndroid Build Coastguard Worker    method public static String getDefaultJournalMode();
1307*344a7f5eSAndroid Build Coastguard Worker    method public static int getDefaultPageSize();
1308*344a7f5eSAndroid Build Coastguard Worker    method public static String getDefaultSyncMode();
1309*344a7f5eSAndroid Build Coastguard Worker    method public static int getIdleConnectionTimeout();
1310*344a7f5eSAndroid Build Coastguard Worker    method public static int getJournalSizeLimit();
1311*344a7f5eSAndroid Build Coastguard Worker    method public static int getWALAutoCheckpoint();
1312*344a7f5eSAndroid Build Coastguard Worker    method public static int getWALConnectionPoolSize();
1313*344a7f5eSAndroid Build Coastguard Worker    method public static String getWALSyncMode();
1314*344a7f5eSAndroid Build Coastguard Worker    method public static int releaseMemory();
1315*344a7f5eSAndroid Build Coastguard Worker  }
1316*344a7f5eSAndroid Build Coastguard Worker
1317*344a7f5eSAndroid Build Coastguard Worker}
1318*344a7f5eSAndroid Build Coastguard Worker
1319*344a7f5eSAndroid Build Coastguard Workerpackage android.graphics {
1320*344a7f5eSAndroid Build Coastguard Worker
1321*344a7f5eSAndroid Build Coastguard Worker  public final class ImageDecoder implements java.lang.AutoCloseable {
1322*344a7f5eSAndroid Build Coastguard Worker    method @AnyThread @NonNull public static android.graphics.ImageDecoder.Source createSource(android.content.res.Resources, @NonNull java.io.InputStream, int);
1323*344a7f5eSAndroid Build Coastguard Worker  }
1324*344a7f5eSAndroid Build Coastguard Worker
1325*344a7f5eSAndroid Build Coastguard Worker  public final class Rect implements android.os.Parcelable {
1326*344a7f5eSAndroid Build Coastguard Worker    method public void splitHorizontally(@NonNull android.graphics.Rect...);
1327*344a7f5eSAndroid Build Coastguard Worker    method public void splitVertically(@NonNull android.graphics.Rect...);
1328*344a7f5eSAndroid Build Coastguard Worker  }
1329*344a7f5eSAndroid Build Coastguard Worker
1330*344a7f5eSAndroid Build Coastguard Worker  public class Typeface {
1331*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.util.Pair<java.util.List<android.graphics.Typeface>,java.util.List<android.graphics.Typeface>> changeDefaultFontForTest(@NonNull java.util.List<android.graphics.Typeface>, @NonNull java.util.List<android.graphics.Typeface>);
1332*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static long[] deserializeFontMap(@NonNull java.nio.ByteBuffer, @NonNull java.util.Map<java.lang.String,android.graphics.Typeface>) throws java.io.IOException;
1333*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static android.os.SharedMemory getSystemFontMapSharedMemory();
1334*344a7f5eSAndroid Build Coastguard Worker    method public void releaseNativeObjectForTest();
1335*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.os.SharedMemory serializeFontMap(@NonNull java.util.Map<java.lang.String,android.graphics.Typeface>) throws android.system.ErrnoException, java.io.IOException;
1336*344a7f5eSAndroid Build Coastguard Worker  }
1337*344a7f5eSAndroid Build Coastguard Worker
1338*344a7f5eSAndroid Build Coastguard Worker}
1339*344a7f5eSAndroid Build Coastguard Worker
1340*344a7f5eSAndroid Build Coastguard Workerpackage android.graphics.drawable {
1341*344a7f5eSAndroid Build Coastguard Worker
1342*344a7f5eSAndroid Build Coastguard Worker  public class AdaptiveIconDrawable extends android.graphics.drawable.Drawable implements android.graphics.drawable.Drawable.Callback {
1343*344a7f5eSAndroid Build Coastguard Worker    method public android.graphics.Region getSafeZone();
1344*344a7f5eSAndroid Build Coastguard Worker    field public static final float MASK_SIZE = 100.0f;
1345*344a7f5eSAndroid Build Coastguard Worker  }
1346*344a7f5eSAndroid Build Coastguard Worker
1347*344a7f5eSAndroid Build Coastguard Worker  public class ColorDrawable extends android.graphics.drawable.Drawable {
1348*344a7f5eSAndroid Build Coastguard Worker    method public android.graphics.Xfermode getXfermode();
1349*344a7f5eSAndroid Build Coastguard Worker  }
1350*344a7f5eSAndroid Build Coastguard Worker
1351*344a7f5eSAndroid Build Coastguard Worker  public class RippleDrawable extends android.graphics.drawable.LayerDrawable {
1352*344a7f5eSAndroid Build Coastguard Worker    method public float getTargetBackgroundOpacity();
1353*344a7f5eSAndroid Build Coastguard Worker    method public void setBackgroundActive(boolean, boolean, boolean, boolean);
1354*344a7f5eSAndroid Build Coastguard Worker  }
1355*344a7f5eSAndroid Build Coastguard Worker
1356*344a7f5eSAndroid Build Coastguard Worker  public class ShapeDrawable extends android.graphics.drawable.Drawable {
1357*344a7f5eSAndroid Build Coastguard Worker    method public void setXfermode(@Nullable android.graphics.Xfermode);
1358*344a7f5eSAndroid Build Coastguard Worker  }
1359*344a7f5eSAndroid Build Coastguard Worker
1360*344a7f5eSAndroid Build Coastguard Worker}
1361*344a7f5eSAndroid Build Coastguard Worker
1362*344a7f5eSAndroid Build Coastguard Workerpackage android.graphics.fonts {
1363*344a7f5eSAndroid Build Coastguard Worker
1364*344a7f5eSAndroid Build Coastguard Worker  public class FontManager {
1365*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.UPDATE_FONTS) public android.text.FontConfig getFontConfig();
1366*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.UPDATE_FONTS) public int updateFontFamily(@NonNull android.graphics.fonts.FontFamilyUpdateRequest, @IntRange(from=0) int);
1367*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_ERROR_DOWNGRADING = -5; // 0xfffffffb
1368*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_ERROR_FAILED_TO_WRITE_FONT_FILE = -1; // 0xffffffff
1369*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_ERROR_FAILED_UPDATE_CONFIG = -6; // 0xfffffffa
1370*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_ERROR_FONT_NOT_FOUND = -9; // 0xfffffff7
1371*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_ERROR_FONT_UPDATER_DISABLED = -7; // 0xfffffff9
1372*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_ERROR_INVALID_FONT_FILE = -3; // 0xfffffffd
1373*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_ERROR_INVALID_FONT_NAME = -4; // 0xfffffffc
1374*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_ERROR_VERIFICATION_FAILURE = -2; // 0xfffffffe
1375*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_ERROR_VERSION_MISMATCH = -8; // 0xfffffff8
1376*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_SUCCESS = 0; // 0x0
1377*344a7f5eSAndroid Build Coastguard Worker  }
1378*344a7f5eSAndroid Build Coastguard Worker
1379*344a7f5eSAndroid Build Coastguard Worker}
1380*344a7f5eSAndroid Build Coastguard Worker
1381*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware {
1382*344a7f5eSAndroid Build Coastguard Worker
1383*344a7f5eSAndroid Build Coastguard Worker  public final class SensorPrivacyManager {
1384*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_SENSOR_PRIVACY) public void setSensorPrivacy(int, int, boolean);
1385*344a7f5eSAndroid Build Coastguard Worker  }
1386*344a7f5eSAndroid Build Coastguard Worker
1387*344a7f5eSAndroid Build Coastguard Worker  public static class SensorPrivacyManager.Sources {
1388*344a7f5eSAndroid Build Coastguard Worker    field public static final int DIALOG = 3; // 0x3
1389*344a7f5eSAndroid Build Coastguard Worker    field public static final int OTHER = 5; // 0x5
1390*344a7f5eSAndroid Build Coastguard Worker    field public static final int QS_TILE = 1; // 0x1
1391*344a7f5eSAndroid Build Coastguard Worker    field public static final int SAFETY_CENTER = 6; // 0x6
1392*344a7f5eSAndroid Build Coastguard Worker    field public static final int SETTINGS = 2; // 0x2
1393*344a7f5eSAndroid Build Coastguard Worker    field public static final int SHELL = 4; // 0x4
1394*344a7f5eSAndroid Build Coastguard Worker  }
1395*344a7f5eSAndroid Build Coastguard Worker
1396*344a7f5eSAndroid Build Coastguard Worker}
1397*344a7f5eSAndroid Build Coastguard Worker
1398*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.biometrics {
1399*344a7f5eSAndroid Build Coastguard Worker
1400*344a7f5eSAndroid Build Coastguard Worker  public class BiometricManager {
1401*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public android.hardware.biometrics.BiometricTestSession createTestSession(int);
1402*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public java.util.List<android.hardware.biometrics.SensorProperties> getSensorProperties();
1403*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public String getUiPackage();
1404*344a7f5eSAndroid Build Coastguard Worker  }
1405*344a7f5eSAndroid Build Coastguard Worker
1406*344a7f5eSAndroid Build Coastguard Worker  public class BiometricPrompt {
1407*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<java.lang.Integer> getAllowedSensorIds();
1408*344a7f5eSAndroid Build Coastguard Worker    method public boolean isAllowBackgroundAuthentication();
1409*344a7f5eSAndroid Build Coastguard Worker  }
1410*344a7f5eSAndroid Build Coastguard Worker
1411*344a7f5eSAndroid Build Coastguard Worker  public static class BiometricPrompt.Builder {
1412*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.TEST_BIOMETRIC, "android.permission.USE_BIOMETRIC_INTERNAL"}) public android.hardware.biometrics.BiometricPrompt.Builder setAllowBackgroundAuthentication(boolean);
1413*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.TEST_BIOMETRIC, "android.permission.USE_BIOMETRIC_INTERNAL"}) public android.hardware.biometrics.BiometricPrompt.Builder setAllowedSensorIds(@NonNull java.util.List<java.lang.Integer>);
1414*344a7f5eSAndroid Build Coastguard Worker  }
1415*344a7f5eSAndroid Build Coastguard Worker
1416*344a7f5eSAndroid Build Coastguard Worker  public class BiometricTestSession implements java.lang.AutoCloseable {
1417*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void acceptAuthentication(int);
1418*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void cleanupInternalState(int);
1419*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void close();
1420*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void finishEnroll(int);
1421*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void notifyAcquired(int, int);
1422*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void notifyError(int, int);
1423*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void rejectAuthentication(int);
1424*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void startEnroll(int);
1425*344a7f5eSAndroid Build Coastguard Worker  }
1426*344a7f5eSAndroid Build Coastguard Worker
1427*344a7f5eSAndroid Build Coastguard Worker  public class SensorProperties {
1428*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.hardware.biometrics.SensorProperties.ComponentInfo> getComponentInfo();
1429*344a7f5eSAndroid Build Coastguard Worker    method public int getSensorId();
1430*344a7f5eSAndroid Build Coastguard Worker    method public int getSensorStrength();
1431*344a7f5eSAndroid Build Coastguard Worker    field public static final int STRENGTH_CONVENIENCE = 0; // 0x0
1432*344a7f5eSAndroid Build Coastguard Worker    field public static final int STRENGTH_STRONG = 2; // 0x2
1433*344a7f5eSAndroid Build Coastguard Worker    field public static final int STRENGTH_WEAK = 1; // 0x1
1434*344a7f5eSAndroid Build Coastguard Worker  }
1435*344a7f5eSAndroid Build Coastguard Worker
1436*344a7f5eSAndroid Build Coastguard Worker  public static final class SensorProperties.ComponentInfo {
1437*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getComponentId();
1438*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getFirmwareVersion();
1439*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getHardwareVersion();
1440*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getSerialNumber();
1441*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getSoftwareVersion();
1442*344a7f5eSAndroid Build Coastguard Worker  }
1443*344a7f5eSAndroid Build Coastguard Worker
1444*344a7f5eSAndroid Build Coastguard Worker}
1445*344a7f5eSAndroid Build Coastguard Worker
1446*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.camera2 {
1447*344a7f5eSAndroid Build Coastguard Worker
1448*344a7f5eSAndroid Build Coastguard Worker  public final class CameraManager {
1449*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.hardware.camera2.CameraCharacteristics getCameraCharacteristics(@NonNull String, boolean) throws android.hardware.camera2.CameraAccessException;
1450*344a7f5eSAndroid Build Coastguard Worker    method public String[] getCameraIdListNoLazy() throws android.hardware.camera2.CameraAccessException;
1451*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.CAMERA) public void openCamera(@NonNull String, boolean, @Nullable android.os.Handler, @NonNull android.hardware.camera2.CameraDevice.StateCallback) throws android.hardware.camera2.CameraAccessException;
1452*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(allOf={android.Manifest.permission.SYSTEM_CAMERA, android.Manifest.permission.CAMERA}) public void openCamera(@NonNull String, int, @NonNull java.util.concurrent.Executor, @NonNull android.hardware.camera2.CameraDevice.StateCallback) throws android.hardware.camera2.CameraAccessException;
1453*344a7f5eSAndroid Build Coastguard Worker    method public static boolean shouldOverrideToPortrait(@Nullable android.content.pm.PackageManager, @Nullable String);
1454*344a7f5eSAndroid Build Coastguard Worker    field public static final String LANDSCAPE_TO_PORTRAIT_PROP = "camera.enable_landscape_to_portrait";
1455*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_CAMERA_LANDSCAPE_TO_PORTRAIT = 250678880L; // 0xef10e60L
1456*344a7f5eSAndroid Build Coastguard Worker  }
1457*344a7f5eSAndroid Build Coastguard Worker
1458*344a7f5eSAndroid Build Coastguard Worker  public abstract static class CameraManager.AvailabilityCallback {
1459*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.CAMERA_OPEN_CLOSE_LISTENER) public void onCameraClosed(@NonNull String);
1460*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.CAMERA_OPEN_CLOSE_LISTENER) public void onCameraOpened(@NonNull String, @NonNull String);
1461*344a7f5eSAndroid Build Coastguard Worker  }
1462*344a7f5eSAndroid Build Coastguard Worker
1463*344a7f5eSAndroid Build Coastguard Worker  public abstract class CameraMetadata<TKey> {
1464*344a7f5eSAndroid Build Coastguard Worker    field public static final int SENSOR_TEST_PATTERN_MODE_BLACK = 5; // 0x5
1465*344a7f5eSAndroid Build Coastguard Worker  }
1466*344a7f5eSAndroid Build Coastguard Worker
1467*344a7f5eSAndroid Build Coastguard Worker}
1468*344a7f5eSAndroid Build Coastguard Worker
1469*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.camera2.params {
1470*344a7f5eSAndroid Build Coastguard Worker
1471*344a7f5eSAndroid Build Coastguard Worker  public final class ColorSpaceProfiles {
1472*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Map<android.graphics.ColorSpace.Named,java.util.Map<java.lang.Integer,java.util.Set<java.lang.Long>>> getProfileMap();
1473*344a7f5eSAndroid Build Coastguard Worker  }
1474*344a7f5eSAndroid Build Coastguard Worker
1475*344a7f5eSAndroid Build Coastguard Worker  public final class OutputConfiguration implements android.os.Parcelable {
1476*344a7f5eSAndroid Build Coastguard Worker    method public void clearColorSpace();
1477*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.graphics.ColorSpace getColorSpace();
1478*344a7f5eSAndroid Build Coastguard Worker    method public void setColorSpace(@NonNull android.graphics.ColorSpace.Named);
1479*344a7f5eSAndroid Build Coastguard Worker  }
1480*344a7f5eSAndroid Build Coastguard Worker
1481*344a7f5eSAndroid Build Coastguard Worker}
1482*344a7f5eSAndroid Build Coastguard Worker
1483*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.devicestate {
1484*344a7f5eSAndroid Build Coastguard Worker
1485*344a7f5eSAndroid Build Coastguard Worker  public final class DeviceStateManager {
1486*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_STATE) public void cancelBaseStateOverride();
1487*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(value=android.Manifest.permission.CONTROL_DEVICE_STATE, conditional=true) public void cancelStateRequest();
1488*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public int[] getSupportedStates();
1489*344a7f5eSAndroid Build Coastguard Worker    method public void registerCallback(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.devicestate.DeviceStateManager.DeviceStateCallback);
1490*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_STATE) public void requestBaseStateOverride(@NonNull android.hardware.devicestate.DeviceStateRequest, @Nullable java.util.concurrent.Executor, @Nullable android.hardware.devicestate.DeviceStateRequest.Callback);
1491*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(value=android.Manifest.permission.CONTROL_DEVICE_STATE, conditional=true) public void requestState(@NonNull android.hardware.devicestate.DeviceStateRequest, @Nullable java.util.concurrent.Executor, @Nullable android.hardware.devicestate.DeviceStateRequest.Callback);
1492*344a7f5eSAndroid Build Coastguard Worker    method public void unregisterCallback(@NonNull android.hardware.devicestate.DeviceStateManager.DeviceStateCallback);
1493*344a7f5eSAndroid Build Coastguard Worker    field public static final int MAXIMUM_DEVICE_STATE = 255; // 0xff
1494*344a7f5eSAndroid Build Coastguard Worker    field public static final int MINIMUM_DEVICE_STATE = 0; // 0x0
1495*344a7f5eSAndroid Build Coastguard Worker  }
1496*344a7f5eSAndroid Build Coastguard Worker
1497*344a7f5eSAndroid Build Coastguard Worker  public static interface DeviceStateManager.DeviceStateCallback {
1498*344a7f5eSAndroid Build Coastguard Worker    method public default void onBaseStateChanged(int);
1499*344a7f5eSAndroid Build Coastguard Worker    method public void onStateChanged(int);
1500*344a7f5eSAndroid Build Coastguard Worker    method public default void onSupportedStatesChanged(@NonNull int[]);
1501*344a7f5eSAndroid Build Coastguard Worker  }
1502*344a7f5eSAndroid Build Coastguard Worker
1503*344a7f5eSAndroid Build Coastguard Worker  public final class DeviceStateRequest {
1504*344a7f5eSAndroid Build Coastguard Worker    method public int getFlags();
1505*344a7f5eSAndroid Build Coastguard Worker    method public int getState();
1506*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.hardware.devicestate.DeviceStateRequest.Builder newBuilder(int);
1507*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_CANCEL_WHEN_BASE_CHANGES = 1; // 0x1
1508*344a7f5eSAndroid Build Coastguard Worker  }
1509*344a7f5eSAndroid Build Coastguard Worker
1510*344a7f5eSAndroid Build Coastguard Worker  public static final class DeviceStateRequest.Builder {
1511*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.hardware.devicestate.DeviceStateRequest build();
1512*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.hardware.devicestate.DeviceStateRequest.Builder setFlags(int);
1513*344a7f5eSAndroid Build Coastguard Worker  }
1514*344a7f5eSAndroid Build Coastguard Worker
1515*344a7f5eSAndroid Build Coastguard Worker  public static interface DeviceStateRequest.Callback {
1516*344a7f5eSAndroid Build Coastguard Worker    method public default void onRequestActivated(@NonNull android.hardware.devicestate.DeviceStateRequest);
1517*344a7f5eSAndroid Build Coastguard Worker    method public default void onRequestCanceled(@NonNull android.hardware.devicestate.DeviceStateRequest);
1518*344a7f5eSAndroid Build Coastguard Worker    method public default void onRequestSuspended(@NonNull android.hardware.devicestate.DeviceStateRequest);
1519*344a7f5eSAndroid Build Coastguard Worker  }
1520*344a7f5eSAndroid Build Coastguard Worker
1521*344a7f5eSAndroid Build Coastguard Worker}
1522*344a7f5eSAndroid Build Coastguard Worker
1523*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.display {
1524*344a7f5eSAndroid Build Coastguard Worker
1525*344a7f5eSAndroid Build Coastguard Worker  public class AmbientDisplayConfiguration {
1526*344a7f5eSAndroid Build Coastguard Worker    ctor public AmbientDisplayConfiguration(android.content.Context);
1527*344a7f5eSAndroid Build Coastguard Worker    method public boolean alwaysOnAvailable();
1528*344a7f5eSAndroid Build Coastguard Worker    method public boolean alwaysOnAvailableForUser(int);
1529*344a7f5eSAndroid Build Coastguard Worker    method public boolean alwaysOnEnabled(int);
1530*344a7f5eSAndroid Build Coastguard Worker    method public void disableDozeSettings(int);
1531*344a7f5eSAndroid Build Coastguard Worker    method public void disableDozeSettings(boolean, int);
1532*344a7f5eSAndroid Build Coastguard Worker    method public void restoreDozeSettings(int);
1533*344a7f5eSAndroid Build Coastguard Worker  }
1534*344a7f5eSAndroid Build Coastguard Worker
1535*344a7f5eSAndroid Build Coastguard Worker  public final class DisplayManager {
1536*344a7f5eSAndroid Build Coastguard Worker    method public boolean areUserDisabledHdrTypesAllowed();
1537*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_USER_PREFERRED_DISPLAY_MODE) public void clearGlobalUserPreferredDisplayMode();
1538*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.Display.Mode getGlobalUserPreferredDisplayMode();
1539*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.hardware.display.HdrConversionMode getHdrConversionModeSetting();
1540*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public int[] getSupportedHdrOutputTypes();
1541*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public int[] getUserDisabledHdrTypes();
1542*344a7f5eSAndroid Build Coastguard Worker    method public boolean isMinimalPostProcessingRequested(int);
1543*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.ACCESS_SURFACE_FLINGER) public void overrideHdrTypes(int, @NonNull int[]);
1544*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setAreUserDisabledHdrTypesAllowed(boolean);
1545*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_USER_PREFERRED_DISPLAY_MODE) public void setGlobalUserPreferredDisplayMode(@NonNull android.view.Display.Mode);
1546*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_HDR_CONVERSION_MODE) public void setHdrConversionMode(@NonNull android.hardware.display.HdrConversionMode);
1547*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_REFRESH_RATE_SWITCHING_TYPE) public void setRefreshRateSwitchingType(int);
1548*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.OVERRIDE_DISPLAY_MODE_REQUESTS) public void setShouldAlwaysRespectAppRequestedMode(boolean);
1549*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setUserDisabledHdrTypes(@NonNull int[]);
1550*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.OVERRIDE_DISPLAY_MODE_REQUESTS) public boolean shouldAlwaysRespectAppRequestedMode();
1551*344a7f5eSAndroid Build Coastguard Worker    field public static final String DISPLAY_CATEGORY_REAR = "android.hardware.display.category.REAR";
1552*344a7f5eSAndroid Build Coastguard Worker    field public static final String HDR_OUTPUT_CONTROL_FLAG = "enable_hdr_output_control";
1553*344a7f5eSAndroid Build Coastguard Worker    field public static final int SWITCHING_TYPE_ACROSS_AND_WITHIN_GROUPS = 2; // 0x2
1554*344a7f5eSAndroid Build Coastguard Worker    field public static final int SWITCHING_TYPE_NONE = 0; // 0x0
1555*344a7f5eSAndroid Build Coastguard Worker    field public static final int SWITCHING_TYPE_RENDER_FRAME_RATE_ONLY = 3; // 0x3
1556*344a7f5eSAndroid Build Coastguard Worker    field public static final int SWITCHING_TYPE_WITHIN_GROUPS = 1; // 0x1
1557*344a7f5eSAndroid Build Coastguard Worker    field public static final int VIRTUAL_DISPLAY_FLAG_OWN_FOCUS = 16384; // 0x4000
1558*344a7f5eSAndroid Build Coastguard Worker    field public static final int VIRTUAL_DISPLAY_FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS = 512; // 0x200
1559*344a7f5eSAndroid Build Coastguard Worker  }
1560*344a7f5eSAndroid Build Coastguard Worker
1561*344a7f5eSAndroid Build Coastguard Worker}
1562*344a7f5eSAndroid Build Coastguard Worker
1563*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.fingerprint {
1564*344a7f5eSAndroid Build Coastguard Worker
1565*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class FingerprintManager {
1566*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public android.hardware.biometrics.BiometricTestSession createTestSession(int);
1567*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public java.util.List<android.hardware.biometrics.SensorProperties> getSensorProperties();
1568*344a7f5eSAndroid Build Coastguard Worker  }
1569*344a7f5eSAndroid Build Coastguard Worker
1570*344a7f5eSAndroid Build Coastguard Worker}
1571*344a7f5eSAndroid Build Coastguard Worker
1572*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.hdmi {
1573*344a7f5eSAndroid Build Coastguard Worker
1574*344a7f5eSAndroid Build Coastguard Worker  public final class HdmiControlServiceWrapper {
1575*344a7f5eSAndroid Build Coastguard Worker    ctor public HdmiControlServiceWrapper();
1576*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.hardware.hdmi.HdmiControlManager createHdmiControlManager();
1577*344a7f5eSAndroid Build Coastguard Worker    method @BinderThread public void setDeviceTypes(@NonNull int[]);
1578*344a7f5eSAndroid Build Coastguard Worker    method @BinderThread public void setPortInfo(@NonNull java.util.List<android.hardware.hdmi.HdmiPortInfo>);
1579*344a7f5eSAndroid Build Coastguard Worker    field public static final int DEVICE_PURE_CEC_SWITCH = 6; // 0x6
1580*344a7f5eSAndroid Build Coastguard Worker  }
1581*344a7f5eSAndroid Build Coastguard Worker
1582*344a7f5eSAndroid Build Coastguard Worker}
1583*344a7f5eSAndroid Build Coastguard Worker
1584*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.input {
1585*344a7f5eSAndroid Build Coastguard Worker
1586*344a7f5eSAndroid Build Coastguard Worker  public final class InputDeviceIdentifier implements android.os.Parcelable {
1587*344a7f5eSAndroid Build Coastguard Worker    ctor public InputDeviceIdentifier(@NonNull String, int, int);
1588*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
1589*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getDescriptor();
1590*344a7f5eSAndroid Build Coastguard Worker    method public int getProductId();
1591*344a7f5eSAndroid Build Coastguard Worker    method public int getVendorId();
1592*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
1593*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.input.InputDeviceIdentifier> CREATOR;
1594*344a7f5eSAndroid Build Coastguard Worker  }
1595*344a7f5eSAndroid Build Coastguard Worker
1596*344a7f5eSAndroid Build Coastguard Worker  public final class InputManager {
1597*344a7f5eSAndroid Build Coastguard Worker    method public void addUniqueIdAssociation(@NonNull String, @NonNull String);
1598*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.REMAP_MODIFIER_KEYS) public void clearAllModifierKeyRemappings();
1599*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getCurrentKeyboardLayoutForInputDevice(@NonNull android.hardware.input.InputDeviceIdentifier);
1600*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<java.lang.String> getKeyboardLayoutDescriptorsForInputDevice(@NonNull android.view.InputDevice);
1601*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getKeyboardLayoutTypeForLayoutDescriptor(@NonNull String);
1602*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.REMAP_MODIFIER_KEYS) public java.util.Map<java.lang.Integer,java.lang.Integer> getModifierKeyRemapping();
1603*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.REMAP_MODIFIER_KEYS) public void remapModifierKey(int, int);
1604*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.SET_KEYBOARD_LAYOUT) public void removeKeyboardLayoutForInputDevice(@NonNull android.hardware.input.InputDeviceIdentifier, @NonNull String);
1605*344a7f5eSAndroid Build Coastguard Worker    method public void removeUniqueIdAssociation(@NonNull String);
1606*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.SET_KEYBOARD_LAYOUT) public void setCurrentKeyboardLayoutForInputDevice(@NonNull android.hardware.input.InputDeviceIdentifier, @NonNull String);
1607*344a7f5eSAndroid Build Coastguard Worker    field public static final long BLOCK_UNTRUSTED_TOUCHES = 158002302L; // 0x96aec7eL
1608*344a7f5eSAndroid Build Coastguard Worker  }
1609*344a7f5eSAndroid Build Coastguard Worker
1610*344a7f5eSAndroid Build Coastguard Worker  public class InputSettings {
1611*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static void setMaximumObscuringOpacityForTouch(@NonNull android.content.Context, @FloatRange(from=0, to=1) float);
1612*344a7f5eSAndroid Build Coastguard Worker  }
1613*344a7f5eSAndroid Build Coastguard Worker
1614*344a7f5eSAndroid Build Coastguard Worker}
1615*344a7f5eSAndroid Build Coastguard Worker
1616*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.lights {
1617*344a7f5eSAndroid Build Coastguard Worker
1618*344a7f5eSAndroid Build Coastguard Worker  public final class Light implements android.os.Parcelable {
1619*344a7f5eSAndroid Build Coastguard Worker    method public int getCapabilities();
1620*344a7f5eSAndroid Build Coastguard Worker  }
1621*344a7f5eSAndroid Build Coastguard Worker
1622*344a7f5eSAndroid Build Coastguard Worker  public abstract class LightsManager {
1623*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public abstract android.hardware.lights.LightsManager.LightsSession openSession(int);
1624*344a7f5eSAndroid Build Coastguard Worker  }
1625*344a7f5eSAndroid Build Coastguard Worker
1626*344a7f5eSAndroid Build Coastguard Worker}
1627*344a7f5eSAndroid Build Coastguard Worker
1628*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.location {
1629*344a7f5eSAndroid Build Coastguard Worker
1630*344a7f5eSAndroid Build Coastguard Worker  public final class ContextHubManager {
1631*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public boolean disableTestMode();
1632*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public boolean enableTestMode();
1633*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public long[] getPreloadedNanoAppIds(@NonNull android.hardware.location.ContextHubInfo);
1634*344a7f5eSAndroid Build Coastguard Worker  }
1635*344a7f5eSAndroid Build Coastguard Worker
1636*344a7f5eSAndroid Build Coastguard Worker}
1637*344a7f5eSAndroid Build Coastguard Worker
1638*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.soundtrigger {
1639*344a7f5eSAndroid Build Coastguard Worker
1640*344a7f5eSAndroid Build Coastguard Worker  public class KeyphraseEnrollmentInfo {
1641*344a7f5eSAndroid Build Coastguard Worker    ctor public KeyphraseEnrollmentInfo(@NonNull android.content.pm.PackageManager);
1642*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.hardware.soundtrigger.KeyphraseMetadata getKeyphraseMetadata(@NonNull String, @NonNull java.util.Locale);
1643*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.content.Intent getManageKeyphraseIntent(int, @NonNull String, @NonNull java.util.Locale);
1644*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getParseError();
1645*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Collection<android.hardware.soundtrigger.KeyphraseMetadata> listKeyphraseMetadata();
1646*344a7f5eSAndroid Build Coastguard Worker    field public static final int MANAGE_ACTION_ENROLL = 0; // 0x0
1647*344a7f5eSAndroid Build Coastguard Worker    field public static final int MANAGE_ACTION_RE_ENROLL = 1; // 0x1
1648*344a7f5eSAndroid Build Coastguard Worker    field public static final int MANAGE_ACTION_UN_ENROLL = 2; // 0x2
1649*344a7f5eSAndroid Build Coastguard Worker  }
1650*344a7f5eSAndroid Build Coastguard Worker
1651*344a7f5eSAndroid Build Coastguard Worker  public final class KeyphraseMetadata implements android.os.Parcelable {
1652*344a7f5eSAndroid Build Coastguard Worker    ctor public KeyphraseMetadata(int, @NonNull String, @NonNull java.util.Set<java.util.Locale>, int);
1653*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
1654*344a7f5eSAndroid Build Coastguard Worker    method public int getId();
1655*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getKeyphrase();
1656*344a7f5eSAndroid Build Coastguard Worker    method public int getRecognitionModeFlags();
1657*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Set<java.util.Locale> getSupportedLocales();
1658*344a7f5eSAndroid Build Coastguard Worker    method public boolean supportsLocale(@Nullable java.util.Locale);
1659*344a7f5eSAndroid Build Coastguard Worker    method public boolean supportsPhrase(@Nullable String);
1660*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
1661*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.soundtrigger.KeyphraseMetadata> CREATOR;
1662*344a7f5eSAndroid Build Coastguard Worker  }
1663*344a7f5eSAndroid Build Coastguard Worker
1664*344a7f5eSAndroid Build Coastguard Worker  public class SoundTrigger {
1665*344a7f5eSAndroid Build Coastguard Worker    field public static final int MODEL_PARAM_INVALID = -1; // 0xffffffff
1666*344a7f5eSAndroid Build Coastguard Worker    field public static final int MODEL_PARAM_THRESHOLD_FACTOR = 0; // 0x0
1667*344a7f5eSAndroid Build Coastguard Worker  }
1668*344a7f5eSAndroid Build Coastguard Worker
1669*344a7f5eSAndroid Build Coastguard Worker  public static final class SoundTrigger.KeyphraseRecognitionExtra implements android.os.Parcelable {
1670*344a7f5eSAndroid Build Coastguard Worker    ctor public SoundTrigger.KeyphraseRecognitionExtra(int, int, int);
1671*344a7f5eSAndroid Build Coastguard Worker  }
1672*344a7f5eSAndroid Build Coastguard Worker
1673*344a7f5eSAndroid Build Coastguard Worker  public static final class SoundTrigger.ModelParamRange implements android.os.Parcelable {
1674*344a7f5eSAndroid Build Coastguard Worker    ctor public SoundTrigger.ModelParamRange(int, int);
1675*344a7f5eSAndroid Build Coastguard Worker  }
1676*344a7f5eSAndroid Build Coastguard Worker
1677*344a7f5eSAndroid Build Coastguard Worker  public static final class SoundTrigger.ModuleProperties implements android.os.Parcelable {
1678*344a7f5eSAndroid Build Coastguard Worker    ctor public SoundTrigger.ModuleProperties(int, @NonNull String, @NonNull String, @NonNull String, int, @NonNull String, int, int, int, int, boolean, int, boolean, int, boolean, int);
1679*344a7f5eSAndroid Build Coastguard Worker  }
1680*344a7f5eSAndroid Build Coastguard Worker
1681*344a7f5eSAndroid Build Coastguard Worker  public static final class SoundTrigger.RecognitionConfig implements android.os.Parcelable {
1682*344a7f5eSAndroid Build Coastguard Worker    ctor public SoundTrigger.RecognitionConfig(boolean, boolean, @Nullable android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionExtra[], @Nullable byte[], int);
1683*344a7f5eSAndroid Build Coastguard Worker    ctor public SoundTrigger.RecognitionConfig(boolean, boolean, @Nullable android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionExtra[], @Nullable byte[]);
1684*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
1685*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
1686*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.RecognitionConfig> CREATOR;
1687*344a7f5eSAndroid Build Coastguard Worker    field public final boolean allowMultipleTriggers;
1688*344a7f5eSAndroid Build Coastguard Worker    field public final int audioCapabilities;
1689*344a7f5eSAndroid Build Coastguard Worker    field public final boolean captureRequested;
1690*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public final byte[] data;
1691*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public final android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionExtra[] keyphrases;
1692*344a7f5eSAndroid Build Coastguard Worker  }
1693*344a7f5eSAndroid Build Coastguard Worker
1694*344a7f5eSAndroid Build Coastguard Worker  public static class SoundTrigger.RecognitionEvent {
1695*344a7f5eSAndroid Build Coastguard Worker    ctor public SoundTrigger.RecognitionEvent(int, int, boolean, int, int, int, boolean, @NonNull android.media.AudioFormat, @Nullable byte[], long);
1696*344a7f5eSAndroid Build Coastguard Worker  }
1697*344a7f5eSAndroid Build Coastguard Worker
1698*344a7f5eSAndroid Build Coastguard Worker}
1699*344a7f5eSAndroid Build Coastguard Worker
1700*344a7f5eSAndroid Build Coastguard Workerpackage android.inputmethodservice {
1701*344a7f5eSAndroid Build Coastguard Worker
1702*344a7f5eSAndroid Build Coastguard Worker  public abstract class AbstractInputMethodService extends android.window.WindowProviderService implements android.view.KeyEvent.Callback {
1703*344a7f5eSAndroid Build Coastguard Worker    method public final int getInitialDisplayId();
1704*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public final android.os.Bundle getWindowContextOptions();
1705*344a7f5eSAndroid Build Coastguard Worker    method public final int getWindowType();
1706*344a7f5eSAndroid Build Coastguard Worker  }
1707*344a7f5eSAndroid Build Coastguard Worker
1708*344a7f5eSAndroid Build Coastguard Worker  @UiContext public class InputMethodService extends android.inputmethodservice.AbstractInputMethodService {
1709*344a7f5eSAndroid Build Coastguard Worker    field public static final long DISALLOW_INPUT_METHOD_INTERFACE_OVERRIDE = 148086656L; // 0x8d39f80L
1710*344a7f5eSAndroid Build Coastguard Worker    field public static final long FINISH_INPUT_NO_FALLBACK_CONNECTION = 156215187L; // 0x94fa793L
1711*344a7f5eSAndroid Build Coastguard Worker  }
1712*344a7f5eSAndroid Build Coastguard Worker
1713*344a7f5eSAndroid Build Coastguard Worker}
1714*344a7f5eSAndroid Build Coastguard Worker
1715*344a7f5eSAndroid Build Coastguard Workerpackage android.location {
1716*344a7f5eSAndroid Build Coastguard Worker
1717*344a7f5eSAndroid Build Coastguard Worker  public final class GnssClock implements android.os.Parcelable {
1718*344a7f5eSAndroid Build Coastguard Worker    ctor public GnssClock();
1719*344a7f5eSAndroid Build Coastguard Worker    method public void reset();
1720*344a7f5eSAndroid Build Coastguard Worker    method public void resetBiasNanos();
1721*344a7f5eSAndroid Build Coastguard Worker    method public void resetBiasUncertaintyNanos();
1722*344a7f5eSAndroid Build Coastguard Worker    method public void resetDriftNanosPerSecond();
1723*344a7f5eSAndroid Build Coastguard Worker    method public void resetDriftUncertaintyNanosPerSecond();
1724*344a7f5eSAndroid Build Coastguard Worker    method public void resetElapsedRealtimeNanos();
1725*344a7f5eSAndroid Build Coastguard Worker    method public void resetElapsedRealtimeUncertaintyNanos();
1726*344a7f5eSAndroid Build Coastguard Worker    method public void resetFullBiasNanos();
1727*344a7f5eSAndroid Build Coastguard Worker    method public void resetLeapSecond();
1728*344a7f5eSAndroid Build Coastguard Worker    method public void resetReferenceCarrierFrequencyHzForIsb();
1729*344a7f5eSAndroid Build Coastguard Worker    method public void resetReferenceCodeTypeForIsb();
1730*344a7f5eSAndroid Build Coastguard Worker    method public void resetReferenceConstellationTypeForIsb();
1731*344a7f5eSAndroid Build Coastguard Worker    method public void resetTimeUncertaintyNanos();
1732*344a7f5eSAndroid Build Coastguard Worker    method public void set(android.location.GnssClock);
1733*344a7f5eSAndroid Build Coastguard Worker    method public void setBiasNanos(double);
1734*344a7f5eSAndroid Build Coastguard Worker    method public void setBiasUncertaintyNanos(@FloatRange(from=0.0f) double);
1735*344a7f5eSAndroid Build Coastguard Worker    method public void setDriftNanosPerSecond(double);
1736*344a7f5eSAndroid Build Coastguard Worker    method public void setDriftUncertaintyNanosPerSecond(@FloatRange(from=0.0f) double);
1737*344a7f5eSAndroid Build Coastguard Worker    method public void setElapsedRealtimeNanos(long);
1738*344a7f5eSAndroid Build Coastguard Worker    method public void setElapsedRealtimeUncertaintyNanos(@FloatRange(from=0.0f) double);
1739*344a7f5eSAndroid Build Coastguard Worker    method public void setFullBiasNanos(long);
1740*344a7f5eSAndroid Build Coastguard Worker    method public void setHardwareClockDiscontinuityCount(int);
1741*344a7f5eSAndroid Build Coastguard Worker    method public void setLeapSecond(int);
1742*344a7f5eSAndroid Build Coastguard Worker    method public void setReferenceCarrierFrequencyHzForIsb(@FloatRange(from=0.0) double);
1743*344a7f5eSAndroid Build Coastguard Worker    method public void setReferenceCodeTypeForIsb(@NonNull String);
1744*344a7f5eSAndroid Build Coastguard Worker    method public void setReferenceConstellationTypeForIsb(int);
1745*344a7f5eSAndroid Build Coastguard Worker    method public void setTimeNanos(long);
1746*344a7f5eSAndroid Build Coastguard Worker    method public void setTimeUncertaintyNanos(@FloatRange(from=0.0f) double);
1747*344a7f5eSAndroid Build Coastguard Worker  }
1748*344a7f5eSAndroid Build Coastguard Worker
1749*344a7f5eSAndroid Build Coastguard Worker  public final class GnssMeasurement implements android.os.Parcelable {
1750*344a7f5eSAndroid Build Coastguard Worker    ctor public GnssMeasurement();
1751*344a7f5eSAndroid Build Coastguard Worker    method public void reset();
1752*344a7f5eSAndroid Build Coastguard Worker    method public void resetAutomaticGainControlLevel();
1753*344a7f5eSAndroid Build Coastguard Worker    method public void resetBasebandCn0DbHz();
1754*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetCarrierCycles();
1755*344a7f5eSAndroid Build Coastguard Worker    method public void resetCarrierFrequencyHz();
1756*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetCarrierPhase();
1757*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetCarrierPhaseUncertainty();
1758*344a7f5eSAndroid Build Coastguard Worker    method public void resetCodeType();
1759*344a7f5eSAndroid Build Coastguard Worker    method public void resetCorrelationVectors();
1760*344a7f5eSAndroid Build Coastguard Worker    method public void resetFullInterSignalBiasNanos();
1761*344a7f5eSAndroid Build Coastguard Worker    method public void resetFullInterSignalBiasUncertaintyNanos();
1762*344a7f5eSAndroid Build Coastguard Worker    method public void resetSatelliteInterSignalBiasNanos();
1763*344a7f5eSAndroid Build Coastguard Worker    method public void resetSatelliteInterSignalBiasUncertaintyNanos();
1764*344a7f5eSAndroid Build Coastguard Worker    method public void resetSatellitePvt();
1765*344a7f5eSAndroid Build Coastguard Worker    method public void resetSnrInDb();
1766*344a7f5eSAndroid Build Coastguard Worker    method public void set(android.location.GnssMeasurement);
1767*344a7f5eSAndroid Build Coastguard Worker    method public void setAccumulatedDeltaRangeMeters(double);
1768*344a7f5eSAndroid Build Coastguard Worker    method public void setAccumulatedDeltaRangeState(int);
1769*344a7f5eSAndroid Build Coastguard Worker    method public void setAccumulatedDeltaRangeUncertaintyMeters(double);
1770*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setAutomaticGainControlLevelInDb(double);
1771*344a7f5eSAndroid Build Coastguard Worker    method public void setBasebandCn0DbHz(double);
1772*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setCarrierCycles(long);
1773*344a7f5eSAndroid Build Coastguard Worker    method public void setCarrierFrequencyHz(float);
1774*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setCarrierPhase(double);
1775*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setCarrierPhaseUncertainty(double);
1776*344a7f5eSAndroid Build Coastguard Worker    method public void setCn0DbHz(double);
1777*344a7f5eSAndroid Build Coastguard Worker    method public void setCodeType(@NonNull String);
1778*344a7f5eSAndroid Build Coastguard Worker    method public void setConstellationType(int);
1779*344a7f5eSAndroid Build Coastguard Worker    method public void setCorrelationVectors(@Nullable java.util.Collection<android.location.CorrelationVector>);
1780*344a7f5eSAndroid Build Coastguard Worker    method public void setFullInterSignalBiasNanos(double);
1781*344a7f5eSAndroid Build Coastguard Worker    method public void setFullInterSignalBiasUncertaintyNanos(@FloatRange(from=0.0) double);
1782*344a7f5eSAndroid Build Coastguard Worker    method public void setMultipathIndicator(int);
1783*344a7f5eSAndroid Build Coastguard Worker    method public void setPseudorangeRateMetersPerSecond(double);
1784*344a7f5eSAndroid Build Coastguard Worker    method public void setPseudorangeRateUncertaintyMetersPerSecond(double);
1785*344a7f5eSAndroid Build Coastguard Worker    method public void setReceivedSvTimeNanos(long);
1786*344a7f5eSAndroid Build Coastguard Worker    method public void setReceivedSvTimeUncertaintyNanos(long);
1787*344a7f5eSAndroid Build Coastguard Worker    method public void setSatelliteInterSignalBiasNanos(double);
1788*344a7f5eSAndroid Build Coastguard Worker    method public void setSatelliteInterSignalBiasUncertaintyNanos(@FloatRange(from=0.0) double);
1789*344a7f5eSAndroid Build Coastguard Worker    method public void setSatellitePvt(@Nullable android.location.SatellitePvt);
1790*344a7f5eSAndroid Build Coastguard Worker    method public void setSnrInDb(double);
1791*344a7f5eSAndroid Build Coastguard Worker    method public void setState(int);
1792*344a7f5eSAndroid Build Coastguard Worker    method public void setSvid(int);
1793*344a7f5eSAndroid Build Coastguard Worker    method public void setTimeOffsetNanos(double);
1794*344a7f5eSAndroid Build Coastguard Worker    field public static final int ADR_STATE_ALL = 31; // 0x1f
1795*344a7f5eSAndroid Build Coastguard Worker  }
1796*344a7f5eSAndroid Build Coastguard Worker
1797*344a7f5eSAndroid Build Coastguard Worker  public final class GnssNavigationMessage implements android.os.Parcelable {
1798*344a7f5eSAndroid Build Coastguard Worker    ctor public GnssNavigationMessage();
1799*344a7f5eSAndroid Build Coastguard Worker    method public void reset();
1800*344a7f5eSAndroid Build Coastguard Worker    method public void set(android.location.GnssNavigationMessage);
1801*344a7f5eSAndroid Build Coastguard Worker    method public void setData(byte[]);
1802*344a7f5eSAndroid Build Coastguard Worker    method public void setMessageId(@IntRange(from=0xffffffff, to=120) int);
1803*344a7f5eSAndroid Build Coastguard Worker    method public void setStatus(int);
1804*344a7f5eSAndroid Build Coastguard Worker    method public void setSubmessageId(@IntRange(from=1) int);
1805*344a7f5eSAndroid Build Coastguard Worker    method public void setSvid(@IntRange(from=1, to=200) int);
1806*344a7f5eSAndroid Build Coastguard Worker    method public void setType(int);
1807*344a7f5eSAndroid Build Coastguard Worker  }
1808*344a7f5eSAndroid Build Coastguard Worker
1809*344a7f5eSAndroid Build Coastguard Worker  public class LocationManager {
1810*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String[] getBackgroundThrottlingWhitelist();
1811*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.PackageTagsList getIgnoreSettingsAllowlist();
1812*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public String[] getIgnoreSettingsWhitelist();
1813*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public java.util.List<java.lang.String> getProviderPackages(@NonNull String);
1814*344a7f5eSAndroid Build Coastguard Worker  }
1815*344a7f5eSAndroid Build Coastguard Worker
1816*344a7f5eSAndroid Build Coastguard Worker}
1817*344a7f5eSAndroid Build Coastguard Worker
1818*344a7f5eSAndroid Build Coastguard Workerpackage android.media {
1819*344a7f5eSAndroid Build Coastguard Worker
1820*344a7f5eSAndroid Build Coastguard Worker  public final class AudioAttributes implements android.os.Parcelable {
1821*344a7f5eSAndroid Build Coastguard Worker    method public static int[] getSdkUsages();
1822*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static String usageToXsdString(int);
1823*344a7f5eSAndroid Build Coastguard Worker    method public static int xsdStringToUsage(@NonNull String);
1824*344a7f5eSAndroid Build Coastguard Worker  }
1825*344a7f5eSAndroid Build Coastguard Worker
1826*344a7f5eSAndroid Build Coastguard Worker  public final class AudioDeviceInfo {
1827*344a7f5eSAndroid Build Coastguard Worker    method public static void enforceValidAudioDeviceTypeIn(int);
1828*344a7f5eSAndroid Build Coastguard Worker    method public static void enforceValidAudioDeviceTypeOut(int);
1829*344a7f5eSAndroid Build Coastguard Worker  }
1830*344a7f5eSAndroid Build Coastguard Worker
1831*344a7f5eSAndroid Build Coastguard Worker  public final class AudioFocusRequest {
1832*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.media.AudioManager.OnAudioFocusChangeListener getOnAudioFocusChangeListener();
1833*344a7f5eSAndroid Build Coastguard Worker  }
1834*344a7f5eSAndroid Build Coastguard Worker
1835*344a7f5eSAndroid Build Coastguard Worker  public final class AudioFormat implements android.os.Parcelable {
1836*344a7f5eSAndroid Build Coastguard Worker    method public static int channelCountFromInChannelMask(int);
1837*344a7f5eSAndroid Build Coastguard Worker    method public static int channelCountFromOutChannelMask(int);
1838*344a7f5eSAndroid Build Coastguard Worker    method public static int getBytesPerSample(int);
1839*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isEncodingLinearPcm(int);
1840*344a7f5eSAndroid Build Coastguard Worker  }
1841*344a7f5eSAndroid Build Coastguard Worker
1842*344a7f5eSAndroid Build Coastguard Worker  public final class AudioHalVersionInfo implements java.lang.Comparable<android.media.AudioHalVersionInfo> android.os.Parcelable {
1843*344a7f5eSAndroid Build Coastguard Worker    method public int compareTo(@NonNull android.media.AudioHalVersionInfo);
1844*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
1845*344a7f5eSAndroid Build Coastguard Worker    method public int getHalType();
1846*344a7f5eSAndroid Build Coastguard Worker    method public int getMajorVersion();
1847*344a7f5eSAndroid Build Coastguard Worker    method public int getMinorVersion();
1848*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
1849*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.media.AudioHalVersionInfo AIDL_1_0;
1850*344a7f5eSAndroid Build Coastguard Worker    field public static final int AUDIO_HAL_TYPE_AIDL = 1; // 0x1
1851*344a7f5eSAndroid Build Coastguard Worker    field public static final int AUDIO_HAL_TYPE_HIDL = 0; // 0x0
1852*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.media.AudioHalVersionInfo> CREATOR;
1853*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.media.AudioHalVersionInfo HIDL_2_0;
1854*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.media.AudioHalVersionInfo HIDL_4_0;
1855*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.media.AudioHalVersionInfo HIDL_5_0;
1856*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.media.AudioHalVersionInfo HIDL_6_0;
1857*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.media.AudioHalVersionInfo HIDL_7_0;
1858*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.media.AudioHalVersionInfo HIDL_7_1;
1859*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final java.util.List<android.media.AudioHalVersionInfo> VERSIONS;
1860*344a7f5eSAndroid Build Coastguard Worker  }
1861*344a7f5eSAndroid Build Coastguard Worker
1862*344a7f5eSAndroid Build Coastguard Worker  public class AudioManager {
1863*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.QUERY_AUDIO_STATE") public int abandonAudioFocusForTest(@NonNull android.media.AudioFocusRequest, @NonNull String);
1864*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public void forceComputeCsdOnAllDevices(boolean);
1865*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public void forceUseFrameworkMel(boolean);
1866*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.CALL_AUDIO_INTERCEPTION) public android.media.AudioRecord getCallDownlinkExtractionAudioRecord(@NonNull android.media.AudioFormat);
1867*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.CALL_AUDIO_INTERCEPTION) public android.media.AudioTrack getCallUplinkInjectionAudioTrack(@NonNull android.media.AudioFormat);
1868*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public float getCsd();
1869*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static android.media.AudioDeviceInfo getDeviceInfoFromType(int);
1870*344a7f5eSAndroid Build Coastguard Worker    method @IntRange(from=0) @RequiresPermission("android.permission.QUERY_AUDIO_STATE") public long getFadeOutDurationOnFocusLossMillis(@NonNull android.media.AudioAttributes);
1871*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static android.media.AudioHalVersionInfo getHalVersion();
1872*344a7f5eSAndroid Build Coastguard Worker    method public static final int[] getPublicStreamTypes();
1873*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<java.lang.Integer> getReportedSurroundFormats();
1874*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public float getRs2Value();
1875*344a7f5eSAndroid Build Coastguard Worker    method public int getStreamMinVolumeInt(int);
1876*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Map<java.lang.Integer,java.lang.Boolean> getSurroundFormats();
1877*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasRegisteredDynamicPolicy();
1878*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public boolean isCsdEnabled();
1879*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_ROUTING, android.Manifest.permission.QUERY_AUDIO_STATE, android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED}) public boolean isFullVolumeDevice();
1880*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.CALL_AUDIO_INTERCEPTION) public boolean isPstnCallAudioInterceptable();
1881*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public boolean isVolumeControlUsingVolumeGroups();
1882*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.QUERY_AUDIO_STATE") public int requestAudioFocusForTest(@NonNull android.media.AudioFocusRequest, @NonNull String, int, int);
1883*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public void setCsd(float);
1884*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public void setNotifAliasRingForTest(boolean);
1885*344a7f5eSAndroid Build Coastguard Worker    method public void setRampingRingerEnabled(boolean);
1886*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public void setRs2Value(float);
1887*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setTestDeviceConnectionState(@NonNull android.media.AudioDeviceAttributes, boolean);
1888*344a7f5eSAndroid Build Coastguard Worker  }
1889*344a7f5eSAndroid Build Coastguard Worker
1890*344a7f5eSAndroid Build Coastguard Worker  public static final class AudioRecord.MetricsConstants {
1891*344a7f5eSAndroid Build Coastguard Worker    field public static final String ATTRIBUTES = "android.media.audiorecord.attributes";
1892*344a7f5eSAndroid Build Coastguard Worker    field public static final String CHANNEL_MASK = "android.media.audiorecord.channelMask";
1893*344a7f5eSAndroid Build Coastguard Worker    field public static final String DURATION_MS = "android.media.audiorecord.durationMs";
1894*344a7f5eSAndroid Build Coastguard Worker    field public static final String FRAME_COUNT = "android.media.audiorecord.frameCount";
1895*344a7f5eSAndroid Build Coastguard Worker    field public static final String PORT_ID = "android.media.audiorecord.portId";
1896*344a7f5eSAndroid Build Coastguard Worker    field public static final String START_COUNT = "android.media.audiorecord.startCount";
1897*344a7f5eSAndroid Build Coastguard Worker  }
1898*344a7f5eSAndroid Build Coastguard Worker
1899*344a7f5eSAndroid Build Coastguard Worker  public final class AudioRecordingConfiguration implements android.os.Parcelable {
1900*344a7f5eSAndroid Build Coastguard Worker    ctor public AudioRecordingConfiguration(int, int, int, android.media.AudioFormat, android.media.AudioFormat, int, String, int, boolean, int, android.media.audiofx.AudioEffect.Descriptor[], android.media.audiofx.AudioEffect.Descriptor[]);
1901*344a7f5eSAndroid Build Coastguard Worker    ctor public AudioRecordingConfiguration(int, int, int, android.media.AudioFormat, android.media.AudioFormat, int, String);
1902*344a7f5eSAndroid Build Coastguard Worker  }
1903*344a7f5eSAndroid Build Coastguard Worker
1904*344a7f5eSAndroid Build Coastguard Worker  public class AudioSystem {
1905*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS) public static float getMasterBalance();
1906*344a7f5eSAndroid Build Coastguard Worker    method public static final int getNumStreamTypes();
1907*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS) public static int setMasterBalance(float);
1908*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static String streamToString(int);
1909*344a7f5eSAndroid Build Coastguard Worker    field public static final int DEVICE_ROLE_DISABLED = 2; // 0x2
1910*344a7f5eSAndroid Build Coastguard Worker    field public static final int DEVICE_ROLE_NONE = 0; // 0x0
1911*344a7f5eSAndroid Build Coastguard Worker    field public static final int DEVICE_ROLE_PREFERRED = 1; // 0x1
1912*344a7f5eSAndroid Build Coastguard Worker    field public static final int DIRECT_BITSTREAM_SUPPORTED = 4; // 0x4
1913*344a7f5eSAndroid Build Coastguard Worker    field public static final int DIRECT_OFFLOAD_GAPLESS_SUPPORTED = 3; // 0x3
1914*344a7f5eSAndroid Build Coastguard Worker    field public static final int DIRECT_OFFLOAD_SUPPORTED = 1; // 0x1
1915*344a7f5eSAndroid Build Coastguard Worker    field public static final int OFFLOAD_GAPLESS_SUPPORTED = 2; // 0x2
1916*344a7f5eSAndroid Build Coastguard Worker    field public static final int OFFLOAD_SUPPORTED = 1; // 0x1
1917*344a7f5eSAndroid Build Coastguard Worker    field public static final int STREAM_DEFAULT = -1; // 0xffffffff
1918*344a7f5eSAndroid Build Coastguard Worker  }
1919*344a7f5eSAndroid Build Coastguard Worker
1920*344a7f5eSAndroid Build Coastguard Worker  public static final class AudioTrack.MetricsConstants {
1921*344a7f5eSAndroid Build Coastguard Worker    field public static final String ATTRIBUTES = "android.media.audiotrack.attributes";
1922*344a7f5eSAndroid Build Coastguard Worker    field public static final String CHANNEL_MASK = "android.media.audiotrack.channelMask";
1923*344a7f5eSAndroid Build Coastguard Worker    field public static final String ENCODING = "android.media.audiotrack.encoding";
1924*344a7f5eSAndroid Build Coastguard Worker    field public static final String FRAME_COUNT = "android.media.audiotrack.frameCount";
1925*344a7f5eSAndroid Build Coastguard Worker    field public static final String PORT_ID = "android.media.audiotrack.portId";
1926*344a7f5eSAndroid Build Coastguard Worker    field public static final String SAMPLE_RATE = "android.media.audiotrack.sampleRate";
1927*344a7f5eSAndroid Build Coastguard Worker  }
1928*344a7f5eSAndroid Build Coastguard Worker
1929*344a7f5eSAndroid Build Coastguard Worker  public abstract class Image implements java.lang.AutoCloseable {
1930*344a7f5eSAndroid Build Coastguard Worker    ctor protected Image();
1931*344a7f5eSAndroid Build Coastguard Worker  }
1932*344a7f5eSAndroid Build Coastguard Worker
1933*344a7f5eSAndroid Build Coastguard Worker  public abstract static class Image.Plane {
1934*344a7f5eSAndroid Build Coastguard Worker    ctor protected Image.Plane();
1935*344a7f5eSAndroid Build Coastguard Worker  }
1936*344a7f5eSAndroid Build Coastguard Worker
1937*344a7f5eSAndroid Build Coastguard Worker  public final class MediaCas implements java.lang.AutoCloseable {
1938*344a7f5eSAndroid Build Coastguard Worker    method public void forceResourceLost();
1939*344a7f5eSAndroid Build Coastguard Worker    method public boolean isAidlHal();
1940*344a7f5eSAndroid Build Coastguard Worker  }
1941*344a7f5eSAndroid Build Coastguard Worker
1942*344a7f5eSAndroid Build Coastguard Worker  public static final class MediaCodecInfo.VideoCapabilities.PerformancePoint {
1943*344a7f5eSAndroid Build Coastguard Worker    ctor public MediaCodecInfo.VideoCapabilities.PerformancePoint(int, int, int, int, @NonNull android.util.Size);
1944*344a7f5eSAndroid Build Coastguard Worker    ctor public MediaCodecInfo.VideoCapabilities.PerformancePoint(@NonNull android.media.MediaCodecInfo.VideoCapabilities.PerformancePoint, @NonNull android.util.Size);
1945*344a7f5eSAndroid Build Coastguard Worker    method public int getMaxFrameRate();
1946*344a7f5eSAndroid Build Coastguard Worker    method public long getMaxMacroBlockRate();
1947*344a7f5eSAndroid Build Coastguard Worker    method public int getMaxMacroBlocks();
1948*344a7f5eSAndroid Build Coastguard Worker  }
1949*344a7f5eSAndroid Build Coastguard Worker
1950*344a7f5eSAndroid Build Coastguard Worker  public final class MediaDescrambler implements java.lang.AutoCloseable {
1951*344a7f5eSAndroid Build Coastguard Worker    method public boolean isAidlHal();
1952*344a7f5eSAndroid Build Coastguard Worker  }
1953*344a7f5eSAndroid Build Coastguard Worker
1954*344a7f5eSAndroid Build Coastguard Worker  public final class MediaRoute2Info implements android.os.Parcelable {
1955*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getOriginalId();
1956*344a7f5eSAndroid Build Coastguard Worker  }
1957*344a7f5eSAndroid Build Coastguard Worker
1958*344a7f5eSAndroid Build Coastguard Worker  public class MediaRouter2.RoutingController {
1959*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getOriginalId();
1960*344a7f5eSAndroid Build Coastguard Worker  }
1961*344a7f5eSAndroid Build Coastguard Worker
1962*344a7f5eSAndroid Build Coastguard Worker  public final class PlaybackParams implements android.os.Parcelable {
1963*344a7f5eSAndroid Build Coastguard Worker    method public int getAudioStretchMode();
1964*344a7f5eSAndroid Build Coastguard Worker    method public android.media.PlaybackParams setAudioStretchMode(int);
1965*344a7f5eSAndroid Build Coastguard Worker  }
1966*344a7f5eSAndroid Build Coastguard Worker
1967*344a7f5eSAndroid Build Coastguard Worker  public static final class VolumeShaper.Configuration.Builder {
1968*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.media.VolumeShaper.Configuration.Builder setOptionFlags(int);
1969*344a7f5eSAndroid Build Coastguard Worker  }
1970*344a7f5eSAndroid Build Coastguard Worker
1971*344a7f5eSAndroid Build Coastguard Worker}
1972*344a7f5eSAndroid Build Coastguard Worker
1973*344a7f5eSAndroid Build Coastguard Workerpackage android.media.audiofx {
1974*344a7f5eSAndroid Build Coastguard Worker
1975*344a7f5eSAndroid Build Coastguard Worker  public class AudioEffect {
1976*344a7f5eSAndroid Build Coastguard Worker    method public static int byteArrayToInt(byte[]);
1977*344a7f5eSAndroid Build Coastguard Worker    method public static short byteArrayToShort(byte[]);
1978*344a7f5eSAndroid Build Coastguard Worker    method public int getParameter(byte[], byte[]) throws java.lang.IllegalStateException;
1979*344a7f5eSAndroid Build Coastguard Worker    method public int getParameter(int, byte[]) throws java.lang.IllegalStateException;
1980*344a7f5eSAndroid Build Coastguard Worker    method public int getParameter(int, int[]) throws java.lang.IllegalStateException;
1981*344a7f5eSAndroid Build Coastguard Worker    method public int getParameter(int, short[]) throws java.lang.IllegalStateException;
1982*344a7f5eSAndroid Build Coastguard Worker    method public int getParameter(int[], short[]) throws java.lang.IllegalStateException;
1983*344a7f5eSAndroid Build Coastguard Worker    method public static byte[] intToByteArray(int);
1984*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isEffectTypeAvailable(java.util.UUID);
1985*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isError(int);
1986*344a7f5eSAndroid Build Coastguard Worker    method public int setParameter(byte[], byte[]) throws java.lang.IllegalStateException;
1987*344a7f5eSAndroid Build Coastguard Worker    method public int setParameter(int, int) throws java.lang.IllegalStateException;
1988*344a7f5eSAndroid Build Coastguard Worker    method public int setParameter(int, short) throws java.lang.IllegalStateException;
1989*344a7f5eSAndroid Build Coastguard Worker    method public int setParameter(int, byte[]) throws java.lang.IllegalStateException;
1990*344a7f5eSAndroid Build Coastguard Worker    method public int setParameter(int[], int[]) throws java.lang.IllegalStateException;
1991*344a7f5eSAndroid Build Coastguard Worker    method public int setParameter(int[], byte[]) throws java.lang.IllegalStateException;
1992*344a7f5eSAndroid Build Coastguard Worker    method public void setParameterListener(android.media.audiofx.AudioEffect.OnParameterChangeListener);
1993*344a7f5eSAndroid Build Coastguard Worker    method public static byte[] shortToByteArray(short);
1994*344a7f5eSAndroid Build Coastguard Worker    field public static final java.util.UUID EFFECT_TYPE_NULL;
1995*344a7f5eSAndroid Build Coastguard Worker  }
1996*344a7f5eSAndroid Build Coastguard Worker
1997*344a7f5eSAndroid Build Coastguard Worker  public static class AudioEffect.Descriptor {
1998*344a7f5eSAndroid Build Coastguard Worker    ctor public AudioEffect.Descriptor(android.os.Parcel);
1999*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(android.os.Parcel);
2000*344a7f5eSAndroid Build Coastguard Worker  }
2001*344a7f5eSAndroid Build Coastguard Worker
2002*344a7f5eSAndroid Build Coastguard Worker  public static interface AudioEffect.OnParameterChangeListener {
2003*344a7f5eSAndroid Build Coastguard Worker    method public void onParameterChange(android.media.audiofx.AudioEffect, int, byte[], byte[]);
2004*344a7f5eSAndroid Build Coastguard Worker  }
2005*344a7f5eSAndroid Build Coastguard Worker
2006*344a7f5eSAndroid Build Coastguard Worker}
2007*344a7f5eSAndroid Build Coastguard Worker
2008*344a7f5eSAndroid Build Coastguard Workerpackage android.media.audiopolicy {
2009*344a7f5eSAndroid Build Coastguard Worker
2010*344a7f5eSAndroid Build Coastguard Worker  public static class AudioPolicy.Builder {
2011*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setIsTestFocusPolicy(boolean);
2012*344a7f5eSAndroid Build Coastguard Worker  }
2013*344a7f5eSAndroid Build Coastguard Worker
2014*344a7f5eSAndroid Build Coastguard Worker  public final class AudioProductStrategy implements android.os.Parcelable {
2015*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.media.AudioAttributes getDefaultAttributes();
2016*344a7f5eSAndroid Build Coastguard Worker    method public int getLegacyStreamTypeForAudioAttributes(@NonNull android.media.AudioAttributes);
2017*344a7f5eSAndroid Build Coastguard Worker    method public int getVolumeGroupIdForAudioAttributes(@NonNull android.media.AudioAttributes);
2018*344a7f5eSAndroid Build Coastguard Worker    method public int getVolumeGroupIdForLegacyStreamType(int);
2019*344a7f5eSAndroid Build Coastguard Worker  }
2020*344a7f5eSAndroid Build Coastguard Worker
2021*344a7f5eSAndroid Build Coastguard Worker}
2022*344a7f5eSAndroid Build Coastguard Worker
2023*344a7f5eSAndroid Build Coastguard Workerpackage android.media.metrics {
2024*344a7f5eSAndroid Build Coastguard Worker
2025*344a7f5eSAndroid Build Coastguard Worker  public final class LogSessionId {
2026*344a7f5eSAndroid Build Coastguard Worker    ctor public LogSessionId(@NonNull String);
2027*344a7f5eSAndroid Build Coastguard Worker  }
2028*344a7f5eSAndroid Build Coastguard Worker
2029*344a7f5eSAndroid Build Coastguard Worker}
2030*344a7f5eSAndroid Build Coastguard Worker
2031*344a7f5eSAndroid Build Coastguard Workerpackage android.media.soundtrigger {
2032*344a7f5eSAndroid Build Coastguard Worker
2033*344a7f5eSAndroid Build Coastguard Worker  public final class SoundTriggerInstrumentation {
2034*344a7f5eSAndroid Build Coastguard Worker    method public void setResourceContention(boolean);
2035*344a7f5eSAndroid Build Coastguard Worker    method public void triggerOnResourcesAvailable();
2036*344a7f5eSAndroid Build Coastguard Worker    method public void triggerRestart();
2037*344a7f5eSAndroid Build Coastguard Worker  }
2038*344a7f5eSAndroid Build Coastguard Worker
2039*344a7f5eSAndroid Build Coastguard Worker  public static interface SoundTriggerInstrumentation.GlobalCallback {
2040*344a7f5eSAndroid Build Coastguard Worker    method public default void onClientAttached();
2041*344a7f5eSAndroid Build Coastguard Worker    method public default void onClientDetached();
2042*344a7f5eSAndroid Build Coastguard Worker    method public default void onFrameworkDetached();
2043*344a7f5eSAndroid Build Coastguard Worker    method public void onModelLoaded(@NonNull android.media.soundtrigger.SoundTriggerInstrumentation.ModelSession);
2044*344a7f5eSAndroid Build Coastguard Worker    method public default void onPreempted();
2045*344a7f5eSAndroid Build Coastguard Worker    method public default void onRestarted();
2046*344a7f5eSAndroid Build Coastguard Worker  }
2047*344a7f5eSAndroid Build Coastguard Worker
2048*344a7f5eSAndroid Build Coastguard Worker  public static interface SoundTriggerInstrumentation.ModelCallback {
2049*344a7f5eSAndroid Build Coastguard Worker    method public default void onModelUnloaded();
2050*344a7f5eSAndroid Build Coastguard Worker    method public default void onParamSet(int, int);
2051*344a7f5eSAndroid Build Coastguard Worker    method public void onRecognitionStarted(@NonNull android.media.soundtrigger.SoundTriggerInstrumentation.RecognitionSession);
2052*344a7f5eSAndroid Build Coastguard Worker  }
2053*344a7f5eSAndroid Build Coastguard Worker
2054*344a7f5eSAndroid Build Coastguard Worker  public class SoundTriggerInstrumentation.ModelSession {
2055*344a7f5eSAndroid Build Coastguard Worker    method public void clearModelCallback();
2056*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.hardware.soundtrigger.SoundTrigger.Keyphrase> getPhrases();
2057*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.media.soundtrigger.SoundTriggerManager.Model getSoundModel();
2058*344a7f5eSAndroid Build Coastguard Worker    method public boolean isKeyphrase();
2059*344a7f5eSAndroid Build Coastguard Worker    method public void setModelCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.soundtrigger.SoundTriggerInstrumentation.ModelCallback);
2060*344a7f5eSAndroid Build Coastguard Worker    method public void triggerUnloadModel();
2061*344a7f5eSAndroid Build Coastguard Worker  }
2062*344a7f5eSAndroid Build Coastguard Worker
2063*344a7f5eSAndroid Build Coastguard Worker  public static interface SoundTriggerInstrumentation.RecognitionCallback {
2064*344a7f5eSAndroid Build Coastguard Worker    method public void onRecognitionStopped();
2065*344a7f5eSAndroid Build Coastguard Worker  }
2066*344a7f5eSAndroid Build Coastguard Worker
2067*344a7f5eSAndroid Build Coastguard Worker  public class SoundTriggerInstrumentation.RecognitionSession {
2068*344a7f5eSAndroid Build Coastguard Worker    method public void clearRecognitionCallback();
2069*344a7f5eSAndroid Build Coastguard Worker    method public int getAudioSession();
2070*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.hardware.soundtrigger.SoundTrigger.RecognitionConfig getRecognitionConfig();
2071*344a7f5eSAndroid Build Coastguard Worker    method public void setRecognitionCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.soundtrigger.SoundTriggerInstrumentation.RecognitionCallback);
2072*344a7f5eSAndroid Build Coastguard Worker    method public void triggerAbortRecognition();
2073*344a7f5eSAndroid Build Coastguard Worker    method public void triggerRecognitionEvent(@NonNull byte[], @Nullable java.util.List<android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionExtra>);
2074*344a7f5eSAndroid Build Coastguard Worker  }
2075*344a7f5eSAndroid Build Coastguard Worker
2076*344a7f5eSAndroid Build Coastguard Worker  public final class SoundTriggerManager {
2077*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public static android.media.soundtrigger.SoundTriggerInstrumentation attachInstrumentation(@NonNull java.util.concurrent.Executor, @NonNull android.media.soundtrigger.SoundTriggerInstrumentation.GlobalCallback);
2078*344a7f5eSAndroid Build Coastguard Worker  }
2079*344a7f5eSAndroid Build Coastguard Worker
2080*344a7f5eSAndroid Build Coastguard Worker}
2081*344a7f5eSAndroid Build Coastguard Worker
2082*344a7f5eSAndroid Build Coastguard Workerpackage android.media.tv {
2083*344a7f5eSAndroid Build Coastguard Worker
2084*344a7f5eSAndroid Build Coastguard Worker  public final class TvInputManager {
2085*344a7f5eSAndroid Build Coastguard Worker    method public void addHardwareDevice(int);
2086*344a7f5eSAndroid Build Coastguard Worker    method public void removeHardwareDevice(int);
2087*344a7f5eSAndroid Build Coastguard Worker  }
2088*344a7f5eSAndroid Build Coastguard Worker
2089*344a7f5eSAndroid Build Coastguard Worker  public class TvView extends android.view.ViewGroup {
2090*344a7f5eSAndroid Build Coastguard Worker    method public void notifyTvMessage(int, @NonNull android.os.Bundle);
2091*344a7f5eSAndroid Build Coastguard Worker  }
2092*344a7f5eSAndroid Build Coastguard Worker
2093*344a7f5eSAndroid Build Coastguard Worker}
2094*344a7f5eSAndroid Build Coastguard Worker
2095*344a7f5eSAndroid Build Coastguard Workerpackage android.media.tv.tuner {
2096*344a7f5eSAndroid Build Coastguard Worker
2097*344a7f5eSAndroid Build Coastguard Worker  public final class TunerVersionChecker {
2098*344a7f5eSAndroid Build Coastguard Worker    method public static int getMajorVersion(int);
2099*344a7f5eSAndroid Build Coastguard Worker    method public static int getMinorVersion(int);
2100*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isHigherOrEqualVersionTo(int);
2101*344a7f5eSAndroid Build Coastguard Worker    method public static boolean supportTunerVersion(int);
2102*344a7f5eSAndroid Build Coastguard Worker  }
2103*344a7f5eSAndroid Build Coastguard Worker
2104*344a7f5eSAndroid Build Coastguard Worker}
2105*344a7f5eSAndroid Build Coastguard Worker
2106*344a7f5eSAndroid Build Coastguard Workerpackage android.media.voice {
2107*344a7f5eSAndroid Build Coastguard Worker
2108*344a7f5eSAndroid Build Coastguard Worker  public final class KeyphraseModelManager {
2109*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_VOICE_KEYPHRASES") public void setModelDatabaseForTestEnabled(boolean);
2110*344a7f5eSAndroid Build Coastguard Worker  }
2111*344a7f5eSAndroid Build Coastguard Worker
2112*344a7f5eSAndroid Build Coastguard Worker}
2113*344a7f5eSAndroid Build Coastguard Worker
2114*344a7f5eSAndroid Build Coastguard Workerpackage android.net {
2115*344a7f5eSAndroid Build Coastguard Worker
2116*344a7f5eSAndroid Build Coastguard Worker  public class NetworkPolicyManager {
2117*344a7f5eSAndroid Build Coastguard Worker    method public boolean getRestrictBackground();
2118*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.OBSERVE_NETWORK_POLICY) public boolean isUidNetworkingBlocked(int, boolean);
2119*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.OBSERVE_NETWORK_POLICY) public boolean isUidRestrictedOnMeteredNetworks(int);
2120*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static String resolveNetworkId(@NonNull android.net.wifi.WifiConfiguration);
2121*344a7f5eSAndroid Build Coastguard Worker    method public void setRestrictBackground(boolean);
2122*344a7f5eSAndroid Build Coastguard Worker  }
2123*344a7f5eSAndroid Build Coastguard Worker
2124*344a7f5eSAndroid Build Coastguard Worker  public class NetworkStack {
2125*344a7f5eSAndroid Build Coastguard Worker    method public static void setServiceForTest(@Nullable android.os.IBinder);
2126*344a7f5eSAndroid Build Coastguard Worker  }
2127*344a7f5eSAndroid Build Coastguard Worker
2128*344a7f5eSAndroid Build Coastguard Worker  public class NetworkWatchlistManager {
2129*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public byte[] getWatchlistConfigHash();
2130*344a7f5eSAndroid Build Coastguard Worker  }
2131*344a7f5eSAndroid Build Coastguard Worker
2132*344a7f5eSAndroid Build Coastguard Worker}
2133*344a7f5eSAndroid Build Coastguard Worker
2134*344a7f5eSAndroid Build Coastguard Workerpackage android.net.wifi.sharedconnectivity.app {
2135*344a7f5eSAndroid Build Coastguard Worker
2136*344a7f5eSAndroid Build Coastguard Worker  public class SharedConnectivityManager {
2137*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static android.net.wifi.sharedconnectivity.app.SharedConnectivityManager create(@NonNull android.content.Context, @NonNull String, @NonNull String);
2138*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.content.ServiceConnection getServiceConnection();
2139*344a7f5eSAndroid Build Coastguard Worker    method public void setService(@Nullable android.os.IInterface);
2140*344a7f5eSAndroid Build Coastguard Worker  }
2141*344a7f5eSAndroid Build Coastguard Worker
2142*344a7f5eSAndroid Build Coastguard Worker}
2143*344a7f5eSAndroid Build Coastguard Worker
2144*344a7f5eSAndroid Build Coastguard Workerpackage android.net.wifi.sharedconnectivity.service {
2145*344a7f5eSAndroid Build Coastguard Worker
2146*344a7f5eSAndroid Build Coastguard Worker  public abstract class SharedConnectivityService extends android.app.Service {
2147*344a7f5eSAndroid Build Coastguard Worker    method public void onBind();
2148*344a7f5eSAndroid Build Coastguard Worker    method public final void setCountdownLatch(@Nullable java.util.concurrent.CountDownLatch);
2149*344a7f5eSAndroid Build Coastguard Worker  }
2150*344a7f5eSAndroid Build Coastguard Worker
2151*344a7f5eSAndroid Build Coastguard Worker}
2152*344a7f5eSAndroid Build Coastguard Worker
2153*344a7f5eSAndroid Build Coastguard Workerpackage android.os {
2154*344a7f5eSAndroid Build Coastguard Worker
2155*344a7f5eSAndroid Build Coastguard Worker  public final class BatteryStatsManager {
2156*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void resetBattery(boolean);
2157*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void setBatteryLevel(int, boolean);
2158*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void setChargerAcOnline(boolean, boolean);
2159*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void suspendBatteryInput();
2160*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void unplugBattery(boolean);
2161*344a7f5eSAndroid Build Coastguard Worker  }
2162*344a7f5eSAndroid Build Coastguard Worker
2163*344a7f5eSAndroid Build Coastguard Worker  public class Build {
2164*344a7f5eSAndroid Build Coastguard Worker    method public static boolean is64BitAbi(String);
2165*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isDebuggable();
2166*344a7f5eSAndroid Build Coastguard Worker    field @Nullable public static final String BRAND_FOR_ATTESTATION;
2167*344a7f5eSAndroid Build Coastguard Worker    field @Nullable public static final String DEVICE_FOR_ATTESTATION;
2168*344a7f5eSAndroid Build Coastguard Worker    field public static final boolean IS_EMULATOR;
2169*344a7f5eSAndroid Build Coastguard Worker    field @Nullable public static final String MANUFACTURER_FOR_ATTESTATION;
2170*344a7f5eSAndroid Build Coastguard Worker    field @Nullable public static final String MODEL_FOR_ATTESTATION;
2171*344a7f5eSAndroid Build Coastguard Worker    field @Nullable public static final String PRODUCT_FOR_ATTESTATION;
2172*344a7f5eSAndroid Build Coastguard Worker  }
2173*344a7f5eSAndroid Build Coastguard Worker
2174*344a7f5eSAndroid Build Coastguard Worker  public static class Build.VERSION {
2175*344a7f5eSAndroid Build Coastguard Worker    field public static final String[] ACTIVE_CODENAMES;
2176*344a7f5eSAndroid Build Coastguard Worker    field public static final int DEVICE_INITIAL_SDK_INT;
2177*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESOURCES_SDK_INT;
2178*344a7f5eSAndroid Build Coastguard Worker  }
2179*344a7f5eSAndroid Build Coastguard Worker
2180*344a7f5eSAndroid Build Coastguard Worker  public abstract class CombinedVibration implements android.os.Parcelable {
2181*344a7f5eSAndroid Build Coastguard Worker    method public abstract long getDuration();
2182*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.os.CombinedVibration.SequentialCombination startSequential();
2183*344a7f5eSAndroid Build Coastguard Worker  }
2184*344a7f5eSAndroid Build Coastguard Worker
2185*344a7f5eSAndroid Build Coastguard Worker  public static final class CombinedVibration.Mono extends android.os.CombinedVibration {
2186*344a7f5eSAndroid Build Coastguard Worker    method public long getDuration();
2187*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect getEffect();
2188*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
2189*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.CombinedVibration.Mono> CREATOR;
2190*344a7f5eSAndroid Build Coastguard Worker  }
2191*344a7f5eSAndroid Build Coastguard Worker
2192*344a7f5eSAndroid Build Coastguard Worker  public static final class CombinedVibration.Sequential extends android.os.CombinedVibration {
2193*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<java.lang.Integer> getDelays();
2194*344a7f5eSAndroid Build Coastguard Worker    method public long getDuration();
2195*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.os.CombinedVibration> getEffects();
2196*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
2197*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.CombinedVibration.Sequential> CREATOR;
2198*344a7f5eSAndroid Build Coastguard Worker  }
2199*344a7f5eSAndroid Build Coastguard Worker
2200*344a7f5eSAndroid Build Coastguard Worker  public static final class CombinedVibration.SequentialCombination {
2201*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.CombinedVibration.SequentialCombination addNext(int, @NonNull android.os.VibrationEffect);
2202*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.CombinedVibration.SequentialCombination addNext(int, @NonNull android.os.VibrationEffect, int);
2203*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.CombinedVibration.SequentialCombination addNext(@NonNull android.os.CombinedVibration);
2204*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.CombinedVibration.SequentialCombination addNext(@NonNull android.os.CombinedVibration, int);
2205*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.CombinedVibration combine();
2206*344a7f5eSAndroid Build Coastguard Worker  }
2207*344a7f5eSAndroid Build Coastguard Worker
2208*344a7f5eSAndroid Build Coastguard Worker  public static final class CombinedVibration.Stereo extends android.os.CombinedVibration {
2209*344a7f5eSAndroid Build Coastguard Worker    method public long getDuration();
2210*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.util.SparseArray<android.os.VibrationEffect> getEffects();
2211*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
2212*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.CombinedVibration.Stereo> CREATOR;
2213*344a7f5eSAndroid Build Coastguard Worker  }
2214*344a7f5eSAndroid Build Coastguard Worker
2215*344a7f5eSAndroid Build Coastguard Worker  public class DeviceIdleManager {
2216*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String[] getSystemPowerWhitelist();
2217*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String[] getSystemPowerWhitelistExceptIdle();
2218*344a7f5eSAndroid Build Coastguard Worker  }
2219*344a7f5eSAndroid Build Coastguard Worker
2220*344a7f5eSAndroid Build Coastguard Worker  public class Environment {
2221*344a7f5eSAndroid Build Coastguard Worker    method public static java.io.File buildPath(java.io.File, java.lang.String...);
2222*344a7f5eSAndroid Build Coastguard Worker  }
2223*344a7f5eSAndroid Build Coastguard Worker
2224*344a7f5eSAndroid Build Coastguard Worker  public final class FileUtils {
2225*344a7f5eSAndroid Build Coastguard Worker    method public static boolean contains(java.io.File, java.io.File);
2226*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static byte[] digest(@NonNull java.io.File, @NonNull String) throws java.io.IOException, java.security.NoSuchAlgorithmException;
2227*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static byte[] digest(@NonNull java.io.InputStream, @NonNull String) throws java.io.IOException, java.security.NoSuchAlgorithmException;
2228*344a7f5eSAndroid Build Coastguard Worker  }
2229*344a7f5eSAndroid Build Coastguard Worker
2230*344a7f5eSAndroid Build Coastguard Worker  public class IpcDataCache<Query, Result> extends android.app.PropertyInvalidatedCache<Query,Result> {
2231*344a7f5eSAndroid Build Coastguard Worker    ctor public IpcDataCache(int, @NonNull String, @NonNull String, @NonNull String, @NonNull android.os.IpcDataCache.QueryHandler<Query,Result>);
2232*344a7f5eSAndroid Build Coastguard Worker    method public static void disableForCurrentProcess(@NonNull String);
2233*344a7f5eSAndroid Build Coastguard Worker    method public static void invalidateCache(@NonNull String, @NonNull String);
2234*344a7f5eSAndroid Build Coastguard Worker    field public static final String MODULE_BLUETOOTH = "bluetooth";
2235*344a7f5eSAndroid Build Coastguard Worker    field public static final String MODULE_SYSTEM = "system_server";
2236*344a7f5eSAndroid Build Coastguard Worker    field public static final String MODULE_TEST = "test";
2237*344a7f5eSAndroid Build Coastguard Worker  }
2238*344a7f5eSAndroid Build Coastguard Worker
2239*344a7f5eSAndroid Build Coastguard Worker  public abstract static class IpcDataCache.QueryHandler<Q, R> extends android.app.PropertyInvalidatedCache.QueryHandler<Q,R> {
2240*344a7f5eSAndroid Build Coastguard Worker    ctor public IpcDataCache.QueryHandler();
2241*344a7f5eSAndroid Build Coastguard Worker  }
2242*344a7f5eSAndroid Build Coastguard Worker
2243*344a7f5eSAndroid Build Coastguard Worker  public final class MessageQueue {
2244*344a7f5eSAndroid Build Coastguard Worker    method public int postSyncBarrier();
2245*344a7f5eSAndroid Build Coastguard Worker    method public void removeSyncBarrier(int);
2246*344a7f5eSAndroid Build Coastguard Worker  }
2247*344a7f5eSAndroid Build Coastguard Worker
2248*344a7f5eSAndroid Build Coastguard Worker  public final class NewUserResponse {
2249*344a7f5eSAndroid Build Coastguard Worker    ctor public NewUserResponse(@Nullable android.os.UserHandle, int);
2250*344a7f5eSAndroid Build Coastguard Worker  }
2251*344a7f5eSAndroid Build Coastguard Worker
2252*344a7f5eSAndroid Build Coastguard Worker  public final class PackageTagsList implements android.os.Parcelable {
2253*344a7f5eSAndroid Build Coastguard Worker    method public boolean contains(@NonNull String, @Nullable String);
2254*344a7f5eSAndroid Build Coastguard Worker    method public boolean contains(@NonNull android.os.PackageTagsList);
2255*344a7f5eSAndroid Build Coastguard Worker    method public boolean containsAll(@NonNull String);
2256*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
2257*344a7f5eSAndroid Build Coastguard Worker    method public boolean includes(@NonNull String);
2258*344a7f5eSAndroid Build Coastguard Worker    method public boolean isEmpty();
2259*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
2260*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.PackageTagsList> CREATOR;
2261*344a7f5eSAndroid Build Coastguard Worker  }
2262*344a7f5eSAndroid Build Coastguard Worker
2263*344a7f5eSAndroid Build Coastguard Worker  public static final class PackageTagsList.Builder {
2264*344a7f5eSAndroid Build Coastguard Worker    ctor public PackageTagsList.Builder();
2265*344a7f5eSAndroid Build Coastguard Worker    ctor public PackageTagsList.Builder(int);
2266*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.PackageTagsList.Builder add(@NonNull String);
2267*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.PackageTagsList.Builder add(@NonNull String, @Nullable String);
2268*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.PackageTagsList.Builder add(@NonNull android.os.PackageTagsList);
2269*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.PackageTagsList.Builder add(@NonNull java.util.Map<java.lang.String,? extends java.util.Set<java.lang.String>>);
2270*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.PackageTagsList build();
2271*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.PackageTagsList.Builder clear();
2272*344a7f5eSAndroid Build Coastguard Worker  }
2273*344a7f5eSAndroid Build Coastguard Worker
2274*344a7f5eSAndroid Build Coastguard Worker  public final class Parcel {
2275*344a7f5eSAndroid Build Coastguard Worker    method public boolean allowSquashing();
2276*344a7f5eSAndroid Build Coastguard Worker    method public int getFlags();
2277*344a7f5eSAndroid Build Coastguard Worker    method public int readExceptionCode();
2278*344a7f5eSAndroid Build Coastguard Worker    method public void restoreAllowSquashing(boolean);
2279*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_IS_REPLY_FROM_BLOCKING_ALLOWED_OBJECT = 1; // 0x1
2280*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_PROPAGATE_ALLOW_BLOCKING = 2; // 0x2
2281*344a7f5eSAndroid Build Coastguard Worker  }
2282*344a7f5eSAndroid Build Coastguard Worker
2283*344a7f5eSAndroid Build Coastguard Worker  public class ParcelFileDescriptor implements java.io.Closeable android.os.Parcelable {
2284*344a7f5eSAndroid Build Coastguard Worker    method public static java.io.File getFile(java.io.FileDescriptor) throws java.io.IOException;
2285*344a7f5eSAndroid Build Coastguard Worker  }
2286*344a7f5eSAndroid Build Coastguard Worker
2287*344a7f5eSAndroid Build Coastguard Worker  public static class PerformanceHintManager.Session implements java.io.Closeable {
2288*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public int[] getThreadIds();
2289*344a7f5eSAndroid Build Coastguard Worker    method public void sendHint(int);
2290*344a7f5eSAndroid Build Coastguard Worker    field public static final int CPU_LOAD_DOWN = 1; // 0x1
2291*344a7f5eSAndroid Build Coastguard Worker    field public static final int CPU_LOAD_RESET = 2; // 0x2
2292*344a7f5eSAndroid Build Coastguard Worker    field public static final int CPU_LOAD_RESUME = 3; // 0x3
2293*344a7f5eSAndroid Build Coastguard Worker    field public static final int CPU_LOAD_UP = 0; // 0x0
2294*344a7f5eSAndroid Build Coastguard Worker  }
2295*344a7f5eSAndroid Build Coastguard Worker
2296*344a7f5eSAndroid Build Coastguard Worker  public final class PowerManager {
2297*344a7f5eSAndroid Build Coastguard Worker    method public boolean areAutoPowerSaveModesEnabled();
2298*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_LOW_POWER_STANDBY, android.Manifest.permission.DEVICE_POWER}) public void forceLowPowerStandbyActive(boolean);
2299*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACTION_ENHANCED_DISCHARGE_PREDICTION_CHANGED = "android.os.action.ENHANCED_DISCHARGE_PREDICTION_CHANGED";
2300*344a7f5eSAndroid Build Coastguard Worker    field @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public static final int SYSTEM_WAKELOCK = -2147483648; // 0x80000000
2301*344a7f5eSAndroid Build Coastguard Worker  }
2302*344a7f5eSAndroid Build Coastguard Worker
2303*344a7f5eSAndroid Build Coastguard Worker  public class Process {
2304*344a7f5eSAndroid Build Coastguard Worker    method public static final int getAppUidForSdkSandboxUid(int);
2305*344a7f5eSAndroid Build Coastguard Worker    method public static final int getThreadScheduler(int) throws java.lang.IllegalArgumentException;
2306*344a7f5eSAndroid Build Coastguard Worker    method public static final boolean isSdkSandboxUid(int);
2307*344a7f5eSAndroid Build Coastguard Worker    method public static final int toSdkSandboxUid(int);
2308*344a7f5eSAndroid Build Coastguard Worker    field public static final int FIRST_APP_ZYGOTE_ISOLATED_UID = 90000; // 0x15f90
2309*344a7f5eSAndroid Build Coastguard Worker    field public static final int FIRST_ISOLATED_UID = 99000; // 0x182b8
2310*344a7f5eSAndroid Build Coastguard Worker    field public static final int LAST_APP_ZYGOTE_ISOLATED_UID = 98999; // 0x182b7
2311*344a7f5eSAndroid Build Coastguard Worker    field public static final int LAST_ISOLATED_UID = 99999; // 0x1869f
2312*344a7f5eSAndroid Build Coastguard Worker    field public static final int NFC_UID = 1027; // 0x403
2313*344a7f5eSAndroid Build Coastguard Worker    field public static final int NUM_UIDS_PER_APP_ZYGOTE = 100; // 0x64
2314*344a7f5eSAndroid Build Coastguard Worker    field public static final int SDK_SANDBOX_VIRTUAL_UID = 1090; // 0x442
2315*344a7f5eSAndroid Build Coastguard Worker  }
2316*344a7f5eSAndroid Build Coastguard Worker
2317*344a7f5eSAndroid Build Coastguard Worker  public final class StrictMode {
2318*344a7f5eSAndroid Build Coastguard Worker    method public static void conditionallyCheckInstanceCounts();
2319*344a7f5eSAndroid Build Coastguard Worker    method public static void setViolationLogger(android.os.StrictMode.ViolationLogger);
2320*344a7f5eSAndroid Build Coastguard Worker  }
2321*344a7f5eSAndroid Build Coastguard Worker
2322*344a7f5eSAndroid Build Coastguard Worker  public static final class StrictMode.ViolationInfo implements android.os.Parcelable {
2323*344a7f5eSAndroid Build Coastguard Worker    ctor public StrictMode.ViolationInfo(android.os.Parcel);
2324*344a7f5eSAndroid Build Coastguard Worker    ctor public StrictMode.ViolationInfo(android.os.Parcel, boolean);
2325*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
2326*344a7f5eSAndroid Build Coastguard Worker    method public void dump(android.util.Printer, String);
2327*344a7f5eSAndroid Build Coastguard Worker    method public String getStackTrace();
2328*344a7f5eSAndroid Build Coastguard Worker    method public Class<? extends android.os.strictmode.Violation> getViolationClass();
2329*344a7f5eSAndroid Build Coastguard Worker    method public String getViolationDetails();
2330*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(android.os.Parcel, int);
2331*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.StrictMode.ViolationInfo> CREATOR;
2332*344a7f5eSAndroid Build Coastguard Worker    field public String broadcastIntentAction;
2333*344a7f5eSAndroid Build Coastguard Worker    field public int durationMillis;
2334*344a7f5eSAndroid Build Coastguard Worker    field public int numAnimationsRunning;
2335*344a7f5eSAndroid Build Coastguard Worker    field public long numInstances;
2336*344a7f5eSAndroid Build Coastguard Worker    field public String[] tags;
2337*344a7f5eSAndroid Build Coastguard Worker    field public int violationNumThisLoop;
2338*344a7f5eSAndroid Build Coastguard Worker    field public long violationUptimeMillis;
2339*344a7f5eSAndroid Build Coastguard Worker  }
2340*344a7f5eSAndroid Build Coastguard Worker
2341*344a7f5eSAndroid Build Coastguard Worker  public static interface StrictMode.ViolationLogger {
2342*344a7f5eSAndroid Build Coastguard Worker    method public void log(android.os.StrictMode.ViolationInfo);
2343*344a7f5eSAndroid Build Coastguard Worker  }
2344*344a7f5eSAndroid Build Coastguard Worker
2345*344a7f5eSAndroid Build Coastguard Worker  public static final class StrictMode.VmPolicy.Builder {
2346*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.StrictMode.VmPolicy.Builder permitIncorrectContextUse();
2347*344a7f5eSAndroid Build Coastguard Worker  }
2348*344a7f5eSAndroid Build Coastguard Worker
2349*344a7f5eSAndroid Build Coastguard Worker  public final class UserHandle implements android.os.Parcelable {
2350*344a7f5eSAndroid Build Coastguard Worker    method public static int getUid(int, int);
2351*344a7f5eSAndroid Build Coastguard Worker    method public static int getUserId(int);
2352*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isApp(int);
2353*344a7f5eSAndroid Build Coastguard Worker    field public static final int MIN_SECONDARY_USER_ID = 10; // 0xa
2354*344a7f5eSAndroid Build Coastguard Worker    field public static final int USER_ALL = -1; // 0xffffffff
2355*344a7f5eSAndroid Build Coastguard Worker    field public static final int USER_NULL = -10000; // 0xffffd8f0
2356*344a7f5eSAndroid Build Coastguard Worker    field public static final int USER_SYSTEM = 0; // 0x0
2357*344a7f5eSAndroid Build Coastguard Worker  }
2358*344a7f5eSAndroid Build Coastguard Worker
2359*344a7f5eSAndroid Build Coastguard Worker  public class UserManager {
2360*344a7f5eSAndroid Build Coastguard Worker    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public android.content.pm.UserInfo createProfileForUser(@Nullable String, @NonNull String, int, int, @Nullable String[]);
2361*344a7f5eSAndroid Build Coastguard Worker    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public android.content.pm.UserInfo createRestrictedProfile(@Nullable String);
2362*344a7f5eSAndroid Build Coastguard Worker    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public android.content.pm.UserInfo createUser(@Nullable String, @NonNull String, int);
2363*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public android.os.UserHandle getBootUser();
2364*344a7f5eSAndroid Build Coastguard Worker    method public int getMainDisplayIdAssignedToUser();
2365*344a7f5eSAndroid Build Coastguard Worker    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public java.util.Set<java.lang.String> getPreInstallableSystemPackages(@NonNull String);
2366*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public String getUserType();
2367*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public java.util.List<android.content.pm.UserInfo> getUsers(boolean, boolean, boolean);
2368*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean hasBaseUserRestriction(@NonNull String, @NonNull android.os.UserHandle);
2369*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean isUserTypeEnabled(@NonNull String);
2370*344a7f5eSAndroid Build Coastguard Worker    method public boolean isVisibleBackgroundUsersOnDefaultDisplaySupported();
2371*344a7f5eSAndroid Build Coastguard Worker    method public boolean isVisibleBackgroundUsersSupported();
2372*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public android.content.pm.UserInfo preCreateUser(@NonNull String) throws android.os.UserManager.UserOperationException;
2373*344a7f5eSAndroid Build Coastguard Worker  }
2374*344a7f5eSAndroid Build Coastguard Worker
2375*344a7f5eSAndroid Build Coastguard Worker  public final class VibrationAttributes implements android.os.Parcelable {
2376*344a7f5eSAndroid Build Coastguard Worker    method public int getAudioUsage();
2377*344a7f5eSAndroid Build Coastguard Worker  }
2378*344a7f5eSAndroid Build Coastguard Worker
2379*344a7f5eSAndroid Build Coastguard Worker  public abstract class VibrationEffect implements android.os.Parcelable {
2380*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public abstract long[] computeCreateWaveformOffOnTimingsOrNull();
2381*344a7f5eSAndroid Build Coastguard Worker    method public static android.os.VibrationEffect get(int);
2382*344a7f5eSAndroid Build Coastguard Worker    method public static android.os.VibrationEffect get(int, boolean);
2383*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static android.os.VibrationEffect get(android.net.Uri, android.content.Context);
2384*344a7f5eSAndroid Build Coastguard Worker    method public abstract long getDuration();
2385*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.os.VibrationEffect.WaveformBuilder startWaveform();
2386*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.os.VibrationEffect.WaveformBuilder startWaveform(@NonNull android.os.VibrationEffect.VibrationParameter);
2387*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.os.VibrationEffect.WaveformBuilder startWaveform(@NonNull android.os.VibrationEffect.VibrationParameter, @NonNull android.os.VibrationEffect.VibrationParameter);
2388*344a7f5eSAndroid Build Coastguard Worker    field public static final int EFFECT_POP = 4; // 0x4
2389*344a7f5eSAndroid Build Coastguard Worker    field public static final int EFFECT_STRENGTH_LIGHT = 0; // 0x0
2390*344a7f5eSAndroid Build Coastguard Worker    field public static final int EFFECT_STRENGTH_MEDIUM = 1; // 0x1
2391*344a7f5eSAndroid Build Coastguard Worker    field public static final int EFFECT_STRENGTH_STRONG = 2; // 0x2
2392*344a7f5eSAndroid Build Coastguard Worker    field public static final int EFFECT_TEXTURE_TICK = 21; // 0x15
2393*344a7f5eSAndroid Build Coastguard Worker    field public static final int EFFECT_THUD = 3; // 0x3
2394*344a7f5eSAndroid Build Coastguard Worker    field public static final int[] RINGTONES;
2395*344a7f5eSAndroid Build Coastguard Worker  }
2396*344a7f5eSAndroid Build Coastguard Worker
2397*344a7f5eSAndroid Build Coastguard Worker  public static final class VibrationEffect.Composed extends android.os.VibrationEffect {
2398*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public long[] computeCreateWaveformOffOnTimingsOrNull();
2399*344a7f5eSAndroid Build Coastguard Worker    method public long getDuration();
2400*344a7f5eSAndroid Build Coastguard Worker    method public int getRepeatIndex();
2401*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.os.vibrator.VibrationEffectSegment> getSegments();
2402*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
2403*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.VibrationEffect.Composed> CREATOR;
2404*344a7f5eSAndroid Build Coastguard Worker  }
2405*344a7f5eSAndroid Build Coastguard Worker
2406*344a7f5eSAndroid Build Coastguard Worker  public static final class VibrationEffect.Composition {
2407*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect.Composition addEffect(@NonNull android.os.VibrationEffect);
2408*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect.Composition addOffDuration(@NonNull java.time.Duration);
2409*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect.Composition repeatEffectIndefinitely(@NonNull android.os.VibrationEffect);
2410*344a7f5eSAndroid Build Coastguard Worker  }
2411*344a7f5eSAndroid Build Coastguard Worker
2412*344a7f5eSAndroid Build Coastguard Worker  public static final class VibrationEffect.Composition.UnreachableAfterRepeatingIndefinitelyException extends java.lang.IllegalStateException {
2413*344a7f5eSAndroid Build Coastguard Worker  }
2414*344a7f5eSAndroid Build Coastguard Worker
2415*344a7f5eSAndroid Build Coastguard Worker  public static class VibrationEffect.VibrationParameter {
2416*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.os.VibrationEffect.VibrationParameter targetAmplitude(@FloatRange(from=0, to=1) float);
2417*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.os.VibrationEffect.VibrationParameter targetFrequency(@FloatRange(from=1) float);
2418*344a7f5eSAndroid Build Coastguard Worker  }
2419*344a7f5eSAndroid Build Coastguard Worker
2420*344a7f5eSAndroid Build Coastguard Worker  public static final class VibrationEffect.WaveformBuilder {
2421*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect.WaveformBuilder addSustain(@NonNull java.time.Duration);
2422*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect.WaveformBuilder addTransition(@NonNull java.time.Duration, @NonNull android.os.VibrationEffect.VibrationParameter);
2423*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect.WaveformBuilder addTransition(@NonNull java.time.Duration, @NonNull android.os.VibrationEffect.VibrationParameter, @NonNull android.os.VibrationEffect.VibrationParameter);
2424*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect build();
2425*344a7f5eSAndroid Build Coastguard Worker  }
2426*344a7f5eSAndroid Build Coastguard Worker
2427*344a7f5eSAndroid Build Coastguard Worker  public abstract class Vibrator {
2428*344a7f5eSAndroid Build Coastguard Worker    method public int getDefaultVibrationIntensity(int);
2429*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.os.vibrator.VibratorFrequencyProfile getFrequencyProfile();
2430*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasFrequencyControl();
2431*344a7f5eSAndroid Build Coastguard Worker    field public static final int VIBRATION_INTENSITY_HIGH = 3; // 0x3
2432*344a7f5eSAndroid Build Coastguard Worker    field public static final int VIBRATION_INTENSITY_LOW = 1; // 0x1
2433*344a7f5eSAndroid Build Coastguard Worker    field public static final int VIBRATION_INTENSITY_MEDIUM = 2; // 0x2
2434*344a7f5eSAndroid Build Coastguard Worker    field public static final int VIBRATION_INTENSITY_OFF = 0; // 0x0
2435*344a7f5eSAndroid Build Coastguard Worker  }
2436*344a7f5eSAndroid Build Coastguard Worker
2437*344a7f5eSAndroid Build Coastguard Worker  public class VintfObject {
2438*344a7f5eSAndroid Build Coastguard Worker    method public static String[] getHalNamesAndVersions();
2439*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static String getPlatformSepolicyVersion();
2440*344a7f5eSAndroid Build Coastguard Worker    method public static String getSepolicyVersion();
2441*344a7f5eSAndroid Build Coastguard Worker    method public static Long getTargetFrameworkCompatibilityMatrixVersion();
2442*344a7f5eSAndroid Build Coastguard Worker    method public static java.util.Map<java.lang.String,java.lang.String[]> getVndkSnapshots();
2443*344a7f5eSAndroid Build Coastguard Worker    method public static String[] report();
2444*344a7f5eSAndroid Build Coastguard Worker  }
2445*344a7f5eSAndroid Build Coastguard Worker
2446*344a7f5eSAndroid Build Coastguard Worker  public class VintfRuntimeInfo {
2447*344a7f5eSAndroid Build Coastguard Worker    method public static String getCpuInfo();
2448*344a7f5eSAndroid Build Coastguard Worker    method public static String getHardwareId();
2449*344a7f5eSAndroid Build Coastguard Worker    method public static String getKernelVersion();
2450*344a7f5eSAndroid Build Coastguard Worker    method public static String getNodeName();
2451*344a7f5eSAndroid Build Coastguard Worker    method public static String getOsName();
2452*344a7f5eSAndroid Build Coastguard Worker    method public static String getOsRelease();
2453*344a7f5eSAndroid Build Coastguard Worker    method public static String getOsVersion();
2454*344a7f5eSAndroid Build Coastguard Worker  }
2455*344a7f5eSAndroid Build Coastguard Worker
2456*344a7f5eSAndroid Build Coastguard Worker  public class WorkSource implements android.os.Parcelable {
2457*344a7f5eSAndroid Build Coastguard Worker    method public boolean add(int);
2458*344a7f5eSAndroid Build Coastguard Worker    method public boolean add(int, String);
2459*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.os.WorkSource addReturningNewbs(android.os.WorkSource);
2460*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.os.WorkSource[] setReturningDiffs(android.os.WorkSource);
2461*344a7f5eSAndroid Build Coastguard Worker  }
2462*344a7f5eSAndroid Build Coastguard Worker
2463*344a7f5eSAndroid Build Coastguard Worker}
2464*344a7f5eSAndroid Build Coastguard Worker
2465*344a7f5eSAndroid Build Coastguard Workerpackage android.os.health {
2466*344a7f5eSAndroid Build Coastguard Worker
2467*344a7f5eSAndroid Build Coastguard Worker  public class HealthKeys {
2468*344a7f5eSAndroid Build Coastguard Worker    ctor public HealthKeys();
2469*344a7f5eSAndroid Build Coastguard Worker    field public static final int BASE_PACKAGE = 40000; // 0x9c40
2470*344a7f5eSAndroid Build Coastguard Worker    field public static final int BASE_PID = 20000; // 0x4e20
2471*344a7f5eSAndroid Build Coastguard Worker    field public static final int BASE_PROCESS = 30000; // 0x7530
2472*344a7f5eSAndroid Build Coastguard Worker    field public static final int BASE_SERVICE = 50000; // 0xc350
2473*344a7f5eSAndroid Build Coastguard Worker    field public static final int BASE_UID = 10000; // 0x2710
2474*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_COUNT = 5; // 0x5
2475*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_MEASUREMENT = 1; // 0x1
2476*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_MEASUREMENTS = 4; // 0x4
2477*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_STATS = 2; // 0x2
2478*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_TIMER = 0; // 0x0
2479*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_TIMERS = 3; // 0x3
2480*344a7f5eSAndroid Build Coastguard Worker    field public static final int UNKNOWN_KEY = 0; // 0x0
2481*344a7f5eSAndroid Build Coastguard Worker  }
2482*344a7f5eSAndroid Build Coastguard Worker
2483*344a7f5eSAndroid Build Coastguard Worker  @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target({java.lang.annotation.ElementType.FIELD}) public static @interface HealthKeys.Constant {
2484*344a7f5eSAndroid Build Coastguard Worker    method public abstract int type();
2485*344a7f5eSAndroid Build Coastguard Worker  }
2486*344a7f5eSAndroid Build Coastguard Worker
2487*344a7f5eSAndroid Build Coastguard Worker  public static class HealthKeys.Constants {
2488*344a7f5eSAndroid Build Coastguard Worker    ctor public HealthKeys.Constants(Class);
2489*344a7f5eSAndroid Build Coastguard Worker    method public String getDataType();
2490*344a7f5eSAndroid Build Coastguard Worker    method public int getIndex(int, int);
2491*344a7f5eSAndroid Build Coastguard Worker    method public int[] getKeys(int);
2492*344a7f5eSAndroid Build Coastguard Worker    method public int getSize(int);
2493*344a7f5eSAndroid Build Coastguard Worker  }
2494*344a7f5eSAndroid Build Coastguard Worker
2495*344a7f5eSAndroid Build Coastguard Worker  public class HealthStats {
2496*344a7f5eSAndroid Build Coastguard Worker    ctor public HealthStats(android.os.Parcel);
2497*344a7f5eSAndroid Build Coastguard Worker  }
2498*344a7f5eSAndroid Build Coastguard Worker
2499*344a7f5eSAndroid Build Coastguard Worker  public class HealthStatsParceler implements android.os.Parcelable {
2500*344a7f5eSAndroid Build Coastguard Worker    ctor public HealthStatsParceler(android.os.health.HealthStatsWriter);
2501*344a7f5eSAndroid Build Coastguard Worker    ctor public HealthStatsParceler(android.os.Parcel);
2502*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
2503*344a7f5eSAndroid Build Coastguard Worker    method public android.os.health.HealthStats getHealthStats();
2504*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(android.os.Parcel, int);
2505*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.health.HealthStatsParceler> CREATOR;
2506*344a7f5eSAndroid Build Coastguard Worker  }
2507*344a7f5eSAndroid Build Coastguard Worker
2508*344a7f5eSAndroid Build Coastguard Worker  public class HealthStatsWriter {
2509*344a7f5eSAndroid Build Coastguard Worker    ctor public HealthStatsWriter(android.os.health.HealthKeys.Constants);
2510*344a7f5eSAndroid Build Coastguard Worker    method public void addMeasurement(int, long);
2511*344a7f5eSAndroid Build Coastguard Worker    method public void addMeasurements(int, String, long);
2512*344a7f5eSAndroid Build Coastguard Worker    method public void addStats(int, String, android.os.health.HealthStatsWriter);
2513*344a7f5eSAndroid Build Coastguard Worker    method public void addTimer(int, int, long);
2514*344a7f5eSAndroid Build Coastguard Worker    method public void addTimers(int, String, android.os.health.TimerStat);
2515*344a7f5eSAndroid Build Coastguard Worker    method public void flattenToParcel(android.os.Parcel);
2516*344a7f5eSAndroid Build Coastguard Worker  }
2517*344a7f5eSAndroid Build Coastguard Worker
2518*344a7f5eSAndroid Build Coastguard Worker}
2519*344a7f5eSAndroid Build Coastguard Worker
2520*344a7f5eSAndroid Build Coastguard Workerpackage android.os.storage {
2521*344a7f5eSAndroid Build Coastguard Worker
2522*344a7f5eSAndroid Build Coastguard Worker  public final class CrateInfo implements android.os.Parcelable {
2523*344a7f5eSAndroid Build Coastguard Worker    ctor public CrateInfo(@NonNull CharSequence, long);
2524*344a7f5eSAndroid Build Coastguard Worker    ctor public CrateInfo(@NonNull CharSequence);
2525*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static android.os.storage.CrateInfo copyFrom(int, @Nullable String, @Nullable String);
2526*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
2527*344a7f5eSAndroid Build Coastguard Worker    method public long getExpirationMillis();
2528*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getLabel();
2529*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@Nullable android.os.Parcel, int);
2530*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.storage.CrateInfo> CREATOR;
2531*344a7f5eSAndroid Build Coastguard Worker  }
2532*344a7f5eSAndroid Build Coastguard Worker
2533*344a7f5eSAndroid Build Coastguard Worker  public class StorageManager {
2534*344a7f5eSAndroid Build Coastguard Worker    method public long computeStorageCacheBytes(@NonNull java.io.File);
2535*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static java.util.UUID convert(@Nullable String);
2536*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static String convert(@NonNull java.util.UUID);
2537*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getCloudMediaProvider();
2538*344a7f5eSAndroid Build Coastguard Worker    method public boolean isAppIoBlocked(@NonNull java.util.UUID, int, int, int);
2539*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isUserKeyUnlocked(int);
2540*344a7f5eSAndroid Build Coastguard Worker    field public static final String CACHE_RESERVE_PERCENT_HIGH_KEY = "cache_reserve_percent_high";
2541*344a7f5eSAndroid Build Coastguard Worker    field public static final String CACHE_RESERVE_PERCENT_LOW_KEY = "cache_reserve_percent_low";
2542*344a7f5eSAndroid Build Coastguard Worker    field public static final String STORAGE_THRESHOLD_PERCENT_HIGH_KEY = "storage_threshold_percent_high";
2543*344a7f5eSAndroid Build Coastguard Worker  }
2544*344a7f5eSAndroid Build Coastguard Worker
2545*344a7f5eSAndroid Build Coastguard Worker  public final class StorageVolume implements android.os.Parcelable {
2546*344a7f5eSAndroid Build Coastguard Worker    method public String getPath();
2547*344a7f5eSAndroid Build Coastguard Worker  }
2548*344a7f5eSAndroid Build Coastguard Worker
2549*344a7f5eSAndroid Build Coastguard Worker  public static final class StorageVolume.Builder {
2550*344a7f5eSAndroid Build Coastguard Worker    ctor public StorageVolume.Builder(@NonNull String, @NonNull java.io.File, @NonNull String, @NonNull android.os.UserHandle, @NonNull String);
2551*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.storage.StorageVolume build();
2552*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.storage.StorageVolume.Builder setEmulated(boolean);
2553*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.storage.StorageVolume.Builder setPrimary(boolean);
2554*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.storage.StorageVolume.Builder setRemovable(boolean);
2555*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.storage.StorageVolume.Builder setStorageUuid(@Nullable java.util.UUID);
2556*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.storage.StorageVolume.Builder setUuid(@Nullable String);
2557*344a7f5eSAndroid Build Coastguard Worker  }
2558*344a7f5eSAndroid Build Coastguard Worker
2559*344a7f5eSAndroid Build Coastguard Worker}
2560*344a7f5eSAndroid Build Coastguard Worker
2561*344a7f5eSAndroid Build Coastguard Workerpackage android.os.vibrator {
2562*344a7f5eSAndroid Build Coastguard Worker
2563*344a7f5eSAndroid Build Coastguard Worker  public final class PrebakedSegment extends android.os.vibrator.VibrationEffectSegment {
2564*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
2565*344a7f5eSAndroid Build Coastguard Worker    method public long getDuration();
2566*344a7f5eSAndroid Build Coastguard Worker    method public int getEffectId();
2567*344a7f5eSAndroid Build Coastguard Worker    method public int getEffectStrength();
2568*344a7f5eSAndroid Build Coastguard Worker    method public boolean shouldFallback();
2569*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
2570*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.vibrator.PrebakedSegment> CREATOR;
2571*344a7f5eSAndroid Build Coastguard Worker  }
2572*344a7f5eSAndroid Build Coastguard Worker
2573*344a7f5eSAndroid Build Coastguard Worker  public final class PrimitiveSegment extends android.os.vibrator.VibrationEffectSegment {
2574*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
2575*344a7f5eSAndroid Build Coastguard Worker    method public int getDelay();
2576*344a7f5eSAndroid Build Coastguard Worker    method public long getDuration();
2577*344a7f5eSAndroid Build Coastguard Worker    method public int getPrimitiveId();
2578*344a7f5eSAndroid Build Coastguard Worker    method public float getScale();
2579*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
2580*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.vibrator.PrimitiveSegment> CREATOR;
2581*344a7f5eSAndroid Build Coastguard Worker  }
2582*344a7f5eSAndroid Build Coastguard Worker
2583*344a7f5eSAndroid Build Coastguard Worker  public final class RampSegment extends android.os.vibrator.VibrationEffectSegment {
2584*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
2585*344a7f5eSAndroid Build Coastguard Worker    method public long getDuration();
2586*344a7f5eSAndroid Build Coastguard Worker    method public float getEndAmplitude();
2587*344a7f5eSAndroid Build Coastguard Worker    method public float getEndFrequencyHz();
2588*344a7f5eSAndroid Build Coastguard Worker    method public float getStartAmplitude();
2589*344a7f5eSAndroid Build Coastguard Worker    method public float getStartFrequencyHz();
2590*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
2591*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.vibrator.RampSegment> CREATOR;
2592*344a7f5eSAndroid Build Coastguard Worker  }
2593*344a7f5eSAndroid Build Coastguard Worker
2594*344a7f5eSAndroid Build Coastguard Worker  public final class StepSegment extends android.os.vibrator.VibrationEffectSegment {
2595*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
2596*344a7f5eSAndroid Build Coastguard Worker    method public float getAmplitude();
2597*344a7f5eSAndroid Build Coastguard Worker    method public long getDuration();
2598*344a7f5eSAndroid Build Coastguard Worker    method public float getFrequencyHz();
2599*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
2600*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.vibrator.StepSegment> CREATOR;
2601*344a7f5eSAndroid Build Coastguard Worker  }
2602*344a7f5eSAndroid Build Coastguard Worker
2603*344a7f5eSAndroid Build Coastguard Worker  public abstract class VibrationEffectSegment implements android.os.Parcelable {
2604*344a7f5eSAndroid Build Coastguard Worker    method public abstract long getDuration();
2605*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.vibrator.VibrationEffectSegment> CREATOR;
2606*344a7f5eSAndroid Build Coastguard Worker  }
2607*344a7f5eSAndroid Build Coastguard Worker
2608*344a7f5eSAndroid Build Coastguard Worker  public final class VibratorFrequencyProfile {
2609*344a7f5eSAndroid Build Coastguard Worker    method public float getMaxAmplitudeMeasurementInterval();
2610*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0, to=1) @NonNull public float[] getMaxAmplitudeMeasurements();
2611*344a7f5eSAndroid Build Coastguard Worker    method public float getMaxFrequency();
2612*344a7f5eSAndroid Build Coastguard Worker    method public float getMinFrequency();
2613*344a7f5eSAndroid Build Coastguard Worker  }
2614*344a7f5eSAndroid Build Coastguard Worker
2615*344a7f5eSAndroid Build Coastguard Worker}
2616*344a7f5eSAndroid Build Coastguard Worker
2617*344a7f5eSAndroid Build Coastguard Workerpackage android.permission {
2618*344a7f5eSAndroid Build Coastguard Worker
2619*344a7f5eSAndroid Build Coastguard Worker  public final class PermissionControllerManager {
2620*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.GET_RUNTIME_PERMISSIONS) public void countPermissionApps(@NonNull java.util.List<java.lang.String>, int, @NonNull android.permission.PermissionControllerManager.OnCountPermissionAppsResultCallback, @Nullable android.os.Handler);
2621*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.GET_RUNTIME_PERMISSIONS) public void getAppPermissions(@NonNull String, @NonNull android.permission.PermissionControllerManager.OnGetAppPermissionResultCallback, @Nullable android.os.Handler);
2622*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS) public void revokeRuntimePermission(@NonNull String, @NonNull String);
2623*344a7f5eSAndroid Build Coastguard Worker  }
2624*344a7f5eSAndroid Build Coastguard Worker
2625*344a7f5eSAndroid Build Coastguard Worker  public static interface PermissionControllerManager.OnCountPermissionAppsResultCallback {
2626*344a7f5eSAndroid Build Coastguard Worker    method public void onCountPermissionApps(int);
2627*344a7f5eSAndroid Build Coastguard Worker  }
2628*344a7f5eSAndroid Build Coastguard Worker
2629*344a7f5eSAndroid Build Coastguard Worker  public static interface PermissionControllerManager.OnGetAppPermissionResultCallback {
2630*344a7f5eSAndroid Build Coastguard Worker    method public void onGetAppPermissions(@NonNull java.util.List<android.permission.RuntimePermissionPresentationInfo>);
2631*344a7f5eSAndroid Build Coastguard Worker  }
2632*344a7f5eSAndroid Build Coastguard Worker
2633*344a7f5eSAndroid Build Coastguard Worker  public final class PermissionManager {
2634*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public java.util.List<android.permission.PermissionGroupUsage> getIndicatorAppOpUsageData();
2635*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public java.util.List<android.permission.PermissionGroupUsage> getIndicatorAppOpUsageData(boolean);
2636*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.content.AttributionSource registerAttributionSource(@NonNull android.content.AttributionSource);
2637*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.REVOKE_POST_NOTIFICATIONS_WITHOUT_KILL) public void revokePostNotificationPermissionWithoutKillForTest(@NonNull String, int);
2638*344a7f5eSAndroid Build Coastguard Worker  }
2639*344a7f5eSAndroid Build Coastguard Worker
2640*344a7f5eSAndroid Build Coastguard Worker}
2641*344a7f5eSAndroid Build Coastguard Worker
2642*344a7f5eSAndroid Build Coastguard Workerpackage android.print {
2643*344a7f5eSAndroid Build Coastguard Worker
2644*344a7f5eSAndroid Build Coastguard Worker  public final class PrintJobInfo implements android.os.Parcelable {
2645*344a7f5eSAndroid Build Coastguard Worker    method public float getProgress();
2646*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public CharSequence getStatus(@NonNull android.content.pm.PackageManager);
2647*344a7f5eSAndroid Build Coastguard Worker  }
2648*344a7f5eSAndroid Build Coastguard Worker
2649*344a7f5eSAndroid Build Coastguard Worker  public final class PrinterInfo implements android.os.Parcelable {
2650*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.graphics.drawable.Drawable loadIcon(@NonNull android.content.Context);
2651*344a7f5eSAndroid Build Coastguard Worker  }
2652*344a7f5eSAndroid Build Coastguard Worker
2653*344a7f5eSAndroid Build Coastguard Worker}
2654*344a7f5eSAndroid Build Coastguard Worker
2655*344a7f5eSAndroid Build Coastguard Workerpackage android.provider {
2656*344a7f5eSAndroid Build Coastguard Worker
2657*344a7f5eSAndroid Build Coastguard Worker  public interface AndroidDeviceConfig {
2658*344a7f5eSAndroid Build Coastguard Worker    field public static final String KEY_SYSTEM_GESTURES_EXCLUDED_BY_PRE_Q_STICKY_IMMERSIVE = "system_gestures_excluded_by_pre_q_sticky_immersive";
2659*344a7f5eSAndroid Build Coastguard Worker    field public static final String KEY_SYSTEM_GESTURE_EXCLUSION_LIMIT_DP = "system_gesture_exclusion_limit_dp";
2660*344a7f5eSAndroid Build Coastguard Worker  }
2661*344a7f5eSAndroid Build Coastguard Worker
2662*344a7f5eSAndroid Build Coastguard Worker  public static final class CalendarContract.Calendars implements android.provider.BaseColumns android.provider.CalendarContract.CalendarColumns android.provider.CalendarContract.SyncColumns {
2663*344a7f5eSAndroid Build Coastguard Worker    field public static final String[] SYNC_WRITABLE_COLUMNS;
2664*344a7f5eSAndroid Build Coastguard Worker  }
2665*344a7f5eSAndroid Build Coastguard Worker
2666*344a7f5eSAndroid Build Coastguard Worker  public static final class CalendarContract.Events implements android.provider.BaseColumns android.provider.CalendarContract.CalendarColumns android.provider.CalendarContract.EventsColumns android.provider.CalendarContract.SyncColumns {
2667*344a7f5eSAndroid Build Coastguard Worker    field public static final String[] SYNC_WRITABLE_COLUMNS;
2668*344a7f5eSAndroid Build Coastguard Worker  }
2669*344a7f5eSAndroid Build Coastguard Worker
2670*344a7f5eSAndroid Build Coastguard Worker  public final class ContactsContract {
2671*344a7f5eSAndroid Build Coastguard Worker    field public static final String HIDDEN_COLUMN_PREFIX = "x_";
2672*344a7f5eSAndroid Build Coastguard Worker  }
2673*344a7f5eSAndroid Build Coastguard Worker
2674*344a7f5eSAndroid Build Coastguard Worker  public static final class ContactsContract.PinnedPositions {
2675*344a7f5eSAndroid Build Coastguard Worker    field public static final String UNDEMOTE_METHOD = "undemote";
2676*344a7f5eSAndroid Build Coastguard Worker  }
2677*344a7f5eSAndroid Build Coastguard Worker
2678*344a7f5eSAndroid Build Coastguard Worker  public static final class ContactsContract.RawContactsEntity implements android.provider.BaseColumns android.provider.ContactsContract.DataColumns android.provider.ContactsContract.RawContactsColumns {
2679*344a7f5eSAndroid Build Coastguard Worker    field public static final android.net.Uri CORP_CONTENT_URI;
2680*344a7f5eSAndroid Build Coastguard Worker  }
2681*344a7f5eSAndroid Build Coastguard Worker
2682*344a7f5eSAndroid Build Coastguard Worker  public interface InputMethodManagerDeviceConfig {
2683*344a7f5eSAndroid Build Coastguard Worker    field public static final String KEY_HIDE_IME_WHEN_NO_EDITOR_FOCUS = "hide_ime_when_no_editor_focus";
2684*344a7f5eSAndroid Build Coastguard Worker  }
2685*344a7f5eSAndroid Build Coastguard Worker
2686*344a7f5eSAndroid Build Coastguard Worker  public final class Settings {
2687*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESET_MODE_PACKAGE_DEFAULTS = 1; // 0x1
2688*344a7f5eSAndroid Build Coastguard Worker  }
2689*344a7f5eSAndroid Build Coastguard Worker
2690*344a7f5eSAndroid Build Coastguard Worker  public static final class Settings.Global extends android.provider.Settings.NameValueTable {
2691*344a7f5eSAndroid Build Coastguard Worker    field public static final String APP_OPS_CONSTANTS = "app_ops_constants";
2692*344a7f5eSAndroid Build Coastguard Worker    field public static final String ARE_USER_DISABLED_HDR_FORMATS_ALLOWED = "are_user_disabled_hdr_formats_allowed";
2693*344a7f5eSAndroid Build Coastguard Worker    field public static final String AUTOMATIC_POWER_SAVE_MODE = "automatic_power_save_mode";
2694*344a7f5eSAndroid Build Coastguard Worker    field public static final String BATTERY_SAVER_CONSTANTS = "battery_saver_constants";
2695*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVELOPMENT_ENABLE_NON_RESIZABLE_MULTI_WINDOW = "enable_non_resizable_multi_window";
2696*344a7f5eSAndroid Build Coastguard Worker    field public static final String DISABLE_WINDOW_BLURS = "disable_window_blurs";
2697*344a7f5eSAndroid Build Coastguard Worker    field public static final String DYNAMIC_POWER_SAVINGS_DISABLE_THRESHOLD = "dynamic_power_savings_disable_threshold";
2698*344a7f5eSAndroid Build Coastguard Worker    field public static final String DYNAMIC_POWER_SAVINGS_ENABLED = "dynamic_power_savings_enabled";
2699*344a7f5eSAndroid Build Coastguard Worker    field public static final String HDR_CONVERSION_MODE = "hdr_conversion_mode";
2700*344a7f5eSAndroid Build Coastguard Worker    field public static final String HDR_FORCE_CONVERSION_TYPE = "hdr_force_conversion_type";
2701*344a7f5eSAndroid Build Coastguard Worker    field public static final String HIDDEN_API_BLACKLIST_EXEMPTIONS = "hidden_api_blacklist_exemptions";
2702*344a7f5eSAndroid Build Coastguard Worker    field public static final String HIDDEN_API_POLICY = "hidden_api_policy";
2703*344a7f5eSAndroid Build Coastguard Worker    field public static final String HIDE_ERROR_DIALOGS = "hide_error_dialogs";
2704*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String LOCATION_IGNORE_SETTINGS_PACKAGE_WHITELIST = "location_ignore_settings_package_whitelist";
2705*344a7f5eSAndroid Build Coastguard Worker    field public static final String LOW_POWER_MODE = "low_power";
2706*344a7f5eSAndroid Build Coastguard Worker    field public static final String LOW_POWER_MODE_STICKY = "low_power_sticky";
2707*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String NOTIFICATION_BUBBLES = "notification_bubbles";
2708*344a7f5eSAndroid Build Coastguard Worker    field public static final String OVERLAY_DISPLAY_DEVICES = "overlay_display_devices";
2709*344a7f5eSAndroid Build Coastguard Worker    field public static final String SHOW_FIRST_CRASH_DIALOG = "show_first_crash_dialog";
2710*344a7f5eSAndroid Build Coastguard Worker    field public static final String USER_DISABLED_HDR_FORMATS = "user_disabled_hdr_formats";
2711*344a7f5eSAndroid Build Coastguard Worker    field public static final String USER_PREFERRED_REFRESH_RATE = "user_preferred_refresh_rate";
2712*344a7f5eSAndroid Build Coastguard Worker    field public static final String USER_PREFERRED_RESOLUTION_HEIGHT = "user_preferred_resolution_height";
2713*344a7f5eSAndroid Build Coastguard Worker    field public static final String USER_PREFERRED_RESOLUTION_WIDTH = "user_preferred_resolution_width";
2714*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String USE_OPEN_WIFI_PACKAGE = "use_open_wifi_package";
2715*344a7f5eSAndroid Build Coastguard Worker  }
2716*344a7f5eSAndroid Build Coastguard Worker
2717*344a7f5eSAndroid Build Coastguard Worker  public static final class Settings.Secure extends android.provider.Settings.NameValueTable {
2718*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED = "accessibility_display_magnification_enabled";
2719*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACCESSIBILITY_MAGNIFICATION_CAPABILITY = "accessibility_magnification_capability";
2720*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACCESSIBILITY_MAGNIFICATION_MODE = "accessibility_magnification_mode";
2721*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACCESSIBILITY_MAGNIFICATION_MODE_ALL = 3; // 0x3
2722*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACCESSIBILITY_MAGNIFICATION_MODE_FULLSCREEN = 1; // 0x1
2723*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW = 2; // 0x2
2724*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACCESSIBILITY_SHORTCUT_TARGET_SERVICE = "accessibility_shortcut_target_service";
2725*344a7f5eSAndroid Build Coastguard Worker    field public static final String ANR_SHOW_BACKGROUND = "anr_show_background";
2726*344a7f5eSAndroid Build Coastguard Worker    field public static final String AUTOFILL_SERVICE = "autofill_service";
2727*344a7f5eSAndroid Build Coastguard Worker    field public static final String BIOMETRIC_VIRTUAL_ENABLED = "biometric_virtual_enabled";
2728*344a7f5eSAndroid Build Coastguard Worker    field public static final String CONTENT_CAPTURE_ENABLED = "content_capture_enabled";
2729*344a7f5eSAndroid Build Coastguard Worker    field public static final String DISABLED_PRINT_SERVICES = "disabled_print_services";
2730*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String ENABLED_NOTIFICATION_POLICY_ACCESS_PACKAGES = "enabled_notification_policy_access_packages";
2731*344a7f5eSAndroid Build Coastguard Worker    field public static final String ENABLED_VR_LISTENERS = "enabled_vr_listeners";
2732*344a7f5eSAndroid Build Coastguard Worker    field public static final String IMMERSIVE_MODE_CONFIRMATIONS = "immersive_mode_confirmations";
2733*344a7f5eSAndroid Build Coastguard Worker    field public static final String NOTIFICATION_BADGING = "notification_badging";
2734*344a7f5eSAndroid Build Coastguard Worker    field public static final String NOTIFICATION_BUBBLES = "notification_bubbles";
2735*344a7f5eSAndroid Build Coastguard Worker    field public static final String POWER_MENU_LOCKED_SHOW_CONTENT = "power_menu_locked_show_content";
2736*344a7f5eSAndroid Build Coastguard Worker    field public static final String SELECTED_SPELL_CHECKER = "selected_spell_checker";
2737*344a7f5eSAndroid Build Coastguard Worker    field public static final String SELECTED_SPELL_CHECKER_SUBTYPE = "selected_spell_checker_subtype";
2738*344a7f5eSAndroid Build Coastguard Worker    field public static final String SHOW_FIRST_CRASH_DIALOG_DEV_OPTION = "show_first_crash_dialog_dev_option";
2739*344a7f5eSAndroid Build Coastguard Worker    field public static final String SHOW_IME_WITH_HARD_KEYBOARD = "show_ime_with_hard_keyboard";
2740*344a7f5eSAndroid Build Coastguard Worker    field public static final String STYLUS_BUTTONS_ENABLED = "stylus_buttons_enabled";
2741*344a7f5eSAndroid Build Coastguard Worker    field public static final int STYLUS_HANDWRITING_DEFAULT_VALUE = 1; // 0x1
2742*344a7f5eSAndroid Build Coastguard Worker    field public static final String STYLUS_HANDWRITING_ENABLED = "stylus_handwriting_enabled";
2743*344a7f5eSAndroid Build Coastguard Worker    field @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static final String SYNC_PARENT_SOUNDS = "sync_parent_sounds";
2744*344a7f5eSAndroid Build Coastguard Worker    field public static final String VOICE_INTERACTION_SERVICE = "voice_interaction_service";
2745*344a7f5eSAndroid Build Coastguard Worker  }
2746*344a7f5eSAndroid Build Coastguard Worker
2747*344a7f5eSAndroid Build Coastguard Worker  public static final class Telephony.Sms.Intents {
2748*344a7f5eSAndroid Build Coastguard Worker    field public static final String SMS_CARRIER_PROVISION_ACTION = "android.provider.Telephony.SMS_CARRIER_PROVISION";
2749*344a7f5eSAndroid Build Coastguard Worker  }
2750*344a7f5eSAndroid Build Coastguard Worker
2751*344a7f5eSAndroid Build Coastguard Worker  public static final class VoicemailContract.Voicemails implements android.provider.BaseColumns android.provider.OpenableColumns {
2752*344a7f5eSAndroid Build Coastguard Worker    field public static final String _DATA = "_data";
2753*344a7f5eSAndroid Build Coastguard Worker  }
2754*344a7f5eSAndroid Build Coastguard Worker
2755*344a7f5eSAndroid Build Coastguard Worker}
2756*344a7f5eSAndroid Build Coastguard Worker
2757*344a7f5eSAndroid Build Coastguard Workerpackage android.security {
2758*344a7f5eSAndroid Build Coastguard Worker
2759*344a7f5eSAndroid Build Coastguard Worker  public final class KeyChain {
2760*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_CREDENTIAL_MANAGEMENT_APP") @WorkerThread public static boolean setCredentialManagementApp(@NonNull android.content.Context, @NonNull String, @NonNull android.security.AppUriAuthenticationPolicy);
2761*344a7f5eSAndroid Build Coastguard Worker  }
2762*344a7f5eSAndroid Build Coastguard Worker
2763*344a7f5eSAndroid Build Coastguard Worker  public class KeyStoreException extends java.lang.Exception {
2764*344a7f5eSAndroid Build Coastguard Worker    method public int getErrorCode();
2765*344a7f5eSAndroid Build Coastguard Worker    method public static boolean hasFailureInfoForError(int);
2766*344a7f5eSAndroid Build Coastguard Worker  }
2767*344a7f5eSAndroid Build Coastguard Worker
2768*344a7f5eSAndroid Build Coastguard Worker}
2769*344a7f5eSAndroid Build Coastguard Worker
2770*344a7f5eSAndroid Build Coastguard Workerpackage android.security.keystore {
2771*344a7f5eSAndroid Build Coastguard Worker
2772*344a7f5eSAndroid Build Coastguard Worker  public static final class KeyGenParameterSpec.Builder {
2773*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.security.keystore.KeyGenParameterSpec.Builder setUniqueIdIncluded(boolean);
2774*344a7f5eSAndroid Build Coastguard Worker  }
2775*344a7f5eSAndroid Build Coastguard Worker
2776*344a7f5eSAndroid Build Coastguard Worker  public final class KeyProtection implements java.security.KeyStore.ProtectionParameter {
2777*344a7f5eSAndroid Build Coastguard Worker    method public long getBoundToSpecificSecureUserId();
2778*344a7f5eSAndroid Build Coastguard Worker  }
2779*344a7f5eSAndroid Build Coastguard Worker
2780*344a7f5eSAndroid Build Coastguard Worker  public static final class KeyProtection.Builder {
2781*344a7f5eSAndroid Build Coastguard Worker    method public android.security.keystore.KeyProtection.Builder setBoundToSpecificSecureUserId(long);
2782*344a7f5eSAndroid Build Coastguard Worker  }
2783*344a7f5eSAndroid Build Coastguard Worker
2784*344a7f5eSAndroid Build Coastguard Worker}
2785*344a7f5eSAndroid Build Coastguard Worker
2786*344a7f5eSAndroid Build Coastguard Workerpackage android.service.autofill {
2787*344a7f5eSAndroid Build Coastguard Worker
2788*344a7f5eSAndroid Build Coastguard Worker  public final class CharSequenceTransformation extends android.service.autofill.InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation {
2789*344a7f5eSAndroid Build Coastguard Worker    method public void apply(@NonNull android.service.autofill.ValueFinder, @NonNull android.widget.RemoteViews, int) throws java.lang.Exception;
2790*344a7f5eSAndroid Build Coastguard Worker  }
2791*344a7f5eSAndroid Build Coastguard Worker
2792*344a7f5eSAndroid Build Coastguard Worker  public final class CompositeUserData implements android.os.Parcelable {
2793*344a7f5eSAndroid Build Coastguard Worker    ctor public CompositeUserData(@Nullable android.service.autofill.UserData, @NonNull android.service.autofill.UserData);
2794*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
2795*344a7f5eSAndroid Build Coastguard Worker    method public String[] getCategoryIds();
2796*344a7f5eSAndroid Build Coastguard Worker    method public android.os.Bundle getDefaultFieldClassificationArgs();
2797*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getFieldClassificationAlgorithm();
2798*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getFieldClassificationAlgorithmForCategory(@NonNull String);
2799*344a7f5eSAndroid Build Coastguard Worker    method public android.util.ArrayMap<java.lang.String,java.lang.String> getFieldClassificationAlgorithms();
2800*344a7f5eSAndroid Build Coastguard Worker    method public android.util.ArrayMap<java.lang.String,android.os.Bundle> getFieldClassificationArgs();
2801*344a7f5eSAndroid Build Coastguard Worker    method public String[] getValues();
2802*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(android.os.Parcel, int);
2803*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.service.autofill.CompositeUserData> CREATOR;
2804*344a7f5eSAndroid Build Coastguard Worker  }
2805*344a7f5eSAndroid Build Coastguard Worker
2806*344a7f5eSAndroid Build Coastguard Worker  public final class CustomDescription implements android.os.Parcelable {
2807*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.util.SparseArray<android.service.autofill.InternalOnClickAction> getActions();
2808*344a7f5eSAndroid Build Coastguard Worker  }
2809*344a7f5eSAndroid Build Coastguard Worker
2810*344a7f5eSAndroid Build Coastguard Worker  public final class Dataset implements android.os.Parcelable {
2811*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.content.IntentSender getAuthentication();
2812*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public java.util.ArrayList<java.lang.String> getAutofillDatatypes();
2813*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.content.ClipData getFieldContent();
2814*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.widget.RemoteViews getFieldDialogPresentation(int);
2815*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public java.util.ArrayList<android.view.autofill.AutofillId> getFieldIds();
2816*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.service.autofill.InlinePresentation getFieldInlinePresentation(int);
2817*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.service.autofill.InlinePresentation getFieldInlineTooltipPresentation(int);
2818*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.widget.RemoteViews getFieldPresentation(int);
2819*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public java.util.ArrayList<android.view.autofill.AutofillValue> getFieldValues();
2820*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.service.autofill.Dataset.DatasetFieldFilter getFilter(int);
2821*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getId();
2822*344a7f5eSAndroid Build Coastguard Worker    method public boolean isEmpty();
2823*344a7f5eSAndroid Build Coastguard Worker  }
2824*344a7f5eSAndroid Build Coastguard Worker
2825*344a7f5eSAndroid Build Coastguard Worker  public static final class Dataset.Builder {
2826*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.service.autofill.Dataset.Builder setContent(@NonNull android.view.autofill.AutofillId, @Nullable android.content.ClipData);
2827*344a7f5eSAndroid Build Coastguard Worker  }
2828*344a7f5eSAndroid Build Coastguard Worker
2829*344a7f5eSAndroid Build Coastguard Worker  public static final class Dataset.DatasetFieldFilter implements android.os.Parcelable {
2830*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
2831*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public java.util.regex.Pattern getPattern();
2832*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
2833*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.service.autofill.Dataset.DatasetFieldFilter> CREATOR;
2834*344a7f5eSAndroid Build Coastguard Worker  }
2835*344a7f5eSAndroid Build Coastguard Worker
2836*344a7f5eSAndroid Build Coastguard Worker  public final class DateTransformation extends android.service.autofill.InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation {
2837*344a7f5eSAndroid Build Coastguard Worker    method public void apply(@NonNull android.service.autofill.ValueFinder, @NonNull android.widget.RemoteViews, int) throws java.lang.Exception;
2838*344a7f5eSAndroid Build Coastguard Worker  }
2839*344a7f5eSAndroid Build Coastguard Worker
2840*344a7f5eSAndroid Build Coastguard Worker  public final class DateValueSanitizer extends android.service.autofill.InternalSanitizer implements android.os.Parcelable android.service.autofill.Sanitizer {
2841*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.autofill.AutofillValue sanitize(@NonNull android.view.autofill.AutofillValue);
2842*344a7f5eSAndroid Build Coastguard Worker  }
2843*344a7f5eSAndroid Build Coastguard Worker
2844*344a7f5eSAndroid Build Coastguard Worker  public final class FillResponse implements android.os.Parcelable {
2845*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Set<android.service.assist.classification.FieldClassification> getDetectedFieldClassifications();
2846*344a7f5eSAndroid Build Coastguard Worker    method public int getFlags();
2847*344a7f5eSAndroid Build Coastguard Worker  }
2848*344a7f5eSAndroid Build Coastguard Worker
2849*344a7f5eSAndroid Build Coastguard Worker  public final class ImageTransformation extends android.service.autofill.InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation {
2850*344a7f5eSAndroid Build Coastguard Worker    method public void apply(@NonNull android.service.autofill.ValueFinder, @NonNull android.widget.RemoteViews, int) throws java.lang.Exception;
2851*344a7f5eSAndroid Build Coastguard Worker  }
2852*344a7f5eSAndroid Build Coastguard Worker
2853*344a7f5eSAndroid Build Coastguard Worker  public abstract class InternalOnClickAction implements android.service.autofill.OnClickAction android.os.Parcelable {
2854*344a7f5eSAndroid Build Coastguard Worker    ctor public InternalOnClickAction();
2855*344a7f5eSAndroid Build Coastguard Worker    method public abstract void onClick(@NonNull android.view.ViewGroup);
2856*344a7f5eSAndroid Build Coastguard Worker  }
2857*344a7f5eSAndroid Build Coastguard Worker
2858*344a7f5eSAndroid Build Coastguard Worker  public abstract class InternalSanitizer implements android.os.Parcelable android.service.autofill.Sanitizer {
2859*344a7f5eSAndroid Build Coastguard Worker    ctor public InternalSanitizer();
2860*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public abstract android.view.autofill.AutofillValue sanitize(@NonNull android.view.autofill.AutofillValue);
2861*344a7f5eSAndroid Build Coastguard Worker  }
2862*344a7f5eSAndroid Build Coastguard Worker
2863*344a7f5eSAndroid Build Coastguard Worker  public abstract class InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation {
2864*344a7f5eSAndroid Build Coastguard Worker    ctor public InternalTransformation();
2865*344a7f5eSAndroid Build Coastguard Worker    method public static boolean batchApply(@NonNull android.service.autofill.ValueFinder, @NonNull android.widget.RemoteViews, @NonNull java.util.ArrayList<android.util.Pair<java.lang.Integer,android.service.autofill.InternalTransformation>>);
2866*344a7f5eSAndroid Build Coastguard Worker  }
2867*344a7f5eSAndroid Build Coastguard Worker
2868*344a7f5eSAndroid Build Coastguard Worker  public abstract class InternalValidator implements android.os.Parcelable android.service.autofill.Validator {
2869*344a7f5eSAndroid Build Coastguard Worker    ctor public InternalValidator();
2870*344a7f5eSAndroid Build Coastguard Worker    method public abstract boolean isValid(@NonNull android.service.autofill.ValueFinder);
2871*344a7f5eSAndroid Build Coastguard Worker  }
2872*344a7f5eSAndroid Build Coastguard Worker
2873*344a7f5eSAndroid Build Coastguard Worker  public final class LuhnChecksumValidator extends android.service.autofill.InternalValidator implements android.os.Parcelable android.service.autofill.Validator {
2874*344a7f5eSAndroid Build Coastguard Worker    method public boolean isValid(@NonNull android.service.autofill.ValueFinder);
2875*344a7f5eSAndroid Build Coastguard Worker  }
2876*344a7f5eSAndroid Build Coastguard Worker
2877*344a7f5eSAndroid Build Coastguard Worker  public final class RegexValidator extends android.service.autofill.InternalValidator implements android.os.Parcelable android.service.autofill.Validator {
2878*344a7f5eSAndroid Build Coastguard Worker    method public boolean isValid(@NonNull android.service.autofill.ValueFinder);
2879*344a7f5eSAndroid Build Coastguard Worker  }
2880*344a7f5eSAndroid Build Coastguard Worker
2881*344a7f5eSAndroid Build Coastguard Worker  public final class TextValueSanitizer extends android.service.autofill.InternalSanitizer implements android.os.Parcelable android.service.autofill.Sanitizer {
2882*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.autofill.AutofillValue sanitize(@NonNull android.view.autofill.AutofillValue);
2883*344a7f5eSAndroid Build Coastguard Worker  }
2884*344a7f5eSAndroid Build Coastguard Worker
2885*344a7f5eSAndroid Build Coastguard Worker  public final class UserData implements android.os.Parcelable {
2886*344a7f5eSAndroid Build Coastguard Worker    method public android.util.ArrayMap<java.lang.String,java.lang.String> getFieldClassificationAlgorithms();
2887*344a7f5eSAndroid Build Coastguard Worker  }
2888*344a7f5eSAndroid Build Coastguard Worker
2889*344a7f5eSAndroid Build Coastguard Worker  public interface ValueFinder {
2890*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public default String findByAutofillId(@NonNull android.view.autofill.AutofillId);
2891*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.autofill.AutofillValue findRawValueByAutofillId(@NonNull android.view.autofill.AutofillId);
2892*344a7f5eSAndroid Build Coastguard Worker  }
2893*344a7f5eSAndroid Build Coastguard Worker
2894*344a7f5eSAndroid Build Coastguard Worker  public final class VisibilitySetterAction extends android.service.autofill.InternalOnClickAction implements android.service.autofill.OnClickAction android.os.Parcelable {
2895*344a7f5eSAndroid Build Coastguard Worker    method public void onClick(@NonNull android.view.ViewGroup);
2896*344a7f5eSAndroid Build Coastguard Worker  }
2897*344a7f5eSAndroid Build Coastguard Worker
2898*344a7f5eSAndroid Build Coastguard Worker}
2899*344a7f5eSAndroid Build Coastguard Worker
2900*344a7f5eSAndroid Build Coastguard Workerpackage android.service.autofill.augmented {
2901*344a7f5eSAndroid Build Coastguard Worker
2902*344a7f5eSAndroid Build Coastguard Worker  public final class FillRequest {
2903*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.content.ComponentName getActivityComponent();
2904*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.autofill.AutofillId getFocusedId();
2905*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.autofill.AutofillValue getFocusedValue();
2906*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.app.assist.AssistStructure.ViewNode getFocusedViewNode();
2907*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.inputmethod.InlineSuggestionsRequest getInlineSuggestionsRequest();
2908*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.service.autofill.augmented.PresentationParams getPresentationParams();
2909*344a7f5eSAndroid Build Coastguard Worker    method public int getTaskId();
2910*344a7f5eSAndroid Build Coastguard Worker  }
2911*344a7f5eSAndroid Build Coastguard Worker
2912*344a7f5eSAndroid Build Coastguard Worker}
2913*344a7f5eSAndroid Build Coastguard Worker
2914*344a7f5eSAndroid Build Coastguard Workerpackage android.service.dreams {
2915*344a7f5eSAndroid Build Coastguard Worker
2916*344a7f5eSAndroid Build Coastguard Worker  public abstract class DreamOverlayService extends android.app.Service {
2917*344a7f5eSAndroid Build Coastguard Worker    ctor public DreamOverlayService();
2918*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent);
2919*344a7f5eSAndroid Build Coastguard Worker    method public void onEndDream();
2920*344a7f5eSAndroid Build Coastguard Worker    method public abstract void onStartDream(@NonNull android.view.WindowManager.LayoutParams);
2921*344a7f5eSAndroid Build Coastguard Worker    method public final void requestExit();
2922*344a7f5eSAndroid Build Coastguard Worker    method public final boolean shouldShowComplications();
2923*344a7f5eSAndroid Build Coastguard Worker  }
2924*344a7f5eSAndroid Build Coastguard Worker
2925*344a7f5eSAndroid Build Coastguard Worker  public class DreamService extends android.app.Service implements android.view.Window.Callback {
2926*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static android.service.dreams.DreamService.DreamMetadata getDreamMetadata(@NonNull android.content.Context, @Nullable android.content.pm.ServiceInfo);
2927*344a7f5eSAndroid Build Coastguard Worker  }
2928*344a7f5eSAndroid Build Coastguard Worker
2929*344a7f5eSAndroid Build Coastguard Worker  public static final class DreamService.DreamMetadata {
2930*344a7f5eSAndroid Build Coastguard Worker    field @Nullable public final android.graphics.drawable.Drawable previewImage;
2931*344a7f5eSAndroid Build Coastguard Worker    field @Nullable public final android.content.ComponentName settingsActivity;
2932*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public final boolean showComplications;
2933*344a7f5eSAndroid Build Coastguard Worker  }
2934*344a7f5eSAndroid Build Coastguard Worker
2935*344a7f5eSAndroid Build Coastguard Worker}
2936*344a7f5eSAndroid Build Coastguard Worker
2937*344a7f5eSAndroid Build Coastguard Workerpackage android.service.notification {
2938*344a7f5eSAndroid Build Coastguard Worker
2939*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public abstract class ConditionProviderService extends android.app.Service {
2940*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isBound();
2941*344a7f5eSAndroid Build Coastguard Worker  }
2942*344a7f5eSAndroid Build Coastguard Worker
2943*344a7f5eSAndroid Build Coastguard Worker}
2944*344a7f5eSAndroid Build Coastguard Worker
2945*344a7f5eSAndroid Build Coastguard Workerpackage android.service.quickaccesswallet {
2946*344a7f5eSAndroid Build Coastguard Worker
2947*344a7f5eSAndroid Build Coastguard Worker  public interface QuickAccessWalletClient extends java.io.Closeable {
2948*344a7f5eSAndroid Build Coastguard Worker    method public void addWalletServiceEventListener(@NonNull android.service.quickaccesswallet.QuickAccessWalletClient.WalletServiceEventListener);
2949*344a7f5eSAndroid Build Coastguard Worker    method public void addWalletServiceEventListener(@NonNull java.util.concurrent.Executor, @NonNull android.service.quickaccesswallet.QuickAccessWalletClient.WalletServiceEventListener);
2950*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.service.quickaccesswallet.QuickAccessWalletClient create(@NonNull android.content.Context);
2951*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.content.Intent createWalletIntent();
2952*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.content.Intent createWalletSettingsIntent();
2953*344a7f5eSAndroid Build Coastguard Worker    method public void disconnect();
2954*344a7f5eSAndroid Build Coastguard Worker    method public void getWalletCards(@NonNull android.service.quickaccesswallet.GetWalletCardsRequest, @NonNull android.service.quickaccesswallet.QuickAccessWalletClient.OnWalletCardsRetrievedCallback);
2955*344a7f5eSAndroid Build Coastguard Worker    method public void getWalletCards(@NonNull java.util.concurrent.Executor, @NonNull android.service.quickaccesswallet.GetWalletCardsRequest, @NonNull android.service.quickaccesswallet.QuickAccessWalletClient.OnWalletCardsRetrievedCallback);
2956*344a7f5eSAndroid Build Coastguard Worker    method public void getWalletPendingIntent(@NonNull java.util.concurrent.Executor, @NonNull android.service.quickaccesswallet.QuickAccessWalletClient.WalletPendingIntentCallback);
2957*344a7f5eSAndroid Build Coastguard Worker    method public boolean isWalletFeatureAvailable();
2958*344a7f5eSAndroid Build Coastguard Worker    method public boolean isWalletFeatureAvailableWhenDeviceLocked();
2959*344a7f5eSAndroid Build Coastguard Worker    method public boolean isWalletServiceAvailable();
2960*344a7f5eSAndroid Build Coastguard Worker    method public void notifyWalletDismissed();
2961*344a7f5eSAndroid Build Coastguard Worker    method public void removeWalletServiceEventListener(@NonNull android.service.quickaccesswallet.QuickAccessWalletClient.WalletServiceEventListener);
2962*344a7f5eSAndroid Build Coastguard Worker    method public void selectWalletCard(@NonNull android.service.quickaccesswallet.SelectWalletCardRequest);
2963*344a7f5eSAndroid Build Coastguard Worker  }
2964*344a7f5eSAndroid Build Coastguard Worker
2965*344a7f5eSAndroid Build Coastguard Worker  public static interface QuickAccessWalletClient.OnWalletCardsRetrievedCallback {
2966*344a7f5eSAndroid Build Coastguard Worker    method public void onWalletCardRetrievalError(@NonNull android.service.quickaccesswallet.GetWalletCardsError);
2967*344a7f5eSAndroid Build Coastguard Worker    method public void onWalletCardsRetrieved(@NonNull android.service.quickaccesswallet.GetWalletCardsResponse);
2968*344a7f5eSAndroid Build Coastguard Worker  }
2969*344a7f5eSAndroid Build Coastguard Worker
2970*344a7f5eSAndroid Build Coastguard Worker  public static interface QuickAccessWalletClient.WalletPendingIntentCallback {
2971*344a7f5eSAndroid Build Coastguard Worker    method public void onWalletPendingIntentRetrieved(@Nullable android.app.PendingIntent);
2972*344a7f5eSAndroid Build Coastguard Worker  }
2973*344a7f5eSAndroid Build Coastguard Worker
2974*344a7f5eSAndroid Build Coastguard Worker  public static interface QuickAccessWalletClient.WalletServiceEventListener {
2975*344a7f5eSAndroid Build Coastguard Worker    method public void onWalletServiceEvent(@NonNull android.service.quickaccesswallet.WalletServiceEvent);
2976*344a7f5eSAndroid Build Coastguard Worker  }
2977*344a7f5eSAndroid Build Coastguard Worker
2978*344a7f5eSAndroid Build Coastguard Worker}
2979*344a7f5eSAndroid Build Coastguard Worker
2980*344a7f5eSAndroid Build Coastguard Workerpackage android.service.quicksettings {
2981*344a7f5eSAndroid Build Coastguard Worker
2982*344a7f5eSAndroid Build Coastguard Worker  public class TileService extends android.app.Service {
2983*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isQuickSettingsSupported();
2984*344a7f5eSAndroid Build Coastguard Worker  }
2985*344a7f5eSAndroid Build Coastguard Worker
2986*344a7f5eSAndroid Build Coastguard Worker}
2987*344a7f5eSAndroid Build Coastguard Worker
2988*344a7f5eSAndroid Build Coastguard Workerpackage android.service.voice {
2989*344a7f5eSAndroid Build Coastguard Worker
2990*344a7f5eSAndroid Build Coastguard Worker  public class AlwaysOnHotwordDetector implements android.service.voice.HotwordDetector {
2991*344a7f5eSAndroid Build Coastguard Worker    method public void overrideAvailability(int);
2992*344a7f5eSAndroid Build Coastguard Worker    method public void resetAvailability();
2993*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public void triggerHardwareRecognitionEventForTest(int, int, long, boolean, int, int, int, boolean, @NonNull android.media.AudioFormat, @Nullable byte[], @NonNull java.util.List<android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionExtra>);
2994*344a7f5eSAndroid Build Coastguard Worker  }
2995*344a7f5eSAndroid Build Coastguard Worker
2996*344a7f5eSAndroid Build Coastguard Worker  public static final class AlwaysOnHotwordDetector.EventPayload.Builder {
2997*344a7f5eSAndroid Build Coastguard Worker    ctor public AlwaysOnHotwordDetector.EventPayload.Builder();
2998*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload build();
2999*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setAudioStream(@NonNull android.os.ParcelFileDescriptor);
3000*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setCaptureAudioFormat(@NonNull android.media.AudioFormat);
3001*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setCaptureAvailable(boolean);
3002*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setCaptureSession(int);
3003*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setData(@NonNull byte[]);
3004*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setDataFormat(int);
3005*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setHalEventReceivedMillis(long);
3006*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setHotwordDetectedResult(@NonNull android.service.voice.HotwordDetectedResult);
3007*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setKeyphraseRecognitionExtras(@NonNull java.util.List<android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionExtra>);
3008*344a7f5eSAndroid Build Coastguard Worker  }
3009*344a7f5eSAndroid Build Coastguard Worker
3010*344a7f5eSAndroid Build Coastguard Worker  public abstract class HotwordDetectionService extends android.app.Service implements android.service.voice.SandboxedDetectionInitializer {
3011*344a7f5eSAndroid Build Coastguard Worker    field public static final boolean ENABLE_PROXIMITY_RESULT = true;
3012*344a7f5eSAndroid Build Coastguard Worker  }
3013*344a7f5eSAndroid Build Coastguard Worker
3014*344a7f5eSAndroid Build Coastguard Worker  public final class HotwordDetectionServiceFailure implements android.os.Parcelable {
3015*344a7f5eSAndroid Build Coastguard Worker    ctor public HotwordDetectionServiceFailure(int, @NonNull String);
3016*344a7f5eSAndroid Build Coastguard Worker  }
3017*344a7f5eSAndroid Build Coastguard Worker
3018*344a7f5eSAndroid Build Coastguard Worker  public final class SoundTriggerFailure implements android.os.Parcelable {
3019*344a7f5eSAndroid Build Coastguard Worker    ctor public SoundTriggerFailure(int, @NonNull String);
3020*344a7f5eSAndroid Build Coastguard Worker  }
3021*344a7f5eSAndroid Build Coastguard Worker
3022*344a7f5eSAndroid Build Coastguard Worker  public final class VisibleActivityInfo implements android.os.Parcelable {
3023*344a7f5eSAndroid Build Coastguard Worker    ctor public VisibleActivityInfo(int, @NonNull android.os.IBinder);
3024*344a7f5eSAndroid Build Coastguard Worker  }
3025*344a7f5eSAndroid Build Coastguard Worker
3026*344a7f5eSAndroid Build Coastguard Worker  public final class VisualQueryDetectionServiceFailure implements android.os.Parcelable {
3027*344a7f5eSAndroid Build Coastguard Worker    ctor public VisualQueryDetectionServiceFailure(int, @NonNull String);
3028*344a7f5eSAndroid Build Coastguard Worker  }
3029*344a7f5eSAndroid Build Coastguard Worker
3030*344a7f5eSAndroid Build Coastguard Worker  public class VoiceInteractionService extends android.app.Service {
3031*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_HOTWORD_DETECTION) public final android.service.voice.AlwaysOnHotwordDetector createAlwaysOnHotwordDetectorForTest(@NonNull String, @NonNull java.util.Locale, @NonNull android.hardware.soundtrigger.SoundTrigger.ModuleProperties, @NonNull java.util.concurrent.Executor, @NonNull android.service.voice.AlwaysOnHotwordDetector.Callback);
3032*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_HOTWORD_DETECTION) public final android.service.voice.AlwaysOnHotwordDetector createAlwaysOnHotwordDetectorForTest(@NonNull String, @NonNull java.util.Locale, @Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory, @NonNull android.hardware.soundtrigger.SoundTrigger.ModuleProperties, @NonNull java.util.concurrent.Executor, @NonNull android.service.voice.AlwaysOnHotwordDetector.Callback);
3033*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public final java.util.List<android.hardware.soundtrigger.SoundTrigger.ModuleProperties> listModuleProperties();
3034*344a7f5eSAndroid Build Coastguard Worker    method public final void setTestModuleForAlwaysOnHotwordDetectorEnabled(boolean);
3035*344a7f5eSAndroid Build Coastguard Worker  }
3036*344a7f5eSAndroid Build Coastguard Worker
3037*344a7f5eSAndroid Build Coastguard Worker  public static class VoiceInteractionSession.ActivityId {
3038*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.IBinder getAssistToken();
3039*344a7f5eSAndroid Build Coastguard Worker    method public int getTaskId();
3040*344a7f5eSAndroid Build Coastguard Worker  }
3041*344a7f5eSAndroid Build Coastguard Worker
3042*344a7f5eSAndroid Build Coastguard Worker}
3043*344a7f5eSAndroid Build Coastguard Worker
3044*344a7f5eSAndroid Build Coastguard Workerpackage android.service.watchdog {
3045*344a7f5eSAndroid Build Coastguard Worker
3046*344a7f5eSAndroid Build Coastguard Worker  public abstract class ExplicitHealthCheckService extends android.app.Service {
3047*344a7f5eSAndroid Build Coastguard Worker    method public void setCallback(@Nullable android.os.RemoteCallback);
3048*344a7f5eSAndroid Build Coastguard Worker  }
3049*344a7f5eSAndroid Build Coastguard Worker
3050*344a7f5eSAndroid Build Coastguard Worker}
3051*344a7f5eSAndroid Build Coastguard Worker
3052*344a7f5eSAndroid Build Coastguard Workerpackage android.speech {
3053*344a7f5eSAndroid Build Coastguard Worker
3054*344a7f5eSAndroid Build Coastguard Worker  public class SpeechRecognizer {
3055*344a7f5eSAndroid Build Coastguard Worker    method @MainThread @NonNull public static android.speech.SpeechRecognizer createOnDeviceTestingSpeechRecognizer(@NonNull android.content.Context);
3056*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_SPEECH_RECOGNITION) public void setTemporaryOnDeviceRecognizer(@Nullable android.content.ComponentName);
3057*344a7f5eSAndroid Build Coastguard Worker  }
3058*344a7f5eSAndroid Build Coastguard Worker
3059*344a7f5eSAndroid Build Coastguard Worker}
3060*344a7f5eSAndroid Build Coastguard Worker
3061*344a7f5eSAndroid Build Coastguard Workerpackage android.telecom {
3062*344a7f5eSAndroid Build Coastguard Worker
3063*344a7f5eSAndroid Build Coastguard Worker  public static class Call.Details {
3064*344a7f5eSAndroid Build Coastguard Worker    method public String getTelecomCallId();
3065*344a7f5eSAndroid Build Coastguard Worker  }
3066*344a7f5eSAndroid Build Coastguard Worker
3067*344a7f5eSAndroid Build Coastguard Worker  public final class CallAudioState implements android.os.Parcelable {
3068*344a7f5eSAndroid Build Coastguard Worker    ctor public CallAudioState(boolean, int, int, @Nullable android.bluetooth.BluetoothDevice, @NonNull java.util.Collection<android.bluetooth.BluetoothDevice>);
3069*344a7f5eSAndroid Build Coastguard Worker  }
3070*344a7f5eSAndroid Build Coastguard Worker
3071*344a7f5eSAndroid Build Coastguard Worker  public static final class ConnectionRequest.Builder {
3072*344a7f5eSAndroid Build Coastguard Worker    ctor public ConnectionRequest.Builder();
3073*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest build();
3074*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setAccountHandle(@NonNull android.telecom.PhoneAccountHandle);
3075*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setAddress(@NonNull android.net.Uri);
3076*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setExtras(@NonNull android.os.Bundle);
3077*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setIsAdhocConferenceCall(boolean);
3078*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setParticipants(@Nullable java.util.List<android.net.Uri>);
3079*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setRttPipeFromInCall(@NonNull android.os.ParcelFileDescriptor);
3080*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setRttPipeToInCall(@NonNull android.os.ParcelFileDescriptor);
3081*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setShouldShowIncomingCallUi(boolean);
3082*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setTelecomCallId(@NonNull String);
3083*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setVideoState(int);
3084*344a7f5eSAndroid Build Coastguard Worker  }
3085*344a7f5eSAndroid Build Coastguard Worker
3086*344a7f5eSAndroid Build Coastguard Worker  public abstract class ConnectionService extends android.app.Service {
3087*344a7f5eSAndroid Build Coastguard Worker    method public void onBindClient(@Nullable android.content.Intent);
3088*344a7f5eSAndroid Build Coastguard Worker  }
3089*344a7f5eSAndroid Build Coastguard Worker
3090*344a7f5eSAndroid Build Coastguard Worker}
3091*344a7f5eSAndroid Build Coastguard Worker
3092*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony {
3093*344a7f5eSAndroid Build Coastguard Worker
3094*344a7f5eSAndroid Build Coastguard Worker  public final class BarringInfo implements android.os.Parcelable {
3095*344a7f5eSAndroid Build Coastguard Worker    ctor public BarringInfo(@Nullable android.telephony.CellIdentity, @NonNull android.util.SparseArray<android.telephony.BarringInfo.BarringServiceInfo>);
3096*344a7f5eSAndroid Build Coastguard Worker  }
3097*344a7f5eSAndroid Build Coastguard Worker
3098*344a7f5eSAndroid Build Coastguard Worker  public static final class BarringInfo.BarringServiceInfo implements android.os.Parcelable {
3099*344a7f5eSAndroid Build Coastguard Worker    ctor public BarringInfo.BarringServiceInfo(int, boolean, int, int);
3100*344a7f5eSAndroid Build Coastguard Worker  }
3101*344a7f5eSAndroid Build Coastguard Worker
3102*344a7f5eSAndroid Build Coastguard Worker  public class MbmsDownloadSession implements java.lang.AutoCloseable {
3103*344a7f5eSAndroid Build Coastguard Worker    field public static final String MBMS_DOWNLOAD_SERVICE_OVERRIDE_METADATA = "mbms-download-service-override";
3104*344a7f5eSAndroid Build Coastguard Worker  }
3105*344a7f5eSAndroid Build Coastguard Worker
3106*344a7f5eSAndroid Build Coastguard Worker  public class MbmsGroupCallSession implements java.lang.AutoCloseable {
3107*344a7f5eSAndroid Build Coastguard Worker    field public static final String MBMS_GROUP_CALL_SERVICE_OVERRIDE_METADATA = "mbms-group-call-service-override";
3108*344a7f5eSAndroid Build Coastguard Worker  }
3109*344a7f5eSAndroid Build Coastguard Worker
3110*344a7f5eSAndroid Build Coastguard Worker  public class MbmsStreamingSession implements java.lang.AutoCloseable {
3111*344a7f5eSAndroid Build Coastguard Worker    field public static final String MBMS_STREAMING_SERVICE_OVERRIDE_METADATA = "mbms-streaming-service-override";
3112*344a7f5eSAndroid Build Coastguard Worker  }
3113*344a7f5eSAndroid Build Coastguard Worker
3114*344a7f5eSAndroid Build Coastguard Worker  public final class ModemActivityInfo implements android.os.Parcelable {
3115*344a7f5eSAndroid Build Coastguard Worker    ctor public ModemActivityInfo(long, int, int, @NonNull int[], int);
3116*344a7f5eSAndroid Build Coastguard Worker    method public boolean isEmpty();
3117*344a7f5eSAndroid Build Coastguard Worker    method public boolean isValid();
3118*344a7f5eSAndroid Build Coastguard Worker  }
3119*344a7f5eSAndroid Build Coastguard Worker
3120*344a7f5eSAndroid Build Coastguard Worker  public class PhoneNumberUtils {
3121*344a7f5eSAndroid Build Coastguard Worker    method public static int getMinMatchForTest();
3122*344a7f5eSAndroid Build Coastguard Worker    method public static void setMinMatchForTest(int);
3123*344a7f5eSAndroid Build Coastguard Worker  }
3124*344a7f5eSAndroid Build Coastguard Worker
3125*344a7f5eSAndroid Build Coastguard Worker  public final class PreciseDataConnectionState implements android.os.Parcelable {
3126*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public PreciseDataConnectionState(int, int, int, @NonNull String, @Nullable android.net.LinkProperties, int);
3127*344a7f5eSAndroid Build Coastguard Worker  }
3128*344a7f5eSAndroid Build Coastguard Worker
3129*344a7f5eSAndroid Build Coastguard Worker  public class ServiceState implements android.os.Parcelable {
3130*344a7f5eSAndroid Build Coastguard Worker    method public void addNetworkRegistrationInfo(android.telephony.NetworkRegistrationInfo);
3131*344a7f5eSAndroid Build Coastguard Worker    method public int getDataNetworkType();
3132*344a7f5eSAndroid Build Coastguard Worker    method public int getDataRegState();
3133*344a7f5eSAndroid Build Coastguard Worker    method public void setCdmaSystemAndNetworkId(int, int);
3134*344a7f5eSAndroid Build Coastguard Worker    method public void setCellBandwidths(int[]);
3135*344a7f5eSAndroid Build Coastguard Worker    method public void setChannelNumber(int);
3136*344a7f5eSAndroid Build Coastguard Worker    method public void setDataRoamingType(int);
3137*344a7f5eSAndroid Build Coastguard Worker    method public void setRilDataRadioTechnology(int);
3138*344a7f5eSAndroid Build Coastguard Worker    method public void setRilVoiceRadioTechnology(int);
3139*344a7f5eSAndroid Build Coastguard Worker    method public void setVoiceRoamingType(int);
3140*344a7f5eSAndroid Build Coastguard Worker  }
3141*344a7f5eSAndroid Build Coastguard Worker
3142*344a7f5eSAndroid Build Coastguard Worker  public final class SmsManager {
3143*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public int checkSmsShortCodeDestination(String, String);
3144*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void clearStorageMonitorMemoryStatusOverride();
3145*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setStorageMonitorMemoryStatusOverride(boolean);
3146*344a7f5eSAndroid Build Coastguard Worker    field public static final int SMS_CATEGORY_FREE_SHORT_CODE = 1; // 0x1
3147*344a7f5eSAndroid Build Coastguard Worker    field public static final int SMS_CATEGORY_NOT_SHORT_CODE = 0; // 0x0
3148*344a7f5eSAndroid Build Coastguard Worker    field public static final int SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE = 3; // 0x3
3149*344a7f5eSAndroid Build Coastguard Worker    field public static final int SMS_CATEGORY_PREMIUM_SHORT_CODE = 4; // 0x4
3150*344a7f5eSAndroid Build Coastguard Worker    field public static final int SMS_CATEGORY_STANDARD_SHORT_CODE = 2; // 0x2
3151*344a7f5eSAndroid Build Coastguard Worker  }
3152*344a7f5eSAndroid Build Coastguard Worker
3153*344a7f5eSAndroid Build Coastguard Worker  public class TelephonyManager {
3154*344a7f5eSAndroid Build Coastguard Worker    method public int addDevicePolicyOverrideApn(@NonNull android.content.Context, @NonNull android.telephony.data.ApnSetting);
3155*344a7f5eSAndroid Build Coastguard Worker    method public int getCarrierIdListVersion();
3156*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List<java.lang.String> getCertsFromCarrierPrivilegeAccessRules();
3157*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.telephony.data.ApnSetting> getDevicePolicyOverrideApns(@NonNull android.content.Context);
3158*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.util.Pair<java.lang.Integer,java.lang.Integer> getHalVersion(int);
3159*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public String getLine1AlphaTag();
3160*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.util.Pair<java.lang.Integer,java.lang.Integer> getRadioHalVersion();
3161*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public boolean isDomainSelectionSupported();
3162*344a7f5eSAndroid Build Coastguard Worker    method public boolean modifyDevicePolicyOverrideApn(@NonNull android.content.Context, int, @NonNull android.telephony.data.ApnSetting);
3163*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void refreshUiccProfile();
3164*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setCarrierTestOverride(String, String, String, String, String, String, String);
3165*344a7f5eSAndroid Build Coastguard Worker    method public void setCarrierTestOverride(String, String, String, String, String, String, String, String, String);
3166*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.BIND_TELECOM_CONNECTION_SERVICE) public void setVoiceServiceStateOverride(boolean);
3167*344a7f5eSAndroid Build Coastguard Worker    field public static final int HAL_SERVICE_DATA = 1; // 0x1
3168*344a7f5eSAndroid Build Coastguard Worker    field public static final int HAL_SERVICE_IMS = 7; // 0x7
3169*344a7f5eSAndroid Build Coastguard Worker    field public static final int HAL_SERVICE_MESSAGING = 2; // 0x2
3170*344a7f5eSAndroid Build Coastguard Worker    field public static final int HAL_SERVICE_MODEM = 3; // 0x3
3171*344a7f5eSAndroid Build Coastguard Worker    field public static final int HAL_SERVICE_NETWORK = 4; // 0x4
3172*344a7f5eSAndroid Build Coastguard Worker    field public static final int HAL_SERVICE_SIM = 5; // 0x5
3173*344a7f5eSAndroid Build Coastguard Worker    field public static final int HAL_SERVICE_VOICE = 6; // 0x6
3174*344a7f5eSAndroid Build Coastguard Worker    field public static final android.util.Pair HAL_VERSION_UNKNOWN;
3175*344a7f5eSAndroid Build Coastguard Worker    field public static final android.util.Pair HAL_VERSION_UNSUPPORTED;
3176*344a7f5eSAndroid Build Coastguard Worker    field public static final int UNKNOWN_CARRIER_ID_LIST_VERSION = -1; // 0xffffffff
3177*344a7f5eSAndroid Build Coastguard Worker  }
3178*344a7f5eSAndroid Build Coastguard Worker
3179*344a7f5eSAndroid Build Coastguard Worker}
3180*344a7f5eSAndroid Build Coastguard Worker
3181*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.emergency {
3182*344a7f5eSAndroid Build Coastguard Worker
3183*344a7f5eSAndroid Build Coastguard Worker  public final class EmergencyNumber implements java.lang.Comparable<android.telephony.emergency.EmergencyNumber> android.os.Parcelable {
3184*344a7f5eSAndroid Build Coastguard Worker    field public static final int EMERGENCY_NUMBER_SOURCE_TEST = 32; // 0x20
3185*344a7f5eSAndroid Build Coastguard Worker  }
3186*344a7f5eSAndroid Build Coastguard Worker
3187*344a7f5eSAndroid Build Coastguard Worker}
3188*344a7f5eSAndroid Build Coastguard Worker
3189*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.ims {
3190*344a7f5eSAndroid Build Coastguard Worker
3191*344a7f5eSAndroid Build Coastguard Worker  public final class ImsCallProfile implements android.os.Parcelable {
3192*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_OEM_EXTRAS = "android.telephony.ims.extra.OEM_EXTRAS";
3193*344a7f5eSAndroid Build Coastguard Worker  }
3194*344a7f5eSAndroid Build Coastguard Worker
3195*344a7f5eSAndroid Build Coastguard Worker}
3196*344a7f5eSAndroid Build Coastguard Worker
3197*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.ims.feature {
3198*344a7f5eSAndroid Build Coastguard Worker
3199*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public static class ImsFeature.Capabilities {
3200*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated protected int mCapabilities;
3201*344a7f5eSAndroid Build Coastguard Worker  }
3202*344a7f5eSAndroid Build Coastguard Worker
3203*344a7f5eSAndroid Build Coastguard Worker}
3204*344a7f5eSAndroid Build Coastguard Worker
3205*344a7f5eSAndroid Build Coastguard Workerpackage android.text {
3206*344a7f5eSAndroid Build Coastguard Worker
3207*344a7f5eSAndroid Build Coastguard Worker  public final class FontConfig implements android.os.Parcelable {
3208*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
3209*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.text.FontConfig.Alias> getAliases();
3210*344a7f5eSAndroid Build Coastguard Worker    method @IntRange(from=0) public int getConfigVersion();
3211*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.text.FontConfig.FontFamily> getFontFamilies();
3212*344a7f5eSAndroid Build Coastguard Worker    method public long getLastModifiedTimeMillis();
3213*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.text.FontConfig.NamedFamilyList> getNamedFamilyLists();
3214*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
3215*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.text.FontConfig> CREATOR;
3216*344a7f5eSAndroid Build Coastguard Worker  }
3217*344a7f5eSAndroid Build Coastguard Worker
3218*344a7f5eSAndroid Build Coastguard Worker  public static final class FontConfig.Alias implements android.os.Parcelable {
3219*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
3220*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getName();
3221*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getOriginal();
3222*344a7f5eSAndroid Build Coastguard Worker    method @IntRange(from=0, to=1000) public int getWeight();
3223*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
3224*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.text.FontConfig.Alias> CREATOR;
3225*344a7f5eSAndroid Build Coastguard Worker  }
3226*344a7f5eSAndroid Build Coastguard Worker
3227*344a7f5eSAndroid Build Coastguard Worker  public static final class FontConfig.Font implements android.os.Parcelable {
3228*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
3229*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.io.File getFile();
3230*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getFontFamilyName();
3231*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getFontVariationSettings();
3232*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getPostScriptName();
3233*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.graphics.fonts.FontStyle getStyle();
3234*344a7f5eSAndroid Build Coastguard Worker    method public int getTtcIndex();
3235*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
3236*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.text.FontConfig.Font> CREATOR;
3237*344a7f5eSAndroid Build Coastguard Worker  }
3238*344a7f5eSAndroid Build Coastguard Worker
3239*344a7f5eSAndroid Build Coastguard Worker  public static final class FontConfig.FontFamily implements android.os.Parcelable {
3240*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
3241*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.text.FontConfig.Font> getFontList();
3242*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.LocaleList getLocaleList();
3243*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @Nullable public String getName();
3244*344a7f5eSAndroid Build Coastguard Worker    method public int getVariant();
3245*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
3246*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.text.FontConfig.FontFamily> CREATOR;
3247*344a7f5eSAndroid Build Coastguard Worker    field public static final int VARIANT_COMPACT = 1; // 0x1
3248*344a7f5eSAndroid Build Coastguard Worker    field public static final int VARIANT_DEFAULT = 0; // 0x0
3249*344a7f5eSAndroid Build Coastguard Worker    field public static final int VARIANT_ELEGANT = 2; // 0x2
3250*344a7f5eSAndroid Build Coastguard Worker  }
3251*344a7f5eSAndroid Build Coastguard Worker
3252*344a7f5eSAndroid Build Coastguard Worker  public static final class FontConfig.NamedFamilyList implements android.os.Parcelable {
3253*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
3254*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.text.FontConfig.FontFamily> getFamilies();
3255*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getName();
3256*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
3257*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.text.FontConfig.NamedFamilyList> CREATOR;
3258*344a7f5eSAndroid Build Coastguard Worker  }
3259*344a7f5eSAndroid Build Coastguard Worker
3260*344a7f5eSAndroid Build Coastguard Worker  public static final class Selection.MemoryTextWatcher implements android.text.TextWatcher {
3261*344a7f5eSAndroid Build Coastguard Worker    ctor public Selection.MemoryTextWatcher();
3262*344a7f5eSAndroid Build Coastguard Worker    method public void afterTextChanged(android.text.Editable);
3263*344a7f5eSAndroid Build Coastguard Worker    method public void beforeTextChanged(CharSequence, int, int, int);
3264*344a7f5eSAndroid Build Coastguard Worker    method public void onTextChanged(CharSequence, int, int, int);
3265*344a7f5eSAndroid Build Coastguard Worker  }
3266*344a7f5eSAndroid Build Coastguard Worker
3267*344a7f5eSAndroid Build Coastguard Worker}
3268*344a7f5eSAndroid Build Coastguard Worker
3269*344a7f5eSAndroid Build Coastguard Workerpackage android.transition {
3270*344a7f5eSAndroid Build Coastguard Worker
3271*344a7f5eSAndroid Build Coastguard Worker  public class TransitionManager {
3272*344a7f5eSAndroid Build Coastguard Worker    method public android.transition.Transition getTransition(android.transition.Scene);
3273*344a7f5eSAndroid Build Coastguard Worker  }
3274*344a7f5eSAndroid Build Coastguard Worker
3275*344a7f5eSAndroid Build Coastguard Worker}
3276*344a7f5eSAndroid Build Coastguard Worker
3277*344a7f5eSAndroid Build Coastguard Workerpackage android.util {
3278*344a7f5eSAndroid Build Coastguard Worker
3279*344a7f5eSAndroid Build Coastguard Worker  public final class ArraySet<E> implements java.util.Collection<E> java.util.Set<E> {
3280*344a7f5eSAndroid Build Coastguard Worker    method public E valueAtUnchecked(int);
3281*344a7f5eSAndroid Build Coastguard Worker  }
3282*344a7f5eSAndroid Build Coastguard Worker
3283*344a7f5eSAndroid Build Coastguard Worker  public class FeatureFlagUtils {
3284*344a7f5eSAndroid Build Coastguard Worker    ctor public FeatureFlagUtils();
3285*344a7f5eSAndroid Build Coastguard Worker    method public static java.util.Map<java.lang.String,java.lang.String> getAllFeatureFlags();
3286*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isEnabled(android.content.Context, String);
3287*344a7f5eSAndroid Build Coastguard Worker    method public static void setEnabled(android.content.Context, String, boolean);
3288*344a7f5eSAndroid Build Coastguard Worker    field public static final String FFLAG_OVERRIDE_PREFIX = "sys.fflag.override.";
3289*344a7f5eSAndroid Build Coastguard Worker    field public static final String FFLAG_PREFIX = "sys.fflag.";
3290*344a7f5eSAndroid Build Coastguard Worker    field public static final String HEARING_AID_SETTINGS = "settings_bluetooth_hearing_aid";
3291*344a7f5eSAndroid Build Coastguard Worker    field public static final String PERSIST_PREFIX = "persist.sys.fflag.override.";
3292*344a7f5eSAndroid Build Coastguard Worker    field public static final String SETTINGS_WIFITRACKER2 = "settings_wifitracker2";
3293*344a7f5eSAndroid Build Coastguard Worker  }
3294*344a7f5eSAndroid Build Coastguard Worker
3295*344a7f5eSAndroid Build Coastguard Worker  public class SparseArrayMap<K, V> {
3296*344a7f5eSAndroid Build Coastguard Worker    ctor public SparseArrayMap();
3297*344a7f5eSAndroid Build Coastguard Worker    method public V add(int, @NonNull K, @Nullable V);
3298*344a7f5eSAndroid Build Coastguard Worker    method public void clear();
3299*344a7f5eSAndroid Build Coastguard Worker    method public boolean contains(int, @NonNull K);
3300*344a7f5eSAndroid Build Coastguard Worker    method public void delete(int);
3301*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public V delete(int, @NonNull K);
3302*344a7f5eSAndroid Build Coastguard Worker    method public void forEach(@NonNull java.util.function.Consumer<V>);
3303*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public V get(int, @NonNull K);
3304*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public V getOrDefault(int, @NonNull K, V);
3305*344a7f5eSAndroid Build Coastguard Worker    method public int indexOfKey(int);
3306*344a7f5eSAndroid Build Coastguard Worker    method public int indexOfKey(int, @NonNull K);
3307*344a7f5eSAndroid Build Coastguard Worker    method public int keyAt(int);
3308*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public K keyAt(int, int);
3309*344a7f5eSAndroid Build Coastguard Worker    method public int numElementsForKey(int);
3310*344a7f5eSAndroid Build Coastguard Worker    method public int numMaps();
3311*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public V valueAt(int, int);
3312*344a7f5eSAndroid Build Coastguard Worker  }
3313*344a7f5eSAndroid Build Coastguard Worker
3314*344a7f5eSAndroid Build Coastguard Worker  public class TimeUtils {
3315*344a7f5eSAndroid Build Coastguard Worker    method public static String formatDuration(long);
3316*344a7f5eSAndroid Build Coastguard Worker  }
3317*344a7f5eSAndroid Build Coastguard Worker
3318*344a7f5eSAndroid Build Coastguard Worker}
3319*344a7f5eSAndroid Build Coastguard Worker
3320*344a7f5eSAndroid Build Coastguard Workerpackage android.util.proto {
3321*344a7f5eSAndroid Build Coastguard Worker
3322*344a7f5eSAndroid Build Coastguard Worker  public final class EncodedBuffer {
3323*344a7f5eSAndroid Build Coastguard Worker    ctor public EncodedBuffer();
3324*344a7f5eSAndroid Build Coastguard Worker    ctor public EncodedBuffer(int);
3325*344a7f5eSAndroid Build Coastguard Worker    method public void dumpBuffers(String);
3326*344a7f5eSAndroid Build Coastguard Worker    method public static void dumpByteString(String, String, byte[]);
3327*344a7f5eSAndroid Build Coastguard Worker    method public void editRawFixed32(int, int);
3328*344a7f5eSAndroid Build Coastguard Worker    method public byte[] getBytes(int);
3329*344a7f5eSAndroid Build Coastguard Worker    method public int getChunkCount();
3330*344a7f5eSAndroid Build Coastguard Worker    method public String getDebugString();
3331*344a7f5eSAndroid Build Coastguard Worker    method public int getRawFixed32At(int);
3332*344a7f5eSAndroid Build Coastguard Worker    method public static int getRawVarint32Size(int);
3333*344a7f5eSAndroid Build Coastguard Worker    method public static int getRawVarint64Size(long);
3334*344a7f5eSAndroid Build Coastguard Worker    method public static int getRawZigZag32Size(int);
3335*344a7f5eSAndroid Build Coastguard Worker    method public static int getRawZigZag64Size(long);
3336*344a7f5eSAndroid Build Coastguard Worker    method public int getReadPos();
3337*344a7f5eSAndroid Build Coastguard Worker    method public int getReadableSize();
3338*344a7f5eSAndroid Build Coastguard Worker    method public int getSize();
3339*344a7f5eSAndroid Build Coastguard Worker    method public int getWriteBufIndex();
3340*344a7f5eSAndroid Build Coastguard Worker    method public int getWriteIndex();
3341*344a7f5eSAndroid Build Coastguard Worker    method public int getWritePos();
3342*344a7f5eSAndroid Build Coastguard Worker    method public byte readRawByte();
3343*344a7f5eSAndroid Build Coastguard Worker    method public int readRawFixed32();
3344*344a7f5eSAndroid Build Coastguard Worker    method public long readRawUnsigned();
3345*344a7f5eSAndroid Build Coastguard Worker    method public void rewindRead();
3346*344a7f5eSAndroid Build Coastguard Worker    method public void rewindWriteTo(int);
3347*344a7f5eSAndroid Build Coastguard Worker    method public void skipRead(int);
3348*344a7f5eSAndroid Build Coastguard Worker    method public void startEditing();
3349*344a7f5eSAndroid Build Coastguard Worker    method public void writeFromThisBuffer(int, int);
3350*344a7f5eSAndroid Build Coastguard Worker    method public void writeRawBuffer(byte[]);
3351*344a7f5eSAndroid Build Coastguard Worker    method public void writeRawBuffer(byte[], int, int);
3352*344a7f5eSAndroid Build Coastguard Worker    method public void writeRawByte(byte);
3353*344a7f5eSAndroid Build Coastguard Worker    method public void writeRawFixed32(int);
3354*344a7f5eSAndroid Build Coastguard Worker    method public void writeRawFixed64(long);
3355*344a7f5eSAndroid Build Coastguard Worker    method public void writeRawVarint32(int);
3356*344a7f5eSAndroid Build Coastguard Worker    method public void writeRawVarint64(long);
3357*344a7f5eSAndroid Build Coastguard Worker    method public void writeRawZigZag32(int);
3358*344a7f5eSAndroid Build Coastguard Worker    method public void writeRawZigZag64(long);
3359*344a7f5eSAndroid Build Coastguard Worker  }
3360*344a7f5eSAndroid Build Coastguard Worker
3361*344a7f5eSAndroid Build Coastguard Worker  public class ProtoParseException extends java.lang.RuntimeException {
3362*344a7f5eSAndroid Build Coastguard Worker    ctor public ProtoParseException(String);
3363*344a7f5eSAndroid Build Coastguard Worker  }
3364*344a7f5eSAndroid Build Coastguard Worker
3365*344a7f5eSAndroid Build Coastguard Worker  public class WireTypeMismatchException extends android.util.proto.ProtoParseException {
3366*344a7f5eSAndroid Build Coastguard Worker    ctor public WireTypeMismatchException(String);
3367*344a7f5eSAndroid Build Coastguard Worker  }
3368*344a7f5eSAndroid Build Coastguard Worker
3369*344a7f5eSAndroid Build Coastguard Worker}
3370*344a7f5eSAndroid Build Coastguard Worker
3371*344a7f5eSAndroid Build Coastguard Workerpackage android.view {
3372*344a7f5eSAndroid Build Coastguard Worker
3373*344a7f5eSAndroid Build Coastguard Worker  public abstract class ActionMode {
3374*344a7f5eSAndroid Build Coastguard Worker    method public boolean isUiFocusable();
3375*344a7f5eSAndroid Build Coastguard Worker  }
3376*344a7f5eSAndroid Build Coastguard Worker
3377*344a7f5eSAndroid Build Coastguard Worker  public final class Choreographer {
3378*344a7f5eSAndroid Build Coastguard Worker    method public static long getFrameDelay();
3379*344a7f5eSAndroid Build Coastguard Worker    method public void postCallback(int, Runnable, Object);
3380*344a7f5eSAndroid Build Coastguard Worker    method public void postCallbackDelayed(int, Runnable, Object, long);
3381*344a7f5eSAndroid Build Coastguard Worker    method public void removeCallbacks(int, Runnable, Object);
3382*344a7f5eSAndroid Build Coastguard Worker    method public static void setFrameDelay(long);
3383*344a7f5eSAndroid Build Coastguard Worker    field public static final int CALLBACK_ANIMATION = 1; // 0x1
3384*344a7f5eSAndroid Build Coastguard Worker  }
3385*344a7f5eSAndroid Build Coastguard Worker
3386*344a7f5eSAndroid Build Coastguard Worker  public final class ContentInfo implements android.os.Parcelable {
3387*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.util.Pair<android.view.ContentInfo,android.view.ContentInfo> partition(@NonNull java.util.function.Predicate<android.content.ClipData.Item>);
3388*344a7f5eSAndroid Build Coastguard Worker    method public void releasePermissions();
3389*344a7f5eSAndroid Build Coastguard Worker  }
3390*344a7f5eSAndroid Build Coastguard Worker
3391*344a7f5eSAndroid Build Coastguard Worker  public static final class ContentInfo.Builder {
3392*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.ContentInfo.Builder setDragAndDropPermissions(@Nullable android.view.DragAndDropPermissions);
3393*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.ContentInfo.Builder setInputContentInfo(@Nullable android.view.inputmethod.InputContentInfo);
3394*344a7f5eSAndroid Build Coastguard Worker  }
3395*344a7f5eSAndroid Build Coastguard Worker
3396*344a7f5eSAndroid Build Coastguard Worker  public final class Display {
3397*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_USER_PREFERRED_DISPLAY_MODE) public void clearUserPreferredDisplayMode();
3398*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.Display.Mode getDefaultMode();
3399*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public int[] getReportedHdrTypes();
3400*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.graphics.ColorSpace[] getSupportedWideColorGamut();
3401*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.Display.Mode getSystemPreferredDisplayMode();
3402*344a7f5eSAndroid Build Coastguard Worker    method public int getType();
3403*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getUniqueId();
3404*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.Display.Mode getUserPreferredDisplayMode();
3405*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasAccess(int);
3406*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_USER_PREFERRED_DISPLAY_MODE) public void setUserPreferredDisplayMode(@NonNull android.view.Display.Mode);
3407*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_TRUSTED = 128; // 0x80
3408*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_EXTERNAL = 2; // 0x2
3409*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_INTERNAL = 1; // 0x1
3410*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_OVERLAY = 4; // 0x4
3411*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_UNKNOWN = 0; // 0x0
3412*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_VIRTUAL = 5; // 0x5
3413*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_WIFI = 3; // 0x3
3414*344a7f5eSAndroid Build Coastguard Worker  }
3415*344a7f5eSAndroid Build Coastguard Worker
3416*344a7f5eSAndroid Build Coastguard Worker  public static final class Display.Mode implements android.os.Parcelable {
3417*344a7f5eSAndroid Build Coastguard Worker    ctor public Display.Mode(int, int, float);
3418*344a7f5eSAndroid Build Coastguard Worker    method public boolean matches(int, int, float);
3419*344a7f5eSAndroid Build Coastguard Worker  }
3420*344a7f5eSAndroid Build Coastguard Worker
3421*344a7f5eSAndroid Build Coastguard Worker  public static final class Display.Mode.Builder {
3422*344a7f5eSAndroid Build Coastguard Worker    ctor public Display.Mode.Builder();
3423*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.Display.Mode build();
3424*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.Display.Mode.Builder setRefreshRate(float);
3425*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.Display.Mode.Builder setResolution(int, int);
3426*344a7f5eSAndroid Build Coastguard Worker  }
3427*344a7f5eSAndroid Build Coastguard Worker
3428*344a7f5eSAndroid Build Coastguard Worker  public final class DisplayShape implements android.os.Parcelable {
3429*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.view.DisplayShape fromSpecString(@NonNull String, float, int, int);
3430*344a7f5eSAndroid Build Coastguard Worker  }
3431*344a7f5eSAndroid Build Coastguard Worker
3432*344a7f5eSAndroid Build Coastguard Worker  public class FocusFinder {
3433*344a7f5eSAndroid Build Coastguard Worker    method public static void sort(android.view.View[], int, int, android.view.ViewGroup, boolean);
3434*344a7f5eSAndroid Build Coastguard Worker  }
3435*344a7f5eSAndroid Build Coastguard Worker
3436*344a7f5eSAndroid Build Coastguard Worker  public final class InputDevice implements android.os.Parcelable {
3437*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.DISABLE_INPUT_DEVICE") public void disable();
3438*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.DISABLE_INPUT_DEVICE") public void enable();
3439*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.hardware.input.InputDeviceIdentifier getIdentifier();
3440*344a7f5eSAndroid Build Coastguard Worker  }
3441*344a7f5eSAndroid Build Coastguard Worker
3442*344a7f5eSAndroid Build Coastguard Worker  public abstract class InputEvent implements android.os.Parcelable {
3443*344a7f5eSAndroid Build Coastguard Worker    method public abstract int getDisplayId();
3444*344a7f5eSAndroid Build Coastguard Worker    method public abstract void setDisplayId(int);
3445*344a7f5eSAndroid Build Coastguard Worker  }
3446*344a7f5eSAndroid Build Coastguard Worker
3447*344a7f5eSAndroid Build Coastguard Worker  public class KeyEvent extends android.view.InputEvent implements android.os.Parcelable {
3448*344a7f5eSAndroid Build Coastguard Worker    method public static String actionToString(int);
3449*344a7f5eSAndroid Build Coastguard Worker    method public final int getDisplayId();
3450*344a7f5eSAndroid Build Coastguard Worker    method public final void setDisplayId(int);
3451*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_IS_ACCESSIBILITY_EVENT = 2048; // 0x800
3452*344a7f5eSAndroid Build Coastguard Worker    field public static final int LAST_KEYCODE = 316; // 0x13c
3453*344a7f5eSAndroid Build Coastguard Worker  }
3454*344a7f5eSAndroid Build Coastguard Worker
3455*344a7f5eSAndroid Build Coastguard Worker  public final class KeyboardShortcutGroup implements android.os.Parcelable {
3456*344a7f5eSAndroid Build Coastguard Worker    ctor public KeyboardShortcutGroup(@Nullable CharSequence, @NonNull java.util.List<android.view.KeyboardShortcutInfo>, boolean);
3457*344a7f5eSAndroid Build Coastguard Worker    ctor public KeyboardShortcutGroup(@Nullable CharSequence, boolean);
3458*344a7f5eSAndroid Build Coastguard Worker    method public boolean isSystemGroup();
3459*344a7f5eSAndroid Build Coastguard Worker  }
3460*344a7f5eSAndroid Build Coastguard Worker
3461*344a7f5eSAndroid Build Coastguard Worker  public abstract class LayoutInflater {
3462*344a7f5eSAndroid Build Coastguard Worker    method public void setPrecompiledLayoutsEnabledForTesting(boolean);
3463*344a7f5eSAndroid Build Coastguard Worker  }
3464*344a7f5eSAndroid Build Coastguard Worker
3465*344a7f5eSAndroid Build Coastguard Worker  public final class MotionEvent extends android.view.InputEvent implements android.os.Parcelable {
3466*344a7f5eSAndroid Build Coastguard Worker    method public int getDisplayId();
3467*344a7f5eSAndroid Build Coastguard Worker    method public void setActionButton(int);
3468*344a7f5eSAndroid Build Coastguard Worker    method public void setButtonState(int);
3469*344a7f5eSAndroid Build Coastguard Worker    method public void setDisplayId(int);
3470*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_IS_ACCESSIBILITY_EVENT = 2048; // 0x800
3471*344a7f5eSAndroid Build Coastguard Worker  }
3472*344a7f5eSAndroid Build Coastguard Worker
3473*344a7f5eSAndroid Build Coastguard Worker  @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target({java.lang.annotation.ElementType.METHOD}) public @interface RemotableViewMethod {
3474*344a7f5eSAndroid Build Coastguard Worker    method public abstract String asyncImpl() default "";
3475*344a7f5eSAndroid Build Coastguard Worker  }
3476*344a7f5eSAndroid Build Coastguard Worker
3477*344a7f5eSAndroid Build Coastguard Worker  public final class SurfaceControl implements android.os.Parcelable {
3478*344a7f5eSAndroid Build Coastguard Worker    ctor public SurfaceControl(@NonNull android.view.SurfaceControl, @NonNull String);
3479*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.Choreographer getChoreographer();
3480*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.Choreographer getChoreographer(@NonNull android.os.Looper);
3481*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasChoreographer();
3482*344a7f5eSAndroid Build Coastguard Worker    method public boolean isSameSurface(@NonNull android.view.SurfaceControl);
3483*344a7f5eSAndroid Build Coastguard Worker  }
3484*344a7f5eSAndroid Build Coastguard Worker
3485*344a7f5eSAndroid Build Coastguard Worker  public class SurfaceControlViewHost {
3486*344a7f5eSAndroid Build Coastguard Worker    method public void relayout(android.view.WindowManager.LayoutParams);
3487*344a7f5eSAndroid Build Coastguard Worker    method public void setView(@NonNull android.view.View, @NonNull android.view.WindowManager.LayoutParams);
3488*344a7f5eSAndroid Build Coastguard Worker  }
3489*344a7f5eSAndroid Build Coastguard Worker
3490*344a7f5eSAndroid Build Coastguard Worker  @UiThread public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback {
3491*344a7f5eSAndroid Build Coastguard Worker    method public void getBoundsOnScreen(@NonNull android.graphics.Rect, boolean);
3492*344a7f5eSAndroid Build Coastguard Worker    method public android.view.View getTooltipView();
3493*344a7f5eSAndroid Build Coastguard Worker    method public void getWindowDisplayFrame(@NonNull android.graphics.Rect);
3494*344a7f5eSAndroid Build Coastguard Worker    method public boolean isAutofilled();
3495*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isDefaultFocusHighlightEnabled();
3496*344a7f5eSAndroid Build Coastguard Worker    method public boolean isDefaultFocusHighlightNeeded(android.graphics.drawable.Drawable, android.graphics.drawable.Drawable);
3497*344a7f5eSAndroid Build Coastguard Worker    method protected void resetResolvedDrawables();
3498*344a7f5eSAndroid Build Coastguard Worker    method public void resetResolvedLayoutDirection();
3499*344a7f5eSAndroid Build Coastguard Worker    method public void resetResolvedPadding();
3500*344a7f5eSAndroid Build Coastguard Worker    method public void resetResolvedTextAlignment();
3501*344a7f5eSAndroid Build Coastguard Worker    method public void resetResolvedTextDirection();
3502*344a7f5eSAndroid Build Coastguard Worker    method public void resetRtlProperties();
3503*344a7f5eSAndroid Build Coastguard Worker    method public boolean restoreFocusInCluster(int);
3504*344a7f5eSAndroid Build Coastguard Worker    method public boolean restoreFocusNotInCluster();
3505*344a7f5eSAndroid Build Coastguard Worker    method public void setAutofilled(boolean, boolean);
3506*344a7f5eSAndroid Build Coastguard Worker    method public final void setFocusedInCluster();
3507*344a7f5eSAndroid Build Coastguard Worker    method public void setIsRootNamespace(boolean);
3508*344a7f5eSAndroid Build Coastguard Worker    method public final void setShowingLayoutBounds(boolean);
3509*344a7f5eSAndroid Build Coastguard Worker  }
3510*344a7f5eSAndroid Build Coastguard Worker
3511*344a7f5eSAndroid Build Coastguard Worker  public class ViewConfiguration {
3512*344a7f5eSAndroid Build Coastguard Worker    method public long getDeviceGlobalActionKeyTimeout();
3513*344a7f5eSAndroid Build Coastguard Worker    method public static int getHoverTooltipHideShortTimeout();
3514*344a7f5eSAndroid Build Coastguard Worker    method public static int getHoverTooltipHideTimeout();
3515*344a7f5eSAndroid Build Coastguard Worker    method public static int getHoverTooltipShowTimeout();
3516*344a7f5eSAndroid Build Coastguard Worker    method public static int getLongPressTooltipHideTimeout();
3517*344a7f5eSAndroid Build Coastguard Worker    method public boolean isPreferKeepClearForFocusEnabled();
3518*344a7f5eSAndroid Build Coastguard Worker  }
3519*344a7f5eSAndroid Build Coastguard Worker
3520*344a7f5eSAndroid Build Coastguard Worker  public class ViewDebug {
3521*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @Nullable public static AutoCloseable startRenderingCommandsCapture(android.view.View, java.util.concurrent.Executor, java.util.function.Function<android.graphics.Picture,java.lang.Boolean>);
3522*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static AutoCloseable startRenderingCommandsCapture(android.view.View, java.util.concurrent.Executor, java.util.concurrent.Callable<java.io.OutputStream>);
3523*344a7f5eSAndroid Build Coastguard Worker  }
3524*344a7f5eSAndroid Build Coastguard Worker
3525*344a7f5eSAndroid Build Coastguard Worker  public abstract class Window {
3526*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.View getNavigationBarBackgroundView();
3527*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.View getStatusBarBackgroundView();
3528*344a7f5eSAndroid Build Coastguard Worker  }
3529*344a7f5eSAndroid Build Coastguard Worker
3530*344a7f5eSAndroid Build Coastguard Worker  public interface WindowManager extends android.view.ViewManager {
3531*344a7f5eSAndroid Build Coastguard Worker    method public default int getDisplayImePolicy(int);
3532*344a7f5eSAndroid Build Coastguard Worker    method public static boolean hasWindowExtensionsEnabled();
3533*344a7f5eSAndroid Build Coastguard Worker    method public default void holdLock(android.os.IBinder, int);
3534*344a7f5eSAndroid Build Coastguard Worker    method public default boolean isGlobalKey(int);
3535*344a7f5eSAndroid Build Coastguard Worker    method public default boolean isTaskSnapshotSupported();
3536*344a7f5eSAndroid Build Coastguard Worker    method public default void setDisplayImePolicy(int, int);
3537*344a7f5eSAndroid Build Coastguard Worker    method public default void setShouldShowSystemDecors(int, boolean);
3538*344a7f5eSAndroid Build Coastguard Worker    method public default void setShouldShowWithInsecureKeyguard(int, boolean);
3539*344a7f5eSAndroid Build Coastguard Worker    method public default boolean shouldShowSystemDecors(int);
3540*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public default android.graphics.Bitmap snapshotTaskForRecents(@IntRange(from=0) int);
3541*344a7f5eSAndroid Build Coastguard Worker    field public static final int DISPLAY_IME_POLICY_FALLBACK_DISPLAY = 1; // 0x1
3542*344a7f5eSAndroid Build Coastguard Worker    field public static final int DISPLAY_IME_POLICY_HIDE = 2; // 0x2
3543*344a7f5eSAndroid Build Coastguard Worker    field public static final int DISPLAY_IME_POLICY_LOCAL = 0; // 0x0
3544*344a7f5eSAndroid Build Coastguard Worker    field public static final int LARGE_SCREEN_SMALLEST_SCREEN_WIDTH_DP = 600; // 0x258
3545*344a7f5eSAndroid Build Coastguard Worker  }
3546*344a7f5eSAndroid Build Coastguard Worker
3547*344a7f5eSAndroid Build Coastguard Worker  public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable {
3548*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public final android.os.IBinder getWindowContextToken();
3549*344a7f5eSAndroid Build Coastguard Worker    method public final void setWindowContextToken(@NonNull android.os.IBinder);
3550*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACCESSIBILITY_TITLE_CHANGED = 33554432; // 0x2000000
3551*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_SLIPPERY = 536870912; // 0x20000000
3552*344a7f5eSAndroid Build Coastguard Worker    field public CharSequence accessibilityTitle;
3553*344a7f5eSAndroid Build Coastguard Worker    field public int privateFlags;
3554*344a7f5eSAndroid Build Coastguard Worker  }
3555*344a7f5eSAndroid Build Coastguard Worker
3556*344a7f5eSAndroid Build Coastguard Worker}
3557*344a7f5eSAndroid Build Coastguard Worker
3558*344a7f5eSAndroid Build Coastguard Workerpackage android.view.accessibility {
3559*344a7f5eSAndroid Build Coastguard Worker
3560*344a7f5eSAndroid Build Coastguard Worker  public final class AccessibilityManager {
3561*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ACCESSIBILITY) public java.util.List<java.lang.String> getAccessibilityShortcutTargets(int);
3562*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasAnyDirectConnection();
3563*344a7f5eSAndroid Build Coastguard Worker  }
3564*344a7f5eSAndroid Build Coastguard Worker
3565*344a7f5eSAndroid Build Coastguard Worker  public class AccessibilityNodeInfo implements android.os.Parcelable {
3566*344a7f5eSAndroid Build Coastguard Worker    method public void addChild(@NonNull android.os.IBinder);
3567*344a7f5eSAndroid Build Coastguard Worker    method public long getSourceNodeId();
3568*344a7f5eSAndroid Build Coastguard Worker    method public void setLeashedParent(@Nullable android.os.IBinder, int);
3569*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcelNoRecycle(android.os.Parcel, int);
3570*344a7f5eSAndroid Build Coastguard Worker  }
3571*344a7f5eSAndroid Build Coastguard Worker
3572*344a7f5eSAndroid Build Coastguard Worker  public static final class AccessibilityNodeInfo.TouchDelegateInfo implements android.os.Parcelable {
3573*344a7f5eSAndroid Build Coastguard Worker    method public long getAccessibilityIdForRegion(@NonNull android.graphics.Region);
3574*344a7f5eSAndroid Build Coastguard Worker  }
3575*344a7f5eSAndroid Build Coastguard Worker
3576*344a7f5eSAndroid Build Coastguard Worker  public class AccessibilityRecord {
3577*344a7f5eSAndroid Build Coastguard Worker    method public void setDisplayId(int);
3578*344a7f5eSAndroid Build Coastguard Worker  }
3579*344a7f5eSAndroid Build Coastguard Worker
3580*344a7f5eSAndroid Build Coastguard Worker  public final class AccessibilityWindowInfo implements android.os.Parcelable {
3581*344a7f5eSAndroid Build Coastguard Worker    method public static void setNumInstancesInUseCounter(java.util.concurrent.atomic.AtomicInteger);
3582*344a7f5eSAndroid Build Coastguard Worker  }
3583*344a7f5eSAndroid Build Coastguard Worker
3584*344a7f5eSAndroid Build Coastguard Worker}
3585*344a7f5eSAndroid Build Coastguard Worker
3586*344a7f5eSAndroid Build Coastguard Workerpackage android.view.animation {
3587*344a7f5eSAndroid Build Coastguard Worker
3588*344a7f5eSAndroid Build Coastguard Worker  public class AnimationUtils {
3589*344a7f5eSAndroid Build Coastguard Worker    method public static void lockAnimationClock(long);
3590*344a7f5eSAndroid Build Coastguard Worker    method public static void unlockAnimationClock();
3591*344a7f5eSAndroid Build Coastguard Worker  }
3592*344a7f5eSAndroid Build Coastguard Worker
3593*344a7f5eSAndroid Build Coastguard Worker}
3594*344a7f5eSAndroid Build Coastguard Worker
3595*344a7f5eSAndroid Build Coastguard Workerpackage android.view.autofill {
3596*344a7f5eSAndroid Build Coastguard Worker
3597*344a7f5eSAndroid Build Coastguard Worker  public class AutofillFeatureFlags {
3598*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_AUTOFILL_COMPAT_MODE_ALLOWED_PACKAGES = "compat_mode_allowed_packages";
3599*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_AUTOFILL_CREDENTIAL_MANAGER_ENABLED = "autofill_credential_manager_enabled";
3600*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_AUTOFILL_CREDENTIAL_MANAGER_IGNORE_VIEWS = "autofill_credential_manager_ignore_views";
3601*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_AUTOFILL_DIALOG_ENABLED = "autofill_dialog_enabled";
3602*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_AUTOFILL_PCC_CLASSIFICATION_ENABLED = "pcc_classification_enabled";
3603*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_AUTOFILL_PCC_FEATURE_PROVIDER_HINTS = "pcc_classification_hints";
3604*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_AUTOFILL_SMART_SUGGESTION_SUPPORTED_MODES = "smart_suggestion_supported_modes";
3605*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_NON_AUTOFILLABLE_IME_ACTION_IDS = "non_autofillable_ime_action_ids";
3606*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_PACKAGE_DENYLIST_FOR_UNIMPORTANT_VIEW = "package_deny_list_for_unimportant_view";
3607*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_TRIGGER_FILL_REQUEST_ON_UNIMPORTANT_VIEW = "trigger_fill_request_on_unimportant_view";
3608*344a7f5eSAndroid Build Coastguard Worker  }
3609*344a7f5eSAndroid Build Coastguard Worker
3610*344a7f5eSAndroid Build Coastguard Worker  public final class AutofillId implements android.os.Parcelable {
3611*344a7f5eSAndroid Build Coastguard Worker    ctor public AutofillId(int);
3612*344a7f5eSAndroid Build Coastguard Worker    ctor public AutofillId(@NonNull android.view.autofill.AutofillId, int);
3613*344a7f5eSAndroid Build Coastguard Worker    ctor public AutofillId(int, int);
3614*344a7f5eSAndroid Build Coastguard Worker    ctor public AutofillId(@NonNull android.view.autofill.AutofillId, long, int);
3615*344a7f5eSAndroid Build Coastguard Worker    method public boolean equalsIgnoreSession(@Nullable android.view.autofill.AutofillId);
3616*344a7f5eSAndroid Build Coastguard Worker    method public boolean isNonVirtual();
3617*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.view.autofill.AutofillId withoutSession(@NonNull android.view.autofill.AutofillId);
3618*344a7f5eSAndroid Build Coastguard Worker  }
3619*344a7f5eSAndroid Build Coastguard Worker
3620*344a7f5eSAndroid Build Coastguard Worker  public final class AutofillManager {
3621*344a7f5eSAndroid Build Coastguard Worker    method public void clearAutofillRequestCallback();
3622*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.PROVIDE_OWN_AUTOFILL_SUGGESTIONS) public void setAutofillRequestCallback(@NonNull java.util.concurrent.Executor, @NonNull android.view.autofill.AutofillRequestCallback);
3623*344a7f5eSAndroid Build Coastguard Worker    field public static final String ANY_HINT = "any";
3624*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_SMART_SUGGESTION_OFF = 0; // 0x0
3625*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_SMART_SUGGESTION_SYSTEM = 1; // 0x1
3626*344a7f5eSAndroid Build Coastguard Worker    field public static final int MAX_TEMP_AUGMENTED_SERVICE_DURATION_MS = 120000; // 0x1d4c0
3627*344a7f5eSAndroid Build Coastguard Worker  }
3628*344a7f5eSAndroid Build Coastguard Worker
3629*344a7f5eSAndroid Build Coastguard Worker  public interface AutofillRequestCallback {
3630*344a7f5eSAndroid Build Coastguard Worker    method public void onFillRequest(@Nullable android.view.inputmethod.InlineSuggestionsRequest, @NonNull android.os.CancellationSignal, @NonNull android.service.autofill.FillCallback);
3631*344a7f5eSAndroid Build Coastguard Worker  }
3632*344a7f5eSAndroid Build Coastguard Worker
3633*344a7f5eSAndroid Build Coastguard Worker}
3634*344a7f5eSAndroid Build Coastguard Worker
3635*344a7f5eSAndroid Build Coastguard Workerpackage android.view.contentcapture {
3636*344a7f5eSAndroid Build Coastguard Worker
3637*344a7f5eSAndroid Build Coastguard Worker  public final class ContentCaptureManager {
3638*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_CONTENT_CAPTURE) public static void resetTemporaryService(int);
3639*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_CONTENT_CAPTURE) public static void setDefaultServiceEnabled(int, boolean);
3640*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_CONTENT_CAPTURE) public static void setTemporaryService(int, @NonNull String, int);
3641*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_PROPERTY_IDLE_FLUSH_FREQUENCY = "idle_flush_frequency";
3642*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_PROPERTY_LOGGING_LEVEL = "logging_level";
3643*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_PROPERTY_LOG_HISTORY_SIZE = "log_history_size";
3644*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_PROPERTY_MAX_BUFFER_SIZE = "max_buffer_size";
3645*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_PROPERTY_SERVICE_EXPLICITLY_ENABLED = "service_explicitly_enabled";
3646*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_PROPERTY_TEXT_CHANGE_FLUSH_FREQUENCY = "text_change_flush_frequency";
3647*344a7f5eSAndroid Build Coastguard Worker    field public static final String DUMPABLE_NAME = "ContentCaptureManager";
3648*344a7f5eSAndroid Build Coastguard Worker    field public static final int LOGGING_LEVEL_DEBUG = 1; // 0x1
3649*344a7f5eSAndroid Build Coastguard Worker    field public static final int LOGGING_LEVEL_OFF = 0; // 0x0
3650*344a7f5eSAndroid Build Coastguard Worker    field public static final int LOGGING_LEVEL_VERBOSE = 2; // 0x2
3651*344a7f5eSAndroid Build Coastguard Worker  }
3652*344a7f5eSAndroid Build Coastguard Worker
3653*344a7f5eSAndroid Build Coastguard Worker  public final class ViewNode extends android.app.assist.AssistStructure.ViewNode {
3654*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static android.view.contentcapture.ViewNode readFromParcel(@NonNull android.os.Parcel);
3655*344a7f5eSAndroid Build Coastguard Worker    method public static void writeToParcel(@NonNull android.os.Parcel, @Nullable android.view.contentcapture.ViewNode, int);
3656*344a7f5eSAndroid Build Coastguard Worker  }
3657*344a7f5eSAndroid Build Coastguard Worker
3658*344a7f5eSAndroid Build Coastguard Worker  public static final class ViewNode.ViewStructureImpl extends android.view.ViewStructure {
3659*344a7f5eSAndroid Build Coastguard Worker    ctor public ViewNode.ViewStructureImpl(@NonNull android.view.View);
3660*344a7f5eSAndroid Build Coastguard Worker    ctor public ViewNode.ViewStructureImpl(@NonNull android.view.autofill.AutofillId, long, int);
3661*344a7f5eSAndroid Build Coastguard Worker    method public int addChildCount(int);
3662*344a7f5eSAndroid Build Coastguard Worker    method public void asyncCommit();
3663*344a7f5eSAndroid Build Coastguard Worker    method public android.view.ViewStructure asyncNewChild(int);
3664*344a7f5eSAndroid Build Coastguard Worker    method public android.view.autofill.AutofillId getAutofillId();
3665*344a7f5eSAndroid Build Coastguard Worker    method public int getChildCount();
3666*344a7f5eSAndroid Build Coastguard Worker    method public android.os.Bundle getExtras();
3667*344a7f5eSAndroid Build Coastguard Worker    method public CharSequence getHint();
3668*344a7f5eSAndroid Build Coastguard Worker    method public android.view.contentcapture.ViewNode getNode();
3669*344a7f5eSAndroid Build Coastguard Worker    method public android.graphics.Rect getTempRect();
3670*344a7f5eSAndroid Build Coastguard Worker    method public CharSequence getText();
3671*344a7f5eSAndroid Build Coastguard Worker    method public int getTextSelectionEnd();
3672*344a7f5eSAndroid Build Coastguard Worker    method public int getTextSelectionStart();
3673*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasExtras();
3674*344a7f5eSAndroid Build Coastguard Worker    method public android.view.ViewStructure newChild(int);
3675*344a7f5eSAndroid Build Coastguard Worker    method public android.view.ViewStructure.HtmlInfo.Builder newHtmlInfoBuilder(String);
3676*344a7f5eSAndroid Build Coastguard Worker    method public void setAccessibilityFocused(boolean);
3677*344a7f5eSAndroid Build Coastguard Worker    method public void setActivated(boolean);
3678*344a7f5eSAndroid Build Coastguard Worker    method public void setAlpha(float);
3679*344a7f5eSAndroid Build Coastguard Worker    method public void setAssistBlocked(boolean);
3680*344a7f5eSAndroid Build Coastguard Worker    method public void setAutofillHints(String[]);
3681*344a7f5eSAndroid Build Coastguard Worker    method public void setAutofillId(android.view.autofill.AutofillId);
3682*344a7f5eSAndroid Build Coastguard Worker    method public void setAutofillId(android.view.autofill.AutofillId, int);
3683*344a7f5eSAndroid Build Coastguard Worker    method public void setAutofillOptions(CharSequence[]);
3684*344a7f5eSAndroid Build Coastguard Worker    method public void setAutofillType(int);
3685*344a7f5eSAndroid Build Coastguard Worker    method public void setAutofillValue(android.view.autofill.AutofillValue);
3686*344a7f5eSAndroid Build Coastguard Worker    method public void setCheckable(boolean);
3687*344a7f5eSAndroid Build Coastguard Worker    method public void setChecked(boolean);
3688*344a7f5eSAndroid Build Coastguard Worker    method public void setChildCount(int);
3689*344a7f5eSAndroid Build Coastguard Worker    method public void setClassName(String);
3690*344a7f5eSAndroid Build Coastguard Worker    method public void setClickable(boolean);
3691*344a7f5eSAndroid Build Coastguard Worker    method public void setContentDescription(CharSequence);
3692*344a7f5eSAndroid Build Coastguard Worker    method public void setContextClickable(boolean);
3693*344a7f5eSAndroid Build Coastguard Worker    method public void setDataIsSensitive(boolean);
3694*344a7f5eSAndroid Build Coastguard Worker    method public void setDimens(int, int, int, int, int, int);
3695*344a7f5eSAndroid Build Coastguard Worker    method public void setElevation(float);
3696*344a7f5eSAndroid Build Coastguard Worker    method public void setEnabled(boolean);
3697*344a7f5eSAndroid Build Coastguard Worker    method public void setFocusable(boolean);
3698*344a7f5eSAndroid Build Coastguard Worker    method public void setFocused(boolean);
3699*344a7f5eSAndroid Build Coastguard Worker    method public void setHint(CharSequence);
3700*344a7f5eSAndroid Build Coastguard Worker    method public void setHtmlInfo(android.view.ViewStructure.HtmlInfo);
3701*344a7f5eSAndroid Build Coastguard Worker    method public void setId(int, String, String, String);
3702*344a7f5eSAndroid Build Coastguard Worker    method public void setInputType(int);
3703*344a7f5eSAndroid Build Coastguard Worker    method public void setLocaleList(android.os.LocaleList);
3704*344a7f5eSAndroid Build Coastguard Worker    method public void setLongClickable(boolean);
3705*344a7f5eSAndroid Build Coastguard Worker    method public void setOpaque(boolean);
3706*344a7f5eSAndroid Build Coastguard Worker    method public void setSelected(boolean);
3707*344a7f5eSAndroid Build Coastguard Worker    method public void setText(CharSequence);
3708*344a7f5eSAndroid Build Coastguard Worker    method public void setText(CharSequence, int, int);
3709*344a7f5eSAndroid Build Coastguard Worker    method public void setTextLines(int[], int[]);
3710*344a7f5eSAndroid Build Coastguard Worker    method public void setTextStyle(float, int, int, int);
3711*344a7f5eSAndroid Build Coastguard Worker    method public void setTransformation(android.graphics.Matrix);
3712*344a7f5eSAndroid Build Coastguard Worker    method public void setVisibility(int);
3713*344a7f5eSAndroid Build Coastguard Worker    method public void setWebDomain(String);
3714*344a7f5eSAndroid Build Coastguard Worker  }
3715*344a7f5eSAndroid Build Coastguard Worker
3716*344a7f5eSAndroid Build Coastguard Worker}
3717*344a7f5eSAndroid Build Coastguard Worker
3718*344a7f5eSAndroid Build Coastguard Workerpackage android.view.displayhash {
3719*344a7f5eSAndroid Build Coastguard Worker
3720*344a7f5eSAndroid Build Coastguard Worker  public final class DisplayHashManager {
3721*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.READ_FRAME_BUFFER") public void setDisplayHashThrottlingEnabled(boolean);
3722*344a7f5eSAndroid Build Coastguard Worker  }
3723*344a7f5eSAndroid Build Coastguard Worker
3724*344a7f5eSAndroid Build Coastguard Worker}
3725*344a7f5eSAndroid Build Coastguard Worker
3726*344a7f5eSAndroid Build Coastguard Workerpackage android.view.inputmethod {
3727*344a7f5eSAndroid Build Coastguard Worker
3728*344a7f5eSAndroid Build Coastguard Worker  public abstract class CancellableHandwritingGesture extends android.view.inputmethod.HandwritingGesture {
3729*344a7f5eSAndroid Build Coastguard Worker    ctor public CancellableHandwritingGesture();
3730*344a7f5eSAndroid Build Coastguard Worker    method public void setCancellationSignal(@NonNull android.os.CancellationSignal);
3731*344a7f5eSAndroid Build Coastguard Worker  }
3732*344a7f5eSAndroid Build Coastguard Worker
3733*344a7f5eSAndroid Build Coastguard Worker  public abstract class HandwritingGesture {
3734*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.view.inputmethod.HandwritingGesture fromByteArray(@NonNull byte[]);
3735*344a7f5eSAndroid Build Coastguard Worker    method public final int getGestureType();
3736*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public final byte[] toByteArray();
3737*344a7f5eSAndroid Build Coastguard Worker    field public static final int GESTURE_TYPE_DELETE = 4; // 0x4
3738*344a7f5eSAndroid Build Coastguard Worker    field public static final int GESTURE_TYPE_DELETE_RANGE = 64; // 0x40
3739*344a7f5eSAndroid Build Coastguard Worker    field public static final int GESTURE_TYPE_INSERT = 2; // 0x2
3740*344a7f5eSAndroid Build Coastguard Worker    field public static final int GESTURE_TYPE_INSERT_MODE = 128; // 0x80
3741*344a7f5eSAndroid Build Coastguard Worker    field public static final int GESTURE_TYPE_JOIN_OR_SPLIT = 16; // 0x10
3742*344a7f5eSAndroid Build Coastguard Worker    field public static final int GESTURE_TYPE_NONE = 0; // 0x0
3743*344a7f5eSAndroid Build Coastguard Worker    field public static final int GESTURE_TYPE_REMOVE_SPACE = 8; // 0x8
3744*344a7f5eSAndroid Build Coastguard Worker    field public static final int GESTURE_TYPE_SELECT = 1; // 0x1
3745*344a7f5eSAndroid Build Coastguard Worker    field public static final int GESTURE_TYPE_SELECT_RANGE = 32; // 0x20
3746*344a7f5eSAndroid Build Coastguard Worker  }
3747*344a7f5eSAndroid Build Coastguard Worker
3748*344a7f5eSAndroid Build Coastguard Worker  public final class InlineSuggestion implements android.os.Parcelable {
3749*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.view.inputmethod.InlineSuggestion newInlineSuggestion(@NonNull android.view.inputmethod.InlineSuggestionInfo);
3750*344a7f5eSAndroid Build Coastguard Worker  }
3751*344a7f5eSAndroid Build Coastguard Worker
3752*344a7f5eSAndroid Build Coastguard Worker  public final class InlineSuggestionInfo implements android.os.Parcelable {
3753*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.view.inputmethod.InlineSuggestionInfo newInlineSuggestionInfo(@NonNull android.widget.inline.InlinePresentationSpec, @NonNull String, @Nullable String[], @NonNull String, boolean);
3754*344a7f5eSAndroid Build Coastguard Worker  }
3755*344a7f5eSAndroid Build Coastguard Worker
3756*344a7f5eSAndroid Build Coastguard Worker  public static final class InlineSuggestionsRequest.Builder {
3757*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.inputmethod.InlineSuggestionsRequest.Builder setClientSupported(boolean);
3758*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.inputmethod.InlineSuggestionsRequest.Builder setServiceSupported(boolean);
3759*344a7f5eSAndroid Build Coastguard Worker  }
3760*344a7f5eSAndroid Build Coastguard Worker
3761*344a7f5eSAndroid Build Coastguard Worker  public final class InlineSuggestionsResponse implements android.os.Parcelable {
3762*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.view.inputmethod.InlineSuggestionsResponse newInlineSuggestionsResponse(@NonNull java.util.List<android.view.inputmethod.InlineSuggestion>);
3763*344a7f5eSAndroid Build Coastguard Worker  }
3764*344a7f5eSAndroid Build Coastguard Worker
3765*344a7f5eSAndroid Build Coastguard Worker  public final class InputMethodInfo implements android.os.Parcelable {
3766*344a7f5eSAndroid Build Coastguard Worker    ctor public InputMethodInfo(@NonNull String, @NonNull String, @NonNull CharSequence, @NonNull String, boolean, @NonNull String);
3767*344a7f5eSAndroid Build Coastguard Worker    ctor public InputMethodInfo(@NonNull String, @NonNull String, @NonNull CharSequence, @NonNull String, int);
3768*344a7f5eSAndroid Build Coastguard Worker    field public static final int COMPONENT_NAME_MAX_LENGTH = 1000; // 0x3e8
3769*344a7f5eSAndroid Build Coastguard Worker    field public static final int MAX_IMES_PER_PACKAGE = 20; // 0x14
3770*344a7f5eSAndroid Build Coastguard Worker  }
3771*344a7f5eSAndroid Build Coastguard Worker
3772*344a7f5eSAndroid Build Coastguard Worker  public final class InputMethodManager {
3773*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_INPUT_METHOD) public void addVirtualStylusIdForTestSession();
3774*344a7f5eSAndroid Build Coastguard Worker    method public int getDisplayId();
3775*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(value=android.Manifest.permission.INTERACT_ACROSS_USERS_FULL, conditional=true) public java.util.List<android.view.inputmethod.InputMethodInfo> getInputMethodListAsUser(int);
3776*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasActiveInputConnection(@Nullable android.view.View);
3777*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_INPUT_METHOD) public boolean hasPendingImeVisibilityRequests();
3778*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_INPUT_METHOD) public boolean isInputMethodPickerShown();
3779*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_INPUT_METHOD) public void setStylusWindowIdleTimeoutForTest(long);
3780*344a7f5eSAndroid Build Coastguard Worker    field public static final long CLEAR_SHOW_FORCED_FLAG_WHEN_LEAVING = 214016041L; // 0xcc1a029L
3781*344a7f5eSAndroid Build Coastguard Worker  }
3782*344a7f5eSAndroid Build Coastguard Worker
3783*344a7f5eSAndroid Build Coastguard Worker}
3784*344a7f5eSAndroid Build Coastguard Worker
3785*344a7f5eSAndroid Build Coastguard Workerpackage android.view.inspector {
3786*344a7f5eSAndroid Build Coastguard Worker
3787*344a7f5eSAndroid Build Coastguard Worker  @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target({java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.FIELD}) public @interface InspectableProperty {
3788*344a7f5eSAndroid Build Coastguard Worker    method public abstract int attributeId() default android.content.res.Resources.ID_NULL;
3789*344a7f5eSAndroid Build Coastguard Worker    method public abstract android.view.inspector.InspectableProperty.EnumEntry[] enumMapping() default {};
3790*344a7f5eSAndroid Build Coastguard Worker    method public abstract android.view.inspector.InspectableProperty.FlagEntry[] flagMapping() default {};
3791*344a7f5eSAndroid Build Coastguard Worker    method public abstract boolean hasAttributeId() default true;
3792*344a7f5eSAndroid Build Coastguard Worker    method public abstract String name() default "";
3793*344a7f5eSAndroid Build Coastguard Worker    method public abstract android.view.inspector.InspectableProperty.ValueType valueType() default android.view.inspector.InspectableProperty.ValueType.INFERRED;
3794*344a7f5eSAndroid Build Coastguard Worker  }
3795*344a7f5eSAndroid Build Coastguard Worker
3796*344a7f5eSAndroid Build Coastguard Worker  @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target({java.lang.annotation.ElementType.TYPE}) public static @interface InspectableProperty.EnumEntry {
3797*344a7f5eSAndroid Build Coastguard Worker    method public abstract String name();
3798*344a7f5eSAndroid Build Coastguard Worker    method public abstract int value();
3799*344a7f5eSAndroid Build Coastguard Worker  }
3800*344a7f5eSAndroid Build Coastguard Worker
3801*344a7f5eSAndroid Build Coastguard Worker  @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target({java.lang.annotation.ElementType.TYPE}) public static @interface InspectableProperty.FlagEntry {
3802*344a7f5eSAndroid Build Coastguard Worker    method public abstract int mask() default 0;
3803*344a7f5eSAndroid Build Coastguard Worker    method public abstract String name();
3804*344a7f5eSAndroid Build Coastguard Worker    method public abstract int target();
3805*344a7f5eSAndroid Build Coastguard Worker  }
3806*344a7f5eSAndroid Build Coastguard Worker
3807*344a7f5eSAndroid Build Coastguard Worker  public enum InspectableProperty.ValueType {
3808*344a7f5eSAndroid Build Coastguard Worker    enum_constant public static final android.view.inspector.InspectableProperty.ValueType COLOR;
3809*344a7f5eSAndroid Build Coastguard Worker    enum_constant public static final android.view.inspector.InspectableProperty.ValueType GRAVITY;
3810*344a7f5eSAndroid Build Coastguard Worker    enum_constant public static final android.view.inspector.InspectableProperty.ValueType INFERRED;
3811*344a7f5eSAndroid Build Coastguard Worker    enum_constant public static final android.view.inspector.InspectableProperty.ValueType INT_ENUM;
3812*344a7f5eSAndroid Build Coastguard Worker    enum_constant public static final android.view.inspector.InspectableProperty.ValueType INT_FLAG;
3813*344a7f5eSAndroid Build Coastguard Worker    enum_constant public static final android.view.inspector.InspectableProperty.ValueType NONE;
3814*344a7f5eSAndroid Build Coastguard Worker    enum_constant public static final android.view.inspector.InspectableProperty.ValueType RESOURCE_ID;
3815*344a7f5eSAndroid Build Coastguard Worker  }
3816*344a7f5eSAndroid Build Coastguard Worker
3817*344a7f5eSAndroid Build Coastguard Worker}
3818*344a7f5eSAndroid Build Coastguard Worker
3819*344a7f5eSAndroid Build Coastguard Workerpackage android.view.textservice {
3820*344a7f5eSAndroid Build Coastguard Worker
3821*344a7f5eSAndroid Build Coastguard Worker  public final class SpellCheckerSubtype implements android.os.Parcelable {
3822*344a7f5eSAndroid Build Coastguard Worker    field public static final int SUBTYPE_ID_NONE = 0; // 0x0
3823*344a7f5eSAndroid Build Coastguard Worker  }
3824*344a7f5eSAndroid Build Coastguard Worker
3825*344a7f5eSAndroid Build Coastguard Worker}
3826*344a7f5eSAndroid Build Coastguard Worker
3827*344a7f5eSAndroid Build Coastguard Workerpackage android.widget {
3828*344a7f5eSAndroid Build Coastguard Worker
3829*344a7f5eSAndroid Build Coastguard Worker  public abstract class AbsListView extends android.widget.AdapterView<android.widget.ListAdapter> implements android.widget.Filter.FilterListener android.text.TextWatcher android.view.ViewTreeObserver.OnGlobalLayoutListener android.view.ViewTreeObserver.OnTouchModeChangeListener {
3830*344a7f5eSAndroid Build Coastguard Worker    method public final boolean shouldDrawSelector();
3831*344a7f5eSAndroid Build Coastguard Worker  }
3832*344a7f5eSAndroid Build Coastguard Worker
3833*344a7f5eSAndroid Build Coastguard Worker  public class CalendarView extends android.widget.FrameLayout {
3834*344a7f5eSAndroid Build Coastguard Worker    method public boolean getBoundsForDate(long, android.graphics.Rect);
3835*344a7f5eSAndroid Build Coastguard Worker  }
3836*344a7f5eSAndroid Build Coastguard Worker
3837*344a7f5eSAndroid Build Coastguard Worker  public class DatePicker extends android.widget.FrameLayout {
3838*344a7f5eSAndroid Build Coastguard Worker    method @android.view.inspector.InspectableProperty(name="datePickerMode", enumMapping={@android.view.inspector.InspectableProperty.EnumEntry(value=android.widget.DatePicker.MODE_SPINNER, name="spinner"), @android.view.inspector.InspectableProperty.EnumEntry(value=android.widget.DatePicker.MODE_CALENDAR, name="calendar")}) public int getMode();
3839*344a7f5eSAndroid Build Coastguard Worker    field public static final int MODE_CALENDAR = 2; // 0x2
3840*344a7f5eSAndroid Build Coastguard Worker    field public static final int MODE_SPINNER = 1; // 0x1
3841*344a7f5eSAndroid Build Coastguard Worker  }
3842*344a7f5eSAndroid Build Coastguard Worker
3843*344a7f5eSAndroid Build Coastguard Worker  @UiThread public final class Magnifier {
3844*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.graphics.Bitmap getContent();
3845*344a7f5eSAndroid Build Coastguard Worker    method public static android.graphics.PointF getMagnifierDefaultSize();
3846*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.graphics.Bitmap getOriginalContent();
3847*344a7f5eSAndroid Build Coastguard Worker    method public void setOnOperationCompleteCallback(android.widget.Magnifier.Callback);
3848*344a7f5eSAndroid Build Coastguard Worker  }
3849*344a7f5eSAndroid Build Coastguard Worker
3850*344a7f5eSAndroid Build Coastguard Worker  public static interface Magnifier.Callback {
3851*344a7f5eSAndroid Build Coastguard Worker    method public void onOperationComplete();
3852*344a7f5eSAndroid Build Coastguard Worker  }
3853*344a7f5eSAndroid Build Coastguard Worker
3854*344a7f5eSAndroid Build Coastguard Worker  public class NumberPicker extends android.widget.LinearLayout {
3855*344a7f5eSAndroid Build Coastguard Worker    method public CharSequence getDisplayedValueForCurrentSelection();
3856*344a7f5eSAndroid Build Coastguard Worker  }
3857*344a7f5eSAndroid Build Coastguard Worker
3858*344a7f5eSAndroid Build Coastguard Worker  public class PopupMenu {
3859*344a7f5eSAndroid Build Coastguard Worker    method public android.widget.ListView getMenuListView();
3860*344a7f5eSAndroid Build Coastguard Worker  }
3861*344a7f5eSAndroid Build Coastguard Worker
3862*344a7f5eSAndroid Build Coastguard Worker  public class RatingBar extends android.widget.AbsSeekBar {
3863*344a7f5eSAndroid Build Coastguard Worker    field public static final String PLURALS_MAX = "max";
3864*344a7f5eSAndroid Build Coastguard Worker    field public static final String PLURALS_RATING = "rating";
3865*344a7f5eSAndroid Build Coastguard Worker  }
3866*344a7f5eSAndroid Build Coastguard Worker
3867*344a7f5eSAndroid Build Coastguard Worker  public class Spinner extends android.widget.AbsSpinner implements android.content.DialogInterface.OnClickListener {
3868*344a7f5eSAndroid Build Coastguard Worker    method public boolean isPopupShowing();
3869*344a7f5eSAndroid Build Coastguard Worker    method public void onClick(int);
3870*344a7f5eSAndroid Build Coastguard Worker  }
3871*344a7f5eSAndroid Build Coastguard Worker
3872*344a7f5eSAndroid Build Coastguard Worker  @android.widget.RemoteViews.RemoteView public class TextClock extends android.widget.TextView {
3873*344a7f5eSAndroid Build Coastguard Worker    method public void disableClockTick();
3874*344a7f5eSAndroid Build Coastguard Worker  }
3875*344a7f5eSAndroid Build Coastguard Worker
3876*344a7f5eSAndroid Build Coastguard Worker  @android.widget.RemoteViews.RemoteView public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener {
3877*344a7f5eSAndroid Build Coastguard Worker    method public void onActivityResult(int, int, @Nullable android.content.Intent);
3878*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROCESS_TEXT_REQUEST_CODE = 100; // 0x64
3879*344a7f5eSAndroid Build Coastguard Worker  }
3880*344a7f5eSAndroid Build Coastguard Worker
3881*344a7f5eSAndroid Build Coastguard Worker  public class TimePicker extends android.widget.FrameLayout {
3882*344a7f5eSAndroid Build Coastguard Worker    method public android.view.View getAmView();
3883*344a7f5eSAndroid Build Coastguard Worker    method public android.view.View getHourView();
3884*344a7f5eSAndroid Build Coastguard Worker    method public android.view.View getMinuteView();
3885*344a7f5eSAndroid Build Coastguard Worker    method @android.view.inspector.InspectableProperty(name="timePickerMode", enumMapping={@android.view.inspector.InspectableProperty.EnumEntry(name="clock", value=android.widget.TimePicker.MODE_CLOCK), @android.view.inspector.InspectableProperty.EnumEntry(name="spinner", value=android.widget.TimePicker.MODE_SPINNER)}) public int getMode();
3886*344a7f5eSAndroid Build Coastguard Worker    method public android.view.View getPmView();
3887*344a7f5eSAndroid Build Coastguard Worker    field public static final int MODE_CLOCK = 2; // 0x2
3888*344a7f5eSAndroid Build Coastguard Worker    field public static final int MODE_SPINNER = 1; // 0x1
3889*344a7f5eSAndroid Build Coastguard Worker  }
3890*344a7f5eSAndroid Build Coastguard Worker
3891*344a7f5eSAndroid Build Coastguard Worker  public class Toolbar extends android.view.ViewGroup {
3892*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.View getNavigationView();
3893*344a7f5eSAndroid Build Coastguard Worker  }
3894*344a7f5eSAndroid Build Coastguard Worker
3895*344a7f5eSAndroid Build Coastguard Worker}
3896*344a7f5eSAndroid Build Coastguard Worker
3897*344a7f5eSAndroid Build Coastguard Workerpackage android.widget.inline {
3898*344a7f5eSAndroid Build Coastguard Worker
3899*344a7f5eSAndroid Build Coastguard Worker  public class InlineContentView extends android.view.ViewGroup {
3900*344a7f5eSAndroid Build Coastguard Worker    method public void setChildSurfacePackageUpdater(@Nullable android.widget.inline.InlineContentView.SurfacePackageUpdater);
3901*344a7f5eSAndroid Build Coastguard Worker  }
3902*344a7f5eSAndroid Build Coastguard Worker
3903*344a7f5eSAndroid Build Coastguard Worker  public static interface InlineContentView.SurfacePackageUpdater {
3904*344a7f5eSAndroid Build Coastguard Worker    method public void getSurfacePackage(@NonNull java.util.function.Consumer<android.view.SurfaceControlViewHost.SurfacePackage>);
3905*344a7f5eSAndroid Build Coastguard Worker    method public void onSurfacePackageReleased();
3906*344a7f5eSAndroid Build Coastguard Worker  }
3907*344a7f5eSAndroid Build Coastguard Worker
3908*344a7f5eSAndroid Build Coastguard Worker}
3909*344a7f5eSAndroid Build Coastguard Worker
3910*344a7f5eSAndroid Build Coastguard Workerpackage android.window {
3911*344a7f5eSAndroid Build Coastguard Worker
3912*344a7f5eSAndroid Build Coastguard Worker  public final class BackNavigationInfo implements android.os.Parcelable {
3913*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static String typeToString(int);
3914*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.window.BackNavigationInfo> CREATOR;
3915*344a7f5eSAndroid Build Coastguard Worker    field public static final String KEY_TRIGGER_BACK = "TriggerBack";
3916*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_CALLBACK = 4; // 0x4
3917*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_CROSS_ACTIVITY = 2; // 0x2
3918*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_CROSS_TASK = 3; // 0x3
3919*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_DIALOG_CLOSE = 0; // 0x0
3920*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_RETURN_TO_HOME = 1; // 0x1
3921*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_UNDEFINED = -1; // 0xffffffff
3922*344a7f5eSAndroid Build Coastguard Worker  }
3923*344a7f5eSAndroid Build Coastguard Worker
3924*344a7f5eSAndroid Build Coastguard Worker  public final class DisplayAreaAppearedInfo implements android.os.Parcelable {
3925*344a7f5eSAndroid Build Coastguard Worker    ctor public DisplayAreaAppearedInfo(@NonNull android.window.DisplayAreaInfo, @NonNull android.view.SurfaceControl);
3926*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
3927*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.DisplayAreaInfo getDisplayAreaInfo();
3928*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.SurfaceControl getLeash();
3929*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
3930*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.window.DisplayAreaAppearedInfo> CREATOR;
3931*344a7f5eSAndroid Build Coastguard Worker  }
3932*344a7f5eSAndroid Build Coastguard Worker
3933*344a7f5eSAndroid Build Coastguard Worker  public final class DisplayAreaInfo implements android.os.Parcelable {
3934*344a7f5eSAndroid Build Coastguard Worker    ctor public DisplayAreaInfo(@NonNull android.window.WindowContainerToken, int, int);
3935*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
3936*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
3937*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.window.DisplayAreaInfo> CREATOR;
3938*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public final android.content.res.Configuration configuration;
3939*344a7f5eSAndroid Build Coastguard Worker    field public final int displayId;
3940*344a7f5eSAndroid Build Coastguard Worker    field public final int featureId;
3941*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public final android.window.WindowContainerToken token;
3942*344a7f5eSAndroid Build Coastguard Worker  }
3943*344a7f5eSAndroid Build Coastguard Worker
3944*344a7f5eSAndroid Build Coastguard Worker  public class DisplayAreaOrganizer extends android.window.WindowOrganizer {
3945*344a7f5eSAndroid Build Coastguard Worker    method public void onDisplayAreaAppeared(@NonNull android.window.DisplayAreaInfo, @NonNull android.view.SurfaceControl);
3946*344a7f5eSAndroid Build Coastguard Worker    method public void onDisplayAreaVanished(@NonNull android.window.DisplayAreaInfo);
3947*344a7f5eSAndroid Build Coastguard Worker    method @CallSuper @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public java.util.List<android.window.DisplayAreaAppearedInfo> registerOrganizer(int);
3948*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_DEFAULT_TASK_CONTAINER = 1; // 0x1
3949*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_IME = 8; // 0x8
3950*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_ONE_HANDED = 3; // 0x3
3951*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_ROOT = 0; // 0x0
3952*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_SYSTEM_FIRST = 0; // 0x0
3953*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_SYSTEM_LAST = 10000; // 0x2710
3954*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_UNDEFINED = -1; // 0xffffffff
3955*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_VENDOR_FIRST = 10001; // 0x2711
3956*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_WINDOWED_MAGNIFICATION = 4; // 0x4
3957*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_WINDOW_TOKENS = 2; // 0x2
3958*344a7f5eSAndroid Build Coastguard Worker  }
3959*344a7f5eSAndroid Build Coastguard Worker
3960*344a7f5eSAndroid Build Coastguard Worker  public final class SplashScreenView extends android.widget.FrameLayout {
3961*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.View getBrandingView();
3962*344a7f5eSAndroid Build Coastguard Worker  }
3963*344a7f5eSAndroid Build Coastguard Worker
3964*344a7f5eSAndroid Build Coastguard Worker  public final class TaskAppearedInfo implements android.os.Parcelable {
3965*344a7f5eSAndroid Build Coastguard Worker    ctor public TaskAppearedInfo(@NonNull android.app.ActivityManager.RunningTaskInfo, @NonNull android.view.SurfaceControl);
3966*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
3967*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.SurfaceControl getLeash();
3968*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.ActivityManager.RunningTaskInfo getTaskInfo();
3969*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
3970*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.window.TaskAppearedInfo> CREATOR;
3971*344a7f5eSAndroid Build Coastguard Worker  }
3972*344a7f5eSAndroid Build Coastguard Worker
3973*344a7f5eSAndroid Build Coastguard Worker  public final class TaskFragmentCreationParams implements android.os.Parcelable {
3974*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.IBinder getFragmentToken();
3975*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.graphics.Rect getInitialRelativeBounds();
3976*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.TaskFragmentOrganizerToken getOrganizer();
3977*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.IBinder getOwnerToken();
3978*344a7f5eSAndroid Build Coastguard Worker    method public int getWindowingMode();
3979*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.window.TaskFragmentCreationParams> CREATOR;
3980*344a7f5eSAndroid Build Coastguard Worker  }
3981*344a7f5eSAndroid Build Coastguard Worker
3982*344a7f5eSAndroid Build Coastguard Worker  public static final class TaskFragmentCreationParams.Builder {
3983*344a7f5eSAndroid Build Coastguard Worker    ctor public TaskFragmentCreationParams.Builder(@NonNull android.window.TaskFragmentOrganizerToken, @NonNull android.os.IBinder, @NonNull android.os.IBinder);
3984*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.TaskFragmentCreationParams build();
3985*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.TaskFragmentCreationParams.Builder setInitialRelativeBounds(@NonNull android.graphics.Rect);
3986*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.TaskFragmentCreationParams.Builder setWindowingMode(int);
3987*344a7f5eSAndroid Build Coastguard Worker  }
3988*344a7f5eSAndroid Build Coastguard Worker
3989*344a7f5eSAndroid Build Coastguard Worker  public final class TaskFragmentInfo implements android.os.Parcelable {
3990*344a7f5eSAndroid Build Coastguard Worker    method public boolean equalsForTaskFragmentOrganizer(@Nullable android.window.TaskFragmentInfo);
3991*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.os.IBinder> getActivities();
3992*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.os.IBinder> getActivitiesRequestedInTaskFragment();
3993*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.content.res.Configuration getConfiguration();
3994*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.IBinder getFragmentToken();
3995*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.graphics.Point getPositionInParent();
3996*344a7f5eSAndroid Build Coastguard Worker    method public int getRunningActivityCount();
3997*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerToken getToken();
3998*344a7f5eSAndroid Build Coastguard Worker    method public int getWindowingMode();
3999*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasRunningActivity();
4000*344a7f5eSAndroid Build Coastguard Worker    method public boolean isEmpty();
4001*344a7f5eSAndroid Build Coastguard Worker    method public boolean isTaskClearedForReuse();
4002*344a7f5eSAndroid Build Coastguard Worker    method public boolean isVisible();
4003*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.window.TaskFragmentInfo> CREATOR;
4004*344a7f5eSAndroid Build Coastguard Worker  }
4005*344a7f5eSAndroid Build Coastguard Worker
4006*344a7f5eSAndroid Build Coastguard Worker  public class TaskFragmentOrganizer extends android.window.WindowOrganizer {
4007*344a7f5eSAndroid Build Coastguard Worker    ctor public TaskFragmentOrganizer(@NonNull java.util.concurrent.Executor);
4008*344a7f5eSAndroid Build Coastguard Worker    method public void applyTransaction(@NonNull android.window.WindowContainerTransaction, int, boolean);
4009*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.concurrent.Executor getExecutor();
4010*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.TaskFragmentOrganizerToken getOrganizerToken();
4011*344a7f5eSAndroid Build Coastguard Worker    method public void onTransactionHandled(@NonNull android.os.IBinder, @NonNull android.window.WindowContainerTransaction, int, boolean);
4012*344a7f5eSAndroid Build Coastguard Worker    method public void onTransactionReady(@NonNull android.window.TaskFragmentTransaction);
4013*344a7f5eSAndroid Build Coastguard Worker    method @CallSuper public void registerOrganizer();
4014*344a7f5eSAndroid Build Coastguard Worker    method @CallSuper public void unregisterOrganizer();
4015*344a7f5eSAndroid Build Coastguard Worker    field public static final String KEY_ERROR_CALLBACK_OP_TYPE = "operation_type";
4016*344a7f5eSAndroid Build Coastguard Worker    field public static final String KEY_ERROR_CALLBACK_TASK_FRAGMENT_INFO = "task_fragment_info";
4017*344a7f5eSAndroid Build Coastguard Worker    field public static final String KEY_ERROR_CALLBACK_THROWABLE = "fragment_throwable";
4018*344a7f5eSAndroid Build Coastguard Worker    field public static final int TASK_FRAGMENT_TRANSIT_CHANGE = 6; // 0x6
4019*344a7f5eSAndroid Build Coastguard Worker    field public static final int TASK_FRAGMENT_TRANSIT_CLOSE = 2; // 0x2
4020*344a7f5eSAndroid Build Coastguard Worker    field public static final int TASK_FRAGMENT_TRANSIT_NONE = 0; // 0x0
4021*344a7f5eSAndroid Build Coastguard Worker    field public static final int TASK_FRAGMENT_TRANSIT_OPEN = 1; // 0x1
4022*344a7f5eSAndroid Build Coastguard Worker  }
4023*344a7f5eSAndroid Build Coastguard Worker
4024*344a7f5eSAndroid Build Coastguard Worker  public final class TaskFragmentOrganizerToken implements android.os.Parcelable {
4025*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.window.TaskFragmentOrganizerToken> CREATOR;
4026*344a7f5eSAndroid Build Coastguard Worker  }
4027*344a7f5eSAndroid Build Coastguard Worker
4028*344a7f5eSAndroid Build Coastguard Worker  public final class TaskFragmentTransaction implements android.os.Parcelable {
4029*344a7f5eSAndroid Build Coastguard Worker    ctor public TaskFragmentTransaction();
4030*344a7f5eSAndroid Build Coastguard Worker    method public void addChange(@Nullable android.window.TaskFragmentTransaction.Change);
4031*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
4032*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.window.TaskFragmentTransaction.Change> getChanges();
4033*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.IBinder getTransactionToken();
4034*344a7f5eSAndroid Build Coastguard Worker    method public boolean isEmpty();
4035*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
4036*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.window.TaskFragmentTransaction> CREATOR;
4037*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_ACTIVITY_REPARENTED_TO_TASK = 6; // 0x6
4038*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_TASK_FRAGMENT_APPEARED = 1; // 0x1
4039*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_TASK_FRAGMENT_ERROR = 5; // 0x5
4040*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_TASK_FRAGMENT_INFO_CHANGED = 2; // 0x2
4041*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_TASK_FRAGMENT_PARENT_INFO_CHANGED = 4; // 0x4
4042*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_TASK_FRAGMENT_VANISHED = 3; // 0x3
4043*344a7f5eSAndroid Build Coastguard Worker  }
4044*344a7f5eSAndroid Build Coastguard Worker
4045*344a7f5eSAndroid Build Coastguard Worker  public static final class TaskFragmentTransaction.Change implements android.os.Parcelable {
4046*344a7f5eSAndroid Build Coastguard Worker    ctor public TaskFragmentTransaction.Change(int);
4047*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
4048*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.content.Intent getActivityIntent();
4049*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.os.IBinder getActivityToken();
4050*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.Bundle getErrorBundle();
4051*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.os.IBinder getErrorCallbackToken();
4052*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.content.res.Configuration getTaskConfiguration();
4053*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.window.TaskFragmentInfo getTaskFragmentInfo();
4054*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.os.IBinder getTaskFragmentToken();
4055*344a7f5eSAndroid Build Coastguard Worker    method public int getTaskId();
4056*344a7f5eSAndroid Build Coastguard Worker    method public int getType();
4057*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.TaskFragmentTransaction.Change setActivityIntent(@NonNull android.content.Intent);
4058*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.TaskFragmentTransaction.Change setActivityToken(@NonNull android.os.IBinder);
4059*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.TaskFragmentTransaction.Change setErrorBundle(@NonNull android.os.Bundle);
4060*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.TaskFragmentTransaction.Change setErrorCallbackToken(@Nullable android.os.IBinder);
4061*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.TaskFragmentTransaction.Change setTaskConfiguration(@NonNull android.content.res.Configuration);
4062*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.TaskFragmentTransaction.Change setTaskFragmentInfo(@NonNull android.window.TaskFragmentInfo);
4063*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.TaskFragmentTransaction.Change setTaskFragmentToken(@NonNull android.os.IBinder);
4064*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.TaskFragmentTransaction.Change setTaskId(int);
4065*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
4066*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.window.TaskFragmentTransaction.Change> CREATOR;
4067*344a7f5eSAndroid Build Coastguard Worker  }
4068*344a7f5eSAndroid Build Coastguard Worker
4069*344a7f5eSAndroid Build Coastguard Worker  public class TaskOrganizer extends android.window.WindowOrganizer {
4070*344a7f5eSAndroid Build Coastguard Worker    ctor public TaskOrganizer();
4071*344a7f5eSAndroid Build Coastguard Worker    method @BinderThread public void copySplashScreenView(int);
4072*344a7f5eSAndroid Build Coastguard Worker    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void createRootTask(int, int, @Nullable android.os.IBinder);
4073*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public boolean deleteRootTask(@NonNull android.window.WindowContainerToken);
4074*344a7f5eSAndroid Build Coastguard Worker    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public java.util.List<android.app.ActivityManager.RunningTaskInfo> getChildTasks(@NonNull android.window.WindowContainerToken, @NonNull int[]);
4075*344a7f5eSAndroid Build Coastguard Worker    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public android.window.WindowContainerToken getImeTarget(int);
4076*344a7f5eSAndroid Build Coastguard Worker    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public java.util.List<android.app.ActivityManager.RunningTaskInfo> getRootTasks(int, @NonNull int[]);
4077*344a7f5eSAndroid Build Coastguard Worker    method @BinderThread public void onAppSplashScreenViewRemoved(int);
4078*344a7f5eSAndroid Build Coastguard Worker    method @BinderThread public void onBackPressedOnTaskRoot(@NonNull android.app.ActivityManager.RunningTaskInfo);
4079*344a7f5eSAndroid Build Coastguard Worker    method @BinderThread public void onTaskAppeared(@NonNull android.app.ActivityManager.RunningTaskInfo, @NonNull android.view.SurfaceControl);
4080*344a7f5eSAndroid Build Coastguard Worker    method @BinderThread public void onTaskInfoChanged(@NonNull android.app.ActivityManager.RunningTaskInfo);
4081*344a7f5eSAndroid Build Coastguard Worker    method @BinderThread public void onTaskVanished(@NonNull android.app.ActivityManager.RunningTaskInfo);
4082*344a7f5eSAndroid Build Coastguard Worker    method @CallSuper @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public java.util.List<android.window.TaskAppearedInfo> registerOrganizer();
4083*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void setInterceptBackPressedOnTaskRoot(@NonNull android.window.WindowContainerToken, boolean);
4084*344a7f5eSAndroid Build Coastguard Worker    method @CallSuper @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void unregisterOrganizer();
4085*344a7f5eSAndroid Build Coastguard Worker  }
4086*344a7f5eSAndroid Build Coastguard Worker
4087*344a7f5eSAndroid Build Coastguard Worker  public final class WindowContainerToken implements android.os.Parcelable {
4088*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
4089*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
4090*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.window.WindowContainerToken> CREATOR;
4091*344a7f5eSAndroid Build Coastguard Worker  }
4092*344a7f5eSAndroid Build Coastguard Worker
4093*344a7f5eSAndroid Build Coastguard Worker  public final class WindowContainerTransaction implements android.os.Parcelable {
4094*344a7f5eSAndroid Build Coastguard Worker    ctor public WindowContainerTransaction();
4095*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction clearAdjacentTaskFragments(@NonNull android.os.IBinder);
4096*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction clearLaunchAdjacentFlagRoot(@NonNull android.window.WindowContainerToken);
4097*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction createTaskFragment(@NonNull android.window.TaskFragmentCreationParams);
4098*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction deleteTaskFragment(@NonNull android.os.IBinder);
4099*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
4100*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction finishActivity(@NonNull android.os.IBinder);
4101*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction removeTask(@NonNull android.window.WindowContainerToken);
4102*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction reorder(@NonNull android.window.WindowContainerToken, boolean);
4103*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction reparent(@NonNull android.window.WindowContainerToken, @Nullable android.window.WindowContainerToken, boolean);
4104*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction reparentActivityToTaskFragment(@NonNull android.os.IBinder, @NonNull android.os.IBinder);
4105*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction reparentTasks(@Nullable android.window.WindowContainerToken, @Nullable android.window.WindowContainerToken, @Nullable int[], @Nullable int[], boolean);
4106*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction requestFocusOnTaskFragment(@NonNull android.os.IBinder);
4107*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction scheduleFinishEnterPip(@NonNull android.window.WindowContainerToken, @NonNull android.graphics.Rect);
4108*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setActivityWindowingMode(@NonNull android.window.WindowContainerToken, int);
4109*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setAdjacentRoots(@NonNull android.window.WindowContainerToken, @NonNull android.window.WindowContainerToken);
4110*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setAdjacentTaskFragments(@NonNull android.os.IBinder, @NonNull android.os.IBinder, @Nullable android.window.WindowContainerTransaction.TaskFragmentAdjacentParams);
4111*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setAppBounds(@NonNull android.window.WindowContainerToken, @NonNull android.graphics.Rect);
4112*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setBounds(@NonNull android.window.WindowContainerToken, @NonNull android.graphics.Rect);
4113*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setBoundsChangeTransaction(@NonNull android.window.WindowContainerToken, @NonNull android.view.SurfaceControl.Transaction);
4114*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setErrorCallbackToken(@NonNull android.os.IBinder);
4115*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setFocusable(@NonNull android.window.WindowContainerToken, boolean);
4116*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setHidden(@NonNull android.window.WindowContainerToken, boolean);
4117*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setLaunchAdjacentFlagRoot(@NonNull android.window.WindowContainerToken);
4118*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setLaunchRoot(@NonNull android.window.WindowContainerToken, @Nullable int[], @Nullable int[]);
4119*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setRelativeBounds(@NonNull android.window.WindowContainerToken, @NonNull android.graphics.Rect);
4120*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setScreenSizeDp(@NonNull android.window.WindowContainerToken, int, int);
4121*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setSmallestScreenWidthDp(@NonNull android.window.WindowContainerToken, int);
4122*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setWindowingMode(@NonNull android.window.WindowContainerToken, int);
4123*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction startActivityInTaskFragment(@NonNull android.os.IBinder, @NonNull android.os.IBinder, @NonNull android.content.Intent, @Nullable android.os.Bundle);
4124*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
4125*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.window.WindowContainerTransaction> CREATOR;
4126*344a7f5eSAndroid Build Coastguard Worker  }
4127*344a7f5eSAndroid Build Coastguard Worker
4128*344a7f5eSAndroid Build Coastguard Worker  public static class WindowContainerTransaction.TaskFragmentAdjacentParams {
4129*344a7f5eSAndroid Build Coastguard Worker    ctor public WindowContainerTransaction.TaskFragmentAdjacentParams();
4130*344a7f5eSAndroid Build Coastguard Worker    ctor public WindowContainerTransaction.TaskFragmentAdjacentParams(@NonNull android.os.Bundle);
4131*344a7f5eSAndroid Build Coastguard Worker    method public void setShouldDelayPrimaryLastActivityRemoval(boolean);
4132*344a7f5eSAndroid Build Coastguard Worker    method public void setShouldDelaySecondaryLastActivityRemoval(boolean);
4133*344a7f5eSAndroid Build Coastguard Worker    method public boolean shouldDelayPrimaryLastActivityRemoval();
4134*344a7f5eSAndroid Build Coastguard Worker    method public boolean shouldDelaySecondaryLastActivityRemoval();
4135*344a7f5eSAndroid Build Coastguard Worker  }
4136*344a7f5eSAndroid Build Coastguard Worker
4137*344a7f5eSAndroid Build Coastguard Worker  public abstract class WindowContainerTransactionCallback {
4138*344a7f5eSAndroid Build Coastguard Worker    ctor public WindowContainerTransactionCallback();
4139*344a7f5eSAndroid Build Coastguard Worker    method public abstract void onTransactionReady(int, @NonNull android.view.SurfaceControl.Transaction);
4140*344a7f5eSAndroid Build Coastguard Worker  }
4141*344a7f5eSAndroid Build Coastguard Worker
4142*344a7f5eSAndroid Build Coastguard Worker  public class WindowInfosListenerForTest {
4143*344a7f5eSAndroid Build Coastguard Worker    ctor public WindowInfosListenerForTest();
4144*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.ACCESS_SURFACE_FLINGER) public void addWindowInfosListener(@NonNull java.util.function.Consumer<java.util.List<android.window.WindowInfosListenerForTest.WindowInfo>>);
4145*344a7f5eSAndroid Build Coastguard Worker    method public void removeWindowInfosListener(@NonNull java.util.function.Consumer<java.util.List<android.window.WindowInfosListenerForTest.WindowInfo>>);
4146*344a7f5eSAndroid Build Coastguard Worker  }
4147*344a7f5eSAndroid Build Coastguard Worker
4148*344a7f5eSAndroid Build Coastguard Worker  public static class WindowInfosListenerForTest.WindowInfo {
4149*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public final android.graphics.Rect bounds;
4150*344a7f5eSAndroid Build Coastguard Worker    field public final boolean isTrustedOverlay;
4151*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public final String name;
4152*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public final android.os.IBinder windowToken;
4153*344a7f5eSAndroid Build Coastguard Worker  }
4154*344a7f5eSAndroid Build Coastguard Worker
4155*344a7f5eSAndroid Build Coastguard Worker  public class WindowOrganizer {
4156*344a7f5eSAndroid Build Coastguard Worker    ctor public WindowOrganizer();
4157*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public int applySyncTransaction(@NonNull android.window.WindowContainerTransaction, @NonNull android.window.WindowContainerTransactionCallback);
4158*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void applyTransaction(@NonNull android.window.WindowContainerTransaction);
4159*344a7f5eSAndroid Build Coastguard Worker  }
4160*344a7f5eSAndroid Build Coastguard Worker
4161*344a7f5eSAndroid Build Coastguard Worker  @UiContext public abstract class WindowProviderService extends android.app.Service {
4162*344a7f5eSAndroid Build Coastguard Worker    ctor public WindowProviderService();
4163*344a7f5eSAndroid Build Coastguard Worker    method public final void attachToWindowToken(@NonNull android.os.IBinder);
4164*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public int getInitialDisplayId();
4165*344a7f5eSAndroid Build Coastguard Worker    method @CallSuper @Nullable public android.os.Bundle getWindowContextOptions();
4166*344a7f5eSAndroid Build Coastguard Worker    method public abstract int getWindowType();
4167*344a7f5eSAndroid Build Coastguard Worker  }
4168*344a7f5eSAndroid Build Coastguard Worker
4169*344a7f5eSAndroid Build Coastguard Worker}
4170*344a7f5eSAndroid Build Coastguard Worker
4171