xref: /aosp_15_r20/prebuilts/sdk/31/test/api/android.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 APPROVE_INCIDENT_REPORTS = "android.permission.APPROVE_INCIDENT_REPORTS";
8*344a7f5eSAndroid Build Coastguard Worker    field public static final String BACKGROUND_CAMERA = "android.permission.BACKGROUND_CAMERA";
9*344a7f5eSAndroid Build Coastguard Worker    field public static final String BIND_CELL_BROADCAST_SERVICE = "android.permission.BIND_CELL_BROADCAST_SERVICE";
10*344a7f5eSAndroid Build Coastguard Worker    field public static final String BRIGHTNESS_SLIDER_USAGE = "android.permission.BRIGHTNESS_SLIDER_USAGE";
11*344a7f5eSAndroid Build Coastguard Worker    field public static final String BROADCAST_CLOSE_SYSTEM_DIALOGS = "android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS";
12*344a7f5eSAndroid Build Coastguard Worker    field public static final String CHANGE_APP_IDLE_STATE = "android.permission.CHANGE_APP_IDLE_STATE";
13*344a7f5eSAndroid Build Coastguard Worker    field public static final String CLEAR_APP_USER_DATA = "android.permission.CLEAR_APP_USER_DATA";
14*344a7f5eSAndroid Build Coastguard Worker    field public static final String CLEAR_FREEZE_PERIOD = "android.permission.CLEAR_FREEZE_PERIOD";
15*344a7f5eSAndroid Build Coastguard Worker    field public static final String CONFIGURE_DISPLAY_BRIGHTNESS = "android.permission.CONFIGURE_DISPLAY_BRIGHTNESS";
16*344a7f5eSAndroid Build Coastguard Worker    field public static final String CONTROL_DEVICE_LIGHTS = "android.permission.CONTROL_DEVICE_LIGHTS";
17*344a7f5eSAndroid Build Coastguard Worker    field public static final String CONTROL_DEVICE_STATE = "android.permission.CONTROL_DEVICE_STATE";
18*344a7f5eSAndroid Build Coastguard Worker    field public static final String FORCE_DEVICE_POLICY_MANAGER_LOGS = "android.permission.FORCE_DEVICE_POLICY_MANAGER_LOGS";
19*344a7f5eSAndroid Build Coastguard Worker    field public static final String FORCE_STOP_PACKAGES = "android.permission.FORCE_STOP_PACKAGES";
20*344a7f5eSAndroid Build Coastguard Worker    field public static final String INSTALL_TEST_ONLY_PACKAGE = "android.permission.INSTALL_TEST_ONLY_PACKAGE";
21*344a7f5eSAndroid Build Coastguard Worker    field public static final String KEEP_UNINSTALLED_PACKAGES = "android.permission.KEEP_UNINSTALLED_PACKAGES";
22*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String MANAGE_ACTIVITY_STACKS = "android.permission.MANAGE_ACTIVITY_STACKS";
23*344a7f5eSAndroid Build Coastguard Worker    field public static final String MANAGE_ACTIVITY_TASKS = "android.permission.MANAGE_ACTIVITY_TASKS";
24*344a7f5eSAndroid Build Coastguard Worker    field public static final String MANAGE_CRATES = "android.permission.MANAGE_CRATES";
25*344a7f5eSAndroid Build Coastguard Worker    field public static final String MANAGE_NOTIFICATION_LISTENERS = "android.permission.MANAGE_NOTIFICATION_LISTENERS";
26*344a7f5eSAndroid Build Coastguard Worker    field public static final String MANAGE_ROLLBACKS = "android.permission.MANAGE_ROLLBACKS";
27*344a7f5eSAndroid Build Coastguard Worker    field public static final String MANAGE_TOAST_RATE_LIMITING = "android.permission.MANAGE_TOAST_RATE_LIMITING";
28*344a7f5eSAndroid Build Coastguard Worker    field public static final String MODIFY_REFRESH_RATE_SWITCHING_TYPE = "android.permission.MODIFY_REFRESH_RATE_SWITCHING_TYPE";
29*344a7f5eSAndroid Build Coastguard Worker    field public static final String NETWORK_SETTINGS = "android.permission.NETWORK_SETTINGS";
30*344a7f5eSAndroid Build Coastguard Worker    field public static final String NETWORK_STACK = "android.permission.NETWORK_STACK";
31*344a7f5eSAndroid Build Coastguard Worker    field public static final String OVERRIDE_DISPLAY_MODE_REQUESTS = "android.permission.OVERRIDE_DISPLAY_MODE_REQUESTS";
32*344a7f5eSAndroid Build Coastguard Worker    field public static final String QUERY_AUDIO_STATE = "android.permission.QUERY_AUDIO_STATE";
33*344a7f5eSAndroid Build Coastguard Worker    field public static final String READ_CELL_BROADCASTS = "android.permission.READ_CELL_BROADCASTS";
34*344a7f5eSAndroid Build Coastguard Worker    field public static final String READ_PRIVILEGED_PHONE_STATE = "android.permission.READ_PRIVILEGED_PHONE_STATE";
35*344a7f5eSAndroid Build Coastguard Worker    field public static final String RECORD_BACKGROUND_AUDIO = "android.permission.RECORD_BACKGROUND_AUDIO";
36*344a7f5eSAndroid Build Coastguard Worker    field public static final String REMOVE_TASKS = "android.permission.REMOVE_TASKS";
37*344a7f5eSAndroid Build Coastguard Worker    field public static final String RESET_APP_ERRORS = "android.permission.RESET_APP_ERRORS";
38*344a7f5eSAndroid Build Coastguard Worker    field public static final String SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS = "android.permission.SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS";
39*344a7f5eSAndroid Build Coastguard Worker    field public static final String START_TASKS_FROM_RECENTS = "android.permission.START_TASKS_FROM_RECENTS";
40*344a7f5eSAndroid Build Coastguard Worker    field public static final String SUSPEND_APPS = "android.permission.SUSPEND_APPS";
41*344a7f5eSAndroid Build Coastguard Worker    field public static final String TEST_BIOMETRIC = "android.permission.TEST_BIOMETRIC";
42*344a7f5eSAndroid Build Coastguard Worker    field public static final String TEST_MANAGE_ROLLBACKS = "android.permission.TEST_MANAGE_ROLLBACKS";
43*344a7f5eSAndroid Build Coastguard Worker    field public static final String UPGRADE_RUNTIME_PERMISSIONS = "android.permission.UPGRADE_RUNTIME_PERMISSIONS";
44*344a7f5eSAndroid Build Coastguard Worker    field public static final String WRITE_DEVICE_CONFIG = "android.permission.WRITE_DEVICE_CONFIG";
45*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String WRITE_MEDIA_STORAGE = "android.permission.WRITE_MEDIA_STORAGE";
46*344a7f5eSAndroid Build Coastguard Worker    field public static final String WRITE_OBB = "android.permission.WRITE_OBB";
47*344a7f5eSAndroid Build Coastguard Worker  }
48*344a7f5eSAndroid Build Coastguard Worker
49*344a7f5eSAndroid Build Coastguard Worker  public static final class Manifest.permission_group {
50*344a7f5eSAndroid Build Coastguard Worker    field public static final String UNDEFINED = "android.permission-group.UNDEFINED";
51*344a7f5eSAndroid Build Coastguard Worker  }
52*344a7f5eSAndroid Build Coastguard Worker
53*344a7f5eSAndroid Build Coastguard Worker  public static final class R.attr {
54*344a7f5eSAndroid Build Coastguard Worker    field public static final int requestForegroundServiceExemption = 16844362; // 0x101064a
55*344a7f5eSAndroid Build Coastguard Worker  }
56*344a7f5eSAndroid Build Coastguard Worker
57*344a7f5eSAndroid Build Coastguard Worker  public static final class R.bool {
58*344a7f5eSAndroid Build Coastguard Worker    field public static final int config_assistantOnTopOfDream = 17891333; // 0x1110005
59*344a7f5eSAndroid Build Coastguard Worker    field public static final int config_perDisplayFocusEnabled = 17891332; // 0x1110004
60*344a7f5eSAndroid Build Coastguard Worker    field public static final int config_remoteInsetsControllerControlsSystemBars = 17891334; // 0x1110006
61*344a7f5eSAndroid Build Coastguard Worker  }
62*344a7f5eSAndroid Build Coastguard Worker
63*344a7f5eSAndroid Build Coastguard Worker  public static final class R.string {
64*344a7f5eSAndroid Build Coastguard Worker    field public static final int config_defaultAssistant = 17039393; // 0x1040021
65*344a7f5eSAndroid Build Coastguard Worker    field public static final int config_defaultDialer = 17039395; // 0x1040023
66*344a7f5eSAndroid Build Coastguard Worker    field public static final int config_systemAutomotiveCluster = 17039400; // 0x1040028
67*344a7f5eSAndroid Build Coastguard Worker    field public static final int config_systemAutomotiveProjection = 17039401; // 0x1040029
68*344a7f5eSAndroid Build Coastguard Worker    field public static final int config_systemGallery = 17039399; // 0x1040027
69*344a7f5eSAndroid Build Coastguard Worker  }
70*344a7f5eSAndroid Build Coastguard Worker
71*344a7f5eSAndroid Build Coastguard Worker}
72*344a7f5eSAndroid Build Coastguard Worker
73*344a7f5eSAndroid Build Coastguard Workerpackage android.accessibilityservice {
74*344a7f5eSAndroid Build Coastguard Worker
75*344a7f5eSAndroid Build Coastguard Worker  public final class AccessibilityGestureEvent implements android.os.Parcelable {
76*344a7f5eSAndroid Build Coastguard Worker    ctor public AccessibilityGestureEvent(int, int);
77*344a7f5eSAndroid Build Coastguard Worker  }
78*344a7f5eSAndroid Build Coastguard Worker
79*344a7f5eSAndroid Build Coastguard Worker  public abstract class AccessibilityService extends android.app.Service {
80*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACCESSIBILITY_TAKE_SCREENSHOT_REQUEST_INTERVAL_TIMES_MS = 333; // 0x14d
81*344a7f5eSAndroid Build Coastguard Worker  }
82*344a7f5eSAndroid Build Coastguard Worker
83*344a7f5eSAndroid Build Coastguard Worker  public class AccessibilityServiceInfo implements android.os.Parcelable {
84*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.content.ComponentName getComponentName();
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.animation {
90*344a7f5eSAndroid Build Coastguard Worker
91*344a7f5eSAndroid Build Coastguard Worker  public class ValueAnimator extends android.animation.Animator {
92*344a7f5eSAndroid Build Coastguard Worker    method public static float getDurationScale();
93*344a7f5eSAndroid Build Coastguard Worker    method public static void setDurationScale(float);
94*344a7f5eSAndroid Build Coastguard Worker  }
95*344a7f5eSAndroid Build Coastguard Worker
96*344a7f5eSAndroid Build Coastguard Worker}
97*344a7f5eSAndroid Build Coastguard Worker
98*344a7f5eSAndroid Build Coastguard Workerpackage android.app {
99*344a7f5eSAndroid Build Coastguard Worker
100*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 {
101*344a7f5eSAndroid Build Coastguard Worker    method public void onMovedToDisplay(int, android.content.res.Configuration);
102*344a7f5eSAndroid Build Coastguard Worker  }
103*344a7f5eSAndroid Build Coastguard Worker
104*344a7f5eSAndroid Build Coastguard Worker  public class ActivityManager {
105*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER) public void addHomeVisibilityListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.HomeVisibilityListener);
106*344a7f5eSAndroid Build Coastguard Worker    method public void alwaysShowUnsupportedCompileSdkWarning(android.content.ComponentName);
107*344a7f5eSAndroid Build Coastguard Worker    method public long getTotalRam();
108*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getUidProcessCapabilities(int);
109*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getUidProcessState(int);
110*344a7f5eSAndroid Build Coastguard Worker    method public void holdLock(android.os.IBinder, int);
111*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isHighEndGfx();
112*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER) public void removeHomeVisibilityListener(@NonNull android.app.HomeVisibilityListener);
113*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.RESET_APP_ERRORS) public void resetAppErrors();
114*344a7f5eSAndroid Build Coastguard Worker    method public static void resumeAppSwitches() throws android.os.RemoteException;
115*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.CHANGE_CONFIGURATION) public void scheduleApplicationInfoChanged(java.util.List<java.lang.String>, int);
116*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public boolean stopUser(int, boolean);
117*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.CHANGE_CONFIGURATION) public boolean updateMccMncConfiguration(@NonNull String, @NonNull String);
118*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.DUMP) public void waitForBroadcastIdle();
119*344a7f5eSAndroid Build Coastguard Worker    field public static final long LOCK_DOWN_CLOSE_SYSTEM_DIALOGS = 174664365L; // 0xa692aadL
120*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROCESS_CAPABILITY_ALL = 15; // 0xf
121*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROCESS_CAPABILITY_ALL_EXPLICIT = 1; // 0x1
122*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROCESS_CAPABILITY_ALL_IMPLICIT = 6; // 0x6
123*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROCESS_CAPABILITY_FOREGROUND_CAMERA = 2; // 0x2
124*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROCESS_CAPABILITY_FOREGROUND_LOCATION = 1; // 0x1
125*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROCESS_CAPABILITY_FOREGROUND_MICROPHONE = 4; // 0x4
126*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROCESS_CAPABILITY_NETWORK = 8; // 0x8
127*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROCESS_CAPABILITY_NONE = 0; // 0x0
128*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROCESS_STATE_FOREGROUND_SERVICE = 4; // 0x4
129*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROCESS_STATE_TOP = 2; // 0x2
130*344a7f5eSAndroid Build Coastguard Worker  }
131*344a7f5eSAndroid Build Coastguard Worker
132*344a7f5eSAndroid Build Coastguard Worker  public static class ActivityManager.RunningAppProcessInfo implements android.os.Parcelable {
133*344a7f5eSAndroid Build Coastguard Worker    field public static final int IMPORTANCE_CANT_SAVE_STATE_PRE_26 = 170; // 0xaa
134*344a7f5eSAndroid Build Coastguard Worker  }
135*344a7f5eSAndroid Build Coastguard Worker
136*344a7f5eSAndroid Build Coastguard Worker  public static class ActivityManager.TaskDescription implements android.os.Parcelable {
137*344a7f5eSAndroid Build Coastguard Worker    method public String getIconFilename();
138*344a7f5eSAndroid Build Coastguard Worker    method public int getIconResource();
139*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getIconResourcePackage();
140*344a7f5eSAndroid Build Coastguard Worker  }
141*344a7f5eSAndroid Build Coastguard Worker
142*344a7f5eSAndroid Build Coastguard Worker  public class ActivityOptions {
143*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.app.ActivityOptions makeCustomAnimation(@NonNull android.content.Context, int, int, @Nullable android.os.Handler, @Nullable android.app.ActivityOptions.OnAnimationStartedListener, @Nullable android.app.ActivityOptions.OnAnimationFinishedListener);
144*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);
145*344a7f5eSAndroid Build Coastguard Worker    method public static void setExitTransitionTimeout(long);
146*344a7f5eSAndroid Build Coastguard Worker    method public void setLaunchActivityType(int);
147*344a7f5eSAndroid Build Coastguard Worker    method public void setLaunchTaskId(int);
148*344a7f5eSAndroid Build Coastguard Worker    method public void setLaunchWindowingMode(int);
149*344a7f5eSAndroid Build Coastguard Worker    method public void setLaunchedFromBubble(boolean);
150*344a7f5eSAndroid Build Coastguard Worker    method public void setTaskAlwaysOnTop(boolean);
151*344a7f5eSAndroid Build Coastguard Worker    method public void setTaskOverlay(boolean, boolean);
152*344a7f5eSAndroid Build Coastguard Worker  }
153*344a7f5eSAndroid Build Coastguard Worker
154*344a7f5eSAndroid Build Coastguard Worker  public static interface ActivityOptions.OnAnimationFinishedListener {
155*344a7f5eSAndroid Build Coastguard Worker    method public void onAnimationFinished();
156*344a7f5eSAndroid Build Coastguard Worker  }
157*344a7f5eSAndroid Build Coastguard Worker
158*344a7f5eSAndroid Build Coastguard Worker  public static interface ActivityOptions.OnAnimationStartedListener {
159*344a7f5eSAndroid Build Coastguard Worker    method public void onAnimationStarted();
160*344a7f5eSAndroid Build Coastguard Worker  }
161*344a7f5eSAndroid Build Coastguard Worker
162*344a7f5eSAndroid Build Coastguard Worker  public class ActivityTaskManager {
163*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void clearLaunchParamsForPackages(java.util.List<java.lang.String>);
164*344a7f5eSAndroid Build Coastguard Worker    method public static boolean currentUiModeSupportsErrorDialogs(@NonNull android.content.Context);
165*344a7f5eSAndroid Build Coastguard Worker    method public static int getMaxNumPictureInPictureActions(@NonNull android.content.Context);
166*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void moveTaskToRootTask(int, int, boolean);
167*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void removeRootTasksInWindowingModes(@NonNull int[]);
168*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void removeRootTasksWithActivityTypes(@NonNull int[]);
169*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public boolean removeTask(int);
170*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void resizeTask(int, android.graphics.Rect);
171*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void startSystemLockTaskMode(int);
172*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void stopSystemLockTaskMode();
173*344a7f5eSAndroid Build Coastguard Worker    method public static boolean supportsMultiWindow(android.content.Context);
174*344a7f5eSAndroid Build Coastguard Worker    method public static boolean supportsSplitScreenMultiWindow(android.content.Context);
175*344a7f5eSAndroid Build Coastguard Worker    field public static final int DEFAULT_MINIMAL_SPLIT_SCREEN_DISPLAY_SIZE_DP = 440; // 0x1b8
176*344a7f5eSAndroid Build Coastguard Worker    field public static final int INVALID_STACK_ID = -1; // 0xffffffff
177*344a7f5eSAndroid Build Coastguard Worker  }
178*344a7f5eSAndroid Build Coastguard Worker
179*344a7f5eSAndroid Build Coastguard Worker  public class AlarmManager {
180*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasScheduleExactAlarm(@NonNull String, int);
181*344a7f5eSAndroid Build Coastguard Worker  }
182*344a7f5eSAndroid Build Coastguard Worker
183*344a7f5eSAndroid Build Coastguard Worker  public class AppDetailsActivity extends android.app.Activity {
184*344a7f5eSAndroid Build Coastguard Worker    ctor public AppDetailsActivity();
185*344a7f5eSAndroid Build Coastguard Worker  }
186*344a7f5eSAndroid Build Coastguard Worker
187*344a7f5eSAndroid Build Coastguard Worker  public class AppOpsManager {
188*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void addHistoricalOps(@NonNull android.app.AppOpsManager.HistoricalOps);
189*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void clearHistory();
190*344a7f5eSAndroid Build Coastguard Worker    method public static void collectNotedOpSync(@NonNull android.app.SyncNotedAppOp);
191*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>);
192*344a7f5eSAndroid Build Coastguard Worker    method public static int getNumOps();
193*344a7f5eSAndroid Build Coastguard Worker    method public boolean isOperationActive(int, int, String);
194*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void offsetHistory(long);
195*344a7f5eSAndroid Build Coastguard Worker    method public static String opToPermission(int);
196*344a7f5eSAndroid Build Coastguard Worker    method public static int permissionToOpCode(String);
197*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void rebootHistory(long);
198*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void reloadNonHistoricalState();
199*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void resetHistoryParameters();
200*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void resetPackageOpsNoHistory(@NonNull String);
201*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void setHistoryParameters(int, long, int);
202*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_APP_OPS_MODES") public void setMode(int, int, String, int);
203*344a7f5eSAndroid Build Coastguard Worker    method public static int strOpToOp(@NonNull String);
204*344a7f5eSAndroid Build Coastguard Worker    field public static final int ATTRIBUTION_CHAIN_ID_NONE = -1; // 0xffffffff
205*344a7f5eSAndroid Build Coastguard Worker    field public static final int ATTRIBUTION_FLAGS_NONE = 0; // 0x0
206*344a7f5eSAndroid Build Coastguard Worker    field public static final int ATTRIBUTION_FLAG_ACCESSOR = 1; // 0x1
207*344a7f5eSAndroid Build Coastguard Worker    field public static final int ATTRIBUTION_FLAG_INTERMEDIARY = 2; // 0x2
208*344a7f5eSAndroid Build Coastguard Worker    field public static final int ATTRIBUTION_FLAG_RECEIVER = 4; // 0x4
209*344a7f5eSAndroid Build Coastguard Worker    field public static final int HISTORICAL_MODE_DISABLED = 0; // 0x0
210*344a7f5eSAndroid Build Coastguard Worker    field public static final int HISTORICAL_MODE_ENABLED_ACTIVE = 1; // 0x1
211*344a7f5eSAndroid Build Coastguard Worker    field public static final int HISTORICAL_MODE_ENABLED_PASSIVE = 2; // 0x2
212*344a7f5eSAndroid Build Coastguard Worker    field public static final int HISTORY_FLAGS_ALL = 3; // 0x3
213*344a7f5eSAndroid Build Coastguard Worker    field public static final int HISTORY_FLAG_AGGREGATE = 1; // 0x1
214*344a7f5eSAndroid Build Coastguard Worker    field public static final int HISTORY_FLAG_DISCRETE = 2; // 0x2
215*344a7f5eSAndroid Build Coastguard Worker    field public static final String KEY_BG_STATE_SETTLE_TIME = "bg_state_settle_time";
216*344a7f5eSAndroid Build Coastguard Worker    field public static final String KEY_FG_SERVICE_STATE_SETTLE_TIME = "fg_service_state_settle_time";
217*344a7f5eSAndroid Build Coastguard Worker    field public static final String KEY_TOP_STATE_SETTLE_TIME = "top_state_settle_time";
218*344a7f5eSAndroid Build Coastguard Worker    field public static final String OPSTR_ACTIVITY_RECOGNITION = "android:activity_recognition";
219*344a7f5eSAndroid Build Coastguard Worker    field public static final String OPSTR_ACTIVITY_RECOGNITION_SOURCE = "android:activity_recognition_source";
220*344a7f5eSAndroid Build Coastguard Worker    field public static final String OPSTR_MANAGE_ONGOING_CALLS = "android:manage_ongoing_calls";
221*344a7f5eSAndroid Build Coastguard Worker    field public static final String OPSTR_RECORD_AUDIO_HOTWORD = "android:record_audio_hotword";
222*344a7f5eSAndroid Build Coastguard Worker    field public static final String OPSTR_USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER = "android:use_icc_auth_with_device_identifier";
223*344a7f5eSAndroid Build Coastguard Worker    field public static final int OP_COARSE_LOCATION = 0; // 0x0
224*344a7f5eSAndroid Build Coastguard Worker    field public static final int OP_RECORD_AUDIO = 27; // 0x1b
225*344a7f5eSAndroid Build Coastguard Worker    field public static final int OP_START_FOREGROUND = 76; // 0x4c
226*344a7f5eSAndroid Build Coastguard Worker    field public static final int OP_SYSTEM_ALERT_WINDOW = 24; // 0x18
227*344a7f5eSAndroid Build Coastguard Worker    field public static final long SECURITY_EXCEPTION_ON_INVALID_ATTRIBUTION_TAG_CHANGE = 151105954L; // 0x901b1a2L
228*344a7f5eSAndroid Build Coastguard Worker  }
229*344a7f5eSAndroid Build Coastguard Worker
230*344a7f5eSAndroid Build Coastguard Worker  public static final class AppOpsManager.HistoricalOps implements android.os.Parcelable {
231*344a7f5eSAndroid Build Coastguard Worker    ctor public AppOpsManager.HistoricalOps(long, long);
232*344a7f5eSAndroid Build Coastguard Worker    method public void addDiscreteAccess(int, int, @NonNull String, @Nullable String, int, int, long, long);
233*344a7f5eSAndroid Build Coastguard Worker    method public void increaseAccessCount(int, int, @NonNull String, @Nullable String, int, int, long);
234*344a7f5eSAndroid Build Coastguard Worker    method public void increaseAccessDuration(int, int, @NonNull String, @Nullable String, int, int, long);
235*344a7f5eSAndroid Build Coastguard Worker    method public void increaseRejectCount(int, int, @NonNull String, @Nullable String, int, int, long);
236*344a7f5eSAndroid Build Coastguard Worker    method public void offsetBeginAndEndTime(long);
237*344a7f5eSAndroid Build Coastguard Worker  }
238*344a7f5eSAndroid Build Coastguard Worker
239*344a7f5eSAndroid Build Coastguard Worker  public static interface AppOpsManager.OnOpActiveChangedListener {
240*344a7f5eSAndroid Build Coastguard Worker    method public default void onOpActiveChanged(@NonNull String, int, @NonNull String, @Nullable String, boolean, int, int);
241*344a7f5eSAndroid Build Coastguard Worker  }
242*344a7f5eSAndroid Build Coastguard Worker
243*344a7f5eSAndroid Build Coastguard Worker  public class BroadcastOptions {
244*344a7f5eSAndroid Build Coastguard Worker    ctor public BroadcastOptions(@NonNull android.os.Bundle);
245*344a7f5eSAndroid Build Coastguard Worker    method public int getMaxManifestReceiverApiLevel();
246*344a7f5eSAndroid Build Coastguard Worker    method public long getTemporaryAppAllowlistDuration();
247*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getTemporaryAppAllowlistReason();
248*344a7f5eSAndroid Build Coastguard Worker    method public int getTemporaryAppAllowlistReasonCode();
249*344a7f5eSAndroid Build Coastguard Worker    method public int getTemporaryAppAllowlistType();
250*344a7f5eSAndroid Build Coastguard Worker    method public void setMaxManifestReceiverApiLevel(int);
251*344a7f5eSAndroid Build Coastguard Worker  }
252*344a7f5eSAndroid Build Coastguard Worker
253*344a7f5eSAndroid Build Coastguard Worker  public class DownloadManager {
254*344a7f5eSAndroid Build Coastguard Worker    field public static final String COLUMN_MEDIASTORE_URI = "mediastore_uri";
255*344a7f5eSAndroid Build Coastguard Worker  }
256*344a7f5eSAndroid Build Coastguard Worker
257*344a7f5eSAndroid Build Coastguard Worker  public class DreamManager {
258*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isDreaming();
259*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.WRITE_DREAM_STATE) public void setActiveDream(@NonNull android.content.ComponentName);
260*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.WRITE_DREAM_STATE) public void startDream(@NonNull android.content.ComponentName);
261*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.WRITE_DREAM_STATE) public void stopDream();
262*344a7f5eSAndroid Build Coastguard Worker  }
263*344a7f5eSAndroid Build Coastguard Worker
264*344a7f5eSAndroid Build Coastguard Worker  public final class GameManager {
265*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_GAME_MODE") public void setGameMode(@NonNull String, int);
266*344a7f5eSAndroid Build Coastguard Worker  }
267*344a7f5eSAndroid Build Coastguard Worker
268*344a7f5eSAndroid Build Coastguard Worker  public abstract class HomeVisibilityListener {
269*344a7f5eSAndroid Build Coastguard Worker    ctor public HomeVisibilityListener();
270*344a7f5eSAndroid Build Coastguard Worker    method public abstract void onHomeVisibilityChanged(boolean);
271*344a7f5eSAndroid Build Coastguard Worker  }
272*344a7f5eSAndroid Build Coastguard Worker
273*344a7f5eSAndroid Build Coastguard Worker  public class KeyguardManager {
274*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[]);
275*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[]);
276*344a7f5eSAndroid Build Coastguard Worker  }
277*344a7f5eSAndroid Build Coastguard Worker
278*344a7f5eSAndroid Build Coastguard Worker  public class Notification implements android.os.Parcelable {
279*344a7f5eSAndroid Build Coastguard Worker    method public boolean shouldShowForegroundImmediately();
280*344a7f5eSAndroid Build Coastguard Worker  }
281*344a7f5eSAndroid Build Coastguard Worker
282*344a7f5eSAndroid Build Coastguard Worker  public final class NotificationChannel implements android.os.Parcelable {
283*344a7f5eSAndroid Build Coastguard Worker    method public int getOriginalImportance();
284*344a7f5eSAndroid Build Coastguard Worker    method public boolean isBlockable();
285*344a7f5eSAndroid Build Coastguard Worker    method public boolean isImportanceLockedByCriticalDeviceFunction();
286*344a7f5eSAndroid Build Coastguard Worker    method public boolean isImportanceLockedByOEM();
287*344a7f5eSAndroid Build Coastguard Worker    method public void lockFields(int);
288*344a7f5eSAndroid Build Coastguard Worker    method public void setDeleted(boolean);
289*344a7f5eSAndroid Build Coastguard Worker    method public void setDeletedTimeMs(long);
290*344a7f5eSAndroid Build Coastguard Worker    method public void setDemoted(boolean);
291*344a7f5eSAndroid Build Coastguard Worker    method public void setFgServiceShown(boolean);
292*344a7f5eSAndroid Build Coastguard Worker    method public void setImportanceLockedByCriticalDeviceFunction(boolean);
293*344a7f5eSAndroid Build Coastguard Worker    method public void setImportanceLockedByOEM(boolean);
294*344a7f5eSAndroid Build Coastguard Worker    method public void setImportantConversation(boolean);
295*344a7f5eSAndroid Build Coastguard Worker    method public void setOriginalImportance(int);
296*344a7f5eSAndroid Build Coastguard Worker  }
297*344a7f5eSAndroid Build Coastguard Worker
298*344a7f5eSAndroid Build Coastguard Worker  public final class NotificationChannelGroup implements android.os.Parcelable {
299*344a7f5eSAndroid Build Coastguard Worker    method public int getUserLockedFields();
300*344a7f5eSAndroid Build Coastguard Worker    method public void lockFields(int);
301*344a7f5eSAndroid Build Coastguard Worker    method public void setBlocked(boolean);
302*344a7f5eSAndroid Build Coastguard Worker  }
303*344a7f5eSAndroid Build Coastguard Worker
304*344a7f5eSAndroid Build Coastguard Worker  public class NotificationManager {
305*344a7f5eSAndroid Build Coastguard Worker    method public void allowAssistantAdjustment(String);
306*344a7f5eSAndroid Build Coastguard Worker    method public void disallowAssistantAdjustment(String);
307*344a7f5eSAndroid Build Coastguard Worker    method public android.content.ComponentName getEffectsSuppressor();
308*344a7f5eSAndroid Build Coastguard Worker    method public boolean isNotificationPolicyAccessGrantedForPackage(@NonNull String);
309*344a7f5eSAndroid Build Coastguard Worker    method public boolean matchesCallFilter(android.os.Bundle);
310*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_NOTIFICATION_LISTENERS) public void setNotificationListenerAccessGranted(@NonNull android.content.ComponentName, boolean, boolean);
311*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_TOAST_RATE_LIMITING) public void setToastRateLimitingEnabled(boolean);
312*344a7f5eSAndroid Build Coastguard Worker    method public void updateNotificationChannel(@NonNull String, int, @NonNull android.app.NotificationChannel);
313*344a7f5eSAndroid Build Coastguard Worker  }
314*344a7f5eSAndroid Build Coastguard Worker
315*344a7f5eSAndroid Build Coastguard Worker  public final class PendingIntent implements android.os.Parcelable {
316*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.GET_INTENT_SENDER_INTENT") public boolean intentFilterEquals(@Nullable android.app.PendingIntent);
317*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission("android.permission.GET_INTENT_SENDER_INTENT") public java.util.List<android.content.pm.ResolveInfo> queryIntentComponents(int);
318*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int FLAG_MUTABLE_UNAUDITED = 33554432; // 0x2000000
319*344a7f5eSAndroid Build Coastguard Worker  }
320*344a7f5eSAndroid Build Coastguard Worker
321*344a7f5eSAndroid Build Coastguard Worker  public final class PictureInPictureParams implements android.os.Parcelable {
322*344a7f5eSAndroid Build Coastguard Worker    method public java.util.List<android.app.RemoteAction> getActions();
323*344a7f5eSAndroid Build Coastguard Worker    method public float getAspectRatio();
324*344a7f5eSAndroid Build Coastguard Worker    method public android.graphics.Rect getSourceRectHint();
325*344a7f5eSAndroid Build Coastguard Worker    method public boolean isSeamlessResizeEnabled();
326*344a7f5eSAndroid Build Coastguard Worker  }
327*344a7f5eSAndroid Build Coastguard Worker
328*344a7f5eSAndroid Build Coastguard Worker  public final class PictureInPictureUiState implements android.os.Parcelable {
329*344a7f5eSAndroid Build Coastguard Worker    ctor public PictureInPictureUiState(boolean);
330*344a7f5eSAndroid Build Coastguard Worker  }
331*344a7f5eSAndroid Build Coastguard Worker
332*344a7f5eSAndroid Build Coastguard Worker  public class StatusBarManager {
333*344a7f5eSAndroid Build Coastguard Worker    method public void clickNotification(@Nullable String, int, int, boolean);
334*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void collapsePanels();
335*344a7f5eSAndroid Build Coastguard Worker    method public void expandNotificationsPanel();
336*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void handleSystemKey(int);
337*344a7f5eSAndroid Build Coastguard Worker    method public void sendNotificationFeedback(@Nullable String, @Nullable android.os.Bundle);
338*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setExpansionDisabledForSimNetworkLock(boolean);
339*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void togglePanel();
340*344a7f5eSAndroid Build Coastguard Worker  }
341*344a7f5eSAndroid Build Coastguard Worker
342*344a7f5eSAndroid Build Coastguard Worker  public final class SyncNotedAppOp implements android.os.Parcelable {
343*344a7f5eSAndroid Build Coastguard Worker    ctor public SyncNotedAppOp(int, @IntRange(from=0L) int, @Nullable String, @NonNull String);
344*344a7f5eSAndroid Build Coastguard Worker  }
345*344a7f5eSAndroid Build Coastguard Worker
346*344a7f5eSAndroid Build Coastguard Worker  public class TaskInfo {
347*344a7f5eSAndroid Build Coastguard Worker    method public boolean containsLaunchCookie(@NonNull android.os.IBinder);
348*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.content.res.Configuration getConfiguration();
349*344a7f5eSAndroid Build Coastguard Worker    method public int getParentTaskId();
350*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.app.PictureInPictureParams getPictureInPictureParams();
351*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerToken getToken();
352*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasParentTask();
353*344a7f5eSAndroid Build Coastguard Worker  }
354*344a7f5eSAndroid Build Coastguard Worker
355*344a7f5eSAndroid Build Coastguard Worker  public class TimePickerDialog extends android.app.AlertDialog implements android.content.DialogInterface.OnClickListener android.widget.TimePicker.OnTimeChangedListener {
356*344a7f5eSAndroid Build Coastguard Worker    method public android.widget.TimePicker getTimePicker();
357*344a7f5eSAndroid Build Coastguard Worker  }
358*344a7f5eSAndroid Build Coastguard Worker
359*344a7f5eSAndroid Build Coastguard Worker  public final class UiAutomation {
360*344a7f5eSAndroid Build Coastguard Worker    method public void destroy();
361*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.ParcelFileDescriptor[] executeShellCommandRwe(@NonNull String);
362*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Set<java.lang.String> getAdoptedShellPermissions();
363*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean grantRuntimePermission(String, String, android.os.UserHandle);
364*344a7f5eSAndroid Build Coastguard Worker    method public boolean injectInputEvent(@NonNull android.view.InputEvent, boolean, boolean);
365*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean revokeRuntimePermission(String, String, android.os.UserHandle);
366*344a7f5eSAndroid Build Coastguard Worker    method public void syncInputTransactions();
367*344a7f5eSAndroid Build Coastguard Worker    method public void syncInputTransactions(boolean);
368*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.graphics.Bitmap takeScreenshot(@NonNull android.view.Window);
369*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final java.util.Set<java.lang.String> ALL_PERMISSIONS;
370*344a7f5eSAndroid Build Coastguard Worker  }
371*344a7f5eSAndroid Build Coastguard Worker
372*344a7f5eSAndroid Build Coastguard Worker  public class UiModeManager {
373*344a7f5eSAndroid Build Coastguard Worker    method public boolean isNightModeLocked();
374*344a7f5eSAndroid Build Coastguard Worker    method public boolean isUiModeLocked();
375*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(value=android.Manifest.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean releaseProjection(int);
376*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(value=android.Manifest.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean requestProjection(int);
377*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROJECTION_TYPE_ALL = -1; // 0xffffffff
378*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROJECTION_TYPE_AUTOMOTIVE = 1; // 0x1
379*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROJECTION_TYPE_NONE = 0; // 0x0
380*344a7f5eSAndroid Build Coastguard Worker  }
381*344a7f5eSAndroid Build Coastguard Worker
382*344a7f5eSAndroid Build Coastguard Worker  public class WallpaperManager {
383*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.graphics.Bitmap getBitmap();
384*344a7f5eSAndroid Build Coastguard Worker    method public boolean shouldEnableWideColorGamut();
385*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.READ_EXTERNAL_STORAGE) public boolean wallpaperSupportsWcg(int);
386*344a7f5eSAndroid Build Coastguard Worker  }
387*344a7f5eSAndroid Build Coastguard Worker
388*344a7f5eSAndroid Build Coastguard Worker  public class WindowConfiguration implements java.lang.Comparable<android.app.WindowConfiguration> android.os.Parcelable {
389*344a7f5eSAndroid Build Coastguard Worker    ctor public WindowConfiguration();
390*344a7f5eSAndroid Build Coastguard Worker    method public int compareTo(android.app.WindowConfiguration);
391*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
392*344a7f5eSAndroid Build Coastguard Worker    method public int getActivityType();
393*344a7f5eSAndroid Build Coastguard Worker    method public android.graphics.Rect getAppBounds();
394*344a7f5eSAndroid Build Coastguard Worker    method public android.graphics.Rect getBounds();
395*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.graphics.Rect getMaxBounds();
396*344a7f5eSAndroid Build Coastguard Worker    method public int getRotation();
397*344a7f5eSAndroid Build Coastguard Worker    method public int getWindowingMode();
398*344a7f5eSAndroid Build Coastguard Worker    method public void setActivityType(int);
399*344a7f5eSAndroid Build Coastguard Worker    method public void setAppBounds(android.graphics.Rect);
400*344a7f5eSAndroid Build Coastguard Worker    method public void setBounds(android.graphics.Rect);
401*344a7f5eSAndroid Build Coastguard Worker    method public void setMaxBounds(@Nullable android.graphics.Rect);
402*344a7f5eSAndroid Build Coastguard Worker    method public void setRotation(int);
403*344a7f5eSAndroid Build Coastguard Worker    method public void setTo(android.app.WindowConfiguration);
404*344a7f5eSAndroid Build Coastguard Worker    method public void setWindowingMode(int);
405*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(android.os.Parcel, int);
406*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACTIVITY_TYPE_ASSISTANT = 4; // 0x4
407*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACTIVITY_TYPE_DREAM = 5; // 0x5
408*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACTIVITY_TYPE_HOME = 2; // 0x2
409*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACTIVITY_TYPE_RECENTS = 3; // 0x3
410*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACTIVITY_TYPE_STANDARD = 1; // 0x1
411*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACTIVITY_TYPE_UNDEFINED = 0; // 0x0
412*344a7f5eSAndroid Build Coastguard Worker    field public static final int ROTATION_UNDEFINED = -1; // 0xffffffff
413*344a7f5eSAndroid Build Coastguard Worker    field public static final int WINDOWING_MODE_FREEFORM = 5; // 0x5
414*344a7f5eSAndroid Build Coastguard Worker    field public static final int WINDOWING_MODE_FULLSCREEN = 1; // 0x1
415*344a7f5eSAndroid Build Coastguard Worker    field public static final int WINDOWING_MODE_MULTI_WINDOW = 6; // 0x6
416*344a7f5eSAndroid Build Coastguard Worker    field public static final int WINDOWING_MODE_PINNED = 2; // 0x2
417*344a7f5eSAndroid Build Coastguard Worker    field public static final int WINDOWING_MODE_SPLIT_SCREEN_PRIMARY = 3; // 0x3
418*344a7f5eSAndroid Build Coastguard Worker    field public static final int WINDOWING_MODE_SPLIT_SCREEN_SECONDARY = 4; // 0x4
419*344a7f5eSAndroid Build Coastguard Worker    field public static final int WINDOWING_MODE_UNDEFINED = 0; // 0x0
420*344a7f5eSAndroid Build Coastguard Worker  }
421*344a7f5eSAndroid Build Coastguard Worker
422*344a7f5eSAndroid Build Coastguard Worker}
423*344a7f5eSAndroid Build Coastguard Worker
424*344a7f5eSAndroid Build Coastguard Workerpackage android.app.admin {
425*344a7f5eSAndroid Build Coastguard Worker
426*344a7f5eSAndroid Build Coastguard Worker  public class DevicePolicyManager {
427*344a7f5eSAndroid Build Coastguard Worker    method public int checkProvisioningPreCondition(@Nullable String, @NonNull String);
428*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.CLEAR_FREEZE_PERIOD) public void clearSystemUpdatePolicyFreezePeriodRecord();
429*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.os.UserHandle createAndProvisionManagedProfile(@NonNull android.app.admin.ManagedProfileProvisioningParams) throws android.app.admin.ProvisioningException;
430*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.FORCE_DEVICE_POLICY_MANAGER_LOGS) public long forceNetworkLogs();
431*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS") public void forceRemoveActiveAdmin(@NonNull android.content.ComponentName, int);
432*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.FORCE_DEVICE_POLICY_MANAGER_LOGS) public long forceSecurityLogs();
433*344a7f5eSAndroid Build Coastguard Worker    method public void forceUpdateUserSetupComplete(int);
434*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Set<java.lang.String> getDefaultCrossProfilePackages();
435*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Set<java.lang.String> getDisallowedSystemApps(@NonNull android.content.ComponentName, int, @NonNull String);
436*344a7f5eSAndroid Build Coastguard Worker    method public long getLastBugReportRequestTime();
437*344a7f5eSAndroid Build Coastguard Worker    method public long getLastNetworkLogRetrievalTime();
438*344a7f5eSAndroid Build Coastguard Worker    method public long getLastSecurityLogRetrievalTime();
439*344a7f5eSAndroid Build Coastguard Worker    method public java.util.List<java.lang.String> getOwnerInstalledCaCerts(@NonNull android.os.UserHandle);
440*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission("android.permission.MANAGE_DEVICE_ADMINS") public java.util.Set<java.lang.String> getPolicyExemptApps();
441*344a7f5eSAndroid Build Coastguard Worker    method public boolean isCurrentInputMethodSetByOwner();
442*344a7f5eSAndroid Build Coastguard Worker    method public boolean isFactoryResetProtectionPolicySupported();
443*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(anyOf={"android.permission.MARK_DEVICE_ORGANIZATION_OWNED", "android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS"}, conditional=true) public void markProfileOwnerOnOrganizationOwnedDevice(@NonNull android.content.ComponentName);
444*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static String operationSafetyReasonToString(int);
445*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static String operationToString(int);
446*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS") public void provisionFullyManagedDevice(@NonNull android.app.admin.FullyManagedDeviceProvisioningParams) throws android.app.admin.ProvisioningException;
447*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS") public void resetDefaultCrossProfileIntentFilters(int);
448*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(allOf={"android.permission.MANAGE_DEVICE_ADMINS", android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public void setActiveAdmin(@NonNull android.content.ComponentName, boolean, int);
449*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS") public boolean setDeviceOwner(@NonNull android.content.ComponentName, @Nullable String, int);
450*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.MANAGE_DEVICE_ADMINS") public void setNextOperationSafety(int, int);
451*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACTION_DATA_SHARING_RESTRICTION_APPLIED = "android.app.action.DATA_SHARING_RESTRICTION_APPLIED";
452*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACTION_DEVICE_POLICY_CONSTANTS_CHANGED = "android.app.action.DEVICE_POLICY_CONSTANTS_CHANGED";
453*344a7f5eSAndroid Build Coastguard Worker    field public static final int CODE_ACCOUNTS_NOT_EMPTY = 6; // 0x6
454*344a7f5eSAndroid Build Coastguard Worker    field public static final int CODE_CANNOT_ADD_MANAGED_PROFILE = 11; // 0xb
455*344a7f5eSAndroid Build Coastguard Worker    field public static final int CODE_DEVICE_ADMIN_NOT_SUPPORTED = 13; // 0xd
456*344a7f5eSAndroid Build Coastguard Worker    field public static final int CODE_HAS_DEVICE_OWNER = 1; // 0x1
457*344a7f5eSAndroid Build Coastguard Worker    field public static final int CODE_HAS_PAIRED = 8; // 0x8
458*344a7f5eSAndroid Build Coastguard Worker    field public static final int CODE_MANAGED_USERS_NOT_SUPPORTED = 9; // 0x9
459*344a7f5eSAndroid Build Coastguard Worker    field public static final int CODE_NONSYSTEM_USER_EXISTS = 5; // 0x5
460*344a7f5eSAndroid Build Coastguard Worker    field public static final int CODE_NOT_SYSTEM_USER = 7; // 0x7
461*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int CODE_NOT_SYSTEM_USER_SPLIT = 12; // 0xc
462*344a7f5eSAndroid Build Coastguard Worker    field public static final int CODE_OK = 0; // 0x0
463*344a7f5eSAndroid Build Coastguard Worker    field public static final int CODE_PROVISIONING_NOT_ALLOWED_FOR_NON_DEVELOPER_USERS = 15; // 0xf
464*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int CODE_SPLIT_SYSTEM_USER_DEVICE_SYSTEM_USER = 14; // 0xe
465*344a7f5eSAndroid Build Coastguard Worker    field public static final int CODE_SYSTEM_USER = 10; // 0xa
466*344a7f5eSAndroid Build Coastguard Worker    field public static final int CODE_USER_HAS_PROFILE_OWNER = 2; // 0x2
467*344a7f5eSAndroid Build Coastguard Worker    field public static final int CODE_USER_NOT_RUNNING = 3; // 0x3
468*344a7f5eSAndroid Build Coastguard Worker    field public static final int CODE_USER_SETUP_COMPLETED = 4; // 0x4
469*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_CLEAR_APPLICATION_USER_DATA = 23; // 0x17
470*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_CREATE_AND_MANAGE_USER = 5; // 0x5
471*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_INSTALL_CA_CERT = 24; // 0x18
472*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_INSTALL_KEY_PAIR = 25; // 0x19
473*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_INSTALL_SYSTEM_UPDATE = 26; // 0x1a
474*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_LOCK_NOW = 1; // 0x1
475*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_LOGOUT_USER = 9; // 0x9
476*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_REBOOT = 7; // 0x7
477*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_REMOVE_ACTIVE_ADMIN = 27; // 0x1b
478*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_REMOVE_KEY_PAIR = 28; // 0x1c
479*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_REMOVE_USER = 6; // 0x6
480*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_REQUEST_BUGREPORT = 29; // 0x1d
481*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SAFETY_REASON_NONE = -1; // 0xffffffff
482*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_ALWAYS_ON_VPN_PACKAGE = 30; // 0x1e
483*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_APPLICATION_HIDDEN = 15; // 0xf
484*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_APPLICATION_RESTRICTIONS = 16; // 0x10
485*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_CAMERA_DISABLED = 31; // 0x1f
486*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_FACTORY_RESET_PROTECTION_POLICY = 32; // 0x20
487*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_GLOBAL_PRIVATE_DNS = 33; // 0x21
488*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_KEEP_UNINSTALLED_PACKAGES = 17; // 0x11
489*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_KEYGUARD_DISABLED = 12; // 0xc
490*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_LOCK_TASK_FEATURES = 18; // 0x12
491*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_LOCK_TASK_PACKAGES = 19; // 0x13
492*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_LOGOUT_ENABLED = 34; // 0x22
493*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_MASTER_VOLUME_MUTED = 35; // 0x23
494*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_OVERRIDE_APNS_ENABLED = 36; // 0x24
495*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_PACKAGES_SUSPENDED = 20; // 0x14
496*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_PERMISSION_GRANT_STATE = 37; // 0x25
497*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_PERMISSION_POLICY = 38; // 0x26
498*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_RESTRICTIONS_PROVIDER = 39; // 0x27
499*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_STATUS_BAR_DISABLED = 13; // 0xd
500*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_SYSTEM_SETTING = 11; // 0xb
501*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_SYSTEM_UPDATE_POLICY = 14; // 0xe
502*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_TRUST_AGENT_CONFIGURATION = 21; // 0x15
503*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_USER_CONTROL_DISABLED_PACKAGES = 22; // 0x16
504*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SET_USER_RESTRICTION = 10; // 0xa
505*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_START_USER_IN_BACKGROUND = 3; // 0x3
506*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_STOP_USER = 4; // 0x4
507*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_SWITCH_USER = 2; // 0x2
508*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_UNINSTALL_CA_CERT = 40; // 0x28
509*344a7f5eSAndroid Build Coastguard Worker    field public static final int OPERATION_WIPE_DATA = 8; // 0x8
510*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROVISIONING_RESULT_ADMIN_PACKAGE_INSTALLATION_FAILED = 3; // 0x3
511*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROVISIONING_RESULT_PRE_CONDITION_FAILED = 1; // 0x1
512*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROVISIONING_RESULT_PROFILE_CREATION_FAILED = 2; // 0x2
513*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROVISIONING_RESULT_REMOVE_NON_REQUIRED_APPS_FAILED = 6; // 0x6
514*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROVISIONING_RESULT_SETTING_PROFILE_OWNER_FAILED = 4; // 0x4
515*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROVISIONING_RESULT_SET_DEVICE_OWNER_FAILED = 7; // 0x7
516*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROVISIONING_RESULT_STARTING_PROFILE_FAILED = 5; // 0x5
517*344a7f5eSAndroid Build Coastguard Worker  }
518*344a7f5eSAndroid Build Coastguard Worker
519*344a7f5eSAndroid Build Coastguard Worker  public final class FullyManagedDeviceProvisioningParams implements android.os.Parcelable {
520*344a7f5eSAndroid Build Coastguard Worker    method public boolean canDeviceOwnerGrantSensorsPermissions();
521*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
522*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.content.ComponentName getDeviceAdminComponentName();
523*344a7f5eSAndroid Build Coastguard Worker    method public long getLocalTime();
524*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public java.util.Locale getLocale();
525*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getOwnerName();
526*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getTimeZone();
527*344a7f5eSAndroid Build Coastguard Worker    method public boolean isLeaveAllSystemAppsEnabled();
528*344a7f5eSAndroid Build Coastguard Worker    method public void logParams(@NonNull String);
529*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, @Nullable int);
530*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.FullyManagedDeviceProvisioningParams> CREATOR;
531*344a7f5eSAndroid Build Coastguard Worker  }
532*344a7f5eSAndroid Build Coastguard Worker
533*344a7f5eSAndroid Build Coastguard Worker  public static final class FullyManagedDeviceProvisioningParams.Builder {
534*344a7f5eSAndroid Build Coastguard Worker    ctor public FullyManagedDeviceProvisioningParams.Builder(@NonNull android.content.ComponentName, @NonNull String);
535*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams build();
536*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setDeviceOwnerCanGrantSensorsPermissions(boolean);
537*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setLeaveAllSystemAppsEnabled(boolean);
538*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setLocalTime(long);
539*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setLocale(@Nullable java.util.Locale);
540*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.admin.FullyManagedDeviceProvisioningParams.Builder setTimeZone(@Nullable String);
541*344a7f5eSAndroid Build Coastguard Worker  }
542*344a7f5eSAndroid Build Coastguard Worker
543*344a7f5eSAndroid Build Coastguard Worker  public final class ManagedProfileProvisioningParams implements android.os.Parcelable {
544*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
545*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.accounts.Account getAccountToMigrate();
546*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getOwnerName();
547*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.content.ComponentName getProfileAdminComponentName();
548*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getProfileName();
549*344a7f5eSAndroid Build Coastguard Worker    method public boolean isKeepAccountMigrated();
550*344a7f5eSAndroid Build Coastguard Worker    method public boolean isLeaveAllSystemAppsEnabled();
551*344a7f5eSAndroid Build Coastguard Worker    method public boolean isOrganizationOwnedProvisioning();
552*344a7f5eSAndroid Build Coastguard Worker    method public void logParams(@NonNull String);
553*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, @Nullable int);
554*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.ManagedProfileProvisioningParams> CREATOR;
555*344a7f5eSAndroid Build Coastguard Worker  }
556*344a7f5eSAndroid Build Coastguard Worker
557*344a7f5eSAndroid Build Coastguard Worker  public static final class ManagedProfileProvisioningParams.Builder {
558*344a7f5eSAndroid Build Coastguard Worker    ctor public ManagedProfileProvisioningParams.Builder(@NonNull android.content.ComponentName, @NonNull String);
559*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.admin.ManagedProfileProvisioningParams build();
560*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.admin.ManagedProfileProvisioningParams.Builder setAccountToMigrate(@Nullable android.accounts.Account);
561*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.admin.ManagedProfileProvisioningParams.Builder setKeepAccountMigrated(boolean);
562*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.admin.ManagedProfileProvisioningParams.Builder setLeaveAllSystemAppsEnabled(boolean);
563*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.admin.ManagedProfileProvisioningParams.Builder setOrganizationOwnedProvisioning(boolean);
564*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.admin.ManagedProfileProvisioningParams.Builder setProfileName(@Nullable String);
565*344a7f5eSAndroid Build Coastguard Worker  }
566*344a7f5eSAndroid Build Coastguard Worker
567*344a7f5eSAndroid Build Coastguard Worker  public class ProvisioningException extends android.util.AndroidException {
568*344a7f5eSAndroid Build Coastguard Worker    ctor public ProvisioningException(@NonNull Exception, int);
569*344a7f5eSAndroid Build Coastguard Worker    method public int getProvisioningResult();
570*344a7f5eSAndroid Build Coastguard Worker  }
571*344a7f5eSAndroid Build Coastguard Worker
572*344a7f5eSAndroid Build Coastguard Worker  public static final class SecurityLog.SecurityEvent implements android.os.Parcelable {
573*344a7f5eSAndroid Build Coastguard Worker    ctor public SecurityLog.SecurityEvent(long, byte[]);
574*344a7f5eSAndroid Build Coastguard Worker  }
575*344a7f5eSAndroid Build Coastguard Worker
576*344a7f5eSAndroid Build Coastguard Worker  public final class UnsafeStateException extends java.lang.IllegalStateException implements android.os.Parcelable {
577*344a7f5eSAndroid Build Coastguard Worker    ctor public UnsafeStateException(int, int);
578*344a7f5eSAndroid Build Coastguard Worker    method public int getOperation();
579*344a7f5eSAndroid Build Coastguard Worker  }
580*344a7f5eSAndroid Build Coastguard Worker
581*344a7f5eSAndroid Build Coastguard Worker}
582*344a7f5eSAndroid Build Coastguard Worker
583*344a7f5eSAndroid Build Coastguard Workerpackage android.app.assist {
584*344a7f5eSAndroid Build Coastguard Worker
585*344a7f5eSAndroid Build Coastguard Worker  public class ActivityId {
586*344a7f5eSAndroid Build Coastguard Worker    method public int getTaskId();
587*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.os.IBinder getToken();
588*344a7f5eSAndroid Build Coastguard Worker  }
589*344a7f5eSAndroid Build Coastguard Worker
590*344a7f5eSAndroid Build Coastguard Worker}
591*344a7f5eSAndroid Build Coastguard Worker
592*344a7f5eSAndroid Build Coastguard Workerpackage android.app.blob {
593*344a7f5eSAndroid Build Coastguard Worker
594*344a7f5eSAndroid Build Coastguard Worker  public class BlobStoreManager {
595*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.app.blob.LeaseInfo getLeaseInfo(@NonNull android.app.blob.BlobHandle) throws java.io.IOException;
596*344a7f5eSAndroid Build Coastguard Worker    method public void waitForIdle(long) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException;
597*344a7f5eSAndroid Build Coastguard Worker  }
598*344a7f5eSAndroid Build Coastguard Worker
599*344a7f5eSAndroid Build Coastguard Worker  public final class LeaseInfo implements android.os.Parcelable {
600*344a7f5eSAndroid Build Coastguard Worker    ctor public LeaseInfo(@NonNull String, long, @IdRes int, @Nullable CharSequence);
601*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
602*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public CharSequence getDescription();
603*344a7f5eSAndroid Build Coastguard Worker    method @IdRes public int getDescriptionResId();
604*344a7f5eSAndroid Build Coastguard Worker    method public long getExpiryTimeMillis();
605*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getPackageName();
606*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
607*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.app.blob.LeaseInfo> CREATOR;
608*344a7f5eSAndroid Build Coastguard Worker  }
609*344a7f5eSAndroid Build Coastguard Worker
610*344a7f5eSAndroid Build Coastguard Worker}
611*344a7f5eSAndroid Build Coastguard Worker
612*344a7f5eSAndroid Build Coastguard Workerpackage android.app.contentsuggestions {
613*344a7f5eSAndroid Build Coastguard Worker
614*344a7f5eSAndroid Build Coastguard Worker  public final class ContentSuggestionsManager {
615*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_CONTENT_SUGGESTIONS) public void resetTemporaryService(int);
616*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_CONTENT_SUGGESTIONS) public void setDefaultServiceEnabled(int, boolean);
617*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_CONTENT_SUGGESTIONS) public void setTemporaryService(int, @NonNull String, int);
618*344a7f5eSAndroid Build Coastguard Worker  }
619*344a7f5eSAndroid Build Coastguard Worker
620*344a7f5eSAndroid Build Coastguard Worker}
621*344a7f5eSAndroid Build Coastguard Worker
622*344a7f5eSAndroid Build Coastguard Workerpackage android.app.prediction {
623*344a7f5eSAndroid Build Coastguard Worker
624*344a7f5eSAndroid Build Coastguard Worker  public final class AppPredictor {
625*344a7f5eSAndroid Build Coastguard Worker    method public android.app.prediction.AppPredictionSessionId getSessionId();
626*344a7f5eSAndroid Build Coastguard Worker  }
627*344a7f5eSAndroid Build Coastguard Worker
628*344a7f5eSAndroid Build Coastguard Worker}
629*344a7f5eSAndroid Build Coastguard Worker
630*344a7f5eSAndroid Build Coastguard Workerpackage android.app.usage {
631*344a7f5eSAndroid Build Coastguard Worker
632*344a7f5eSAndroid Build Coastguard Worker  public class NetworkStatsManager {
633*344a7f5eSAndroid Build Coastguard Worker    method public void setPollForce(boolean);
634*344a7f5eSAndroid Build Coastguard Worker  }
635*344a7f5eSAndroid Build Coastguard Worker
636*344a7f5eSAndroid Build Coastguard Worker  public class StorageStatsManager {
637*344a7f5eSAndroid Build Coastguard Worker    method public boolean isQuotaSupported(@NonNull java.util.UUID);
638*344a7f5eSAndroid Build Coastguard Worker    method public boolean isReservedSupported(@NonNull java.util.UUID);
639*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;
640*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;
641*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;
642*344a7f5eSAndroid Build Coastguard Worker  }
643*344a7f5eSAndroid Build Coastguard Worker
644*344a7f5eSAndroid Build Coastguard Worker  public final class UsageStats implements android.os.Parcelable {
645*344a7f5eSAndroid Build Coastguard Worker    ctor public UsageStats();
646*344a7f5eSAndroid Build Coastguard Worker  }
647*344a7f5eSAndroid Build Coastguard Worker
648*344a7f5eSAndroid Build Coastguard Worker  public static final class UsageStats.Builder {
649*344a7f5eSAndroid Build Coastguard Worker    ctor public UsageStats.Builder();
650*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.usage.UsageStats build();
651*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.usage.UsageStats.Builder setFirstTimeStamp(long);
652*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.usage.UsageStats.Builder setLastTimeStamp(long);
653*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.usage.UsageStats.Builder setLastTimeUsed(long);
654*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.usage.UsageStats.Builder setPackageName(@Nullable String);
655*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.usage.UsageStats.Builder setTotalTimeInForeground(long);
656*344a7f5eSAndroid Build Coastguard Worker  }
657*344a7f5eSAndroid Build Coastguard Worker
658*344a7f5eSAndroid Build Coastguard Worker  public final class UsageStatsManager {
659*344a7f5eSAndroid Build Coastguard Worker    method public void forceUsageSourceSettingRead();
660*344a7f5eSAndroid Build Coastguard Worker  }
661*344a7f5eSAndroid Build Coastguard Worker
662*344a7f5eSAndroid Build Coastguard Worker}
663*344a7f5eSAndroid Build Coastguard Worker
664*344a7f5eSAndroid Build Coastguard Workerpackage android.appwidget {
665*344a7f5eSAndroid Build Coastguard Worker
666*344a7f5eSAndroid Build Coastguard Worker  public class AppWidgetManager {
667*344a7f5eSAndroid Build Coastguard Worker    method public void setBindAppWidgetPermission(@NonNull String, int, boolean);
668*344a7f5eSAndroid Build Coastguard Worker  }
669*344a7f5eSAndroid Build Coastguard Worker
670*344a7f5eSAndroid Build Coastguard Worker}
671*344a7f5eSAndroid Build Coastguard Worker
672*344a7f5eSAndroid Build Coastguard Workerpackage android.bluetooth {
673*344a7f5eSAndroid Build Coastguard Worker
674*344a7f5eSAndroid Build Coastguard Worker  public final class BluetoothClass implements android.os.Parcelable {
675*344a7f5eSAndroid Build Coastguard Worker    method public int getClassOfDevice();
676*344a7f5eSAndroid Build Coastguard Worker  }
677*344a7f5eSAndroid Build Coastguard Worker
678*344a7f5eSAndroid Build Coastguard Worker}
679*344a7f5eSAndroid Build Coastguard Worker
680*344a7f5eSAndroid Build Coastguard Workerpackage android.content {
681*344a7f5eSAndroid Build Coastguard Worker
682*344a7f5eSAndroid Build Coastguard Worker  public final class AttributionSource implements android.os.Parcelable {
683*344a7f5eSAndroid Build Coastguard Worker    ctor public AttributionSource(int, @Nullable String, @Nullable String);
684*344a7f5eSAndroid Build Coastguard Worker    ctor public AttributionSource(int, @Nullable String, @Nullable String, @NonNull android.os.IBinder);
685*344a7f5eSAndroid Build Coastguard Worker    ctor public AttributionSource(int, @Nullable String, @Nullable String, @Nullable java.util.Set<java.lang.String>, @Nullable android.content.AttributionSource);
686*344a7f5eSAndroid Build Coastguard Worker  }
687*344a7f5eSAndroid Build Coastguard Worker
688*344a7f5eSAndroid Build Coastguard Worker  public final class AutofillOptions implements android.os.Parcelable {
689*344a7f5eSAndroid Build Coastguard Worker    ctor public AutofillOptions(int, boolean);
690*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
691*344a7f5eSAndroid Build Coastguard Worker    method public static android.content.AutofillOptions forWhitelistingItself();
692*344a7f5eSAndroid Build Coastguard Worker    method public boolean isAugmentedAutofillEnabled(@NonNull android.content.Context);
693*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(android.os.Parcel, int);
694*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.content.AutofillOptions> CREATOR;
695*344a7f5eSAndroid Build Coastguard Worker    field public long appDisabledExpiration;
696*344a7f5eSAndroid Build Coastguard Worker    field public boolean augmentedAutofillEnabled;
697*344a7f5eSAndroid Build Coastguard Worker    field public final boolean compatModeEnabled;
698*344a7f5eSAndroid Build Coastguard Worker    field @Nullable public android.util.ArrayMap<java.lang.String,java.lang.Long> disabledActivities;
699*344a7f5eSAndroid Build Coastguard Worker    field public final int loggingLevel;
700*344a7f5eSAndroid Build Coastguard Worker    field @Nullable public android.util.ArraySet<android.content.ComponentName> whitelistedActivitiesForAugmentedAutofill;
701*344a7f5eSAndroid Build Coastguard Worker  }
702*344a7f5eSAndroid Build Coastguard Worker
703*344a7f5eSAndroid Build Coastguard Worker  public class ClipboardManager extends android.text.ClipboardManager {
704*344a7f5eSAndroid Build Coastguard Worker    method @Nullable @RequiresPermission(android.Manifest.permission.SET_CLIP_SOURCE) public String getPrimaryClipSource();
705*344a7f5eSAndroid Build Coastguard Worker  }
706*344a7f5eSAndroid Build Coastguard Worker
707*344a7f5eSAndroid Build Coastguard Worker  public final class ContentCaptureOptions implements android.os.Parcelable {
708*344a7f5eSAndroid Build Coastguard Worker    ctor public ContentCaptureOptions(int);
709*344a7f5eSAndroid Build Coastguard Worker    ctor public ContentCaptureOptions(int, int, int, int, int, @Nullable android.util.ArraySet<android.content.ComponentName>);
710*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
711*344a7f5eSAndroid Build Coastguard Worker    method public static android.content.ContentCaptureOptions forWhitelistingItself();
712*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(android.os.Parcel, int);
713*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.content.ContentCaptureOptions> CREATOR;
714*344a7f5eSAndroid Build Coastguard Worker    field public final int idleFlushingFrequencyMs;
715*344a7f5eSAndroid Build Coastguard Worker    field public final boolean lite;
716*344a7f5eSAndroid Build Coastguard Worker    field public final int logHistorySize;
717*344a7f5eSAndroid Build Coastguard Worker    field public final int loggingLevel;
718*344a7f5eSAndroid Build Coastguard Worker    field public final int maxBufferSize;
719*344a7f5eSAndroid Build Coastguard Worker    field public final int textChangeFlushingFrequencyMs;
720*344a7f5eSAndroid Build Coastguard Worker    field @Nullable public final android.util.ArraySet<android.content.ComponentName> whitelistedComponents;
721*344a7f5eSAndroid Build Coastguard Worker  }
722*344a7f5eSAndroid Build Coastguard Worker
723*344a7f5eSAndroid Build Coastguard Worker  public abstract class ContentProvider implements android.content.ComponentCallbacks2 {
724*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.os.UserHandle getUserHandleFromUri(@NonNull android.net.Uri);
725*344a7f5eSAndroid Build Coastguard Worker  }
726*344a7f5eSAndroid Build Coastguard Worker
727*344a7f5eSAndroid Build Coastguard Worker  public abstract class ContentResolver {
728*344a7f5eSAndroid Build Coastguard Worker    method public static String[] getSyncAdapterPackagesForAuthorityAsUser(String, int);
729*344a7f5eSAndroid Build Coastguard Worker  }
730*344a7f5eSAndroid Build Coastguard Worker
731*344a7f5eSAndroid Build Coastguard Worker  public abstract class Context {
732*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.io.File getCrateDir(@NonNull String);
733*344a7f5eSAndroid Build Coastguard Worker    method public abstract int getDisplayId();
734*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.UserHandle getUser();
735*344a7f5eSAndroid Build Coastguard Worker    method public int getUserId();
736*344a7f5eSAndroid Build Coastguard Worker    method public void setAutofillOptions(@Nullable android.content.AutofillOptions);
737*344a7f5eSAndroid Build Coastguard Worker    method public void setContentCaptureOptions(@Nullable android.content.ContentCaptureOptions);
738*344a7f5eSAndroid Build Coastguard Worker    field public static final String CONTENT_CAPTURE_MANAGER_SERVICE = "content_capture";
739*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_IDLE_CONTROLLER = "deviceidle";
740*344a7f5eSAndroid Build Coastguard Worker    field public static final String DREAM_SERVICE = "dream";
741*344a7f5eSAndroid Build Coastguard Worker    field public static final String FONT_SERVICE = "font";
742*344a7f5eSAndroid Build Coastguard Worker    field public static final String POWER_EXEMPTION_SERVICE = "power_exemption";
743*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String POWER_WHITELIST_MANAGER = "power_whitelist";
744*344a7f5eSAndroid Build Coastguard Worker    field public static final String TEST_NETWORK_SERVICE = "test_network";
745*344a7f5eSAndroid Build Coastguard Worker  }
746*344a7f5eSAndroid Build Coastguard Worker
747*344a7f5eSAndroid Build Coastguard Worker  public class ContextWrapper extends android.content.Context {
748*344a7f5eSAndroid Build Coastguard Worker    method public int getDisplayId();
749*344a7f5eSAndroid Build Coastguard Worker  }
750*344a7f5eSAndroid Build Coastguard Worker
751*344a7f5eSAndroid Build Coastguard Worker  public class Intent implements java.lang.Cloneable android.os.Parcelable {
752*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACTION_USER_STOPPED = "android.intent.action.USER_STOPPED";
753*344a7f5eSAndroid Build Coastguard Worker  }
754*344a7f5eSAndroid Build Coastguard Worker
755*344a7f5eSAndroid Build Coastguard Worker  public class SyncAdapterType implements android.os.Parcelable {
756*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getPackageName();
757*344a7f5eSAndroid Build Coastguard Worker  }
758*344a7f5eSAndroid Build Coastguard Worker
759*344a7f5eSAndroid Build Coastguard Worker}
760*344a7f5eSAndroid Build Coastguard Worker
761*344a7f5eSAndroid Build Coastguard Workerpackage android.content.integrity {
762*344a7f5eSAndroid Build Coastguard Worker
763*344a7f5eSAndroid Build Coastguard Worker  public class AppIntegrityManager {
764*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.content.integrity.RuleSet getCurrentRuleSet();
765*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<java.lang.String> getWhitelistedRuleProviders();
766*344a7f5eSAndroid Build Coastguard Worker  }
767*344a7f5eSAndroid Build Coastguard Worker
768*344a7f5eSAndroid Build Coastguard Worker}
769*344a7f5eSAndroid Build Coastguard Worker
770*344a7f5eSAndroid Build Coastguard Workerpackage android.content.pm {
771*344a7f5eSAndroid Build Coastguard Worker
772*344a7f5eSAndroid Build Coastguard Worker  public class ActivityInfo extends android.content.pm.ComponentInfo implements android.os.Parcelable {
773*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isTranslucentOrFloating(android.content.res.TypedArray);
774*344a7f5eSAndroid Build Coastguard Worker    field public static final long ALWAYS_SANDBOX_DISPLAY_APIS = 185004937L; // 0xb06f389L
775*344a7f5eSAndroid Build Coastguard Worker    field public static final long FORCE_NON_RESIZE_APP = 181136395L; // 0xacbec0bL
776*344a7f5eSAndroid Build Coastguard Worker    field public static final long FORCE_RESIZE_APP = 174042936L; // 0xa5faf38L
777*344a7f5eSAndroid Build Coastguard Worker    field public static final long NEVER_SANDBOX_DISPLAY_APIS = 184838306L; // 0xb0468a2L
778*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_MIN_ASPECT_RATIO = 174042980L; // 0xa5faf64L
779*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_MIN_ASPECT_RATIO_LARGE = 180326787L; // 0xabf9183L
780*344a7f5eSAndroid Build Coastguard Worker    field public static final float OVERRIDE_MIN_ASPECT_RATIO_LARGE_VALUE = 1.7777778f;
781*344a7f5eSAndroid Build Coastguard Worker    field public static final long OVERRIDE_MIN_ASPECT_RATIO_MEDIUM = 180326845L; // 0xabf91bdL
782*344a7f5eSAndroid Build Coastguard Worker    field public static final float OVERRIDE_MIN_ASPECT_RATIO_MEDIUM_VALUE = 1.5f;
783*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESIZE_MODE_RESIZEABLE = 2; // 0x2
784*344a7f5eSAndroid Build Coastguard Worker  }
785*344a7f5eSAndroid Build Coastguard Worker
786*344a7f5eSAndroid Build Coastguard Worker  public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable {
787*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasRequestForegroundServiceExemption();
788*344a7f5eSAndroid Build Coastguard Worker    method public boolean isPrivilegedApp();
789*344a7f5eSAndroid Build Coastguard Worker    method public boolean isSystemApp();
790*344a7f5eSAndroid Build Coastguard Worker    field public static final int PRIVATE_FLAG_PRIVILEGED = 8; // 0x8
791*344a7f5eSAndroid Build Coastguard Worker    field public int privateFlags;
792*344a7f5eSAndroid Build Coastguard Worker  }
793*344a7f5eSAndroid Build Coastguard Worker
794*344a7f5eSAndroid Build Coastguard Worker  public class CrossProfileApps {
795*344a7f5eSAndroid Build Coastguard Worker    method public boolean canConfigureInteractAcrossProfiles(@NonNull String);
796*344a7f5eSAndroid Build Coastguard Worker  }
797*344a7f5eSAndroid Build Coastguard Worker
798*344a7f5eSAndroid Build Coastguard Worker  public class LauncherApps {
799*344a7f5eSAndroid Build Coastguard Worker    ctor public LauncherApps(android.content.Context);
800*344a7f5eSAndroid Build Coastguard Worker  }
801*344a7f5eSAndroid Build Coastguard Worker
802*344a7f5eSAndroid Build Coastguard Worker  public static class PackageInstaller.SessionParams implements android.os.Parcelable {
803*344a7f5eSAndroid Build Coastguard Worker    method public void setInstallFlagAllowTest();
804*344a7f5eSAndroid Build Coastguard Worker    method public void setInstallerPackageName(@Nullable String);
805*344a7f5eSAndroid Build Coastguard Worker  }
806*344a7f5eSAndroid Build Coastguard Worker
807*344a7f5eSAndroid Build Coastguard Worker  public abstract class PackageManager {
808*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getContentCaptureServicePackageName();
809*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getDefaultTextClassifierPackageName();
810*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.INJECT_EVENTS) public android.os.IBinder getHoldLockToken();
811*344a7f5eSAndroid Build Coastguard Worker    method public abstract int getInstallReason(@NonNull String, @NonNull android.os.UserHandle);
812*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public abstract java.util.List<android.content.pm.ApplicationInfo> getInstalledApplicationsAsUser(int, int);
813*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public abstract String[] getNamesForUids(int[]);
814*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getPermissionControllerPackageName();
815*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public abstract String getServicesSystemSharedLibraryPackageName();
816*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public abstract String getSharedSystemSharedLibraryPackageName();
817*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getSystemTextClassifierPackageName();
818*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getWellbeingPackageName();
819*344a7f5eSAndroid Build Coastguard Worker    method public void holdLock(android.os.IBinder, int);
820*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.KEEP_UNINSTALLED_PACKAGES) public void setKeepUninstalledPackages(@NonNull java.util.List<java.lang.String>);
821*344a7f5eSAndroid Build Coastguard Worker    field public static final String FEATURE_ADOPTABLE_STORAGE = "android.software.adoptable_storage";
822*344a7f5eSAndroid Build Coastguard Worker    field public static final String FEATURE_FILE_BASED_ENCRYPTION = "android.software.file_based_encryption";
823*344a7f5eSAndroid Build Coastguard Worker    field public static final String FEATURE_HDMI_CEC = "android.hardware.hdmi.cec";
824*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_PERMISSION_REVOKE_WHEN_REQUESTED = 128; // 0x80
825*344a7f5eSAndroid Build Coastguard Worker    field public static final int MATCH_KNOWN_PACKAGES = 4202496; // 0x402000
826*344a7f5eSAndroid Build Coastguard Worker    field public static final String SYSTEM_SHARED_LIBRARY_SERVICES = "android.ext.services";
827*344a7f5eSAndroid Build Coastguard Worker    field public static final String SYSTEM_SHARED_LIBRARY_SHARED = "android.ext.shared";
828*344a7f5eSAndroid Build Coastguard Worker  }
829*344a7f5eSAndroid Build Coastguard Worker
830*344a7f5eSAndroid Build Coastguard Worker  public class PermissionInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable {
831*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROTECTION_FLAG_VENDOR_PRIVILEGED = 32768; // 0x8000
832*344a7f5eSAndroid Build Coastguard Worker  }
833*344a7f5eSAndroid Build Coastguard Worker
834*344a7f5eSAndroid Build Coastguard Worker  public final class ProviderInfoList implements android.os.Parcelable {
835*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
836*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.content.pm.ProviderInfoList fromList(@NonNull java.util.List<android.content.pm.ProviderInfo>);
837*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.content.pm.ProviderInfo> getList();
838*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
839*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.ProviderInfoList> CREATOR;
840*344a7f5eSAndroid Build Coastguard Worker  }
841*344a7f5eSAndroid Build Coastguard Worker
842*344a7f5eSAndroid Build Coastguard Worker  public final class SharedLibraryInfo implements android.os.Parcelable {
843*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<java.lang.String> getAllCodePaths();
844*344a7f5eSAndroid Build Coastguard Worker    method public boolean isNative();
845*344a7f5eSAndroid Build Coastguard Worker  }
846*344a7f5eSAndroid Build Coastguard Worker
847*344a7f5eSAndroid Build Coastguard Worker  public final class ShortcutInfo implements android.os.Parcelable {
848*344a7f5eSAndroid Build Coastguard Worker    method public boolean isVisibleToPublisher();
849*344a7f5eSAndroid Build Coastguard Worker  }
850*344a7f5eSAndroid Build Coastguard Worker
851*344a7f5eSAndroid Build Coastguard Worker  public class ShortcutManager {
852*344a7f5eSAndroid Build Coastguard Worker    ctor public ShortcutManager(android.content.Context);
853*344a7f5eSAndroid Build Coastguard Worker  }
854*344a7f5eSAndroid Build Coastguard Worker
855*344a7f5eSAndroid Build Coastguard Worker  public class UserInfo implements android.os.Parcelable {
856*344a7f5eSAndroid Build Coastguard Worker    ctor public UserInfo(int, String, int);
857*344a7f5eSAndroid Build Coastguard Worker    ctor public UserInfo(int, String, String, int);
858*344a7f5eSAndroid Build Coastguard Worker    ctor public UserInfo(int, String, String, int, String);
859*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public UserInfo();
860*344a7f5eSAndroid Build Coastguard Worker    ctor public UserInfo(android.content.pm.UserInfo);
861*344a7f5eSAndroid Build Coastguard Worker    method public boolean canHaveProfile();
862*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
863*344a7f5eSAndroid Build Coastguard Worker    method public android.os.UserHandle getUserHandle();
864*344a7f5eSAndroid Build Coastguard Worker    method public boolean isAdmin();
865*344a7f5eSAndroid Build Coastguard Worker    method public boolean isCloneProfile();
866*344a7f5eSAndroid Build Coastguard Worker    method public boolean isDemo();
867*344a7f5eSAndroid Build Coastguard Worker    method public boolean isEnabled();
868*344a7f5eSAndroid Build Coastguard Worker    method public boolean isEphemeral();
869*344a7f5eSAndroid Build Coastguard Worker    method public boolean isFull();
870*344a7f5eSAndroid Build Coastguard Worker    method public boolean isGuest();
871*344a7f5eSAndroid Build Coastguard Worker    method public boolean isInitialized();
872*344a7f5eSAndroid Build Coastguard Worker    method public boolean isManagedProfile();
873*344a7f5eSAndroid Build Coastguard Worker    method public boolean isPrimary();
874*344a7f5eSAndroid Build Coastguard Worker    method public boolean isProfile();
875*344a7f5eSAndroid Build Coastguard Worker    method public boolean isQuietModeEnabled();
876*344a7f5eSAndroid Build Coastguard Worker    method public boolean isRestricted();
877*344a7f5eSAndroid Build Coastguard Worker    method public boolean isSystemOnly();
878*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isSystemOnly(int);
879*344a7f5eSAndroid Build Coastguard Worker    method public boolean supportsSwitchTo();
880*344a7f5eSAndroid Build Coastguard Worker    method public boolean supportsSwitchToByUser();
881*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(android.os.Parcel, int);
882*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.UserInfo> CREATOR;
883*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_ADMIN = 2; // 0x2
884*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int FLAG_DEMO = 512; // 0x200
885*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_DISABLED = 64; // 0x40
886*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_EPHEMERAL = 256; // 0x100
887*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_FULL = 1024; // 0x400
888*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int FLAG_GUEST = 4; // 0x4
889*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_INITIALIZED = 16; // 0x10
890*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int FLAG_MANAGED_PROFILE = 32; // 0x20
891*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_PRIMARY = 1; // 0x1
892*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_PROFILE = 4096; // 0x1000
893*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_QUIET_MODE = 128; // 0x80
894*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int FLAG_RESTRICTED = 8; // 0x8
895*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_SYSTEM = 2048; // 0x800
896*344a7f5eSAndroid Build Coastguard Worker    field public static final int NO_PROFILE_GROUP_ID = -10000; // 0xffffd8f0
897*344a7f5eSAndroid Build Coastguard Worker    field public boolean convertedFromPreCreated;
898*344a7f5eSAndroid Build Coastguard Worker    field public long creationTime;
899*344a7f5eSAndroid Build Coastguard Worker    field public int flags;
900*344a7f5eSAndroid Build Coastguard Worker    field public boolean guestToRemove;
901*344a7f5eSAndroid Build Coastguard Worker    field public String iconPath;
902*344a7f5eSAndroid Build Coastguard Worker    field public int id;
903*344a7f5eSAndroid Build Coastguard Worker    field public String lastLoggedInFingerprint;
904*344a7f5eSAndroid Build Coastguard Worker    field public long lastLoggedInTime;
905*344a7f5eSAndroid Build Coastguard Worker    field public String name;
906*344a7f5eSAndroid Build Coastguard Worker    field public boolean partial;
907*344a7f5eSAndroid Build Coastguard Worker    field public boolean preCreated;
908*344a7f5eSAndroid Build Coastguard Worker    field public int profileBadge;
909*344a7f5eSAndroid Build Coastguard Worker    field public int profileGroupId;
910*344a7f5eSAndroid Build Coastguard Worker    field public int restrictedProfileParentId;
911*344a7f5eSAndroid Build Coastguard Worker    field public int serialNumber;
912*344a7f5eSAndroid Build Coastguard Worker    field public String userType;
913*344a7f5eSAndroid Build Coastguard Worker  }
914*344a7f5eSAndroid Build Coastguard Worker
915*344a7f5eSAndroid Build Coastguard Worker}
916*344a7f5eSAndroid Build Coastguard Worker
917*344a7f5eSAndroid Build Coastguard Workerpackage android.content.res {
918*344a7f5eSAndroid Build Coastguard Worker
919*344a7f5eSAndroid Build Coastguard Worker  public final class AssetManager implements java.lang.AutoCloseable {
920*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String[] getApkPaths();
921*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getLastResourceResolution();
922*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getOverlayablesToString(String);
923*344a7f5eSAndroid Build Coastguard Worker    method public void setResourceResolutionLoggingEnabled(boolean);
924*344a7f5eSAndroid Build Coastguard Worker  }
925*344a7f5eSAndroid Build Coastguard Worker
926*344a7f5eSAndroid Build Coastguard Worker  public final class Configuration implements java.lang.Comparable<android.content.res.Configuration> android.os.Parcelable {
927*344a7f5eSAndroid Build Coastguard Worker    field public int assetsSeq;
928*344a7f5eSAndroid Build Coastguard Worker    field public final android.app.WindowConfiguration windowConfiguration;
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.rollback {
934*344a7f5eSAndroid Build Coastguard Worker
935*344a7f5eSAndroid Build Coastguard Worker  public final class RollbackManager {
936*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS) public void blockRollbackManager(long);
937*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS) public void expireRollbackForPackage(@NonNull String);
938*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS) public void reloadPersistedData();
939*344a7f5eSAndroid Build Coastguard Worker    field public static final String PROPERTY_ROLLBACK_LIFETIME_MILLIS = "rollback_lifetime_in_millis";
940*344a7f5eSAndroid Build Coastguard Worker  }
941*344a7f5eSAndroid Build Coastguard Worker
942*344a7f5eSAndroid Build Coastguard Worker}
943*344a7f5eSAndroid Build Coastguard Worker
944*344a7f5eSAndroid Build Coastguard Workerpackage android.database.sqlite {
945*344a7f5eSAndroid Build Coastguard Worker
946*344a7f5eSAndroid Build Coastguard Worker  public class SQLiteCompatibilityWalFlags {
947*344a7f5eSAndroid Build Coastguard Worker    method public static void reset();
948*344a7f5eSAndroid Build Coastguard Worker  }
949*344a7f5eSAndroid Build Coastguard Worker
950*344a7f5eSAndroid Build Coastguard Worker  public final class SQLiteDebug {
951*344a7f5eSAndroid Build Coastguard Worker    method public static void dump(android.util.Printer, String[]);
952*344a7f5eSAndroid Build Coastguard Worker    method public static android.database.sqlite.SQLiteDebug.PagerStats getDatabaseInfo();
953*344a7f5eSAndroid Build Coastguard Worker  }
954*344a7f5eSAndroid Build Coastguard Worker
955*344a7f5eSAndroid Build Coastguard Worker  public static class SQLiteDebug.DbStats {
956*344a7f5eSAndroid Build Coastguard Worker    ctor public SQLiteDebug.DbStats(String, long, long, int, int, int, int);
957*344a7f5eSAndroid Build Coastguard Worker    field public String cache;
958*344a7f5eSAndroid Build Coastguard Worker    field public String dbName;
959*344a7f5eSAndroid Build Coastguard Worker    field public long dbSize;
960*344a7f5eSAndroid Build Coastguard Worker    field public int lookaside;
961*344a7f5eSAndroid Build Coastguard Worker    field public long pageSize;
962*344a7f5eSAndroid Build Coastguard Worker  }
963*344a7f5eSAndroid Build Coastguard Worker
964*344a7f5eSAndroid Build Coastguard Worker  public static class SQLiteDebug.PagerStats {
965*344a7f5eSAndroid Build Coastguard Worker    ctor public SQLiteDebug.PagerStats();
966*344a7f5eSAndroid Build Coastguard Worker    field public java.util.ArrayList<android.database.sqlite.SQLiteDebug.DbStats> dbStats;
967*344a7f5eSAndroid Build Coastguard Worker    field public int largestMemAlloc;
968*344a7f5eSAndroid Build Coastguard Worker    field public int memoryUsed;
969*344a7f5eSAndroid Build Coastguard Worker    field public int pageCacheOverflow;
970*344a7f5eSAndroid Build Coastguard Worker  }
971*344a7f5eSAndroid Build Coastguard Worker
972*344a7f5eSAndroid Build Coastguard Worker  public final class SQLiteDirectCursorDriver implements android.database.sqlite.SQLiteCursorDriver {
973*344a7f5eSAndroid Build Coastguard Worker    ctor public SQLiteDirectCursorDriver(android.database.sqlite.SQLiteDatabase, String, String, android.os.CancellationSignal);
974*344a7f5eSAndroid Build Coastguard Worker    method public void cursorClosed();
975*344a7f5eSAndroid Build Coastguard Worker    method public void cursorDeactivated();
976*344a7f5eSAndroid Build Coastguard Worker    method public void cursorRequeried(android.database.Cursor);
977*344a7f5eSAndroid Build Coastguard Worker    method public android.database.Cursor query(android.database.sqlite.SQLiteDatabase.CursorFactory, String[]);
978*344a7f5eSAndroid Build Coastguard Worker    method public void setBindArguments(String[]);
979*344a7f5eSAndroid Build Coastguard Worker  }
980*344a7f5eSAndroid Build Coastguard Worker
981*344a7f5eSAndroid Build Coastguard Worker  public final class SQLiteGlobal {
982*344a7f5eSAndroid Build Coastguard Worker    method public static String getDefaultJournalMode();
983*344a7f5eSAndroid Build Coastguard Worker    method public static int getDefaultPageSize();
984*344a7f5eSAndroid Build Coastguard Worker    method public static String getDefaultSyncMode();
985*344a7f5eSAndroid Build Coastguard Worker    method public static int getIdleConnectionTimeout();
986*344a7f5eSAndroid Build Coastguard Worker    method public static int getJournalSizeLimit();
987*344a7f5eSAndroid Build Coastguard Worker    method public static int getWALAutoCheckpoint();
988*344a7f5eSAndroid Build Coastguard Worker    method public static int getWALConnectionPoolSize();
989*344a7f5eSAndroid Build Coastguard Worker    method public static String getWALSyncMode();
990*344a7f5eSAndroid Build Coastguard Worker    method public static int releaseMemory();
991*344a7f5eSAndroid Build Coastguard Worker  }
992*344a7f5eSAndroid Build Coastguard Worker
993*344a7f5eSAndroid Build Coastguard Worker}
994*344a7f5eSAndroid Build Coastguard Worker
995*344a7f5eSAndroid Build Coastguard Workerpackage android.graphics {
996*344a7f5eSAndroid Build Coastguard Worker
997*344a7f5eSAndroid Build Coastguard Worker  public final class ImageDecoder implements java.lang.AutoCloseable {
998*344a7f5eSAndroid Build Coastguard Worker    method @AnyThread @NonNull public static android.graphics.ImageDecoder.Source createSource(android.content.res.Resources, java.io.InputStream, int);
999*344a7f5eSAndroid Build Coastguard Worker  }
1000*344a7f5eSAndroid Build Coastguard Worker
1001*344a7f5eSAndroid Build Coastguard Worker  public final class Rect implements android.os.Parcelable {
1002*344a7f5eSAndroid Build Coastguard Worker    method public void splitHorizontally(@NonNull android.graphics.Rect...);
1003*344a7f5eSAndroid Build Coastguard Worker    method public void splitVertically(@NonNull android.graphics.Rect...);
1004*344a7f5eSAndroid Build Coastguard Worker  }
1005*344a7f5eSAndroid Build Coastguard Worker
1006*344a7f5eSAndroid Build Coastguard Worker  public class Typeface {
1007*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;
1008*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static android.os.SharedMemory getSystemFontMapSharedMemory();
1009*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;
1010*344a7f5eSAndroid Build Coastguard Worker  }
1011*344a7f5eSAndroid Build Coastguard Worker
1012*344a7f5eSAndroid Build Coastguard Worker}
1013*344a7f5eSAndroid Build Coastguard Worker
1014*344a7f5eSAndroid Build Coastguard Workerpackage android.graphics.drawable {
1015*344a7f5eSAndroid Build Coastguard Worker
1016*344a7f5eSAndroid Build Coastguard Worker  public class AdaptiveIconDrawable extends android.graphics.drawable.Drawable implements android.graphics.drawable.Drawable.Callback {
1017*344a7f5eSAndroid Build Coastguard Worker    method public android.graphics.Region getSafeZone();
1018*344a7f5eSAndroid Build Coastguard Worker    field public static final float MASK_SIZE = 100.0f;
1019*344a7f5eSAndroid Build Coastguard Worker  }
1020*344a7f5eSAndroid Build Coastguard Worker
1021*344a7f5eSAndroid Build Coastguard Worker  public class ColorDrawable extends android.graphics.drawable.Drawable {
1022*344a7f5eSAndroid Build Coastguard Worker    method public android.graphics.Xfermode getXfermode();
1023*344a7f5eSAndroid Build Coastguard Worker  }
1024*344a7f5eSAndroid Build Coastguard Worker
1025*344a7f5eSAndroid Build Coastguard Worker  public class ShapeDrawable extends android.graphics.drawable.Drawable {
1026*344a7f5eSAndroid Build Coastguard Worker    method public void setXfermode(@Nullable android.graphics.Xfermode);
1027*344a7f5eSAndroid Build Coastguard Worker  }
1028*344a7f5eSAndroid Build Coastguard Worker
1029*344a7f5eSAndroid Build Coastguard Worker}
1030*344a7f5eSAndroid Build Coastguard Worker
1031*344a7f5eSAndroid Build Coastguard Workerpackage android.graphics.fonts {
1032*344a7f5eSAndroid Build Coastguard Worker
1033*344a7f5eSAndroid Build Coastguard Worker  public class FontManager {
1034*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.UPDATE_FONTS) public android.text.FontConfig getFontConfig();
1035*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.UPDATE_FONTS) public int updateFontFamily(@NonNull android.graphics.fonts.FontFamilyUpdateRequest, @IntRange(from=0) int);
1036*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_ERROR_DOWNGRADING = -5; // 0xfffffffb
1037*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_ERROR_FAILED_TO_WRITE_FONT_FILE = -1; // 0xffffffff
1038*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_ERROR_FAILED_UPDATE_CONFIG = -6; // 0xfffffffa
1039*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_ERROR_FONT_NOT_FOUND = -9; // 0xfffffff7
1040*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_ERROR_FONT_UPDATER_DISABLED = -7; // 0xfffffff9
1041*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_ERROR_INVALID_FONT_FILE = -3; // 0xfffffffd
1042*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_ERROR_INVALID_FONT_NAME = -4; // 0xfffffffc
1043*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_ERROR_VERIFICATION_FAILURE = -2; // 0xfffffffe
1044*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_ERROR_VERSION_MISMATCH = -8; // 0xfffffff8
1045*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESULT_SUCCESS = 0; // 0x0
1046*344a7f5eSAndroid Build Coastguard Worker  }
1047*344a7f5eSAndroid Build Coastguard Worker
1048*344a7f5eSAndroid Build Coastguard Worker}
1049*344a7f5eSAndroid Build Coastguard Worker
1050*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware {
1051*344a7f5eSAndroid Build Coastguard Worker
1052*344a7f5eSAndroid Build Coastguard Worker  public final class SensorPrivacyManager {
1053*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_SENSOR_PRIVACY) public void setSensorPrivacy(int, int, boolean);
1054*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_SENSOR_PRIVACY) public void setSensorPrivacyForProfileGroup(int, int, boolean);
1055*344a7f5eSAndroid Build Coastguard Worker  }
1056*344a7f5eSAndroid Build Coastguard Worker
1057*344a7f5eSAndroid Build Coastguard Worker  public static class SensorPrivacyManager.Sources {
1058*344a7f5eSAndroid Build Coastguard Worker    field public static final int DIALOG = 3; // 0x3
1059*344a7f5eSAndroid Build Coastguard Worker    field public static final int OTHER = 5; // 0x5
1060*344a7f5eSAndroid Build Coastguard Worker    field public static final int QS_TILE = 1; // 0x1
1061*344a7f5eSAndroid Build Coastguard Worker    field public static final int SETTINGS = 2; // 0x2
1062*344a7f5eSAndroid Build Coastguard Worker    field public static final int SHELL = 4; // 0x4
1063*344a7f5eSAndroid Build Coastguard Worker  }
1064*344a7f5eSAndroid Build Coastguard Worker
1065*344a7f5eSAndroid Build Coastguard Worker}
1066*344a7f5eSAndroid Build Coastguard Worker
1067*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.biometrics {
1068*344a7f5eSAndroid Build Coastguard Worker
1069*344a7f5eSAndroid Build Coastguard Worker  public class BiometricManager {
1070*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public android.hardware.biometrics.BiometricTestSession createTestSession(int);
1071*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public java.util.List<android.hardware.biometrics.SensorProperties> getSensorProperties();
1072*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public String getUiPackage();
1073*344a7f5eSAndroid Build Coastguard Worker  }
1074*344a7f5eSAndroid Build Coastguard Worker
1075*344a7f5eSAndroid Build Coastguard Worker  public class BiometricPrompt {
1076*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<java.lang.Integer> getAllowedSensorIds();
1077*344a7f5eSAndroid Build Coastguard Worker    method public boolean isAllowBackgroundAuthentication();
1078*344a7f5eSAndroid Build Coastguard Worker  }
1079*344a7f5eSAndroid Build Coastguard Worker
1080*344a7f5eSAndroid Build Coastguard Worker  public static class BiometricPrompt.Builder {
1081*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);
1082*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>);
1083*344a7f5eSAndroid Build Coastguard Worker  }
1084*344a7f5eSAndroid Build Coastguard Worker
1085*344a7f5eSAndroid Build Coastguard Worker  public class BiometricTestSession implements java.lang.AutoCloseable {
1086*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void acceptAuthentication(int);
1087*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void cleanupInternalState(int);
1088*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void close();
1089*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void finishEnroll(int);
1090*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void notifyAcquired(int, int);
1091*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void notifyError(int, int);
1092*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void rejectAuthentication(int);
1093*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void startEnroll(int);
1094*344a7f5eSAndroid Build Coastguard Worker  }
1095*344a7f5eSAndroid Build Coastguard Worker
1096*344a7f5eSAndroid Build Coastguard Worker  public class SensorProperties {
1097*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.hardware.biometrics.SensorProperties.ComponentInfo> getComponentInfo();
1098*344a7f5eSAndroid Build Coastguard Worker    method public int getSensorId();
1099*344a7f5eSAndroid Build Coastguard Worker    method public int getSensorStrength();
1100*344a7f5eSAndroid Build Coastguard Worker    field public static final int STRENGTH_CONVENIENCE = 0; // 0x0
1101*344a7f5eSAndroid Build Coastguard Worker    field public static final int STRENGTH_STRONG = 2; // 0x2
1102*344a7f5eSAndroid Build Coastguard Worker    field public static final int STRENGTH_WEAK = 1; // 0x1
1103*344a7f5eSAndroid Build Coastguard Worker  }
1104*344a7f5eSAndroid Build Coastguard Worker
1105*344a7f5eSAndroid Build Coastguard Worker  public static final class SensorProperties.ComponentInfo {
1106*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getComponentId();
1107*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getFirmwareVersion();
1108*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getHardwareVersion();
1109*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getSerialNumber();
1110*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getSoftwareVersion();
1111*344a7f5eSAndroid Build Coastguard Worker  }
1112*344a7f5eSAndroid Build Coastguard Worker
1113*344a7f5eSAndroid Build Coastguard Worker}
1114*344a7f5eSAndroid Build Coastguard Worker
1115*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.camera2 {
1116*344a7f5eSAndroid Build Coastguard Worker
1117*344a7f5eSAndroid Build Coastguard Worker  public final class CameraManager {
1118*344a7f5eSAndroid Build Coastguard Worker    method public String[] getCameraIdListNoLazy() throws android.hardware.camera2.CameraAccessException;
1119*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;
1120*344a7f5eSAndroid Build Coastguard Worker  }
1121*344a7f5eSAndroid Build Coastguard Worker
1122*344a7f5eSAndroid Build Coastguard Worker  public abstract static class CameraManager.AvailabilityCallback {
1123*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.CAMERA_OPEN_CLOSE_LISTENER) public void onCameraClosed(@NonNull String);
1124*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.CAMERA_OPEN_CLOSE_LISTENER) public void onCameraOpened(@NonNull String, @NonNull String);
1125*344a7f5eSAndroid Build Coastguard Worker  }
1126*344a7f5eSAndroid Build Coastguard Worker
1127*344a7f5eSAndroid Build Coastguard Worker  public abstract class CameraMetadata<TKey> {
1128*344a7f5eSAndroid Build Coastguard Worker    field public static final int SENSOR_TEST_PATTERN_MODE_BLACK = 5; // 0x5
1129*344a7f5eSAndroid Build Coastguard Worker  }
1130*344a7f5eSAndroid Build Coastguard Worker
1131*344a7f5eSAndroid Build Coastguard Worker}
1132*344a7f5eSAndroid Build Coastguard Worker
1133*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.devicestate {
1134*344a7f5eSAndroid Build Coastguard Worker
1135*344a7f5eSAndroid Build Coastguard Worker  public final class DeviceStateManager {
1136*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_STATE) public void cancelRequest(@NonNull android.hardware.devicestate.DeviceStateRequest);
1137*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public int[] getSupportedStates();
1138*344a7f5eSAndroid Build Coastguard Worker    method public void registerCallback(@NonNull java.util.concurrent.Executor, @NonNull android.hardware.devicestate.DeviceStateManager.DeviceStateCallback);
1139*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_STATE) public void requestState(@NonNull android.hardware.devicestate.DeviceStateRequest, @Nullable java.util.concurrent.Executor, @Nullable android.hardware.devicestate.DeviceStateRequest.Callback);
1140*344a7f5eSAndroid Build Coastguard Worker    method public void unregisterCallback(@NonNull android.hardware.devicestate.DeviceStateManager.DeviceStateCallback);
1141*344a7f5eSAndroid Build Coastguard Worker    field public static final int MAXIMUM_DEVICE_STATE = 255; // 0xff
1142*344a7f5eSAndroid Build Coastguard Worker    field public static final int MINIMUM_DEVICE_STATE = 0; // 0x0
1143*344a7f5eSAndroid Build Coastguard Worker  }
1144*344a7f5eSAndroid Build Coastguard Worker
1145*344a7f5eSAndroid Build Coastguard Worker  public static interface DeviceStateManager.DeviceStateCallback {
1146*344a7f5eSAndroid Build Coastguard Worker    method public default void onBaseStateChanged(int);
1147*344a7f5eSAndroid Build Coastguard Worker    method public void onStateChanged(int);
1148*344a7f5eSAndroid Build Coastguard Worker    method public default void onSupportedStatesChanged(@NonNull int[]);
1149*344a7f5eSAndroid Build Coastguard Worker  }
1150*344a7f5eSAndroid Build Coastguard Worker
1151*344a7f5eSAndroid Build Coastguard Worker  public final class DeviceStateRequest {
1152*344a7f5eSAndroid Build Coastguard Worker    method public int getFlags();
1153*344a7f5eSAndroid Build Coastguard Worker    method public int getState();
1154*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.hardware.devicestate.DeviceStateRequest.Builder newBuilder(int);
1155*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_CANCEL_WHEN_BASE_CHANGES = 1; // 0x1
1156*344a7f5eSAndroid Build Coastguard Worker  }
1157*344a7f5eSAndroid Build Coastguard Worker
1158*344a7f5eSAndroid Build Coastguard Worker  public static final class DeviceStateRequest.Builder {
1159*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.hardware.devicestate.DeviceStateRequest build();
1160*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.hardware.devicestate.DeviceStateRequest.Builder setFlags(int);
1161*344a7f5eSAndroid Build Coastguard Worker  }
1162*344a7f5eSAndroid Build Coastguard Worker
1163*344a7f5eSAndroid Build Coastguard Worker  public static interface DeviceStateRequest.Callback {
1164*344a7f5eSAndroid Build Coastguard Worker    method public default void onRequestActivated(@NonNull android.hardware.devicestate.DeviceStateRequest);
1165*344a7f5eSAndroid Build Coastguard Worker    method public default void onRequestCanceled(@NonNull android.hardware.devicestate.DeviceStateRequest);
1166*344a7f5eSAndroid Build Coastguard Worker    method public default void onRequestSuspended(@NonNull android.hardware.devicestate.DeviceStateRequest);
1167*344a7f5eSAndroid Build Coastguard Worker  }
1168*344a7f5eSAndroid Build Coastguard Worker
1169*344a7f5eSAndroid Build Coastguard Worker}
1170*344a7f5eSAndroid Build Coastguard Worker
1171*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.display {
1172*344a7f5eSAndroid Build Coastguard Worker
1173*344a7f5eSAndroid Build Coastguard Worker  public class AmbientDisplayConfiguration {
1174*344a7f5eSAndroid Build Coastguard Worker    ctor public AmbientDisplayConfiguration(android.content.Context);
1175*344a7f5eSAndroid Build Coastguard Worker    method public boolean alwaysOnAvailable();
1176*344a7f5eSAndroid Build Coastguard Worker    method public boolean alwaysOnAvailableForUser(int);
1177*344a7f5eSAndroid Build Coastguard Worker    method public boolean alwaysOnEnabled(int);
1178*344a7f5eSAndroid Build Coastguard Worker  }
1179*344a7f5eSAndroid Build Coastguard Worker
1180*344a7f5eSAndroid Build Coastguard Worker  public final class DisplayManager {
1181*344a7f5eSAndroid Build Coastguard Worker    method public boolean areUserDisabledHdrTypesAllowed();
1182*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public int[] getUserDisabledHdrTypes();
1183*344a7f5eSAndroid Build Coastguard Worker    method public boolean isMinimalPostProcessingRequested(int);
1184*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setAreUserDisabledHdrTypesAllowed(boolean);
1185*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_REFRESH_RATE_SWITCHING_TYPE) public void setRefreshRateSwitchingType(int);
1186*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.OVERRIDE_DISPLAY_MODE_REQUESTS) public void setShouldAlwaysRespectAppRequestedMode(boolean);
1187*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setUserDisabledHdrTypes(@NonNull int[]);
1188*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.OVERRIDE_DISPLAY_MODE_REQUESTS) public boolean shouldAlwaysRespectAppRequestedMode();
1189*344a7f5eSAndroid Build Coastguard Worker    field public static final int SWITCHING_TYPE_ACROSS_AND_WITHIN_GROUPS = 2; // 0x2
1190*344a7f5eSAndroid Build Coastguard Worker    field public static final int SWITCHING_TYPE_NONE = 0; // 0x0
1191*344a7f5eSAndroid Build Coastguard Worker    field public static final int SWITCHING_TYPE_WITHIN_GROUPS = 1; // 0x1
1192*344a7f5eSAndroid Build Coastguard Worker    field public static final int VIRTUAL_DISPLAY_FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS = 512; // 0x200
1193*344a7f5eSAndroid Build Coastguard Worker    field public static final int VIRTUAL_DISPLAY_FLAG_TRUSTED = 1024; // 0x400
1194*344a7f5eSAndroid Build Coastguard Worker  }
1195*344a7f5eSAndroid Build Coastguard Worker
1196*344a7f5eSAndroid Build Coastguard Worker}
1197*344a7f5eSAndroid Build Coastguard Worker
1198*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.fingerprint {
1199*344a7f5eSAndroid Build Coastguard Worker
1200*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class FingerprintManager {
1201*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public android.hardware.biometrics.BiometricTestSession createTestSession(int);
1202*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public java.util.List<android.hardware.biometrics.SensorProperties> getSensorProperties();
1203*344a7f5eSAndroid Build Coastguard Worker  }
1204*344a7f5eSAndroid Build Coastguard Worker
1205*344a7f5eSAndroid Build Coastguard Worker}
1206*344a7f5eSAndroid Build Coastguard Worker
1207*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.hdmi {
1208*344a7f5eSAndroid Build Coastguard Worker
1209*344a7f5eSAndroid Build Coastguard Worker  public final class HdmiControlServiceWrapper {
1210*344a7f5eSAndroid Build Coastguard Worker    ctor public HdmiControlServiceWrapper();
1211*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.hardware.hdmi.HdmiControlManager createHdmiControlManager();
1212*344a7f5eSAndroid Build Coastguard Worker    method @BinderThread public void setDeviceTypes(@NonNull int[]);
1213*344a7f5eSAndroid Build Coastguard Worker    method @BinderThread public void setPortInfo(@NonNull java.util.List<android.hardware.hdmi.HdmiPortInfo>);
1214*344a7f5eSAndroid Build Coastguard Worker    field public static final int DEVICE_PURE_CEC_SWITCH = 6; // 0x6
1215*344a7f5eSAndroid Build Coastguard Worker  }
1216*344a7f5eSAndroid Build Coastguard Worker
1217*344a7f5eSAndroid Build Coastguard Worker}
1218*344a7f5eSAndroid Build Coastguard Worker
1219*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.input {
1220*344a7f5eSAndroid Build Coastguard Worker
1221*344a7f5eSAndroid Build Coastguard Worker  public final class InputManager {
1222*344a7f5eSAndroid Build Coastguard Worker    method public int getBlockUntrustedTouchesMode(@NonNull android.content.Context);
1223*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setBlockUntrustedTouchesMode(@NonNull android.content.Context, int);
1224*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setMaximumObscuringOpacityForTouch(@FloatRange(from=0, to=1) float);
1225*344a7f5eSAndroid Build Coastguard Worker    field public static final long BLOCK_UNTRUSTED_TOUCHES = 158002302L; // 0x96aec7eL
1226*344a7f5eSAndroid Build Coastguard Worker  }
1227*344a7f5eSAndroid Build Coastguard Worker
1228*344a7f5eSAndroid Build Coastguard Worker}
1229*344a7f5eSAndroid Build Coastguard Worker
1230*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.lights {
1231*344a7f5eSAndroid Build Coastguard Worker
1232*344a7f5eSAndroid Build Coastguard Worker  public final class Light implements android.os.Parcelable {
1233*344a7f5eSAndroid Build Coastguard Worker    method public int getCapabilities();
1234*344a7f5eSAndroid Build Coastguard Worker  }
1235*344a7f5eSAndroid Build Coastguard Worker
1236*344a7f5eSAndroid Build Coastguard Worker  public abstract class LightsManager {
1237*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public abstract android.hardware.lights.LightsManager.LightsSession openSession(int);
1238*344a7f5eSAndroid Build Coastguard Worker  }
1239*344a7f5eSAndroid Build Coastguard Worker
1240*344a7f5eSAndroid Build Coastguard Worker}
1241*344a7f5eSAndroid Build Coastguard Worker
1242*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.soundtrigger {
1243*344a7f5eSAndroid Build Coastguard Worker
1244*344a7f5eSAndroid Build Coastguard Worker  public class KeyphraseEnrollmentInfo {
1245*344a7f5eSAndroid Build Coastguard Worker    ctor public KeyphraseEnrollmentInfo(@NonNull android.content.pm.PackageManager);
1246*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.hardware.soundtrigger.KeyphraseMetadata getKeyphraseMetadata(@NonNull String, @NonNull java.util.Locale);
1247*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.content.Intent getManageKeyphraseIntent(int, @NonNull String, @NonNull java.util.Locale);
1248*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getParseError();
1249*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Collection<android.hardware.soundtrigger.KeyphraseMetadata> listKeyphraseMetadata();
1250*344a7f5eSAndroid Build Coastguard Worker    field public static final int MANAGE_ACTION_ENROLL = 0; // 0x0
1251*344a7f5eSAndroid Build Coastguard Worker    field public static final int MANAGE_ACTION_RE_ENROLL = 1; // 0x1
1252*344a7f5eSAndroid Build Coastguard Worker    field public static final int MANAGE_ACTION_UN_ENROLL = 2; // 0x2
1253*344a7f5eSAndroid Build Coastguard Worker  }
1254*344a7f5eSAndroid Build Coastguard Worker
1255*344a7f5eSAndroid Build Coastguard Worker  public final class KeyphraseMetadata implements android.os.Parcelable {
1256*344a7f5eSAndroid Build Coastguard Worker    ctor public KeyphraseMetadata(int, @NonNull String, @NonNull java.util.Set<java.util.Locale>, int);
1257*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
1258*344a7f5eSAndroid Build Coastguard Worker    method public int getId();
1259*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getKeyphrase();
1260*344a7f5eSAndroid Build Coastguard Worker    method public int getRecognitionModeFlags();
1261*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Set<java.util.Locale> getSupportedLocales();
1262*344a7f5eSAndroid Build Coastguard Worker    method public boolean supportsLocale(@Nullable java.util.Locale);
1263*344a7f5eSAndroid Build Coastguard Worker    method public boolean supportsPhrase(@Nullable String);
1264*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
1265*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.soundtrigger.KeyphraseMetadata> CREATOR;
1266*344a7f5eSAndroid Build Coastguard Worker  }
1267*344a7f5eSAndroid Build Coastguard Worker
1268*344a7f5eSAndroid Build Coastguard Worker  public static final class SoundTrigger.ModelParamRange implements android.os.Parcelable {
1269*344a7f5eSAndroid Build Coastguard Worker    ctor public SoundTrigger.ModelParamRange(int, int);
1270*344a7f5eSAndroid Build Coastguard Worker  }
1271*344a7f5eSAndroid Build Coastguard Worker
1272*344a7f5eSAndroid Build Coastguard Worker  public static final class SoundTrigger.ModuleProperties implements android.os.Parcelable {
1273*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);
1274*344a7f5eSAndroid Build Coastguard Worker  }
1275*344a7f5eSAndroid Build Coastguard Worker
1276*344a7f5eSAndroid Build Coastguard Worker  public static class SoundTrigger.RecognitionEvent {
1277*344a7f5eSAndroid Build Coastguard Worker    ctor public SoundTrigger.RecognitionEvent(int, int, boolean, int, int, int, boolean, @NonNull android.media.AudioFormat, @Nullable byte[]);
1278*344a7f5eSAndroid Build Coastguard Worker  }
1279*344a7f5eSAndroid Build Coastguard Worker
1280*344a7f5eSAndroid Build Coastguard Worker}
1281*344a7f5eSAndroid Build Coastguard Worker
1282*344a7f5eSAndroid Build Coastguard Workerpackage android.inputmethodservice {
1283*344a7f5eSAndroid Build Coastguard Worker
1284*344a7f5eSAndroid Build Coastguard Worker  @UiContext public class InputMethodService extends android.inputmethodservice.AbstractInputMethodService {
1285*344a7f5eSAndroid Build Coastguard Worker    field public static final long FINISH_INPUT_NO_FALLBACK_CONNECTION = 156215187L; // 0x94fa793L
1286*344a7f5eSAndroid Build Coastguard Worker  }
1287*344a7f5eSAndroid Build Coastguard Worker
1288*344a7f5eSAndroid Build Coastguard Worker}
1289*344a7f5eSAndroid Build Coastguard Worker
1290*344a7f5eSAndroid Build Coastguard Workerpackage android.location {
1291*344a7f5eSAndroid Build Coastguard Worker
1292*344a7f5eSAndroid Build Coastguard Worker  public final class GnssClock implements android.os.Parcelable {
1293*344a7f5eSAndroid Build Coastguard Worker    ctor public GnssClock();
1294*344a7f5eSAndroid Build Coastguard Worker    method public void reset();
1295*344a7f5eSAndroid Build Coastguard Worker    method public void resetBiasNanos();
1296*344a7f5eSAndroid Build Coastguard Worker    method public void resetBiasUncertaintyNanos();
1297*344a7f5eSAndroid Build Coastguard Worker    method public void resetDriftNanosPerSecond();
1298*344a7f5eSAndroid Build Coastguard Worker    method public void resetDriftUncertaintyNanosPerSecond();
1299*344a7f5eSAndroid Build Coastguard Worker    method public void resetElapsedRealtimeNanos();
1300*344a7f5eSAndroid Build Coastguard Worker    method public void resetElapsedRealtimeUncertaintyNanos();
1301*344a7f5eSAndroid Build Coastguard Worker    method public void resetFullBiasNanos();
1302*344a7f5eSAndroid Build Coastguard Worker    method public void resetLeapSecond();
1303*344a7f5eSAndroid Build Coastguard Worker    method public void resetReferenceCarrierFrequencyHzForIsb();
1304*344a7f5eSAndroid Build Coastguard Worker    method public void resetReferenceCodeTypeForIsb();
1305*344a7f5eSAndroid Build Coastguard Worker    method public void resetReferenceConstellationTypeForIsb();
1306*344a7f5eSAndroid Build Coastguard Worker    method public void resetTimeUncertaintyNanos();
1307*344a7f5eSAndroid Build Coastguard Worker    method public void set(android.location.GnssClock);
1308*344a7f5eSAndroid Build Coastguard Worker    method public void setBiasNanos(double);
1309*344a7f5eSAndroid Build Coastguard Worker    method public void setBiasUncertaintyNanos(@FloatRange(from=0.0f) double);
1310*344a7f5eSAndroid Build Coastguard Worker    method public void setDriftNanosPerSecond(double);
1311*344a7f5eSAndroid Build Coastguard Worker    method public void setDriftUncertaintyNanosPerSecond(@FloatRange(from=0.0f) double);
1312*344a7f5eSAndroid Build Coastguard Worker    method public void setElapsedRealtimeNanos(long);
1313*344a7f5eSAndroid Build Coastguard Worker    method public void setElapsedRealtimeUncertaintyNanos(@FloatRange(from=0.0f) double);
1314*344a7f5eSAndroid Build Coastguard Worker    method public void setFullBiasNanos(long);
1315*344a7f5eSAndroid Build Coastguard Worker    method public void setHardwareClockDiscontinuityCount(int);
1316*344a7f5eSAndroid Build Coastguard Worker    method public void setLeapSecond(int);
1317*344a7f5eSAndroid Build Coastguard Worker    method public void setReferenceCarrierFrequencyHzForIsb(@FloatRange(from=0.0) double);
1318*344a7f5eSAndroid Build Coastguard Worker    method public void setReferenceCodeTypeForIsb(@NonNull String);
1319*344a7f5eSAndroid Build Coastguard Worker    method public void setReferenceConstellationTypeForIsb(int);
1320*344a7f5eSAndroid Build Coastguard Worker    method public void setTimeNanos(long);
1321*344a7f5eSAndroid Build Coastguard Worker    method public void setTimeUncertaintyNanos(@FloatRange(from=0.0f) double);
1322*344a7f5eSAndroid Build Coastguard Worker  }
1323*344a7f5eSAndroid Build Coastguard Worker
1324*344a7f5eSAndroid Build Coastguard Worker  public final class GnssMeasurement implements android.os.Parcelable {
1325*344a7f5eSAndroid Build Coastguard Worker    ctor public GnssMeasurement();
1326*344a7f5eSAndroid Build Coastguard Worker    method public void reset();
1327*344a7f5eSAndroid Build Coastguard Worker    method public void resetAutomaticGainControlLevel();
1328*344a7f5eSAndroid Build Coastguard Worker    method public void resetBasebandCn0DbHz();
1329*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetCarrierCycles();
1330*344a7f5eSAndroid Build Coastguard Worker    method public void resetCarrierFrequencyHz();
1331*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetCarrierPhase();
1332*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetCarrierPhaseUncertainty();
1333*344a7f5eSAndroid Build Coastguard Worker    method public void resetCodeType();
1334*344a7f5eSAndroid Build Coastguard Worker    method public void resetCorrelationVectors();
1335*344a7f5eSAndroid Build Coastguard Worker    method public void resetFullInterSignalBiasNanos();
1336*344a7f5eSAndroid Build Coastguard Worker    method public void resetFullInterSignalBiasUncertaintyNanos();
1337*344a7f5eSAndroid Build Coastguard Worker    method public void resetSatelliteInterSignalBiasNanos();
1338*344a7f5eSAndroid Build Coastguard Worker    method public void resetSatelliteInterSignalBiasUncertaintyNanos();
1339*344a7f5eSAndroid Build Coastguard Worker    method public void resetSatellitePvt();
1340*344a7f5eSAndroid Build Coastguard Worker    method public void resetSnrInDb();
1341*344a7f5eSAndroid Build Coastguard Worker    method public void set(android.location.GnssMeasurement);
1342*344a7f5eSAndroid Build Coastguard Worker    method public void setAccumulatedDeltaRangeMeters(double);
1343*344a7f5eSAndroid Build Coastguard Worker    method public void setAccumulatedDeltaRangeState(int);
1344*344a7f5eSAndroid Build Coastguard Worker    method public void setAccumulatedDeltaRangeUncertaintyMeters(double);
1345*344a7f5eSAndroid Build Coastguard Worker    method public void setAutomaticGainControlLevelInDb(double);
1346*344a7f5eSAndroid Build Coastguard Worker    method public void setBasebandCn0DbHz(double);
1347*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setCarrierCycles(long);
1348*344a7f5eSAndroid Build Coastguard Worker    method public void setCarrierFrequencyHz(float);
1349*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setCarrierPhase(double);
1350*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setCarrierPhaseUncertainty(double);
1351*344a7f5eSAndroid Build Coastguard Worker    method public void setCn0DbHz(double);
1352*344a7f5eSAndroid Build Coastguard Worker    method public void setCodeType(@NonNull String);
1353*344a7f5eSAndroid Build Coastguard Worker    method public void setConstellationType(int);
1354*344a7f5eSAndroid Build Coastguard Worker    method public void setCorrelationVectors(@Nullable java.util.Collection<android.location.CorrelationVector>);
1355*344a7f5eSAndroid Build Coastguard Worker    method public void setFullInterSignalBiasNanos(double);
1356*344a7f5eSAndroid Build Coastguard Worker    method public void setFullInterSignalBiasUncertaintyNanos(@FloatRange(from=0.0) double);
1357*344a7f5eSAndroid Build Coastguard Worker    method public void setMultipathIndicator(int);
1358*344a7f5eSAndroid Build Coastguard Worker    method public void setPseudorangeRateMetersPerSecond(double);
1359*344a7f5eSAndroid Build Coastguard Worker    method public void setPseudorangeRateUncertaintyMetersPerSecond(double);
1360*344a7f5eSAndroid Build Coastguard Worker    method public void setReceivedSvTimeNanos(long);
1361*344a7f5eSAndroid Build Coastguard Worker    method public void setReceivedSvTimeUncertaintyNanos(long);
1362*344a7f5eSAndroid Build Coastguard Worker    method public void setSatelliteInterSignalBiasNanos(double);
1363*344a7f5eSAndroid Build Coastguard Worker    method public void setSatelliteInterSignalBiasUncertaintyNanos(@FloatRange(from=0.0) double);
1364*344a7f5eSAndroid Build Coastguard Worker    method public void setSatellitePvt(@Nullable android.location.SatellitePvt);
1365*344a7f5eSAndroid Build Coastguard Worker    method public void setSnrInDb(double);
1366*344a7f5eSAndroid Build Coastguard Worker    method public void setState(int);
1367*344a7f5eSAndroid Build Coastguard Worker    method public void setSvid(int);
1368*344a7f5eSAndroid Build Coastguard Worker    method public void setTimeOffsetNanos(double);
1369*344a7f5eSAndroid Build Coastguard Worker    field public static final int ADR_STATE_ALL = 31; // 0x1f
1370*344a7f5eSAndroid Build Coastguard Worker  }
1371*344a7f5eSAndroid Build Coastguard Worker
1372*344a7f5eSAndroid Build Coastguard Worker  public final class GnssMeasurementsEvent implements android.os.Parcelable {
1373*344a7f5eSAndroid Build Coastguard Worker    ctor public GnssMeasurementsEvent(android.location.GnssClock, android.location.GnssMeasurement[]);
1374*344a7f5eSAndroid Build Coastguard Worker  }
1375*344a7f5eSAndroid Build Coastguard Worker
1376*344a7f5eSAndroid Build Coastguard Worker  public final class GnssNavigationMessage implements android.os.Parcelable {
1377*344a7f5eSAndroid Build Coastguard Worker    ctor public GnssNavigationMessage();
1378*344a7f5eSAndroid Build Coastguard Worker    method public void reset();
1379*344a7f5eSAndroid Build Coastguard Worker    method public void set(android.location.GnssNavigationMessage);
1380*344a7f5eSAndroid Build Coastguard Worker    method public void setData(byte[]);
1381*344a7f5eSAndroid Build Coastguard Worker    method public void setMessageId(@IntRange(from=0xffffffff, to=120) int);
1382*344a7f5eSAndroid Build Coastguard Worker    method public void setStatus(int);
1383*344a7f5eSAndroid Build Coastguard Worker    method public void setSubmessageId(@IntRange(from=1) int);
1384*344a7f5eSAndroid Build Coastguard Worker    method public void setSvid(@IntRange(from=1, to=200) int);
1385*344a7f5eSAndroid Build Coastguard Worker    method public void setType(int);
1386*344a7f5eSAndroid Build Coastguard Worker  }
1387*344a7f5eSAndroid Build Coastguard Worker
1388*344a7f5eSAndroid Build Coastguard Worker  public class LocationManager {
1389*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String[] getBackgroundThrottlingWhitelist();
1390*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.PackageTagsList getIgnoreSettingsAllowlist();
1391*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public String[] getIgnoreSettingsWhitelist();
1392*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public java.util.List<java.lang.String> getProviderPackages(@NonNull String);
1393*344a7f5eSAndroid Build Coastguard Worker  }
1394*344a7f5eSAndroid Build Coastguard Worker
1395*344a7f5eSAndroid Build Coastguard Worker}
1396*344a7f5eSAndroid Build Coastguard Worker
1397*344a7f5eSAndroid Build Coastguard Workerpackage android.media {
1398*344a7f5eSAndroid Build Coastguard Worker
1399*344a7f5eSAndroid Build Coastguard Worker  public final class AudioAttributes implements android.os.Parcelable {
1400*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static String usageToXsdString(int);
1401*344a7f5eSAndroid Build Coastguard Worker    method public static int xsdStringToUsage(@NonNull String);
1402*344a7f5eSAndroid Build Coastguard Worker  }
1403*344a7f5eSAndroid Build Coastguard Worker
1404*344a7f5eSAndroid Build Coastguard Worker  public final class AudioDeviceInfo {
1405*344a7f5eSAndroid Build Coastguard Worker    method public static void enforceValidAudioDeviceTypeIn(int);
1406*344a7f5eSAndroid Build Coastguard Worker    method public static void enforceValidAudioDeviceTypeOut(int);
1407*344a7f5eSAndroid Build Coastguard Worker  }
1408*344a7f5eSAndroid Build Coastguard Worker
1409*344a7f5eSAndroid Build Coastguard Worker  public final class AudioFocusRequest {
1410*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.media.AudioManager.OnAudioFocusChangeListener getOnAudioFocusChangeListener();
1411*344a7f5eSAndroid Build Coastguard Worker  }
1412*344a7f5eSAndroid Build Coastguard Worker
1413*344a7f5eSAndroid Build Coastguard Worker  public final class AudioFormat implements android.os.Parcelable {
1414*344a7f5eSAndroid Build Coastguard Worker    method public static int channelCountFromInChannelMask(int);
1415*344a7f5eSAndroid Build Coastguard Worker    method public static int channelCountFromOutChannelMask(int);
1416*344a7f5eSAndroid Build Coastguard Worker    method public static int getBytesPerSample(int);
1417*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isEncodingLinearPcm(int);
1418*344a7f5eSAndroid Build Coastguard Worker  }
1419*344a7f5eSAndroid Build Coastguard Worker
1420*344a7f5eSAndroid Build Coastguard Worker  public class AudioManager {
1421*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.QUERY_AUDIO_STATE") public int abandonAudioFocusForTest(@NonNull android.media.AudioFocusRequest, @NonNull String);
1422*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static android.media.AudioDeviceInfo getDeviceInfoFromType(int);
1423*344a7f5eSAndroid Build Coastguard Worker    method @IntRange(from=0) @RequiresPermission("android.permission.QUERY_AUDIO_STATE") public long getFadeOutDurationOnFocusLossMillis(@NonNull android.media.AudioAttributes);
1424*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<java.lang.Integer> getReportedSurroundFormats();
1425*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Map<java.lang.Integer,java.lang.Boolean> getSurroundFormats();
1426*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasRegisteredDynamicPolicy();
1427*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_ROUTING, android.Manifest.permission.QUERY_AUDIO_STATE}) public boolean isFullVolumeDevice();
1428*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.QUERY_AUDIO_STATE") public int requestAudioFocusForTest(@NonNull android.media.AudioFocusRequest, @NonNull String, int, int);
1429*344a7f5eSAndroid Build Coastguard Worker  }
1430*344a7f5eSAndroid Build Coastguard Worker
1431*344a7f5eSAndroid Build Coastguard Worker  public static final class AudioRecord.MetricsConstants {
1432*344a7f5eSAndroid Build Coastguard Worker    field public static final String ATTRIBUTES = "android.media.audiorecord.attributes";
1433*344a7f5eSAndroid Build Coastguard Worker    field public static final String CHANNEL_MASK = "android.media.audiorecord.channelMask";
1434*344a7f5eSAndroid Build Coastguard Worker    field public static final String DURATION_MS = "android.media.audiorecord.durationMs";
1435*344a7f5eSAndroid Build Coastguard Worker    field public static final String FRAME_COUNT = "android.media.audiorecord.frameCount";
1436*344a7f5eSAndroid Build Coastguard Worker    field public static final String PORT_ID = "android.media.audiorecord.portId";
1437*344a7f5eSAndroid Build Coastguard Worker    field public static final String START_COUNT = "android.media.audiorecord.startCount";
1438*344a7f5eSAndroid Build Coastguard Worker  }
1439*344a7f5eSAndroid Build Coastguard Worker
1440*344a7f5eSAndroid Build Coastguard Worker  public final class AudioRecordingConfiguration implements android.os.Parcelable {
1441*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[]);
1442*344a7f5eSAndroid Build Coastguard Worker    ctor public AudioRecordingConfiguration(int, int, int, android.media.AudioFormat, android.media.AudioFormat, int, String);
1443*344a7f5eSAndroid Build Coastguard Worker  }
1444*344a7f5eSAndroid Build Coastguard Worker
1445*344a7f5eSAndroid Build Coastguard Worker  public class AudioSystem {
1446*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS) public static float getMasterBalance();
1447*344a7f5eSAndroid Build Coastguard Worker    method public static final int getNumStreamTypes();
1448*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS) public static int setMasterBalance(float);
1449*344a7f5eSAndroid Build Coastguard Worker    field public static final int DEVICE_ROLE_DISABLED = 2; // 0x2
1450*344a7f5eSAndroid Build Coastguard Worker    field public static final int DEVICE_ROLE_NONE = 0; // 0x0
1451*344a7f5eSAndroid Build Coastguard Worker    field public static final int DEVICE_ROLE_PREFERRED = 1; // 0x1
1452*344a7f5eSAndroid Build Coastguard Worker    field public static final int OFFLOAD_GAPLESS_SUPPORTED = 2; // 0x2
1453*344a7f5eSAndroid Build Coastguard Worker    field public static final int OFFLOAD_SUPPORTED = 1; // 0x1
1454*344a7f5eSAndroid Build Coastguard Worker    field public static final int STREAM_DEFAULT = -1; // 0xffffffff
1455*344a7f5eSAndroid Build Coastguard Worker  }
1456*344a7f5eSAndroid Build Coastguard Worker
1457*344a7f5eSAndroid Build Coastguard Worker  public static final class AudioTrack.MetricsConstants {
1458*344a7f5eSAndroid Build Coastguard Worker    field public static final String ATTRIBUTES = "android.media.audiotrack.attributes";
1459*344a7f5eSAndroid Build Coastguard Worker    field public static final String CHANNEL_MASK = "android.media.audiotrack.channelMask";
1460*344a7f5eSAndroid Build Coastguard Worker    field public static final String ENCODING = "android.media.audiotrack.encoding";
1461*344a7f5eSAndroid Build Coastguard Worker    field public static final String FRAME_COUNT = "android.media.audiotrack.frameCount";
1462*344a7f5eSAndroid Build Coastguard Worker    field public static final String PORT_ID = "android.media.audiotrack.portId";
1463*344a7f5eSAndroid Build Coastguard Worker    field public static final String SAMPLE_RATE = "android.media.audiotrack.sampleRate";
1464*344a7f5eSAndroid Build Coastguard Worker  }
1465*344a7f5eSAndroid Build Coastguard Worker
1466*344a7f5eSAndroid Build Coastguard Worker  public abstract class Image implements java.lang.AutoCloseable {
1467*344a7f5eSAndroid Build Coastguard Worker    ctor protected Image();
1468*344a7f5eSAndroid Build Coastguard Worker  }
1469*344a7f5eSAndroid Build Coastguard Worker
1470*344a7f5eSAndroid Build Coastguard Worker  public abstract static class Image.Plane {
1471*344a7f5eSAndroid Build Coastguard Worker    ctor protected Image.Plane();
1472*344a7f5eSAndroid Build Coastguard Worker  }
1473*344a7f5eSAndroid Build Coastguard Worker
1474*344a7f5eSAndroid Build Coastguard Worker  public final class MediaCas implements java.lang.AutoCloseable {
1475*344a7f5eSAndroid Build Coastguard Worker    method public void forceResourceLost();
1476*344a7f5eSAndroid Build Coastguard Worker  }
1477*344a7f5eSAndroid Build Coastguard Worker
1478*344a7f5eSAndroid Build Coastguard Worker  public static final class MediaCodecInfo.VideoCapabilities.PerformancePoint {
1479*344a7f5eSAndroid Build Coastguard Worker    ctor public MediaCodecInfo.VideoCapabilities.PerformancePoint(int, int, int, int, @NonNull android.util.Size);
1480*344a7f5eSAndroid Build Coastguard Worker    ctor public MediaCodecInfo.VideoCapabilities.PerformancePoint(@NonNull android.media.MediaCodecInfo.VideoCapabilities.PerformancePoint, @NonNull android.util.Size);
1481*344a7f5eSAndroid Build Coastguard Worker    method public int getMaxFrameRate();
1482*344a7f5eSAndroid Build Coastguard Worker    method public long getMaxMacroBlockRate();
1483*344a7f5eSAndroid Build Coastguard Worker    method public int getMaxMacroBlocks();
1484*344a7f5eSAndroid Build Coastguard Worker  }
1485*344a7f5eSAndroid Build Coastguard Worker
1486*344a7f5eSAndroid Build Coastguard Worker  public final class MediaRoute2Info implements android.os.Parcelable {
1487*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getOriginalId();
1488*344a7f5eSAndroid Build Coastguard Worker  }
1489*344a7f5eSAndroid Build Coastguard Worker
1490*344a7f5eSAndroid Build Coastguard Worker  public class MediaRouter2.RoutingController {
1491*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getOriginalId();
1492*344a7f5eSAndroid Build Coastguard Worker  }
1493*344a7f5eSAndroid Build Coastguard Worker
1494*344a7f5eSAndroid Build Coastguard Worker  public final class PlaybackParams implements android.os.Parcelable {
1495*344a7f5eSAndroid Build Coastguard Worker    method public int getAudioStretchMode();
1496*344a7f5eSAndroid Build Coastguard Worker    method public android.media.PlaybackParams setAudioStretchMode(int);
1497*344a7f5eSAndroid Build Coastguard Worker  }
1498*344a7f5eSAndroid Build Coastguard Worker
1499*344a7f5eSAndroid Build Coastguard Worker  public static final class VolumeShaper.Configuration.Builder {
1500*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.media.VolumeShaper.Configuration.Builder setOptionFlags(int);
1501*344a7f5eSAndroid Build Coastguard Worker  }
1502*344a7f5eSAndroid Build Coastguard Worker
1503*344a7f5eSAndroid Build Coastguard Worker}
1504*344a7f5eSAndroid Build Coastguard Worker
1505*344a7f5eSAndroid Build Coastguard Workerpackage android.media.audiofx {
1506*344a7f5eSAndroid Build Coastguard Worker
1507*344a7f5eSAndroid Build Coastguard Worker  public class AudioEffect {
1508*344a7f5eSAndroid Build Coastguard Worker    method public static int byteArrayToInt(byte[]);
1509*344a7f5eSAndroid Build Coastguard Worker    method public static short byteArrayToShort(byte[]);
1510*344a7f5eSAndroid Build Coastguard Worker    method public int getParameter(byte[], byte[]) throws java.lang.IllegalStateException;
1511*344a7f5eSAndroid Build Coastguard Worker    method public int getParameter(int, byte[]) throws java.lang.IllegalStateException;
1512*344a7f5eSAndroid Build Coastguard Worker    method public int getParameter(int, int[]) throws java.lang.IllegalStateException;
1513*344a7f5eSAndroid Build Coastguard Worker    method public int getParameter(int, short[]) throws java.lang.IllegalStateException;
1514*344a7f5eSAndroid Build Coastguard Worker    method public int getParameter(int[], short[]) throws java.lang.IllegalStateException;
1515*344a7f5eSAndroid Build Coastguard Worker    method public static byte[] intToByteArray(int);
1516*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isEffectTypeAvailable(java.util.UUID);
1517*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isError(int);
1518*344a7f5eSAndroid Build Coastguard Worker    method public int setParameter(byte[], byte[]) throws java.lang.IllegalStateException;
1519*344a7f5eSAndroid Build Coastguard Worker    method public int setParameter(int, int) throws java.lang.IllegalStateException;
1520*344a7f5eSAndroid Build Coastguard Worker    method public int setParameter(int, short) throws java.lang.IllegalStateException;
1521*344a7f5eSAndroid Build Coastguard Worker    method public int setParameter(int, byte[]) throws java.lang.IllegalStateException;
1522*344a7f5eSAndroid Build Coastguard Worker    method public int setParameter(int[], int[]) throws java.lang.IllegalStateException;
1523*344a7f5eSAndroid Build Coastguard Worker    method public int setParameter(int[], byte[]) throws java.lang.IllegalStateException;
1524*344a7f5eSAndroid Build Coastguard Worker    method public void setParameterListener(android.media.audiofx.AudioEffect.OnParameterChangeListener);
1525*344a7f5eSAndroid Build Coastguard Worker    method public static byte[] shortToByteArray(short);
1526*344a7f5eSAndroid Build Coastguard Worker    field public static final java.util.UUID EFFECT_TYPE_NULL;
1527*344a7f5eSAndroid Build Coastguard Worker  }
1528*344a7f5eSAndroid Build Coastguard Worker
1529*344a7f5eSAndroid Build Coastguard Worker  public static class AudioEffect.Descriptor {
1530*344a7f5eSAndroid Build Coastguard Worker    ctor public AudioEffect.Descriptor(android.os.Parcel);
1531*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(android.os.Parcel);
1532*344a7f5eSAndroid Build Coastguard Worker  }
1533*344a7f5eSAndroid Build Coastguard Worker
1534*344a7f5eSAndroid Build Coastguard Worker  public static interface AudioEffect.OnParameterChangeListener {
1535*344a7f5eSAndroid Build Coastguard Worker    method public void onParameterChange(android.media.audiofx.AudioEffect, int, byte[], byte[]);
1536*344a7f5eSAndroid Build Coastguard Worker  }
1537*344a7f5eSAndroid Build Coastguard Worker
1538*344a7f5eSAndroid Build Coastguard Worker}
1539*344a7f5eSAndroid Build Coastguard Worker
1540*344a7f5eSAndroid Build Coastguard Workerpackage android.media.audiopolicy {
1541*344a7f5eSAndroid Build Coastguard Worker
1542*344a7f5eSAndroid Build Coastguard Worker  public static class AudioPolicy.Builder {
1543*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setIsTestFocusPolicy(boolean);
1544*344a7f5eSAndroid Build Coastguard Worker  }
1545*344a7f5eSAndroid Build Coastguard Worker
1546*344a7f5eSAndroid Build Coastguard Worker}
1547*344a7f5eSAndroid Build Coastguard Worker
1548*344a7f5eSAndroid Build Coastguard Workerpackage android.media.metrics {
1549*344a7f5eSAndroid Build Coastguard Worker
1550*344a7f5eSAndroid Build Coastguard Worker  public final class LogSessionId {
1551*344a7f5eSAndroid Build Coastguard Worker    ctor public LogSessionId(@NonNull String);
1552*344a7f5eSAndroid Build Coastguard Worker  }
1553*344a7f5eSAndroid Build Coastguard Worker
1554*344a7f5eSAndroid Build Coastguard Worker}
1555*344a7f5eSAndroid Build Coastguard Worker
1556*344a7f5eSAndroid Build Coastguard Workerpackage android.media.tv {
1557*344a7f5eSAndroid Build Coastguard Worker
1558*344a7f5eSAndroid Build Coastguard Worker  public final class TvInputManager {
1559*344a7f5eSAndroid Build Coastguard Worker    method public void addHardwareDevice(int);
1560*344a7f5eSAndroid Build Coastguard Worker    method public void removeHardwareDevice(int);
1561*344a7f5eSAndroid Build Coastguard Worker  }
1562*344a7f5eSAndroid Build Coastguard Worker
1563*344a7f5eSAndroid Build Coastguard Worker}
1564*344a7f5eSAndroid Build Coastguard Worker
1565*344a7f5eSAndroid Build Coastguard Workerpackage android.media.tv.tuner {
1566*344a7f5eSAndroid Build Coastguard Worker
1567*344a7f5eSAndroid Build Coastguard Worker  public final class TunerVersionChecker {
1568*344a7f5eSAndroid Build Coastguard Worker    method public static int getMajorVersion(int);
1569*344a7f5eSAndroid Build Coastguard Worker    method public static int getMinorVersion(int);
1570*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isHigherOrEqualVersionTo(int);
1571*344a7f5eSAndroid Build Coastguard Worker    method public static boolean supportTunerVersion(int);
1572*344a7f5eSAndroid Build Coastguard Worker  }
1573*344a7f5eSAndroid Build Coastguard Worker
1574*344a7f5eSAndroid Build Coastguard Worker}
1575*344a7f5eSAndroid Build Coastguard Worker
1576*344a7f5eSAndroid Build Coastguard Workerpackage android.net {
1577*344a7f5eSAndroid Build Coastguard Worker
1578*344a7f5eSAndroid Build Coastguard Worker  public class EthernetManager {
1579*344a7f5eSAndroid Build Coastguard Worker    method public void setIncludeTestInterfaces(boolean);
1580*344a7f5eSAndroid Build Coastguard Worker  }
1581*344a7f5eSAndroid Build Coastguard Worker
1582*344a7f5eSAndroid Build Coastguard Worker  public final class IpSecManager {
1583*344a7f5eSAndroid Build Coastguard Worker    field public static final int INVALID_SECURITY_PARAMETER_INDEX = 0; // 0x0
1584*344a7f5eSAndroid Build Coastguard Worker  }
1585*344a7f5eSAndroid Build Coastguard Worker
1586*344a7f5eSAndroid Build Coastguard Worker  public class NetworkPolicyManager {
1587*344a7f5eSAndroid Build Coastguard Worker    method public boolean getRestrictBackground();
1588*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.OBSERVE_NETWORK_POLICY) public boolean isUidNetworkingBlocked(int, boolean);
1589*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.OBSERVE_NETWORK_POLICY) public boolean isUidRestrictedOnMeteredNetworks(int);
1590*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static String resolveNetworkId(@NonNull android.net.wifi.WifiConfiguration);
1591*344a7f5eSAndroid Build Coastguard Worker    method public void setRestrictBackground(boolean);
1592*344a7f5eSAndroid Build Coastguard Worker  }
1593*344a7f5eSAndroid Build Coastguard Worker
1594*344a7f5eSAndroid Build Coastguard Worker  public class NetworkStack {
1595*344a7f5eSAndroid Build Coastguard Worker    method public static void setServiceForTest(@Nullable android.os.IBinder);
1596*344a7f5eSAndroid Build Coastguard Worker  }
1597*344a7f5eSAndroid Build Coastguard Worker
1598*344a7f5eSAndroid Build Coastguard Worker  public class NetworkWatchlistManager {
1599*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public byte[] getWatchlistConfigHash();
1600*344a7f5eSAndroid Build Coastguard Worker  }
1601*344a7f5eSAndroid Build Coastguard Worker
1602*344a7f5eSAndroid Build Coastguard Worker  public class TrafficStats {
1603*344a7f5eSAndroid Build Coastguard Worker    method public static long getLoopbackRxBytes();
1604*344a7f5eSAndroid Build Coastguard Worker    method public static long getLoopbackRxPackets();
1605*344a7f5eSAndroid Build Coastguard Worker    method public static long getLoopbackTxBytes();
1606*344a7f5eSAndroid Build Coastguard Worker    method public static long getLoopbackTxPackets();
1607*344a7f5eSAndroid Build Coastguard Worker  }
1608*344a7f5eSAndroid Build Coastguard Worker
1609*344a7f5eSAndroid Build Coastguard Worker}
1610*344a7f5eSAndroid Build Coastguard Worker
1611*344a7f5eSAndroid Build Coastguard Workerpackage android.os {
1612*344a7f5eSAndroid Build Coastguard Worker
1613*344a7f5eSAndroid Build Coastguard Worker  public final class BatteryStatsManager {
1614*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void resetBattery(boolean);
1615*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void setBatteryLevel(int, boolean);
1616*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void setChargerAcOnline(boolean, boolean);
1617*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void suspendBatteryInput();
1618*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void unplugBattery(boolean);
1619*344a7f5eSAndroid Build Coastguard Worker  }
1620*344a7f5eSAndroid Build Coastguard Worker
1621*344a7f5eSAndroid Build Coastguard Worker  public class Build {
1622*344a7f5eSAndroid Build Coastguard Worker    method public static boolean is64BitAbi(String);
1623*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isDebuggable();
1624*344a7f5eSAndroid Build Coastguard Worker    field public static final boolean IS_EMULATOR;
1625*344a7f5eSAndroid Build Coastguard Worker  }
1626*344a7f5eSAndroid Build Coastguard Worker
1627*344a7f5eSAndroid Build Coastguard Worker  public static class Build.VERSION {
1628*344a7f5eSAndroid Build Coastguard Worker    field public static final String[] ACTIVE_CODENAMES;
1629*344a7f5eSAndroid Build Coastguard Worker    field public static final int DEVICE_INITIAL_SDK_INT;
1630*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESOURCES_SDK_INT;
1631*344a7f5eSAndroid Build Coastguard Worker  }
1632*344a7f5eSAndroid Build Coastguard Worker
1633*344a7f5eSAndroid Build Coastguard Worker  public abstract class CombinedVibration implements android.os.Parcelable {
1634*344a7f5eSAndroid Build Coastguard Worker    method public abstract long getDuration();
1635*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.os.CombinedVibration.SequentialCombination startSequential();
1636*344a7f5eSAndroid Build Coastguard Worker  }
1637*344a7f5eSAndroid Build Coastguard Worker
1638*344a7f5eSAndroid Build Coastguard Worker  public static final class CombinedVibration.Mono extends android.os.CombinedVibration {
1639*344a7f5eSAndroid Build Coastguard Worker    method public long getDuration();
1640*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect getEffect();
1641*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
1642*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.CombinedVibration.Mono> CREATOR;
1643*344a7f5eSAndroid Build Coastguard Worker  }
1644*344a7f5eSAndroid Build Coastguard Worker
1645*344a7f5eSAndroid Build Coastguard Worker  public static final class CombinedVibration.Sequential extends android.os.CombinedVibration {
1646*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<java.lang.Integer> getDelays();
1647*344a7f5eSAndroid Build Coastguard Worker    method public long getDuration();
1648*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.os.CombinedVibration> getEffects();
1649*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
1650*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.CombinedVibration.Sequential> CREATOR;
1651*344a7f5eSAndroid Build Coastguard Worker  }
1652*344a7f5eSAndroid Build Coastguard Worker
1653*344a7f5eSAndroid Build Coastguard Worker  public static final class CombinedVibration.SequentialCombination {
1654*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.CombinedVibration.SequentialCombination addNext(int, @NonNull android.os.VibrationEffect);
1655*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.CombinedVibration.SequentialCombination addNext(int, @NonNull android.os.VibrationEffect, int);
1656*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.CombinedVibration.SequentialCombination addNext(@NonNull android.os.CombinedVibration);
1657*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.CombinedVibration.SequentialCombination addNext(@NonNull android.os.CombinedVibration, int);
1658*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.CombinedVibration combine();
1659*344a7f5eSAndroid Build Coastguard Worker  }
1660*344a7f5eSAndroid Build Coastguard Worker
1661*344a7f5eSAndroid Build Coastguard Worker  public static final class CombinedVibration.Stereo extends android.os.CombinedVibration {
1662*344a7f5eSAndroid Build Coastguard Worker    method public long getDuration();
1663*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.util.SparseArray<android.os.VibrationEffect> getEffects();
1664*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
1665*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.CombinedVibration.Stereo> CREATOR;
1666*344a7f5eSAndroid Build Coastguard Worker  }
1667*344a7f5eSAndroid Build Coastguard Worker
1668*344a7f5eSAndroid Build Coastguard Worker  public class DeviceIdleManager {
1669*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String[] getSystemPowerWhitelist();
1670*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String[] getSystemPowerWhitelistExceptIdle();
1671*344a7f5eSAndroid Build Coastguard Worker  }
1672*344a7f5eSAndroid Build Coastguard Worker
1673*344a7f5eSAndroid Build Coastguard Worker  public class Environment {
1674*344a7f5eSAndroid Build Coastguard Worker    method public static java.io.File buildPath(java.io.File, java.lang.String...);
1675*344a7f5eSAndroid Build Coastguard Worker  }
1676*344a7f5eSAndroid Build Coastguard Worker
1677*344a7f5eSAndroid Build Coastguard Worker  public final class FileUtils {
1678*344a7f5eSAndroid Build Coastguard Worker    method public static boolean contains(java.io.File, java.io.File);
1679*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static byte[] digest(@NonNull java.io.File, @NonNull String) throws java.io.IOException, java.security.NoSuchAlgorithmException;
1680*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static byte[] digest(@NonNull java.io.InputStream, @NonNull String) throws java.io.IOException, java.security.NoSuchAlgorithmException;
1681*344a7f5eSAndroid Build Coastguard Worker  }
1682*344a7f5eSAndroid Build Coastguard Worker
1683*344a7f5eSAndroid Build Coastguard Worker  public final class MessageQueue {
1684*344a7f5eSAndroid Build Coastguard Worker    method public int postSyncBarrier();
1685*344a7f5eSAndroid Build Coastguard Worker    method public void removeSyncBarrier(int);
1686*344a7f5eSAndroid Build Coastguard Worker  }
1687*344a7f5eSAndroid Build Coastguard Worker
1688*344a7f5eSAndroid Build Coastguard Worker  public final class PackageTagsList implements android.os.Parcelable {
1689*344a7f5eSAndroid Build Coastguard Worker    method public boolean contains(@NonNull String, @Nullable String);
1690*344a7f5eSAndroid Build Coastguard Worker    method public boolean contains(@NonNull android.os.PackageTagsList);
1691*344a7f5eSAndroid Build Coastguard Worker    method public boolean containsAll(@NonNull String);
1692*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
1693*344a7f5eSAndroid Build Coastguard Worker    method public boolean includes(@NonNull String);
1694*344a7f5eSAndroid Build Coastguard Worker    method public boolean isEmpty();
1695*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
1696*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.PackageTagsList> CREATOR;
1697*344a7f5eSAndroid Build Coastguard Worker  }
1698*344a7f5eSAndroid Build Coastguard Worker
1699*344a7f5eSAndroid Build Coastguard Worker  public static final class PackageTagsList.Builder {
1700*344a7f5eSAndroid Build Coastguard Worker    ctor public PackageTagsList.Builder();
1701*344a7f5eSAndroid Build Coastguard Worker    ctor public PackageTagsList.Builder(int);
1702*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.PackageTagsList.Builder add(@NonNull String);
1703*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.PackageTagsList.Builder add(@NonNull String, @Nullable String);
1704*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.PackageTagsList.Builder add(@NonNull android.os.PackageTagsList);
1705*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>>);
1706*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.PackageTagsList build();
1707*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.PackageTagsList.Builder clear();
1708*344a7f5eSAndroid Build Coastguard Worker  }
1709*344a7f5eSAndroid Build Coastguard Worker
1710*344a7f5eSAndroid Build Coastguard Worker  public final class Parcel {
1711*344a7f5eSAndroid Build Coastguard Worker    method public boolean allowSquashing();
1712*344a7f5eSAndroid Build Coastguard Worker    method public int readExceptionCode();
1713*344a7f5eSAndroid Build Coastguard Worker    method public void restoreAllowSquashing(boolean);
1714*344a7f5eSAndroid Build Coastguard Worker  }
1715*344a7f5eSAndroid Build Coastguard Worker
1716*344a7f5eSAndroid Build Coastguard Worker  public class ParcelFileDescriptor implements java.io.Closeable android.os.Parcelable {
1717*344a7f5eSAndroid Build Coastguard Worker    method public static java.io.File getFile(java.io.FileDescriptor) throws java.io.IOException;
1718*344a7f5eSAndroid Build Coastguard Worker  }
1719*344a7f5eSAndroid Build Coastguard Worker
1720*344a7f5eSAndroid Build Coastguard Worker  public final class PowerManager {
1721*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACTION_ENHANCED_DISCHARGE_PREDICTION_CHANGED = "android.os.action.ENHANCED_DISCHARGE_PREDICTION_CHANGED";
1722*344a7f5eSAndroid Build Coastguard Worker  }
1723*344a7f5eSAndroid Build Coastguard Worker
1724*344a7f5eSAndroid Build Coastguard Worker  public class Process {
1725*344a7f5eSAndroid Build Coastguard Worker    method public static final int getThreadScheduler(int) throws java.lang.IllegalArgumentException;
1726*344a7f5eSAndroid Build Coastguard Worker    field public static final int FIRST_APP_ZYGOTE_ISOLATED_UID = 90000; // 0x15f90
1727*344a7f5eSAndroid Build Coastguard Worker    field public static final int FIRST_ISOLATED_UID = 99000; // 0x182b8
1728*344a7f5eSAndroid Build Coastguard Worker    field public static final int LAST_APP_ZYGOTE_ISOLATED_UID = 98999; // 0x182b7
1729*344a7f5eSAndroid Build Coastguard Worker    field public static final int LAST_ISOLATED_UID = 99999; // 0x1869f
1730*344a7f5eSAndroid Build Coastguard Worker    field public static final int NFC_UID = 1027; // 0x403
1731*344a7f5eSAndroid Build Coastguard Worker    field public static final int NUM_UIDS_PER_APP_ZYGOTE = 100; // 0x64
1732*344a7f5eSAndroid Build Coastguard Worker  }
1733*344a7f5eSAndroid Build Coastguard Worker
1734*344a7f5eSAndroid Build Coastguard Worker  public final class StrictMode {
1735*344a7f5eSAndroid Build Coastguard Worker    method public static void conditionallyCheckInstanceCounts();
1736*344a7f5eSAndroid Build Coastguard Worker    method public static void setViolationLogger(android.os.StrictMode.ViolationLogger);
1737*344a7f5eSAndroid Build Coastguard Worker  }
1738*344a7f5eSAndroid Build Coastguard Worker
1739*344a7f5eSAndroid Build Coastguard Worker  public static final class StrictMode.ThreadPolicy.Builder {
1740*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.StrictMode.ThreadPolicy.Builder detectExplicitGc();
1741*344a7f5eSAndroid Build Coastguard Worker  }
1742*344a7f5eSAndroid Build Coastguard Worker
1743*344a7f5eSAndroid Build Coastguard Worker  public static final class StrictMode.ViolationInfo implements android.os.Parcelable {
1744*344a7f5eSAndroid Build Coastguard Worker    ctor public StrictMode.ViolationInfo(android.os.Parcel);
1745*344a7f5eSAndroid Build Coastguard Worker    ctor public StrictMode.ViolationInfo(android.os.Parcel, boolean);
1746*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
1747*344a7f5eSAndroid Build Coastguard Worker    method public void dump(android.util.Printer, String);
1748*344a7f5eSAndroid Build Coastguard Worker    method public String getStackTrace();
1749*344a7f5eSAndroid Build Coastguard Worker    method public Class<? extends android.os.strictmode.Violation> getViolationClass();
1750*344a7f5eSAndroid Build Coastguard Worker    method public String getViolationDetails();
1751*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(android.os.Parcel, int);
1752*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.StrictMode.ViolationInfo> CREATOR;
1753*344a7f5eSAndroid Build Coastguard Worker    field public String broadcastIntentAction;
1754*344a7f5eSAndroid Build Coastguard Worker    field public int durationMillis;
1755*344a7f5eSAndroid Build Coastguard Worker    field public int numAnimationsRunning;
1756*344a7f5eSAndroid Build Coastguard Worker    field public long numInstances;
1757*344a7f5eSAndroid Build Coastguard Worker    field public String[] tags;
1758*344a7f5eSAndroid Build Coastguard Worker    field public int violationNumThisLoop;
1759*344a7f5eSAndroid Build Coastguard Worker    field public long violationUptimeMillis;
1760*344a7f5eSAndroid Build Coastguard Worker  }
1761*344a7f5eSAndroid Build Coastguard Worker
1762*344a7f5eSAndroid Build Coastguard Worker  public static interface StrictMode.ViolationLogger {
1763*344a7f5eSAndroid Build Coastguard Worker    method public void log(android.os.StrictMode.ViolationInfo);
1764*344a7f5eSAndroid Build Coastguard Worker  }
1765*344a7f5eSAndroid Build Coastguard Worker
1766*344a7f5eSAndroid Build Coastguard Worker  public static final class StrictMode.VmPolicy.Builder {
1767*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.StrictMode.VmPolicy.Builder permitIncorrectContextUse();
1768*344a7f5eSAndroid Build Coastguard Worker  }
1769*344a7f5eSAndroid Build Coastguard Worker
1770*344a7f5eSAndroid Build Coastguard Worker  public final class UserHandle implements android.os.Parcelable {
1771*344a7f5eSAndroid Build Coastguard Worker    method public static int getUid(int, int);
1772*344a7f5eSAndroid Build Coastguard Worker    method public static int getUserId(int);
1773*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isApp(int);
1774*344a7f5eSAndroid Build Coastguard Worker    field public static final int MIN_SECONDARY_USER_ID = 10; // 0xa
1775*344a7f5eSAndroid Build Coastguard Worker    field public static final int USER_ALL = -1; // 0xffffffff
1776*344a7f5eSAndroid Build Coastguard Worker    field public static final int USER_NULL = -10000; // 0xffffd8f0
1777*344a7f5eSAndroid Build Coastguard Worker    field public static final int USER_SYSTEM = 0; // 0x0
1778*344a7f5eSAndroid Build Coastguard Worker  }
1779*344a7f5eSAndroid Build Coastguard Worker
1780*344a7f5eSAndroid Build Coastguard Worker  public class UserManager {
1781*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[]);
1782*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);
1783*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);
1784*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);
1785*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public String getUserType();
1786*344a7f5eSAndroid Build Coastguard Worker    method @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);
1787*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);
1788*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isGuestUserEphemeral();
1789*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isSplitSystemUser();
1790*344a7f5eSAndroid Build Coastguard Worker    method @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;
1791*344a7f5eSAndroid Build Coastguard Worker  }
1792*344a7f5eSAndroid Build Coastguard Worker
1793*344a7f5eSAndroid Build Coastguard Worker  public final class VibrationAttributes implements android.os.Parcelable {
1794*344a7f5eSAndroid Build Coastguard Worker    method public int getAudioUsage();
1795*344a7f5eSAndroid Build Coastguard Worker  }
1796*344a7f5eSAndroid Build Coastguard Worker
1797*344a7f5eSAndroid Build Coastguard Worker  public static final class VibrationAttributes.Builder {
1798*344a7f5eSAndroid Build Coastguard Worker    ctor public VibrationAttributes.Builder(@NonNull android.media.AudioAttributes, @Nullable android.os.VibrationEffect);
1799*344a7f5eSAndroid Build Coastguard Worker  }
1800*344a7f5eSAndroid Build Coastguard Worker
1801*344a7f5eSAndroid Build Coastguard Worker  public abstract class VibrationEffect implements android.os.Parcelable {
1802*344a7f5eSAndroid Build Coastguard Worker    method public static android.os.VibrationEffect get(int);
1803*344a7f5eSAndroid Build Coastguard Worker    method public static android.os.VibrationEffect get(int, boolean);
1804*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static android.os.VibrationEffect get(android.net.Uri, android.content.Context);
1805*344a7f5eSAndroid Build Coastguard Worker    method public abstract long getDuration();
1806*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.os.VibrationEffect.WaveformBuilder startWaveform();
1807*344a7f5eSAndroid Build Coastguard Worker    field public static final int EFFECT_POP = 4; // 0x4
1808*344a7f5eSAndroid Build Coastguard Worker    field public static final int EFFECT_STRENGTH_LIGHT = 0; // 0x0
1809*344a7f5eSAndroid Build Coastguard Worker    field public static final int EFFECT_STRENGTH_MEDIUM = 1; // 0x1
1810*344a7f5eSAndroid Build Coastguard Worker    field public static final int EFFECT_STRENGTH_STRONG = 2; // 0x2
1811*344a7f5eSAndroid Build Coastguard Worker    field public static final int EFFECT_TEXTURE_TICK = 21; // 0x15
1812*344a7f5eSAndroid Build Coastguard Worker    field public static final int EFFECT_THUD = 3; // 0x3
1813*344a7f5eSAndroid Build Coastguard Worker    field public static final int[] RINGTONES;
1814*344a7f5eSAndroid Build Coastguard Worker  }
1815*344a7f5eSAndroid Build Coastguard Worker
1816*344a7f5eSAndroid Build Coastguard Worker  public static final class VibrationEffect.Composed extends android.os.VibrationEffect {
1817*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect.Composed applyEffectStrength(int);
1818*344a7f5eSAndroid Build Coastguard Worker    method public long getDuration();
1819*344a7f5eSAndroid Build Coastguard Worker    method public int getRepeatIndex();
1820*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.os.vibrator.VibrationEffectSegment> getSegments();
1821*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect.Composed resolve(int);
1822*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect.Composed scale(float);
1823*344a7f5eSAndroid Build Coastguard Worker    method public void validate();
1824*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
1825*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.VibrationEffect.Composed> CREATOR;
1826*344a7f5eSAndroid Build Coastguard Worker  }
1827*344a7f5eSAndroid Build Coastguard Worker
1828*344a7f5eSAndroid Build Coastguard Worker  public static final class VibrationEffect.Composition {
1829*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect.Composition addEffect(@NonNull android.os.VibrationEffect);
1830*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect.Composition addEffect(@NonNull android.os.VibrationEffect, @IntRange(from=0) int);
1831*344a7f5eSAndroid Build Coastguard Worker  }
1832*344a7f5eSAndroid Build Coastguard Worker
1833*344a7f5eSAndroid Build Coastguard Worker  public static final class VibrationEffect.WaveformBuilder {
1834*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect.WaveformBuilder addRamp(@FloatRange(from=0.0f, to=1.0f) float, @IntRange(from=0) int);
1835*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect.WaveformBuilder addRamp(@FloatRange(from=0.0f, to=1.0f) float, @FloatRange(from=-1.0F, to=1.0f) float, @IntRange(from=0) int);
1836*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect.WaveformBuilder addStep(@FloatRange(from=0.0f, to=1.0f) float, @IntRange(from=0) int);
1837*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect.WaveformBuilder addStep(@FloatRange(from=0.0f, to=1.0f) float, @FloatRange(from=-1.0F, to=1.0f) float, @IntRange(from=0) int);
1838*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect build();
1839*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.VibrationEffect build(int);
1840*344a7f5eSAndroid Build Coastguard Worker  }
1841*344a7f5eSAndroid Build Coastguard Worker
1842*344a7f5eSAndroid Build Coastguard Worker  public class VintfObject {
1843*344a7f5eSAndroid Build Coastguard Worker    method public static String[] getHalNamesAndVersions();
1844*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static String getPlatformSepolicyVersion();
1845*344a7f5eSAndroid Build Coastguard Worker    method public static String getSepolicyVersion();
1846*344a7f5eSAndroid Build Coastguard Worker    method public static Long getTargetFrameworkCompatibilityMatrixVersion();
1847*344a7f5eSAndroid Build Coastguard Worker    method public static java.util.Map<java.lang.String,java.lang.String[]> getVndkSnapshots();
1848*344a7f5eSAndroid Build Coastguard Worker    method public static String[] report();
1849*344a7f5eSAndroid Build Coastguard Worker  }
1850*344a7f5eSAndroid Build Coastguard Worker
1851*344a7f5eSAndroid Build Coastguard Worker  public class VintfRuntimeInfo {
1852*344a7f5eSAndroid Build Coastguard Worker    method public static String getCpuInfo();
1853*344a7f5eSAndroid Build Coastguard Worker    method public static String getHardwareId();
1854*344a7f5eSAndroid Build Coastguard Worker    method public static String getKernelVersion();
1855*344a7f5eSAndroid Build Coastguard Worker    method public static String getNodeName();
1856*344a7f5eSAndroid Build Coastguard Worker    method public static String getOsName();
1857*344a7f5eSAndroid Build Coastguard Worker    method public static String getOsRelease();
1858*344a7f5eSAndroid Build Coastguard Worker    method public static String getOsVersion();
1859*344a7f5eSAndroid Build Coastguard Worker  }
1860*344a7f5eSAndroid Build Coastguard Worker
1861*344a7f5eSAndroid Build Coastguard Worker  public class WorkSource implements android.os.Parcelable {
1862*344a7f5eSAndroid Build Coastguard Worker    method public boolean add(int);
1863*344a7f5eSAndroid Build Coastguard Worker    method public boolean add(int, String);
1864*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.os.WorkSource addReturningNewbs(android.os.WorkSource);
1865*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.os.WorkSource[] setReturningDiffs(android.os.WorkSource);
1866*344a7f5eSAndroid Build Coastguard Worker  }
1867*344a7f5eSAndroid Build Coastguard Worker
1868*344a7f5eSAndroid Build Coastguard Worker}
1869*344a7f5eSAndroid Build Coastguard Worker
1870*344a7f5eSAndroid Build Coastguard Workerpackage android.os.health {
1871*344a7f5eSAndroid Build Coastguard Worker
1872*344a7f5eSAndroid Build Coastguard Worker  public class HealthKeys {
1873*344a7f5eSAndroid Build Coastguard Worker    ctor public HealthKeys();
1874*344a7f5eSAndroid Build Coastguard Worker    field public static final int BASE_PACKAGE = 40000; // 0x9c40
1875*344a7f5eSAndroid Build Coastguard Worker    field public static final int BASE_PID = 20000; // 0x4e20
1876*344a7f5eSAndroid Build Coastguard Worker    field public static final int BASE_PROCESS = 30000; // 0x7530
1877*344a7f5eSAndroid Build Coastguard Worker    field public static final int BASE_SERVICE = 50000; // 0xc350
1878*344a7f5eSAndroid Build Coastguard Worker    field public static final int BASE_UID = 10000; // 0x2710
1879*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_COUNT = 5; // 0x5
1880*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_MEASUREMENT = 1; // 0x1
1881*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_MEASUREMENTS = 4; // 0x4
1882*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_STATS = 2; // 0x2
1883*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_TIMER = 0; // 0x0
1884*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_TIMERS = 3; // 0x3
1885*344a7f5eSAndroid Build Coastguard Worker    field public static final int UNKNOWN_KEY = 0; // 0x0
1886*344a7f5eSAndroid Build Coastguard Worker  }
1887*344a7f5eSAndroid Build Coastguard Worker
1888*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 {
1889*344a7f5eSAndroid Build Coastguard Worker    method public abstract int type();
1890*344a7f5eSAndroid Build Coastguard Worker  }
1891*344a7f5eSAndroid Build Coastguard Worker
1892*344a7f5eSAndroid Build Coastguard Worker  public static class HealthKeys.Constants {
1893*344a7f5eSAndroid Build Coastguard Worker    ctor public HealthKeys.Constants(Class);
1894*344a7f5eSAndroid Build Coastguard Worker    method public String getDataType();
1895*344a7f5eSAndroid Build Coastguard Worker    method public int getIndex(int, int);
1896*344a7f5eSAndroid Build Coastguard Worker    method public int[] getKeys(int);
1897*344a7f5eSAndroid Build Coastguard Worker    method public int getSize(int);
1898*344a7f5eSAndroid Build Coastguard Worker  }
1899*344a7f5eSAndroid Build Coastguard Worker
1900*344a7f5eSAndroid Build Coastguard Worker  public class HealthStats {
1901*344a7f5eSAndroid Build Coastguard Worker    ctor public HealthStats(android.os.Parcel);
1902*344a7f5eSAndroid Build Coastguard Worker  }
1903*344a7f5eSAndroid Build Coastguard Worker
1904*344a7f5eSAndroid Build Coastguard Worker  public class HealthStatsParceler implements android.os.Parcelable {
1905*344a7f5eSAndroid Build Coastguard Worker    ctor public HealthStatsParceler(android.os.health.HealthStatsWriter);
1906*344a7f5eSAndroid Build Coastguard Worker    ctor public HealthStatsParceler(android.os.Parcel);
1907*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
1908*344a7f5eSAndroid Build Coastguard Worker    method public android.os.health.HealthStats getHealthStats();
1909*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(android.os.Parcel, int);
1910*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.health.HealthStatsParceler> CREATOR;
1911*344a7f5eSAndroid Build Coastguard Worker  }
1912*344a7f5eSAndroid Build Coastguard Worker
1913*344a7f5eSAndroid Build Coastguard Worker  public class HealthStatsWriter {
1914*344a7f5eSAndroid Build Coastguard Worker    ctor public HealthStatsWriter(android.os.health.HealthKeys.Constants);
1915*344a7f5eSAndroid Build Coastguard Worker    method public void addMeasurement(int, long);
1916*344a7f5eSAndroid Build Coastguard Worker    method public void addMeasurements(int, String, long);
1917*344a7f5eSAndroid Build Coastguard Worker    method public void addStats(int, String, android.os.health.HealthStatsWriter);
1918*344a7f5eSAndroid Build Coastguard Worker    method public void addTimer(int, int, long);
1919*344a7f5eSAndroid Build Coastguard Worker    method public void addTimers(int, String, android.os.health.TimerStat);
1920*344a7f5eSAndroid Build Coastguard Worker    method public void flattenToParcel(android.os.Parcel);
1921*344a7f5eSAndroid Build Coastguard Worker  }
1922*344a7f5eSAndroid Build Coastguard Worker
1923*344a7f5eSAndroid Build Coastguard Worker}
1924*344a7f5eSAndroid Build Coastguard Worker
1925*344a7f5eSAndroid Build Coastguard Workerpackage android.os.storage {
1926*344a7f5eSAndroid Build Coastguard Worker
1927*344a7f5eSAndroid Build Coastguard Worker  public final class CrateInfo implements android.os.Parcelable {
1928*344a7f5eSAndroid Build Coastguard Worker    ctor public CrateInfo(@NonNull CharSequence, long);
1929*344a7f5eSAndroid Build Coastguard Worker    ctor public CrateInfo(@NonNull CharSequence);
1930*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static android.os.storage.CrateInfo copyFrom(int, @Nullable String, @Nullable String);
1931*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
1932*344a7f5eSAndroid Build Coastguard Worker    method public long getExpirationMillis();
1933*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public CharSequence getLabel();
1934*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@Nullable android.os.Parcel, int);
1935*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.storage.CrateInfo> CREATOR;
1936*344a7f5eSAndroid Build Coastguard Worker  }
1937*344a7f5eSAndroid Build Coastguard Worker
1938*344a7f5eSAndroid Build Coastguard Worker  public class StorageManager {
1939*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static java.util.UUID convert(@NonNull String);
1940*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static String convert(@NonNull java.util.UUID);
1941*344a7f5eSAndroid Build Coastguard Worker    method public boolean isAppIoBlocked(@NonNull java.util.UUID, int, int, int);
1942*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isUserKeyUnlocked(int);
1943*344a7f5eSAndroid Build Coastguard Worker  }
1944*344a7f5eSAndroid Build Coastguard Worker
1945*344a7f5eSAndroid Build Coastguard Worker  public final class StorageVolume implements android.os.Parcelable {
1946*344a7f5eSAndroid Build Coastguard Worker    method public String getPath();
1947*344a7f5eSAndroid Build Coastguard Worker  }
1948*344a7f5eSAndroid Build Coastguard Worker
1949*344a7f5eSAndroid Build Coastguard Worker  public static final class StorageVolume.Builder {
1950*344a7f5eSAndroid Build Coastguard Worker    ctor public StorageVolume.Builder(@NonNull String, @NonNull java.io.File, @NonNull String, @NonNull android.os.UserHandle, @NonNull String);
1951*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.storage.StorageVolume build();
1952*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.storage.StorageVolume.Builder setEmulated(boolean);
1953*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.storage.StorageVolume.Builder setPrimary(boolean);
1954*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.storage.StorageVolume.Builder setRemovable(boolean);
1955*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.storage.StorageVolume.Builder setStorageUuid(@Nullable java.util.UUID);
1956*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.storage.StorageVolume.Builder setUuid(@Nullable String);
1957*344a7f5eSAndroid Build Coastguard Worker  }
1958*344a7f5eSAndroid Build Coastguard Worker
1959*344a7f5eSAndroid Build Coastguard Worker}
1960*344a7f5eSAndroid Build Coastguard Worker
1961*344a7f5eSAndroid Build Coastguard Workerpackage android.os.strictmode {
1962*344a7f5eSAndroid Build Coastguard Worker
1963*344a7f5eSAndroid Build Coastguard Worker  public final class ExplicitGcViolation extends android.os.strictmode.Violation {
1964*344a7f5eSAndroid Build Coastguard Worker  }
1965*344a7f5eSAndroid Build Coastguard Worker
1966*344a7f5eSAndroid Build Coastguard Worker}
1967*344a7f5eSAndroid Build Coastguard Worker
1968*344a7f5eSAndroid Build Coastguard Workerpackage android.os.vibrator {
1969*344a7f5eSAndroid Build Coastguard Worker
1970*344a7f5eSAndroid Build Coastguard Worker  public final class PrebakedSegment extends android.os.vibrator.VibrationEffectSegment {
1971*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.vibrator.PrebakedSegment applyEffectStrength(int);
1972*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
1973*344a7f5eSAndroid Build Coastguard Worker    method public long getDuration();
1974*344a7f5eSAndroid Build Coastguard Worker    method public int getEffectId();
1975*344a7f5eSAndroid Build Coastguard Worker    method public int getEffectStrength();
1976*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasNonZeroAmplitude();
1977*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.vibrator.PrebakedSegment resolve(int);
1978*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.vibrator.PrebakedSegment scale(float);
1979*344a7f5eSAndroid Build Coastguard Worker    method public boolean shouldFallback();
1980*344a7f5eSAndroid Build Coastguard Worker    method public void validate();
1981*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
1982*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.vibrator.PrebakedSegment> CREATOR;
1983*344a7f5eSAndroid Build Coastguard Worker  }
1984*344a7f5eSAndroid Build Coastguard Worker
1985*344a7f5eSAndroid Build Coastguard Worker  public final class PrimitiveSegment extends android.os.vibrator.VibrationEffectSegment {
1986*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.vibrator.PrimitiveSegment applyEffectStrength(int);
1987*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
1988*344a7f5eSAndroid Build Coastguard Worker    method public int getDelay();
1989*344a7f5eSAndroid Build Coastguard Worker    method public long getDuration();
1990*344a7f5eSAndroid Build Coastguard Worker    method public int getPrimitiveId();
1991*344a7f5eSAndroid Build Coastguard Worker    method public float getScale();
1992*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasNonZeroAmplitude();
1993*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.vibrator.PrimitiveSegment resolve(int);
1994*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.vibrator.PrimitiveSegment scale(float);
1995*344a7f5eSAndroid Build Coastguard Worker    method public void validate();
1996*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
1997*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.vibrator.PrimitiveSegment> CREATOR;
1998*344a7f5eSAndroid Build Coastguard Worker  }
1999*344a7f5eSAndroid Build Coastguard Worker
2000*344a7f5eSAndroid Build Coastguard Worker  public final class RampSegment extends android.os.vibrator.VibrationEffectSegment {
2001*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.vibrator.RampSegment applyEffectStrength(int);
2002*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
2003*344a7f5eSAndroid Build Coastguard Worker    method public long getDuration();
2004*344a7f5eSAndroid Build Coastguard Worker    method public float getEndAmplitude();
2005*344a7f5eSAndroid Build Coastguard Worker    method public float getEndFrequency();
2006*344a7f5eSAndroid Build Coastguard Worker    method public float getStartAmplitude();
2007*344a7f5eSAndroid Build Coastguard Worker    method public float getStartFrequency();
2008*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasNonZeroAmplitude();
2009*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.vibrator.RampSegment resolve(int);
2010*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.vibrator.RampSegment scale(float);
2011*344a7f5eSAndroid Build Coastguard Worker    method public void validate();
2012*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
2013*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.vibrator.RampSegment> CREATOR;
2014*344a7f5eSAndroid Build Coastguard Worker  }
2015*344a7f5eSAndroid Build Coastguard Worker
2016*344a7f5eSAndroid Build Coastguard Worker  public final class StepSegment extends android.os.vibrator.VibrationEffectSegment {
2017*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.vibrator.StepSegment applyEffectStrength(int);
2018*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
2019*344a7f5eSAndroid Build Coastguard Worker    method public float getAmplitude();
2020*344a7f5eSAndroid Build Coastguard Worker    method public long getDuration();
2021*344a7f5eSAndroid Build Coastguard Worker    method public float getFrequency();
2022*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasNonZeroAmplitude();
2023*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.vibrator.StepSegment resolve(int);
2024*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.vibrator.StepSegment scale(float);
2025*344a7f5eSAndroid Build Coastguard Worker    method public void validate();
2026*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
2027*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.vibrator.StepSegment> CREATOR;
2028*344a7f5eSAndroid Build Coastguard Worker  }
2029*344a7f5eSAndroid Build Coastguard Worker
2030*344a7f5eSAndroid Build Coastguard Worker  public abstract class VibrationEffectSegment implements android.os.Parcelable {
2031*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public abstract <T extends android.os.vibrator.VibrationEffectSegment> T applyEffectStrength(int);
2032*344a7f5eSAndroid Build Coastguard Worker    method public abstract long getDuration();
2033*344a7f5eSAndroid Build Coastguard Worker    method public abstract boolean hasNonZeroAmplitude();
2034*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public abstract <T extends android.os.vibrator.VibrationEffectSegment> T resolve(int);
2035*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public abstract <T extends android.os.vibrator.VibrationEffectSegment> T scale(float);
2036*344a7f5eSAndroid Build Coastguard Worker    method public abstract void validate();
2037*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.os.vibrator.VibrationEffectSegment> CREATOR;
2038*344a7f5eSAndroid Build Coastguard Worker  }
2039*344a7f5eSAndroid Build Coastguard Worker
2040*344a7f5eSAndroid Build Coastguard Worker}
2041*344a7f5eSAndroid Build Coastguard Worker
2042*344a7f5eSAndroid Build Coastguard Workerpackage android.permission {
2043*344a7f5eSAndroid Build Coastguard Worker
2044*344a7f5eSAndroid Build Coastguard Worker  public final class PermGroupUsage {
2045*344a7f5eSAndroid Build Coastguard Worker    ctor public PermGroupUsage(@NonNull String, int, @NonNull String, long, boolean, boolean, @Nullable CharSequence);
2046*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public CharSequence getAttribution();
2047*344a7f5eSAndroid Build Coastguard Worker    method public long getLastAccess();
2048*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getPackageName();
2049*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getPermGroupName();
2050*344a7f5eSAndroid Build Coastguard Worker    method public int getUid();
2051*344a7f5eSAndroid Build Coastguard Worker    method public boolean isActive();
2052*344a7f5eSAndroid Build Coastguard Worker    method public boolean isPhoneCall();
2053*344a7f5eSAndroid Build Coastguard Worker  }
2054*344a7f5eSAndroid Build Coastguard Worker
2055*344a7f5eSAndroid Build Coastguard Worker  public final class PermissionControllerManager {
2056*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);
2057*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);
2058*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS) public void revokeRuntimePermission(@NonNull String, @NonNull String);
2059*344a7f5eSAndroid Build Coastguard Worker  }
2060*344a7f5eSAndroid Build Coastguard Worker
2061*344a7f5eSAndroid Build Coastguard Worker  public static interface PermissionControllerManager.OnCountPermissionAppsResultCallback {
2062*344a7f5eSAndroid Build Coastguard Worker    method public void onCountPermissionApps(int);
2063*344a7f5eSAndroid Build Coastguard Worker  }
2064*344a7f5eSAndroid Build Coastguard Worker
2065*344a7f5eSAndroid Build Coastguard Worker  public static interface PermissionControllerManager.OnGetAppPermissionResultCallback {
2066*344a7f5eSAndroid Build Coastguard Worker    method public void onGetAppPermissions(@NonNull java.util.List<android.permission.RuntimePermissionPresentationInfo>);
2067*344a7f5eSAndroid Build Coastguard Worker  }
2068*344a7f5eSAndroid Build Coastguard Worker
2069*344a7f5eSAndroid Build Coastguard Worker  public final class PermissionManager {
2070*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public java.util.List<android.permission.PermGroupUsage> getIndicatorAppOpUsageData();
2071*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public java.util.List<android.permission.PermGroupUsage> getIndicatorAppOpUsageData(boolean);
2072*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.content.AttributionSource registerAttributionSource(@NonNull android.content.AttributionSource);
2073*344a7f5eSAndroid Build Coastguard Worker  }
2074*344a7f5eSAndroid Build Coastguard Worker
2075*344a7f5eSAndroid Build Coastguard Worker}
2076*344a7f5eSAndroid Build Coastguard Worker
2077*344a7f5eSAndroid Build Coastguard Workerpackage android.print {
2078*344a7f5eSAndroid Build Coastguard Worker
2079*344a7f5eSAndroid Build Coastguard Worker  public final class PrintJobInfo implements android.os.Parcelable {
2080*344a7f5eSAndroid Build Coastguard Worker    method public float getProgress();
2081*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public CharSequence getStatus(@NonNull android.content.pm.PackageManager);
2082*344a7f5eSAndroid Build Coastguard Worker  }
2083*344a7f5eSAndroid Build Coastguard Worker
2084*344a7f5eSAndroid Build Coastguard Worker  public final class PrinterInfo implements android.os.Parcelable {
2085*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.graphics.drawable.Drawable loadIcon(@NonNull android.content.Context);
2086*344a7f5eSAndroid Build Coastguard Worker  }
2087*344a7f5eSAndroid Build Coastguard Worker
2088*344a7f5eSAndroid Build Coastguard Worker}
2089*344a7f5eSAndroid Build Coastguard Worker
2090*344a7f5eSAndroid Build Coastguard Workerpackage android.provider {
2091*344a7f5eSAndroid Build Coastguard Worker
2092*344a7f5eSAndroid Build Coastguard Worker  public interface AndroidDeviceConfig {
2093*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";
2094*344a7f5eSAndroid Build Coastguard Worker    field public static final String KEY_SYSTEM_GESTURE_EXCLUSION_LIMIT_DP = "system_gesture_exclusion_limit_dp";
2095*344a7f5eSAndroid Build Coastguard Worker  }
2096*344a7f5eSAndroid Build Coastguard Worker
2097*344a7f5eSAndroid Build Coastguard Worker  public static final class CalendarContract.Calendars implements android.provider.BaseColumns android.provider.CalendarContract.CalendarColumns android.provider.CalendarContract.SyncColumns {
2098*344a7f5eSAndroid Build Coastguard Worker    field public static final String[] SYNC_WRITABLE_COLUMNS;
2099*344a7f5eSAndroid Build Coastguard Worker  }
2100*344a7f5eSAndroid Build Coastguard Worker
2101*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 {
2102*344a7f5eSAndroid Build Coastguard Worker    field public static final String[] SYNC_WRITABLE_COLUMNS;
2103*344a7f5eSAndroid Build Coastguard Worker  }
2104*344a7f5eSAndroid Build Coastguard Worker
2105*344a7f5eSAndroid Build Coastguard Worker  public final class ContactsContract {
2106*344a7f5eSAndroid Build Coastguard Worker    field public static final String HIDDEN_COLUMN_PREFIX = "x_";
2107*344a7f5eSAndroid Build Coastguard Worker  }
2108*344a7f5eSAndroid Build Coastguard Worker
2109*344a7f5eSAndroid Build Coastguard Worker  public static final class ContactsContract.CommonDataKinds.Phone implements android.provider.ContactsContract.CommonDataKinds.CommonColumns android.provider.ContactsContract.DataColumnsWithJoins {
2110*344a7f5eSAndroid Build Coastguard Worker    field public static final android.net.Uri ENTERPRISE_CONTENT_URI;
2111*344a7f5eSAndroid Build Coastguard Worker  }
2112*344a7f5eSAndroid Build Coastguard Worker
2113*344a7f5eSAndroid Build Coastguard Worker  public static final class ContactsContract.PinnedPositions {
2114*344a7f5eSAndroid Build Coastguard Worker    field public static final String UNDEMOTE_METHOD = "undemote";
2115*344a7f5eSAndroid Build Coastguard Worker  }
2116*344a7f5eSAndroid Build Coastguard Worker
2117*344a7f5eSAndroid Build Coastguard Worker  public static final class ContactsContract.RawContactsEntity implements android.provider.BaseColumns android.provider.ContactsContract.DataColumns android.provider.ContactsContract.RawContactsColumns {
2118*344a7f5eSAndroid Build Coastguard Worker    field public static final android.net.Uri CORP_CONTENT_URI;
2119*344a7f5eSAndroid Build Coastguard Worker  }
2120*344a7f5eSAndroid Build Coastguard Worker
2121*344a7f5eSAndroid Build Coastguard Worker  public final class DeviceConfig {
2122*344a7f5eSAndroid Build Coastguard Worker    field public static final String NAMESPACE_ALARM_MANAGER = "alarm_manager";
2123*344a7f5eSAndroid Build Coastguard Worker    field public static final String NAMESPACE_ANDROID = "android";
2124*344a7f5eSAndroid Build Coastguard Worker    field public static final String NAMESPACE_CONSTRAIN_DISPLAY_APIS = "constrain_display_apis";
2125*344a7f5eSAndroid Build Coastguard Worker    field public static final String NAMESPACE_DEVICE_IDLE = "device_idle";
2126*344a7f5eSAndroid Build Coastguard Worker    field public static final String NAMESPACE_JOB_SCHEDULER = "jobscheduler";
2127*344a7f5eSAndroid Build Coastguard Worker  }
2128*344a7f5eSAndroid Build Coastguard Worker
2129*344a7f5eSAndroid Build Coastguard Worker  public final class Settings {
2130*344a7f5eSAndroid Build Coastguard Worker    field public static final int RESET_MODE_PACKAGE_DEFAULTS = 1; // 0x1
2131*344a7f5eSAndroid Build Coastguard Worker  }
2132*344a7f5eSAndroid Build Coastguard Worker
2133*344a7f5eSAndroid Build Coastguard Worker  public static final class Settings.Global extends android.provider.Settings.NameValueTable {
2134*344a7f5eSAndroid Build Coastguard Worker    field public static final String APP_OPS_CONSTANTS = "app_ops_constants";
2135*344a7f5eSAndroid Build Coastguard Worker    field public static final String ARE_USER_DISABLED_HDR_FORMATS_ALLOWED = "are_user_disabled_hdr_formats_allowed";
2136*344a7f5eSAndroid Build Coastguard Worker    field public static final String AUTOMATIC_POWER_SAVE_MODE = "automatic_power_save_mode";
2137*344a7f5eSAndroid Build Coastguard Worker    field public static final String BATTERY_SAVER_CONSTANTS = "battery_saver_constants";
2138*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVELOPMENT_ENABLE_NON_RESIZABLE_MULTI_WINDOW = "enable_non_resizable_multi_window";
2139*344a7f5eSAndroid Build Coastguard Worker    field public static final String DISABLE_WINDOW_BLURS = "disable_window_blurs";
2140*344a7f5eSAndroid Build Coastguard Worker    field public static final String DYNAMIC_POWER_SAVINGS_DISABLE_THRESHOLD = "dynamic_power_savings_disable_threshold";
2141*344a7f5eSAndroid Build Coastguard Worker    field public static final String DYNAMIC_POWER_SAVINGS_ENABLED = "dynamic_power_savings_enabled";
2142*344a7f5eSAndroid Build Coastguard Worker    field public static final String HIDDEN_API_BLACKLIST_EXEMPTIONS = "hidden_api_blacklist_exemptions";
2143*344a7f5eSAndroid Build Coastguard Worker    field public static final String HIDDEN_API_POLICY = "hidden_api_policy";
2144*344a7f5eSAndroid Build Coastguard Worker    field public static final String HIDE_ERROR_DIALOGS = "hide_error_dialogs";
2145*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String LOCATION_IGNORE_SETTINGS_PACKAGE_WHITELIST = "location_ignore_settings_package_whitelist";
2146*344a7f5eSAndroid Build Coastguard Worker    field public static final String LOW_POWER_MODE = "low_power";
2147*344a7f5eSAndroid Build Coastguard Worker    field public static final String LOW_POWER_MODE_STICKY = "low_power_sticky";
2148*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String NOTIFICATION_BUBBLES = "notification_bubbles";
2149*344a7f5eSAndroid Build Coastguard Worker    field public static final String OVERLAY_DISPLAY_DEVICES = "overlay_display_devices";
2150*344a7f5eSAndroid Build Coastguard Worker    field public static final String SHOW_FIRST_CRASH_DIALOG = "show_first_crash_dialog";
2151*344a7f5eSAndroid Build Coastguard Worker    field public static final String USER_DISABLED_HDR_FORMATS = "user_disabled_hdr_formats";
2152*344a7f5eSAndroid Build Coastguard Worker    field public static final String USE_OPEN_WIFI_PACKAGE = "use_open_wifi_package";
2153*344a7f5eSAndroid Build Coastguard Worker  }
2154*344a7f5eSAndroid Build Coastguard Worker
2155*344a7f5eSAndroid Build Coastguard Worker  public static final class Settings.Secure extends android.provider.Settings.NameValueTable {
2156*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED = "accessibility_display_magnification_enabled";
2157*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACCESSIBILITY_MAGNIFICATION_CAPABILITY = "accessibility_magnification_capability";
2158*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACCESSIBILITY_MAGNIFICATION_MODE = "accessibility_magnification_mode";
2159*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACCESSIBILITY_MAGNIFICATION_MODE_ALL = 3; // 0x3
2160*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACCESSIBILITY_MAGNIFICATION_MODE_FULLSCREEN = 1; // 0x1
2161*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW = 2; // 0x2
2162*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACCESSIBILITY_SHORTCUT_TARGET_SERVICE = "accessibility_shortcut_target_service";
2163*344a7f5eSAndroid Build Coastguard Worker    field public static final String ANR_SHOW_BACKGROUND = "anr_show_background";
2164*344a7f5eSAndroid Build Coastguard Worker    field public static final String AUTOFILL_SERVICE = "autofill_service";
2165*344a7f5eSAndroid Build Coastguard Worker    field public static final String CONTENT_CAPTURE_ENABLED = "content_capture_enabled";
2166*344a7f5eSAndroid Build Coastguard Worker    field public static final String DISABLED_PRINT_SERVICES = "disabled_print_services";
2167*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final String ENABLED_NOTIFICATION_POLICY_ACCESS_PACKAGES = "enabled_notification_policy_access_packages";
2168*344a7f5eSAndroid Build Coastguard Worker    field public static final String ENABLED_VR_LISTENERS = "enabled_vr_listeners";
2169*344a7f5eSAndroid Build Coastguard Worker    field public static final String IMMERSIVE_MODE_CONFIRMATIONS = "immersive_mode_confirmations";
2170*344a7f5eSAndroid Build Coastguard Worker    field public static final String NOTIFICATION_BADGING = "notification_badging";
2171*344a7f5eSAndroid Build Coastguard Worker    field public static final String NOTIFICATION_BUBBLES = "notification_bubbles";
2172*344a7f5eSAndroid Build Coastguard Worker    field public static final String POWER_MENU_LOCKED_SHOW_CONTENT = "power_menu_locked_show_content";
2173*344a7f5eSAndroid Build Coastguard Worker    field public static final String SELECTED_SPELL_CHECKER = "selected_spell_checker";
2174*344a7f5eSAndroid Build Coastguard Worker    field public static final String SELECTED_SPELL_CHECKER_SUBTYPE = "selected_spell_checker_subtype";
2175*344a7f5eSAndroid Build Coastguard Worker    field public static final String SHOW_FIRST_CRASH_DIALOG_DEV_OPTION = "show_first_crash_dialog_dev_option";
2176*344a7f5eSAndroid Build Coastguard Worker    field public static final String SHOW_IME_WITH_HARD_KEYBOARD = "show_ime_with_hard_keyboard";
2177*344a7f5eSAndroid Build Coastguard Worker    field @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static final String SYNC_PARENT_SOUNDS = "sync_parent_sounds";
2178*344a7f5eSAndroid Build Coastguard Worker    field public static final String VOICE_INTERACTION_SERVICE = "voice_interaction_service";
2179*344a7f5eSAndroid Build Coastguard Worker  }
2180*344a7f5eSAndroid Build Coastguard Worker
2181*344a7f5eSAndroid Build Coastguard Worker  public static final class Telephony.Sms.Intents {
2182*344a7f5eSAndroid Build Coastguard Worker    field public static final String SMS_CARRIER_PROVISION_ACTION = "android.provider.Telephony.SMS_CARRIER_PROVISION";
2183*344a7f5eSAndroid Build Coastguard Worker  }
2184*344a7f5eSAndroid Build Coastguard Worker
2185*344a7f5eSAndroid Build Coastguard Worker  public static final class VoicemailContract.Voicemails implements android.provider.BaseColumns android.provider.OpenableColumns {
2186*344a7f5eSAndroid Build Coastguard Worker    field public static final String _DATA = "_data";
2187*344a7f5eSAndroid Build Coastguard Worker  }
2188*344a7f5eSAndroid Build Coastguard Worker
2189*344a7f5eSAndroid Build Coastguard Worker}
2190*344a7f5eSAndroid Build Coastguard Worker
2191*344a7f5eSAndroid Build Coastguard Workerpackage android.security {
2192*344a7f5eSAndroid Build Coastguard Worker
2193*344a7f5eSAndroid Build Coastguard Worker  public final class KeyChain {
2194*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);
2195*344a7f5eSAndroid Build Coastguard Worker  }
2196*344a7f5eSAndroid Build Coastguard Worker
2197*344a7f5eSAndroid Build Coastguard Worker  public class KeyStoreException extends java.lang.Exception {
2198*344a7f5eSAndroid Build Coastguard Worker    ctor public KeyStoreException(int, String);
2199*344a7f5eSAndroid Build Coastguard Worker    method public int getErrorCode();
2200*344a7f5eSAndroid Build Coastguard Worker  }
2201*344a7f5eSAndroid Build Coastguard Worker
2202*344a7f5eSAndroid Build Coastguard Worker}
2203*344a7f5eSAndroid Build Coastguard Worker
2204*344a7f5eSAndroid Build Coastguard Workerpackage android.security.keystore {
2205*344a7f5eSAndroid Build Coastguard Worker
2206*344a7f5eSAndroid Build Coastguard Worker  public static final class KeyGenParameterSpec.Builder {
2207*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.security.keystore.KeyGenParameterSpec.Builder setUniqueIdIncluded(boolean);
2208*344a7f5eSAndroid Build Coastguard Worker  }
2209*344a7f5eSAndroid Build Coastguard Worker
2210*344a7f5eSAndroid Build Coastguard Worker  public final class KeyProtection implements java.security.KeyStore.ProtectionParameter {
2211*344a7f5eSAndroid Build Coastguard Worker    method public long getBoundToSpecificSecureUserId();
2212*344a7f5eSAndroid Build Coastguard Worker  }
2213*344a7f5eSAndroid Build Coastguard Worker
2214*344a7f5eSAndroid Build Coastguard Worker  public static final class KeyProtection.Builder {
2215*344a7f5eSAndroid Build Coastguard Worker    method public android.security.keystore.KeyProtection.Builder setBoundToSpecificSecureUserId(long);
2216*344a7f5eSAndroid Build Coastguard Worker  }
2217*344a7f5eSAndroid Build Coastguard Worker
2218*344a7f5eSAndroid Build Coastguard Worker}
2219*344a7f5eSAndroid Build Coastguard Worker
2220*344a7f5eSAndroid Build Coastguard Workerpackage android.service.autofill {
2221*344a7f5eSAndroid Build Coastguard Worker
2222*344a7f5eSAndroid Build Coastguard Worker  public final class CharSequenceTransformation extends android.service.autofill.InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation {
2223*344a7f5eSAndroid Build Coastguard Worker    method public void apply(@NonNull android.service.autofill.ValueFinder, @NonNull android.widget.RemoteViews, int) throws java.lang.Exception;
2224*344a7f5eSAndroid Build Coastguard Worker  }
2225*344a7f5eSAndroid Build Coastguard Worker
2226*344a7f5eSAndroid Build Coastguard Worker  public final class CompositeUserData implements android.os.Parcelable {
2227*344a7f5eSAndroid Build Coastguard Worker    ctor public CompositeUserData(@Nullable android.service.autofill.UserData, @NonNull android.service.autofill.UserData);
2228*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
2229*344a7f5eSAndroid Build Coastguard Worker    method public String[] getCategoryIds();
2230*344a7f5eSAndroid Build Coastguard Worker    method public android.os.Bundle getDefaultFieldClassificationArgs();
2231*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getFieldClassificationAlgorithm();
2232*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getFieldClassificationAlgorithmForCategory(@NonNull String);
2233*344a7f5eSAndroid Build Coastguard Worker    method public android.util.ArrayMap<java.lang.String,java.lang.String> getFieldClassificationAlgorithms();
2234*344a7f5eSAndroid Build Coastguard Worker    method public android.util.ArrayMap<java.lang.String,android.os.Bundle> getFieldClassificationArgs();
2235*344a7f5eSAndroid Build Coastguard Worker    method public String[] getValues();
2236*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(android.os.Parcel, int);
2237*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.service.autofill.CompositeUserData> CREATOR;
2238*344a7f5eSAndroid Build Coastguard Worker  }
2239*344a7f5eSAndroid Build Coastguard Worker
2240*344a7f5eSAndroid Build Coastguard Worker  public final class CustomDescription implements android.os.Parcelable {
2241*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.util.SparseArray<android.service.autofill.InternalOnClickAction> getActions();
2242*344a7f5eSAndroid Build Coastguard Worker  }
2243*344a7f5eSAndroid Build Coastguard Worker
2244*344a7f5eSAndroid Build Coastguard Worker  public final class Dataset implements android.os.Parcelable {
2245*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.content.IntentSender getAuthentication();
2246*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.content.ClipData getFieldContent();
2247*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public java.util.ArrayList<android.view.autofill.AutofillId> getFieldIds();
2248*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public java.util.ArrayList<android.view.autofill.AutofillValue> getFieldValues();
2249*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getId();
2250*344a7f5eSAndroid Build Coastguard Worker    method public boolean isEmpty();
2251*344a7f5eSAndroid Build Coastguard Worker  }
2252*344a7f5eSAndroid Build Coastguard Worker
2253*344a7f5eSAndroid Build Coastguard Worker  public static final class Dataset.Builder {
2254*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.service.autofill.Dataset.Builder setContent(@NonNull android.view.autofill.AutofillId, @Nullable android.content.ClipData);
2255*344a7f5eSAndroid Build Coastguard Worker  }
2256*344a7f5eSAndroid Build Coastguard Worker
2257*344a7f5eSAndroid Build Coastguard Worker  public final class DateTransformation extends android.service.autofill.InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation {
2258*344a7f5eSAndroid Build Coastguard Worker    method public void apply(@NonNull android.service.autofill.ValueFinder, @NonNull android.widget.RemoteViews, int) throws java.lang.Exception;
2259*344a7f5eSAndroid Build Coastguard Worker  }
2260*344a7f5eSAndroid Build Coastguard Worker
2261*344a7f5eSAndroid Build Coastguard Worker  public final class DateValueSanitizer extends android.service.autofill.InternalSanitizer implements android.os.Parcelable android.service.autofill.Sanitizer {
2262*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.autofill.AutofillValue sanitize(@NonNull android.view.autofill.AutofillValue);
2263*344a7f5eSAndroid Build Coastguard Worker  }
2264*344a7f5eSAndroid Build Coastguard Worker
2265*344a7f5eSAndroid Build Coastguard Worker  public final class FillResponse implements android.os.Parcelable {
2266*344a7f5eSAndroid Build Coastguard Worker    method public int getFlags();
2267*344a7f5eSAndroid Build Coastguard Worker  }
2268*344a7f5eSAndroid Build Coastguard Worker
2269*344a7f5eSAndroid Build Coastguard Worker  public final class ImageTransformation extends android.service.autofill.InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation {
2270*344a7f5eSAndroid Build Coastguard Worker    method public void apply(@NonNull android.service.autofill.ValueFinder, @NonNull android.widget.RemoteViews, int) throws java.lang.Exception;
2271*344a7f5eSAndroid Build Coastguard Worker  }
2272*344a7f5eSAndroid Build Coastguard Worker
2273*344a7f5eSAndroid Build Coastguard Worker  public abstract class InternalOnClickAction implements android.service.autofill.OnClickAction android.os.Parcelable {
2274*344a7f5eSAndroid Build Coastguard Worker    ctor public InternalOnClickAction();
2275*344a7f5eSAndroid Build Coastguard Worker    method public abstract void onClick(@NonNull android.view.ViewGroup);
2276*344a7f5eSAndroid Build Coastguard Worker  }
2277*344a7f5eSAndroid Build Coastguard Worker
2278*344a7f5eSAndroid Build Coastguard Worker  public abstract class InternalSanitizer implements android.os.Parcelable android.service.autofill.Sanitizer {
2279*344a7f5eSAndroid Build Coastguard Worker    ctor public InternalSanitizer();
2280*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public abstract android.view.autofill.AutofillValue sanitize(@NonNull android.view.autofill.AutofillValue);
2281*344a7f5eSAndroid Build Coastguard Worker  }
2282*344a7f5eSAndroid Build Coastguard Worker
2283*344a7f5eSAndroid Build Coastguard Worker  public abstract class InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation {
2284*344a7f5eSAndroid Build Coastguard Worker    ctor public InternalTransformation();
2285*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>>);
2286*344a7f5eSAndroid Build Coastguard Worker  }
2287*344a7f5eSAndroid Build Coastguard Worker
2288*344a7f5eSAndroid Build Coastguard Worker  public abstract class InternalValidator implements android.os.Parcelable android.service.autofill.Validator {
2289*344a7f5eSAndroid Build Coastguard Worker    ctor public InternalValidator();
2290*344a7f5eSAndroid Build Coastguard Worker    method public abstract boolean isValid(@NonNull android.service.autofill.ValueFinder);
2291*344a7f5eSAndroid Build Coastguard Worker  }
2292*344a7f5eSAndroid Build Coastguard Worker
2293*344a7f5eSAndroid Build Coastguard Worker  public final class LuhnChecksumValidator extends android.service.autofill.InternalValidator implements android.os.Parcelable android.service.autofill.Validator {
2294*344a7f5eSAndroid Build Coastguard Worker    method public boolean isValid(@NonNull android.service.autofill.ValueFinder);
2295*344a7f5eSAndroid Build Coastguard Worker  }
2296*344a7f5eSAndroid Build Coastguard Worker
2297*344a7f5eSAndroid Build Coastguard Worker  public final class RegexValidator extends android.service.autofill.InternalValidator implements android.os.Parcelable android.service.autofill.Validator {
2298*344a7f5eSAndroid Build Coastguard Worker    method public boolean isValid(@NonNull android.service.autofill.ValueFinder);
2299*344a7f5eSAndroid Build Coastguard Worker  }
2300*344a7f5eSAndroid Build Coastguard Worker
2301*344a7f5eSAndroid Build Coastguard Worker  public final class TextValueSanitizer extends android.service.autofill.InternalSanitizer implements android.os.Parcelable android.service.autofill.Sanitizer {
2302*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.autofill.AutofillValue sanitize(@NonNull android.view.autofill.AutofillValue);
2303*344a7f5eSAndroid Build Coastguard Worker  }
2304*344a7f5eSAndroid Build Coastguard Worker
2305*344a7f5eSAndroid Build Coastguard Worker  public final class UserData implements android.os.Parcelable {
2306*344a7f5eSAndroid Build Coastguard Worker    method public android.util.ArrayMap<java.lang.String,java.lang.String> getFieldClassificationAlgorithms();
2307*344a7f5eSAndroid Build Coastguard Worker  }
2308*344a7f5eSAndroid Build Coastguard Worker
2309*344a7f5eSAndroid Build Coastguard Worker  public interface ValueFinder {
2310*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public default String findByAutofillId(@NonNull android.view.autofill.AutofillId);
2311*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.autofill.AutofillValue findRawValueByAutofillId(@NonNull android.view.autofill.AutofillId);
2312*344a7f5eSAndroid Build Coastguard Worker  }
2313*344a7f5eSAndroid Build Coastguard Worker
2314*344a7f5eSAndroid Build Coastguard Worker  public final class VisibilitySetterAction extends android.service.autofill.InternalOnClickAction implements android.service.autofill.OnClickAction android.os.Parcelable {
2315*344a7f5eSAndroid Build Coastguard Worker    method public void onClick(@NonNull android.view.ViewGroup);
2316*344a7f5eSAndroid Build Coastguard Worker  }
2317*344a7f5eSAndroid Build Coastguard Worker
2318*344a7f5eSAndroid Build Coastguard Worker}
2319*344a7f5eSAndroid Build Coastguard Worker
2320*344a7f5eSAndroid Build Coastguard Workerpackage android.service.autofill.augmented {
2321*344a7f5eSAndroid Build Coastguard Worker
2322*344a7f5eSAndroid Build Coastguard Worker  public final class FillRequest {
2323*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.content.ComponentName getActivityComponent();
2324*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.autofill.AutofillId getFocusedId();
2325*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.autofill.AutofillValue getFocusedValue();
2326*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.app.assist.AssistStructure.ViewNode getFocusedViewNode();
2327*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.inputmethod.InlineSuggestionsRequest getInlineSuggestionsRequest();
2328*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.service.autofill.augmented.PresentationParams getPresentationParams();
2329*344a7f5eSAndroid Build Coastguard Worker    method public int getTaskId();
2330*344a7f5eSAndroid Build Coastguard Worker  }
2331*344a7f5eSAndroid Build Coastguard Worker
2332*344a7f5eSAndroid Build Coastguard Worker}
2333*344a7f5eSAndroid Build Coastguard Worker
2334*344a7f5eSAndroid Build Coastguard Workerpackage android.service.notification {
2335*344a7f5eSAndroid Build Coastguard Worker
2336*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public abstract class ConditionProviderService extends android.app.Service {
2337*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isBound();
2338*344a7f5eSAndroid Build Coastguard Worker  }
2339*344a7f5eSAndroid Build Coastguard Worker
2340*344a7f5eSAndroid Build Coastguard Worker}
2341*344a7f5eSAndroid Build Coastguard Worker
2342*344a7f5eSAndroid Build Coastguard Workerpackage android.service.quickaccesswallet {
2343*344a7f5eSAndroid Build Coastguard Worker
2344*344a7f5eSAndroid Build Coastguard Worker  public interface QuickAccessWalletClient extends java.io.Closeable {
2345*344a7f5eSAndroid Build Coastguard Worker    method public void addWalletServiceEventListener(@NonNull android.service.quickaccesswallet.QuickAccessWalletClient.WalletServiceEventListener);
2346*344a7f5eSAndroid Build Coastguard Worker    method public void addWalletServiceEventListener(@NonNull java.util.concurrent.Executor, @NonNull android.service.quickaccesswallet.QuickAccessWalletClient.WalletServiceEventListener);
2347*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.service.quickaccesswallet.QuickAccessWalletClient create(@NonNull android.content.Context);
2348*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.content.Intent createWalletIntent();
2349*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.content.Intent createWalletSettingsIntent();
2350*344a7f5eSAndroid Build Coastguard Worker    method public void disconnect();
2351*344a7f5eSAndroid Build Coastguard Worker    method public void getWalletCards(@NonNull android.service.quickaccesswallet.GetWalletCardsRequest, @NonNull android.service.quickaccesswallet.QuickAccessWalletClient.OnWalletCardsRetrievedCallback);
2352*344a7f5eSAndroid Build Coastguard Worker    method public void getWalletCards(@NonNull java.util.concurrent.Executor, @NonNull android.service.quickaccesswallet.GetWalletCardsRequest, @NonNull android.service.quickaccesswallet.QuickAccessWalletClient.OnWalletCardsRetrievedCallback);
2353*344a7f5eSAndroid Build Coastguard Worker    method public boolean isWalletFeatureAvailable();
2354*344a7f5eSAndroid Build Coastguard Worker    method public boolean isWalletFeatureAvailableWhenDeviceLocked();
2355*344a7f5eSAndroid Build Coastguard Worker    method public boolean isWalletServiceAvailable();
2356*344a7f5eSAndroid Build Coastguard Worker    method public void notifyWalletDismissed();
2357*344a7f5eSAndroid Build Coastguard Worker    method public void removeWalletServiceEventListener(@NonNull android.service.quickaccesswallet.QuickAccessWalletClient.WalletServiceEventListener);
2358*344a7f5eSAndroid Build Coastguard Worker    method public void selectWalletCard(@NonNull android.service.quickaccesswallet.SelectWalletCardRequest);
2359*344a7f5eSAndroid Build Coastguard Worker  }
2360*344a7f5eSAndroid Build Coastguard Worker
2361*344a7f5eSAndroid Build Coastguard Worker  public static interface QuickAccessWalletClient.OnWalletCardsRetrievedCallback {
2362*344a7f5eSAndroid Build Coastguard Worker    method public void onWalletCardRetrievalError(@NonNull android.service.quickaccesswallet.GetWalletCardsError);
2363*344a7f5eSAndroid Build Coastguard Worker    method public void onWalletCardsRetrieved(@NonNull android.service.quickaccesswallet.GetWalletCardsResponse);
2364*344a7f5eSAndroid Build Coastguard Worker  }
2365*344a7f5eSAndroid Build Coastguard Worker
2366*344a7f5eSAndroid Build Coastguard Worker  public static interface QuickAccessWalletClient.WalletServiceEventListener {
2367*344a7f5eSAndroid Build Coastguard Worker    method public void onWalletServiceEvent(@NonNull android.service.quickaccesswallet.WalletServiceEvent);
2368*344a7f5eSAndroid Build Coastguard Worker  }
2369*344a7f5eSAndroid Build Coastguard Worker
2370*344a7f5eSAndroid Build Coastguard Worker}
2371*344a7f5eSAndroid Build Coastguard Worker
2372*344a7f5eSAndroid Build Coastguard Workerpackage android.service.quicksettings {
2373*344a7f5eSAndroid Build Coastguard Worker
2374*344a7f5eSAndroid Build Coastguard Worker  public class TileService extends android.app.Service {
2375*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isQuickSettingsSupported();
2376*344a7f5eSAndroid Build Coastguard Worker  }
2377*344a7f5eSAndroid Build Coastguard Worker
2378*344a7f5eSAndroid Build Coastguard Worker}
2379*344a7f5eSAndroid Build Coastguard Worker
2380*344a7f5eSAndroid Build Coastguard Workerpackage android.service.voice {
2381*344a7f5eSAndroid Build Coastguard Worker
2382*344a7f5eSAndroid Build Coastguard Worker  public class AlwaysOnHotwordDetector implements android.service.voice.HotwordDetector {
2383*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public void triggerHardwareRecognitionEventForTest(int, int, boolean, int, int, int, boolean, @NonNull android.media.AudioFormat, @Nullable byte[]);
2384*344a7f5eSAndroid Build Coastguard Worker  }
2385*344a7f5eSAndroid Build Coastguard Worker
2386*344a7f5eSAndroid Build Coastguard Worker}
2387*344a7f5eSAndroid Build Coastguard Worker
2388*344a7f5eSAndroid Build Coastguard Workerpackage android.service.watchdog {
2389*344a7f5eSAndroid Build Coastguard Worker
2390*344a7f5eSAndroid Build Coastguard Worker  public abstract class ExplicitHealthCheckService extends android.app.Service {
2391*344a7f5eSAndroid Build Coastguard Worker    method public void setCallback(@Nullable android.os.RemoteCallback);
2392*344a7f5eSAndroid Build Coastguard Worker  }
2393*344a7f5eSAndroid Build Coastguard Worker
2394*344a7f5eSAndroid Build Coastguard Worker}
2395*344a7f5eSAndroid Build Coastguard Worker
2396*344a7f5eSAndroid Build Coastguard Workerpackage android.speech {
2397*344a7f5eSAndroid Build Coastguard Worker
2398*344a7f5eSAndroid Build Coastguard Worker  public class SpeechRecognizer {
2399*344a7f5eSAndroid Build Coastguard Worker    method @MainThread @NonNull public static android.speech.SpeechRecognizer createOnDeviceTestingSpeechRecognizer(@NonNull android.content.Context);
2400*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_SPEECH_RECOGNITION) public void setTemporaryOnDeviceRecognizer(@Nullable android.content.ComponentName);
2401*344a7f5eSAndroid Build Coastguard Worker  }
2402*344a7f5eSAndroid Build Coastguard Worker
2403*344a7f5eSAndroid Build Coastguard Worker}
2404*344a7f5eSAndroid Build Coastguard Worker
2405*344a7f5eSAndroid Build Coastguard Workerpackage android.telecom {
2406*344a7f5eSAndroid Build Coastguard Worker
2407*344a7f5eSAndroid Build Coastguard Worker  public static class Call.Details {
2408*344a7f5eSAndroid Build Coastguard Worker    method public String getTelecomCallId();
2409*344a7f5eSAndroid Build Coastguard Worker  }
2410*344a7f5eSAndroid Build Coastguard Worker
2411*344a7f5eSAndroid Build Coastguard Worker  public final class CallAudioState implements android.os.Parcelable {
2412*344a7f5eSAndroid Build Coastguard Worker    ctor public CallAudioState(boolean, int, int, @Nullable android.bluetooth.BluetoothDevice, @NonNull java.util.Collection<android.bluetooth.BluetoothDevice>);
2413*344a7f5eSAndroid Build Coastguard Worker  }
2414*344a7f5eSAndroid Build Coastguard Worker
2415*344a7f5eSAndroid Build Coastguard Worker  public static final class ConnectionRequest.Builder {
2416*344a7f5eSAndroid Build Coastguard Worker    ctor public ConnectionRequest.Builder();
2417*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest build();
2418*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setAccountHandle(@NonNull android.telecom.PhoneAccountHandle);
2419*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setAddress(@NonNull android.net.Uri);
2420*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setExtras(@NonNull android.os.Bundle);
2421*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setIsAdhocConferenceCall(boolean);
2422*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setParticipants(@Nullable java.util.List<android.net.Uri>);
2423*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setRttPipeFromInCall(@NonNull android.os.ParcelFileDescriptor);
2424*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setRttPipeToInCall(@NonNull android.os.ParcelFileDescriptor);
2425*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setShouldShowIncomingCallUi(boolean);
2426*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setTelecomCallId(@NonNull String);
2427*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.telecom.ConnectionRequest.Builder setVideoState(int);
2428*344a7f5eSAndroid Build Coastguard Worker  }
2429*344a7f5eSAndroid Build Coastguard Worker
2430*344a7f5eSAndroid Build Coastguard Worker  public abstract class ConnectionService extends android.app.Service {
2431*344a7f5eSAndroid Build Coastguard Worker    method public void onBindClient(@Nullable android.content.Intent);
2432*344a7f5eSAndroid Build Coastguard Worker  }
2433*344a7f5eSAndroid Build Coastguard Worker
2434*344a7f5eSAndroid Build Coastguard Worker}
2435*344a7f5eSAndroid Build Coastguard Worker
2436*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony {
2437*344a7f5eSAndroid Build Coastguard Worker
2438*344a7f5eSAndroid Build Coastguard Worker  public final class BarringInfo implements android.os.Parcelable {
2439*344a7f5eSAndroid Build Coastguard Worker    ctor public BarringInfo(@Nullable android.telephony.CellIdentity, @NonNull android.util.SparseArray<android.telephony.BarringInfo.BarringServiceInfo>);
2440*344a7f5eSAndroid Build Coastguard Worker  }
2441*344a7f5eSAndroid Build Coastguard Worker
2442*344a7f5eSAndroid Build Coastguard Worker  public static final class BarringInfo.BarringServiceInfo implements android.os.Parcelable {
2443*344a7f5eSAndroid Build Coastguard Worker    ctor public BarringInfo.BarringServiceInfo(int, boolean, int, int);
2444*344a7f5eSAndroid Build Coastguard Worker  }
2445*344a7f5eSAndroid Build Coastguard Worker
2446*344a7f5eSAndroid Build Coastguard Worker  public class MbmsDownloadSession implements java.lang.AutoCloseable {
2447*344a7f5eSAndroid Build Coastguard Worker    field public static final String MBMS_DOWNLOAD_SERVICE_OVERRIDE_METADATA = "mbms-download-service-override";
2448*344a7f5eSAndroid Build Coastguard Worker  }
2449*344a7f5eSAndroid Build Coastguard Worker
2450*344a7f5eSAndroid Build Coastguard Worker  public class MbmsGroupCallSession implements java.lang.AutoCloseable {
2451*344a7f5eSAndroid Build Coastguard Worker    field public static final String MBMS_GROUP_CALL_SERVICE_OVERRIDE_METADATA = "mbms-group-call-service-override";
2452*344a7f5eSAndroid Build Coastguard Worker  }
2453*344a7f5eSAndroid Build Coastguard Worker
2454*344a7f5eSAndroid Build Coastguard Worker  public class MbmsStreamingSession implements java.lang.AutoCloseable {
2455*344a7f5eSAndroid Build Coastguard Worker    field public static final String MBMS_STREAMING_SERVICE_OVERRIDE_METADATA = "mbms-streaming-service-override";
2456*344a7f5eSAndroid Build Coastguard Worker  }
2457*344a7f5eSAndroid Build Coastguard Worker
2458*344a7f5eSAndroid Build Coastguard Worker  public final class ModemActivityInfo implements android.os.Parcelable {
2459*344a7f5eSAndroid Build Coastguard Worker    ctor public ModemActivityInfo(long, int, int, @NonNull int[], int);
2460*344a7f5eSAndroid Build Coastguard Worker    method public boolean isEmpty();
2461*344a7f5eSAndroid Build Coastguard Worker    method public boolean isValid();
2462*344a7f5eSAndroid Build Coastguard Worker  }
2463*344a7f5eSAndroid Build Coastguard Worker
2464*344a7f5eSAndroid Build Coastguard Worker  public class PhoneNumberUtils {
2465*344a7f5eSAndroid Build Coastguard Worker    method public static int getMinMatchForTest();
2466*344a7f5eSAndroid Build Coastguard Worker    method public static void setMinMatchForTest(int);
2467*344a7f5eSAndroid Build Coastguard Worker  }
2468*344a7f5eSAndroid Build Coastguard Worker
2469*344a7f5eSAndroid Build Coastguard Worker  public final class PreciseDataConnectionState implements android.os.Parcelable {
2470*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public PreciseDataConnectionState(int, int, int, @NonNull String, @Nullable android.net.LinkProperties, int);
2471*344a7f5eSAndroid Build Coastguard Worker  }
2472*344a7f5eSAndroid Build Coastguard Worker
2473*344a7f5eSAndroid Build Coastguard Worker  public class ServiceState implements android.os.Parcelable {
2474*344a7f5eSAndroid Build Coastguard Worker    method public void addNetworkRegistrationInfo(android.telephony.NetworkRegistrationInfo);
2475*344a7f5eSAndroid Build Coastguard Worker    method public int getDataNetworkType();
2476*344a7f5eSAndroid Build Coastguard Worker    method public int getDataRegState();
2477*344a7f5eSAndroid Build Coastguard Worker    method public void setCdmaSystemAndNetworkId(int, int);
2478*344a7f5eSAndroid Build Coastguard Worker    method public void setCellBandwidths(int[]);
2479*344a7f5eSAndroid Build Coastguard Worker    method public void setChannelNumber(int);
2480*344a7f5eSAndroid Build Coastguard Worker    method public void setDataRoamingType(int);
2481*344a7f5eSAndroid Build Coastguard Worker    method public void setRilDataRadioTechnology(int);
2482*344a7f5eSAndroid Build Coastguard Worker    method public void setRilVoiceRadioTechnology(int);
2483*344a7f5eSAndroid Build Coastguard Worker    method public void setVoiceRoamingType(int);
2484*344a7f5eSAndroid Build Coastguard Worker  }
2485*344a7f5eSAndroid Build Coastguard Worker
2486*344a7f5eSAndroid Build Coastguard Worker  public final class SmsManager {
2487*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public int checkSmsShortCodeDestination(String, String);
2488*344a7f5eSAndroid Build Coastguard Worker    field public static final int SMS_CATEGORY_FREE_SHORT_CODE = 1; // 0x1
2489*344a7f5eSAndroid Build Coastguard Worker    field public static final int SMS_CATEGORY_NOT_SHORT_CODE = 0; // 0x0
2490*344a7f5eSAndroid Build Coastguard Worker    field public static final int SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE = 3; // 0x3
2491*344a7f5eSAndroid Build Coastguard Worker    field public static final int SMS_CATEGORY_PREMIUM_SHORT_CODE = 4; // 0x4
2492*344a7f5eSAndroid Build Coastguard Worker    field public static final int SMS_CATEGORY_STANDARD_SHORT_CODE = 2; // 0x2
2493*344a7f5eSAndroid Build Coastguard Worker  }
2494*344a7f5eSAndroid Build Coastguard Worker
2495*344a7f5eSAndroid Build Coastguard Worker  public class TelephonyManager {
2496*344a7f5eSAndroid Build Coastguard Worker    method public int addDevicePolicyOverrideApn(@NonNull android.content.Context, @NonNull android.telephony.data.ApnSetting);
2497*344a7f5eSAndroid Build Coastguard Worker    method public int getCarrierIdListVersion();
2498*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List<java.lang.String> getCertsFromCarrierPrivilegeAccessRules();
2499*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.telephony.data.ApnSetting> getDevicePolicyOverrideApns(@NonNull android.content.Context);
2500*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public String getLine1AlphaTag();
2501*344a7f5eSAndroid Build Coastguard Worker    method public android.util.Pair<java.lang.Integer,java.lang.Integer> getRadioHalVersion();
2502*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public long getSupportedRadioAccessFamily();
2503*344a7f5eSAndroid Build Coastguard Worker    method public boolean modifyDevicePolicyOverrideApn(@NonNull android.content.Context, int, @NonNull android.telephony.data.ApnSetting);
2504*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void refreshUiccProfile();
2505*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setCarrierTestOverride(String, String, String, String, String, String, String);
2506*344a7f5eSAndroid Build Coastguard Worker    method public void setCarrierTestOverride(String, String, String, String, String, String, String, String, String);
2507*344a7f5eSAndroid Build Coastguard Worker    field public static final int UNKNOWN_CARRIER_ID_LIST_VERSION = -1; // 0xffffffff
2508*344a7f5eSAndroid Build Coastguard Worker  }
2509*344a7f5eSAndroid Build Coastguard Worker
2510*344a7f5eSAndroid Build Coastguard Worker}
2511*344a7f5eSAndroid Build Coastguard Worker
2512*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.emergency {
2513*344a7f5eSAndroid Build Coastguard Worker
2514*344a7f5eSAndroid Build Coastguard Worker  public final class EmergencyNumber implements java.lang.Comparable<android.telephony.emergency.EmergencyNumber> android.os.Parcelable {
2515*344a7f5eSAndroid Build Coastguard Worker    field public static final int EMERGENCY_NUMBER_SOURCE_TEST = 32; // 0x20
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.telephony.ims {
2521*344a7f5eSAndroid Build Coastguard Worker
2522*344a7f5eSAndroid Build Coastguard Worker  public final class ImsCallProfile implements android.os.Parcelable {
2523*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_OEM_EXTRAS = "android.telephony.ims.extra.OEM_EXTRAS";
2524*344a7f5eSAndroid Build Coastguard Worker  }
2525*344a7f5eSAndroid Build Coastguard Worker
2526*344a7f5eSAndroid Build Coastguard Worker}
2527*344a7f5eSAndroid Build Coastguard Worker
2528*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.ims.feature {
2529*344a7f5eSAndroid Build Coastguard Worker
2530*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public static class ImsFeature.Capabilities {
2531*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated protected int mCapabilities;
2532*344a7f5eSAndroid Build Coastguard Worker  }
2533*344a7f5eSAndroid Build Coastguard Worker
2534*344a7f5eSAndroid Build Coastguard Worker}
2535*344a7f5eSAndroid Build Coastguard Worker
2536*344a7f5eSAndroid Build Coastguard Workerpackage android.text {
2537*344a7f5eSAndroid Build Coastguard Worker
2538*344a7f5eSAndroid Build Coastguard Worker  public final class FontConfig implements android.os.Parcelable {
2539*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
2540*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.text.FontConfig.Alias> getAliases();
2541*344a7f5eSAndroid Build Coastguard Worker    method @IntRange(from=0) public int getConfigVersion();
2542*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.text.FontConfig.FontFamily> getFontFamilies();
2543*344a7f5eSAndroid Build Coastguard Worker    method public long getLastModifiedTimeMillis();
2544*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
2545*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.text.FontConfig> CREATOR;
2546*344a7f5eSAndroid Build Coastguard Worker  }
2547*344a7f5eSAndroid Build Coastguard Worker
2548*344a7f5eSAndroid Build Coastguard Worker  public static final class FontConfig.Alias implements android.os.Parcelable {
2549*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
2550*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getName();
2551*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getOriginal();
2552*344a7f5eSAndroid Build Coastguard Worker    method @IntRange(from=0, to=1000) public int getWeight();
2553*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
2554*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.text.FontConfig.Alias> CREATOR;
2555*344a7f5eSAndroid Build Coastguard Worker  }
2556*344a7f5eSAndroid Build Coastguard Worker
2557*344a7f5eSAndroid Build Coastguard Worker  public static final class FontConfig.Font implements android.os.Parcelable {
2558*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
2559*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.io.File getFile();
2560*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getFontFamilyName();
2561*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getFontVariationSettings();
2562*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getPostScriptName();
2563*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.graphics.fonts.FontStyle getStyle();
2564*344a7f5eSAndroid Build Coastguard Worker    method public int getTtcIndex();
2565*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
2566*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.text.FontConfig.Font> CREATOR;
2567*344a7f5eSAndroid Build Coastguard Worker  }
2568*344a7f5eSAndroid Build Coastguard Worker
2569*344a7f5eSAndroid Build Coastguard Worker  public static final class FontConfig.FontFamily implements android.os.Parcelable {
2570*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
2571*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.text.FontConfig.Font> getFontList();
2572*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.LocaleList getLocaleList();
2573*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getName();
2574*344a7f5eSAndroid Build Coastguard Worker    method public int getVariant();
2575*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
2576*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.text.FontConfig.FontFamily> CREATOR;
2577*344a7f5eSAndroid Build Coastguard Worker    field public static final int VARIANT_COMPACT = 1; // 0x1
2578*344a7f5eSAndroid Build Coastguard Worker    field public static final int VARIANT_DEFAULT = 0; // 0x0
2579*344a7f5eSAndroid Build Coastguard Worker    field public static final int VARIANT_ELEGANT = 2; // 0x2
2580*344a7f5eSAndroid Build Coastguard Worker  }
2581*344a7f5eSAndroid Build Coastguard Worker
2582*344a7f5eSAndroid Build Coastguard Worker  public static final class Selection.MemoryTextWatcher implements android.text.TextWatcher {
2583*344a7f5eSAndroid Build Coastguard Worker    ctor public Selection.MemoryTextWatcher();
2584*344a7f5eSAndroid Build Coastguard Worker    method public void afterTextChanged(android.text.Editable);
2585*344a7f5eSAndroid Build Coastguard Worker    method public void beforeTextChanged(CharSequence, int, int, int);
2586*344a7f5eSAndroid Build Coastguard Worker    method public void onTextChanged(CharSequence, int, int, int);
2587*344a7f5eSAndroid Build Coastguard Worker  }
2588*344a7f5eSAndroid Build Coastguard Worker
2589*344a7f5eSAndroid Build Coastguard Worker}
2590*344a7f5eSAndroid Build Coastguard Worker
2591*344a7f5eSAndroid Build Coastguard Workerpackage android.transition {
2592*344a7f5eSAndroid Build Coastguard Worker
2593*344a7f5eSAndroid Build Coastguard Worker  public class TransitionManager {
2594*344a7f5eSAndroid Build Coastguard Worker    method public android.transition.Transition getTransition(android.transition.Scene);
2595*344a7f5eSAndroid Build Coastguard Worker  }
2596*344a7f5eSAndroid Build Coastguard Worker
2597*344a7f5eSAndroid Build Coastguard Worker}
2598*344a7f5eSAndroid Build Coastguard Worker
2599*344a7f5eSAndroid Build Coastguard Workerpackage android.util {
2600*344a7f5eSAndroid Build Coastguard Worker
2601*344a7f5eSAndroid Build Coastguard Worker  public final class ArraySet<E> implements java.util.Collection<E> java.util.Set<E> {
2602*344a7f5eSAndroid Build Coastguard Worker    method public E valueAtUnchecked(int);
2603*344a7f5eSAndroid Build Coastguard Worker  }
2604*344a7f5eSAndroid Build Coastguard Worker
2605*344a7f5eSAndroid Build Coastguard Worker  public class FeatureFlagUtils {
2606*344a7f5eSAndroid Build Coastguard Worker    ctor public FeatureFlagUtils();
2607*344a7f5eSAndroid Build Coastguard Worker    method public static java.util.Map<java.lang.String,java.lang.String> getAllFeatureFlags();
2608*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isEnabled(android.content.Context, String);
2609*344a7f5eSAndroid Build Coastguard Worker    method public static void setEnabled(android.content.Context, String, boolean);
2610*344a7f5eSAndroid Build Coastguard Worker    field public static final String FFLAG_OVERRIDE_PREFIX = "sys.fflag.override.";
2611*344a7f5eSAndroid Build Coastguard Worker    field public static final String FFLAG_PREFIX = "sys.fflag.";
2612*344a7f5eSAndroid Build Coastguard Worker    field public static final String HEARING_AID_SETTINGS = "settings_bluetooth_hearing_aid";
2613*344a7f5eSAndroid Build Coastguard Worker    field public static final String PERSIST_PREFIX = "persist.sys.fflag.override.";
2614*344a7f5eSAndroid Build Coastguard Worker    field public static final String SETTINGS_WIFITRACKER2 = "settings_wifitracker2";
2615*344a7f5eSAndroid Build Coastguard Worker  }
2616*344a7f5eSAndroid Build Coastguard Worker
2617*344a7f5eSAndroid Build Coastguard Worker  public class SparseArrayMap<K, V> {
2618*344a7f5eSAndroid Build Coastguard Worker    ctor public SparseArrayMap();
2619*344a7f5eSAndroid Build Coastguard Worker    method public void add(int, @NonNull K, @Nullable V);
2620*344a7f5eSAndroid Build Coastguard Worker    method public void clear();
2621*344a7f5eSAndroid Build Coastguard Worker    method public boolean contains(int, @NonNull K);
2622*344a7f5eSAndroid Build Coastguard Worker    method public void delete(int);
2623*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public V delete(int, @NonNull K);
2624*344a7f5eSAndroid Build Coastguard Worker    method public void forEach(@NonNull java.util.function.Consumer<V>);
2625*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public V get(int, @NonNull K);
2626*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public V getOrDefault(int, @NonNull K, V);
2627*344a7f5eSAndroid Build Coastguard Worker    method public int indexOfKey(int);
2628*344a7f5eSAndroid Build Coastguard Worker    method public int indexOfKey(int, @NonNull K);
2629*344a7f5eSAndroid Build Coastguard Worker    method public int keyAt(int);
2630*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public K keyAt(int, int);
2631*344a7f5eSAndroid Build Coastguard Worker    method public int numElementsForKey(int);
2632*344a7f5eSAndroid Build Coastguard Worker    method public int numMaps();
2633*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public V valueAt(int, int);
2634*344a7f5eSAndroid Build Coastguard Worker  }
2635*344a7f5eSAndroid Build Coastguard Worker
2636*344a7f5eSAndroid Build Coastguard Worker  public class TimeUtils {
2637*344a7f5eSAndroid Build Coastguard Worker    method public static String formatDuration(long);
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.util.proto {
2643*344a7f5eSAndroid Build Coastguard Worker
2644*344a7f5eSAndroid Build Coastguard Worker  public final class EncodedBuffer {
2645*344a7f5eSAndroid Build Coastguard Worker    ctor public EncodedBuffer();
2646*344a7f5eSAndroid Build Coastguard Worker    ctor public EncodedBuffer(int);
2647*344a7f5eSAndroid Build Coastguard Worker    method public void dumpBuffers(String);
2648*344a7f5eSAndroid Build Coastguard Worker    method public static void dumpByteString(String, String, byte[]);
2649*344a7f5eSAndroid Build Coastguard Worker    method public void editRawFixed32(int, int);
2650*344a7f5eSAndroid Build Coastguard Worker    method public byte[] getBytes(int);
2651*344a7f5eSAndroid Build Coastguard Worker    method public int getChunkCount();
2652*344a7f5eSAndroid Build Coastguard Worker    method public String getDebugString();
2653*344a7f5eSAndroid Build Coastguard Worker    method public int getRawFixed32At(int);
2654*344a7f5eSAndroid Build Coastguard Worker    method public static int getRawVarint32Size(int);
2655*344a7f5eSAndroid Build Coastguard Worker    method public static int getRawVarint64Size(long);
2656*344a7f5eSAndroid Build Coastguard Worker    method public static int getRawZigZag32Size(int);
2657*344a7f5eSAndroid Build Coastguard Worker    method public static int getRawZigZag64Size(long);
2658*344a7f5eSAndroid Build Coastguard Worker    method public int getReadPos();
2659*344a7f5eSAndroid Build Coastguard Worker    method public int getReadableSize();
2660*344a7f5eSAndroid Build Coastguard Worker    method public int getSize();
2661*344a7f5eSAndroid Build Coastguard Worker    method public int getWriteBufIndex();
2662*344a7f5eSAndroid Build Coastguard Worker    method public int getWriteIndex();
2663*344a7f5eSAndroid Build Coastguard Worker    method public int getWritePos();
2664*344a7f5eSAndroid Build Coastguard Worker    method public byte readRawByte();
2665*344a7f5eSAndroid Build Coastguard Worker    method public int readRawFixed32();
2666*344a7f5eSAndroid Build Coastguard Worker    method public long readRawUnsigned();
2667*344a7f5eSAndroid Build Coastguard Worker    method public void rewindRead();
2668*344a7f5eSAndroid Build Coastguard Worker    method public void rewindWriteTo(int);
2669*344a7f5eSAndroid Build Coastguard Worker    method public void skipRead(int);
2670*344a7f5eSAndroid Build Coastguard Worker    method public void startEditing();
2671*344a7f5eSAndroid Build Coastguard Worker    method public void writeFromThisBuffer(int, int);
2672*344a7f5eSAndroid Build Coastguard Worker    method public void writeRawBuffer(byte[]);
2673*344a7f5eSAndroid Build Coastguard Worker    method public void writeRawBuffer(byte[], int, int);
2674*344a7f5eSAndroid Build Coastguard Worker    method public void writeRawByte(byte);
2675*344a7f5eSAndroid Build Coastguard Worker    method public void writeRawFixed32(int);
2676*344a7f5eSAndroid Build Coastguard Worker    method public void writeRawFixed64(long);
2677*344a7f5eSAndroid Build Coastguard Worker    method public void writeRawVarint32(int);
2678*344a7f5eSAndroid Build Coastguard Worker    method public void writeRawVarint64(long);
2679*344a7f5eSAndroid Build Coastguard Worker    method public void writeRawZigZag32(int);
2680*344a7f5eSAndroid Build Coastguard Worker    method public void writeRawZigZag64(long);
2681*344a7f5eSAndroid Build Coastguard Worker  }
2682*344a7f5eSAndroid Build Coastguard Worker
2683*344a7f5eSAndroid Build Coastguard Worker  public class ProtoParseException extends java.lang.RuntimeException {
2684*344a7f5eSAndroid Build Coastguard Worker    ctor public ProtoParseException(String);
2685*344a7f5eSAndroid Build Coastguard Worker  }
2686*344a7f5eSAndroid Build Coastguard Worker
2687*344a7f5eSAndroid Build Coastguard Worker  public class WireTypeMismatchException extends android.util.proto.ProtoParseException {
2688*344a7f5eSAndroid Build Coastguard Worker    ctor public WireTypeMismatchException(String);
2689*344a7f5eSAndroid Build Coastguard Worker  }
2690*344a7f5eSAndroid Build Coastguard Worker
2691*344a7f5eSAndroid Build Coastguard Worker}
2692*344a7f5eSAndroid Build Coastguard Worker
2693*344a7f5eSAndroid Build Coastguard Workerpackage android.view {
2694*344a7f5eSAndroid Build Coastguard Worker
2695*344a7f5eSAndroid Build Coastguard Worker  public abstract class ActionMode {
2696*344a7f5eSAndroid Build Coastguard Worker    method public boolean isUiFocusable();
2697*344a7f5eSAndroid Build Coastguard Worker  }
2698*344a7f5eSAndroid Build Coastguard Worker
2699*344a7f5eSAndroid Build Coastguard Worker  public final class Choreographer {
2700*344a7f5eSAndroid Build Coastguard Worker    method public static long getFrameDelay();
2701*344a7f5eSAndroid Build Coastguard Worker    method public void postCallback(int, Runnable, Object);
2702*344a7f5eSAndroid Build Coastguard Worker    method public void postCallbackDelayed(int, Runnable, Object, long);
2703*344a7f5eSAndroid Build Coastguard Worker    method public void removeCallbacks(int, Runnable, Object);
2704*344a7f5eSAndroid Build Coastguard Worker    method public static void setFrameDelay(long);
2705*344a7f5eSAndroid Build Coastguard Worker    field public static final int CALLBACK_ANIMATION = 1; // 0x1
2706*344a7f5eSAndroid Build Coastguard Worker  }
2707*344a7f5eSAndroid Build Coastguard Worker
2708*344a7f5eSAndroid Build Coastguard Worker  public final class ContentInfo implements android.os.Parcelable {
2709*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>);
2710*344a7f5eSAndroid Build Coastguard Worker    method public void releasePermissions();
2711*344a7f5eSAndroid Build Coastguard Worker  }
2712*344a7f5eSAndroid Build Coastguard Worker
2713*344a7f5eSAndroid Build Coastguard Worker  public static final class ContentInfo.Builder {
2714*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.ContentInfo.Builder setDragAndDropPermissions(@Nullable android.view.DragAndDropPermissions);
2715*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.ContentInfo.Builder setInputContentInfo(@Nullable android.view.inputmethod.InputContentInfo);
2716*344a7f5eSAndroid Build Coastguard Worker  }
2717*344a7f5eSAndroid Build Coastguard Worker
2718*344a7f5eSAndroid Build Coastguard Worker  public final class Display {
2719*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public int[] getReportedHdrTypes();
2720*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.graphics.ColorSpace[] getSupportedWideColorGamut();
2721*344a7f5eSAndroid Build Coastguard Worker    method public int getType();
2722*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasAccess(int);
2723*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_TRUSTED = 128; // 0x80
2724*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_EXTERNAL = 2; // 0x2
2725*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_INTERNAL = 1; // 0x1
2726*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_OVERLAY = 4; // 0x4
2727*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_UNKNOWN = 0; // 0x0
2728*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_VIRTUAL = 5; // 0x5
2729*344a7f5eSAndroid Build Coastguard Worker    field public static final int TYPE_WIFI = 3; // 0x3
2730*344a7f5eSAndroid Build Coastguard Worker  }
2731*344a7f5eSAndroid Build Coastguard Worker
2732*344a7f5eSAndroid Build Coastguard Worker  public class FocusFinder {
2733*344a7f5eSAndroid Build Coastguard Worker    method public static void sort(android.view.View[], int, int, android.view.ViewGroup, boolean);
2734*344a7f5eSAndroid Build Coastguard Worker  }
2735*344a7f5eSAndroid Build Coastguard Worker
2736*344a7f5eSAndroid Build Coastguard Worker  public final class InputDevice implements android.os.Parcelable {
2737*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.DISABLE_INPUT_DEVICE") public void disable();
2738*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.DISABLE_INPUT_DEVICE") public void enable();
2739*344a7f5eSAndroid Build Coastguard Worker  }
2740*344a7f5eSAndroid Build Coastguard Worker
2741*344a7f5eSAndroid Build Coastguard Worker  public class KeyEvent extends android.view.InputEvent implements android.os.Parcelable {
2742*344a7f5eSAndroid Build Coastguard Worker    method public static String actionToString(int);
2743*344a7f5eSAndroid Build Coastguard Worker    method public final void setDisplayId(int);
2744*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_IS_ACCESSIBILITY_EVENT = 2048; // 0x800
2745*344a7f5eSAndroid Build Coastguard Worker    field public static final int LAST_KEYCODE = 288; // 0x120
2746*344a7f5eSAndroid Build Coastguard Worker  }
2747*344a7f5eSAndroid Build Coastguard Worker
2748*344a7f5eSAndroid Build Coastguard Worker  public final class KeyboardShortcutGroup implements android.os.Parcelable {
2749*344a7f5eSAndroid Build Coastguard Worker    ctor public KeyboardShortcutGroup(@Nullable CharSequence, @NonNull java.util.List<android.view.KeyboardShortcutInfo>, boolean);
2750*344a7f5eSAndroid Build Coastguard Worker    ctor public KeyboardShortcutGroup(@Nullable CharSequence, boolean);
2751*344a7f5eSAndroid Build Coastguard Worker    method public boolean isSystemGroup();
2752*344a7f5eSAndroid Build Coastguard Worker  }
2753*344a7f5eSAndroid Build Coastguard Worker
2754*344a7f5eSAndroid Build Coastguard Worker  public abstract class LayoutInflater {
2755*344a7f5eSAndroid Build Coastguard Worker    method public void setPrecompiledLayoutsEnabledForTesting(boolean);
2756*344a7f5eSAndroid Build Coastguard Worker  }
2757*344a7f5eSAndroid Build Coastguard Worker
2758*344a7f5eSAndroid Build Coastguard Worker  public final class MotionEvent extends android.view.InputEvent implements android.os.Parcelable {
2759*344a7f5eSAndroid Build Coastguard Worker    method public void setActionButton(int);
2760*344a7f5eSAndroid Build Coastguard Worker    method public void setButtonState(int);
2761*344a7f5eSAndroid Build Coastguard Worker    method public void setDisplayId(int);
2762*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_IS_ACCESSIBILITY_EVENT = 2048; // 0x800
2763*344a7f5eSAndroid Build Coastguard Worker  }
2764*344a7f5eSAndroid Build Coastguard Worker
2765*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 {
2766*344a7f5eSAndroid Build Coastguard Worker    method public abstract String asyncImpl() default "";
2767*344a7f5eSAndroid Build Coastguard Worker  }
2768*344a7f5eSAndroid Build Coastguard Worker
2769*344a7f5eSAndroid Build Coastguard Worker  public final class SurfaceControl implements android.os.Parcelable {
2770*344a7f5eSAndroid Build Coastguard Worker    ctor public SurfaceControl(@NonNull android.view.SurfaceControl, @NonNull String);
2771*344a7f5eSAndroid Build Coastguard Worker    method public static long acquireFrameRateFlexibilityToken();
2772*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.os.IBinder getInternalDisplayToken();
2773*344a7f5eSAndroid Build Coastguard Worker    method public boolean isSameSurface(@NonNull android.view.SurfaceControl);
2774*344a7f5eSAndroid Build Coastguard Worker    method public static void overrideHdrTypes(@NonNull android.os.IBinder, @NonNull int[]);
2775*344a7f5eSAndroid Build Coastguard Worker    method public static void releaseFrameRateFlexibilityToken(long);
2776*344a7f5eSAndroid Build Coastguard Worker  }
2777*344a7f5eSAndroid Build Coastguard Worker
2778*344a7f5eSAndroid Build Coastguard Worker  public class SurfaceControlViewHost {
2779*344a7f5eSAndroid Build Coastguard Worker    method public void relayout(android.view.WindowManager.LayoutParams);
2780*344a7f5eSAndroid Build Coastguard Worker    method public void setView(@NonNull android.view.View, @NonNull android.view.WindowManager.LayoutParams);
2781*344a7f5eSAndroid Build Coastguard Worker  }
2782*344a7f5eSAndroid Build Coastguard Worker
2783*344a7f5eSAndroid Build Coastguard Worker  @UiThread public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback {
2784*344a7f5eSAndroid Build Coastguard Worker    method public android.view.View getTooltipView();
2785*344a7f5eSAndroid Build Coastguard Worker    method public boolean isAutofilled();
2786*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isDefaultFocusHighlightEnabled();
2787*344a7f5eSAndroid Build Coastguard Worker    method public boolean isDefaultFocusHighlightNeeded(android.graphics.drawable.Drawable, android.graphics.drawable.Drawable);
2788*344a7f5eSAndroid Build Coastguard Worker    method protected void resetResolvedDrawables();
2789*344a7f5eSAndroid Build Coastguard Worker    method public void resetResolvedLayoutDirection();
2790*344a7f5eSAndroid Build Coastguard Worker    method public void resetResolvedPadding();
2791*344a7f5eSAndroid Build Coastguard Worker    method public void resetResolvedTextAlignment();
2792*344a7f5eSAndroid Build Coastguard Worker    method public void resetResolvedTextDirection();
2793*344a7f5eSAndroid Build Coastguard Worker    method public void resetRtlProperties();
2794*344a7f5eSAndroid Build Coastguard Worker    method public boolean restoreFocusInCluster(int);
2795*344a7f5eSAndroid Build Coastguard Worker    method public boolean restoreFocusNotInCluster();
2796*344a7f5eSAndroid Build Coastguard Worker    method public void setAutofilled(boolean, boolean);
2797*344a7f5eSAndroid Build Coastguard Worker    method public final void setFocusedInCluster();
2798*344a7f5eSAndroid Build Coastguard Worker    method public void setIsRootNamespace(boolean);
2799*344a7f5eSAndroid Build Coastguard Worker    method public final void setShowingLayoutBounds(boolean);
2800*344a7f5eSAndroid Build Coastguard Worker  }
2801*344a7f5eSAndroid Build Coastguard Worker
2802*344a7f5eSAndroid Build Coastguard Worker  public class ViewConfiguration {
2803*344a7f5eSAndroid Build Coastguard Worker    method public long getDeviceGlobalActionKeyTimeout();
2804*344a7f5eSAndroid Build Coastguard Worker    method public static int getHoverTooltipHideShortTimeout();
2805*344a7f5eSAndroid Build Coastguard Worker    method public static int getHoverTooltipHideTimeout();
2806*344a7f5eSAndroid Build Coastguard Worker    method public static int getHoverTooltipShowTimeout();
2807*344a7f5eSAndroid Build Coastguard Worker    method public static int getLongPressTooltipHideTimeout();
2808*344a7f5eSAndroid Build Coastguard Worker  }
2809*344a7f5eSAndroid Build Coastguard Worker
2810*344a7f5eSAndroid Build Coastguard Worker  public class ViewDebug {
2811*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>);
2812*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static AutoCloseable startRenderingCommandsCapture(android.view.View, java.util.concurrent.Executor, java.util.concurrent.Callable<java.io.OutputStream>);
2813*344a7f5eSAndroid Build Coastguard Worker  }
2814*344a7f5eSAndroid Build Coastguard Worker
2815*344a7f5eSAndroid Build Coastguard Worker  public abstract class Window {
2816*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.View getNavigationBarBackgroundView();
2817*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.View getStatusBarBackgroundView();
2818*344a7f5eSAndroid Build Coastguard Worker  }
2819*344a7f5eSAndroid Build Coastguard Worker
2820*344a7f5eSAndroid Build Coastguard Worker  public interface WindowManager extends android.view.ViewManager {
2821*344a7f5eSAndroid Build Coastguard Worker    method public default int getDisplayImePolicy(int);
2822*344a7f5eSAndroid Build Coastguard Worker    method public default void holdLock(android.os.IBinder, int);
2823*344a7f5eSAndroid Build Coastguard Worker    method public default boolean isTaskSnapshotSupported();
2824*344a7f5eSAndroid Build Coastguard Worker    method public default void setDisplayImePolicy(int, int);
2825*344a7f5eSAndroid Build Coastguard Worker    method public default void setShouldShowSystemDecors(int, boolean);
2826*344a7f5eSAndroid Build Coastguard Worker    method public default void setShouldShowWithInsecureKeyguard(int, boolean);
2827*344a7f5eSAndroid Build Coastguard Worker    method public default boolean shouldShowSystemDecors(int);
2828*344a7f5eSAndroid Build Coastguard Worker    field public static final int DISPLAY_IME_POLICY_FALLBACK_DISPLAY = 1; // 0x1
2829*344a7f5eSAndroid Build Coastguard Worker    field public static final int DISPLAY_IME_POLICY_HIDE = 2; // 0x2
2830*344a7f5eSAndroid Build Coastguard Worker    field public static final int DISPLAY_IME_POLICY_LOCAL = 0; // 0x0
2831*344a7f5eSAndroid Build Coastguard Worker  }
2832*344a7f5eSAndroid Build Coastguard Worker
2833*344a7f5eSAndroid Build Coastguard Worker  public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable {
2834*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public final android.os.IBinder getWindowContextToken();
2835*344a7f5eSAndroid Build Coastguard Worker    method public final void setWindowContextToken(@NonNull android.os.IBinder);
2836*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACCESSIBILITY_TITLE_CHANGED = 33554432; // 0x2000000
2837*344a7f5eSAndroid Build Coastguard Worker    field public static final int PRIVATE_FLAG_NO_MOVE_ANIMATION = 64; // 0x40
2838*344a7f5eSAndroid Build Coastguard Worker    field public CharSequence accessibilityTitle;
2839*344a7f5eSAndroid Build Coastguard Worker    field public int privateFlags;
2840*344a7f5eSAndroid Build Coastguard Worker  }
2841*344a7f5eSAndroid Build Coastguard Worker
2842*344a7f5eSAndroid Build Coastguard Worker}
2843*344a7f5eSAndroid Build Coastguard Worker
2844*344a7f5eSAndroid Build Coastguard Workerpackage android.view.accessibility {
2845*344a7f5eSAndroid Build Coastguard Worker
2846*344a7f5eSAndroid Build Coastguard Worker  public final class AccessibilityManager {
2847*344a7f5eSAndroid Build Coastguard Worker    method public void addAccessibilityServicesStateChangeListener(@NonNull android.view.accessibility.AccessibilityManager.AccessibilityServicesStateChangeListener, @Nullable android.os.Handler);
2848*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ACCESSIBILITY) public java.util.List<java.lang.String> getAccessibilityShortcutTargets(int);
2849*344a7f5eSAndroid Build Coastguard Worker    method public void removeAccessibilityServicesStateChangeListener(@NonNull android.view.accessibility.AccessibilityManager.AccessibilityServicesStateChangeListener);
2850*344a7f5eSAndroid Build Coastguard Worker  }
2851*344a7f5eSAndroid Build Coastguard Worker
2852*344a7f5eSAndroid Build Coastguard Worker  public static interface AccessibilityManager.AccessibilityServicesStateChangeListener {
2853*344a7f5eSAndroid Build Coastguard Worker    method public void onAccessibilityServicesStateChanged(android.view.accessibility.AccessibilityManager);
2854*344a7f5eSAndroid Build Coastguard Worker  }
2855*344a7f5eSAndroid Build Coastguard Worker
2856*344a7f5eSAndroid Build Coastguard Worker  public class AccessibilityNodeInfo implements android.os.Parcelable {
2857*344a7f5eSAndroid Build Coastguard Worker    method public void addChild(@NonNull android.os.IBinder);
2858*344a7f5eSAndroid Build Coastguard Worker    method public long getSourceNodeId();
2859*344a7f5eSAndroid Build Coastguard Worker    method public void setLeashedParent(@Nullable android.os.IBinder, int);
2860*344a7f5eSAndroid Build Coastguard Worker    method public static void setNumInstancesInUseCounter(java.util.concurrent.atomic.AtomicInteger);
2861*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcelNoRecycle(android.os.Parcel, int);
2862*344a7f5eSAndroid Build Coastguard Worker  }
2863*344a7f5eSAndroid Build Coastguard Worker
2864*344a7f5eSAndroid Build Coastguard Worker  public static final class AccessibilityNodeInfo.TouchDelegateInfo implements android.os.Parcelable {
2865*344a7f5eSAndroid Build Coastguard Worker    method public long getAccessibilityIdForRegion(@NonNull android.graphics.Region);
2866*344a7f5eSAndroid Build Coastguard Worker  }
2867*344a7f5eSAndroid Build Coastguard Worker
2868*344a7f5eSAndroid Build Coastguard Worker  public final class AccessibilityWindowInfo implements android.os.Parcelable {
2869*344a7f5eSAndroid Build Coastguard Worker    method public static void setNumInstancesInUseCounter(java.util.concurrent.atomic.AtomicInteger);
2870*344a7f5eSAndroid Build Coastguard Worker  }
2871*344a7f5eSAndroid Build Coastguard Worker
2872*344a7f5eSAndroid Build Coastguard Worker}
2873*344a7f5eSAndroid Build Coastguard Worker
2874*344a7f5eSAndroid Build Coastguard Workerpackage android.view.animation {
2875*344a7f5eSAndroid Build Coastguard Worker
2876*344a7f5eSAndroid Build Coastguard Worker  public class AnimationUtils {
2877*344a7f5eSAndroid Build Coastguard Worker    method public static void lockAnimationClock(long);
2878*344a7f5eSAndroid Build Coastguard Worker    method public static void unlockAnimationClock();
2879*344a7f5eSAndroid Build Coastguard Worker  }
2880*344a7f5eSAndroid Build Coastguard Worker
2881*344a7f5eSAndroid Build Coastguard Worker}
2882*344a7f5eSAndroid Build Coastguard Worker
2883*344a7f5eSAndroid Build Coastguard Workerpackage android.view.autofill {
2884*344a7f5eSAndroid Build Coastguard Worker
2885*344a7f5eSAndroid Build Coastguard Worker  public final class AutofillId implements android.os.Parcelable {
2886*344a7f5eSAndroid Build Coastguard Worker    ctor public AutofillId(int);
2887*344a7f5eSAndroid Build Coastguard Worker    ctor public AutofillId(@NonNull android.view.autofill.AutofillId, int);
2888*344a7f5eSAndroid Build Coastguard Worker    ctor public AutofillId(int, int);
2889*344a7f5eSAndroid Build Coastguard Worker    ctor public AutofillId(@NonNull android.view.autofill.AutofillId, long, int);
2890*344a7f5eSAndroid Build Coastguard Worker    method public boolean equalsIgnoreSession(@Nullable android.view.autofill.AutofillId);
2891*344a7f5eSAndroid Build Coastguard Worker    method public boolean isNonVirtual();
2892*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.view.autofill.AutofillId withoutSession(@NonNull android.view.autofill.AutofillId);
2893*344a7f5eSAndroid Build Coastguard Worker  }
2894*344a7f5eSAndroid Build Coastguard Worker
2895*344a7f5eSAndroid Build Coastguard Worker  public final class AutofillManager {
2896*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_AUTOFILL_SMART_SUGGESTION_SUPPORTED_MODES = "smart_suggestion_supported_modes";
2897*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_SMART_SUGGESTION_OFF = 0; // 0x0
2898*344a7f5eSAndroid Build Coastguard Worker    field public static final int FLAG_SMART_SUGGESTION_SYSTEM = 1; // 0x1
2899*344a7f5eSAndroid Build Coastguard Worker    field public static final int MAX_TEMP_AUGMENTED_SERVICE_DURATION_MS = 120000; // 0x1d4c0
2900*344a7f5eSAndroid Build Coastguard Worker  }
2901*344a7f5eSAndroid Build Coastguard Worker
2902*344a7f5eSAndroid Build Coastguard Worker}
2903*344a7f5eSAndroid Build Coastguard Worker
2904*344a7f5eSAndroid Build Coastguard Workerpackage android.view.contentcapture {
2905*344a7f5eSAndroid Build Coastguard Worker
2906*344a7f5eSAndroid Build Coastguard Worker  public final class ContentCaptureManager {
2907*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_CONTENT_CAPTURE) public static void resetTemporaryService(int);
2908*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_CONTENT_CAPTURE) public static void setDefaultServiceEnabled(int, boolean);
2909*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_CONTENT_CAPTURE) public static void setTemporaryService(int, @NonNull String, int);
2910*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_PROPERTY_IDLE_FLUSH_FREQUENCY = "idle_flush_frequency";
2911*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_PROPERTY_LOGGING_LEVEL = "logging_level";
2912*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_PROPERTY_LOG_HISTORY_SIZE = "log_history_size";
2913*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_PROPERTY_MAX_BUFFER_SIZE = "max_buffer_size";
2914*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_PROPERTY_SERVICE_EXPLICITLY_ENABLED = "service_explicitly_enabled";
2915*344a7f5eSAndroid Build Coastguard Worker    field public static final String DEVICE_CONFIG_PROPERTY_TEXT_CHANGE_FLUSH_FREQUENCY = "text_change_flush_frequency";
2916*344a7f5eSAndroid Build Coastguard Worker    field public static final int LOGGING_LEVEL_DEBUG = 1; // 0x1
2917*344a7f5eSAndroid Build Coastguard Worker    field public static final int LOGGING_LEVEL_OFF = 0; // 0x0
2918*344a7f5eSAndroid Build Coastguard Worker    field public static final int LOGGING_LEVEL_VERBOSE = 2; // 0x2
2919*344a7f5eSAndroid Build Coastguard Worker  }
2920*344a7f5eSAndroid Build Coastguard Worker
2921*344a7f5eSAndroid Build Coastguard Worker  public final class ViewNode extends android.app.assist.AssistStructure.ViewNode {
2922*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static android.view.contentcapture.ViewNode readFromParcel(@NonNull android.os.Parcel);
2923*344a7f5eSAndroid Build Coastguard Worker    method public static void writeToParcel(@NonNull android.os.Parcel, @Nullable android.view.contentcapture.ViewNode, int);
2924*344a7f5eSAndroid Build Coastguard Worker  }
2925*344a7f5eSAndroid Build Coastguard Worker
2926*344a7f5eSAndroid Build Coastguard Worker  public static final class ViewNode.ViewStructureImpl extends android.view.ViewStructure {
2927*344a7f5eSAndroid Build Coastguard Worker    ctor public ViewNode.ViewStructureImpl(@NonNull android.view.View);
2928*344a7f5eSAndroid Build Coastguard Worker    ctor public ViewNode.ViewStructureImpl(@NonNull android.view.autofill.AutofillId, long, int);
2929*344a7f5eSAndroid Build Coastguard Worker    method public int addChildCount(int);
2930*344a7f5eSAndroid Build Coastguard Worker    method public void asyncCommit();
2931*344a7f5eSAndroid Build Coastguard Worker    method public android.view.ViewStructure asyncNewChild(int);
2932*344a7f5eSAndroid Build Coastguard Worker    method public android.view.autofill.AutofillId getAutofillId();
2933*344a7f5eSAndroid Build Coastguard Worker    method public int getChildCount();
2934*344a7f5eSAndroid Build Coastguard Worker    method public android.os.Bundle getExtras();
2935*344a7f5eSAndroid Build Coastguard Worker    method public CharSequence getHint();
2936*344a7f5eSAndroid Build Coastguard Worker    method public android.view.contentcapture.ViewNode getNode();
2937*344a7f5eSAndroid Build Coastguard Worker    method public android.graphics.Rect getTempRect();
2938*344a7f5eSAndroid Build Coastguard Worker    method public CharSequence getText();
2939*344a7f5eSAndroid Build Coastguard Worker    method public int getTextSelectionEnd();
2940*344a7f5eSAndroid Build Coastguard Worker    method public int getTextSelectionStart();
2941*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasExtras();
2942*344a7f5eSAndroid Build Coastguard Worker    method public android.view.ViewStructure newChild(int);
2943*344a7f5eSAndroid Build Coastguard Worker    method public android.view.ViewStructure.HtmlInfo.Builder newHtmlInfoBuilder(String);
2944*344a7f5eSAndroid Build Coastguard Worker    method public void setAccessibilityFocused(boolean);
2945*344a7f5eSAndroid Build Coastguard Worker    method public void setActivated(boolean);
2946*344a7f5eSAndroid Build Coastguard Worker    method public void setAlpha(float);
2947*344a7f5eSAndroid Build Coastguard Worker    method public void setAssistBlocked(boolean);
2948*344a7f5eSAndroid Build Coastguard Worker    method public void setAutofillHints(String[]);
2949*344a7f5eSAndroid Build Coastguard Worker    method public void setAutofillId(android.view.autofill.AutofillId);
2950*344a7f5eSAndroid Build Coastguard Worker    method public void setAutofillId(android.view.autofill.AutofillId, int);
2951*344a7f5eSAndroid Build Coastguard Worker    method public void setAutofillOptions(CharSequence[]);
2952*344a7f5eSAndroid Build Coastguard Worker    method public void setAutofillType(int);
2953*344a7f5eSAndroid Build Coastguard Worker    method public void setAutofillValue(android.view.autofill.AutofillValue);
2954*344a7f5eSAndroid Build Coastguard Worker    method public void setCheckable(boolean);
2955*344a7f5eSAndroid Build Coastguard Worker    method public void setChecked(boolean);
2956*344a7f5eSAndroid Build Coastguard Worker    method public void setChildCount(int);
2957*344a7f5eSAndroid Build Coastguard Worker    method public void setClassName(String);
2958*344a7f5eSAndroid Build Coastguard Worker    method public void setClickable(boolean);
2959*344a7f5eSAndroid Build Coastguard Worker    method public void setContentDescription(CharSequence);
2960*344a7f5eSAndroid Build Coastguard Worker    method public void setContextClickable(boolean);
2961*344a7f5eSAndroid Build Coastguard Worker    method public void setDataIsSensitive(boolean);
2962*344a7f5eSAndroid Build Coastguard Worker    method public void setDimens(int, int, int, int, int, int);
2963*344a7f5eSAndroid Build Coastguard Worker    method public void setElevation(float);
2964*344a7f5eSAndroid Build Coastguard Worker    method public void setEnabled(boolean);
2965*344a7f5eSAndroid Build Coastguard Worker    method public void setFocusable(boolean);
2966*344a7f5eSAndroid Build Coastguard Worker    method public void setFocused(boolean);
2967*344a7f5eSAndroid Build Coastguard Worker    method public void setHint(CharSequence);
2968*344a7f5eSAndroid Build Coastguard Worker    method public void setHtmlInfo(android.view.ViewStructure.HtmlInfo);
2969*344a7f5eSAndroid Build Coastguard Worker    method public void setId(int, String, String, String);
2970*344a7f5eSAndroid Build Coastguard Worker    method public void setInputType(int);
2971*344a7f5eSAndroid Build Coastguard Worker    method public void setLocaleList(android.os.LocaleList);
2972*344a7f5eSAndroid Build Coastguard Worker    method public void setLongClickable(boolean);
2973*344a7f5eSAndroid Build Coastguard Worker    method public void setOpaque(boolean);
2974*344a7f5eSAndroid Build Coastguard Worker    method public void setSelected(boolean);
2975*344a7f5eSAndroid Build Coastguard Worker    method public void setText(CharSequence);
2976*344a7f5eSAndroid Build Coastguard Worker    method public void setText(CharSequence, int, int);
2977*344a7f5eSAndroid Build Coastguard Worker    method public void setTextLines(int[], int[]);
2978*344a7f5eSAndroid Build Coastguard Worker    method public void setTextStyle(float, int, int, int);
2979*344a7f5eSAndroid Build Coastguard Worker    method public void setTransformation(android.graphics.Matrix);
2980*344a7f5eSAndroid Build Coastguard Worker    method public void setVisibility(int);
2981*344a7f5eSAndroid Build Coastguard Worker    method public void setWebDomain(String);
2982*344a7f5eSAndroid Build Coastguard Worker  }
2983*344a7f5eSAndroid Build Coastguard Worker
2984*344a7f5eSAndroid Build Coastguard Worker}
2985*344a7f5eSAndroid Build Coastguard Worker
2986*344a7f5eSAndroid Build Coastguard Workerpackage android.view.displayhash {
2987*344a7f5eSAndroid Build Coastguard Worker
2988*344a7f5eSAndroid Build Coastguard Worker  public final class DisplayHashManager {
2989*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission("android.permission.READ_FRAME_BUFFER") public void setDisplayHashThrottlingEnabled(boolean);
2990*344a7f5eSAndroid Build Coastguard Worker  }
2991*344a7f5eSAndroid Build Coastguard Worker
2992*344a7f5eSAndroid Build Coastguard Worker}
2993*344a7f5eSAndroid Build Coastguard Worker
2994*344a7f5eSAndroid Build Coastguard Workerpackage android.view.inputmethod {
2995*344a7f5eSAndroid Build Coastguard Worker
2996*344a7f5eSAndroid Build Coastguard Worker  public final class InlineSuggestion implements android.os.Parcelable {
2997*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.view.inputmethod.InlineSuggestion newInlineSuggestion(@NonNull android.view.inputmethod.InlineSuggestionInfo);
2998*344a7f5eSAndroid Build Coastguard Worker  }
2999*344a7f5eSAndroid Build Coastguard Worker
3000*344a7f5eSAndroid Build Coastguard Worker  public final class InlineSuggestionInfo implements android.os.Parcelable {
3001*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);
3002*344a7f5eSAndroid Build Coastguard Worker  }
3003*344a7f5eSAndroid Build Coastguard Worker
3004*344a7f5eSAndroid Build Coastguard Worker  public final class InlineSuggestionsResponse implements android.os.Parcelable {
3005*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static android.view.inputmethod.InlineSuggestionsResponse newInlineSuggestionsResponse(@NonNull java.util.List<android.view.inputmethod.InlineSuggestion>);
3006*344a7f5eSAndroid Build Coastguard Worker  }
3007*344a7f5eSAndroid Build Coastguard Worker
3008*344a7f5eSAndroid Build Coastguard Worker  public final class InputMethodInfo implements android.os.Parcelable {
3009*344a7f5eSAndroid Build Coastguard Worker    ctor public InputMethodInfo(@NonNull String, @NonNull String, @NonNull CharSequence, @NonNull String, int);
3010*344a7f5eSAndroid Build Coastguard Worker  }
3011*344a7f5eSAndroid Build Coastguard Worker
3012*344a7f5eSAndroid Build Coastguard Worker  public final class InputMethodManager {
3013*344a7f5eSAndroid Build Coastguard Worker    method public int getDisplayId();
3014*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public java.util.List<android.view.inputmethod.InputMethodInfo> getInputMethodListAsUser(int);
3015*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasActiveInputConnection(@Nullable android.view.View);
3016*344a7f5eSAndroid Build Coastguard Worker    method public boolean isInputMethodPickerShown();
3017*344a7f5eSAndroid Build Coastguard Worker  }
3018*344a7f5eSAndroid Build Coastguard Worker
3019*344a7f5eSAndroid Build Coastguard Worker}
3020*344a7f5eSAndroid Build Coastguard Worker
3021*344a7f5eSAndroid Build Coastguard Workerpackage android.view.inspector {
3022*344a7f5eSAndroid Build Coastguard Worker
3023*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 {
3024*344a7f5eSAndroid Build Coastguard Worker    method public abstract int attributeId() default android.content.res.Resources.ID_NULL;
3025*344a7f5eSAndroid Build Coastguard Worker    method public abstract android.view.inspector.InspectableProperty.EnumEntry[] enumMapping() default {};
3026*344a7f5eSAndroid Build Coastguard Worker    method public abstract android.view.inspector.InspectableProperty.FlagEntry[] flagMapping() default {};
3027*344a7f5eSAndroid Build Coastguard Worker    method public abstract boolean hasAttributeId() default true;
3028*344a7f5eSAndroid Build Coastguard Worker    method public abstract String name() default "";
3029*344a7f5eSAndroid Build Coastguard Worker    method public abstract android.view.inspector.InspectableProperty.ValueType valueType() default android.view.inspector.InspectableProperty.ValueType.INFERRED;
3030*344a7f5eSAndroid Build Coastguard Worker  }
3031*344a7f5eSAndroid Build Coastguard Worker
3032*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 {
3033*344a7f5eSAndroid Build Coastguard Worker    method public abstract String name();
3034*344a7f5eSAndroid Build Coastguard Worker    method public abstract int value();
3035*344a7f5eSAndroid Build Coastguard Worker  }
3036*344a7f5eSAndroid Build Coastguard Worker
3037*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 {
3038*344a7f5eSAndroid Build Coastguard Worker    method public abstract int mask() default 0;
3039*344a7f5eSAndroid Build Coastguard Worker    method public abstract String name();
3040*344a7f5eSAndroid Build Coastguard Worker    method public abstract int target();
3041*344a7f5eSAndroid Build Coastguard Worker  }
3042*344a7f5eSAndroid Build Coastguard Worker
3043*344a7f5eSAndroid Build Coastguard Worker  public enum InspectableProperty.ValueType {
3044*344a7f5eSAndroid Build Coastguard Worker    enum_constant public static final android.view.inspector.InspectableProperty.ValueType COLOR;
3045*344a7f5eSAndroid Build Coastguard Worker    enum_constant public static final android.view.inspector.InspectableProperty.ValueType GRAVITY;
3046*344a7f5eSAndroid Build Coastguard Worker    enum_constant public static final android.view.inspector.InspectableProperty.ValueType INFERRED;
3047*344a7f5eSAndroid Build Coastguard Worker    enum_constant public static final android.view.inspector.InspectableProperty.ValueType INT_ENUM;
3048*344a7f5eSAndroid Build Coastguard Worker    enum_constant public static final android.view.inspector.InspectableProperty.ValueType INT_FLAG;
3049*344a7f5eSAndroid Build Coastguard Worker    enum_constant public static final android.view.inspector.InspectableProperty.ValueType NONE;
3050*344a7f5eSAndroid Build Coastguard Worker    enum_constant public static final android.view.inspector.InspectableProperty.ValueType RESOURCE_ID;
3051*344a7f5eSAndroid Build Coastguard Worker  }
3052*344a7f5eSAndroid Build Coastguard Worker
3053*344a7f5eSAndroid Build Coastguard Worker}
3054*344a7f5eSAndroid Build Coastguard Worker
3055*344a7f5eSAndroid Build Coastguard Workerpackage android.view.textservice {
3056*344a7f5eSAndroid Build Coastguard Worker
3057*344a7f5eSAndroid Build Coastguard Worker  public final class SpellCheckerSubtype implements android.os.Parcelable {
3058*344a7f5eSAndroid Build Coastguard Worker    field public static final int SUBTYPE_ID_NONE = 0; // 0x0
3059*344a7f5eSAndroid Build Coastguard Worker  }
3060*344a7f5eSAndroid Build Coastguard Worker
3061*344a7f5eSAndroid Build Coastguard Worker}
3062*344a7f5eSAndroid Build Coastguard Worker
3063*344a7f5eSAndroid Build Coastguard Workerpackage android.widget {
3064*344a7f5eSAndroid Build Coastguard Worker
3065*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 {
3066*344a7f5eSAndroid Build Coastguard Worker    method public final boolean shouldDrawSelector();
3067*344a7f5eSAndroid Build Coastguard Worker  }
3068*344a7f5eSAndroid Build Coastguard Worker
3069*344a7f5eSAndroid Build Coastguard Worker  public class CalendarView extends android.widget.FrameLayout {
3070*344a7f5eSAndroid Build Coastguard Worker    method public boolean getBoundsForDate(long, android.graphics.Rect);
3071*344a7f5eSAndroid Build Coastguard Worker  }
3072*344a7f5eSAndroid Build Coastguard Worker
3073*344a7f5eSAndroid Build Coastguard Worker  public class DatePicker extends android.widget.FrameLayout {
3074*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();
3075*344a7f5eSAndroid Build Coastguard Worker    field public static final int MODE_CALENDAR = 2; // 0x2
3076*344a7f5eSAndroid Build Coastguard Worker    field public static final int MODE_SPINNER = 1; // 0x1
3077*344a7f5eSAndroid Build Coastguard Worker  }
3078*344a7f5eSAndroid Build Coastguard Worker
3079*344a7f5eSAndroid Build Coastguard Worker  @UiThread public final class Magnifier {
3080*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.graphics.Bitmap getContent();
3081*344a7f5eSAndroid Build Coastguard Worker    method public static android.graphics.PointF getMagnifierDefaultSize();
3082*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.graphics.Bitmap getOriginalContent();
3083*344a7f5eSAndroid Build Coastguard Worker    method public void setOnOperationCompleteCallback(android.widget.Magnifier.Callback);
3084*344a7f5eSAndroid Build Coastguard Worker  }
3085*344a7f5eSAndroid Build Coastguard Worker
3086*344a7f5eSAndroid Build Coastguard Worker  public static interface Magnifier.Callback {
3087*344a7f5eSAndroid Build Coastguard Worker    method public void onOperationComplete();
3088*344a7f5eSAndroid Build Coastguard Worker  }
3089*344a7f5eSAndroid Build Coastguard Worker
3090*344a7f5eSAndroid Build Coastguard Worker  public class NumberPicker extends android.widget.LinearLayout {
3091*344a7f5eSAndroid Build Coastguard Worker    method public CharSequence getDisplayedValueForCurrentSelection();
3092*344a7f5eSAndroid Build Coastguard Worker  }
3093*344a7f5eSAndroid Build Coastguard Worker
3094*344a7f5eSAndroid Build Coastguard Worker  public class PopupMenu {
3095*344a7f5eSAndroid Build Coastguard Worker    method public android.widget.ListView getMenuListView();
3096*344a7f5eSAndroid Build Coastguard Worker  }
3097*344a7f5eSAndroid Build Coastguard Worker
3098*344a7f5eSAndroid Build Coastguard Worker  public class Spinner extends android.widget.AbsSpinner implements android.content.DialogInterface.OnClickListener {
3099*344a7f5eSAndroid Build Coastguard Worker    method public boolean isPopupShowing();
3100*344a7f5eSAndroid Build Coastguard Worker  }
3101*344a7f5eSAndroid Build Coastguard Worker
3102*344a7f5eSAndroid Build Coastguard Worker  @android.widget.RemoteViews.RemoteView public class TextClock extends android.widget.TextView {
3103*344a7f5eSAndroid Build Coastguard Worker    method public void disableClockTick();
3104*344a7f5eSAndroid Build Coastguard Worker  }
3105*344a7f5eSAndroid Build Coastguard Worker
3106*344a7f5eSAndroid Build Coastguard Worker  @android.widget.RemoteViews.RemoteView public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener {
3107*344a7f5eSAndroid Build Coastguard Worker    method public void onActivityResult(int, int, @Nullable android.content.Intent);
3108*344a7f5eSAndroid Build Coastguard Worker    field public static final int PROCESS_TEXT_REQUEST_CODE = 100; // 0x64
3109*344a7f5eSAndroid Build Coastguard Worker  }
3110*344a7f5eSAndroid Build Coastguard Worker
3111*344a7f5eSAndroid Build Coastguard Worker  public class TimePicker extends android.widget.FrameLayout {
3112*344a7f5eSAndroid Build Coastguard Worker    method public android.view.View getAmView();
3113*344a7f5eSAndroid Build Coastguard Worker    method public android.view.View getHourView();
3114*344a7f5eSAndroid Build Coastguard Worker    method public android.view.View getMinuteView();
3115*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();
3116*344a7f5eSAndroid Build Coastguard Worker    method public android.view.View getPmView();
3117*344a7f5eSAndroid Build Coastguard Worker    field public static final int MODE_CLOCK = 2; // 0x2
3118*344a7f5eSAndroid Build Coastguard Worker    field public static final int MODE_SPINNER = 1; // 0x1
3119*344a7f5eSAndroid Build Coastguard Worker  }
3120*344a7f5eSAndroid Build Coastguard Worker
3121*344a7f5eSAndroid Build Coastguard Worker  public class Toolbar extends android.view.ViewGroup {
3122*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.View getNavigationView();
3123*344a7f5eSAndroid Build Coastguard Worker  }
3124*344a7f5eSAndroid Build Coastguard Worker
3125*344a7f5eSAndroid Build Coastguard Worker}
3126*344a7f5eSAndroid Build Coastguard Worker
3127*344a7f5eSAndroid Build Coastguard Workerpackage android.widget.inline {
3128*344a7f5eSAndroid Build Coastguard Worker
3129*344a7f5eSAndroid Build Coastguard Worker  public class InlineContentView extends android.view.ViewGroup {
3130*344a7f5eSAndroid Build Coastguard Worker    method public void setChildSurfacePackageUpdater(@Nullable android.widget.inline.InlineContentView.SurfacePackageUpdater);
3131*344a7f5eSAndroid Build Coastguard Worker  }
3132*344a7f5eSAndroid Build Coastguard Worker
3133*344a7f5eSAndroid Build Coastguard Worker  public static interface InlineContentView.SurfacePackageUpdater {
3134*344a7f5eSAndroid Build Coastguard Worker    method public void getSurfacePackage(@NonNull java.util.function.Consumer<android.view.SurfaceControlViewHost.SurfacePackage>);
3135*344a7f5eSAndroid Build Coastguard Worker    method public void onSurfacePackageReleased();
3136*344a7f5eSAndroid Build Coastguard Worker  }
3137*344a7f5eSAndroid Build Coastguard Worker
3138*344a7f5eSAndroid Build Coastguard Worker}
3139*344a7f5eSAndroid Build Coastguard Worker
3140*344a7f5eSAndroid Build Coastguard Workerpackage android.window {
3141*344a7f5eSAndroid Build Coastguard Worker
3142*344a7f5eSAndroid Build Coastguard Worker  public final class DisplayAreaAppearedInfo implements android.os.Parcelable {
3143*344a7f5eSAndroid Build Coastguard Worker    ctor public DisplayAreaAppearedInfo(@NonNull android.window.DisplayAreaInfo, @NonNull android.view.SurfaceControl);
3144*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
3145*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.DisplayAreaInfo getDisplayAreaInfo();
3146*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.SurfaceControl getLeash();
3147*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
3148*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.window.DisplayAreaAppearedInfo> CREATOR;
3149*344a7f5eSAndroid Build Coastguard Worker  }
3150*344a7f5eSAndroid Build Coastguard Worker
3151*344a7f5eSAndroid Build Coastguard Worker  public final class DisplayAreaInfo implements android.os.Parcelable {
3152*344a7f5eSAndroid Build Coastguard Worker    ctor public DisplayAreaInfo(@NonNull android.window.WindowContainerToken, int, int);
3153*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
3154*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
3155*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.window.DisplayAreaInfo> CREATOR;
3156*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public final android.content.res.Configuration configuration;
3157*344a7f5eSAndroid Build Coastguard Worker    field public final int displayId;
3158*344a7f5eSAndroid Build Coastguard Worker    field public final int featureId;
3159*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public final android.window.WindowContainerToken token;
3160*344a7f5eSAndroid Build Coastguard Worker  }
3161*344a7f5eSAndroid Build Coastguard Worker
3162*344a7f5eSAndroid Build Coastguard Worker  public class DisplayAreaOrganizer extends android.window.WindowOrganizer {
3163*344a7f5eSAndroid Build Coastguard Worker    method public void onDisplayAreaAppeared(@NonNull android.window.DisplayAreaInfo, @NonNull android.view.SurfaceControl);
3164*344a7f5eSAndroid Build Coastguard Worker    method public void onDisplayAreaVanished(@NonNull android.window.DisplayAreaInfo);
3165*344a7f5eSAndroid Build Coastguard Worker    method @CallSuper @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public java.util.List<android.window.DisplayAreaAppearedInfo> registerOrganizer(int);
3166*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_DEFAULT_TASK_CONTAINER = 1; // 0x1
3167*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_ONE_HANDED = 3; // 0x3
3168*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_ROOT = 0; // 0x0
3169*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_SYSTEM_FIRST = 0; // 0x0
3170*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_SYSTEM_LAST = 10000; // 0x2710
3171*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_UNDEFINED = -1; // 0xffffffff
3172*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_VENDOR_FIRST = 10001; // 0x2711
3173*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_WINDOWED_MAGNIFICATION = 4; // 0x4
3174*344a7f5eSAndroid Build Coastguard Worker    field public static final int FEATURE_WINDOW_TOKENS = 2; // 0x2
3175*344a7f5eSAndroid Build Coastguard Worker  }
3176*344a7f5eSAndroid Build Coastguard Worker
3177*344a7f5eSAndroid Build Coastguard Worker  public final class SplashScreenView extends android.widget.FrameLayout {
3178*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.view.View getBrandingView();
3179*344a7f5eSAndroid Build Coastguard Worker  }
3180*344a7f5eSAndroid Build Coastguard Worker
3181*344a7f5eSAndroid Build Coastguard Worker  public final class StartingWindowInfo implements android.os.Parcelable {
3182*344a7f5eSAndroid Build Coastguard Worker    ctor public StartingWindowInfo();
3183*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
3184*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
3185*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.window.StartingWindowInfo> CREATOR;
3186*344a7f5eSAndroid Build Coastguard Worker  }
3187*344a7f5eSAndroid Build Coastguard Worker
3188*344a7f5eSAndroid Build Coastguard Worker  public final class TaskAppearedInfo implements android.os.Parcelable {
3189*344a7f5eSAndroid Build Coastguard Worker    ctor public TaskAppearedInfo(@NonNull android.app.ActivityManager.RunningTaskInfo, @NonNull android.view.SurfaceControl);
3190*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
3191*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.view.SurfaceControl getLeash();
3192*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.app.ActivityManager.RunningTaskInfo getTaskInfo();
3193*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
3194*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.window.TaskAppearedInfo> CREATOR;
3195*344a7f5eSAndroid Build Coastguard Worker  }
3196*344a7f5eSAndroid Build Coastguard Worker
3197*344a7f5eSAndroid Build Coastguard Worker  public class TaskOrganizer extends android.window.WindowOrganizer {
3198*344a7f5eSAndroid Build Coastguard Worker    ctor public TaskOrganizer();
3199*344a7f5eSAndroid Build Coastguard Worker    method @BinderThread public void addStartingWindow(@NonNull android.window.StartingWindowInfo, @NonNull android.os.IBinder);
3200*344a7f5eSAndroid Build Coastguard Worker    method @BinderThread public void copySplashScreenView(int);
3201*344a7f5eSAndroid Build Coastguard Worker    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void createRootTask(int, int, @Nullable android.os.IBinder);
3202*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public boolean deleteRootTask(@NonNull android.window.WindowContainerToken);
3203*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[]);
3204*344a7f5eSAndroid Build Coastguard Worker    method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public android.window.WindowContainerToken getImeTarget(int);
3205*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[]);
3206*344a7f5eSAndroid Build Coastguard Worker    method @BinderThread public void onAppSplashScreenViewRemoved(int);
3207*344a7f5eSAndroid Build Coastguard Worker    method @BinderThread public void onBackPressedOnTaskRoot(@NonNull android.app.ActivityManager.RunningTaskInfo);
3208*344a7f5eSAndroid Build Coastguard Worker    method @BinderThread public void onTaskAppeared(@NonNull android.app.ActivityManager.RunningTaskInfo, @NonNull android.view.SurfaceControl);
3209*344a7f5eSAndroid Build Coastguard Worker    method @BinderThread public void onTaskInfoChanged(@NonNull android.app.ActivityManager.RunningTaskInfo);
3210*344a7f5eSAndroid Build Coastguard Worker    method @BinderThread public void onTaskVanished(@NonNull android.app.ActivityManager.RunningTaskInfo);
3211*344a7f5eSAndroid Build Coastguard Worker    method @CallSuper @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public java.util.List<android.window.TaskAppearedInfo> registerOrganizer();
3212*344a7f5eSAndroid Build Coastguard Worker    method @BinderThread public void removeStartingWindow(int, @Nullable android.view.SurfaceControl, @Nullable android.graphics.Rect, boolean);
3213*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void setInterceptBackPressedOnTaskRoot(@NonNull android.window.WindowContainerToken, boolean);
3214*344a7f5eSAndroid Build Coastguard Worker    method @CallSuper @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void unregisterOrganizer();
3215*344a7f5eSAndroid Build Coastguard Worker  }
3216*344a7f5eSAndroid Build Coastguard Worker
3217*344a7f5eSAndroid Build Coastguard Worker  public final class WindowContainerToken implements android.os.Parcelable {
3218*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
3219*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
3220*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.window.WindowContainerToken> CREATOR;
3221*344a7f5eSAndroid Build Coastguard Worker  }
3222*344a7f5eSAndroid Build Coastguard Worker
3223*344a7f5eSAndroid Build Coastguard Worker  public final class WindowContainerTransaction implements android.os.Parcelable {
3224*344a7f5eSAndroid Build Coastguard Worker    ctor public WindowContainerTransaction();
3225*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
3226*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction reorder(@NonNull android.window.WindowContainerToken, boolean);
3227*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction reparent(@NonNull android.window.WindowContainerToken, @Nullable android.window.WindowContainerToken, boolean);
3228*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction reparentTasks(@Nullable android.window.WindowContainerToken, @Nullable android.window.WindowContainerToken, @Nullable int[], @Nullable int[], boolean);
3229*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction scheduleFinishEnterPip(@NonNull android.window.WindowContainerToken, @NonNull android.graphics.Rect);
3230*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setActivityWindowingMode(@NonNull android.window.WindowContainerToken, int);
3231*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setAdjacentRoots(@NonNull android.window.WindowContainerToken, @NonNull android.window.WindowContainerToken);
3232*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setAppBounds(@NonNull android.window.WindowContainerToken, @NonNull android.graphics.Rect);
3233*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setBounds(@NonNull android.window.WindowContainerToken, @NonNull android.graphics.Rect);
3234*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setBoundsChangeTransaction(@NonNull android.window.WindowContainerToken, @NonNull android.view.SurfaceControl.Transaction);
3235*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setFocusable(@NonNull android.window.WindowContainerToken, boolean);
3236*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setHidden(@NonNull android.window.WindowContainerToken, boolean);
3237*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setLaunchRoot(@NonNull android.window.WindowContainerToken, @Nullable int[], @Nullable int[]);
3238*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setScreenSizeDp(@NonNull android.window.WindowContainerToken, int, int);
3239*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setSmallestScreenWidthDp(@NonNull android.window.WindowContainerToken, int);
3240*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.window.WindowContainerTransaction setWindowingMode(@NonNull android.window.WindowContainerToken, int);
3241*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
3242*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.window.WindowContainerTransaction> CREATOR;
3243*344a7f5eSAndroid Build Coastguard Worker  }
3244*344a7f5eSAndroid Build Coastguard Worker
3245*344a7f5eSAndroid Build Coastguard Worker  public abstract class WindowContainerTransactionCallback {
3246*344a7f5eSAndroid Build Coastguard Worker    ctor public WindowContainerTransactionCallback();
3247*344a7f5eSAndroid Build Coastguard Worker    method public abstract void onTransactionReady(int, @NonNull android.view.SurfaceControl.Transaction);
3248*344a7f5eSAndroid Build Coastguard Worker  }
3249*344a7f5eSAndroid Build Coastguard Worker
3250*344a7f5eSAndroid Build Coastguard Worker  public class WindowOrganizer {
3251*344a7f5eSAndroid Build Coastguard Worker    ctor public WindowOrganizer();
3252*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public int applySyncTransaction(@NonNull android.window.WindowContainerTransaction, @NonNull android.window.WindowContainerTransactionCallback);
3253*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void applyTransaction(@NonNull android.window.WindowContainerTransaction);
3254*344a7f5eSAndroid Build Coastguard Worker  }
3255*344a7f5eSAndroid Build Coastguard Worker
3256*344a7f5eSAndroid Build Coastguard Worker  @UiContext public abstract class WindowProviderService extends android.app.Service {
3257*344a7f5eSAndroid Build Coastguard Worker    ctor public WindowProviderService();
3258*344a7f5eSAndroid Build Coastguard Worker    method public final void attachToWindowToken(@NonNull android.os.IBinder);
3259*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.os.Bundle getWindowContextOptions();
3260*344a7f5eSAndroid Build Coastguard Worker    method public abstract int getWindowType();
3261*344a7f5eSAndroid Build Coastguard Worker  }
3262*344a7f5eSAndroid Build Coastguard Worker
3263*344a7f5eSAndroid Build Coastguard Worker}
3264*344a7f5eSAndroid Build Coastguard Worker
3265