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