• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 BRIGHTNESS_SLIDER_USAGE = "android.permission.BRIGHTNESS_SLIDER_USAGE";
9    field public static final String CHANGE_APP_IDLE_STATE = "android.permission.CHANGE_APP_IDLE_STATE";
10    field public static final String CLEAR_APP_USER_DATA = "android.permission.CLEAR_APP_USER_DATA";
11    field public static final String CONFIGURE_DISPLAY_BRIGHTNESS = "android.permission.CONFIGURE_DISPLAY_BRIGHTNESS";
12    field public static final String FORCE_STOP_PACKAGES = "android.permission.FORCE_STOP_PACKAGES";
13    field public static final String MANAGE_ACTIVITY_STACKS = "android.permission.MANAGE_ACTIVITY_STACKS";
14    field public static final String MANAGE_ROLLBACKS = "android.permission.MANAGE_ROLLBACKS";
15    field public static final String READ_CELL_BROADCASTS = "android.permission.READ_CELL_BROADCASTS";
16    field public static final String REMOVE_TASKS = "android.permission.REMOVE_TASKS";
17    field public static final String SUSPEND_APPS = "android.permission.SUSPEND_APPS";
18    field public static final String TEST_MANAGE_ROLLBACKS = "android.permission.TEST_MANAGE_ROLLBACKS";
19    field public static final String WRITE_DEVICE_CONFIG = "android.permission.WRITE_DEVICE_CONFIG";
20    field public static final String WRITE_MEDIA_STORAGE = "android.permission.WRITE_MEDIA_STORAGE";
21    field public static final String WRITE_OBB = "android.permission.WRITE_OBB";
22  }
23
24  public static final class R.bool {
25    field public static final int config_perDisplayFocusEnabled = 17891332; // 0x1110004
26  }
27
28  public static final class R.string {
29    field public static final int config_defaultAssistant = 17039393; // 0x1040021
30    field public static final int config_defaultDialer = 17039395; // 0x1040023
31  }
32
33}
34
35package android.animation {
36
37  public class ValueAnimator extends android.animation.Animator {
38    method public static float getDurationScale();
39    method public static void setDurationScale(float);
40  }
41
42}
43
44package android.app {
45
46  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 {
47    method public void onMovedToDisplay(int, android.content.res.Configuration);
48  }
49
50  public class ActivityManager {
51    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void addOnUidImportanceListener(android.app.ActivityManager.OnUidImportanceListener, int);
52    method public void alwaysShowUnsupportedCompileSdkWarning(android.content.ComponentName);
53    method @RequiresPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) public void forceStopPackage(String);
54    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String);
55    method public long getTotalRam();
56    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getUidImportance(int);
57    method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void removeOnUidImportanceListener(android.app.ActivityManager.OnUidImportanceListener);
58    method public static void resumeAppSwitches() throws android.os.RemoteException;
59    method @RequiresPermission(android.Manifest.permission.CHANGE_CONFIGURATION) public void scheduleApplicationInfoChanged(java.util.List<java.lang.String>, int);
60  }
61
62  public static interface ActivityManager.OnUidImportanceListener {
63    method public void onUidImportance(int, int);
64  }
65
66  public static class ActivityManager.RunningAppProcessInfo implements android.os.Parcelable {
67    field public static final int IMPORTANCE_CANT_SAVE_STATE_PRE_26 = 170; // 0xaa
68  }
69
70  public static class ActivityManager.TaskDescription implements android.os.Parcelable {
71    method public String getIconFilename();
72    method public int getIconResource();
73  }
74
75  public class ActivityOptions {
76    method public void setLaunchActivityType(int);
77    method public void setLaunchTaskId(int);
78    method public void setLaunchWindowingMode(int);
79    method public void setTaskOverlay(boolean, boolean);
80  }
81
82  public class ActivityTaskManager {
83    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void clearLaunchParamsForPackages(java.util.List<java.lang.String>);
84    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public String listAllStacks();
85    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void moveTaskToStack(int, int, boolean);
86    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public boolean moveTopActivityToPinnedStack(int, android.graphics.Rect);
87    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void removeStacksInWindowingModes(int[]) throws java.lang.SecurityException;
88    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void removeStacksWithActivityTypes(int[]) throws java.lang.SecurityException;
89    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void resizeDockedStack(android.graphics.Rect, android.graphics.Rect);
90    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void resizeStack(int, android.graphics.Rect) throws java.lang.SecurityException;
91    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void resizeStack(int, android.graphics.Rect, boolean);
92    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void resizeTask(int, android.graphics.Rect);
93    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void setDisplayToSingleTaskInstance(int);
94    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void setTaskWindowingMode(int, int, boolean) throws java.lang.SecurityException;
95    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void setTaskWindowingModeSplitScreenPrimary(int, int, boolean, boolean, android.graphics.Rect, boolean) throws java.lang.SecurityException;
96    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void startSystemLockTaskMode(int);
97    method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void stopSystemLockTaskMode();
98    method public static boolean supportsMultiWindow(android.content.Context);
99    method public static boolean supportsSplitScreenMultiWindow(android.content.Context);
100    field public static final int INVALID_STACK_ID = -1; // 0xffffffff
101    field public static final int SPLIT_SCREEN_CREATE_MODE_BOTTOM_OR_RIGHT = 1; // 0x1
102    field public static final int SPLIT_SCREEN_CREATE_MODE_TOP_OR_LEFT = 0; // 0x0
103  }
104
105  public class ActivityView extends android.view.ViewGroup {
106    ctor public ActivityView(android.content.Context);
107    ctor public ActivityView(android.content.Context, android.util.AttributeSet);
108    ctor public ActivityView(android.content.Context, android.util.AttributeSet, int);
109    ctor public ActivityView(android.content.Context, android.util.AttributeSet, int, boolean);
110    method public int getVirtualDisplayId();
111    method public void onLayout(boolean, int, int, int, int);
112    method public void onLocationChanged();
113    method public void performBackPress();
114    method public void release();
115    method public void setCallback(android.app.ActivityView.StateCallback);
116    method public void setForwardedInsets(android.graphics.Insets);
117    method public void startActivity(@NonNull android.content.Intent);
118    method public void startActivity(@NonNull android.content.Intent, android.os.UserHandle);
119    method public void startActivity(@NonNull android.app.PendingIntent);
120    method public void startActivity(@NonNull android.app.PendingIntent, @NonNull android.app.ActivityOptions);
121  }
122
123  public abstract static class ActivityView.StateCallback {
124    ctor public ActivityView.StateCallback();
125    method public abstract void onActivityViewDestroyed(android.app.ActivityView);
126    method public abstract void onActivityViewReady(android.app.ActivityView);
127    method public void onTaskCreated(int, android.content.ComponentName);
128    method public void onTaskMovedToFront(int);
129    method public void onTaskRemovalStarted(int);
130  }
131
132  public class AppDetailsActivity extends android.app.Activity {
133    ctor public AppDetailsActivity();
134  }
135
136  public class AppOpsManager {
137    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void addHistoricalOps(@NonNull android.app.AppOpsManager.HistoricalOps);
138    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void clearHistory();
139    method @RequiresPermission("android.permission.GET_APP_OPS_STATS") public void getHistoricalOps(@NonNull android.app.AppOpsManager.HistoricalOpsRequest, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<android.app.AppOpsManager.HistoricalOps>);
140    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>);
141    method public static int getNumOps();
142    method public static String[] getOpStrs();
143    method public boolean isOperationActive(int, int, String);
144    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void offsetHistory(long);
145    method public static int opToDefaultMode(@NonNull String);
146    method public static String opToPermission(int);
147    method public static int permissionToOpCode(String);
148    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void reloadNonHistoricalState();
149    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void resetHistoryParameters();
150    method @RequiresPermission("android.permission.MANAGE_APPOPS") public void setHistoryParameters(int, long, int);
151    method @RequiresPermission("android.permission.MANAGE_APP_OPS_MODES") public void setMode(int, int, String, int);
152    method @RequiresPermission("android.permission.MANAGE_APP_OPS_MODES") public void setMode(String, int, String, int);
153    method @RequiresPermission("android.permission.MANAGE_APP_OPS_MODES") public void setUidMode(String, int, int);
154    method public void startWatchingActive(@NonNull int[], @NonNull android.app.AppOpsManager.OnOpActiveChangedListener);
155    method public void stopWatchingActive(@NonNull android.app.AppOpsManager.OnOpActiveChangedListener);
156    method public static int strOpToOp(@NonNull String);
157    field public static final int HISTORICAL_MODE_DISABLED = 0; // 0x0
158    field public static final int HISTORICAL_MODE_ENABLED_ACTIVE = 1; // 0x1
159    field public static final int HISTORICAL_MODE_ENABLED_PASSIVE = 2; // 0x2
160    field public static final String OPSTR_ACCEPT_HANDOVER = "android:accept_handover";
161    field public static final String OPSTR_ACCESS_NOTIFICATIONS = "android:access_notifications";
162    field public static final String OPSTR_ACTIVATE_VPN = "android:activate_vpn";
163    field public static final String OPSTR_ASSIST_SCREENSHOT = "android:assist_screenshot";
164    field public static final String OPSTR_ASSIST_STRUCTURE = "android:assist_structure";
165    field public static final String OPSTR_AUDIO_ACCESSIBILITY_VOLUME = "android:audio_accessibility_volume";
166    field public static final String OPSTR_AUDIO_ALARM_VOLUME = "android:audio_alarm_volume";
167    field public static final String OPSTR_AUDIO_BLUETOOTH_VOLUME = "android:audio_bluetooth_volume";
168    field public static final String OPSTR_AUDIO_MASTER_VOLUME = "android:audio_master_volume";
169    field public static final String OPSTR_AUDIO_MEDIA_VOLUME = "android:audio_media_volume";
170    field public static final String OPSTR_AUDIO_NOTIFICATION_VOLUME = "android:audio_notification_volume";
171    field public static final String OPSTR_AUDIO_RING_VOLUME = "android:audio_ring_volume";
172    field public static final String OPSTR_AUDIO_VOICE_VOLUME = "android:audio_voice_volume";
173    field public static final String OPSTR_BIND_ACCESSIBILITY_SERVICE = "android:bind_accessibility_service";
174    field public static final String OPSTR_CHANGE_WIFI_STATE = "android:change_wifi_state";
175    field public static final String OPSTR_GET_ACCOUNTS = "android:get_accounts";
176    field public static final String OPSTR_GPS = "android:gps";
177    field public static final String OPSTR_INSTANT_APP_START_FOREGROUND = "android:instant_app_start_foreground";
178    field public static final String OPSTR_LEGACY_STORAGE = "android:legacy_storage";
179    field public static final String OPSTR_MANAGE_IPSEC_TUNNELS = "android:manage_ipsec_tunnels";
180    field public static final String OPSTR_MUTE_MICROPHONE = "android:mute_microphone";
181    field public static final String OPSTR_NEIGHBORING_CELLS = "android:neighboring_cells";
182    field public static final String OPSTR_PLAY_AUDIO = "android:play_audio";
183    field public static final String OPSTR_POST_NOTIFICATION = "android:post_notification";
184    field public static final String OPSTR_PROJECT_MEDIA = "android:project_media";
185    field public static final String OPSTR_READ_CLIPBOARD = "android:read_clipboard";
186    field public static final String OPSTR_READ_ICC_SMS = "android:read_icc_sms";
187    field public static final String OPSTR_RECEIVE_EMERGENCY_BROADCAST = "android:receive_emergency_broadcast";
188    field public static final String OPSTR_REQUEST_DELETE_PACKAGES = "android:request_delete_packages";
189    field public static final String OPSTR_REQUEST_INSTALL_PACKAGES = "android:request_install_packages";
190    field public static final String OPSTR_RUN_ANY_IN_BACKGROUND = "android:run_any_in_background";
191    field public static final String OPSTR_RUN_IN_BACKGROUND = "android:run_in_background";
192    field public static final String OPSTR_START_FOREGROUND = "android:start_foreground";
193    field public static final String OPSTR_TAKE_AUDIO_FOCUS = "android:take_audio_focus";
194    field public static final String OPSTR_TAKE_MEDIA_BUTTONS = "android:take_media_buttons";
195    field public static final String OPSTR_TOAST_WINDOW = "android:toast_window";
196    field public static final String OPSTR_TURN_SCREEN_ON = "android:turn_screen_on";
197    field public static final String OPSTR_VIBRATE = "android:vibrate";
198    field public static final String OPSTR_WAKE_LOCK = "android:wake_lock";
199    field public static final String OPSTR_WIFI_SCAN = "android:wifi_scan";
200    field public static final String OPSTR_WRITE_CLIPBOARD = "android:write_clipboard";
201    field public static final String OPSTR_WRITE_ICC_SMS = "android:write_icc_sms";
202    field public static final String OPSTR_WRITE_SMS = "android:write_sms";
203    field public static final String OPSTR_WRITE_WALLPAPER = "android:write_wallpaper";
204    field public static final int OP_COARSE_LOCATION = 0; // 0x0
205    field public static final int OP_FLAGS_ALL = 31; // 0x1f
206    field public static final int OP_FLAG_SELF = 1; // 0x1
207    field public static final int OP_FLAG_TRUSTED_PROXIED = 8; // 0x8
208    field public static final int OP_FLAG_TRUSTED_PROXY = 2; // 0x2
209    field public static final int OP_FLAG_UNTRUSTED_PROXIED = 16; // 0x10
210    field public static final int OP_FLAG_UNTRUSTED_PROXY = 4; // 0x4
211    field public static final int OP_RECORD_AUDIO = 27; // 0x1b
212    field public static final int OP_START_FOREGROUND = 76; // 0x4c
213    field public static final int OP_SYSTEM_ALERT_WINDOW = 24; // 0x18
214    field public static final int UID_STATE_BACKGROUND = 600; // 0x258
215    field public static final int UID_STATE_CACHED = 700; // 0x2bc
216    field public static final int UID_STATE_FOREGROUND = 500; // 0x1f4
217    field public static final int UID_STATE_FOREGROUND_SERVICE = 400; // 0x190
218    field public static final int UID_STATE_FOREGROUND_SERVICE_LOCATION = 300; // 0x12c
219    field public static final int UID_STATE_PERSISTENT = 100; // 0x64
220    field public static final int UID_STATE_TOP = 200; // 0xc8
221  }
222
223  public static final class AppOpsManager.HistoricalOp implements android.os.Parcelable {
224    method public int describeContents();
225    method public long getAccessCount(int, int, int);
226    method public long getAccessDuration(int, int, int);
227    method public long getBackgroundAccessCount(int);
228    method public long getBackgroundAccessDuration(int);
229    method public long getBackgroundRejectCount(int);
230    method public long getForegroundAccessCount(int);
231    method public long getForegroundAccessDuration(int);
232    method public long getForegroundRejectCount(int);
233    method @NonNull public String getOpName();
234    method public long getRejectCount(int, int, int);
235    method public void writeToParcel(android.os.Parcel, int);
236    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalOp> CREATOR;
237  }
238
239  public static final class AppOpsManager.HistoricalOps implements android.os.Parcelable {
240    ctor public AppOpsManager.HistoricalOps(long, long);
241    method public int describeContents();
242    method public long getBeginTimeMillis();
243    method public long getEndTimeMillis();
244    method @IntRange(from=0) public int getUidCount();
245    method @Nullable public android.app.AppOpsManager.HistoricalUidOps getUidOps(int);
246    method @NonNull public android.app.AppOpsManager.HistoricalUidOps getUidOpsAt(@IntRange(from=0) int);
247    method public void increaseAccessCount(int, int, @NonNull String, int, int, long);
248    method public void increaseAccessDuration(int, int, @NonNull String, int, int, long);
249    method public void increaseRejectCount(int, int, @NonNull String, int, int, long);
250    method public void offsetBeginAndEndTime(long);
251    method public void writeToParcel(android.os.Parcel, int);
252    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalOps> CREATOR;
253  }
254
255  public static final class AppOpsManager.HistoricalOpsRequest {
256  }
257
258  public static final class AppOpsManager.HistoricalOpsRequest.Builder {
259    ctor public AppOpsManager.HistoricalOpsRequest.Builder(long, long);
260    method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest build();
261    method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setFlags(int);
262    method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setOpNames(@Nullable java.util.List<java.lang.String>);
263    method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setPackageName(@Nullable String);
264    method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setUid(int);
265  }
266
267  public static final class AppOpsManager.HistoricalPackageOps implements android.os.Parcelable {
268    method public int describeContents();
269    method @Nullable public android.app.AppOpsManager.HistoricalOp getOp(@NonNull String);
270    method @NonNull public android.app.AppOpsManager.HistoricalOp getOpAt(@IntRange(from=0) int);
271    method @IntRange(from=0) public int getOpCount();
272    method @NonNull public String getPackageName();
273    method public void writeToParcel(@NonNull android.os.Parcel, int);
274    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalPackageOps> CREATOR;
275  }
276
277  public static final class AppOpsManager.HistoricalUidOps implements android.os.Parcelable {
278    method public int describeContents();
279    method @IntRange(from=0) public int getPackageCount();
280    method @Nullable public android.app.AppOpsManager.HistoricalPackageOps getPackageOps(@NonNull String);
281    method @NonNull public android.app.AppOpsManager.HistoricalPackageOps getPackageOpsAt(@IntRange(from=0) int);
282    method public int getUid();
283    method public void writeToParcel(android.os.Parcel, int);
284    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalUidOps> CREATOR;
285  }
286
287  public static interface AppOpsManager.OnOpActiveChangedListener {
288    method public void onOpActiveChanged(int, int, String, boolean);
289  }
290
291  public static final class AppOpsManager.OpEntry implements android.os.Parcelable {
292    method public int describeContents();
293    method public long getDuration();
294    method public long getLastAccessBackgroundTime(int);
295    method public long getLastAccessForegroundTime(int);
296    method public long getLastAccessTime(int);
297    method public long getLastAccessTime(int, int, int);
298    method public long getLastBackgroundDuration(int);
299    method public long getLastDuration(int, int, int);
300    method public long getLastForegroundDuration(int);
301    method public long getLastRejectBackgroundTime(int);
302    method public long getLastRejectForegroundTime(int);
303    method public long getLastRejectTime(int);
304    method public long getLastRejectTime(int, int, int);
305    method public int getMode();
306    method @NonNull public String getOpStr();
307    method @Nullable public String getProxyPackageName();
308    method @Nullable public String getProxyPackageName(int, int);
309    method public int getProxyUid();
310    method public int getProxyUid(int, int);
311    method public boolean isRunning();
312    method public void writeToParcel(android.os.Parcel, int);
313    field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.OpEntry> CREATOR;
314  }
315
316  public class DownloadManager {
317    field public static final String COLUMN_MEDIASTORE_URI = "mediastore_uri";
318  }
319
320  public final class NotificationChannel implements android.os.Parcelable {
321    method public boolean isImportanceLockedByCriticalDeviceFunction();
322    method public boolean isImportanceLockedByOEM();
323    method public void setImportanceLockedByCriticalDeviceFunction(boolean);
324    method public void setImportanceLockedByOEM(boolean);
325  }
326
327  public final class NotificationChannelGroup implements android.os.Parcelable {
328    method public int getUserLockedFields();
329    method public void lockFields(int);
330    method public void setBlocked(boolean);
331  }
332
333  public class NotificationManager {
334    method public void allowAssistantAdjustment(String);
335    method public void disallowAssistantAdjustment(String);
336    method @NonNull public java.util.List<java.lang.String> getAllowedAssistantAdjustments();
337    method @Nullable public android.content.ComponentName getAllowedNotificationAssistant();
338    method public android.content.ComponentName getEffectsSuppressor();
339    method public boolean isNotificationAssistantAccessGranted(@NonNull android.content.ComponentName);
340    method public boolean matchesCallFilter(android.os.Bundle);
341    method public void setNotificationAssistantAccessGranted(@Nullable android.content.ComponentName, boolean);
342  }
343
344  public final class PictureInPictureParams implements android.os.Parcelable {
345    method public java.util.List<android.app.RemoteAction> getActions();
346    method public float getAspectRatio();
347    method public android.graphics.Rect getSourceRectHint();
348  }
349
350  public class StatusBarManager {
351    method @NonNull @RequiresPermission(android.Manifest.permission.STATUS_BAR) public android.app.StatusBarManager.DisableInfo getDisableInfo();
352    method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setDisabledForSetup(boolean);
353  }
354
355  public static final class StatusBarManager.DisableInfo {
356    method public boolean areAllComponentsEnabled();
357    method public boolean isNavigateToHomeDisabled();
358    method public boolean isNotificationPeekingDisabled();
359    method public boolean isRecentsDisabled();
360    method public boolean isSearchDisabled();
361    method public boolean isStatusBarExpansionDisabled();
362  }
363
364  public class TimePickerDialog extends android.app.AlertDialog implements android.content.DialogInterface.OnClickListener android.widget.TimePicker.OnTimeChangedListener {
365    method public android.widget.TimePicker getTimePicker();
366  }
367
368  public final class UiAutomation {
369    method public void destroy();
370    method public android.os.ParcelFileDescriptor[] executeShellCommandRw(String);
371    method @Deprecated public boolean grantRuntimePermission(String, String, android.os.UserHandle);
372    method @Deprecated public boolean revokeRuntimePermission(String, String, android.os.UserHandle);
373    method public void syncInputTransactions();
374  }
375
376  public class UiModeManager {
377    method public boolean isNightModeLocked();
378    method public boolean isUiModeLocked();
379  }
380
381  public class WallpaperManager {
382    method @RequiresPermission("android.permission.SET_WALLPAPER_COMPONENT") public boolean setWallpaperComponent(android.content.ComponentName);
383  }
384
385  public class WindowConfiguration implements java.lang.Comparable<android.app.WindowConfiguration> android.os.Parcelable {
386    ctor public WindowConfiguration();
387    method public int compareTo(android.app.WindowConfiguration);
388    method public int describeContents();
389    method public int getActivityType();
390    method public android.graphics.Rect getAppBounds();
391    method public android.graphics.Rect getBounds();
392    method public int getRotation();
393    method public int getWindowingMode();
394    method public void setActivityType(int);
395    method public void setAppBounds(android.graphics.Rect);
396    method public void setBounds(android.graphics.Rect);
397    method public void setRotation(int);
398    method public void setTo(android.app.WindowConfiguration);
399    method public void setWindowingMode(int);
400    method public void writeToParcel(android.os.Parcel, int);
401    field public static final int ACTIVITY_TYPE_ASSISTANT = 4; // 0x4
402    field public static final int ACTIVITY_TYPE_HOME = 2; // 0x2
403    field public static final int ACTIVITY_TYPE_RECENTS = 3; // 0x3
404    field public static final int ACTIVITY_TYPE_STANDARD = 1; // 0x1
405    field public static final int ACTIVITY_TYPE_UNDEFINED = 0; // 0x0
406    field public static final int ROTATION_UNDEFINED = -1; // 0xffffffff
407    field public static final int WINDOWING_MODE_FREEFORM = 5; // 0x5
408    field public static final int WINDOWING_MODE_FULLSCREEN = 1; // 0x1
409    field public static final int WINDOWING_MODE_FULLSCREEN_OR_SPLIT_SCREEN_SECONDARY = 4; // 0x4
410    field public static final int WINDOWING_MODE_PINNED = 2; // 0x2
411    field public static final int WINDOWING_MODE_SPLIT_SCREEN_PRIMARY = 3; // 0x3
412    field public static final int WINDOWING_MODE_SPLIT_SCREEN_SECONDARY = 4; // 0x4
413    field public static final int WINDOWING_MODE_UNDEFINED = 0; // 0x0
414  }
415
416}
417
418package android.app.admin {
419
420  public class DevicePolicyManager {
421    method @Nullable public CharSequence getDeviceOwnerOrganizationName();
422    method public long getLastBugReportRequestTime();
423    method public long getLastNetworkLogRetrievalTime();
424    method public long getLastSecurityLogRetrievalTime();
425    method public java.util.List<java.lang.String> getOwnerInstalledCaCerts(@NonNull android.os.UserHandle);
426    method public boolean isCurrentInputMethodSetByOwner();
427    method public boolean isDeviceManaged();
428    field public static final String ACCOUNT_FEATURE_DEVICE_OR_PROFILE_OWNER_ALLOWED = "android.account.DEVICE_OR_PROFILE_OWNER_ALLOWED";
429    field public static final String ACCOUNT_FEATURE_DEVICE_OR_PROFILE_OWNER_DISALLOWED = "android.account.DEVICE_OR_PROFILE_OWNER_DISALLOWED";
430    field public static final String ACTION_DATA_SHARING_RESTRICTION_APPLIED = "android.app.action.DATA_SHARING_RESTRICTION_APPLIED";
431    field public static final String EXTRA_RESTRICTION = "android.app.extra.RESTRICTION";
432  }
433
434  public static final class SecurityLog.SecurityEvent implements android.os.Parcelable {
435    ctor public SecurityLog.SecurityEvent(long, byte[]);
436  }
437
438}
439
440package android.app.assist {
441
442  public static class AssistStructure.ViewNode {
443    ctor public AssistStructure.ViewNode();
444  }
445
446}
447
448package android.app.backup {
449
450  public class BackupManager {
451    method @RequiresPermission("android.permission.BACKUP") public android.content.Intent getConfigurationIntent(String);
452    method @RequiresPermission("android.permission.BACKUP") public android.content.Intent getDataManagementIntent(String);
453    method @Nullable @RequiresPermission("android.permission.BACKUP") public CharSequence getDataManagementIntentLabel(@NonNull String);
454    method @Deprecated @Nullable @RequiresPermission("android.permission.BACKUP") public String getDataManagementLabel(@NonNull String);
455    method @RequiresPermission("android.permission.BACKUP") public String getDestinationString(String);
456  }
457
458}
459
460package android.app.prediction {
461
462  public final class AppPredictionContext implements android.os.Parcelable {
463    method public int describeContents();
464    method @Nullable public android.os.Bundle getExtras();
465    method @NonNull public String getPackageName();
466    method @IntRange(from=0) public int getPredictedTargetCount();
467    method @NonNull public String getUiSurface();
468    method public void writeToParcel(@NonNull android.os.Parcel, int);
469    field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppPredictionContext> CREATOR;
470  }
471
472  public static final class AppPredictionContext.Builder {
473    ctor public AppPredictionContext.Builder(@NonNull android.content.Context);
474    method @NonNull public android.app.prediction.AppPredictionContext build();
475    method @NonNull public android.app.prediction.AppPredictionContext.Builder setExtras(@Nullable android.os.Bundle);
476    method @NonNull public android.app.prediction.AppPredictionContext.Builder setPredictedTargetCount(@IntRange(from=0) int);
477    method @NonNull public android.app.prediction.AppPredictionContext.Builder setUiSurface(@NonNull String);
478  }
479
480  public final class AppPredictionManager {
481    method @NonNull public android.app.prediction.AppPredictor createAppPredictionSession(@NonNull android.app.prediction.AppPredictionContext);
482  }
483
484  public final class AppPredictionSessionId implements android.os.Parcelable {
485    method public int describeContents();
486    method public void writeToParcel(android.os.Parcel, int);
487    field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppPredictionSessionId> CREATOR;
488  }
489
490  public final class AppPredictor {
491    method public void destroy();
492    method public android.app.prediction.AppPredictionSessionId getSessionId();
493    method public void notifyAppTargetEvent(@NonNull android.app.prediction.AppTargetEvent);
494    method public void notifyLaunchLocationShown(@NonNull String, @NonNull java.util.List<android.app.prediction.AppTargetId>);
495    method public void registerPredictionUpdates(@NonNull java.util.concurrent.Executor, @NonNull android.app.prediction.AppPredictor.Callback);
496    method public void requestPredictionUpdate();
497    method @Nullable public void sortTargets(@NonNull java.util.List<android.app.prediction.AppTarget>, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.util.List<android.app.prediction.AppTarget>>);
498    method public void unregisterPredictionUpdates(@NonNull android.app.prediction.AppPredictor.Callback);
499  }
500
501  public static interface AppPredictor.Callback {
502    method public void onTargetsAvailable(@NonNull java.util.List<android.app.prediction.AppTarget>);
503  }
504
505  public final class AppTarget implements android.os.Parcelable {
506    method public int describeContents();
507    method @Nullable public String getClassName();
508    method @NonNull public android.app.prediction.AppTargetId getId();
509    method @NonNull public String getPackageName();
510    method @IntRange(from=0) public int getRank();
511    method @Nullable public android.content.pm.ShortcutInfo getShortcutInfo();
512    method @NonNull public android.os.UserHandle getUser();
513    method public void writeToParcel(android.os.Parcel, int);
514    field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTarget> CREATOR;
515  }
516
517  public static final class AppTarget.Builder {
518    ctor public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId, @NonNull String, @NonNull android.os.UserHandle);
519    ctor public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId, @NonNull android.content.pm.ShortcutInfo);
520    method @NonNull public android.app.prediction.AppTarget build();
521    method @NonNull public android.app.prediction.AppTarget.Builder setClassName(@NonNull String);
522    method @NonNull public android.app.prediction.AppTarget.Builder setRank(@IntRange(from=0) int);
523  }
524
525  public final class AppTargetEvent implements android.os.Parcelable {
526    method public int describeContents();
527    method public int getAction();
528    method @Nullable public String getLaunchLocation();
529    method @Nullable public android.app.prediction.AppTarget getTarget();
530    method public void writeToParcel(android.os.Parcel, int);
531    field public static final int ACTION_DISMISS = 2; // 0x2
532    field public static final int ACTION_LAUNCH = 1; // 0x1
533    field public static final int ACTION_PIN = 3; // 0x3
534    field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTargetEvent> CREATOR;
535  }
536
537  public static final class AppTargetEvent.Builder {
538    ctor public AppTargetEvent.Builder(@Nullable android.app.prediction.AppTarget, int);
539    method @NonNull public android.app.prediction.AppTargetEvent build();
540    method @NonNull public android.app.prediction.AppTargetEvent.Builder setLaunchLocation(@Nullable String);
541  }
542
543  public final class AppTargetId implements android.os.Parcelable {
544    ctor public AppTargetId(@NonNull String);
545    method public int describeContents();
546    method public void writeToParcel(android.os.Parcel, int);
547    field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTargetId> CREATOR;
548  }
549
550}
551
552package android.app.role {
553
554  public interface OnRoleHoldersChangedListener {
555    method public void onRoleHoldersChanged(@NonNull String, @NonNull android.os.UserHandle);
556  }
557
558  public final class RoleManager {
559    method @RequiresPermission("android.permission.OBSERVE_ROLE_HOLDERS") public void addOnRoleHoldersChangedListenerAsUser(@NonNull java.util.concurrent.Executor, @NonNull android.app.role.OnRoleHoldersChangedListener, @NonNull android.os.UserHandle);
560    method @RequiresPermission("android.permission.MANAGE_ROLE_HOLDERS") public void addRoleHolderAsUser(@NonNull String, @NonNull String, int, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>);
561    method @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public boolean addRoleHolderFromController(@NonNull String, @NonNull String);
562    method @RequiresPermission("android.permission.MANAGE_ROLE_HOLDERS") public void clearRoleHoldersAsUser(@NonNull String, int, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>);
563    method @NonNull @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public java.util.List<java.lang.String> getHeldRolesFromController(@NonNull String);
564    method @NonNull @RequiresPermission("android.permission.MANAGE_ROLE_HOLDERS") public java.util.List<java.lang.String> getRoleHolders(@NonNull String);
565    method @NonNull @RequiresPermission("android.permission.MANAGE_ROLE_HOLDERS") public java.util.List<java.lang.String> getRoleHoldersAsUser(@NonNull String, @NonNull android.os.UserHandle);
566    method @RequiresPermission("android.permission.OBSERVE_ROLE_HOLDERS") public void removeOnRoleHoldersChangedListenerAsUser(@NonNull android.app.role.OnRoleHoldersChangedListener, @NonNull android.os.UserHandle);
567    method @RequiresPermission("android.permission.MANAGE_ROLE_HOLDERS") public void removeRoleHolderAsUser(@NonNull String, @NonNull String, int, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>);
568    method @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public boolean removeRoleHolderFromController(@NonNull String, @NonNull String);
569    method @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public void setRoleNamesFromController(@NonNull java.util.List<java.lang.String>);
570    field public static final int MANAGE_HOLDERS_FLAG_DONT_KILL_APP = 1; // 0x1
571  }
572
573}
574
575package android.app.usage {
576
577  public class NetworkStatsManager {
578    method public void setPollForce(boolean);
579  }
580
581  public class StorageStatsManager {
582    method public boolean isQuotaSupported(@NonNull java.util.UUID);
583    method public boolean isReservedSupported(@NonNull java.util.UUID);
584  }
585
586  public final class UsageStatsManager {
587    method public void forceUsageSourceSettingRead();
588  }
589
590}
591
592package android.bluetooth {
593
594  public final class BluetoothClass implements android.os.Parcelable {
595    method public int getClassOfDevice();
596  }
597
598}
599
600package android.content {
601
602  public final class AutofillOptions implements android.os.Parcelable {
603    ctor public AutofillOptions(int, boolean);
604    method public int describeContents();
605    method public static android.content.AutofillOptions forWhitelistingItself();
606    method public boolean isAugmentedAutofillEnabled(@NonNull android.content.Context);
607    method public void writeToParcel(android.os.Parcel, int);
608    field @NonNull public static final android.os.Parcelable.Creator<android.content.AutofillOptions> CREATOR;
609    field public boolean augmentedAutofillEnabled;
610    field public final boolean compatModeEnabled;
611    field public final int loggingLevel;
612    field @Nullable public android.util.ArraySet<android.content.ComponentName> whitelistedActivitiesForAugmentedAutofill;
613  }
614
615  public final class ContentCaptureOptions implements android.os.Parcelable {
616    ctor public ContentCaptureOptions(int);
617    ctor public ContentCaptureOptions(int, int, int, int, int, @Nullable android.util.ArraySet<android.content.ComponentName>);
618    method public int describeContents();
619    method public static android.content.ContentCaptureOptions forWhitelistingItself();
620    method public void writeToParcel(android.os.Parcel, int);
621    field @NonNull public static final android.os.Parcelable.Creator<android.content.ContentCaptureOptions> CREATOR;
622    field public final int idleFlushingFrequencyMs;
623    field public final boolean lite;
624    field public final int logHistorySize;
625    field public final int loggingLevel;
626    field public final int maxBufferSize;
627    field public final int textChangeFlushingFrequencyMs;
628    field @Nullable public final android.util.ArraySet<android.content.ComponentName> whitelistedComponents;
629  }
630
631  public class ContentProviderClient implements java.lang.AutoCloseable {
632    method @RequiresPermission(android.Manifest.permission.REMOVE_TASKS) public void setDetectNotResponding(long);
633  }
634
635  public abstract class ContentResolver {
636    method public static String[] getSyncAdapterPackagesForAuthorityAsUser(String, int);
637  }
638
639  public abstract class Context {
640    method public android.content.Context createPackageContextAsUser(String, int, android.os.UserHandle) throws android.content.pm.PackageManager.NameNotFoundException;
641    method public abstract android.view.Display getDisplay();
642    method public abstract int getDisplayId();
643    method public android.os.UserHandle getUser();
644    method public int getUserId();
645    method public void setAutofillOptions(@Nullable android.content.AutofillOptions);
646    method public void setContentCaptureOptions(@Nullable android.content.ContentCaptureOptions);
647    field public static final String BUGREPORT_SERVICE = "bugreport";
648    field public static final String CONTENT_CAPTURE_MANAGER_SERVICE = "content_capture";
649    field public static final String PERMISSION_SERVICE = "permission";
650    field public static final String ROLLBACK_SERVICE = "rollback";
651    field public static final String STATUS_BAR_SERVICE = "statusbar";
652    field public static final String TEST_NETWORK_SERVICE = "test_network";
653  }
654
655  public class ContextWrapper extends android.content.Context {
656    method public android.view.Display getDisplay();
657    method public int getDisplayId();
658  }
659
660  public class Intent implements java.lang.Cloneable android.os.Parcelable {
661    field public static final String ACTION_ROLLBACK_COMMITTED = "android.intent.action.ROLLBACK_COMMITTED";
662    field public static final String EXTRA_ROLE_NAME = "android.intent.extra.ROLE_NAME";
663  }
664
665}
666
667package android.content.pm {
668
669  public class ActivityInfo extends android.content.pm.ComponentInfo implements android.os.Parcelable {
670    method public static boolean isTranslucentOrFloating(android.content.res.TypedArray);
671    field public static final int RESIZE_MODE_RESIZEABLE = 2; // 0x2
672  }
673
674  public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable {
675    method public boolean isPrivilegedApp();
676    method public boolean isSystemApp();
677    field public static final int PRIVATE_FLAG_PRIVILEGED = 8; // 0x8
678    field public int privateFlags;
679  }
680
681  public class LauncherApps {
682    ctor public LauncherApps(android.content.Context);
683  }
684
685  public static class PackageInstaller.SessionInfo implements android.os.Parcelable {
686    method @NonNull public java.util.Set<java.lang.String> getWhitelistedRestrictedPermissions();
687  }
688
689  public static class PackageInstaller.SessionParams implements android.os.Parcelable {
690    method public void setEnableRollback(boolean);
691    method @RequiresPermission("android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS") public void setGrantedRuntimePermissions(String[]);
692    method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setInstallAsApex();
693    method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setStaged();
694  }
695
696  public abstract class PackageManager {
697    method public abstract boolean arePermissionsIndividuallyControlled();
698    method @Nullable @RequiresPermission("android.permission.INTERACT_ACROSS_USERS_FULL") public abstract String getDefaultBrowserPackageNameAsUser(int);
699    method @Nullable public String getIncidentReportApproverPackageName();
700    method public abstract int getInstallReason(@NonNull String, @NonNull android.os.UserHandle);
701    method @NonNull public abstract java.util.List<android.content.pm.ApplicationInfo> getInstalledApplicationsAsUser(int, int);
702    method @NonNull @RequiresPermission("android.permission.INTERACT_ACROSS_USERS_FULL") public abstract java.util.List<android.content.pm.PackageInfo> getInstalledPackagesAsUser(int, int);
703    method @Nullable public abstract String[] getNamesForUids(int[]);
704    method @NonNull public abstract String getPermissionControllerPackageName();
705    method @RequiresPermission(anyOf={"android.permission.GRANT_RUNTIME_PERMISSIONS", "android.permission.REVOKE_RUNTIME_PERMISSIONS", "android.permission.GET_RUNTIME_PERMISSIONS"}) public abstract int getPermissionFlags(@NonNull String, @NonNull String, @NonNull android.os.UserHandle);
706    method @NonNull public abstract String getServicesSystemSharedLibraryPackageName();
707    method @NonNull public abstract String getSharedSystemSharedLibraryPackageName();
708    method @Nullable public String getWellbeingPackageName();
709    method @RequiresPermission("android.permission.GRANT_RUNTIME_PERMISSIONS") public abstract void grantRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle);
710    method @RequiresPermission("android.permission.REVOKE_RUNTIME_PERMISSIONS") public abstract void revokeRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle);
711    method @RequiresPermission(anyOf={"android.permission.GRANT_RUNTIME_PERMISSIONS", "android.permission.REVOKE_RUNTIME_PERMISSIONS"}) public abstract void updatePermissionFlags(@NonNull String, @NonNull String, int, int, @NonNull android.os.UserHandle);
712    field public static final String FEATURE_ADOPTABLE_STORAGE = "android.software.adoptable_storage";
713    field public static final String FEATURE_FILE_BASED_ENCRYPTION = "android.software.file_based_encryption";
714    field public static final int FLAG_PERMISSION_APPLY_RESTRICTION = 16384; // 0x4000
715    field public static final int FLAG_PERMISSION_GRANTED_BY_ROLE = 32768; // 0x8000
716    field public static final int FLAG_PERMISSION_POLICY_FIXED = 4; // 0x4
717    field public static final int FLAG_PERMISSION_RESTRICTION_INSTALLER_EXEMPT = 2048; // 0x800
718    field public static final int FLAG_PERMISSION_RESTRICTION_SYSTEM_EXEMPT = 4096; // 0x1000
719    field public static final int FLAG_PERMISSION_RESTRICTION_UPGRADE_EXEMPT = 8192; // 0x2000
720    field public static final int FLAG_PERMISSION_REVIEW_REQUIRED = 64; // 0x40
721    field public static final int FLAG_PERMISSION_REVOKE_ON_UPGRADE = 8; // 0x8
722    field public static final int FLAG_PERMISSION_REVOKE_WHEN_REQUESTED = 128; // 0x80
723    field public static final int FLAG_PERMISSION_SYSTEM_FIXED = 16; // 0x10
724    field public static final int FLAG_PERMISSION_USER_FIXED = 2; // 0x2
725    field public static final int FLAG_PERMISSION_USER_SET = 1; // 0x1
726    field public static final int MATCH_FACTORY_ONLY = 2097152; // 0x200000
727    field public static final int MATCH_KNOWN_PACKAGES = 4202496; // 0x402000
728    field public static final String SYSTEM_SHARED_LIBRARY_SERVICES = "android.ext.services";
729    field public static final String SYSTEM_SHARED_LIBRARY_SHARED = "android.ext.shared";
730  }
731
732  public class PermissionInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable {
733    field public static final int FLAG_REMOVED = 2; // 0x2
734    field public static final int PROTECTION_FLAG_APP_PREDICTOR = 2097152; // 0x200000
735    field public static final int PROTECTION_FLAG_CONFIGURATOR = 524288; // 0x80000
736    field public static final int PROTECTION_FLAG_DOCUMENTER = 262144; // 0x40000
737    field public static final int PROTECTION_FLAG_INCIDENT_REPORT_APPROVER = 1048576; // 0x100000
738    field public static final int PROTECTION_FLAG_OEM = 16384; // 0x4000
739    field public static final int PROTECTION_FLAG_SYSTEM_TEXT_CLASSIFIER = 65536; // 0x10000
740    field public static final int PROTECTION_FLAG_VENDOR_PRIVILEGED = 32768; // 0x8000
741    field public static final int PROTECTION_FLAG_WELLBEING = 131072; // 0x20000
742    field @Nullable public final String backgroundPermission;
743  }
744
745  public final class ShortcutInfo implements android.os.Parcelable {
746    method public boolean isVisibleToPublisher();
747  }
748
749  public class ShortcutManager {
750    ctor public ShortcutManager(android.content.Context);
751  }
752
753}
754
755package android.content.res {
756
757  public final class AssetManager implements java.lang.AutoCloseable {
758    method @NonNull public String[] getApkPaths();
759    method @Nullable public java.util.Map<java.lang.String,java.lang.String> getOverlayableMap(String);
760  }
761
762  public final class Configuration implements java.lang.Comparable<android.content.res.Configuration> android.os.Parcelable {
763    field public int assetsSeq;
764    field public final android.app.WindowConfiguration windowConfiguration;
765  }
766
767}
768
769package android.content.rollback {
770
771  public final class PackageRollbackInfo implements android.os.Parcelable {
772    method public int describeContents();
773    method @NonNull public String getPackageName();
774    method @NonNull public android.content.pm.VersionedPackage getVersionRolledBackFrom();
775    method @NonNull public android.content.pm.VersionedPackage getVersionRolledBackTo();
776    method public void writeToParcel(android.os.Parcel, int);
777    field @NonNull public static final android.os.Parcelable.Creator<android.content.rollback.PackageRollbackInfo> CREATOR;
778  }
779
780  public final class RollbackInfo implements android.os.Parcelable {
781    method public int describeContents();
782    method @NonNull public java.util.List<android.content.pm.VersionedPackage> getCausePackages();
783    method public int getCommittedSessionId();
784    method @NonNull public java.util.List<android.content.rollback.PackageRollbackInfo> getPackages();
785    method public int getRollbackId();
786    method public boolean isStaged();
787    method public void writeToParcel(android.os.Parcel, int);
788    field @NonNull public static final android.os.Parcelable.Creator<android.content.rollback.RollbackInfo> CREATOR;
789  }
790
791  public final class RollbackManager {
792    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, android.Manifest.permission.TEST_MANAGE_ROLLBACKS}) public void commitRollback(int, @NonNull java.util.List<android.content.pm.VersionedPackage>, @NonNull android.content.IntentSender);
793    method @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS) public void expireRollbackForPackage(@NonNull String);
794    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, android.Manifest.permission.TEST_MANAGE_ROLLBACKS}) @NonNull public java.util.List<android.content.rollback.RollbackInfo> getAvailableRollbacks();
795    method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, android.Manifest.permission.TEST_MANAGE_ROLLBACKS}) @NonNull public java.util.List<android.content.rollback.RollbackInfo> getRecentlyCommittedRollbacks();
796    method @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS) public void reloadPersistedData();
797    field public static final String EXTRA_STATUS = "android.content.rollback.extra.STATUS";
798    field public static final String EXTRA_STATUS_MESSAGE = "android.content.rollback.extra.STATUS_MESSAGE";
799    field public static final String PROPERTY_ROLLBACK_LIFETIME_MILLIS = "rollback_lifetime_in_millis";
800    field public static final int STATUS_FAILURE = 1; // 0x1
801    field public static final int STATUS_FAILURE_INSTALL = 3; // 0x3
802    field public static final int STATUS_FAILURE_ROLLBACK_UNAVAILABLE = 2; // 0x2
803    field public static final int STATUS_SUCCESS = 0; // 0x0
804  }
805
806}
807
808package android.database.sqlite {
809
810  public class SQLiteCompatibilityWalFlags {
811    method public static void reset();
812  }
813
814  public final class SQLiteDebug {
815    method public static void dump(android.util.Printer, String[]);
816    method public static android.database.sqlite.SQLiteDebug.PagerStats getDatabaseInfo();
817  }
818
819  public static class SQLiteDebug.DbStats {
820    ctor public SQLiteDebug.DbStats(String, long, long, int, int, int, int);
821    field public String cache;
822    field public String dbName;
823    field public long dbSize;
824    field public int lookaside;
825    field public long pageSize;
826  }
827
828  public static class SQLiteDebug.PagerStats {
829    ctor public SQLiteDebug.PagerStats();
830    field public java.util.ArrayList<android.database.sqlite.SQLiteDebug.DbStats> dbStats;
831    field public int largestMemAlloc;
832    field public int memoryUsed;
833    field public int pageCacheOverflow;
834  }
835
836  public final class SQLiteDirectCursorDriver implements android.database.sqlite.SQLiteCursorDriver {
837    ctor public SQLiteDirectCursorDriver(android.database.sqlite.SQLiteDatabase, String, String, android.os.CancellationSignal);
838    method public void cursorClosed();
839    method public void cursorDeactivated();
840    method public void cursorRequeried(android.database.Cursor);
841    method public android.database.Cursor query(android.database.sqlite.SQLiteDatabase.CursorFactory, String[]);
842    method public void setBindArguments(String[]);
843  }
844
845  public final class SQLiteGlobal {
846    method public static String getDefaultJournalMode();
847    method public static int getDefaultPageSize();
848    method public static String getDefaultSyncMode();
849    method public static int getIdleConnectionTimeout();
850    method public static int getJournalSizeLimit();
851    method public static int getWALAutoCheckpoint();
852    method public static int getWALConnectionPoolSize();
853    method public static String getWALSyncMode();
854    method public static int releaseMemory();
855  }
856
857}
858
859package android.graphics {
860
861  public final class ImageDecoder implements java.lang.AutoCloseable {
862    method @AnyThread @NonNull public static android.graphics.ImageDecoder.Source createSource(android.content.res.Resources, java.io.InputStream, int);
863  }
864
865}
866
867package android.graphics.drawable {
868
869  public class AdaptiveIconDrawable extends android.graphics.drawable.Drawable implements android.graphics.drawable.Drawable.Callback {
870    method public android.graphics.Region getSafeZone();
871    field public static final float MASK_SIZE = 100.0f;
872  }
873
874  public class ColorDrawable extends android.graphics.drawable.Drawable {
875    method public android.graphics.Xfermode getXfermode();
876  }
877
878  public abstract class Drawable {
879    method public boolean hasFocusStateSpecified();
880  }
881
882  public class ShapeDrawable extends android.graphics.drawable.Drawable {
883    method public void setXfermode(@Nullable android.graphics.Xfermode);
884  }
885
886}
887
888package android.hardware.camera2 {
889
890  public abstract class CameraDevice implements java.lang.AutoCloseable {
891    method public abstract void createCustomCaptureSession(android.hardware.camera2.params.InputConfiguration, @NonNull java.util.List<android.hardware.camera2.params.OutputConfiguration>, int, @NonNull android.hardware.camera2.CameraCaptureSession.StateCallback, @Nullable android.os.Handler) throws android.hardware.camera2.CameraAccessException;
892    field public static final int SESSION_OPERATION_MODE_CONSTRAINED_HIGH_SPEED = 1; // 0x1
893    field public static final int SESSION_OPERATION_MODE_NORMAL = 0; // 0x0
894    field public static final int SESSION_OPERATION_MODE_VENDOR_START = 32768; // 0x8000
895  }
896
897}
898
899package android.hardware.display {
900
901  public final class AmbientBrightnessDayStats implements android.os.Parcelable {
902    method public int describeContents();
903    method public float[] getBucketBoundaries();
904    method public java.time.LocalDate getLocalDate();
905    method public float[] getStats();
906    method public void writeToParcel(android.os.Parcel, int);
907    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.AmbientBrightnessDayStats> CREATOR;
908  }
909
910  public class AmbientDisplayConfiguration {
911    ctor public AmbientDisplayConfiguration(android.content.Context);
912    method public boolean alwaysOnAvailable();
913    method public boolean alwaysOnAvailableForUser(int);
914    method public boolean alwaysOnEnabled(int);
915  }
916
917  public final class BrightnessChangeEvent implements android.os.Parcelable {
918    method public int describeContents();
919    method public void writeToParcel(android.os.Parcel, int);
920    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessChangeEvent> CREATOR;
921    field public final float batteryLevel;
922    field public final float brightness;
923    field public final long colorSampleDuration;
924    field public final int colorTemperature;
925    field @Nullable public final long[] colorValueBuckets;
926    field public final boolean isDefaultBrightnessConfig;
927    field public final boolean isUserSetBrightness;
928    field public final float lastBrightness;
929    field public final long[] luxTimestamps;
930    field public final float[] luxValues;
931    field public final boolean nightMode;
932    field public final String packageName;
933    field public final float powerBrightnessFactor;
934    field public final long timeStamp;
935  }
936
937  public final class BrightnessConfiguration implements android.os.Parcelable {
938    method public int describeContents();
939    method @Nullable public android.hardware.display.BrightnessCorrection getCorrectionByCategory(int);
940    method @Nullable public android.hardware.display.BrightnessCorrection getCorrectionByPackageName(@NonNull String);
941    method public android.util.Pair<float[],float[]> getCurve();
942    method public void writeToParcel(android.os.Parcel, int);
943    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessConfiguration> CREATOR;
944  }
945
946  public static class BrightnessConfiguration.Builder {
947    ctor public BrightnessConfiguration.Builder(float[], float[]);
948    method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByCategory(int, @NonNull android.hardware.display.BrightnessCorrection);
949    method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByPackageName(@NonNull String, @NonNull android.hardware.display.BrightnessCorrection);
950    method @NonNull public android.hardware.display.BrightnessConfiguration build();
951    method public int getMaxCorrectionsByCategory();
952    method public int getMaxCorrectionsByPackageName();
953    method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setDescription(@Nullable String);
954  }
955
956  public final class BrightnessCorrection implements android.os.Parcelable {
957    method @FloatRange(from=0.0) public float apply(@FloatRange(from=0.0) float);
958    method @NonNull public static android.hardware.display.BrightnessCorrection createScaleAndTranslateLog(float, float);
959    method public int describeContents();
960    method public void writeToParcel(android.os.Parcel, int);
961    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessCorrection> CREATOR;
962  }
963
964  public final class DisplayManager {
965    method @RequiresPermission("android.permission.ACCESS_AMBIENT_LIGHT_STATS") public java.util.List<android.hardware.display.AmbientBrightnessDayStats> getAmbientBrightnessStats();
966    method @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public android.hardware.display.BrightnessConfiguration getBrightnessConfiguration();
967    method @RequiresPermission(android.Manifest.permission.BRIGHTNESS_SLIDER_USAGE) public java.util.List<android.hardware.display.BrightnessChangeEvent> getBrightnessEvents();
968    method @Nullable @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public android.hardware.display.BrightnessConfiguration getDefaultBrightnessConfiguration();
969    method public android.graphics.Point getStableDisplaySize();
970    method @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public void setBrightnessConfiguration(android.hardware.display.BrightnessConfiguration);
971  }
972
973}
974
975package android.location {
976
977  public final class GnssClock implements android.os.Parcelable {
978    ctor public GnssClock();
979    method public void reset();
980    method public void resetBiasNanos();
981    method public void resetBiasUncertaintyNanos();
982    method public void resetDriftNanosPerSecond();
983    method public void resetDriftUncertaintyNanosPerSecond();
984    method public void resetElapsedRealtimeNanos();
985    method public void resetElapsedRealtimeUncertaintyNanos();
986    method public void resetFullBiasNanos();
987    method public void resetLeapSecond();
988    method public void resetTimeUncertaintyNanos();
989    method public void set(android.location.GnssClock);
990    method public void setBiasNanos(double);
991    method public void setBiasUncertaintyNanos(@FloatRange(from=0.0f) double);
992    method public void setDriftNanosPerSecond(double);
993    method public void setDriftUncertaintyNanosPerSecond(@FloatRange(from=0.0f) double);
994    method public void setElapsedRealtimeNanos(long);
995    method public void setElapsedRealtimeUncertaintyNanos(@FloatRange(from=0.0f) double);
996    method public void setFullBiasNanos(long);
997    method public void setHardwareClockDiscontinuityCount(int);
998    method public void setLeapSecond(int);
999    method public void setTimeNanos(long);
1000    method public void setTimeUncertaintyNanos(@FloatRange(from=0.0f) double);
1001  }
1002
1003  public final class GnssMeasurement implements android.os.Parcelable {
1004    ctor public GnssMeasurement();
1005    method public void reset();
1006    method public void resetAutomaticGainControlLevel();
1007    method @Deprecated public void resetCarrierCycles();
1008    method public void resetCarrierFrequencyHz();
1009    method @Deprecated public void resetCarrierPhase();
1010    method @Deprecated public void resetCarrierPhaseUncertainty();
1011    method public void resetCodeType();
1012    method public void resetSnrInDb();
1013    method public void set(android.location.GnssMeasurement);
1014    method public void setAccumulatedDeltaRangeMeters(double);
1015    method public void setAccumulatedDeltaRangeState(int);
1016    method public void setAccumulatedDeltaRangeUncertaintyMeters(double);
1017    method public void setAutomaticGainControlLevelInDb(double);
1018    method @Deprecated public void setCarrierCycles(long);
1019    method public void setCarrierFrequencyHz(float);
1020    method @Deprecated public void setCarrierPhase(double);
1021    method @Deprecated public void setCarrierPhaseUncertainty(double);
1022    method public void setCn0DbHz(double);
1023    method public void setCodeType(@NonNull String);
1024    method public void setConstellationType(int);
1025    method public void setMultipathIndicator(int);
1026    method public void setPseudorangeRateMetersPerSecond(double);
1027    method public void setPseudorangeRateUncertaintyMetersPerSecond(double);
1028    method public void setReceivedSvTimeNanos(long);
1029    method public void setReceivedSvTimeUncertaintyNanos(long);
1030    method public void setSnrInDb(double);
1031    method public void setState(int);
1032    method public void setSvid(int);
1033    method public void setTimeOffsetNanos(double);
1034    field public static final int ADR_STATE_ALL = 31; // 0x1f
1035  }
1036
1037  public final class GnssMeasurementsEvent implements android.os.Parcelable {
1038    ctor public GnssMeasurementsEvent(android.location.GnssClock, android.location.GnssMeasurement[]);
1039  }
1040
1041  public final class GnssNavigationMessage implements android.os.Parcelable {
1042    ctor public GnssNavigationMessage();
1043    method public void reset();
1044    method public void set(android.location.GnssNavigationMessage);
1045    method public void setData(byte[]);
1046    method public void setMessageId(int);
1047    method public void setStatus(int);
1048    method public void setSubmessageId(int);
1049    method public void setSvid(int);
1050    method public void setType(int);
1051  }
1052
1053  public class Location implements android.os.Parcelable {
1054    method public void makeComplete();
1055  }
1056
1057  public class LocationManager {
1058    method @NonNull public String[] getBackgroundThrottlingWhitelist();
1059    method @NonNull public String[] getIgnoreSettingsWhitelist();
1060    method @NonNull public java.util.List<android.location.LocationRequest> getTestProviderCurrentRequests(String);
1061    method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void requestLocationUpdates(@NonNull android.location.LocationRequest, @NonNull android.location.LocationListener, @Nullable android.os.Looper);
1062    method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void requestLocationUpdates(@NonNull android.location.LocationRequest, @NonNull android.app.PendingIntent);
1063    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setLocationEnabledForUser(boolean, @NonNull android.os.UserHandle);
1064  }
1065
1066  public final class LocationRequest implements android.os.Parcelable {
1067    method @NonNull public static android.location.LocationRequest create();
1068    method public int describeContents();
1069    method public long getExpireAt();
1070    method public long getFastestInterval();
1071    method public long getInterval();
1072    method public int getNumUpdates();
1073    method public int getQuality();
1074    method public boolean isLocationSettingsIgnored();
1075    method @NonNull public android.location.LocationRequest setExpireAt(long);
1076    method @NonNull public android.location.LocationRequest setExpireIn(long);
1077    method @NonNull public android.location.LocationRequest setFastestInterval(long);
1078    method @NonNull public android.location.LocationRequest setInterval(long);
1079    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) @NonNull public android.location.LocationRequest setLocationSettingsIgnored(boolean);
1080    method @NonNull public android.location.LocationRequest setNumUpdates(int);
1081    method @NonNull public android.location.LocationRequest setProvider(@NonNull String);
1082    method @NonNull public android.location.LocationRequest setQuality(int);
1083    method public void writeToParcel(android.os.Parcel, int);
1084    field public static final int ACCURACY_BLOCK = 102; // 0x66
1085    field public static final int ACCURACY_CITY = 104; // 0x68
1086    field public static final int ACCURACY_FINE = 100; // 0x64
1087    field @NonNull public static final android.os.Parcelable.Creator<android.location.LocationRequest> CREATOR;
1088    field public static final int POWER_HIGH = 203; // 0xcb
1089    field public static final int POWER_LOW = 201; // 0xc9
1090    field public static final int POWER_NONE = 200; // 0xc8
1091  }
1092
1093}
1094
1095package android.media {
1096
1097  public final class AudioFocusInfo implements android.os.Parcelable {
1098    method public int describeContents();
1099    method @NonNull public android.media.AudioAttributes getAttributes();
1100    method @NonNull public String getClientId();
1101    method public int getClientUid();
1102    method public int getFlags();
1103    method public int getGainRequest();
1104    method public int getLossReceived();
1105    method @NonNull public String getPackageName();
1106    method public void writeToParcel(android.os.Parcel, int);
1107    field @NonNull public static final android.os.Parcelable.Creator<android.media.AudioFocusInfo> CREATOR;
1108  }
1109
1110  public final class AudioFocusRequest {
1111    method @Nullable public android.media.AudioManager.OnAudioFocusChangeListener getOnAudioFocusChangeListener();
1112  }
1113
1114  public final class AudioFormat implements android.os.Parcelable {
1115    method public static int channelCountFromInChannelMask(int);
1116    method public static int channelCountFromOutChannelMask(int);
1117    method public static int getBytesPerSample(int);
1118    method public static boolean isEncodingLinearPcm(int);
1119  }
1120
1121  public class AudioManager {
1122    method @RequiresPermission("android.permission.MODIFY_AUDIO_ROUTING") public int dispatchAudioFocusChange(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy);
1123    method public boolean hasRegisteredDynamicPolicy();
1124    method @RequiresPermission("android.permission.MODIFY_AUDIO_ROUTING") public int registerAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy);
1125    method @RequiresPermission("android.permission.MODIFY_AUDIO_ROUTING") public void setFocusRequestResult(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy);
1126    method @RequiresPermission("android.permission.MODIFY_AUDIO_ROUTING") public void unregisterAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy);
1127    method @RequiresPermission("android.permission.MODIFY_AUDIO_ROUTING") public void unregisterAudioPolicyAsync(@NonNull android.media.audiopolicy.AudioPolicy);
1128    field public static final int SUCCESS = 0; // 0x0
1129  }
1130
1131  public static final class AudioRecord.MetricsConstants {
1132    field public static final String ATTRIBUTES = "android.media.audiorecord.attributes";
1133    field public static final String CHANNEL_MASK = "android.media.audiorecord.channelMask";
1134    field public static final String DURATION_MS = "android.media.audiorecord.durationMs";
1135    field public static final String FRAME_COUNT = "android.media.audiorecord.frameCount";
1136    field public static final String PORT_ID = "android.media.audiorecord.portId";
1137    field public static final String START_COUNT = "android.media.audiorecord.startCount";
1138  }
1139
1140  public final class AudioRecordingConfiguration implements android.os.Parcelable {
1141    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[]);
1142    ctor public AudioRecordingConfiguration(int, int, int, android.media.AudioFormat, android.media.AudioFormat, int, String);
1143  }
1144
1145  public static final class AudioTrack.MetricsConstants {
1146    field public static final String ATTRIBUTES = "android.media.audiotrack.attributes";
1147    field public static final String CHANNEL_MASK = "android.media.audiotrack.channelMask";
1148    field public static final String ENCODING = "android.media.audiotrack.encoding";
1149    field public static final String FRAME_COUNT = "android.media.audiotrack.frameCount";
1150    field public static final String PORT_ID = "android.media.audiotrack.portId";
1151    field public static final String SAMPLE_RATE = "android.media.audiotrack.sampleRate";
1152  }
1153
1154  public static final class MediaCodecInfo.VideoCapabilities.PerformancePoint {
1155    ctor public MediaCodecInfo.VideoCapabilities.PerformancePoint(int, int, int, int, @NonNull android.util.Size);
1156    ctor public MediaCodecInfo.VideoCapabilities.PerformancePoint(@NonNull android.media.MediaCodecInfo.VideoCapabilities.PerformancePoint, @NonNull android.util.Size);
1157    method public int getMaxFrameRate();
1158    method public long getMaxMacroBlockRate();
1159    method public int getMaxMacroBlocks();
1160  }
1161
1162  public final class PlaybackParams implements android.os.Parcelable {
1163    method public int getAudioStretchMode();
1164    method public android.media.PlaybackParams setAudioStretchMode(int);
1165  }
1166
1167  public static final class VolumeShaper.Configuration.Builder {
1168    method @NonNull public android.media.VolumeShaper.Configuration.Builder setOptionFlags(int);
1169  }
1170
1171}
1172
1173package android.media.audiofx {
1174
1175  public class AudioEffect {
1176    method public static int byteArrayToInt(byte[]);
1177    method public static short byteArrayToShort(byte[]);
1178    method public int getParameter(byte[], byte[]) throws java.lang.IllegalStateException;
1179    method public int getParameter(int, byte[]) throws java.lang.IllegalStateException;
1180    method public int getParameter(int, int[]) throws java.lang.IllegalStateException;
1181    method public int getParameter(int, short[]) throws java.lang.IllegalStateException;
1182    method public int getParameter(int[], short[]) throws java.lang.IllegalStateException;
1183    method public static byte[] intToByteArray(int);
1184    method public static boolean isEffectTypeAvailable(java.util.UUID);
1185    method public static boolean isError(int);
1186    method public int setParameter(byte[], byte[]) throws java.lang.IllegalStateException;
1187    method public int setParameter(int, int) throws java.lang.IllegalStateException;
1188    method public int setParameter(int, short) throws java.lang.IllegalStateException;
1189    method public int setParameter(int, byte[]) throws java.lang.IllegalStateException;
1190    method public int setParameter(int[], int[]) throws java.lang.IllegalStateException;
1191    method public int setParameter(int[], byte[]) throws java.lang.IllegalStateException;
1192    method public void setParameterListener(android.media.audiofx.AudioEffect.OnParameterChangeListener);
1193    method public static byte[] shortToByteArray(short);
1194    field public static final java.util.UUID EFFECT_TYPE_NULL;
1195  }
1196
1197  public static class AudioEffect.Descriptor {
1198    ctor public AudioEffect.Descriptor(android.os.Parcel);
1199    method public void writeToParcel(android.os.Parcel);
1200  }
1201
1202  public static interface AudioEffect.OnParameterChangeListener {
1203    method public void onParameterChange(android.media.audiofx.AudioEffect, int, byte[], byte[]);
1204  }
1205
1206}
1207
1208package android.media.audiopolicy {
1209
1210  public class AudioMix {
1211    method public int getMixState();
1212    field public static final int MIX_STATE_DISABLED = -1; // 0xffffffff
1213    field public static final int MIX_STATE_IDLE = 0; // 0x0
1214    field public static final int MIX_STATE_MIXING = 1; // 0x1
1215    field public static final int ROUTE_FLAG_LOOP_BACK = 2; // 0x2
1216    field public static final int ROUTE_FLAG_RENDER = 1; // 0x1
1217  }
1218
1219  public static class AudioMix.Builder {
1220    ctor public AudioMix.Builder(android.media.audiopolicy.AudioMixingRule) throws java.lang.IllegalArgumentException;
1221    method public android.media.audiopolicy.AudioMix build() throws java.lang.IllegalArgumentException;
1222    method public android.media.audiopolicy.AudioMix.Builder setDevice(@NonNull android.media.AudioDeviceInfo) throws java.lang.IllegalArgumentException;
1223    method public android.media.audiopolicy.AudioMix.Builder setFormat(android.media.AudioFormat) throws java.lang.IllegalArgumentException;
1224    method public android.media.audiopolicy.AudioMix.Builder setRouteFlags(int) throws java.lang.IllegalArgumentException;
1225  }
1226
1227  public class AudioMixingRule {
1228    field public static final int RULE_MATCH_ATTRIBUTE_CAPTURE_PRESET = 2; // 0x2
1229    field public static final int RULE_MATCH_ATTRIBUTE_USAGE = 1; // 0x1
1230    field public static final int RULE_MATCH_UID = 4; // 0x4
1231  }
1232
1233  public static class AudioMixingRule.Builder {
1234    ctor public AudioMixingRule.Builder();
1235    method public android.media.audiopolicy.AudioMixingRule.Builder addMixRule(int, Object) throws java.lang.IllegalArgumentException;
1236    method public android.media.audiopolicy.AudioMixingRule.Builder addRule(android.media.AudioAttributes, int) throws java.lang.IllegalArgumentException;
1237    method @NonNull public android.media.audiopolicy.AudioMixingRule.Builder allowPrivilegedPlaybackCapture(boolean);
1238    method public android.media.audiopolicy.AudioMixingRule build();
1239    method public android.media.audiopolicy.AudioMixingRule.Builder excludeMixRule(int, Object) throws java.lang.IllegalArgumentException;
1240    method public android.media.audiopolicy.AudioMixingRule.Builder excludeRule(android.media.AudioAttributes, int) throws java.lang.IllegalArgumentException;
1241  }
1242
1243  public class AudioPolicy {
1244    method public int attachMixes(@NonNull java.util.List<android.media.audiopolicy.AudioMix>);
1245    method public android.media.AudioRecord createAudioRecordSink(android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException;
1246    method public android.media.AudioTrack createAudioTrackSource(android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException;
1247    method public int detachMixes(@NonNull java.util.List<android.media.audiopolicy.AudioMix>);
1248    method public int getFocusDuckingBehavior();
1249    method public int getStatus();
1250    method public boolean removeUidDeviceAffinity(int);
1251    method public int setFocusDuckingBehavior(int) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException;
1252    method public void setRegistration(String);
1253    method public boolean setUidDeviceAffinity(int, @NonNull java.util.List<android.media.AudioDeviceInfo>);
1254    method public String toLogFriendlyString();
1255    field public static final int FOCUS_POLICY_DUCKING_DEFAULT = 0; // 0x0
1256    field public static final int FOCUS_POLICY_DUCKING_IN_APP = 0; // 0x0
1257    field public static final int FOCUS_POLICY_DUCKING_IN_POLICY = 1; // 0x1
1258    field public static final int POLICY_STATUS_REGISTERED = 2; // 0x2
1259    field public static final int POLICY_STATUS_UNREGISTERED = 1; // 0x1
1260  }
1261
1262  public abstract static class AudioPolicy.AudioPolicyFocusListener {
1263    ctor public AudioPolicy.AudioPolicyFocusListener();
1264    method public void onAudioFocusAbandon(android.media.AudioFocusInfo);
1265    method public void onAudioFocusGrant(android.media.AudioFocusInfo, int);
1266    method public void onAudioFocusLoss(android.media.AudioFocusInfo, boolean);
1267    method public void onAudioFocusRequest(android.media.AudioFocusInfo, int);
1268  }
1269
1270  public abstract static class AudioPolicy.AudioPolicyStatusListener {
1271    ctor public AudioPolicy.AudioPolicyStatusListener();
1272    method public void onMixStateUpdate(android.media.audiopolicy.AudioMix);
1273    method public void onStatusChange();
1274  }
1275
1276  public abstract static class AudioPolicy.AudioPolicyVolumeCallback {
1277    ctor public AudioPolicy.AudioPolicyVolumeCallback();
1278    method public void onVolumeAdjustment(int);
1279  }
1280
1281  public static class AudioPolicy.Builder {
1282    ctor public AudioPolicy.Builder(android.content.Context);
1283    method @NonNull public android.media.audiopolicy.AudioPolicy.Builder addMix(@NonNull android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException;
1284    method @NonNull public android.media.audiopolicy.AudioPolicy build();
1285    method public void setAudioPolicyFocusListener(android.media.audiopolicy.AudioPolicy.AudioPolicyFocusListener);
1286    method public void setAudioPolicyStatusListener(android.media.audiopolicy.AudioPolicy.AudioPolicyStatusListener);
1287    method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setAudioPolicyVolumeCallback(@NonNull android.media.audiopolicy.AudioPolicy.AudioPolicyVolumeCallback);
1288    method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setIsAudioFocusPolicy(boolean);
1289    method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setIsTestFocusPolicy(boolean);
1290    method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setLooper(@NonNull android.os.Looper) throws java.lang.IllegalArgumentException;
1291  }
1292
1293}
1294
1295package android.metrics {
1296
1297  public class LogMaker {
1298    ctor public LogMaker(int);
1299    ctor public LogMaker(Object[]);
1300    method public android.metrics.LogMaker addTaggedData(int, Object);
1301    method public android.metrics.LogMaker clearCategory();
1302    method public android.metrics.LogMaker clearPackageName();
1303    method public android.metrics.LogMaker clearSubtype();
1304    method public android.metrics.LogMaker clearTaggedData(int);
1305    method public android.metrics.LogMaker clearType();
1306    method public void deserialize(Object[]);
1307    method public int getCategory();
1308    method public long getCounterBucket();
1309    method public String getCounterName();
1310    method public int getCounterValue();
1311    method public String getPackageName();
1312    method public int getProcessId();
1313    method public int getSubtype();
1314    method public Object getTaggedData(int);
1315    method public long getTimestamp();
1316    method public int getType();
1317    method public int getUid();
1318    method public boolean isLongCounterBucket();
1319    method public boolean isSubsetOf(android.metrics.LogMaker);
1320    method public boolean isValidValue(Object);
1321    method public Object[] serialize();
1322    method public android.metrics.LogMaker setCategory(int);
1323    method public android.metrics.LogMaker setPackageName(String);
1324    method public android.metrics.LogMaker setSubtype(int);
1325    method public android.metrics.LogMaker setType(int);
1326  }
1327
1328  public class MetricsReader {
1329    ctor public MetricsReader();
1330    method public void checkpoint();
1331    method public boolean hasNext();
1332    method public android.metrics.LogMaker next();
1333    method public void read(long);
1334    method public void reset();
1335  }
1336
1337}
1338
1339package android.net {
1340
1341  public class CaptivePortal implements android.os.Parcelable {
1342    method public void logEvent(int, @NonNull String);
1343    method public void useNetwork();
1344    field public static final int APP_RETURN_DISMISSED = 0; // 0x0
1345    field public static final int APP_RETURN_UNWANTED = 1; // 0x1
1346    field public static final int APP_RETURN_WANTED_AS_IS = 2; // 0x2
1347  }
1348
1349  public class ConnectivityManager {
1350    method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public void startCaptivePortalApp(@NonNull android.net.Network, @NonNull android.os.Bundle);
1351    field public static final String EXTRA_CAPTIVE_PORTAL_PROBE_SPEC = "android.net.extra.CAPTIVE_PORTAL_PROBE_SPEC";
1352    field public static final String EXTRA_CAPTIVE_PORTAL_USER_AGENT = "android.net.extra.CAPTIVE_PORTAL_USER_AGENT";
1353  }
1354
1355  public final class IpPrefix implements android.os.Parcelable {
1356    ctor public IpPrefix(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int);
1357    ctor public IpPrefix(@NonNull String);
1358  }
1359
1360  public final class IpSecManager {
1361    field public static final int INVALID_SECURITY_PARAMETER_INDEX = 0; // 0x0
1362  }
1363
1364  public class LinkAddress implements android.os.Parcelable {
1365    ctor public LinkAddress(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int, int, int);
1366    ctor public LinkAddress(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int);
1367    ctor public LinkAddress(@NonNull String);
1368    ctor public LinkAddress(@NonNull String, int, int);
1369    method public boolean isGlobalPreferred();
1370    method public boolean isIpv4();
1371    method public boolean isIpv6();
1372    method public boolean isSameAddressAs(@Nullable android.net.LinkAddress);
1373  }
1374
1375  public final class LinkProperties implements android.os.Parcelable {
1376    ctor public LinkProperties(@Nullable android.net.LinkProperties);
1377    method public boolean addDnsServer(@NonNull java.net.InetAddress);
1378    method public boolean addLinkAddress(@NonNull android.net.LinkAddress);
1379    method @Nullable public android.net.IpPrefix getNat64Prefix();
1380    method @NonNull public java.util.List<java.net.InetAddress> getPcscfServers();
1381    method @Nullable public String getTcpBufferSizes();
1382    method @NonNull public java.util.List<java.net.InetAddress> getValidatedPrivateDnsServers();
1383    method public boolean hasGlobalIpv6Address();
1384    method public boolean hasIpv4Address();
1385    method public boolean hasIpv6DefaultRoute();
1386    method public boolean isIpv4Provisioned();
1387    method public boolean isIpv6Provisioned();
1388    method public boolean isProvisioned();
1389    method public boolean isReachable(@NonNull java.net.InetAddress);
1390    method public boolean removeDnsServer(@NonNull java.net.InetAddress);
1391    method public boolean removeLinkAddress(@NonNull android.net.LinkAddress);
1392    method public boolean removeRoute(@NonNull android.net.RouteInfo);
1393    method public void setNat64Prefix(@Nullable android.net.IpPrefix);
1394    method public void setPcscfServers(@NonNull java.util.Collection<java.net.InetAddress>);
1395    method public void setPrivateDnsServerName(@Nullable String);
1396    method public void setTcpBufferSizes(@Nullable String);
1397    method public void setUsePrivateDns(boolean);
1398    method public void setValidatedPrivateDnsServers(@NonNull java.util.Collection<java.net.InetAddress>);
1399  }
1400
1401  public class Network implements android.os.Parcelable {
1402    ctor public Network(@NonNull android.net.Network);
1403    method @NonNull public android.net.Network getPrivateDnsBypassingCopy();
1404  }
1405
1406  public final class NetworkCapabilities implements android.os.Parcelable {
1407    method public int[] getCapabilities();
1408    method @NonNull public int[] getTransportTypes();
1409    method public boolean satisfiedByNetworkCapabilities(@Nullable android.net.NetworkCapabilities);
1410    field public static final int TRANSPORT_TEST = 7; // 0x7
1411  }
1412
1413  public class NetworkStack {
1414    field public static final String PERMISSION_MAINLINE_NETWORK_STACK = "android.permission.MAINLINE_NETWORK_STACK";
1415  }
1416
1417  public final class RouteInfo implements android.os.Parcelable {
1418    ctor public RouteInfo(@Nullable android.net.IpPrefix, @Nullable java.net.InetAddress, @Nullable String, int);
1419    method public int getType();
1420    field public static final int RTN_THROW = 9; // 0x9
1421    field public static final int RTN_UNICAST = 1; // 0x1
1422    field public static final int RTN_UNREACHABLE = 7; // 0x7
1423  }
1424
1425  public final class StaticIpConfiguration implements android.os.Parcelable {
1426    ctor public StaticIpConfiguration();
1427    ctor public StaticIpConfiguration(@Nullable android.net.StaticIpConfiguration);
1428    method public void addDnsServer(@NonNull java.net.InetAddress);
1429    method public void clear();
1430    method public int describeContents();
1431    method @NonNull public java.util.List<java.net.InetAddress> getDnsServers();
1432    method @Nullable public String getDomains();
1433    method @Nullable public java.net.InetAddress getGateway();
1434    method @Nullable public android.net.LinkAddress getIpAddress();
1435    method @NonNull public java.util.List<android.net.RouteInfo> getRoutes(@Nullable String);
1436    method public void writeToParcel(android.os.Parcel, int);
1437    field @NonNull public static final android.os.Parcelable.Creator<android.net.StaticIpConfiguration> CREATOR;
1438  }
1439
1440  public static final class StaticIpConfiguration.Builder {
1441    ctor public StaticIpConfiguration.Builder();
1442    method @NonNull public android.net.StaticIpConfiguration build();
1443    method @NonNull public android.net.StaticIpConfiguration.Builder setDnsServers(@NonNull Iterable<java.net.InetAddress>);
1444    method @NonNull public android.net.StaticIpConfiguration.Builder setDomains(@Nullable String);
1445    method @NonNull public android.net.StaticIpConfiguration.Builder setGateway(@Nullable java.net.InetAddress);
1446    method @NonNull public android.net.StaticIpConfiguration.Builder setIpAddress(@Nullable android.net.LinkAddress);
1447  }
1448
1449  public final class TestNetworkInterface implements android.os.Parcelable {
1450    ctor public TestNetworkInterface(android.os.ParcelFileDescriptor, String);
1451    method public int describeContents();
1452    method public android.os.ParcelFileDescriptor getFileDescriptor();
1453    method public String getInterfaceName();
1454    method public void writeToParcel(android.os.Parcel, int);
1455    field public static final android.os.Parcelable.Creator<android.net.TestNetworkInterface> CREATOR;
1456  }
1457
1458  public class TestNetworkManager {
1459    method public android.net.TestNetworkInterface createTapInterface();
1460    method public android.net.TestNetworkInterface createTunInterface(@NonNull android.net.LinkAddress[]);
1461    method public void setupTestNetwork(@NonNull String, @NonNull android.os.IBinder);
1462    method public void teardownTestNetwork(@NonNull android.net.Network);
1463  }
1464
1465  public class TrafficStats {
1466    method public static long getLoopbackRxBytes();
1467    method public static long getLoopbackRxPackets();
1468    method public static long getLoopbackTxBytes();
1469    method public static long getLoopbackTxPackets();
1470  }
1471
1472}
1473
1474package android.net.apf {
1475
1476  public final class ApfCapabilities implements android.os.Parcelable {
1477    ctor public ApfCapabilities(int, int, int);
1478    method public int describeContents();
1479    method public static boolean getApfDrop8023Frames();
1480    method @NonNull public static int[] getApfEtherTypeBlackList();
1481    method public boolean hasDataAccess();
1482    method public void writeToParcel(android.os.Parcel, int);
1483    field public static final android.os.Parcelable.Creator<android.net.apf.ApfCapabilities> CREATOR;
1484    field public final int apfPacketFormat;
1485    field public final int apfVersionSupported;
1486    field public final int maximumApfProgramSize;
1487  }
1488
1489}
1490
1491package android.net.metrics {
1492
1493  public final class ApfProgramEvent implements android.net.metrics.IpConnectivityLog.Event {
1494  }
1495
1496  public static final class ApfProgramEvent.Builder {
1497    ctor public ApfProgramEvent.Builder();
1498    method @NonNull public android.net.metrics.ApfProgramEvent build();
1499    method @NonNull public android.net.metrics.ApfProgramEvent.Builder setActualLifetime(long);
1500    method @NonNull public android.net.metrics.ApfProgramEvent.Builder setCurrentRas(int);
1501    method @NonNull public android.net.metrics.ApfProgramEvent.Builder setFilteredRas(int);
1502    method @NonNull public android.net.metrics.ApfProgramEvent.Builder setFlags(boolean, boolean);
1503    method @NonNull public android.net.metrics.ApfProgramEvent.Builder setLifetime(long);
1504    method @NonNull public android.net.metrics.ApfProgramEvent.Builder setProgramLength(int);
1505  }
1506
1507  public final class ApfStats implements android.net.metrics.IpConnectivityLog.Event {
1508  }
1509
1510  public static final class ApfStats.Builder {
1511    ctor public ApfStats.Builder();
1512    method @NonNull public android.net.metrics.ApfStats build();
1513    method @NonNull public android.net.metrics.ApfStats.Builder setDroppedRas(int);
1514    method @NonNull public android.net.metrics.ApfStats.Builder setDurationMs(long);
1515    method @NonNull public android.net.metrics.ApfStats.Builder setMatchingRas(int);
1516    method @NonNull public android.net.metrics.ApfStats.Builder setMaxProgramSize(int);
1517    method @NonNull public android.net.metrics.ApfStats.Builder setParseErrors(int);
1518    method @NonNull public android.net.metrics.ApfStats.Builder setProgramUpdates(int);
1519    method @NonNull public android.net.metrics.ApfStats.Builder setProgramUpdatesAll(int);
1520    method @NonNull public android.net.metrics.ApfStats.Builder setProgramUpdatesAllowingMulticast(int);
1521    method @NonNull public android.net.metrics.ApfStats.Builder setReceivedRas(int);
1522    method @NonNull public android.net.metrics.ApfStats.Builder setZeroLifetimeRas(int);
1523  }
1524
1525  public final class DhcpClientEvent implements android.net.metrics.IpConnectivityLog.Event {
1526  }
1527
1528  public static final class DhcpClientEvent.Builder {
1529    ctor public DhcpClientEvent.Builder();
1530    method @NonNull public android.net.metrics.DhcpClientEvent build();
1531    method @NonNull public android.net.metrics.DhcpClientEvent.Builder setDurationMs(int);
1532    method @NonNull public android.net.metrics.DhcpClientEvent.Builder setMsg(String);
1533  }
1534
1535  public final class DhcpErrorEvent implements android.net.metrics.IpConnectivityLog.Event {
1536    ctor public DhcpErrorEvent(int);
1537    method public static int errorCodeWithOption(int, int);
1538    field public static final int BOOTP_TOO_SHORT = 67174400; // 0x4010000
1539    field public static final int BUFFER_UNDERFLOW = 83951616; // 0x5010000
1540    field public static final int DHCP_BAD_MAGIC_COOKIE = 67239936; // 0x4020000
1541    field public static final int DHCP_ERROR = 4; // 0x4
1542    field public static final int DHCP_INVALID_OPTION_LENGTH = 67305472; // 0x4030000
1543    field public static final int DHCP_NO_COOKIE = 67502080; // 0x4060000
1544    field public static final int DHCP_NO_MSG_TYPE = 67371008; // 0x4040000
1545    field public static final int DHCP_UNKNOWN_MSG_TYPE = 67436544; // 0x4050000
1546    field public static final int L2_ERROR = 1; // 0x1
1547    field public static final int L2_TOO_SHORT = 16842752; // 0x1010000
1548    field public static final int L2_WRONG_ETH_TYPE = 16908288; // 0x1020000
1549    field public static final int L3_ERROR = 2; // 0x2
1550    field public static final int L3_INVALID_IP = 33751040; // 0x2030000
1551    field public static final int L3_NOT_IPV4 = 33685504; // 0x2020000
1552    field public static final int L3_TOO_SHORT = 33619968; // 0x2010000
1553    field public static final int L4_ERROR = 3; // 0x3
1554    field public static final int L4_NOT_UDP = 50397184; // 0x3010000
1555    field public static final int L4_WRONG_PORT = 50462720; // 0x3020000
1556    field public static final int MISC_ERROR = 5; // 0x5
1557    field public static final int PARSING_ERROR = 84082688; // 0x5030000
1558    field public static final int RECEIVE_ERROR = 84017152; // 0x5020000
1559  }
1560
1561  public class IpConnectivityLog {
1562    ctor public IpConnectivityLog();
1563    method public boolean log(long, @NonNull android.net.metrics.IpConnectivityLog.Event);
1564    method public boolean log(@NonNull String, @NonNull android.net.metrics.IpConnectivityLog.Event);
1565    method public boolean log(@NonNull android.net.Network, @NonNull int[], @NonNull android.net.metrics.IpConnectivityLog.Event);
1566    method public boolean log(int, @NonNull int[], @NonNull android.net.metrics.IpConnectivityLog.Event);
1567    method public boolean log(@NonNull android.net.metrics.IpConnectivityLog.Event);
1568  }
1569
1570  public static interface IpConnectivityLog.Event extends android.os.Parcelable {
1571  }
1572
1573  public final class IpManagerEvent implements android.net.metrics.IpConnectivityLog.Event {
1574    ctor public IpManagerEvent(int, long);
1575    field public static final int COMPLETE_LIFECYCLE = 3; // 0x3
1576    field public static final int ERROR_INTERFACE_NOT_FOUND = 8; // 0x8
1577    field public static final int ERROR_INVALID_PROVISIONING = 7; // 0x7
1578    field public static final int ERROR_STARTING_IPREACHABILITYMONITOR = 6; // 0x6
1579    field public static final int ERROR_STARTING_IPV4 = 4; // 0x4
1580    field public static final int ERROR_STARTING_IPV6 = 5; // 0x5
1581    field public static final int PROVISIONING_FAIL = 2; // 0x2
1582    field public static final int PROVISIONING_OK = 1; // 0x1
1583  }
1584
1585  public final class IpReachabilityEvent implements android.net.metrics.IpConnectivityLog.Event {
1586    ctor public IpReachabilityEvent(int);
1587    field public static final int NUD_FAILED = 512; // 0x200
1588    field public static final int NUD_FAILED_ORGANIC = 1024; // 0x400
1589    field public static final int PROBE = 256; // 0x100
1590    field public static final int PROVISIONING_LOST = 768; // 0x300
1591    field public static final int PROVISIONING_LOST_ORGANIC = 1280; // 0x500
1592  }
1593
1594  public final class NetworkEvent implements android.net.metrics.IpConnectivityLog.Event {
1595    ctor public NetworkEvent(int, long);
1596    ctor public NetworkEvent(int);
1597    field public static final int NETWORK_CAPTIVE_PORTAL_FOUND = 4; // 0x4
1598    field public static final int NETWORK_CONNECTED = 1; // 0x1
1599    field public static final int NETWORK_CONSECUTIVE_DNS_TIMEOUT_FOUND = 12; // 0xc
1600    field public static final int NETWORK_DISCONNECTED = 7; // 0x7
1601    field public static final int NETWORK_FIRST_VALIDATION_PORTAL_FOUND = 10; // 0xa
1602    field public static final int NETWORK_FIRST_VALIDATION_SUCCESS = 8; // 0x8
1603    field public static final int NETWORK_LINGER = 5; // 0x5
1604    field public static final int NETWORK_PARTIAL_CONNECTIVITY = 13; // 0xd
1605    field public static final int NETWORK_REVALIDATION_PORTAL_FOUND = 11; // 0xb
1606    field public static final int NETWORK_REVALIDATION_SUCCESS = 9; // 0x9
1607    field public static final int NETWORK_UNLINGER = 6; // 0x6
1608    field public static final int NETWORK_VALIDATED = 2; // 0x2
1609    field public static final int NETWORK_VALIDATION_FAILED = 3; // 0x3
1610  }
1611
1612  public final class RaEvent implements android.net.metrics.IpConnectivityLog.Event {
1613  }
1614
1615  public static final class RaEvent.Builder {
1616    ctor public RaEvent.Builder();
1617    method @NonNull public android.net.metrics.RaEvent build();
1618    method @NonNull public android.net.metrics.RaEvent.Builder updateDnsslLifetime(long);
1619    method @NonNull public android.net.metrics.RaEvent.Builder updatePrefixPreferredLifetime(long);
1620    method @NonNull public android.net.metrics.RaEvent.Builder updatePrefixValidLifetime(long);
1621    method @NonNull public android.net.metrics.RaEvent.Builder updateRdnssLifetime(long);
1622    method @NonNull public android.net.metrics.RaEvent.Builder updateRouteInfoLifetime(long);
1623    method @NonNull public android.net.metrics.RaEvent.Builder updateRouterLifetime(long);
1624  }
1625
1626  public final class ValidationProbeEvent implements android.net.metrics.IpConnectivityLog.Event {
1627    method @NonNull public static String getProbeName(int);
1628    field public static final int DNS_FAILURE = 0; // 0x0
1629    field public static final int DNS_SUCCESS = 1; // 0x1
1630    field public static final int PROBE_DNS = 0; // 0x0
1631    field public static final int PROBE_FALLBACK = 4; // 0x4
1632    field public static final int PROBE_HTTP = 1; // 0x1
1633    field public static final int PROBE_HTTPS = 2; // 0x2
1634    field public static final int PROBE_PAC = 3; // 0x3
1635    field public static final int PROBE_PRIVDNS = 5; // 0x5
1636  }
1637
1638  public static final class ValidationProbeEvent.Builder {
1639    ctor public ValidationProbeEvent.Builder();
1640    method @NonNull public android.net.metrics.ValidationProbeEvent build();
1641    method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setDurationMs(long);
1642    method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setProbeType(int, boolean);
1643    method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setReturnCode(int);
1644  }
1645
1646}
1647
1648package android.net.util {
1649
1650  public final class SocketUtils {
1651    method public static void bindSocketToInterface(@NonNull java.io.FileDescriptor, @NonNull String) throws android.system.ErrnoException;
1652    method public static void closeSocket(@Nullable java.io.FileDescriptor) throws java.io.IOException;
1653    method @NonNull public static java.net.SocketAddress makeNetlinkSocketAddress(int, int);
1654    method @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, int);
1655    method @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, @NonNull byte[]);
1656  }
1657
1658}
1659
1660package android.os {
1661
1662  public class BatteryManager {
1663    method @RequiresPermission("android.permission.POWER_SAVER") public boolean setChargingStateUpdateDelayMillis(int);
1664  }
1665
1666  public final class BugreportManager {
1667    method @RequiresPermission(android.Manifest.permission.DUMP) public void cancelBugreport();
1668    method @RequiresPermission(android.Manifest.permission.DUMP) public void startBugreport(@NonNull android.os.ParcelFileDescriptor, @Nullable android.os.ParcelFileDescriptor, @NonNull android.os.BugreportParams, @NonNull java.util.concurrent.Executor, @NonNull android.os.BugreportManager.BugreportCallback);
1669  }
1670
1671  public abstract static class BugreportManager.BugreportCallback {
1672    ctor public BugreportManager.BugreportCallback();
1673    method public void onError(int);
1674    method public void onFinished();
1675    method public void onProgress(@FloatRange(from=0.0f, to=100.0f) float);
1676    field public static final int BUGREPORT_ERROR_ANOTHER_REPORT_IN_PROGRESS = 5; // 0x5
1677    field public static final int BUGREPORT_ERROR_INVALID_INPUT = 1; // 0x1
1678    field public static final int BUGREPORT_ERROR_RUNTIME = 2; // 0x2
1679    field public static final int BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT = 4; // 0x4
1680    field public static final int BUGREPORT_ERROR_USER_DENIED_CONSENT = 3; // 0x3
1681  }
1682
1683  public final class BugreportParams {
1684    ctor public BugreportParams(int);
1685    method public int getMode();
1686    field public static final int BUGREPORT_MODE_FULL = 0; // 0x0
1687    field public static final int BUGREPORT_MODE_INTERACTIVE = 1; // 0x1
1688    field public static final int BUGREPORT_MODE_REMOTE = 2; // 0x2
1689    field public static final int BUGREPORT_MODE_TELEPHONY = 4; // 0x4
1690    field public static final int BUGREPORT_MODE_WEAR = 3; // 0x3
1691    field public static final int BUGREPORT_MODE_WIFI = 5; // 0x5
1692  }
1693
1694  public class Build {
1695    method public static boolean is64BitAbi(String);
1696    field public static final boolean IS_EMULATOR;
1697  }
1698
1699  public static class Build.VERSION {
1700    field public static final int FIRST_SDK_INT;
1701    field public static final int RESOURCES_SDK_INT;
1702  }
1703
1704  public class DeviceIdleManager {
1705    method @NonNull public String[] getSystemPowerWhitelist();
1706    method @NonNull public String[] getSystemPowerWhitelistExceptIdle();
1707  }
1708
1709  public class Environment {
1710    method public static java.io.File buildPath(java.io.File, java.lang.String...);
1711    method @NonNull public static java.io.File getProductDirectory();
1712    method @NonNull public static java.io.File getStorageDirectory();
1713  }
1714
1715  public final class FileUtils {
1716    method public static boolean contains(java.io.File, java.io.File);
1717  }
1718
1719  public abstract class HwBinder implements android.os.IHwBinder {
1720    ctor public HwBinder();
1721    method public static final void configureRpcThreadpool(long, boolean);
1722    method public static void enableInstrumentation();
1723    method public static final android.os.IHwBinder getService(String, String) throws java.util.NoSuchElementException, android.os.RemoteException;
1724    method public static final android.os.IHwBinder getService(String, String, boolean) throws java.util.NoSuchElementException, android.os.RemoteException;
1725    method public static final void joinRpcThreadpool();
1726    method public abstract void onTransact(int, android.os.HwParcel, android.os.HwParcel, int) throws android.os.RemoteException;
1727    method public final void registerService(String) throws android.os.RemoteException;
1728    method public final void transact(int, android.os.HwParcel, android.os.HwParcel, int) throws android.os.RemoteException;
1729  }
1730
1731  public class HwBlob {
1732    ctor public HwBlob(int);
1733    method public final void copyToBoolArray(long, boolean[], int);
1734    method public final void copyToDoubleArray(long, double[], int);
1735    method public final void copyToFloatArray(long, float[], int);
1736    method public final void copyToInt16Array(long, short[], int);
1737    method public final void copyToInt32Array(long, int[], int);
1738    method public final void copyToInt64Array(long, long[], int);
1739    method public final void copyToInt8Array(long, byte[], int);
1740    method public final boolean getBool(long);
1741    method public final double getDouble(long);
1742    method public final float getFloat(long);
1743    method public final short getInt16(long);
1744    method public final int getInt32(long);
1745    method public final long getInt64(long);
1746    method public final byte getInt8(long);
1747    method public final String getString(long);
1748    method public final long handle();
1749    method public final void putBlob(long, android.os.HwBlob);
1750    method public final void putBool(long, boolean);
1751    method public final void putBoolArray(long, boolean[]);
1752    method public final void putDouble(long, double);
1753    method public final void putDoubleArray(long, double[]);
1754    method public final void putFloat(long, float);
1755    method public final void putFloatArray(long, float[]);
1756    method public final void putInt16(long, short);
1757    method public final void putInt16Array(long, short[]);
1758    method public final void putInt32(long, int);
1759    method public final void putInt32Array(long, int[]);
1760    method public final void putInt64(long, long);
1761    method public final void putInt64Array(long, long[]);
1762    method public final void putInt8(long, byte);
1763    method public final void putInt8Array(long, byte[]);
1764    method public final void putNativeHandle(long, @Nullable android.os.NativeHandle);
1765    method public final void putString(long, String);
1766    method public static Boolean[] wrapArray(@NonNull boolean[]);
1767    method public static Long[] wrapArray(@NonNull long[]);
1768    method public static Byte[] wrapArray(@NonNull byte[]);
1769    method public static Short[] wrapArray(@NonNull short[]);
1770    method public static Integer[] wrapArray(@NonNull int[]);
1771    method public static Float[] wrapArray(@NonNull float[]);
1772    method public static Double[] wrapArray(@NonNull double[]);
1773  }
1774
1775  public class HwParcel {
1776    ctor public HwParcel();
1777    method public final void enforceInterface(String);
1778    method public final boolean readBool();
1779    method public final java.util.ArrayList<java.lang.Boolean> readBoolVector();
1780    method public final android.os.HwBlob readBuffer(long);
1781    method public final double readDouble();
1782    method public final java.util.ArrayList<java.lang.Double> readDoubleVector();
1783    method public final android.os.HwBlob readEmbeddedBuffer(long, long, long, boolean);
1784    method @Nullable public final android.os.NativeHandle readEmbeddedNativeHandle(long, long);
1785    method public final float readFloat();
1786    method public final java.util.ArrayList<java.lang.Float> readFloatVector();
1787    method public final short readInt16();
1788    method public final java.util.ArrayList<java.lang.Short> readInt16Vector();
1789    method public final int readInt32();
1790    method public final java.util.ArrayList<java.lang.Integer> readInt32Vector();
1791    method public final long readInt64();
1792    method public final java.util.ArrayList<java.lang.Long> readInt64Vector();
1793    method public final byte readInt8();
1794    method public final java.util.ArrayList<java.lang.Byte> readInt8Vector();
1795    method @Nullable public final android.os.NativeHandle readNativeHandle();
1796    method @NonNull public final java.util.ArrayList<android.os.NativeHandle> readNativeHandleVector();
1797    method public final String readString();
1798    method public final java.util.ArrayList<java.lang.String> readStringVector();
1799    method public final android.os.IHwBinder readStrongBinder();
1800    method public final void release();
1801    method public final void releaseTemporaryStorage();
1802    method public final void send();
1803    method public final void verifySuccess();
1804    method public final void writeBool(boolean);
1805    method public final void writeBoolVector(java.util.ArrayList<java.lang.Boolean>);
1806    method public final void writeBuffer(android.os.HwBlob);
1807    method public final void writeDouble(double);
1808    method public final void writeDoubleVector(java.util.ArrayList<java.lang.Double>);
1809    method public final void writeFloat(float);
1810    method public final void writeFloatVector(java.util.ArrayList<java.lang.Float>);
1811    method public final void writeInt16(short);
1812    method public final void writeInt16Vector(java.util.ArrayList<java.lang.Short>);
1813    method public final void writeInt32(int);
1814    method public final void writeInt32Vector(java.util.ArrayList<java.lang.Integer>);
1815    method public final void writeInt64(long);
1816    method public final void writeInt64Vector(java.util.ArrayList<java.lang.Long>);
1817    method public final void writeInt8(byte);
1818    method public final void writeInt8Vector(java.util.ArrayList<java.lang.Byte>);
1819    method public final void writeInterfaceToken(String);
1820    method public final void writeNativeHandle(@Nullable android.os.NativeHandle);
1821    method public final void writeNativeHandleVector(@NonNull java.util.ArrayList<android.os.NativeHandle>);
1822    method public final void writeStatus(int);
1823    method public final void writeString(String);
1824    method public final void writeStringVector(java.util.ArrayList<java.lang.String>);
1825    method public final void writeStrongBinder(android.os.IHwBinder);
1826    field public static final int STATUS_SUCCESS = 0; // 0x0
1827  }
1828
1829  @IntDef(prefix={"STATUS_"}, value={android.os.HwParcel.STATUS_SUCCESS}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface HwParcel.Status {
1830  }
1831
1832  public interface IHwBinder {
1833    method public boolean linkToDeath(android.os.IHwBinder.DeathRecipient, long);
1834    method public android.os.IHwInterface queryLocalInterface(String);
1835    method public void transact(int, android.os.HwParcel, android.os.HwParcel, int) throws android.os.RemoteException;
1836    method public boolean unlinkToDeath(android.os.IHwBinder.DeathRecipient);
1837  }
1838
1839  public static interface IHwBinder.DeathRecipient {
1840    method public void serviceDied(long);
1841  }
1842
1843  public interface IHwInterface {
1844    method public android.os.IHwBinder asBinder();
1845  }
1846
1847  public class IncidentManager {
1848    method @RequiresPermission(android.Manifest.permission.APPROVE_INCIDENT_REPORTS) public void approveReport(android.net.Uri);
1849    method @RequiresPermission("android.permission.REQUEST_INCIDENT_REPORT_APPROVAL") public void cancelAuthorization(android.os.IncidentManager.AuthListener);
1850    method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void deleteIncidentReports(android.net.Uri);
1851    method @RequiresPermission(android.Manifest.permission.APPROVE_INCIDENT_REPORTS) public void denyReport(android.net.Uri);
1852    method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) @Nullable public android.os.IncidentManager.IncidentReport getIncidentReport(android.net.Uri);
1853    method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) @NonNull public java.util.List<android.net.Uri> getIncidentReportList(String);
1854    method @RequiresPermission(android.Manifest.permission.APPROVE_INCIDENT_REPORTS) public java.util.List<android.os.IncidentManager.PendingReport> getPendingReports();
1855    method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void reportIncident(android.os.IncidentReportArgs);
1856    method @RequiresPermission("android.permission.REQUEST_INCIDENT_REPORT_APPROVAL") public void requestAuthorization(int, String, int, android.os.IncidentManager.AuthListener);
1857    field public static final int FLAG_CONFIRMATION_DIALOG = 1; // 0x1
1858    field public static final int PRIVACY_POLICY_AUTO = 200; // 0xc8
1859    field public static final int PRIVACY_POLICY_EXPLICIT = 100; // 0x64
1860    field public static final int PRIVACY_POLICY_LOCAL = 0; // 0x0
1861  }
1862
1863  public static class IncidentManager.AuthListener {
1864    ctor public IncidentManager.AuthListener();
1865    method public void onReportApproved();
1866    method public void onReportDenied();
1867  }
1868
1869  public static class IncidentManager.IncidentReport implements java.io.Closeable android.os.Parcelable {
1870    ctor public IncidentManager.IncidentReport(android.os.Parcel);
1871    method public void close();
1872    method public int describeContents();
1873    method public java.io.InputStream getInputStream() throws java.io.IOException;
1874    method public long getPrivacyPolicy();
1875    method public long getTimestamp();
1876    method public void writeToParcel(android.os.Parcel, int);
1877    field @NonNull public static final android.os.Parcelable.Creator<android.os.IncidentManager.IncidentReport> CREATOR;
1878  }
1879
1880  public static class IncidentManager.PendingReport {
1881    ctor public IncidentManager.PendingReport(@NonNull android.net.Uri);
1882    method public int getFlags();
1883    method @NonNull public String getRequestingPackage();
1884    method public long getTimestamp();
1885    method @NonNull public android.net.Uri getUri();
1886  }
1887
1888  public final class IncidentReportArgs implements android.os.Parcelable {
1889    ctor public IncidentReportArgs();
1890    ctor public IncidentReportArgs(android.os.Parcel);
1891    method public void addHeader(byte[]);
1892    method public void addSection(int);
1893    method public boolean containsSection(int);
1894    method public int describeContents();
1895    method public boolean isAll();
1896    method public void readFromParcel(android.os.Parcel);
1897    method public int sectionCount();
1898    method public void setAll(boolean);
1899    method public void setPrivacyPolicy(int);
1900    method public void writeToParcel(android.os.Parcel, int);
1901    field @NonNull public static final android.os.Parcelable.Creator<android.os.IncidentReportArgs> CREATOR;
1902  }
1903
1904  public final class MessageQueue {
1905    method public int postSyncBarrier();
1906    method public void removeSyncBarrier(int);
1907  }
1908
1909  public final class NativeHandle implements java.io.Closeable {
1910    ctor public NativeHandle();
1911    ctor public NativeHandle(@NonNull java.io.FileDescriptor, boolean);
1912    ctor public NativeHandle(@NonNull java.io.FileDescriptor[], @NonNull int[], boolean);
1913    method public void close() throws java.io.IOException;
1914    method @NonNull public android.os.NativeHandle dup() throws java.io.IOException;
1915    method @NonNull public java.io.FileDescriptor getFileDescriptor();
1916    method @NonNull public java.io.FileDescriptor[] getFileDescriptors();
1917    method @NonNull public int[] getInts();
1918    method public boolean hasSingleFileDescriptor();
1919  }
1920
1921  public final class Parcel {
1922    method public int readExceptionCode();
1923  }
1924
1925  public class ParcelFileDescriptor implements java.io.Closeable android.os.Parcelable {
1926    method public static java.io.File getFile(java.io.FileDescriptor) throws java.io.IOException;
1927  }
1928
1929  public final class PowerManager {
1930    method @RequiresPermission("android.permission.POWER_SAVER") public int getPowerSaveModeTrigger();
1931    method @RequiresPermission("android.permission.POWER_SAVER") public boolean setDynamicPowerSaveHint(boolean, int);
1932    method @RequiresPermission(anyOf={"android.permission.DEVICE_POWER", "android.permission.POWER_SAVER"}) public boolean setPowerSaveModeEnabled(boolean);
1933    field public static final int POWER_SAVE_MODE_TRIGGER_DYNAMIC = 1; // 0x1
1934    field public static final int POWER_SAVE_MODE_TRIGGER_PERCENTAGE = 0; // 0x0
1935  }
1936
1937  public class Process {
1938    method public static final int getThreadScheduler(int) throws java.lang.IllegalArgumentException;
1939    field public static final int FIRST_APP_ZYGOTE_ISOLATED_UID = 90000; // 0x15f90
1940    field public static final int FIRST_ISOLATED_UID = 99000; // 0x182b8
1941    field public static final int LAST_APP_ZYGOTE_ISOLATED_UID = 98999; // 0x182b7
1942    field public static final int LAST_ISOLATED_UID = 99999; // 0x1869f
1943    field public static final int NUM_UIDS_PER_APP_ZYGOTE = 100; // 0x64
1944  }
1945
1946  public final class RemoteCallback implements android.os.Parcelable {
1947    ctor public RemoteCallback(android.os.RemoteCallback.OnResultListener);
1948    ctor public RemoteCallback(@NonNull android.os.RemoteCallback.OnResultListener, @Nullable android.os.Handler);
1949    method public int describeContents();
1950    method public void sendResult(@Nullable android.os.Bundle);
1951    method public void writeToParcel(android.os.Parcel, int);
1952    field @NonNull public static final android.os.Parcelable.Creator<android.os.RemoteCallback> CREATOR;
1953  }
1954
1955  public static interface RemoteCallback.OnResultListener {
1956    method public void onResult(@Nullable android.os.Bundle);
1957  }
1958
1959  public final class StrictMode {
1960    method public static void conditionallyCheckInstanceCounts();
1961    method public static void setViolationLogger(android.os.StrictMode.ViolationLogger);
1962  }
1963
1964  public static final class StrictMode.ThreadPolicy.Builder {
1965    method @NonNull public android.os.StrictMode.ThreadPolicy.Builder detectExplicitGc();
1966  }
1967
1968  public static final class StrictMode.ViolationInfo implements android.os.Parcelable {
1969    ctor public StrictMode.ViolationInfo(android.os.Parcel);
1970    ctor public StrictMode.ViolationInfo(android.os.Parcel, boolean);
1971    method public int describeContents();
1972    method public void dump(android.util.Printer, String);
1973    method public String getStackTrace();
1974    method public Class<? extends android.os.strictmode.Violation> getViolationClass();
1975    method public String getViolationDetails();
1976    method public void writeToParcel(android.os.Parcel, int);
1977    field @NonNull public static final android.os.Parcelable.Creator<android.os.StrictMode.ViolationInfo> CREATOR;
1978    field public String broadcastIntentAction;
1979    field public int durationMillis;
1980    field public int numAnimationsRunning;
1981    field public long numInstances;
1982    field public String[] tags;
1983    field public int violationNumThisLoop;
1984    field public long violationUptimeMillis;
1985  }
1986
1987  public static interface StrictMode.ViolationLogger {
1988    method public void log(android.os.StrictMode.ViolationInfo);
1989  }
1990
1991  public class SystemProperties {
1992    method @NonNull public static String get(@NonNull String);
1993    method @NonNull public static String get(@NonNull String, @Nullable String);
1994    method public static boolean getBoolean(@NonNull String, boolean);
1995  }
1996
1997  public final class UserHandle implements android.os.Parcelable {
1998    method public static int getAppId(int);
1999    method public int getIdentifier();
2000    method public static boolean isApp(int);
2001    field @NonNull public static final android.os.UserHandle ALL;
2002    field @NonNull public static final android.os.UserHandle CURRENT;
2003    field @NonNull public static final android.os.UserHandle SYSTEM;
2004  }
2005
2006  public class UserManager {
2007    method public static boolean isSplitSystemUser();
2008    field public static final String ACTION_USER_RESTRICTIONS_CHANGED = "android.os.action.USER_RESTRICTIONS_CHANGED";
2009  }
2010
2011  public abstract class VibrationEffect implements android.os.Parcelable {
2012    method public static android.os.VibrationEffect get(int);
2013    method public static android.os.VibrationEffect get(int, boolean);
2014    method @Nullable public static android.os.VibrationEffect get(android.net.Uri, android.content.Context);
2015    method public abstract long getDuration();
2016    method protected static int scale(int, float, int);
2017    field public static final int EFFECT_POP = 4; // 0x4
2018    field public static final int EFFECT_STRENGTH_LIGHT = 0; // 0x0
2019    field public static final int EFFECT_STRENGTH_MEDIUM = 1; // 0x1
2020    field public static final int EFFECT_STRENGTH_STRONG = 2; // 0x2
2021    field public static final int EFFECT_TEXTURE_TICK = 21; // 0x15
2022    field public static final int EFFECT_THUD = 3; // 0x3
2023    field public static final int[] RINGTONES;
2024  }
2025
2026  public static class VibrationEffect.OneShot extends android.os.VibrationEffect implements android.os.Parcelable {
2027    ctor public VibrationEffect.OneShot(android.os.Parcel);
2028    ctor public VibrationEffect.OneShot(long, int);
2029    method public int getAmplitude();
2030    method public long getDuration();
2031    method public android.os.VibrationEffect.OneShot scale(float, int);
2032    method public void validate();
2033    method public void writeToParcel(android.os.Parcel, int);
2034    field @NonNull public static final android.os.Parcelable.Creator<android.os.VibrationEffect.OneShot> CREATOR;
2035  }
2036
2037  public static class VibrationEffect.Prebaked extends android.os.VibrationEffect implements android.os.Parcelable {
2038    ctor public VibrationEffect.Prebaked(android.os.Parcel);
2039    ctor public VibrationEffect.Prebaked(int, boolean);
2040    method public long getDuration();
2041    method public int getEffectStrength();
2042    method public int getId();
2043    method public void setEffectStrength(int);
2044    method public boolean shouldFallback();
2045    method public void validate();
2046    method public void writeToParcel(android.os.Parcel, int);
2047    field @NonNull public static final android.os.Parcelable.Creator<android.os.VibrationEffect.Prebaked> CREATOR;
2048  }
2049
2050  public static class VibrationEffect.Waveform extends android.os.VibrationEffect implements android.os.Parcelable {
2051    ctor public VibrationEffect.Waveform(android.os.Parcel);
2052    ctor public VibrationEffect.Waveform(long[], int[], int);
2053    method public int[] getAmplitudes();
2054    method public long getDuration();
2055    method public int getRepeatIndex();
2056    method public long[] getTimings();
2057    method public android.os.VibrationEffect.Waveform scale(float, int);
2058    method public void validate();
2059    method public void writeToParcel(android.os.Parcel, int);
2060    field @NonNull public static final android.os.Parcelable.Creator<android.os.VibrationEffect.Waveform> CREATOR;
2061  }
2062
2063  public class VintfObject {
2064    method public static String[] getHalNamesAndVersions();
2065    method public static String getSepolicyVersion();
2066    method public static Long getTargetFrameworkCompatibilityMatrixVersion();
2067    method public static java.util.Map<java.lang.String,java.lang.String[]> getVndkSnapshots();
2068    method public static String[] report();
2069  }
2070
2071  public class VintfRuntimeInfo {
2072    method public static String getCpuInfo();
2073    method public static String getHardwareId();
2074    method public static String getKernelVersion();
2075    method public static String getNodeName();
2076    method public static String getOsName();
2077    method public static String getOsRelease();
2078    method public static String getOsVersion();
2079  }
2080
2081  public class WorkSource implements android.os.Parcelable {
2082    ctor public WorkSource(int);
2083    method public boolean add(int);
2084    method public boolean add(int, String);
2085    method @Deprecated public android.os.WorkSource addReturningNewbs(android.os.WorkSource);
2086    method public int get(int);
2087    method public String getName(int);
2088    method @Deprecated public android.os.WorkSource[] setReturningDiffs(android.os.WorkSource);
2089    method public int size();
2090  }
2091
2092}
2093
2094package android.os.health {
2095
2096  public class HealthKeys {
2097    ctor public HealthKeys();
2098    field public static final int BASE_PACKAGE = 40000; // 0x9c40
2099    field public static final int BASE_PID = 20000; // 0x4e20
2100    field public static final int BASE_PROCESS = 30000; // 0x7530
2101    field public static final int BASE_SERVICE = 50000; // 0xc350
2102    field public static final int BASE_UID = 10000; // 0x2710
2103    field public static final int TYPE_COUNT = 5; // 0x5
2104    field public static final int TYPE_MEASUREMENT = 1; // 0x1
2105    field public static final int TYPE_MEASUREMENTS = 4; // 0x4
2106    field public static final int TYPE_STATS = 2; // 0x2
2107    field public static final int TYPE_TIMER = 0; // 0x0
2108    field public static final int TYPE_TIMERS = 3; // 0x3
2109    field public static final int UNKNOWN_KEY = 0; // 0x0
2110  }
2111
2112  @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target({java.lang.annotation.ElementType.FIELD}) public static @interface HealthKeys.Constant {
2113    method public abstract int type();
2114  }
2115
2116  public static class HealthKeys.Constants {
2117    ctor public HealthKeys.Constants(Class);
2118    method public String getDataType();
2119    method public int getIndex(int, int);
2120    method public int[] getKeys(int);
2121    method public int getSize(int);
2122  }
2123
2124  public class HealthStats {
2125    ctor public HealthStats(android.os.Parcel);
2126  }
2127
2128  public class HealthStatsParceler implements android.os.Parcelable {
2129    ctor public HealthStatsParceler(android.os.health.HealthStatsWriter);
2130    ctor public HealthStatsParceler(android.os.Parcel);
2131    method public int describeContents();
2132    method public android.os.health.HealthStats getHealthStats();
2133    method public void writeToParcel(android.os.Parcel, int);
2134    field @NonNull public static final android.os.Parcelable.Creator<android.os.health.HealthStatsParceler> CREATOR;
2135  }
2136
2137  public class HealthStatsWriter {
2138    ctor public HealthStatsWriter(android.os.health.HealthKeys.Constants);
2139    method public void addMeasurement(int, long);
2140    method public void addMeasurements(int, String, long);
2141    method public void addStats(int, String, android.os.health.HealthStatsWriter);
2142    method public void addTimer(int, int, long);
2143    method public void addTimers(int, String, android.os.health.TimerStat);
2144    method public void flattenToParcel(android.os.Parcel);
2145  }
2146
2147}
2148
2149package android.os.image {
2150
2151  public class DynamicSystemClient {
2152    ctor public DynamicSystemClient(@NonNull android.content.Context);
2153    method @RequiresPermission("android.permission.INSTALL_DYNAMIC_SYSTEM") public void bind();
2154    method public void setOnStatusChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.os.image.DynamicSystemClient.OnStatusChangedListener);
2155    method public void setOnStatusChangedListener(@NonNull android.os.image.DynamicSystemClient.OnStatusChangedListener);
2156    method @RequiresPermission("android.permission.INSTALL_DYNAMIC_SYSTEM") public void start(@NonNull android.net.Uri, long);
2157    method @RequiresPermission("android.permission.INSTALL_DYNAMIC_SYSTEM") public void start(@NonNull android.net.Uri, long, long);
2158    method @RequiresPermission("android.permission.INSTALL_DYNAMIC_SYSTEM") public void unbind();
2159    field public static final int CAUSE_ERROR_EXCEPTION = 6; // 0x6
2160    field public static final int CAUSE_ERROR_INVALID_URL = 4; // 0x4
2161    field public static final int CAUSE_ERROR_IO = 3; // 0x3
2162    field public static final int CAUSE_ERROR_IPC = 5; // 0x5
2163    field public static final int CAUSE_INSTALL_CANCELLED = 2; // 0x2
2164    field public static final int CAUSE_INSTALL_COMPLETED = 1; // 0x1
2165    field public static final int CAUSE_NOT_SPECIFIED = 0; // 0x0
2166    field public static final int STATUS_IN_PROGRESS = 2; // 0x2
2167    field public static final int STATUS_IN_USE = 4; // 0x4
2168    field public static final int STATUS_NOT_STARTED = 1; // 0x1
2169    field public static final int STATUS_READY = 3; // 0x3
2170    field public static final int STATUS_UNKNOWN = 0; // 0x0
2171  }
2172
2173  public static interface DynamicSystemClient.OnStatusChangedListener {
2174    method public void onStatusChanged(int, int, long, @Nullable Throwable);
2175  }
2176
2177}
2178
2179package android.os.storage {
2180
2181  public class StorageManager {
2182    method public static boolean hasIsolatedStorage();
2183  }
2184
2185  public final class StorageVolume implements android.os.Parcelable {
2186    method public String getPath();
2187  }
2188
2189}
2190
2191package android.os.strictmode {
2192
2193  public final class ExplicitGcViolation extends android.os.strictmode.Violation {
2194  }
2195
2196}
2197
2198package android.permission {
2199
2200  public final class PermissionControllerManager {
2201    method @RequiresPermission("android.permission.GET_RUNTIME_PERMISSIONS") public void getAppPermissions(@NonNull String, @NonNull android.permission.PermissionControllerManager.OnGetAppPermissionResultCallback, @Nullable android.os.Handler);
2202    method @RequiresPermission("android.permission.REVOKE_RUNTIME_PERMISSIONS") public void revokeRuntimePermissions(@NonNull java.util.Map<java.lang.String,java.util.List<java.lang.String>>, boolean, int, @NonNull java.util.concurrent.Executor, @NonNull android.permission.PermissionControllerManager.OnRevokeRuntimePermissionsCallback);
2203    field public static final int COUNT_ONLY_WHEN_GRANTED = 1; // 0x1
2204    field public static final int COUNT_WHEN_SYSTEM = 2; // 0x2
2205    field public static final int REASON_INSTALLER_POLICY_VIOLATION = 2; // 0x2
2206    field public static final int REASON_MALWARE = 1; // 0x1
2207  }
2208
2209  public static interface PermissionControllerManager.OnGetAppPermissionResultCallback {
2210    method public void onGetAppPermissions(@NonNull java.util.List<android.permission.RuntimePermissionPresentationInfo>);
2211  }
2212
2213  public abstract static class PermissionControllerManager.OnRevokeRuntimePermissionsCallback {
2214    ctor public PermissionControllerManager.OnRevokeRuntimePermissionsCallback();
2215    method public abstract void onRevokeRuntimePermissions(@NonNull java.util.Map<java.lang.String,java.util.List<java.lang.String>>);
2216  }
2217
2218  public final class PermissionManager {
2219    method @IntRange(from=0) @RequiresPermission("android.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY") public int getRuntimePermissionsVersion();
2220    method @NonNull public java.util.List<android.permission.PermissionManager.SplitPermissionInfo> getSplitPermissions();
2221    method @RequiresPermission("android.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY") public void setRuntimePermissionsVersion(@IntRange(from=0) int);
2222  }
2223
2224  public static final class PermissionManager.SplitPermissionInfo {
2225    method @NonNull public java.util.List<java.lang.String> getNewPermissions();
2226    method @NonNull public String getSplitPermission();
2227    method public int getTargetSdk();
2228  }
2229
2230  public final class RuntimePermissionPresentationInfo implements android.os.Parcelable {
2231    ctor public RuntimePermissionPresentationInfo(@NonNull CharSequence, boolean, boolean);
2232    method public int describeContents();
2233    method @NonNull public CharSequence getLabel();
2234    method public boolean isGranted();
2235    method public boolean isStandard();
2236    method public void writeToParcel(android.os.Parcel, int);
2237    field @NonNull public static final android.os.Parcelable.Creator<android.permission.RuntimePermissionPresentationInfo> CREATOR;
2238  }
2239
2240}
2241
2242package android.print {
2243
2244  public final class PrintJobInfo implements android.os.Parcelable {
2245    method public float getProgress();
2246    method @Nullable public CharSequence getStatus(@NonNull android.content.pm.PackageManager);
2247  }
2248
2249  public final class PrinterInfo implements android.os.Parcelable {
2250    method @Nullable public android.graphics.drawable.Drawable loadIcon(@NonNull android.content.Context);
2251  }
2252
2253}
2254
2255package android.provider {
2256
2257  public static final class CalendarContract.Calendars implements android.provider.BaseColumns android.provider.CalendarContract.CalendarColumns android.provider.CalendarContract.SyncColumns {
2258    field public static final String[] SYNC_WRITABLE_COLUMNS;
2259  }
2260
2261  public static final class CalendarContract.Events implements android.provider.BaseColumns android.provider.CalendarContract.CalendarColumns android.provider.CalendarContract.EventsColumns android.provider.CalendarContract.SyncColumns {
2262    field public static final String[] SYNC_WRITABLE_COLUMNS;
2263  }
2264
2265  public final class ContactsContract {
2266    field public static final String HIDDEN_COLUMN_PREFIX = "x_";
2267  }
2268
2269  public static final class ContactsContract.CommonDataKinds.Phone implements android.provider.ContactsContract.CommonDataKinds.CommonColumns android.provider.ContactsContract.DataColumnsWithJoins {
2270    field public static final android.net.Uri ENTERPRISE_CONTENT_URI;
2271  }
2272
2273  public static final class ContactsContract.PinnedPositions {
2274    field public static final String UNDEMOTE_METHOD = "undemote";
2275  }
2276
2277  public static final class ContactsContract.RawContactsEntity implements android.provider.BaseColumns android.provider.ContactsContract.DataColumns android.provider.ContactsContract.RawContactsColumns {
2278    field public static final android.net.Uri CORP_CONTENT_URI;
2279  }
2280
2281  public final class DeviceConfig {
2282    method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static void addOnPropertiesChangedListener(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.provider.DeviceConfig.OnPropertiesChangedListener);
2283    method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static boolean getBoolean(@NonNull String, @NonNull String, boolean);
2284    method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static float getFloat(@NonNull String, @NonNull String, float);
2285    method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static int getInt(@NonNull String, @NonNull String, int);
2286    method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static long getLong(@NonNull String, @NonNull String, long);
2287    method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static String getProperty(@NonNull String, @NonNull String);
2288    method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static String getString(@NonNull String, @NonNull String, @Nullable String);
2289    method public static void removeOnPropertiesChangedListener(@NonNull android.provider.DeviceConfig.OnPropertiesChangedListener);
2290    method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static void resetToDefaults(int, @Nullable String);
2291    method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static boolean setProperty(@NonNull String, @NonNull String, @Nullable String, boolean);
2292    field public static final String NAMESPACE_AUTOFILL = "autofill";
2293    field public static final String NAMESPACE_CONTENT_CAPTURE = "content_capture";
2294    field public static final String NAMESPACE_PRIVACY = "privacy";
2295    field public static final String NAMESPACE_ROLLBACK = "rollback";
2296    field public static final String NAMESPACE_ROLLBACK_BOOT = "rollback_boot";
2297    field public static final String NAMESPACE_WINDOW_MANAGER = "android:window_manager";
2298  }
2299
2300  public static interface DeviceConfig.OnPropertiesChangedListener {
2301    method public void onPropertiesChanged(@NonNull android.provider.DeviceConfig.Properties);
2302  }
2303
2304  public static class DeviceConfig.Properties {
2305    method public boolean getBoolean(@NonNull String, boolean);
2306    method public float getFloat(@NonNull String, float);
2307    method public int getInt(@NonNull String, int);
2308    method @NonNull public java.util.Set<java.lang.String> getKeyset();
2309    method public long getLong(@NonNull String, long);
2310    method @NonNull public String getNamespace();
2311    method @Nullable public String getString(@NonNull String, @Nullable String);
2312  }
2313
2314  public static interface DeviceConfig.WindowManager {
2315    field public static final String KEY_SYSTEM_GESTURES_EXCLUDED_BY_PRE_Q_STICKY_IMMERSIVE = "system_gestures_excluded_by_pre_q_sticky_immersive";
2316    field public static final String KEY_SYSTEM_GESTURE_EXCLUSION_LIMIT_DP = "system_gesture_exclusion_limit_dp";
2317  }
2318
2319  public final class MediaStore {
2320    method @RequiresPermission(android.Manifest.permission.CLEAR_APP_USER_DATA) public static void deleteContributedMedia(android.content.Context, String, android.os.UserHandle) throws java.io.IOException;
2321    method @RequiresPermission(android.Manifest.permission.CLEAR_APP_USER_DATA) public static long getContributedMediaSize(android.content.Context, String, android.os.UserHandle) throws java.io.IOException;
2322    method @NonNull public static java.io.File getVolumePath(@NonNull String) throws java.io.FileNotFoundException;
2323    method @NonNull public static java.util.Collection<java.io.File> getVolumeScanPaths(@NonNull String) throws java.io.FileNotFoundException;
2324    method public static android.net.Uri scanFile(android.content.Context, java.io.File);
2325    method public static android.net.Uri scanFileFromShell(android.content.Context, java.io.File);
2326    method public static void scanVolume(android.content.Context, java.io.File);
2327  }
2328
2329  public final class Settings {
2330    field public static final String ACTION_ENTERPRISE_PRIVACY_SETTINGS = "android.settings.ENTERPRISE_PRIVACY_SETTINGS";
2331    field public static final String ACTION_REQUEST_ENABLE_CONTENT_CAPTURE = "android.settings.REQUEST_ENABLE_CONTENT_CAPTURE";
2332    field public static final int RESET_MODE_PACKAGE_DEFAULTS = 1; // 0x1
2333  }
2334
2335  public static final class Settings.Global extends android.provider.Settings.NameValueTable {
2336    field public static final String AUTOFILL_COMPAT_MODE_ALLOWED_PACKAGES = "autofill_compat_mode_allowed_packages";
2337    field public static final String AUTOMATIC_POWER_SAVE_MODE = "automatic_power_save_mode";
2338    field public static final String BATTERY_SAVER_CONSTANTS = "battery_saver_constants";
2339    field public static final String DYNAMIC_POWER_SAVINGS_DISABLE_THRESHOLD = "dynamic_power_savings_disable_threshold";
2340    field public static final String DYNAMIC_POWER_SAVINGS_ENABLED = "dynamic_power_savings_enabled";
2341    field public static final String HIDDEN_API_BLACKLIST_EXEMPTIONS = "hidden_api_blacklist_exemptions";
2342    field public static final String LOCATION_GLOBAL_KILL_SWITCH = "location_global_kill_switch";
2343    field public static final String LOCATION_IGNORE_SETTINGS_PACKAGE_WHITELIST = "location_ignore_settings_package_whitelist";
2344    field public static final String LOW_POWER_MODE = "low_power";
2345    field public static final String LOW_POWER_MODE_STICKY = "low_power_sticky";
2346    field public static final String OVERLAY_DISPLAY_DEVICES = "overlay_display_devices";
2347    field public static final String USE_OPEN_WIFI_PACKAGE = "use_open_wifi_package";
2348  }
2349
2350  public static final class Settings.Secure extends android.provider.Settings.NameValueTable {
2351    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static void resetToDefaults(@NonNull android.content.ContentResolver, @Nullable String);
2352    field public static final String ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED = "accessibility_display_magnification_enabled";
2353    field public static final String ACCESSIBILITY_SHORTCUT_TARGET_SERVICE = "accessibility_shortcut_target_service";
2354    field public static final String AUTOFILL_FEATURE_FIELD_CLASSIFICATION = "autofill_field_classification";
2355    field public static final String AUTOFILL_SERVICE = "autofill_service";
2356    field public static final String AUTOFILL_USER_DATA_MAX_CATEGORY_COUNT = "autofill_user_data_max_category_count";
2357    field public static final String AUTOFILL_USER_DATA_MAX_FIELD_CLASSIFICATION_IDS_SIZE = "autofill_user_data_max_field_classification_size";
2358    field public static final String AUTOFILL_USER_DATA_MAX_USER_DATA_SIZE = "autofill_user_data_max_user_data_size";
2359    field public static final String AUTOFILL_USER_DATA_MAX_VALUE_LENGTH = "autofill_user_data_max_value_length";
2360    field public static final String AUTOFILL_USER_DATA_MIN_VALUE_LENGTH = "autofill_user_data_min_value_length";
2361    field public static final String CONTENT_CAPTURE_ENABLED = "content_capture_enabled";
2362    field public static final String DISABLED_PRINT_SERVICES = "disabled_print_services";
2363    field public static final String DOZE_ALWAYS_ON = "doze_always_on";
2364    field @Deprecated public static final String ENABLED_NOTIFICATION_POLICY_ACCESS_PACKAGES = "enabled_notification_policy_access_packages";
2365    field public static final String ENABLED_VR_LISTENERS = "enabled_vr_listeners";
2366    field public static final String LOCATION_ACCESS_CHECK_DELAY_MILLIS = "location_access_check_delay_millis";
2367    field public static final String LOCATION_ACCESS_CHECK_INTERVAL_MILLIS = "location_access_check_interval_millis";
2368    field public static final String NOTIFICATION_BADGING = "notification_badging";
2369    field public static final String NOTIFICATION_BUBBLES = "notification_bubbles";
2370    field @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static final String SYNC_PARENT_SOUNDS = "sync_parent_sounds";
2371    field public static final String USER_SETUP_COMPLETE = "user_setup_complete";
2372    field public static final String VOICE_INTERACTION_SERVICE = "voice_interaction_service";
2373  }
2374
2375  public static final class Telephony.Sms.Intents {
2376    field public static final String SMS_CARRIER_PROVISION_ACTION = "android.provider.Telephony.SMS_CARRIER_PROVISION";
2377  }
2378
2379  public static final class VoicemailContract.Voicemails implements android.provider.BaseColumns android.provider.OpenableColumns {
2380    field public static final String _DATA = "_data";
2381  }
2382
2383}
2384
2385package android.security {
2386
2387  public class KeyStoreException extends java.lang.Exception {
2388    ctor public KeyStoreException(int, String);
2389    method public int getErrorCode();
2390  }
2391
2392}
2393
2394package android.security.keystore {
2395
2396  public abstract class AttestationUtils {
2397    method @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") @NonNull public static java.security.cert.X509Certificate[] attestDeviceIds(android.content.Context, @NonNull int[], @NonNull byte[]) throws android.security.keystore.DeviceIdAttestationException;
2398    field public static final int ID_TYPE_IMEI = 2; // 0x2
2399    field public static final int ID_TYPE_MEID = 3; // 0x3
2400    field public static final int ID_TYPE_SERIAL = 1; // 0x1
2401  }
2402
2403  public class DeviceIdAttestationException extends java.lang.Exception {
2404    ctor public DeviceIdAttestationException(@Nullable String);
2405    ctor public DeviceIdAttestationException(@Nullable String, @Nullable Throwable);
2406  }
2407
2408  public static final class KeyGenParameterSpec.Builder {
2409    method @NonNull public android.security.keystore.KeyGenParameterSpec.Builder setUniqueIdIncluded(boolean);
2410  }
2411
2412  public final class KeyProtection implements java.security.KeyStore.ProtectionParameter {
2413    method public long getBoundToSpecificSecureUserId();
2414  }
2415
2416  public static final class KeyProtection.Builder {
2417    method public android.security.keystore.KeyProtection.Builder setBoundToSpecificSecureUserId(long);
2418  }
2419
2420}
2421
2422package android.service.appprediction {
2423
2424  public abstract class AppPredictionService extends android.app.Service {
2425    ctor public AppPredictionService();
2426    method @MainThread public abstract void onAppTargetEvent(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull android.app.prediction.AppTargetEvent);
2427    method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent);
2428    method public void onCreatePredictionSession(@NonNull android.app.prediction.AppPredictionContext, @NonNull android.app.prediction.AppPredictionSessionId);
2429    method @MainThread public void onDestroyPredictionSession(@NonNull android.app.prediction.AppPredictionSessionId);
2430    method @MainThread public abstract void onLaunchLocationShown(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull String, @NonNull java.util.List<android.app.prediction.AppTargetId>);
2431    method @MainThread public abstract void onRequestPredictionUpdate(@NonNull android.app.prediction.AppPredictionSessionId);
2432    method @MainThread public abstract void onSortAppTargets(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull java.util.List<android.app.prediction.AppTarget>, @NonNull android.os.CancellationSignal, @NonNull java.util.function.Consumer<java.util.List<android.app.prediction.AppTarget>>);
2433    method @MainThread public void onStartPredictionUpdates();
2434    method @MainThread public void onStopPredictionUpdates();
2435    method public final void updatePredictions(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull java.util.List<android.app.prediction.AppTarget>);
2436  }
2437
2438}
2439
2440package android.service.autofill {
2441
2442  public abstract class AutofillFieldClassificationService extends android.app.Service {
2443    method public android.os.IBinder onBind(android.content.Intent);
2444    field public static final String REQUIRED_ALGORITHM_EDIT_DISTANCE = "EDIT_DISTANCE";
2445    field public static final String REQUIRED_ALGORITHM_EXACT_MATCH = "EXACT_MATCH";
2446    field public static final String SERVICE_INTERFACE = "android.service.autofill.AutofillFieldClassificationService";
2447    field public static final String SERVICE_META_DATA_KEY_AVAILABLE_ALGORITHMS = "android.autofill.field_classification.available_algorithms";
2448    field public static final String SERVICE_META_DATA_KEY_DEFAULT_ALGORITHM = "android.autofill.field_classification.default_algorithm";
2449  }
2450
2451  public final class CharSequenceTransformation extends android.service.autofill.InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation {
2452    method public void apply(@NonNull android.service.autofill.ValueFinder, @NonNull android.widget.RemoteViews, int) throws java.lang.Exception;
2453  }
2454
2455  public final class CompositeUserData implements android.os.Parcelable {
2456    ctor public CompositeUserData(@Nullable android.service.autofill.UserData, @NonNull android.service.autofill.UserData);
2457    method public int describeContents();
2458    method public String[] getCategoryIds();
2459    method public android.os.Bundle getDefaultFieldClassificationArgs();
2460    method @Nullable public String getFieldClassificationAlgorithm();
2461    method @Nullable public String getFieldClassificationAlgorithmForCategory(@NonNull String);
2462    method public android.util.ArrayMap<java.lang.String,java.lang.String> getFieldClassificationAlgorithms();
2463    method public android.util.ArrayMap<java.lang.String,android.os.Bundle> getFieldClassificationArgs();
2464    method public String[] getValues();
2465    method public void writeToParcel(android.os.Parcel, int);
2466    field @NonNull public static final android.os.Parcelable.Creator<android.service.autofill.CompositeUserData> CREATOR;
2467  }
2468
2469  public final class CustomDescription implements android.os.Parcelable {
2470    method @Nullable public android.util.SparseArray<android.service.autofill.InternalOnClickAction> getActions();
2471  }
2472
2473  public final class DateTransformation extends android.service.autofill.InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation {
2474    method public void apply(@NonNull android.service.autofill.ValueFinder, @NonNull android.widget.RemoteViews, int) throws java.lang.Exception;
2475  }
2476
2477  public final class DateValueSanitizer extends android.service.autofill.InternalSanitizer implements android.os.Parcelable android.service.autofill.Sanitizer {
2478    method @Nullable public android.view.autofill.AutofillValue sanitize(@NonNull android.view.autofill.AutofillValue);
2479  }
2480
2481  public final class FillResponse implements android.os.Parcelable {
2482    method public int getFlags();
2483  }
2484
2485  public final class ImageTransformation extends android.service.autofill.InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation {
2486    method public void apply(@NonNull android.service.autofill.ValueFinder, @NonNull android.widget.RemoteViews, int) throws java.lang.Exception;
2487  }
2488
2489  public abstract class InternalOnClickAction implements android.service.autofill.OnClickAction android.os.Parcelable {
2490    ctor public InternalOnClickAction();
2491    method public abstract void onClick(@NonNull android.view.ViewGroup);
2492  }
2493
2494  public abstract class InternalSanitizer implements android.os.Parcelable android.service.autofill.Sanitizer {
2495    ctor public InternalSanitizer();
2496    method @Nullable public abstract android.view.autofill.AutofillValue sanitize(@NonNull android.view.autofill.AutofillValue);
2497  }
2498
2499  public abstract class InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation {
2500    ctor public InternalTransformation();
2501    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>>);
2502  }
2503
2504  public abstract class InternalValidator implements android.os.Parcelable android.service.autofill.Validator {
2505    ctor public InternalValidator();
2506    method public abstract boolean isValid(@NonNull android.service.autofill.ValueFinder);
2507  }
2508
2509  public final class LuhnChecksumValidator extends android.service.autofill.InternalValidator implements android.os.Parcelable android.service.autofill.Validator {
2510    method public boolean isValid(@NonNull android.service.autofill.ValueFinder);
2511  }
2512
2513  public final class RegexValidator extends android.service.autofill.InternalValidator implements android.os.Parcelable android.service.autofill.Validator {
2514    method public boolean isValid(@NonNull android.service.autofill.ValueFinder);
2515  }
2516
2517  public final class TextValueSanitizer extends android.service.autofill.InternalSanitizer implements android.os.Parcelable android.service.autofill.Sanitizer {
2518    method @Nullable public android.view.autofill.AutofillValue sanitize(@NonNull android.view.autofill.AutofillValue);
2519  }
2520
2521  public final class UserData implements android.os.Parcelable {
2522    method public android.util.ArrayMap<java.lang.String,java.lang.String> getFieldClassificationAlgorithms();
2523  }
2524
2525  public interface ValueFinder {
2526    method @Nullable public default String findByAutofillId(@NonNull android.view.autofill.AutofillId);
2527    method @Nullable public android.view.autofill.AutofillValue findRawValueByAutofillId(@NonNull android.view.autofill.AutofillId);
2528  }
2529
2530  public final class VisibilitySetterAction extends android.service.autofill.InternalOnClickAction implements android.service.autofill.OnClickAction android.os.Parcelable {
2531    method public void onClick(@NonNull android.view.ViewGroup);
2532  }
2533
2534}
2535
2536package android.service.autofill.augmented {
2537
2538  public abstract class AugmentedAutofillService extends android.app.Service {
2539    ctor public AugmentedAutofillService();
2540    method protected final void dump(java.io.FileDescriptor, java.io.PrintWriter, String[]);
2541    method protected void dump(@NonNull java.io.PrintWriter, @NonNull String[]);
2542    method public void onConnected();
2543    method public void onDisconnected();
2544    method public void onFillRequest(@NonNull android.service.autofill.augmented.FillRequest, @NonNull android.os.CancellationSignal, @NonNull android.service.autofill.augmented.FillController, @NonNull android.service.autofill.augmented.FillCallback);
2545    field public static final String SERVICE_INTERFACE = "android.service.autofill.augmented.AugmentedAutofillService";
2546  }
2547
2548  public final class FillCallback {
2549    method public void onSuccess(@Nullable android.service.autofill.augmented.FillResponse);
2550  }
2551
2552  public final class FillController {
2553    method public void autofill(@NonNull java.util.List<android.util.Pair<android.view.autofill.AutofillId,android.view.autofill.AutofillValue>>);
2554  }
2555
2556  public final class FillRequest {
2557    method @NonNull public android.content.ComponentName getActivityComponent();
2558    method @NonNull public android.view.autofill.AutofillId getFocusedId();
2559    method @NonNull public android.view.autofill.AutofillValue getFocusedValue();
2560    method @Nullable public android.service.autofill.augmented.PresentationParams getPresentationParams();
2561    method public int getTaskId();
2562  }
2563
2564  public final class FillResponse {
2565  }
2566
2567  public static final class FillResponse.Builder {
2568    ctor public FillResponse.Builder();
2569    method @NonNull public android.service.autofill.augmented.FillResponse build();
2570    method @NonNull public android.service.autofill.augmented.FillResponse.Builder setFillWindow(@NonNull android.service.autofill.augmented.FillWindow);
2571  }
2572
2573  public final class FillWindow implements java.lang.AutoCloseable {
2574    ctor public FillWindow();
2575    method public void destroy();
2576    method public boolean update(@NonNull android.service.autofill.augmented.PresentationParams.Area, @NonNull android.view.View, long);
2577  }
2578
2579  public abstract class PresentationParams {
2580    method @Nullable public android.service.autofill.augmented.PresentationParams.Area getSuggestionArea();
2581  }
2582
2583  public abstract static class PresentationParams.Area {
2584    method @NonNull public android.graphics.Rect getBounds();
2585  }
2586
2587}
2588
2589package android.service.contentcapture {
2590
2591  public final class ActivityEvent implements android.os.Parcelable {
2592    method public int describeContents();
2593    method @NonNull public android.content.ComponentName getComponentName();
2594    method public int getEventType();
2595    method public void writeToParcel(@NonNull android.os.Parcel, int);
2596    field @NonNull public static final android.os.Parcelable.Creator<android.service.contentcapture.ActivityEvent> CREATOR;
2597    field public static final int TYPE_ACTIVITY_DESTROYED = 24; // 0x18
2598    field public static final int TYPE_ACTIVITY_PAUSED = 2; // 0x2
2599    field public static final int TYPE_ACTIVITY_RESUMED = 1; // 0x1
2600    field public static final int TYPE_ACTIVITY_STOPPED = 23; // 0x17
2601  }
2602
2603  public abstract class ContentCaptureService extends android.app.Service {
2604    ctor public ContentCaptureService();
2605    method public final void disableSelf();
2606    method public void onActivityEvent(@NonNull android.service.contentcapture.ActivityEvent);
2607    method public void onActivitySnapshot(@NonNull android.view.contentcapture.ContentCaptureSessionId, @NonNull android.service.contentcapture.SnapshotData);
2608    method public void onConnected();
2609    method public void onContentCaptureEvent(@NonNull android.view.contentcapture.ContentCaptureSessionId, @NonNull android.view.contentcapture.ContentCaptureEvent);
2610    method public void onCreateContentCaptureSession(@NonNull android.view.contentcapture.ContentCaptureContext, @NonNull android.view.contentcapture.ContentCaptureSessionId);
2611    method public void onDataRemovalRequest(@NonNull android.view.contentcapture.DataRemovalRequest);
2612    method public void onDestroyContentCaptureSession(@NonNull android.view.contentcapture.ContentCaptureSessionId);
2613    method public void onDisconnected();
2614    method public final void setContentCaptureConditions(@NonNull String, @Nullable java.util.Set<android.view.contentcapture.ContentCaptureCondition>);
2615    method public final void setContentCaptureWhitelist(@Nullable java.util.Set<java.lang.String>, @Nullable java.util.Set<android.content.ComponentName>);
2616    field public static final String SERVICE_INTERFACE = "android.service.contentcapture.ContentCaptureService";
2617    field public static final String SERVICE_META_DATA = "android.content_capture";
2618  }
2619
2620  public final class SnapshotData implements android.os.Parcelable {
2621    method public int describeContents();
2622    method @Nullable public android.app.assist.AssistContent getAssistContent();
2623    method @NonNull public android.os.Bundle getAssistData();
2624    method @NonNull public android.app.assist.AssistStructure getAssistStructure();
2625    method public void writeToParcel(@NonNull android.os.Parcel, int);
2626    field @NonNull public static final android.os.Parcelable.Creator<android.service.contentcapture.SnapshotData> CREATOR;
2627  }
2628
2629}
2630
2631package android.service.notification {
2632
2633  public final class Adjustment implements android.os.Parcelable {
2634    ctor public Adjustment(String, String, android.os.Bundle, CharSequence, int);
2635    ctor public Adjustment(@NonNull String, @NonNull String, @NonNull android.os.Bundle, @NonNull CharSequence, @NonNull android.os.UserHandle);
2636    method public int describeContents();
2637    method @NonNull public CharSequence getExplanation();
2638    method @NonNull public String getKey();
2639    method @NonNull public String getPackage();
2640    method @NonNull public android.os.Bundle getSignals();
2641    method public int getUser();
2642    method @NonNull public android.os.UserHandle getUserHandle();
2643    method public void writeToParcel(android.os.Parcel, int);
2644    field @NonNull public static final android.os.Parcelable.Creator<android.service.notification.Adjustment> CREATOR;
2645    field public static final String KEY_CONTEXTUAL_ACTIONS = "key_contextual_actions";
2646    field public static final String KEY_IMPORTANCE = "key_importance";
2647    field public static final String KEY_SNOOZE_CRITERIA = "key_snooze_criteria";
2648    field public static final String KEY_TEXT_REPLIES = "key_text_replies";
2649    field public static final String KEY_USER_SENTIMENT = "key_user_sentiment";
2650  }
2651
2652  @Deprecated public abstract class ConditionProviderService extends android.app.Service {
2653    method @Deprecated public boolean isBound();
2654  }
2655
2656  public abstract class NotificationAssistantService extends android.service.notification.NotificationListenerService {
2657    ctor public NotificationAssistantService();
2658    method public final void adjustNotification(@NonNull android.service.notification.Adjustment);
2659    method public final void adjustNotifications(@NonNull java.util.List<android.service.notification.Adjustment>);
2660    method public void onActionInvoked(@NonNull String, @NonNull android.app.Notification.Action, int);
2661    method public void onAllowedAdjustmentsChanged();
2662    method @NonNull public final android.os.IBinder onBind(@Nullable android.content.Intent);
2663    method public void onNotificationDirectReplied(@NonNull String);
2664    method @Nullable public abstract android.service.notification.Adjustment onNotificationEnqueued(@NonNull android.service.notification.StatusBarNotification);
2665    method @Nullable public android.service.notification.Adjustment onNotificationEnqueued(@NonNull android.service.notification.StatusBarNotification, @NonNull android.app.NotificationChannel);
2666    method public void onNotificationExpansionChanged(@NonNull String, boolean, boolean);
2667    method public abstract void onNotificationSnoozedUntilContext(@NonNull android.service.notification.StatusBarNotification, @NonNull String);
2668    method public void onNotificationsSeen(@NonNull java.util.List<java.lang.String>);
2669    method public void onSuggestedReplySent(@NonNull String, @NonNull CharSequence, int);
2670    method public final void unsnoozeNotification(@NonNull String);
2671    field public static final String SERVICE_INTERFACE = "android.service.notification.NotificationAssistantService";
2672    field public static final int SOURCE_FROM_APP = 0; // 0x0
2673    field public static final int SOURCE_FROM_ASSISTANT = 1; // 0x1
2674  }
2675
2676  public abstract class NotificationListenerService extends android.app.Service {
2677    method public void onNotificationRemoved(@NonNull android.service.notification.StatusBarNotification, @NonNull android.service.notification.NotificationListenerService.RankingMap, @NonNull android.service.notification.NotificationStats, int);
2678  }
2679
2680  public final class NotificationStats implements android.os.Parcelable {
2681    ctor public NotificationStats();
2682    method public int describeContents();
2683    method public int getDismissalSentiment();
2684    method public int getDismissalSurface();
2685    method public boolean hasDirectReplied();
2686    method public boolean hasExpanded();
2687    method public boolean hasInteracted();
2688    method public boolean hasSeen();
2689    method public boolean hasSnoozed();
2690    method public boolean hasViewedSettings();
2691    method public void setDirectReplied();
2692    method public void setDismissalSentiment(int);
2693    method public void setDismissalSurface(int);
2694    method public void setExpanded();
2695    method public void setSeen();
2696    method public void setSnoozed();
2697    method public void setViewedSettings();
2698    method public void writeToParcel(android.os.Parcel, int);
2699    field @NonNull public static final android.os.Parcelable.Creator<android.service.notification.NotificationStats> CREATOR;
2700    field public static final int DISMISSAL_AOD = 2; // 0x2
2701    field public static final int DISMISSAL_NOT_DISMISSED = -1; // 0xffffffff
2702    field public static final int DISMISSAL_OTHER = 0; // 0x0
2703    field public static final int DISMISSAL_PEEK = 1; // 0x1
2704    field public static final int DISMISSAL_SHADE = 3; // 0x3
2705    field public static final int DISMISS_SENTIMENT_NEGATIVE = 0; // 0x0
2706    field public static final int DISMISS_SENTIMENT_NEUTRAL = 1; // 0x1
2707    field public static final int DISMISS_SENTIMENT_POSITIVE = 2; // 0x2
2708    field public static final int DISMISS_SENTIMENT_UNKNOWN = -1000; // 0xfffffc18
2709  }
2710
2711  public final class SnoozeCriterion implements android.os.Parcelable {
2712    ctor public SnoozeCriterion(String, CharSequence, CharSequence);
2713    ctor protected SnoozeCriterion(android.os.Parcel);
2714    method public int describeContents();
2715    method public CharSequence getConfirmation();
2716    method public CharSequence getExplanation();
2717    method public String getId();
2718    method public void writeToParcel(android.os.Parcel, int);
2719    field @NonNull public static final android.os.Parcelable.Creator<android.service.notification.SnoozeCriterion> CREATOR;
2720  }
2721
2722}
2723
2724package android.service.quicksettings {
2725
2726  public class TileService extends android.app.Service {
2727    method public static boolean isQuickSettingsSupported();
2728  }
2729
2730}
2731
2732package android.telecom {
2733
2734  public final class CallAudioState implements android.os.Parcelable {
2735    ctor public CallAudioState(boolean, int, int, @Nullable android.bluetooth.BluetoothDevice, @NonNull java.util.Collection<android.bluetooth.BluetoothDevice>);
2736  }
2737
2738  public abstract class Conference extends android.telecom.Conferenceable {
2739    method public android.telecom.Connection getPrimaryConnection();
2740  }
2741
2742  public class PhoneAccountSuggestionService extends android.app.Service {
2743    ctor public PhoneAccountSuggestionService();
2744    method public void onAccountSuggestionRequest(@NonNull String);
2745    method public android.os.IBinder onBind(android.content.Intent);
2746    method public final void suggestPhoneAccounts(@NonNull String, @NonNull java.util.List<android.telecom.PhoneAccountSuggestion>);
2747    field public static final String SERVICE_INTERFACE = "android.telecom.PhoneAccountSuggestionService";
2748  }
2749
2750  public class TelecomManager {
2751    method @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public int getCurrentTtyMode();
2752    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean isInEmergencyCall();
2753    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setUserSelectedOutgoingPhoneAccount(@Nullable android.telecom.PhoneAccountHandle);
2754    field public static final int TTY_MODE_FULL = 1; // 0x1
2755    field public static final int TTY_MODE_HCO = 2; // 0x2
2756    field public static final int TTY_MODE_OFF = 0; // 0x0
2757    field public static final int TTY_MODE_VCO = 3; // 0x3
2758  }
2759
2760}
2761
2762package android.telephony {
2763
2764  public final class AccessNetworkConstants {
2765    field public static final int TRANSPORT_TYPE_WLAN = 2; // 0x2
2766    field public static final int TRANSPORT_TYPE_WWAN = 1; // 0x1
2767  }
2768
2769  public class CarrierConfigManager {
2770    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void overrideConfig(int, @Nullable android.os.PersistableBundle);
2771  }
2772
2773  public final class DataSpecificRegistrationInfo implements android.os.Parcelable {
2774    method public int describeContents();
2775    method @NonNull public android.telephony.LteVopsSupportInfo getLteVopsSupportInfo();
2776    method public void writeToParcel(android.os.Parcel, int);
2777    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.DataSpecificRegistrationInfo> CREATOR;
2778  }
2779
2780  public final class LteVopsSupportInfo implements android.os.Parcelable {
2781    ctor public LteVopsSupportInfo(int, int);
2782    method public int describeContents();
2783    method public int getEmcBearerSupport();
2784    method public int getVopsSupport();
2785    method public void writeToParcel(android.os.Parcel, int);
2786    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.LteVopsSupportInfo> CREATOR;
2787    field public static final int LTE_STATUS_NOT_AVAILABLE = 1; // 0x1
2788    field public static final int LTE_STATUS_NOT_SUPPORTED = 3; // 0x3
2789    field public static final int LTE_STATUS_SUPPORTED = 2; // 0x2
2790  }
2791
2792  public class MbmsDownloadSession implements java.lang.AutoCloseable {
2793    field public static final String MBMS_DOWNLOAD_SERVICE_OVERRIDE_METADATA = "mbms-download-service-override";
2794  }
2795
2796  public class MbmsGroupCallSession implements java.lang.AutoCloseable {
2797    field public static final String MBMS_GROUP_CALL_SERVICE_OVERRIDE_METADATA = "mbms-group-call-service-override";
2798  }
2799
2800  public class MbmsStreamingSession implements java.lang.AutoCloseable {
2801    field public static final String MBMS_STREAMING_SERVICE_OVERRIDE_METADATA = "mbms-streaming-service-override";
2802  }
2803
2804  public final class NetworkRegistrationInfo implements android.os.Parcelable {
2805    method public int describeContents();
2806    method public int getAccessNetworkTechnology();
2807    method @NonNull public java.util.List<java.lang.Integer> getAvailableServices();
2808    method @Nullable public android.telephony.CellIdentity getCellIdentity();
2809    method @Nullable public android.telephony.DataSpecificRegistrationInfo getDataSpecificInfo();
2810    method public int getDomain();
2811    method public int getRegistrationState();
2812    method public int getRejectCause();
2813    method public int getRoamingType();
2814    method public int getTransportType();
2815    method public boolean isEmergencyEnabled();
2816    method public boolean isRoaming();
2817    method public void writeToParcel(android.os.Parcel, int);
2818    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.NetworkRegistrationInfo> CREATOR;
2819    field public static final int DOMAIN_CS = 1; // 0x1
2820    field public static final int DOMAIN_PS = 2; // 0x2
2821    field public static final int REGISTRATION_STATE_DENIED = 3; // 0x3
2822    field public static final int REGISTRATION_STATE_HOME = 1; // 0x1
2823    field public static final int REGISTRATION_STATE_NOT_REGISTERED_OR_SEARCHING = 0; // 0x0
2824    field public static final int REGISTRATION_STATE_NOT_REGISTERED_SEARCHING = 2; // 0x2
2825    field public static final int REGISTRATION_STATE_ROAMING = 5; // 0x5
2826    field public static final int REGISTRATION_STATE_UNKNOWN = 4; // 0x4
2827    field public static final int SERVICE_TYPE_DATA = 2; // 0x2
2828    field public static final int SERVICE_TYPE_EMERGENCY = 5; // 0x5
2829    field public static final int SERVICE_TYPE_SMS = 3; // 0x3
2830    field public static final int SERVICE_TYPE_UNKNOWN = 0; // 0x0
2831    field public static final int SERVICE_TYPE_VIDEO = 4; // 0x4
2832    field public static final int SERVICE_TYPE_VOICE = 1; // 0x1
2833  }
2834
2835  public static final class NetworkRegistrationInfo.Builder {
2836    ctor public NetworkRegistrationInfo.Builder();
2837    method @NonNull public android.telephony.NetworkRegistrationInfo build();
2838    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setAccessNetworkTechnology(int);
2839    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setAvailableServices(@NonNull java.util.List<java.lang.Integer>);
2840    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setCellIdentity(@Nullable android.telephony.CellIdentity);
2841    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setDomain(int);
2842    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setEmergencyOnly(boolean);
2843    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setRegistrationState(int);
2844    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setRejectCause(int);
2845    method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setTransportType(int);
2846  }
2847
2848  public class ServiceState implements android.os.Parcelable {
2849    method public void addNetworkRegistrationInfo(android.telephony.NetworkRegistrationInfo);
2850    method public void setCdmaSystemAndNetworkId(int, int);
2851    method public void setCellBandwidths(int[]);
2852    method public void setChannelNumber(int);
2853    method public void setDataRoamingType(int);
2854    method public void setRilDataRadioTechnology(int);
2855    method public void setRilVoiceRadioTechnology(int);
2856    method public void setVoiceRoamingType(int);
2857  }
2858
2859  public final class SmsManager {
2860    method @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public int checkSmsShortCodeDestination(String, String);
2861    field public static final int SMS_CATEGORY_FREE_SHORT_CODE = 1; // 0x1
2862    field public static final int SMS_CATEGORY_NOT_SHORT_CODE = 0; // 0x0
2863    field public static final int SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE = 3; // 0x3
2864    field public static final int SMS_CATEGORY_PREMIUM_SHORT_CODE = 4; // 0x4
2865    field public static final int SMS_CATEGORY_STANDARD_SHORT_CODE = 2; // 0x2
2866  }
2867
2868  public class TelephonyManager {
2869    method public int checkCarrierPrivilegesForPackage(String);
2870    method public int getCarrierIdListVersion();
2871    method @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public String getLine1AlphaTag();
2872    method public android.util.Pair<java.lang.Integer,java.lang.Integer> getRadioHalVersion();
2873    method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void refreshUiccProfile();
2874    method @Deprecated public void setCarrierTestOverride(String, String, String, String, String, String, String);
2875    method public void setCarrierTestOverride(String, String, String, String, String, String, String, String, String);
2876    field public static final int CARRIER_PRIVILEGE_STATUS_ERROR_LOADING_RULES = -2; // 0xfffffffe
2877    field public static final int CARRIER_PRIVILEGE_STATUS_HAS_ACCESS = 1; // 0x1
2878    field public static final int CARRIER_PRIVILEGE_STATUS_NO_ACCESS = 0; // 0x0
2879    field public static final int CARRIER_PRIVILEGE_STATUS_RULES_NOT_LOADED = -1; // 0xffffffff
2880    field public static final int UNKNOWN_CARRIER_ID_LIST_VERSION = -1; // 0xffffffff
2881  }
2882
2883}
2884
2885package android.telephony.mbms {
2886
2887  public static class DownloadRequest.Builder {
2888    method public android.telephony.mbms.DownloadRequest.Builder setServiceId(String);
2889  }
2890
2891  public final class FileInfo implements android.os.Parcelable {
2892    ctor public FileInfo(android.net.Uri, String);
2893  }
2894
2895  public final class FileServiceInfo extends android.telephony.mbms.ServiceInfo implements android.os.Parcelable {
2896    ctor public FileServiceInfo(java.util.Map<java.util.Locale,java.lang.String>, String, java.util.List<java.util.Locale>, String, java.util.Date, java.util.Date, java.util.List<android.telephony.mbms.FileInfo>);
2897  }
2898
2899  public final class StreamingServiceInfo extends android.telephony.mbms.ServiceInfo implements android.os.Parcelable {
2900    ctor public StreamingServiceInfo(java.util.Map<java.util.Locale,java.lang.String>, String, java.util.List<java.util.Locale>, String, java.util.Date, java.util.Date);
2901  }
2902
2903  public final class UriPathPair implements android.os.Parcelable {
2904    method public int describeContents();
2905    method public android.net.Uri getContentUri();
2906    method public android.net.Uri getFilePathUri();
2907    method public void writeToParcel(android.os.Parcel, int);
2908    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.mbms.UriPathPair> CREATOR;
2909  }
2910
2911}
2912
2913package android.telephony.mbms.vendor {
2914
2915  public class MbmsDownloadServiceBase extends android.os.Binder {
2916    ctor public MbmsDownloadServiceBase();
2917    method public int addProgressListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadProgressListener) throws android.os.RemoteException;
2918    method public int addStatusListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadStatusListener) throws android.os.RemoteException;
2919    method public android.os.IBinder asBinder();
2920    method public int cancelDownload(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException;
2921    method public void dispose(int) throws android.os.RemoteException;
2922    method public int download(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException;
2923    method public int initialize(int, android.telephony.mbms.MbmsDownloadSessionCallback) throws android.os.RemoteException;
2924    method @NonNull public java.util.List<android.telephony.mbms.DownloadRequest> listPendingDownloads(int) throws android.os.RemoteException;
2925    method public void onAppCallbackDied(int, int);
2926    method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException;
2927    method public int removeProgressListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadProgressListener) throws android.os.RemoteException;
2928    method public int removeStatusListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadStatusListener) throws android.os.RemoteException;
2929    method public int requestDownloadState(android.telephony.mbms.DownloadRequest, android.telephony.mbms.FileInfo) throws android.os.RemoteException;
2930    method public int requestUpdateFileServices(int, java.util.List<java.lang.String>) throws android.os.RemoteException;
2931    method public int resetDownloadKnowledge(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException;
2932    method public int setTempFileRootDirectory(int, String) throws android.os.RemoteException;
2933  }
2934
2935  public class MbmsGroupCallServiceBase extends android.app.Service {
2936    ctor public MbmsGroupCallServiceBase();
2937    method public void dispose(int) throws android.os.RemoteException;
2938    method public int initialize(@NonNull android.telephony.mbms.MbmsGroupCallSessionCallback, int) throws android.os.RemoteException;
2939    method public void onAppCallbackDied(int, int);
2940    method public android.os.IBinder onBind(android.content.Intent);
2941    method public int startGroupCall(int, long, @NonNull java.util.List<java.lang.Integer>, @NonNull java.util.List<java.lang.Integer>, @NonNull android.telephony.mbms.GroupCallCallback);
2942    method public void stopGroupCall(int, long);
2943    method public void updateGroupCall(int, long, @NonNull java.util.List<java.lang.Integer>, @NonNull java.util.List<java.lang.Integer>);
2944  }
2945
2946  public class MbmsStreamingServiceBase extends android.os.Binder {
2947    ctor public MbmsStreamingServiceBase();
2948    method public android.os.IBinder asBinder();
2949    method public void dispose(int) throws android.os.RemoteException;
2950    method @Nullable public android.net.Uri getPlaybackUri(int, String) throws android.os.RemoteException;
2951    method public int initialize(android.telephony.mbms.MbmsStreamingSessionCallback, int) throws android.os.RemoteException;
2952    method public void onAppCallbackDied(int, int);
2953    method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException;
2954    method public int requestUpdateStreamingServices(int, java.util.List<java.lang.String>) throws android.os.RemoteException;
2955    method public int startStreaming(int, String, android.telephony.mbms.StreamingServiceCallback) throws android.os.RemoteException;
2956    method public void stopStreaming(int, String) throws android.os.RemoteException;
2957  }
2958
2959  public class VendorUtils {
2960    ctor public VendorUtils();
2961    method public static android.content.ComponentName getAppReceiverFromPackageName(android.content.Context, String);
2962    field public static final String ACTION_CLEANUP = "android.telephony.mbms.action.CLEANUP";
2963    field public static final String ACTION_DOWNLOAD_RESULT_INTERNAL = "android.telephony.mbms.action.DOWNLOAD_RESULT_INTERNAL";
2964    field public static final String ACTION_FILE_DESCRIPTOR_REQUEST = "android.telephony.mbms.action.FILE_DESCRIPTOR_REQUEST";
2965    field public static final String EXTRA_FD_COUNT = "android.telephony.mbms.extra.FD_COUNT";
2966    field public static final String EXTRA_FINAL_URI = "android.telephony.mbms.extra.FINAL_URI";
2967    field public static final String EXTRA_FREE_URI_LIST = "android.telephony.mbms.extra.FREE_URI_LIST";
2968    field public static final String EXTRA_PAUSED_LIST = "android.telephony.mbms.extra.PAUSED_LIST";
2969    field public static final String EXTRA_PAUSED_URI_LIST = "android.telephony.mbms.extra.PAUSED_URI_LIST";
2970    field public static final String EXTRA_SERVICE_ID = "android.telephony.mbms.extra.SERVICE_ID";
2971    field public static final String EXTRA_TEMP_FILES_IN_USE = "android.telephony.mbms.extra.TEMP_FILES_IN_USE";
2972    field public static final String EXTRA_TEMP_FILE_ROOT = "android.telephony.mbms.extra.TEMP_FILE_ROOT";
2973    field public static final String EXTRA_TEMP_LIST = "android.telephony.mbms.extra.TEMP_LIST";
2974  }
2975
2976}
2977
2978package android.text {
2979
2980  public static final class Selection.MemoryTextWatcher implements android.text.TextWatcher {
2981    ctor public Selection.MemoryTextWatcher();
2982    method public void afterTextChanged(android.text.Editable);
2983    method public void beforeTextChanged(CharSequence, int, int, int);
2984    method public void onTextChanged(CharSequence, int, int, int);
2985  }
2986
2987}
2988
2989package android.transition {
2990
2991  public class TransitionManager {
2992    method public android.transition.Transition getTransition(android.transition.Scene);
2993  }
2994
2995}
2996
2997package android.util {
2998
2999  public final class ArraySet<E> implements java.util.Collection<E> java.util.Set<E> {
3000    method public E valueAtUnchecked(int);
3001  }
3002
3003  public class FeatureFlagUtils {
3004    ctor public FeatureFlagUtils();
3005    method public static java.util.Map<java.lang.String,java.lang.String> getAllFeatureFlags();
3006    method public static boolean isEnabled(android.content.Context, String);
3007    method public static void setEnabled(android.content.Context, String, boolean);
3008    field public static final String DYNAMIC_SYSTEM = "settings_dynamic_system";
3009    field public static final String FFLAG_OVERRIDE_PREFIX = "sys.fflag.override.";
3010    field public static final String FFLAG_PREFIX = "sys.fflag.";
3011    field public static final String HEARING_AID_SETTINGS = "settings_bluetooth_hearing_aid";
3012    field public static final String PERSIST_PREFIX = "persist.sys.fflag.override.";
3013    field public static final String PIXEL_WALLPAPER_CATEGORY_SWITCH = "settings_pixel_wallpaper_category_switch";
3014    field public static final String SCREENRECORD_LONG_PRESS = "settings_screenrecord_long_press";
3015    field public static final String SEAMLESS_TRANSFER = "settings_seamless_transfer";
3016  }
3017
3018  public class TimeUtils {
3019    method public static String formatDuration(long);
3020  }
3021
3022}
3023
3024package android.util.proto {
3025
3026  public final class EncodedBuffer {
3027    ctor public EncodedBuffer();
3028    ctor public EncodedBuffer(int);
3029    method public void dumpBuffers(String);
3030    method public static void dumpByteString(String, String, byte[]);
3031    method public void editRawFixed32(int, int);
3032    method public byte[] getBytes(int);
3033    method public int getChunkCount();
3034    method public String getDebugString();
3035    method public int getRawFixed32At(int);
3036    method public static int getRawVarint32Size(int);
3037    method public static int getRawVarint64Size(long);
3038    method public static int getRawZigZag32Size(int);
3039    method public static int getRawZigZag64Size(long);
3040    method public int getReadPos();
3041    method public int getReadableSize();
3042    method public int getSize();
3043    method public int getWriteBufIndex();
3044    method public int getWriteIndex();
3045    method public int getWritePos();
3046    method public byte readRawByte();
3047    method public int readRawFixed32();
3048    method public long readRawUnsigned();
3049    method public void rewindRead();
3050    method public void rewindWriteTo(int);
3051    method public void skipRead(int);
3052    method public void startEditing();
3053    method public void writeFromThisBuffer(int, int);
3054    method public void writeRawBuffer(byte[]);
3055    method public void writeRawBuffer(byte[], int, int);
3056    method public void writeRawByte(byte);
3057    method public void writeRawFixed32(int);
3058    method public void writeRawFixed64(long);
3059    method public void writeRawVarint32(int);
3060    method public void writeRawVarint64(long);
3061    method public void writeRawZigZag32(int);
3062    method public void writeRawZigZag64(long);
3063  }
3064
3065  public final class ProtoOutputStream extends android.util.proto.ProtoStream {
3066    ctor public ProtoOutputStream();
3067    ctor public ProtoOutputStream(int);
3068    ctor public ProtoOutputStream(java.io.OutputStream);
3069    ctor public ProtoOutputStream(java.io.FileDescriptor);
3070    method public static int checkFieldId(long, long);
3071    method public void dump(String);
3072    method public void end(long);
3073    method @Deprecated public void endObject(long);
3074    method @Deprecated public void endRepeatedObject(long);
3075    method public void flush();
3076    method public byte[] getBytes();
3077    method public int getRawSize();
3078    method public static long makeFieldId(int, long);
3079    method public long start(long);
3080    method @Deprecated public long startObject(long);
3081    method @Deprecated public long startRepeatedObject(long);
3082    method public void write(long, double);
3083    method public void write(long, float);
3084    method public void write(long, int);
3085    method public void write(long, long);
3086    method public void write(long, boolean);
3087    method public void write(long, String);
3088    method public void write(long, byte[]);
3089    method @Deprecated public void writeBool(long, boolean);
3090    method @Deprecated public void writeBytes(long, byte[]);
3091    method @Deprecated public void writeDouble(long, double);
3092    method @Deprecated public void writeEnum(long, int);
3093    method @Deprecated public void writeFixed32(long, int);
3094    method @Deprecated public void writeFixed64(long, long);
3095    method @Deprecated public void writeFloat(long, float);
3096    method @Deprecated public void writeInt32(long, int);
3097    method @Deprecated public void writeInt64(long, long);
3098    method @Deprecated public void writeObject(long, byte[]);
3099    method @Deprecated public void writePackedBool(long, boolean[]);
3100    method @Deprecated public void writePackedDouble(long, double[]);
3101    method @Deprecated public void writePackedEnum(long, int[]);
3102    method @Deprecated public void writePackedFixed32(long, int[]);
3103    method @Deprecated public void writePackedFixed64(long, long[]);
3104    method @Deprecated public void writePackedFloat(long, float[]);
3105    method @Deprecated public void writePackedInt32(long, int[]);
3106    method @Deprecated public void writePackedInt64(long, long[]);
3107    method @Deprecated public void writePackedSFixed32(long, int[]);
3108    method @Deprecated public void writePackedSFixed64(long, long[]);
3109    method @Deprecated public void writePackedSInt32(long, int[]);
3110    method @Deprecated public void writePackedSInt64(long, long[]);
3111    method @Deprecated public void writePackedUInt32(long, int[]);
3112    method @Deprecated public void writePackedUInt64(long, long[]);
3113    method @Deprecated public void writeRepeatedBool(long, boolean);
3114    method @Deprecated public void writeRepeatedBytes(long, byte[]);
3115    method @Deprecated public void writeRepeatedDouble(long, double);
3116    method @Deprecated public void writeRepeatedEnum(long, int);
3117    method @Deprecated public void writeRepeatedFixed32(long, int);
3118    method @Deprecated public void writeRepeatedFixed64(long, long);
3119    method @Deprecated public void writeRepeatedFloat(long, float);
3120    method @Deprecated public void writeRepeatedInt32(long, int);
3121    method @Deprecated public void writeRepeatedInt64(long, long);
3122    method @Deprecated public void writeRepeatedObject(long, byte[]);
3123    method @Deprecated public void writeRepeatedSFixed32(long, int);
3124    method @Deprecated public void writeRepeatedSFixed64(long, long);
3125    method @Deprecated public void writeRepeatedSInt32(long, int);
3126    method @Deprecated public void writeRepeatedSInt64(long, long);
3127    method @Deprecated public void writeRepeatedString(long, String);
3128    method @Deprecated public void writeRepeatedUInt32(long, int);
3129    method @Deprecated public void writeRepeatedUInt64(long, long);
3130    method @Deprecated public void writeSFixed32(long, int);
3131    method @Deprecated public void writeSFixed64(long, long);
3132    method @Deprecated public void writeSInt32(long, int);
3133    method @Deprecated public void writeSInt64(long, long);
3134    method @Deprecated public void writeString(long, String);
3135    method public void writeTag(int, int);
3136    method @Deprecated public void writeUInt32(long, int);
3137    method @Deprecated public void writeUInt64(long, long);
3138  }
3139
3140  public class ProtoParseException extends java.lang.RuntimeException {
3141    ctor public ProtoParseException(String);
3142  }
3143
3144  public abstract class ProtoStream {
3145    ctor public ProtoStream();
3146    method public static int convertObjectIdToOrdinal(int);
3147    method public static int getDepthFromToken(long);
3148    method public static String getFieldCountString(long);
3149    method public static String getFieldIdString(long);
3150    method public static String getFieldTypeString(long);
3151    method public static int getObjectIdFromToken(long);
3152    method public static int getOffsetFromToken(long);
3153    method public static boolean getRepeatedFromToken(long);
3154    method public static int getTagSizeFromToken(long);
3155    method public static String getWireTypeString(int);
3156    method public static long makeFieldId(int, long);
3157    method public static long makeToken(int, boolean, int, int, int);
3158    method public static String token2String(long);
3159    field public static final long FIELD_COUNT_MASK = 16492674416640L; // 0xf0000000000L
3160    field public static final long FIELD_COUNT_PACKED = 5497558138880L; // 0x50000000000L
3161    field public static final long FIELD_COUNT_REPEATED = 2199023255552L; // 0x20000000000L
3162    field public static final int FIELD_COUNT_SHIFT = 40; // 0x28
3163    field public static final long FIELD_COUNT_SINGLE = 1099511627776L; // 0x10000000000L
3164    field public static final long FIELD_COUNT_UNKNOWN = 0L; // 0x0L
3165    field public static final int FIELD_ID_MASK = -8; // 0xfffffff8
3166    field public static final int FIELD_ID_SHIFT = 3; // 0x3
3167    field public static final long FIELD_TYPE_BOOL = 34359738368L; // 0x800000000L
3168    field public static final long FIELD_TYPE_BYTES = 51539607552L; // 0xc00000000L
3169    field public static final long FIELD_TYPE_DOUBLE = 4294967296L; // 0x100000000L
3170    field public static final long FIELD_TYPE_ENUM = 60129542144L; // 0xe00000000L
3171    field public static final long FIELD_TYPE_FIXED32 = 30064771072L; // 0x700000000L
3172    field public static final long FIELD_TYPE_FIXED64 = 25769803776L; // 0x600000000L
3173    field public static final long FIELD_TYPE_FLOAT = 8589934592L; // 0x200000000L
3174    field public static final long FIELD_TYPE_INT32 = 21474836480L; // 0x500000000L
3175    field public static final long FIELD_TYPE_INT64 = 12884901888L; // 0x300000000L
3176    field public static final long FIELD_TYPE_MASK = 1095216660480L; // 0xff00000000L
3177    field public static final long FIELD_TYPE_MESSAGE = 47244640256L; // 0xb00000000L
3178    field protected static final String[] FIELD_TYPE_NAMES;
3179    field public static final long FIELD_TYPE_SFIXED32 = 64424509440L; // 0xf00000000L
3180    field public static final long FIELD_TYPE_SFIXED64 = 68719476736L; // 0x1000000000L
3181    field public static final int FIELD_TYPE_SHIFT = 32; // 0x20
3182    field public static final long FIELD_TYPE_SINT32 = 73014444032L; // 0x1100000000L
3183    field public static final long FIELD_TYPE_SINT64 = 77309411328L; // 0x1200000000L
3184    field public static final long FIELD_TYPE_STRING = 38654705664L; // 0x900000000L
3185    field public static final long FIELD_TYPE_UINT32 = 55834574848L; // 0xd00000000L
3186    field public static final long FIELD_TYPE_UINT64 = 17179869184L; // 0x400000000L
3187    field public static final long FIELD_TYPE_UNKNOWN = 0L; // 0x0L
3188    field public static final int WIRE_TYPE_END_GROUP = 4; // 0x4
3189    field public static final int WIRE_TYPE_FIXED32 = 5; // 0x5
3190    field public static final int WIRE_TYPE_FIXED64 = 1; // 0x1
3191    field public static final int WIRE_TYPE_LENGTH_DELIMITED = 2; // 0x2
3192    field public static final int WIRE_TYPE_MASK = 7; // 0x7
3193    field public static final int WIRE_TYPE_START_GROUP = 3; // 0x3
3194    field public static final int WIRE_TYPE_VARINT = 0; // 0x0
3195  }
3196
3197  public class WireTypeMismatchException extends android.util.proto.ProtoParseException {
3198    ctor public WireTypeMismatchException(String);
3199  }
3200
3201}
3202
3203package android.view {
3204
3205  public abstract class ActionMode {
3206    method public boolean isUiFocusable();
3207  }
3208
3209  public final class Choreographer {
3210    method public static long getFrameDelay();
3211    method public void postCallback(int, Runnable, Object);
3212    method public void postCallbackDelayed(int, Runnable, Object, long);
3213    method public void removeCallbacks(int, Runnable, Object);
3214    method public static void setFrameDelay(long);
3215    field public static final int CALLBACK_ANIMATION = 1; // 0x1
3216  }
3217
3218  public final class Display {
3219    method public boolean hasAccess(int);
3220  }
3221
3222  public class FocusFinder {
3223    method public static void sort(android.view.View[], int, int, android.view.ViewGroup, boolean);
3224  }
3225
3226  public final class InputDevice implements android.os.Parcelable {
3227    method @RequiresPermission("android.permission.DISABLE_INPUT_DEVICE") public void disable();
3228    method @RequiresPermission("android.permission.DISABLE_INPUT_DEVICE") public void enable();
3229  }
3230
3231  public class KeyEvent extends android.view.InputEvent implements android.os.Parcelable {
3232    method public static String actionToString(int);
3233    method public final void setDisplayId(int);
3234    field public static final int LAST_KEYCODE = 288; // 0x120
3235  }
3236
3237  public final class KeyboardShortcutGroup implements android.os.Parcelable {
3238    ctor public KeyboardShortcutGroup(@Nullable CharSequence, @NonNull java.util.List<android.view.KeyboardShortcutInfo>, boolean);
3239    ctor public KeyboardShortcutGroup(@Nullable CharSequence, boolean);
3240    method public boolean isSystemGroup();
3241  }
3242
3243  public abstract class LayoutInflater {
3244    method public void setPrecompiledLayoutsEnabledForTesting(boolean);
3245  }
3246
3247  public final class MotionEvent extends android.view.InputEvent implements android.os.Parcelable {
3248    method public void setActionButton(int);
3249    method public void setButtonState(int);
3250    method public void setDisplayId(int);
3251  }
3252
3253  @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target({java.lang.annotation.ElementType.METHOD}) public @interface RemotableViewMethod {
3254    method public abstract String asyncImpl() default "";
3255  }
3256
3257  @UiThread public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback {
3258    method public android.view.View getTooltipView();
3259    method public boolean isAutofilled();
3260    method public static boolean isDefaultFocusHighlightEnabled();
3261    method public boolean isDefaultFocusHighlightNeeded(android.graphics.drawable.Drawable, android.graphics.drawable.Drawable);
3262    method protected void resetResolvedDrawables();
3263    method public void resetResolvedLayoutDirection();
3264    method public void resetResolvedPadding();
3265    method public void resetResolvedTextAlignment();
3266    method public void resetResolvedTextDirection();
3267    method public void resetRtlProperties();
3268    method public boolean restoreFocusInCluster(int);
3269    method public boolean restoreFocusNotInCluster();
3270    method public void setAutofilled(boolean);
3271    method public final void setFocusedInCluster();
3272    method public void setIsRootNamespace(boolean);
3273  }
3274
3275  public class ViewConfiguration {
3276    method public long getDeviceGlobalActionKeyTimeout();
3277    method public static int getHoverTooltipHideShortTimeout();
3278    method public static int getHoverTooltipHideTimeout();
3279    method public static int getHoverTooltipShowTimeout();
3280    method public static int getLongPressTooltipHideTimeout();
3281  }
3282
3283  public class ViewDebug {
3284    method @Deprecated @Nullable public static AutoCloseable startRenderingCommandsCapture(android.view.View, java.util.concurrent.Executor, java.util.function.Function<android.graphics.Picture,java.lang.Boolean>);
3285    method @Nullable public static AutoCloseable startRenderingCommandsCapture(android.view.View, java.util.concurrent.Executor, java.util.concurrent.Callable<java.io.OutputStream>);
3286  }
3287
3288  public interface WindowManager extends android.view.ViewManager {
3289    method public default void setShouldShowIme(int, boolean);
3290    method public default void setShouldShowSystemDecors(int, boolean);
3291    method public default void setShouldShowWithInsecureKeyguard(int, boolean);
3292    method public default boolean shouldShowIme(int);
3293    method public default boolean shouldShowSystemDecors(int);
3294  }
3295
3296  public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable {
3297    field public static final int ACCESSIBILITY_TITLE_CHANGED = 33554432; // 0x2000000
3298    field public static final int PRIVATE_FLAG_NO_MOVE_ANIMATION = 64; // 0x40
3299    field public CharSequence accessibilityTitle;
3300    field @android.view.ViewDebug.ExportedProperty(flagMapping={@android.view.ViewDebug.FlagToString(mask=0x1, equals=0x1, name="FAKE_HARDWARE_ACCELERATED"), @android.view.ViewDebug.FlagToString(mask=0x2, equals=0x2, name="FORCE_HARDWARE_ACCELERATED"), @android.view.ViewDebug.FlagToString(mask=0x4, equals=0x4, name="WANTS_OFFSET_NOTIFICATIONS"), @android.view.ViewDebug.FlagToString(mask=0x10, equals=0x10, name="SHOW_FOR_ALL_USERS"), @android.view.ViewDebug.FlagToString(mask=android.view.WindowManager.LayoutParams.PRIVATE_FLAG_NO_MOVE_ANIMATION, equals=android.view.WindowManager.LayoutParams.PRIVATE_FLAG_NO_MOVE_ANIMATION, name="NO_MOVE_ANIMATION"), @android.view.ViewDebug.FlagToString(mask=0x80, equals=0x80, name="COMPATIBLE_WINDOW"), @android.view.ViewDebug.FlagToString(mask=0x100, equals=0x100, name="SYSTEM_ERROR"), @android.view.ViewDebug.FlagToString(mask=0x200, equals=0x200, name="INHERIT_TRANSLUCENT_DECOR"), @android.view.ViewDebug.FlagToString(mask=0x400, equals=0x400, name="KEYGUARD"), @android.view.ViewDebug.FlagToString(mask=0x800, equals=0x800, name="DISABLE_WALLPAPER_TOUCH_EVENTS"), @android.view.ViewDebug.FlagToString(mask=0x1000, equals=0x1000, name="FORCE_STATUS_BAR_VISIBLE_TRANSPARENT"), @android.view.ViewDebug.FlagToString(mask=0x2000, equals=0x2000, name="PRESERVE_GEOMETRY"), @android.view.ViewDebug.FlagToString(mask=0x4000, equals=0x4000, name="FORCE_DECOR_VIEW_VISIBILITY"), @android.view.ViewDebug.FlagToString(mask=0x8000, equals=0x8000, name="WILL_NOT_REPLACE_ON_RELAUNCH"), @android.view.ViewDebug.FlagToString(mask=0x10000, equals=0x10000, name="LAYOUT_CHILD_WINDOW_IN_PARENT_FRAME"), @android.view.ViewDebug.FlagToString(mask=0x20000, equals=0x20000, name="FORCE_DRAW_STATUS_BAR_BACKGROUND"), @android.view.ViewDebug.FlagToString(mask=0x40000, equals=0x40000, name="SUSTAINED_PERFORMANCE_MODE"), @android.view.ViewDebug.FlagToString(mask=0x80000, equals=0x80000, name="HIDE_NON_SYSTEM_OVERLAY_WINDOWS"), @android.view.ViewDebug.FlagToString(mask=0x100000, equals=0x100000, name="IS_ROUNDED_CORNERS_OVERLAY"), @android.view.ViewDebug.FlagToString(mask=0x400000, equals=0x400000, name="IS_SCREEN_DECOR"), @android.view.ViewDebug.FlagToString(mask=0x800000, equals=0x800000, name="STATUS_FORCE_SHOW_NAVIGATION"), @android.view.ViewDebug.FlagToString(mask=0x1000000, equals=0x1000000, name="COLOR_SPACE_AGNOSTIC")}) public int privateFlags;
3301  }
3302
3303}
3304
3305package android.view.accessibility {
3306
3307  public final class AccessibilityManager {
3308    method public void addAccessibilityServicesStateChangeListener(@NonNull android.view.accessibility.AccessibilityManager.AccessibilityServicesStateChangeListener, @Nullable android.os.Handler);
3309    method @Nullable @RequiresPermission("android.permission.MANAGE_ACCESSIBILITY") public String getAccessibilityShortcutService();
3310    method @RequiresPermission("android.permission.MANAGE_ACCESSIBILITY") public void performAccessibilityShortcut();
3311    method public void removeAccessibilityServicesStateChangeListener(@NonNull android.view.accessibility.AccessibilityManager.AccessibilityServicesStateChangeListener);
3312  }
3313
3314  public static interface AccessibilityManager.AccessibilityServicesStateChangeListener {
3315    method public void onAccessibilityServicesStateChanged(android.view.accessibility.AccessibilityManager);
3316  }
3317
3318  public class AccessibilityNodeInfo implements android.os.Parcelable {
3319    method public static void setNumInstancesInUseCounter(java.util.concurrent.atomic.AtomicInteger);
3320    method public void writeToParcelNoRecycle(android.os.Parcel, int);
3321  }
3322
3323  public static final class AccessibilityNodeInfo.TouchDelegateInfo implements android.os.Parcelable {
3324    method public long getAccessibilityIdForRegion(@NonNull android.graphics.Region);
3325  }
3326
3327  public final class AccessibilityWindowInfo implements android.os.Parcelable {
3328    method public static void setNumInstancesInUseCounter(java.util.concurrent.atomic.AtomicInteger);
3329  }
3330
3331}
3332
3333package android.view.animation {
3334
3335  public class AnimationUtils {
3336    method public static void lockAnimationClock(long);
3337    method public static void unlockAnimationClock();
3338  }
3339
3340}
3341
3342package android.view.autofill {
3343
3344  public final class AutofillId implements android.os.Parcelable {
3345    ctor public AutofillId(int);
3346    ctor public AutofillId(@NonNull android.view.autofill.AutofillId, int);
3347    ctor public AutofillId(int, int);
3348    ctor public AutofillId(@NonNull android.view.autofill.AutofillId, long, int);
3349    method public boolean equalsIgnoreSession(@Nullable android.view.autofill.AutofillId);
3350  }
3351
3352  public final class AutofillManager {
3353    method public void setAugmentedAutofillWhitelist(@Nullable java.util.Set<java.lang.String>, @Nullable java.util.Set<android.content.ComponentName>);
3354    field public static final String DEVICE_CONFIG_AUTOFILL_SMART_SUGGESTION_SUPPORTED_MODES = "smart_suggestion_supported_modes";
3355    field public static final int FLAG_SMART_SUGGESTION_OFF = 0; // 0x0
3356    field public static final int FLAG_SMART_SUGGESTION_SYSTEM = 1; // 0x1
3357    field public static final int MAX_TEMP_AUGMENTED_SERVICE_DURATION_MS = 120000; // 0x1d4c0
3358  }
3359
3360}
3361
3362package android.view.contentcapture {
3363
3364  public final class ContentCaptureContext implements android.os.Parcelable {
3365    method @Nullable public android.content.ComponentName getActivityComponent();
3366    method public int getDisplayId();
3367    method public int getFlags();
3368    method @Nullable public android.view.contentcapture.ContentCaptureSessionId getParentSessionId();
3369    method public int getTaskId();
3370    field public static final int FLAG_DISABLED_BY_APP = 1; // 0x1
3371    field public static final int FLAG_DISABLED_BY_FLAG_SECURE = 2; // 0x2
3372    field public static final int FLAG_RECONNECTED = 4; // 0x4
3373  }
3374
3375  public final class ContentCaptureEvent implements android.os.Parcelable {
3376    method public int describeContents();
3377    method @Nullable public android.view.contentcapture.ContentCaptureContext getContentCaptureContext();
3378    method public long getEventTime();
3379    method @Nullable public android.view.autofill.AutofillId getId();
3380    method @Nullable public java.util.List<android.view.autofill.AutofillId> getIds();
3381    method @Nullable public CharSequence getText();
3382    method public int getType();
3383    method @Nullable public android.view.contentcapture.ViewNode getViewNode();
3384    method public void writeToParcel(android.os.Parcel, int);
3385    field @NonNull public static final android.os.Parcelable.Creator<android.view.contentcapture.ContentCaptureEvent> CREATOR;
3386    field public static final int TYPE_CONTEXT_UPDATED = 6; // 0x6
3387    field public static final int TYPE_SESSION_PAUSED = 8; // 0x8
3388    field public static final int TYPE_SESSION_RESUMED = 7; // 0x7
3389    field public static final int TYPE_VIEW_APPEARED = 1; // 0x1
3390    field public static final int TYPE_VIEW_DISAPPEARED = 2; // 0x2
3391    field public static final int TYPE_VIEW_TEXT_CHANGED = 3; // 0x3
3392    field public static final int TYPE_VIEW_TREE_APPEARED = 5; // 0x5
3393    field public static final int TYPE_VIEW_TREE_APPEARING = 4; // 0x4
3394  }
3395
3396  public final class ContentCaptureManager {
3397    method public boolean isContentCaptureFeatureEnabled();
3398    field public static final String DEVICE_CONFIG_PROPERTY_IDLE_FLUSH_FREQUENCY = "idle_flush_frequency";
3399    field public static final String DEVICE_CONFIG_PROPERTY_LOGGING_LEVEL = "logging_level";
3400    field public static final String DEVICE_CONFIG_PROPERTY_LOG_HISTORY_SIZE = "log_history_size";
3401    field public static final String DEVICE_CONFIG_PROPERTY_MAX_BUFFER_SIZE = "max_buffer_size";
3402    field public static final String DEVICE_CONFIG_PROPERTY_SERVICE_EXPLICITLY_ENABLED = "service_explicitly_enabled";
3403    field public static final String DEVICE_CONFIG_PROPERTY_TEXT_CHANGE_FLUSH_FREQUENCY = "text_change_flush_frequency";
3404    field public static final int LOGGING_LEVEL_DEBUG = 1; // 0x1
3405    field public static final int LOGGING_LEVEL_OFF = 0; // 0x0
3406    field public static final int LOGGING_LEVEL_VERBOSE = 2; // 0x2
3407  }
3408
3409  public final class ViewNode extends android.app.assist.AssistStructure.ViewNode {
3410    method @Nullable public android.view.autofill.AutofillId getParentAutofillId();
3411    method @Nullable public static android.view.contentcapture.ViewNode readFromParcel(@NonNull android.os.Parcel);
3412    method public static void writeToParcel(@NonNull android.os.Parcel, @Nullable android.view.contentcapture.ViewNode, int);
3413  }
3414
3415  public static final class ViewNode.ViewStructureImpl extends android.view.ViewStructure {
3416    ctor public ViewNode.ViewStructureImpl(@NonNull android.view.View);
3417    ctor public ViewNode.ViewStructureImpl(@NonNull android.view.autofill.AutofillId, long, int);
3418    method public int addChildCount(int);
3419    method public void asyncCommit();
3420    method public android.view.ViewStructure asyncNewChild(int);
3421    method public android.view.autofill.AutofillId getAutofillId();
3422    method public int getChildCount();
3423    method public android.os.Bundle getExtras();
3424    method public CharSequence getHint();
3425    method public android.view.contentcapture.ViewNode getNode();
3426    method public android.graphics.Rect getTempRect();
3427    method public CharSequence getText();
3428    method public int getTextSelectionEnd();
3429    method public int getTextSelectionStart();
3430    method public boolean hasExtras();
3431    method public android.view.ViewStructure newChild(int);
3432    method public android.view.ViewStructure.HtmlInfo.Builder newHtmlInfoBuilder(String);
3433    method public void setAccessibilityFocused(boolean);
3434    method public void setActivated(boolean);
3435    method public void setAlpha(float);
3436    method public void setAssistBlocked(boolean);
3437    method public void setAutofillHints(String[]);
3438    method public void setAutofillId(android.view.autofill.AutofillId);
3439    method public void setAutofillId(android.view.autofill.AutofillId, int);
3440    method public void setAutofillOptions(CharSequence[]);
3441    method public void setAutofillType(int);
3442    method public void setAutofillValue(android.view.autofill.AutofillValue);
3443    method public void setCheckable(boolean);
3444    method public void setChecked(boolean);
3445    method public void setChildCount(int);
3446    method public void setClassName(String);
3447    method public void setClickable(boolean);
3448    method public void setContentDescription(CharSequence);
3449    method public void setContextClickable(boolean);
3450    method public void setDataIsSensitive(boolean);
3451    method public void setDimens(int, int, int, int, int, int);
3452    method public void setElevation(float);
3453    method public void setEnabled(boolean);
3454    method public void setFocusable(boolean);
3455    method public void setFocused(boolean);
3456    method public void setHint(CharSequence);
3457    method public void setHtmlInfo(android.view.ViewStructure.HtmlInfo);
3458    method public void setId(int, String, String, String);
3459    method public void setInputType(int);
3460    method public void setLocaleList(android.os.LocaleList);
3461    method public void setLongClickable(boolean);
3462    method public void setOpaque(boolean);
3463    method public void setSelected(boolean);
3464    method public void setText(CharSequence);
3465    method public void setText(CharSequence, int, int);
3466    method public void setTextLines(int[], int[]);
3467    method public void setTextStyle(float, int, int, int);
3468    method public void setTransformation(android.graphics.Matrix);
3469    method public void setVisibility(int);
3470    method public void setWebDomain(String);
3471  }
3472
3473}
3474
3475package android.view.inputmethod {
3476
3477  public final class InputMethodManager {
3478    method public int getDisplayId();
3479    method public boolean isInputMethodPickerShown();
3480  }
3481
3482  public class InputMethodSystemProperty {
3483    ctor public InputMethodSystemProperty();
3484    field public static final boolean MULTI_CLIENT_IME_ENABLED;
3485  }
3486
3487}
3488
3489package android.view.inspector {
3490
3491  @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 {
3492    method public abstract int attributeId() default android.content.res.Resources.ID_NULL;
3493    method public abstract android.view.inspector.InspectableProperty.EnumEntry[] enumMapping() default {};
3494    method public abstract android.view.inspector.InspectableProperty.FlagEntry[] flagMapping() default {};
3495    method public abstract boolean hasAttributeId() default true;
3496    method public abstract String name() default "";
3497    method public abstract android.view.inspector.InspectableProperty.ValueType valueType() default android.view.inspector.InspectableProperty.ValueType.INFERRED;
3498  }
3499
3500  @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target({java.lang.annotation.ElementType.TYPE}) public static @interface InspectableProperty.EnumEntry {
3501    method public abstract String name();
3502    method public abstract int value();
3503  }
3504
3505  @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target({java.lang.annotation.ElementType.TYPE}) public static @interface InspectableProperty.FlagEntry {
3506    method public abstract int mask() default 0;
3507    method public abstract String name();
3508    method public abstract int target();
3509  }
3510
3511  public enum InspectableProperty.ValueType {
3512    enum_constant public static final android.view.inspector.InspectableProperty.ValueType COLOR;
3513    enum_constant public static final android.view.inspector.InspectableProperty.ValueType GRAVITY;
3514    enum_constant public static final android.view.inspector.InspectableProperty.ValueType INFERRED;
3515    enum_constant public static final android.view.inspector.InspectableProperty.ValueType INT_ENUM;
3516    enum_constant public static final android.view.inspector.InspectableProperty.ValueType INT_FLAG;
3517    enum_constant public static final android.view.inspector.InspectableProperty.ValueType NONE;
3518    enum_constant public static final android.view.inspector.InspectableProperty.ValueType RESOURCE_ID;
3519  }
3520
3521}
3522
3523package android.widget {
3524
3525  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 {
3526    method public final boolean shouldDrawSelector();
3527  }
3528
3529  public class CalendarView extends android.widget.FrameLayout {
3530    method public boolean getBoundsForDate(long, android.graphics.Rect);
3531  }
3532
3533  public class DatePicker extends android.widget.FrameLayout {
3534    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();
3535    field public static final int MODE_CALENDAR = 2; // 0x2
3536    field public static final int MODE_SPINNER = 1; // 0x1
3537  }
3538
3539  @UiThread public final class Magnifier {
3540    method @Nullable public android.graphics.Bitmap getContent();
3541    method public static android.graphics.PointF getMagnifierDefaultSize();
3542    method @Nullable public android.graphics.Bitmap getOriginalContent();
3543    method public void setOnOperationCompleteCallback(android.widget.Magnifier.Callback);
3544  }
3545
3546  public static interface Magnifier.Callback {
3547    method public void onOperationComplete();
3548  }
3549
3550  public class NumberPicker extends android.widget.LinearLayout {
3551    method public CharSequence getDisplayedValueForCurrentSelection();
3552  }
3553
3554  public class PopupMenu {
3555    method public android.widget.ListView getMenuListView();
3556  }
3557
3558  public class Spinner extends android.widget.AbsSpinner implements android.content.DialogInterface.OnClickListener {
3559    method public boolean isPopupShowing();
3560  }
3561
3562  @android.widget.RemoteViews.RemoteView public class TextClock extends android.widget.TextView {
3563    method public void disableClockTick();
3564  }
3565
3566  public class TimePicker extends android.widget.FrameLayout {
3567    method public android.view.View getAmView();
3568    method public android.view.View getHourView();
3569    method public android.view.View getMinuteView();
3570    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();
3571    method public android.view.View getPmView();
3572    field public static final int MODE_CLOCK = 2; // 0x2
3573    field public static final int MODE_SPINNER = 1; // 0x1
3574  }
3575
3576  public class Toolbar extends android.view.ViewGroup {
3577    method @Nullable public android.view.View getNavigationView();
3578  }
3579
3580}
3581
3582