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