// Signature format: 2.0 package android { public static final class Manifest.permission { field public static final String ACCESS_NOTIFICATIONS = "android.permission.ACCESS_NOTIFICATIONS"; field public static final String ACTIVITY_EMBEDDING = "android.permission.ACTIVITY_EMBEDDING"; field public static final String ADJUST_RUNTIME_PERMISSIONS_POLICY = "android.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY"; field public static final String APPROVE_INCIDENT_REPORTS = "android.permission.APPROVE_INCIDENT_REPORTS"; field public static final String BACKGROUND_CAMERA = "android.permission.BACKGROUND_CAMERA"; field public static final String BIND_CELL_BROADCAST_SERVICE = "android.permission.BIND_CELL_BROADCAST_SERVICE"; field public static final String BRIGHTNESS_SLIDER_USAGE = "android.permission.BRIGHTNESS_SLIDER_USAGE"; field public static final String BROADCAST_CLOSE_SYSTEM_DIALOGS = "android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS"; field public static final String CHANGE_APP_IDLE_STATE = "android.permission.CHANGE_APP_IDLE_STATE"; field public static final String CLEAR_APP_USER_DATA = "android.permission.CLEAR_APP_USER_DATA"; field public static final String CLEAR_FREEZE_PERIOD = "android.permission.CLEAR_FREEZE_PERIOD"; field public static final String CONFIGURE_DISPLAY_BRIGHTNESS = "android.permission.CONFIGURE_DISPLAY_BRIGHTNESS"; field public static final String CONTROL_DEVICE_LIGHTS = "android.permission.CONTROL_DEVICE_LIGHTS"; field public static final String CONTROL_DEVICE_STATE = "android.permission.CONTROL_DEVICE_STATE"; field public static final String DELETE_STAGED_HEALTH_CONNECT_REMOTE_DATA = "android.permission.DELETE_STAGED_HEALTH_CONNECT_REMOTE_DATA"; field public static final String FORCE_DEVICE_POLICY_MANAGER_LOGS = "android.permission.FORCE_DEVICE_POLICY_MANAGER_LOGS"; field public static final String FORCE_STOP_PACKAGES = "android.permission.FORCE_STOP_PACKAGES"; field public static final String GRANT_RUNTIME_PERMISSIONS = "android.permission.GRANT_RUNTIME_PERMISSIONS"; field public static final String INSTALL_TEST_ONLY_PACKAGE = "android.permission.INSTALL_TEST_ONLY_PACKAGE"; field public static final String KEEP_UNINSTALLED_PACKAGES = "android.permission.KEEP_UNINSTALLED_PACKAGES"; field public static final String MAKE_UID_VISIBLE = "android.permission.MAKE_UID_VISIBLE"; field @Deprecated public static final String MANAGE_ACTIVITY_STACKS = "android.permission.MANAGE_ACTIVITY_STACKS"; field public static final String MANAGE_ACTIVITY_TASKS = "android.permission.MANAGE_ACTIVITY_TASKS"; field public static final String MANAGE_APP_OPS_MODES = "android.permission.MANAGE_APP_OPS_MODES"; field public static final String MANAGE_CRATES = "android.permission.MANAGE_CRATES"; field public static final String MANAGE_NOTIFICATION_LISTENERS = "android.permission.MANAGE_NOTIFICATION_LISTENERS"; field public static final String MANAGE_ROLLBACKS = "android.permission.MANAGE_ROLLBACKS"; field public static final String MANAGE_TOAST_RATE_LIMITING = "android.permission.MANAGE_TOAST_RATE_LIMITING"; field public static final String MODIFY_HDR_CONVERSION_MODE = "android.permission.MODIFY_HDR_CONVERSION_MODE"; field public static final String MODIFY_REFRESH_RATE_SWITCHING_TYPE = "android.permission.MODIFY_REFRESH_RATE_SWITCHING_TYPE"; field public static final String MODIFY_USER_PREFERRED_DISPLAY_MODE = "android.permission.MODIFY_USER_PREFERRED_DISPLAY_MODE"; field public static final String NETWORK_SETTINGS = "android.permission.NETWORK_SETTINGS"; field public static final String NETWORK_STACK = "android.permission.NETWORK_STACK"; field public static final String OVERRIDE_DISPLAY_MODE_REQUESTS = "android.permission.OVERRIDE_DISPLAY_MODE_REQUESTS"; field public static final String QUERY_AUDIO_STATE = "android.permission.QUERY_AUDIO_STATE"; field public static final String READ_CELL_BROADCASTS = "android.permission.READ_CELL_BROADCASTS"; field public static final String READ_PRIVILEGED_PHONE_STATE = "android.permission.READ_PRIVILEGED_PHONE_STATE"; field public static final String READ_WRITE_SYNC_DISABLED_MODE_CONFIG = "android.permission.READ_WRITE_SYNC_DISABLED_MODE_CONFIG"; field public static final String RECORD_BACKGROUND_AUDIO = "android.permission.RECORD_BACKGROUND_AUDIO"; field public static final String RECORD_SENSITIVE_CONTENT = "android.permission.RECORD_SENSITIVE_CONTENT"; field public static final String REMAP_MODIFIER_KEYS = "android.permission.REMAP_MODIFIER_KEYS"; field public static final String REMOVE_TASKS = "android.permission.REMOVE_TASKS"; field public static final String REQUEST_UNIQUE_ID_ATTESTATION = "android.permission.REQUEST_UNIQUE_ID_ATTESTATION"; field public static final String RESET_APP_ERRORS = "android.permission.RESET_APP_ERRORS"; field public static final String REVOKE_POST_NOTIFICATIONS_WITHOUT_KILL = "android.permission.REVOKE_POST_NOTIFICATIONS_WITHOUT_KILL"; field public static final String SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS = "android.permission.SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS"; field public static final String SET_GAME_SERVICE = "android.permission.SET_GAME_SERVICE"; field public static final String SET_KEYBOARD_LAYOUT = "android.permission.SET_KEYBOARD_LAYOUT"; field public static final String START_ACTIVITIES_FROM_SDK_SANDBOX = "android.permission.START_ACTIVITIES_FROM_SDK_SANDBOX"; field public static final String SUSPEND_APPS = "android.permission.SUSPEND_APPS"; field public static final String TEST_BIOMETRIC = "android.permission.TEST_BIOMETRIC"; field public static final String TEST_INPUT_METHOD = "android.permission.TEST_INPUT_METHOD"; field public static final String TEST_MANAGE_ROLLBACKS = "android.permission.TEST_MANAGE_ROLLBACKS"; field public static final String UPGRADE_RUNTIME_PERMISSIONS = "android.permission.UPGRADE_RUNTIME_PERMISSIONS"; field public static final String WRITE_ALLOWLISTED_DEVICE_CONFIG = "android.permission.WRITE_ALLOWLISTED_DEVICE_CONFIG"; field public static final String WRITE_DEVICE_CONFIG = "android.permission.WRITE_DEVICE_CONFIG"; field @Deprecated public static final String WRITE_MEDIA_STORAGE = "android.permission.WRITE_MEDIA_STORAGE"; field public static final String WRITE_OBB = "android.permission.WRITE_OBB"; } public static final class Manifest.permission_group { field public static final String UNDEFINED = "android.permission-group.UNDEFINED"; } public static final class R.attr { field public static final int requestForegroundServiceExemption = 16844362; // 0x101064a } public static final class R.bool { field public static final int config_assistantOnTopOfDream = 17891333; // 0x1110005 field public static final int config_perDisplayFocusEnabled = 17891332; // 0x1110004 field public static final int config_preventImeStartupUnlessTextEditor = 17891335; // 0x1110007 field public static final int config_remoteInsetsControllerControlsSystemBars = 17891334; // 0x1110006 } public static final class R.string { field public static final int config_defaultAssistant = 17039393; // 0x1040021 field public static final int config_defaultDialer = 17039395; // 0x1040023 field public static final int config_systemAutomotiveCalendarSyncManager = 17039423; // 0x104003f field public static final int config_systemAutomotiveCluster = 17039400; // 0x1040028 field public static final int config_systemAutomotiveProjection = 17039401; // 0x1040029 field public static final int config_systemGallery = 17039399; // 0x1040027 } } package android.accessibilityservice { public final class AccessibilityGestureEvent implements android.os.Parcelable { ctor public AccessibilityGestureEvent(int, int); } public abstract class AccessibilityService extends android.app.Service { field public static final int ACCESSIBILITY_TAKE_SCREENSHOT_REQUEST_INTERVAL_TIMES_MS = 333; // 0x14d } public class AccessibilityServiceInfo implements android.os.Parcelable { method @NonNull public android.content.ComponentName getComponentName(); method public int getObservedMotionEventSources(); method public void setObservedMotionEventSources(int); } public interface BrailleDisplayController { method @RequiresPermission(android.Manifest.permission.MANAGE_ACCESSIBILITY) public static void setTestBrailleDisplayData(@NonNull android.accessibilityservice.AccessibilityService, @NonNull java.util.List); field public static final String TEST_BRAILLE_DISPLAY_BUS_BLUETOOTH = "BUS_BLUETOOTH"; field public static final String TEST_BRAILLE_DISPLAY_DESCRIPTOR = "DESCRIPTOR"; field public static final String TEST_BRAILLE_DISPLAY_HIDRAW_PATH = "HIDRAW_PATH"; field public static final String TEST_BRAILLE_DISPLAY_UNIQUE_ID = "UNIQUE_ID"; } } package android.animation { public abstract class Animator implements java.lang.Cloneable { method public static long getBackgroundPauseDelay(); method public static void setAnimatorPausingEnabled(boolean); method public static void setBackgroundPauseDelay(long); } public class ValueAnimator extends android.animation.Animator { method @MainThread public static void setDurationScale(@FloatRange(from=0) float); } } package android.app { @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 { method public final boolean addDumpable(@NonNull android.util.Dumpable); method public void dumpInternal(@NonNull String, @Nullable java.io.FileDescriptor, @NonNull java.io.PrintWriter, @Nullable String[]); method public void onMovedToDisplay(int, android.content.res.Configuration); field public static final String DUMP_ARG_DUMP_DUMPABLE = "--dump-dumpable"; field public static final String DUMP_ARG_LIST_DUMPABLES = "--list-dumpables"; } public class ActivityManager { method @RequiresPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER) public void addHomeVisibilityListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.HomeVisibilityListener); method public void alwaysShowUnsupportedCompileSdkWarning(android.content.ComponentName); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public int[] getDisplayIdsForStartingVisibleBackgroundUsers(); method public long getTotalRam(); method @NonNull @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int[] getUidFrozenState(@NonNull int[]); method @RequiresPermission(allOf={android.Manifest.permission.PACKAGE_USAGE_STATS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}, conditional=true) public int getUidProcessCapabilities(int); method @RequiresPermission(allOf={android.Manifest.permission.PACKAGE_USAGE_STATS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}, conditional=true) public int getUidProcessState(int); method public void holdLock(android.os.IBinder, int); method public static boolean isHighEndGfx(); method public void notifySystemPropertiesChanged(); method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void registerUidFrozenStateChangedCallback(@NonNull java.util.concurrent.Executor, @NonNull android.app.ActivityManager.UidFrozenStateChangedCallback); method @RequiresPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER) public void removeHomeVisibilityListener(@NonNull android.app.HomeVisibilityListener); method @RequiresPermission(android.Manifest.permission.RESET_APP_ERRORS) public void resetAppErrors(); method public static void resumeAppSwitches() throws android.os.RemoteException; method @RequiresPermission(android.Manifest.permission.CHANGE_CONFIGURATION) public void scheduleApplicationInfoChanged(java.util.List, int); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public void setStopUserOnSwitch(int); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public boolean startUserInBackgroundVisibleOnDisplay(int, int); method @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public boolean stopUser(int); method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void unregisterUidFrozenStateChangedCallback(@NonNull android.app.ActivityManager.UidFrozenStateChangedCallback); method @RequiresPermission(android.Manifest.permission.CHANGE_CONFIGURATION) public boolean updateMccMncConfiguration(@NonNull String, @NonNull String); method @RequiresPermission(android.Manifest.permission.DUMP) public void waitForBroadcastIdle(); field public static final long LOCK_DOWN_CLOSE_SYSTEM_DIALOGS = 174664365L; // 0xa692aadL field public static final int PROCESS_CAPABILITY_ALL_IMPLICIT = 6; // 0x6 field public static final int PROCESS_CAPABILITY_POWER_RESTRICTED_NETWORK = 8; // 0x8 field public static final int PROCESS_CAPABILITY_USER_RESTRICTED_NETWORK = 32; // 0x20 field public static final int PROCESS_STATE_BOUND_FOREGROUND_SERVICE = 5; // 0x5 field public static final int PROCESS_STATE_FOREGROUND_SERVICE = 4; // 0x4 field public static final int PROCESS_STATE_TOP = 2; // 0x2 field public static final int STOP_USER_ON_SWITCH_DEFAULT = -1; // 0xffffffff field public static final int STOP_USER_ON_SWITCH_FALSE = 0; // 0x0 field public static final int STOP_USER_ON_SWITCH_TRUE = 1; // 0x1 } public static class ActivityManager.RunningAppProcessInfo implements android.os.Parcelable { field public static final int IMPORTANCE_CANT_SAVE_STATE_PRE_26 = 170; // 0xaa } public static class ActivityManager.TaskDescription implements android.os.Parcelable { method public String getIconFilename(); method public int getIconResource(); method @Nullable public String getIconResourcePackage(); } public static interface ActivityManager.UidFrozenStateChangedCallback { method public void onUidFrozenStateChanged(@NonNull int[], @NonNull int[]); field public static final int UID_FROZEN_STATE_FROZEN = 1; // 0x1 field public static final int UID_FROZEN_STATE_UNFROZEN = 2; // 0x2 } public class ActivityOptions extends android.app.ComponentOptions { method public boolean isEligibleForLegacyPermissionPrompt(); method @NonNull public static android.app.ActivityOptions makeCustomAnimation(@NonNull android.content.Context, int, int, int, @Nullable android.os.Handler, @Nullable android.app.ActivityOptions.OnAnimationStartedListener, @Nullable android.app.ActivityOptions.OnAnimationFinishedListener); 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); method public void setEligibleForLegacyPermissionPrompt(boolean); method public static void setExitTransitionTimeout(long); method public void setLaunchActivityType(int); method public void setLaunchCookie(@NonNull android.app.ActivityOptions.LaunchCookie); method public void setLaunchTaskDisplayAreaFeatureId(int); method public void setLaunchWindowingMode(int); method public void setLaunchedFromBubble(boolean); method public void setTaskAlwaysOnTop(boolean); method public void setTaskOverlay(boolean, boolean); } public static final class ActivityOptions.LaunchCookie implements android.os.Parcelable { ctor public ActivityOptions.LaunchCookie(); method public int describeContents(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static interface ActivityOptions.OnAnimationFinishedListener { method public void onAnimationFinished(long); } public static interface ActivityOptions.OnAnimationStartedListener { method public void onAnimationStarted(long); } public class ActivityTaskManager { method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void clearLaunchParamsForPackages(java.util.List); method public static boolean currentUiModeSupportsErrorDialogs(@NonNull android.content.Context); method public static int getMaxNumPictureInPictureActions(@NonNull android.content.Context); method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void moveTaskToRootTask(int, int, boolean); method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void removeRootTasksInWindowingModes(@NonNull int[]); method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void removeRootTasksWithActivityTypes(@NonNull int[]); method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public boolean removeTask(int); method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void resizeTask(int, android.graphics.Rect); method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void startSystemLockTaskMode(int); method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void stopSystemLockTaskMode(); method public static boolean supportsMultiWindow(android.content.Context); method public static boolean supportsSplitScreenMultiWindow(android.content.Context); method @RequiresPermission("android.permission.UPDATE_LOCK_TASK_PACKAGES") public void updateLockTaskPackages(@NonNull android.content.Context, @NonNull String[]); field public static final int DEFAULT_MINIMAL_SPLIT_SCREEN_DISPLAY_SIZE_DP = 440; // 0x1b8 field public static final int INVALID_STACK_ID = -1; // 0xffffffff } public class AlarmManager { method public boolean hasScheduleExactAlarm(@NonNull String, int); } public class AppDetailsActivity extends android.app.Activity { ctor public AppDetailsActivity(); } public class AppOpsManager { method @RequiresPermission("android.permission.MANAGE_APPOPS") public void addHistoricalOps(@NonNull android.app.AppOpsManager.HistoricalOps); method @RequiresPermission("android.permission.MANAGE_APPOPS") public void clearHistory(); method public static void collectNotedOpSync(@NonNull android.app.SyncNotedAppOp); method @RequiresPermission("android.permission.MANAGE_APPOPS") public void getHistoricalOpsFromDiskRaw(@NonNull android.app.AppOpsManager.HistoricalOpsRequest, @Nullable java.util.concurrent.Executor, @NonNull java.util.function.Consumer); method public static int getNumOps(); method public boolean isOperationActive(int, int, String); method public int noteOpNoThrow(int, @NonNull android.content.AttributionSource, @Nullable String); method @RequiresPermission("android.permission.MANAGE_APPOPS") public void offsetHistory(long); method public static String opToPermission(int); method public static int permissionToOpCode(String); method @RequiresPermission("android.permission.MANAGE_APPOPS") public void rebootHistory(long); method @RequiresPermission("android.permission.MANAGE_APPOPS") public void reloadNonHistoricalState(); method @RequiresPermission("android.permission.MANAGE_APPOPS") public void resetHistoryParameters(); method @RequiresPermission("android.permission.MANAGE_APPOPS") public void resetPackageOpsNoHistory(@NonNull String); method @RequiresPermission("android.permission.MANAGE_APPOPS") public void setHistoryParameters(int, long, int); method @RequiresPermission(android.Manifest.permission.MANAGE_APP_OPS_MODES) public void setMode(int, int, String, int); method public static int strOpToOp(@NonNull String); method public int unsafeCheckOpRawNoThrow(@NonNull String, @NonNull android.content.AttributionSource); field public static final int ATTRIBUTION_CHAIN_ID_NONE = -1; // 0xffffffff field public static final int ATTRIBUTION_FLAGS_NONE = 0; // 0x0 field public static final int ATTRIBUTION_FLAG_ACCESSOR = 1; // 0x1 field public static final int ATTRIBUTION_FLAG_INTERMEDIARY = 2; // 0x2 field public static final int ATTRIBUTION_FLAG_RECEIVER = 4; // 0x4 field public static final int HISTORICAL_MODE_DISABLED = 0; // 0x0 field public static final int HISTORICAL_MODE_ENABLED_ACTIVE = 1; // 0x1 field public static final int HISTORICAL_MODE_ENABLED_PASSIVE = 2; // 0x2 field public static final int HISTORY_FLAGS_ALL = 3; // 0x3 field public static final int HISTORY_FLAG_AGGREGATE = 1; // 0x1 field public static final int HISTORY_FLAG_DISCRETE = 2; // 0x2 field public static final String KEY_BG_STATE_SETTLE_TIME = "bg_state_settle_time"; field public static final String KEY_FG_SERVICE_STATE_SETTLE_TIME = "fg_service_state_settle_time"; field public static final String KEY_TOP_STATE_SETTLE_TIME = "top_state_settle_time"; field public static final String OPSTR_ACTIVITY_RECOGNITION = "android:activity_recognition"; field public static final String OPSTR_ACTIVITY_RECOGNITION_SOURCE = "android:activity_recognition_source"; field public static final String OPSTR_MANAGE_ONGOING_CALLS = "android:manage_ongoing_calls"; field public static final String OPSTR_RECORD_AUDIO_HOTWORD = "android:record_audio_hotword"; field public static final String OPSTR_RESERVED_FOR_TESTING = "android:reserved_for_testing"; field public static final String OPSTR_USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER = "android:use_icc_auth_with_device_identifier"; field public static final int OP_COARSE_LOCATION = 0; // 0x0 field public static final int OP_RECORD_AUDIO = 27; // 0x1b field public static final int OP_START_FOREGROUND = 76; // 0x4c field public static final int OP_SYSTEM_ALERT_WINDOW = 24; // 0x18 field public static final long SECURITY_EXCEPTION_ON_INVALID_ATTRIBUTION_TAG_CHANGE = 151105954L; // 0x901b1a2L } public static final class AppOpsManager.HistoricalOps implements android.os.Parcelable { ctor public AppOpsManager.HistoricalOps(long, long); method public void addDiscreteAccess(int, int, @NonNull String, @Nullable String, int, int, long, long); method public void increaseAccessCount(int, int, @NonNull String, @Nullable String, int, int, long); method public void increaseAccessDuration(int, int, @NonNull String, @Nullable String, int, int, long); method public void increaseRejectCount(int, int, @NonNull String, @Nullable String, int, int, long); method public void offsetBeginAndEndTime(long); } public static interface AppOpsManager.OnOpActiveChangedListener { method public default void onOpActiveChanged(@NonNull String, int, @NonNull String, @Nullable String, boolean, int, int); } public class BroadcastOptions extends android.app.ComponentOptions { ctor public BroadcastOptions(); ctor public BroadcastOptions(@NonNull android.os.Bundle); method @Deprecated public int getMaxManifestReceiverApiLevel(); method public long getTemporaryAppAllowlistDuration(); method @Nullable public String getTemporaryAppAllowlistReason(); method public int getTemporaryAppAllowlistReasonCode(); method public int getTemporaryAppAllowlistType(); method @Deprecated public void setMaxManifestReceiverApiLevel(int); method public boolean testRequireCompatChange(int); field public static final long CHANGE_ALWAYS_DISABLED = 210856463L; // 0xc916a0fL field public static final long CHANGE_ALWAYS_ENABLED = 209888056L; // 0xc82a338L } public class ComponentOptions { } public class DownloadManager { field public static final String COLUMN_MEDIASTORE_URI = "mediastore_uri"; } public class DreamManager { method public boolean areDreamsSupported(); method @RequiresPermission(android.Manifest.permission.READ_DREAM_STATE) public boolean isDreaming(); method public boolean isScreensaverEnabled(); method @RequiresPermission(android.Manifest.permission.WRITE_DREAM_STATE) public void setActiveDream(@Nullable android.content.ComponentName); method @RequiresPermission(android.Manifest.permission.WRITE_DREAM_STATE) public void setDreamOverlay(@Nullable android.content.ComponentName); method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setScreensaverEnabled(boolean); method @RequiresPermission(android.Manifest.permission.WRITE_DREAM_STATE) public void setSystemDreamComponent(@Nullable android.content.ComponentName); method @RequiresPermission(android.Manifest.permission.WRITE_DREAM_STATE) public void startDream(); method @RequiresPermission(android.Manifest.permission.WRITE_DREAM_STATE) public void stopDream(); } public final class GameManager { method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_MODE) public int getGameMode(@NonNull String); method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_MODE) public boolean isAngleEnabled(@NonNull String); method public void setGameServiceProvider(@Nullable String); } public abstract class HomeVisibilityListener { ctor public HomeVisibilityListener(); method public abstract void onHomeVisibilityChanged(boolean); } public class KeyguardManager { method @RequiresPermission(anyOf={android.Manifest.permission.SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS, "android.permission.ACCESS_KEYGUARD_SECURE_STORAGE"}) public boolean checkLock(int, @Nullable byte[]); 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[]); } public class LocaleManager { method public void setSystemLocales(@NonNull android.os.LocaleList); } public class Notification implements android.os.Parcelable { method public boolean isUserInitiatedJob(); method public boolean shouldShowForegroundImmediately(); field public static final String EXTRA_MEDIA_REMOTE_DEVICE = "android.mediaRemoteDevice"; field public static final String EXTRA_MEDIA_REMOTE_ICON = "android.mediaRemoteIcon"; field public static final String EXTRA_MEDIA_REMOTE_INTENT = "android.mediaRemoteIntent"; field public static final int FLAG_USER_INITIATED_JOB = 32768; // 0x8000 } public final class NotificationChannel implements android.os.Parcelable { method public int getOriginalImportance(); method public boolean isImportanceLockedByCriticalDeviceFunction(); method public void lockFields(int); method public void setDeleted(boolean); method public void setDeletedTimeMs(long); method public void setDemoted(boolean); method public void setImportanceLockedByCriticalDeviceFunction(boolean); method public void setImportantConversation(boolean); method public void setOriginalImportance(int); method public void setUserVisibleTaskShown(boolean); } public final class NotificationChannelGroup implements android.os.Parcelable { method public int getUserLockedFields(); method public void lockFields(int); method public void setBlocked(boolean); } public class NotificationManager { method @NonNull public String addAutomaticZenRule(@NonNull android.app.AutomaticZenRule, boolean); method public void cleanUpCallersAfter(long); method @NonNull public android.service.notification.ZenPolicy getDefaultZenPolicy(); method public android.content.ComponentName getEffectsSuppressor(); method public boolean isNotificationPolicyAccessGrantedForPackage(@NonNull String); method public boolean removeAutomaticZenRule(@NonNull String, boolean); method @RequiresPermission(android.Manifest.permission.MANAGE_NOTIFICATION_LISTENERS) public void setNotificationListenerAccessGranted(@NonNull android.content.ComponentName, boolean, boolean); method @RequiresPermission(android.Manifest.permission.MANAGE_TOAST_RATE_LIMITING) public void setToastRateLimitingEnabled(boolean); method public boolean updateAutomaticZenRule(@NonNull String, @NonNull android.app.AutomaticZenRule, boolean); method public void updateNotificationChannel(@NonNull String, int, @NonNull android.app.NotificationChannel); } public static class NotificationManager.Policy implements android.os.Parcelable { method public boolean allowPriorityChannels(); } public final class PendingIntent implements android.os.Parcelable { method public boolean addCancelListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.PendingIntent.CancelListener); method @RequiresPermission("android.permission.GET_INTENT_SENDER_INTENT") public boolean intentFilterEquals(@Nullable android.app.PendingIntent); method @NonNull @RequiresPermission("android.permission.GET_INTENT_SENDER_INTENT") public java.util.List queryIntentComponents(int); method public void removeCancelListener(@NonNull android.app.PendingIntent.CancelListener); field @Deprecated public static final int FLAG_MUTABLE_UNAUDITED = 33554432; // 0x2000000 } public static interface PendingIntent.CancelListener { method public void onCanceled(@NonNull android.app.PendingIntent); } public final class PictureInPictureParams implements android.os.Parcelable { method public float getAspectRatioFloat(); method public float getExpandedAspectRatioFloat(); } public final class PictureInPictureUiState implements android.os.Parcelable { ctor public PictureInPictureUiState(boolean); } public class PropertyInvalidatedCache { ctor public PropertyInvalidatedCache(int, @NonNull String, @NonNull String, @NonNull String, @NonNull android.app.PropertyInvalidatedCache.QueryHandler); method @NonNull public static String createPropertyName(@NonNull String, @NonNull String); method public void disableForCurrentProcess(); method public static void disableForCurrentProcess(@NonNull String); method public static void disableForTestMode(); method public final void disableInstance(); method public final void disableSystemWide(); method public final void forgetDisableLocal(); method public boolean getDisabledState(); method public void invalidateCache(); method public static void invalidateCache(@NonNull String, @NonNull String); method public final boolean isDisabled(); method @Nullable public Result query(@NonNull Query); method public static void setTestMode(boolean); method public void testPropertyName(); field public static final String MODULE_BLUETOOTH = "bluetooth"; field public static final String MODULE_SYSTEM = "system_server"; field public static final String MODULE_TELEPHONY = "telephony"; field public static final String MODULE_TEST = "test"; } public abstract static class PropertyInvalidatedCache.QueryHandler { ctor public PropertyInvalidatedCache.QueryHandler(); method @Nullable public abstract R apply(@NonNull Q); method public boolean shouldBypassCache(@NonNull Q); } public class StatusBarManager { method public void cancelRequestAddTile(@NonNull String); method public void clickNotification(@Nullable String, int, int, boolean); method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void collapsePanels(); method public void expandNotificationsPanel(); method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public int getLastSystemKey(); method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void handleSystemKey(@NonNull android.view.KeyEvent); method public void sendNotificationFeedback(@Nullable String, @Nullable android.os.Bundle); method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setExpansionDisabledForSimNetworkLock(boolean); method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void togglePanel(); } public static final class StatusBarManager.DisableInfo { method public boolean isRotationSuggestionDisabled(); } public final class SyncNotedAppOp implements android.os.Parcelable { ctor public SyncNotedAppOp(int, @IntRange(from=0L) int, @Nullable String, @Nullable String); } public class TaskInfo { method public boolean containsLaunchCookie(@NonNull android.os.IBinder); method @NonNull public android.content.res.Configuration getConfiguration(); method public int getDisplayId(); method public int getParentTaskId(); method @Nullable public android.app.PictureInPictureParams getPictureInPictureParams(); method @NonNull public android.window.WindowContainerToken getToken(); method public boolean hasParentTask(); method public boolean shouldDockBigOverlays(); } public class TimePickerDialog extends android.app.AlertDialog implements android.content.DialogInterface.OnClickListener android.widget.TimePicker.OnTimeChangedListener { method public android.widget.TimePicker getTimePicker(); } public final class UiAutomation { method public void addOverridePermissionState(int, @NonNull String, int); method public void clearAllOverridePermissionStates(); method public void clearOverridePermissionStates(int); method public void destroy(); method @NonNull public java.util.Set getAdoptedShellPermissions(); method @Deprecated public boolean grantRuntimePermission(String, String, android.os.UserHandle); method public boolean injectInputEvent(@NonNull android.view.InputEvent, boolean, boolean); method public void injectInputEventToInputFilter(@NonNull android.view.InputEvent); method public boolean isNodeInCache(@NonNull android.view.accessibility.AccessibilityNodeInfo); method public void removeOverridePermissionState(int, @NonNull String); method @Deprecated public boolean revokeRuntimePermission(String, String, android.os.UserHandle); method public void syncInputTransactions(); method public void syncInputTransactions(boolean); field @NonNull public static final java.util.Set ALL_PERMISSIONS; field public static final int FLAG_NOT_ACCESSIBILITY_TOOL = 4; // 0x4 } public class UiModeManager { method @RequiresPermission(android.Manifest.permission.MODIFY_DAY_NIGHT_MODE) public int getAttentionModeThemeOverlay(); method public boolean isNightModeLocked(); method public boolean isUiModeLocked(); method @RequiresPermission(value=android.Manifest.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean releaseProjection(int); method @RequiresPermission(value=android.Manifest.permission.TOGGLE_AUTOMOTIVE_PROJECTION, conditional=true) public boolean requestProjection(int); field public static final int MODE_ATTENTION_THEME_OVERLAY_DAY = 1002; // 0x3ea field public static final int MODE_ATTENTION_THEME_OVERLAY_NIGHT = 1001; // 0x3e9 field public static final int MODE_ATTENTION_THEME_OVERLAY_OFF = 1000; // 0x3e8 field public static final int MODE_ATTENTION_THEME_OVERLAY_UNKNOWN = -1; // 0xffffffff field public static final int PROJECTION_TYPE_ALL = -1; // 0xffffffff field public static final int PROJECTION_TYPE_AUTOMOTIVE = 1; // 0x1 field public static final int PROJECTION_TYPE_NONE = 0; // 0x0 } public class WallpaperManager { method @Nullable public android.graphics.Bitmap getBitmap(); method @Nullable public android.graphics.Bitmap getBitmapAsUser(int, boolean, int); method public boolean isLockscreenLiveWallpaperEnabled(); method @Nullable public android.graphics.Rect peekBitmapDimensions(); method @Nullable public android.graphics.Rect peekBitmapDimensions(int); method public void setWallpaperZoomOut(@NonNull android.os.IBinder, float); method public boolean shouldEnableWideColorGamut(); method public boolean wallpaperSupportsWcg(int); } public class WindowConfiguration implements java.lang.Comparable android.os.Parcelable { ctor public WindowConfiguration(); method public int compareTo(android.app.WindowConfiguration); method public int describeContents(); method public int getActivityType(); method @Nullable public android.graphics.Rect getAppBounds(); method @NonNull public android.graphics.Rect getBounds(); method public int getDisplayRotation(); method @NonNull public android.graphics.Rect getMaxBounds(); method public int getRotation(); method public int getWindowingMode(); method public static boolean isFloating(int); method public void setActivityType(int); method public void setAppBounds(@Nullable android.graphics.Rect); method public void setBounds(@Nullable android.graphics.Rect); method public void setMaxBounds(@Nullable android.graphics.Rect); method public void setRotation(int); method public void setTo(android.app.WindowConfiguration); method public void setWindowingMode(int); method public void writeToParcel(android.os.Parcel, int); field public static final int ACTIVITY_TYPE_ASSISTANT = 4; // 0x4 field public static final int ACTIVITY_TYPE_DREAM = 5; // 0x5 field public static final int ACTIVITY_TYPE_HOME = 2; // 0x2 field public static final int ACTIVITY_TYPE_RECENTS = 3; // 0x3 field public static final int ACTIVITY_TYPE_STANDARD = 1; // 0x1 field public static final int ACTIVITY_TYPE_UNDEFINED = 0; // 0x0 field public static final int ROTATION_UNDEFINED = -1; // 0xffffffff field public static final int WINDOWING_MODE_FREEFORM = 5; // 0x5 field public static final int WINDOWING_MODE_FULLSCREEN = 1; // 0x1 field public static final int WINDOWING_MODE_MULTI_WINDOW = 6; // 0x6 field public static final int WINDOWING_MODE_PINNED = 2; // 0x2 field public static final int WINDOWING_MODE_UNDEFINED = 0; // 0x0 } } package android.app.admin { public final class AccountTypePolicyKey extends android.app.admin.PolicyKey { ctor public AccountTypePolicyKey(@NonNull String, @NonNull String); } public final class DeviceAdminAuthority extends android.app.admin.Authority { field @NonNull public static final android.app.admin.DeviceAdminAuthority DEVICE_ADMIN_AUTHORITY; } public final class DevicePolicyIdentifiers { field public static final String PERMITTED_INPUT_METHODS_POLICY = "permittedInputMethods"; field public static final String PERSONAL_APPS_SUSPENDED_POLICY = "personalAppsSuspended"; field public static final String SCREEN_CAPTURE_DISABLED_POLICY = "screenCaptureDisabled"; } public class DevicePolicyManager { method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public void acknowledgeNewUserDisclaimer(); method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public void calculateHasIncompatibleAccounts(); method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public void clearOrganizationId(); method @RequiresPermission(android.Manifest.permission.CLEAR_FREEZE_PERIOD) public void clearSystemUpdatePolicyFreezePeriodRecord(); method @RequiresPermission(android.Manifest.permission.FORCE_DEVICE_POLICY_MANAGER_LOGS) public long forceNetworkLogs(); method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public void forceRemoveActiveAdmin(@NonNull android.content.ComponentName, int); method @RequiresPermission(android.Manifest.permission.FORCE_DEVICE_POLICY_MANAGER_LOGS) public long forceSecurityLogs(); method @RequiresPermission("android.permission.MANAGE_DEVICE_POLICY_STORAGE_LIMIT") public void forceSetMaxPolicyStorageLimit(int); method public void forceUpdateUserSetupComplete(int); method @NonNull public java.util.Set getDefaultCrossProfilePackages(); method @Deprecated public int getDeviceOwnerType(@NonNull android.content.ComponentName); method @Nullable public String getDevicePolicyManagementRoleHolderUpdaterPackage(); method @NonNull public java.util.Set getDisallowedSystemApps(@NonNull android.content.ComponentName, int, @NonNull String); method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public int getHeadlessDeviceOwnerMode(); method public long getLastBugReportRequestTime(); method public long getLastNetworkLogRetrievalTime(); method public long getLastSecurityLogRetrievalTime(); method public java.util.List getOwnerInstalledCaCerts(@NonNull android.os.UserHandle); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_ADMINS) public java.util.Set getPolicyExemptApps(); method @RequiresPermission("android.permission.MANAGE_DEVICE_POLICY_STORAGE_LIMIT") public int getPolicySizeForAdmin(@NonNull android.app.admin.EnforcingAdmin); method public boolean isCurrentInputMethodSetByOwner(); method public boolean isFactoryResetProtectionPolicySupported(); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public boolean isNewUserDisclaimerAcknowledged(); method public boolean isRemovingAdmin(@NonNull android.content.ComponentName, int); method @NonNull public static String operationSafetyReasonToString(int); method @NonNull public static String operationToString(int); method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public void resetDefaultCrossProfileIntentFilters(int); method @RequiresPermission(android.Manifest.permission.MANAGE_ROLE_HOLDERS) public void resetShouldAllowBypassingDevicePolicyManagementRoleQualificationState(); method @RequiresPermission(allOf={android.Manifest.permission.MANAGE_DEVICE_ADMINS, android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public void setActiveAdmin(@NonNull android.content.ComponentName, boolean, int); method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public boolean setDeviceOwner(@NonNull android.content.ComponentName, int); method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public boolean setDeviceOwnerOnly(@NonNull android.content.ComponentName, int); method public void setDeviceOwnerType(@NonNull android.content.ComponentName, int); method @RequiresPermission(android.Manifest.permission.MANAGE_DEVICE_ADMINS) public void setNextOperationSafety(int, int); method @RequiresPermission(anyOf={android.Manifest.permission.MARK_DEVICE_ORGANIZATION_OWNED, android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS}, conditional=true) public void setProfileOwnerOnOrganizationOwnedDevice(@NonNull android.content.ComponentName, boolean); method @RequiresPermission(android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public boolean triggerDevicePolicyEngineMigration(boolean); field public static final String ACTION_DATA_SHARING_RESTRICTION_APPLIED = "android.app.action.DATA_SHARING_RESTRICTION_APPLIED"; field public static final String ACTION_DEVICE_POLICY_CONSTANTS_CHANGED = "android.app.action.DEVICE_POLICY_CONSTANTS_CHANGED"; field public static final int DEVICE_OWNER_TYPE_DEFAULT = 0; // 0x0 field public static final int DEVICE_OWNER_TYPE_FINANCED = 1; // 0x1 field public static final int OPERATION_CLEAR_APPLICATION_USER_DATA = 23; // 0x17 field public static final int OPERATION_CREATE_AND_MANAGE_USER = 5; // 0x5 field public static final int OPERATION_INSTALL_CA_CERT = 24; // 0x18 field public static final int OPERATION_INSTALL_KEY_PAIR = 25; // 0x19 field public static final int OPERATION_INSTALL_SYSTEM_UPDATE = 26; // 0x1a field public static final int OPERATION_LOCK_NOW = 1; // 0x1 field public static final int OPERATION_LOGOUT_USER = 9; // 0x9 field public static final int OPERATION_REBOOT = 7; // 0x7 field public static final int OPERATION_REMOVE_ACTIVE_ADMIN = 27; // 0x1b field public static final int OPERATION_REMOVE_KEY_PAIR = 28; // 0x1c field public static final int OPERATION_REMOVE_USER = 6; // 0x6 field public static final int OPERATION_REQUEST_BUGREPORT = 29; // 0x1d field public static final int OPERATION_SAFETY_REASON_NONE = -1; // 0xffffffff field public static final int OPERATION_SET_ALWAYS_ON_VPN_PACKAGE = 30; // 0x1e field public static final int OPERATION_SET_APPLICATION_HIDDEN = 15; // 0xf field public static final int OPERATION_SET_APPLICATION_RESTRICTIONS = 16; // 0x10 field public static final int OPERATION_SET_CAMERA_DISABLED = 31; // 0x1f field public static final int OPERATION_SET_CONTENT_PROTECTION_POLICY = 41; // 0x29 field public static final int OPERATION_SET_FACTORY_RESET_PROTECTION_POLICY = 32; // 0x20 field public static final int OPERATION_SET_GLOBAL_PRIVATE_DNS = 33; // 0x21 field public static final int OPERATION_SET_KEEP_UNINSTALLED_PACKAGES = 17; // 0x11 field public static final int OPERATION_SET_KEYGUARD_DISABLED = 12; // 0xc field public static final int OPERATION_SET_LOCK_TASK_FEATURES = 18; // 0x12 field public static final int OPERATION_SET_LOCK_TASK_PACKAGES = 19; // 0x13 field public static final int OPERATION_SET_LOGOUT_ENABLED = 34; // 0x22 field public static final int OPERATION_SET_MASTER_VOLUME_MUTED = 35; // 0x23 field public static final int OPERATION_SET_OVERRIDE_APNS_ENABLED = 36; // 0x24 field public static final int OPERATION_SET_PACKAGES_SUSPENDED = 20; // 0x14 field public static final int OPERATION_SET_PERMISSION_GRANT_STATE = 37; // 0x25 field public static final int OPERATION_SET_PERMISSION_POLICY = 38; // 0x26 field public static final int OPERATION_SET_RESTRICTIONS_PROVIDER = 39; // 0x27 field public static final int OPERATION_SET_STATUS_BAR_DISABLED = 13; // 0xd field public static final int OPERATION_SET_SYSTEM_SETTING = 11; // 0xb field public static final int OPERATION_SET_SYSTEM_UPDATE_POLICY = 14; // 0xe field public static final int OPERATION_SET_TRUST_AGENT_CONFIGURATION = 21; // 0x15 field public static final int OPERATION_SET_USER_CONTROL_DISABLED_PACKAGES = 22; // 0x16 field public static final int OPERATION_SET_USER_RESTRICTION = 10; // 0xa field public static final int OPERATION_START_USER_IN_BACKGROUND = 3; // 0x3 field public static final int OPERATION_STOP_USER = 4; // 0x4 field public static final int OPERATION_SWITCH_USER = 2; // 0x2 field public static final int OPERATION_UNINSTALL_CA_CERT = 40; // 0x28 field public static final int OPERATION_WIPE_DATA = 8; // 0x8 field @Deprecated public static final int STATUS_SPLIT_SYSTEM_USER_DEVICE_SYSTEM_USER = 14; // 0xe } public final class DpcAuthority extends android.app.admin.Authority { field @NonNull public static final android.app.admin.DpcAuthority DPC_AUTHORITY; } public final class EnforcingAdmin implements android.os.Parcelable { ctor public EnforcingAdmin(@NonNull String, @NonNull android.app.admin.Authority, @NonNull android.os.UserHandle, @Nullable android.content.ComponentName); } public final class FlagUnion extends android.app.admin.ResolutionMechanism { method public int describeContents(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field @NonNull public static final android.app.admin.FlagUnion FLAG_UNION; } public final class IntentFilterPolicyKey extends android.app.admin.PolicyKey { ctor public IntentFilterPolicyKey(@NonNull String, @NonNull android.content.IntentFilter); } public final class MostRecent extends android.app.admin.ResolutionMechanism { ctor public MostRecent(); method public int describeContents(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator> CREATOR; field @NonNull public static final android.app.admin.MostRecent MOST_RECENT; } public final class MostRestrictive extends android.app.admin.ResolutionMechanism { method public int describeContents(); method @NonNull public java.util.List getMostToLeastRestrictiveValues(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator> CREATOR; } public final class PackagePermissionPolicyKey extends android.app.admin.PolicyKey { ctor public PackagePermissionPolicyKey(@NonNull String, @NonNull String, @NonNull String); } public final class PackagePolicyKey extends android.app.admin.PolicyKey { ctor public PackagePolicyKey(@NonNull String, @NonNull String); } public final class PolicyState implements android.os.Parcelable { method @NonNull public android.app.admin.ResolutionMechanism getResolutionMechanism(); } public abstract class PolicyUpdateReceiver extends android.content.BroadcastReceiver { field public static final String EXTRA_POLICY_BUNDLE_KEY = "android.app.admin.extra.POLICY_BUNDLE_KEY"; field public static final String EXTRA_POLICY_KEY = "android.app.admin.extra.POLICY_KEY"; field public static final String EXTRA_POLICY_TARGET_USER_ID = "android.app.admin.extra.POLICY_TARGET_USER_ID"; field public static final String EXTRA_POLICY_UPDATE_RESULT_KEY = "android.app.admin.extra.POLICY_UPDATE_RESULT_KEY"; } public abstract class ResolutionMechanism implements android.os.Parcelable { } public static final class SecurityLog.SecurityEvent implements android.os.Parcelable { ctor public SecurityLog.SecurityEvent(long, byte[]); } public final class StringSetUnion extends android.app.admin.ResolutionMechanism> { ctor public StringSetUnion(); method public int describeContents(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field @NonNull public static final android.app.admin.StringSetUnion STRING_SET_UNION; } public final class TargetUser { field public static final int GLOBAL_USER_ID = -3; // 0xfffffffd field public static final int LOCAL_USER_ID = -1; // 0xffffffff field public static final int PARENT_USER_ID = -2; // 0xfffffffe field public static final int UNKNOWN_USER_ID = -3; // 0xfffffffd } public final class TopPriority extends android.app.admin.ResolutionMechanism { method public int describeContents(); method @NonNull public java.util.List getHighestToLowestPriorityAuthorities(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator> CREATOR; } public final class UnknownAuthority extends android.app.admin.Authority { field @NonNull public static final android.app.admin.UnknownAuthority UNKNOWN_AUTHORITY; } public final class UnsafeStateException extends java.lang.IllegalStateException implements android.os.Parcelable { ctor public UnsafeStateException(int, int); method public int getOperation(); } public final class UserRestrictionPolicyKey extends android.app.admin.PolicyKey { ctor public UserRestrictionPolicyKey(@NonNull String, @NonNull String); } } package android.app.assist { public final class ActivityId implements android.os.Parcelable { ctor public ActivityId(int, @Nullable android.os.IBinder); method public int describeContents(); method public int getTaskId(); method @Nullable public android.os.IBinder getToken(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.app.blob { public class BlobStoreManager { method @Nullable public android.app.blob.LeaseInfo getLeaseInfo(@NonNull android.app.blob.BlobHandle) throws java.io.IOException; method public void waitForIdle(long) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException; } public final class LeaseInfo implements android.os.Parcelable { ctor public LeaseInfo(@NonNull String, long, @IdRes int, @Nullable CharSequence); method public int describeContents(); method @Nullable public CharSequence getDescription(); method @IdRes public int getDescriptionResId(); method public long getExpiryTimeMillis(); method @NonNull public String getPackageName(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.app.cloudsearch { public static final class SearchRequest.Builder { method @NonNull public android.app.cloudsearch.SearchRequest.Builder setCallerPackageName(@NonNull String); } } package android.app.contentsuggestions { public final class ContentSuggestionsManager { method @RequiresPermission(android.Manifest.permission.MANAGE_CONTENT_SUGGESTIONS) public void resetTemporaryService(int); method @RequiresPermission(android.Manifest.permission.MANAGE_CONTENT_SUGGESTIONS) public void setDefaultServiceEnabled(int, boolean); method @RequiresPermission(android.Manifest.permission.MANAGE_CONTENT_SUGGESTIONS) public void setTemporaryService(int, @NonNull String, int); } } package android.app.contextualsearch { public final class CallbackToken implements android.os.Parcelable { method @NonNull public android.os.IBinder getToken(); } } package android.app.job { public class JobParameters implements android.os.Parcelable { field public static final int INTERNAL_STOP_REASON_USER_UI_STOP = 11; // 0xb } } package android.app.pinner { public final class PinnedFileStat implements android.os.Parcelable { ctor public PinnedFileStat(@NonNull String, long, @NonNull String); method public int describeContents(); method public long getBytesPinned(); method @NonNull public String getFilename(); method @NonNull public String getGroupName(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class PinnerServiceClient { ctor public PinnerServiceClient(); method @NonNull public java.util.List getPinnerStats(); } } package android.app.prediction { public final class AppPredictor { method public android.app.prediction.AppPredictionSessionId getSessionId(); } } package android.app.usage { public class StorageStatsManager { method public boolean isQuotaSupported(@NonNull java.util.UUID); method public boolean isReservedSupported(@NonNull java.util.UUID); method @NonNull @WorkerThread public java.util.Collection queryCratesForPackage(@NonNull java.util.UUID, @NonNull String, @NonNull android.os.UserHandle) throws java.io.IOException, android.content.pm.PackageManager.NameNotFoundException; method @NonNull @WorkerThread public java.util.Collection queryCratesForUid(@NonNull java.util.UUID, int) throws java.io.IOException, android.content.pm.PackageManager.NameNotFoundException; method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_CRATES) @WorkerThread public java.util.Collection queryCratesForUser(@NonNull java.util.UUID, @NonNull android.os.UserHandle) throws java.io.IOException, android.content.pm.PackageManager.NameNotFoundException; } public final class UsageStats implements android.os.Parcelable { ctor public UsageStats(); } public static final class UsageStats.Builder { ctor public UsageStats.Builder(); method @NonNull public android.app.usage.UsageStats build(); method @NonNull public android.app.usage.UsageStats.Builder setFirstTimeStamp(long); method @NonNull public android.app.usage.UsageStats.Builder setLastTimeStamp(long); method @NonNull public android.app.usage.UsageStats.Builder setLastTimeUsed(long); method @NonNull public android.app.usage.UsageStats.Builder setPackageName(@Nullable String); method @NonNull public android.app.usage.UsageStats.Builder setTotalTimeInForeground(long); } public final class UsageStatsManager { method public void forceUsageSourceSettingRead(); method public boolean isAppStandbyEnabled(); } } package android.appwidget { public class AppWidgetManager { method public void setBindAppWidgetPermission(@NonNull String, int, boolean); } } package android.companion { public static final class AssociationInfo.Builder { ctor public AssociationInfo.Builder(int, int, @NonNull String); ctor public AssociationInfo.Builder(@NonNull android.companion.AssociationInfo); method @NonNull public android.companion.AssociationInfo build(); method @NonNull public android.companion.AssociationInfo.Builder setAssociatedDevice(@Nullable android.companion.AssociatedDevice); method @NonNull public android.companion.AssociationInfo.Builder setDeviceMacAddress(@Nullable android.net.MacAddress); method @NonNull public android.companion.AssociationInfo.Builder setDeviceProfile(@Nullable String); method @NonNull public android.companion.AssociationInfo.Builder setDisplayName(@Nullable CharSequence); method @NonNull public android.companion.AssociationInfo.Builder setLastTimeConnected(long); method @NonNull public android.companion.AssociationInfo.Builder setNotifyOnDeviceNearby(boolean); method @NonNull public android.companion.AssociationInfo.Builder setRevoked(boolean); method @NonNull public android.companion.AssociationInfo.Builder setSelfManaged(boolean); method @NonNull public android.companion.AssociationInfo.Builder setSystemDataSyncFlags(int); method @NonNull public android.companion.AssociationInfo.Builder setTimeApproved(long); } public final class CompanionDeviceManager { method @RequiresPermission("android.permission.MANAGE_COMPANION_DEVICES") public void enableSecureTransport(boolean); } public abstract class CompanionDeviceService extends android.app.Service { method public void onBindCompanionDeviceService(@NonNull android.content.Intent); } } package android.companion.virtual { public final class VirtualDeviceManager { method public int getAudioPlaybackSessionId(int); method public int getAudioRecordingSessionId(int); method public int getDeviceIdForDisplayId(int); method public int getDevicePolicy(int, int); method public boolean isVirtualDeviceOwnedMirrorDisplay(int); method public void playSoundEffect(int, int); } } package android.companion.virtual.camera { public final class VirtualCamera implements java.io.Closeable { method @NonNull public String getId(); } } package android.companion.virtual.sensor { public final class VirtualSensor implements android.os.Parcelable { ctor public VirtualSensor(int, int, @NonNull String); method public int getHandle(); } public final class VirtualSensorConfig implements android.os.Parcelable { method public int getFlags(); } } package android.content { public final class AttributionSource implements android.os.Parcelable { ctor public AttributionSource(int, @Nullable String, @Nullable String); ctor public AttributionSource(int, @Nullable String, @Nullable String, @NonNull android.os.IBinder); ctor public AttributionSource(int, @Nullable String, @Nullable String, @Nullable java.util.Set, @Nullable android.content.AttributionSource); ctor public AttributionSource(int, int, @Nullable String, @Nullable String, @NonNull android.os.IBinder, @Nullable String[], int, @Nullable android.content.AttributionSource); method public void enforceCallingPid(); } public final class AutofillOptions implements android.os.Parcelable { ctor public AutofillOptions(int, boolean); method public int describeContents(); method public static android.content.AutofillOptions forWhitelistingItself(); method public boolean isAugmentedAutofillEnabled(@NonNull android.content.Context); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public long appDisabledExpiration; field public boolean augmentedAutofillEnabled; field public final boolean compatModeEnabled; field @Nullable public android.util.ArrayMap disabledActivities; field public final int loggingLevel; field @Nullable public android.util.ArraySet whitelistedActivitiesForAugmentedAutofill; } public class ClipboardManager extends android.text.ClipboardManager { method @Nullable @RequiresPermission(android.Manifest.permission.SET_CLIP_SOURCE) public String getPrimaryClipSource(); } public final class ContentCaptureOptions implements android.os.Parcelable { ctor public ContentCaptureOptions(int); ctor public ContentCaptureOptions(int, int, int, int, int, @Nullable android.util.ArraySet); method public int describeContents(); method public static android.content.ContentCaptureOptions forWhitelistingItself(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public final int idleFlushingFrequencyMs; field public final boolean lite; field public final int logHistorySize; field public final int loggingLevel; field public final int maxBufferSize; field public final int textChangeFlushingFrequencyMs; field @Nullable public final android.util.ArraySet whitelistedComponents; } public abstract class ContentProvider implements android.content.ComponentCallbacks2 { method @NonNull public static android.os.UserHandle getUserHandleFromUri(@NonNull android.net.Uri); } public abstract class ContentResolver { method public static String[] getSyncAdapterPackagesForAuthorityAsUser(String, int); } public abstract class Context { method @NonNull public java.io.File getCrateDir(@NonNull String); method public abstract int getDisplayId(); method @NonNull public android.os.UserHandle getUser(); method public int getUserId(); method public void setAutofillOptions(@Nullable android.content.AutofillOptions); method public void setContentCaptureOptions(@Nullable android.content.ContentCaptureOptions); method public void updateDeviceId(int); method public abstract void updateDisplay(int); field public static final String ATTENTION_SERVICE = "attention"; field public static final String CONTENT_CAPTURE_MANAGER_SERVICE = "content_capture"; field public static final String DEVICE_IDLE_CONTROLLER = "deviceidle"; field public static final String DREAM_SERVICE = "dream"; field public static final String FONT_SERVICE = "font"; field public static final String POWER_EXEMPTION_SERVICE = "power_exemption"; field @Deprecated public static final String POWER_WHITELIST_MANAGER = "power_whitelist"; field @Deprecated public static final int RECEIVER_EXPORTED_UNAUDITED = 2; // 0x2 field public static final String TEST_NETWORK_SERVICE = "test_network"; } public class ContextWrapper extends android.content.Context { method public int getDisplayId(); method public void updateDisplay(int); } public class Intent implements java.lang.Cloneable android.os.Parcelable { method @NonNull public android.content.Intent addExtendedFlags(int); method public int getExtendedFlags(); field public static final String ACTION_USER_STOPPED = "android.intent.action.USER_STOPPED"; field public static final int EXTENDED_FLAG_FILTER_MISMATCH = 1; // 0x1 } public class SyncAdapterType implements android.os.Parcelable { method @Nullable public String getPackageName(); } } package android.content.integrity { public class AppIntegrityManager { method @NonNull public android.content.integrity.RuleSet getCurrentRuleSet(); method @NonNull public java.util.List getWhitelistedRuleProviders(); } } package android.content.pm { public class ActivityInfo extends android.content.pm.ComponentInfo implements android.os.Parcelable { method public static boolean isTranslucentOrFloating(android.content.res.TypedArray); field public static final long ALWAYS_SANDBOX_DISPLAY_APIS = 185004937L; // 0xb06f389L field public static final long FORCE_NON_RESIZE_APP = 181136395L; // 0xacbec0bL field public static final long FORCE_RESIZE_APP = 174042936L; // 0xa5faf38L field public static final long NEVER_SANDBOX_DISPLAY_APIS = 184838306L; // 0xb0468a2L field public static final long OVERRIDE_CAMERA_COMPAT_DISABLE_FORCE_ROTATION = 263959004L; // 0xfbbb1dcL field public static final long OVERRIDE_CAMERA_COMPAT_DISABLE_REFRESH = 264304459L; // 0xfc0f74bL field public static final long OVERRIDE_CAMERA_COMPAT_ENABLE_REFRESH_VIA_PAUSE = 264301586L; // 0xfc0ec12L field public static final long OVERRIDE_ENABLE_COMPAT_FAKE_FOCUS = 263259275L; // 0xfb1048bL field public static final long OVERRIDE_ENABLE_COMPAT_IGNORE_ORIENTATION_REQUEST_WHEN_LOOP_DETECTED = 273509367L; // 0x104d6bf7L field public static final long OVERRIDE_ENABLE_COMPAT_IGNORE_REQUESTED_ORIENTATION = 254631730L; // 0xf2d5f32L field public static final long OVERRIDE_LANDSCAPE_ORIENTATION_TO_REVERSE_LANDSCAPE = 266124927L; // 0xfdcbe7fL field public static final long OVERRIDE_MIN_ASPECT_RATIO = 174042980L; // 0xa5faf64L field public static final long OVERRIDE_MIN_ASPECT_RATIO_EXCLUDE_PORTRAIT_FULLSCREEN = 218959984L; // 0xd0d1070L field public static final long OVERRIDE_MIN_ASPECT_RATIO_LARGE = 180326787L; // 0xabf9183L field public static final float OVERRIDE_MIN_ASPECT_RATIO_LARGE_VALUE = 1.7777778f; field public static final long OVERRIDE_MIN_ASPECT_RATIO_MEDIUM = 180326845L; // 0xabf91bdL field public static final float OVERRIDE_MIN_ASPECT_RATIO_MEDIUM_VALUE = 1.5f; field public static final long OVERRIDE_MIN_ASPECT_RATIO_PORTRAIT_ONLY = 203647190L; // 0xc2368d6L field public static final long OVERRIDE_MIN_ASPECT_RATIO_TO_ALIGN_WITH_SPLIT_SCREEN = 208648326L; // 0xc6fb886L field public static final long OVERRIDE_SANDBOX_VIEW_BOUNDS_APIS = 237531167L; // 0xe28701fL field public static final long OVERRIDE_UNDEFINED_ORIENTATION_TO_NOSENSOR = 265451093L; // 0xfd27655L field public static final long OVERRIDE_UNDEFINED_ORIENTATION_TO_PORTRAIT = 265452344L; // 0xfd27b38L field public static final long OVERRIDE_USE_DISPLAY_LANDSCAPE_NATURAL_ORIENTATION = 255940284L; // 0xf4156bcL field public static final int RESIZE_MODE_RESIZEABLE = 2; // 0x2 } public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { method public boolean hasRequestForegroundServiceExemption(); method public boolean isOnBackInvokedCallbackEnabled(); method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public boolean isPrivilegedApp(); method public boolean isSystemApp(); method public void setEnableOnBackInvokedCallback(boolean); field public static final int PRIVATE_FLAG_PRIVILEGED = 8; // 0x8 field public int privateFlags; } public class CrossProfileApps { method public boolean canConfigureInteractAcrossProfiles(@NonNull String); } public class LauncherApps { ctor public LauncherApps(android.content.Context); } public static class PackageInstaller.SessionParams implements android.os.Parcelable { method public void setInstallFlagAllowTest(); } public abstract class PackageManager { method public abstract void addCrossProfileIntentFilter(@NonNull android.content.IntentFilter, int, int, int); method public abstract void clearCrossProfileIntentFilters(int); method @Deprecated @Nullable public final String getContentCaptureServicePackageName(); method @Nullable public String getDefaultTextClassifierPackageName(); method @RequiresPermission(android.Manifest.permission.INJECT_EVENTS) public android.os.IBinder getHoldLockToken(); method public abstract int getInstallReason(@NonNull String, @NonNull android.os.UserHandle); method @NonNull public abstract java.util.List getInstalledApplicationsAsUser(int, int); method @NonNull public java.util.List getInstalledApplicationsAsUser(@NonNull android.content.pm.PackageManager.ApplicationInfoFlags, int); method @Nullable public abstract String[] getNamesForUids(int[]); method @NonNull public String getPermissionControllerPackageName(); method @NonNull public String getSdkSandboxPackageName(); method @NonNull public abstract String getServicesSystemSharedLibraryPackageName(); method @NonNull public abstract String getSharedSystemSharedLibraryPackageName(); method @Nullable public String getSystemTextClassifierPackageName(); method @Nullable public String getWellbeingPackageName(); method public void holdLock(android.os.IBinder, int); method @RequiresPermission(android.Manifest.permission.MAKE_UID_VISIBLE) public void makeUidVisible(int, int); method @RequiresPermission(android.Manifest.permission.KEEP_UNINSTALLED_PACKAGES) public void setKeepUninstalledPackages(@NonNull java.util.List); field public static final String FEATURE_ADOPTABLE_STORAGE = "android.software.adoptable_storage"; field public static final String FEATURE_COMMUNAL_MODE = "android.software.communal_mode"; field public static final String FEATURE_FILE_BASED_ENCRYPTION = "android.software.file_based_encryption"; field public static final String FEATURE_HDMI_CEC = "android.hardware.hdmi.cec"; field public static final int FLAG_PERMISSION_REVOKE_WHEN_REQUESTED = 128; // 0x80 field public static final int MATCH_KNOWN_PACKAGES = 4202496; // 0x402000 field public static final String SYSTEM_SHARED_LIBRARY_SERVICES = "android.ext.services"; field public static final String SYSTEM_SHARED_LIBRARY_SHARED = "android.ext.shared"; } public final class ProviderInfoList implements android.os.Parcelable { method public int describeContents(); method @NonNull public static android.content.pm.ProviderInfoList fromList(@NonNull java.util.List); method @NonNull public java.util.List getList(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class SharedLibraryInfo implements android.os.Parcelable { method @NonNull public java.util.List getAllCodePaths(); method public boolean isNative(); } public final class ShortcutInfo implements android.os.Parcelable { method public boolean isVisibleToPublisher(); } public class ShortcutManager { ctor public ShortcutManager(android.content.Context); } public class UserInfo implements android.os.Parcelable { ctor public UserInfo(int, String, int); ctor public UserInfo(int, String, String, int); ctor public UserInfo(int, String, String, int, String); ctor @Deprecated public UserInfo(); ctor public UserInfo(android.content.pm.UserInfo); method public boolean canHaveProfile(); method public int describeContents(); method public android.os.UserHandle getUserHandle(); method public boolean isAdmin(); method public boolean isCloneProfile(); method public boolean isDemo(); method public boolean isEnabled(); method public boolean isEphemeral(); method public boolean isForTesting(); method public boolean isFull(); method public boolean isGuest(); method public boolean isInitialized(); method public boolean isMain(); method public boolean isManagedProfile(); method @Deprecated public boolean isPrimary(); method public boolean isPrivateProfile(); method public boolean isProfile(); method public boolean isQuietModeEnabled(); method public boolean isRestricted(); method public boolean supportsSwitchTo(); method @Deprecated public boolean supportsSwitchToByUser(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int FLAG_ADMIN = 2; // 0x2 field @Deprecated public static final int FLAG_DEMO = 512; // 0x200 field public static final int FLAG_DISABLED = 64; // 0x40 field public static final int FLAG_EPHEMERAL = 256; // 0x100 field public static final int FLAG_FULL = 1024; // 0x400 field @Deprecated public static final int FLAG_GUEST = 4; // 0x4 field public static final int FLAG_INITIALIZED = 16; // 0x10 field public static final int FLAG_MAIN = 16384; // 0x4000 field @Deprecated public static final int FLAG_MANAGED_PROFILE = 32; // 0x20 field @Deprecated public static final int FLAG_PRIMARY = 1; // 0x1 field public static final int FLAG_PROFILE = 4096; // 0x1000 field public static final int FLAG_QUIET_MODE = 128; // 0x80 field @Deprecated public static final int FLAG_RESTRICTED = 8; // 0x8 field public static final int FLAG_SYSTEM = 2048; // 0x800 field public static final int NO_PROFILE_GROUP_ID = -10000; // 0xffffd8f0 field public boolean convertedFromPreCreated; field public long creationTime; field public int flags; field public boolean guestToRemove; field public String iconPath; field public int id; field public String lastLoggedInFingerprint; field public long lastLoggedInTime; field @Nullable public String name; field public boolean partial; field public boolean preCreated; field public int profileBadge; field public int profileGroupId; field public int restrictedProfileParentId; field public int serialNumber; field public String userType; } public final class UserProperties implements android.os.Parcelable { method public int getShowInLauncher(); field public static final int SHOW_IN_LAUNCHER_NO = 2; // 0x2 field public static final int SHOW_IN_LAUNCHER_SEPARATE = 1; // 0x1 field public static final int SHOW_IN_LAUNCHER_UNKNOWN = -1; // 0xffffffff field public static final int SHOW_IN_LAUNCHER_WITH_PARENT = 0; // 0x0 } public static final class UserProperties.Builder { ctor public UserProperties.Builder(); method @NonNull public android.content.pm.UserProperties build(); method @NonNull public android.content.pm.UserProperties.Builder setCrossProfileContentSharingStrategy(int); method @NonNull public android.content.pm.UserProperties.Builder setShowInQuietMode(int); method @NonNull public android.content.pm.UserProperties.Builder setShowInSharingSurfaces(int); } } package android.content.res { public final class AssetManager implements java.lang.AutoCloseable { method @NonNull public String[] getApkPaths(); method @Nullable public String getLastResourceResolution(); method @Nullable public String getOverlayablesToString(String); method public void setResourceResolutionLoggingEnabled(boolean); } public final class Configuration implements java.lang.Comparable android.os.Parcelable { field public int assetsSeq; field public final android.app.WindowConfiguration windowConfiguration; } } package android.content.rollback { public final class RollbackInfo implements android.os.Parcelable { method public int getRollbackImpactLevel(); } public final class RollbackManager { method @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS) public void blockRollbackManager(long); method @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS) public void expireRollbackForPackage(@NonNull String); method @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS) public void reloadPersistedData(); field public static final String PROPERTY_ROLLBACK_LIFETIME_MILLIS = "rollback_lifetime_in_millis"; } } package android.credentials { public final class CredentialManager { method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.QUERY_ALL_PACKAGES, "android.permission.LIST_ENABLED_CREDENTIAL_PROVIDERS"}) public java.util.List getCredentialProviderServicesForTesting(int); method public static boolean isServiceEnabled(@NonNull android.content.Context); field public static final int PROVIDER_FILTER_ALL_PROVIDERS = 0; // 0x0 field public static final int PROVIDER_FILTER_SYSTEM_PROVIDERS_ONLY = 1; // 0x1 field public static final int PROVIDER_FILTER_USER_PROVIDERS_ONLY = 2; // 0x2 } public final class CredentialProviderInfo implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getCapabilities(); method @NonNull public android.content.ComponentName getComponentName(); method @Nullable public CharSequence getLabel(@NonNull android.content.Context); method @Nullable public android.graphics.drawable.Drawable getServiceIcon(@NonNull android.content.Context); method @NonNull public android.content.pm.ServiceInfo getServiceInfo(); method @Nullable public CharSequence getSettingsActivity(); method @Nullable public CharSequence getSettingsSubtitle(); method @NonNull public boolean hasCapability(@NonNull String); method public boolean isEnabled(); method public boolean isPrimary(); method public boolean isSystemProvider(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class CredentialProviderInfo.Builder { ctor public CredentialProviderInfo.Builder(@NonNull android.content.pm.ServiceInfo); method @NonNull public android.credentials.CredentialProviderInfo.Builder addCapabilities(@NonNull java.util.List); method @NonNull public android.credentials.CredentialProviderInfo build(); method @NonNull public android.credentials.CredentialProviderInfo.Builder setEnabled(boolean); method @NonNull public android.credentials.CredentialProviderInfo.Builder setSettingsSubtitle(@Nullable CharSequence); method @NonNull public android.credentials.CredentialProviderInfo.Builder setSystemProvider(boolean); } } package android.credentials.selection { public class BaseDialogResult implements android.os.Parcelable { ctor public BaseDialogResult(@Nullable android.os.IBinder); ctor protected BaseDialogResult(@NonNull android.os.Parcel); method public static void addToBundle(@NonNull android.credentials.selection.BaseDialogResult, @NonNull android.os.Bundle); method public int describeContents(); method @Nullable public static android.credentials.selection.BaseDialogResult fromResultData(@NonNull android.os.Bundle); method @Deprecated @Nullable public android.os.IBinder getRequestToken(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int RESULT_CODE_CANCELED_AND_LAUNCHED_SETTINGS = 1; // 0x1 field public static final int RESULT_CODE_DATA_PARSING_FAILURE = 3; // 0x3 field public static final int RESULT_CODE_DIALOG_COMPLETE_WITH_SELECTION = 2; // 0x2 field public static final int RESULT_CODE_DIALOG_USER_CANCELED = 0; // 0x0 } public final class CreateCredentialProviderData extends android.credentials.selection.ProviderData implements android.os.Parcelable { ctor public CreateCredentialProviderData(@NonNull String, @NonNull java.util.List, @Nullable android.credentials.selection.Entry); method @Nullable public android.credentials.selection.Entry getRemoteEntry(); method @NonNull public java.util.List getSaveEntries(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class CreateCredentialProviderData.Builder { ctor public CreateCredentialProviderData.Builder(@NonNull String); method @NonNull public android.credentials.selection.CreateCredentialProviderData build(); method @NonNull public android.credentials.selection.CreateCredentialProviderData.Builder setRemoteEntry(@Nullable android.credentials.selection.Entry); method @NonNull public android.credentials.selection.CreateCredentialProviderData.Builder setSaveEntries(@NonNull java.util.List); } public final class DisabledProviderData extends android.credentials.selection.ProviderData implements android.os.Parcelable { ctor public DisabledProviderData(@NonNull String); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class FailureDialogResult extends android.credentials.selection.BaseDialogResult implements android.os.Parcelable { ctor public FailureDialogResult(@Nullable android.os.IBinder, @Nullable String); method public static void addToBundle(@NonNull android.credentials.selection.FailureDialogResult, @NonNull android.os.Bundle); method @Nullable public static android.credentials.selection.FailureDialogResult fromResultData(@NonNull android.os.Bundle); method @Nullable public String getErrorMessage(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class GetCredentialProviderData extends android.credentials.selection.ProviderData implements android.os.Parcelable { ctor public GetCredentialProviderData(@NonNull String, @NonNull java.util.List, @NonNull java.util.List, @NonNull java.util.List, @Nullable android.credentials.selection.Entry); method @NonNull public java.util.List getActionChips(); method @NonNull public java.util.List getAuthenticationEntries(); method @NonNull public java.util.List getCredentialEntries(); method @Nullable public android.credentials.selection.Entry getRemoteEntry(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class GetCredentialProviderData.Builder { ctor public GetCredentialProviderData.Builder(@NonNull String); method @NonNull public android.credentials.selection.GetCredentialProviderData build(); method @NonNull public android.credentials.selection.GetCredentialProviderData.Builder setActionChips(@NonNull java.util.List); method @NonNull public android.credentials.selection.GetCredentialProviderData.Builder setAuthenticationEntries(@NonNull java.util.List); method @NonNull public android.credentials.selection.GetCredentialProviderData.Builder setCredentialEntries(@NonNull java.util.List); method @NonNull public android.credentials.selection.GetCredentialProviderData.Builder setRemoteEntry(@Nullable android.credentials.selection.Entry); } public class IntentFactory { method @NonNull public static android.content.Intent createCancelUiIntent(@NonNull android.content.Context, @NonNull android.os.IBinder, boolean, @NonNull String); method @NonNull public static android.content.Intent createCredentialSelectorIntent(@NonNull android.content.Context, @NonNull android.credentials.selection.RequestInfo, @NonNull java.util.ArrayList, @NonNull java.util.ArrayList, @NonNull android.os.ResultReceiver); } public abstract class ProviderData implements android.os.Parcelable { ctor public ProviderData(@NonNull String); ctor protected ProviderData(@NonNull android.os.Parcel); method public int describeContents(); method @NonNull public String getProviderFlattenedComponentName(); method public void writeToParcel(@NonNull android.os.Parcel, int); field public static final String EXTRA_DISABLED_PROVIDER_DATA_LIST = "android.credentials.selection.extra.DISABLED_PROVIDER_DATA_LIST"; field public static final String EXTRA_ENABLED_PROVIDER_DATA_LIST = "android.credentials.selection.extra.ENABLED_PROVIDER_DATA_LIST"; } public final class RequestInfo implements android.os.Parcelable { method @NonNull public static android.credentials.selection.RequestInfo newCreateRequestInfo(@NonNull android.os.IBinder, @NonNull android.credentials.CreateCredentialRequest, @NonNull String, boolean, @NonNull java.util.List, boolean); method @NonNull public static android.credentials.selection.RequestInfo newGetRequestInfo(@NonNull android.os.IBinder, @NonNull android.credentials.GetCredentialRequest, @NonNull String, boolean, boolean); } public final class RequestToken { ctor public RequestToken(@NonNull android.os.IBinder); } public final class UserSelectionDialogResult extends android.credentials.selection.BaseDialogResult implements android.os.Parcelable { ctor public UserSelectionDialogResult(@Nullable android.os.IBinder, @NonNull String, @NonNull String, @NonNull String); ctor public UserSelectionDialogResult(@Nullable android.os.IBinder, @NonNull String, @NonNull String, @NonNull String, @Nullable android.credentials.selection.ProviderPendingIntentResponse); method public static void addToBundle(@NonNull android.credentials.selection.UserSelectionDialogResult, @NonNull android.os.Bundle); method @Nullable public static android.credentials.selection.UserSelectionDialogResult fromResultData(@NonNull android.os.Bundle); method @NonNull public String getEntryKey(); method @NonNull public String getEntrySubkey(); method @Nullable public android.credentials.selection.ProviderPendingIntentResponse getPendingIntentProviderResponse(); method @NonNull public String getProviderId(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } } package android.database.sqlite { public class SQLiteCompatibilityWalFlags { method public static void reset(); } public final class SQLiteDebug { method public static void dump(android.util.Printer, String[]); method public static android.database.sqlite.SQLiteDebug.PagerStats getDatabaseInfo(); } public static class SQLiteDebug.DbStats { ctor public SQLiteDebug.DbStats(@NonNull String, long, long, int, int, int, int, boolean); field public final boolean arePoolStats; field public String dbName; field public long dbSize; field public int lookaside; field public long pageSize; } public static class SQLiteDebug.PagerStats { ctor public SQLiteDebug.PagerStats(); field public java.util.ArrayList dbStats; field public int largestMemAlloc; field public int memoryUsed; field public int pageCacheOverflow; } public final class SQLiteDirectCursorDriver implements android.database.sqlite.SQLiteCursorDriver { ctor public SQLiteDirectCursorDriver(android.database.sqlite.SQLiteDatabase, String, String, android.os.CancellationSignal); method public void cursorClosed(); method public void cursorDeactivated(); method public void cursorRequeried(android.database.Cursor); method public android.database.Cursor query(android.database.sqlite.SQLiteDatabase.CursorFactory, String[]); method public void setBindArguments(String[]); } public final class SQLiteGlobal { method public static String getDefaultJournalMode(); method public static int getDefaultPageSize(); method public static String getDefaultSyncMode(); method public static int getIdleConnectionTimeout(); method public static int getJournalSizeLimit(); method public static int getWALAutoCheckpoint(); method public static int getWALConnectionPoolSize(); method public static String getWALSyncMode(); method public static int releaseMemory(); } } package android.graphics { public final class ImageDecoder implements java.lang.AutoCloseable { method @AnyThread @NonNull public static android.graphics.ImageDecoder.Source createSource(android.content.res.Resources, @NonNull java.io.InputStream, int); } public final class Rect implements android.os.Parcelable { method public void splitHorizontally(@NonNull android.graphics.Rect...); method public void splitVertically(@NonNull android.graphics.Rect...); } public class Typeface { method @NonNull public static android.util.Pair,java.util.List> changeDefaultFontForTest(@NonNull java.util.List, @NonNull java.util.List); method @NonNull public static long[] deserializeFontMap(@NonNull java.nio.ByteBuffer, @NonNull java.util.Map) throws java.io.IOException; method @Nullable public static android.os.SharedMemory getSystemFontMapSharedMemory(); method public void releaseNativeObjectForTest(); method @NonNull public static android.os.SharedMemory serializeFontMap(@NonNull java.util.Map) throws android.system.ErrnoException, java.io.IOException; } } package android.graphics.drawable { public class AdaptiveIconDrawable extends android.graphics.drawable.Drawable implements android.graphics.drawable.Drawable.Callback { method public android.graphics.Region getSafeZone(); field public static final float MASK_SIZE = 100.0f; } public class ColorDrawable extends android.graphics.drawable.Drawable { method public android.graphics.Xfermode getXfermode(); } public class RippleDrawable extends android.graphics.drawable.LayerDrawable { method public float getTargetBackgroundOpacity(); method public void setBackgroundActive(boolean, boolean, boolean, boolean); } public class ShapeDrawable extends android.graphics.drawable.Drawable { method public void setXfermode(@Nullable android.graphics.Xfermode); } } package android.graphics.fonts { public class FontManager { method @NonNull @RequiresPermission(android.Manifest.permission.UPDATE_FONTS) public android.text.FontConfig getFontConfig(); method @RequiresPermission(android.Manifest.permission.UPDATE_FONTS) public int updateFontFamily(@NonNull android.graphics.fonts.FontFamilyUpdateRequest, @IntRange(from=0) int); field public static final int RESULT_ERROR_DOWNGRADING = -5; // 0xfffffffb field public static final int RESULT_ERROR_FAILED_TO_WRITE_FONT_FILE = -1; // 0xffffffff field public static final int RESULT_ERROR_FAILED_UPDATE_CONFIG = -6; // 0xfffffffa field public static final int RESULT_ERROR_FONT_NOT_FOUND = -9; // 0xfffffff7 field public static final int RESULT_ERROR_FONT_UPDATER_DISABLED = -7; // 0xfffffff9 field public static final int RESULT_ERROR_INVALID_FONT_FILE = -3; // 0xfffffffd field public static final int RESULT_ERROR_INVALID_FONT_NAME = -4; // 0xfffffffc field public static final int RESULT_ERROR_VERIFICATION_FAILURE = -2; // 0xfffffffe field public static final int RESULT_ERROR_VERSION_MISMATCH = -8; // 0xfffffff8 field public static final int RESULT_SUCCESS = 0; // 0x0 } } package android.hardware { @Deprecated public class Camera { method @Deprecated public static void getCameraInfo(int, @NonNull android.content.Context, int, android.hardware.Camera.CameraInfo); method @Deprecated public static int getNumberOfCameras(@NonNull android.content.Context); method @Deprecated public static android.hardware.Camera open(int, @NonNull android.content.Context, int); method @Deprecated public final void setPreviewSurface(android.view.Surface) throws java.io.IOException; } public final class SensorPrivacyManager { method @RequiresPermission(android.Manifest.permission.MANAGE_SENSOR_PRIVACY) public void setCameraPrivacyAllowlist(@NonNull java.util.List); method @RequiresPermission(android.Manifest.permission.MANAGE_SENSOR_PRIVACY) public void setSensorPrivacy(int, int, boolean); method @RequiresPermission(android.Manifest.permission.MANAGE_SENSOR_PRIVACY) public void setSensorPrivacyState(int, int, int); } public static class SensorPrivacyManager.Sources { field public static final int DIALOG = 3; // 0x3 field public static final int OTHER = 5; // 0x5 field public static final int QS_TILE = 1; // 0x1 field public static final int SAFETY_CENTER = 6; // 0x6 field public static final int SETTINGS = 2; // 0x2 field public static final int SHELL = 4; // 0x4 } } package android.hardware.biometrics { public class BiometricManager { method @NonNull @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public android.hardware.biometrics.BiometricTestSession createTestSession(int); method @NonNull @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public java.util.List getSensorProperties(); method @NonNull @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public String getUiPackage(); } public class BiometricPrompt { method @NonNull public java.util.List getAllowedSensorIds(); method public boolean isAllowBackgroundAuthentication(); } public static class BiometricPrompt.Builder { method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.TEST_BIOMETRIC, "android.permission.USE_BIOMETRIC_INTERNAL"}) public android.hardware.biometrics.BiometricPrompt.Builder setAllowBackgroundAuthentication(boolean); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.TEST_BIOMETRIC, "android.permission.USE_BIOMETRIC_INTERNAL"}) public android.hardware.biometrics.BiometricPrompt.Builder setAllowBackgroundAuthentication(boolean, boolean); 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); } public class BiometricTestSession implements java.lang.AutoCloseable { method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void acceptAuthentication(int); method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void cleanupInternalState(int); method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void close(); method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void finishEnroll(int); method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void notifyAcquired(int, int); method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void notifyError(int, int); method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void rejectAuthentication(int); method @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public void startEnroll(int); } public class SensorProperties { method @NonNull public java.util.List getComponentInfo(); method public int getSensorId(); method public int getSensorStrength(); field public static final int STRENGTH_CONVENIENCE = 0; // 0x0 field public static final int STRENGTH_STRONG = 2; // 0x2 field public static final int STRENGTH_WEAK = 1; // 0x1 } public static final class SensorProperties.ComponentInfo { method @NonNull public String getComponentId(); method @NonNull public String getFirmwareVersion(); method @NonNull public String getHardwareVersion(); method @NonNull public String getSerialNumber(); method @NonNull public String getSoftwareVersion(); } } package android.hardware.camera2 { public final class CameraManager { method @NonNull public android.hardware.camera2.CameraCharacteristics getCameraCharacteristics(@NonNull String, boolean) throws android.hardware.camera2.CameraAccessException; method public String[] getCameraIdListNoLazy() throws android.hardware.camera2.CameraAccessException; method @RequiresPermission(android.Manifest.permission.CAMERA) public void openCamera(@NonNull String, boolean, @Nullable android.os.Handler, @NonNull android.hardware.camera2.CameraDevice.StateCallback) throws android.hardware.camera2.CameraAccessException; 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; method public static boolean shouldOverrideToPortrait(@Nullable android.content.pm.PackageManager, @Nullable String); field public static final String LANDSCAPE_TO_PORTRAIT_PROP = "camera.enable_landscape_to_portrait"; field public static final long OVERRIDE_CAMERA_LANDSCAPE_TO_PORTRAIT = 250678880L; // 0xef10e60L } public abstract static class CameraManager.AvailabilityCallback { method @RequiresPermission(android.Manifest.permission.CAMERA_OPEN_CLOSE_LISTENER) public void onCameraClosed(@NonNull String); method @RequiresPermission(android.Manifest.permission.CAMERA_OPEN_CLOSE_LISTENER) public void onCameraOpened(@NonNull String, @NonNull String); } public abstract class CameraMetadata { field public static final int SENSOR_TEST_PATTERN_MODE_BLACK = 5; // 0x5 } } package android.hardware.camera2.params { public final class ColorSpaceProfiles { method @NonNull public java.util.Map>> getProfileMap(); } public final class OutputConfiguration implements android.os.Parcelable { method public void clearColorSpace(); method @Nullable public android.graphics.ColorSpace getColorSpace(); method public void setColorSpace(@NonNull android.graphics.ColorSpace.Named); } } package android.hardware.devicestate { public final class DeviceState { ctor public DeviceState(@NonNull android.hardware.devicestate.DeviceState.Configuration); field public static final int PROPERTY_POLICY_AVAILABLE_FOR_APP_REQUEST = 8; // 0x8 } public static final class DeviceState.Configuration implements android.os.Parcelable { method public int describeContents(); method public int getIdentifier(); method @NonNull public String getName(); method @NonNull public java.util.Set getPhysicalProperties(); method @NonNull public java.util.Set getSystemProperties(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class DeviceState.Configuration.Builder { ctor public DeviceState.Configuration.Builder(int, @NonNull String); method @NonNull public android.hardware.devicestate.DeviceState.Configuration build(); method @NonNull public android.hardware.devicestate.DeviceState.Configuration.Builder setPhysicalProperties(@NonNull java.util.Set); method @NonNull public android.hardware.devicestate.DeviceState.Configuration.Builder setSystemProperties(@NonNull java.util.Set); } public final class DeviceStateManager { method @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_STATE) public void cancelBaseStateOverride(); method @RequiresPermission(value=android.Manifest.permission.CONTROL_DEVICE_STATE, conditional=true) public void cancelStateRequest(); method @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_STATE) public void requestBaseStateOverride(@NonNull android.hardware.devicestate.DeviceStateRequest, @Nullable java.util.concurrent.Executor, @Nullable android.hardware.devicestate.DeviceStateRequest.Callback); 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); field public static final int INVALID_DEVICE_STATE_IDENTIFIER = -1; // 0xffffffff field public static final int MAXIMUM_DEVICE_STATE_IDENTIFIER = 10000; // 0x2710 field public static final int MINIMUM_DEVICE_STATE_IDENTIFIER = 0; // 0x0 } public final class DeviceStateRequest { method public int getFlags(); method public int getState(); method @NonNull public static android.hardware.devicestate.DeviceStateRequest.Builder newBuilder(int); field public static final int FLAG_CANCEL_WHEN_BASE_CHANGES = 1; // 0x1 } public static final class DeviceStateRequest.Builder { method @NonNull public android.hardware.devicestate.DeviceStateRequest build(); method @NonNull public android.hardware.devicestate.DeviceStateRequest.Builder setFlags(int); } public static interface DeviceStateRequest.Callback { method public default void onRequestActivated(@NonNull android.hardware.devicestate.DeviceStateRequest); method public default void onRequestCanceled(@NonNull android.hardware.devicestate.DeviceStateRequest); method public default void onRequestSuspended(@NonNull android.hardware.devicestate.DeviceStateRequest); } } package android.hardware.display { public class AmbientDisplayConfiguration { ctor public AmbientDisplayConfiguration(android.content.Context); method public boolean alwaysOnAvailable(); method public boolean alwaysOnAvailableForUser(int); method public boolean alwaysOnEnabled(int); method public void disableDozeSettings(int); method public void disableDozeSettings(boolean, int); method public void restoreDozeSettings(int); } public final class ColorDisplayManager { method @RequiresPermission(android.Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) public boolean isSaturationActivated(); } public final class DisplayManager { method public boolean areUserDisabledHdrTypesAllowed(); method @RequiresPermission(android.Manifest.permission.MODIFY_USER_PREFERRED_DISPLAY_MODE) public void clearGlobalUserPreferredDisplayMode(); method @Nullable public android.view.Display.Mode getGlobalUserPreferredDisplayMode(); method @NonNull public android.hardware.display.HdrConversionMode getHdrConversionModeSetting(); method @NonNull public int[] getSupportedHdrOutputTypes(); method @NonNull public int[] getUserDisabledHdrTypes(); method public boolean isMinimalPostProcessingRequested(int); method @RequiresPermission(android.Manifest.permission.ACCESS_SURFACE_FLINGER) public void overrideHdrTypes(int, @NonNull int[]); method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setAreUserDisabledHdrTypesAllowed(boolean); method @RequiresPermission(android.Manifest.permission.MODIFY_USER_PREFERRED_DISPLAY_MODE) public void setGlobalUserPreferredDisplayMode(@NonNull android.view.Display.Mode); method @RequiresPermission(android.Manifest.permission.MODIFY_HDR_CONVERSION_MODE) public void setHdrConversionMode(@NonNull android.hardware.display.HdrConversionMode); method @RequiresPermission(android.Manifest.permission.MODIFY_REFRESH_RATE_SWITCHING_TYPE) public void setRefreshRateSwitchingType(int); method @RequiresPermission(android.Manifest.permission.OVERRIDE_DISPLAY_MODE_REQUESTS) public void setShouldAlwaysRespectAppRequestedMode(boolean); method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setUserDisabledHdrTypes(@NonNull int[]); method @RequiresPermission(android.Manifest.permission.OVERRIDE_DISPLAY_MODE_REQUESTS) public boolean shouldAlwaysRespectAppRequestedMode(); field public static final String DISPLAY_CATEGORY_REAR = "android.hardware.display.category.REAR"; field public static final String HDR_OUTPUT_CONTROL_FLAG = "enable_hdr_output_control"; field public static final int SWITCHING_TYPE_ACROSS_AND_WITHIN_GROUPS = 2; // 0x2 field public static final int SWITCHING_TYPE_NONE = 0; // 0x0 field public static final int SWITCHING_TYPE_RENDER_FRAME_RATE_ONLY = 3; // 0x3 field public static final int SWITCHING_TYPE_WITHIN_GROUPS = 1; // 0x1 field public static final int VIRTUAL_DISPLAY_FLAG_OWN_FOCUS = 16384; // 0x4000 field public static final int VIRTUAL_DISPLAY_FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS = 512; // 0x200 field public static final int VIRTUAL_DISPLAY_FLAG_SUPPORTS_TOUCH = 64; // 0x40 } } package android.hardware.fingerprint { @Deprecated public class FingerprintManager { method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public android.hardware.biometrics.BiometricTestSession createTestSession(int); method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.TEST_BIOMETRIC) public java.util.List getSensorProperties(); } } package android.hardware.hdmi { public final class HdmiControlServiceWrapper { ctor public HdmiControlServiceWrapper(); method @NonNull public android.hardware.hdmi.HdmiControlManager createHdmiControlManager(); method @BinderThread public void setDeviceTypes(@NonNull int[]); method @BinderThread public void setPortInfo(@NonNull java.util.List); field public static final int DEVICE_PURE_CEC_SWITCH = 6; // 0x6 } } package android.hardware.input { public final class InputDeviceIdentifier implements android.os.Parcelable { ctor public InputDeviceIdentifier(@NonNull String, int, int); method public int describeContents(); method @NonNull public String getDescriptor(); method public int getProductId(); method public int getVendorId(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class InputManager { method @RequiresPermission("android.permission.ASSOCIATE_INPUT_DEVICE_TO_DISPLAY") public void addUniqueIdAssociationByPort(@NonNull String, @NonNull String); method @RequiresPermission(android.Manifest.permission.REMAP_MODIFIER_KEYS) public void clearAllModifierKeyRemappings(); method @NonNull public java.util.List getKeyboardLayoutDescriptors(); method @NonNull public String getKeyboardLayoutTypeForLayoutDescriptor(@NonNull String); method @NonNull @RequiresPermission(android.Manifest.permission.REMAP_MODIFIER_KEYS) public java.util.Map getModifierKeyRemapping(); method public int getMousePointerSpeed(); method @RequiresPermission(android.Manifest.permission.REMAP_MODIFIER_KEYS) public void remapModifierKey(int, int); method @RequiresPermission("android.permission.ASSOCIATE_INPUT_DEVICE_TO_DISPLAY") public void removeUniqueIdAssociationByPort(@NonNull String); field public static final long BLOCK_UNTRUSTED_TOUCHES = 158002302L; // 0x96aec7eL } public class InputSettings { method public static int getAccessibilityBounceKeysThreshold(@NonNull android.content.Context); method public static int getAccessibilitySlowKeysThreshold(@NonNull android.content.Context); method public static boolean isAccessibilityStickyKeysEnabled(@NonNull android.content.Context); method @RequiresPermission(android.Manifest.permission.WRITE_SETTINGS) public static void setAccessibilityBounceKeysThreshold(@NonNull android.content.Context, int); method @RequiresPermission(android.Manifest.permission.WRITE_SETTINGS) public static void setAccessibilitySlowKeysThreshold(@NonNull android.content.Context, int); method @RequiresPermission(android.Manifest.permission.WRITE_SETTINGS) public static void setAccessibilityStickyKeysEnabled(@NonNull android.content.Context, boolean); method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static void setMaximumObscuringOpacityForTouch(@NonNull android.content.Context, @FloatRange(from=0, to=1) float); field public static final int DEFAULT_POINTER_SPEED = 0; // 0x0 } public class VirtualKeyboard implements java.io.Closeable { method public int getInputDeviceId(); } } package android.hardware.lights { public final class Light implements android.os.Parcelable { method public int getCapabilities(); } public abstract class LightsManager { method @NonNull public abstract android.hardware.lights.LightsManager.LightsSession openSession(int); } } package android.hardware.location { public final class ContextHubManager { method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public boolean disableTestMode(); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public boolean enableTestMode(); method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_CONTEXT_HUB) public long[] getPreloadedNanoAppIds(@NonNull android.hardware.location.ContextHubInfo); } } package android.hardware.soundtrigger { public class KeyphraseEnrollmentInfo { ctor public KeyphraseEnrollmentInfo(@NonNull android.content.pm.PackageManager); method @Nullable public android.hardware.soundtrigger.KeyphraseMetadata getKeyphraseMetadata(@NonNull String, @NonNull java.util.Locale); method @Nullable public android.content.Intent getManageKeyphraseIntent(int, @NonNull String, @NonNull java.util.Locale); method @NonNull public String getParseError(); method @NonNull public java.util.Collection listKeyphraseMetadata(); field public static final int MANAGE_ACTION_ENROLL = 0; // 0x0 field public static final int MANAGE_ACTION_RE_ENROLL = 1; // 0x1 field public static final int MANAGE_ACTION_UN_ENROLL = 2; // 0x2 } public final class KeyphraseMetadata implements android.os.Parcelable { ctor public KeyphraseMetadata(int, @NonNull String, @NonNull java.util.Set, int); method public int describeContents(); method public int getId(); method @NonNull public String getKeyphrase(); method public int getRecognitionModeFlags(); method @NonNull public java.util.Set getSupportedLocales(); method public boolean supportsLocale(@Nullable java.util.Locale); method public boolean supportsPhrase(@Nullable String); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class SoundTrigger { field public static final int MODEL_PARAM_INVALID = -1; // 0xffffffff field public static final int MODEL_PARAM_THRESHOLD_FACTOR = 0; // 0x0 } public static final class SoundTrigger.KeyphraseRecognitionExtra implements android.os.Parcelable { ctor public SoundTrigger.KeyphraseRecognitionExtra(int, int, int); } public static final class SoundTrigger.ModelParamRange implements android.os.Parcelable { ctor public SoundTrigger.ModelParamRange(int, int); } public static final class SoundTrigger.ModuleProperties implements android.os.Parcelable { ctor public SoundTrigger.ModuleProperties(int, @NonNull String, @NonNull String, @NonNull String, int, @NonNull String, int, int, int, int, boolean, int, boolean, int, boolean, int); } public static final class SoundTrigger.RecognitionConfig implements android.os.Parcelable { ctor public SoundTrigger.RecognitionConfig(boolean, boolean, @Nullable android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionExtra[], @Nullable byte[], int); ctor public SoundTrigger.RecognitionConfig(boolean, boolean, @Nullable android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionExtra[], @Nullable byte[]); method public int describeContents(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public final boolean allowMultipleTriggers; field public final int audioCapabilities; field public final boolean captureRequested; field @NonNull public final byte[] data; field @NonNull public final android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionExtra[] keyphrases; } public static class SoundTrigger.RecognitionEvent { ctor public SoundTrigger.RecognitionEvent(int, int, boolean, int, int, int, boolean, @NonNull android.media.AudioFormat, @Nullable byte[], long); } } package android.hardware.usb { public final class UsbPort { method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public boolean isModeChangeSupported(); } } package android.inputmethodservice { public abstract class AbstractInputMethodService extends android.window.WindowProviderService implements android.view.KeyEvent.Callback { method public final int getInitialDisplayId(); method @Nullable public final android.os.Bundle getWindowContextOptions(); method public final int getWindowType(); } @UiContext public class InputMethodService extends android.inputmethodservice.AbstractInputMethodService { field public static final long DISALLOW_INPUT_METHOD_INTERFACE_OVERRIDE = 148086656L; // 0x8d39f80L field public static final long FINISH_INPUT_NO_FALLBACK_CONNECTION = 156215187L; // 0x94fa793L } } package android.media { public final class AudioAttributes implements android.os.Parcelable { method public static int[] getSdkUsages(); method @NonNull public static String usageToXsdString(int); method public static int xsdStringToUsage(@NonNull String); } public final class AudioDeviceInfo { method public static void enforceValidAudioDeviceTypeIn(int); method public static void enforceValidAudioDeviceTypeOut(int); } public final class AudioFocusRequest { method @Nullable public android.media.AudioManager.OnAudioFocusChangeListener getOnAudioFocusChangeListener(); } public final class AudioFormat implements android.os.Parcelable { method public static int channelCountFromInChannelMask(int); method public static int channelCountFromOutChannelMask(int); method public static int getBytesPerSample(int); method public static boolean isEncodingLinearPcm(int); } public final class AudioHalVersionInfo implements java.lang.Comparable android.os.Parcelable { method public int compareTo(@NonNull android.media.AudioHalVersionInfo); method public int describeContents(); method public int getHalType(); method public int getMajorVersion(); method public int getMinorVersion(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.media.AudioHalVersionInfo AIDL_1_0; field public static final int AUDIO_HAL_TYPE_AIDL = 1; // 0x1 field public static final int AUDIO_HAL_TYPE_HIDL = 0; // 0x0 field @NonNull public static final android.os.Parcelable.Creator CREATOR; field @NonNull public static final android.media.AudioHalVersionInfo HIDL_2_0; field @NonNull public static final android.media.AudioHalVersionInfo HIDL_4_0; field @NonNull public static final android.media.AudioHalVersionInfo HIDL_5_0; field @NonNull public static final android.media.AudioHalVersionInfo HIDL_6_0; field @NonNull public static final android.media.AudioHalVersionInfo HIDL_7_0; field @NonNull public static final android.media.AudioHalVersionInfo HIDL_7_1; field @NonNull public static final java.util.List VERSIONS; } public class AudioManager { method @RequiresPermission("android.permission.QUERY_AUDIO_STATE") public int abandonAudioFocusForTest(@NonNull android.media.AudioFocusRequest, @NonNull String); method @RequiresPermission("Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED") public boolean enterAudioFocusFreezeForTest(@NonNull java.util.List); method @RequiresPermission("Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED") public boolean exitAudioFocusFreezeForTest(); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public void forceComputeCsdOnAllDevices(boolean); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public void forceUseFrameworkMel(boolean); method @NonNull @RequiresPermission(android.Manifest.permission.CALL_AUDIO_INTERCEPTION) public android.media.AudioRecord getCallDownlinkExtractionAudioRecord(@NonNull android.media.AudioFormat); method @NonNull @RequiresPermission(android.Manifest.permission.CALL_AUDIO_INTERCEPTION) public android.media.AudioTrack getCallUplinkInjectionAudioTrack(@NonNull android.media.AudioFormat); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public float getCsd(); method @Nullable public static android.media.AudioDeviceInfo getDeviceInfoFromType(int); method @IntRange(from=0) @RequiresPermission("android.permission.QUERY_AUDIO_STATE") public long getFadeOutDurationOnFocusLossMillis(@NonNull android.media.AudioAttributes); method @NonNull @RequiresPermission("android.permission.QUERY_AUDIO_STATE") public java.util.List getFocusDuckedUidsForTest(); method @RequiresPermission("android.permission.QUERY_AUDIO_STATE") public long getFocusFadeOutDurationForTest(); method @RequiresPermission("android.permission.QUERY_AUDIO_STATE") public long getFocusUnmuteDelayAfterFadeOutForTest(); method @Nullable public static android.media.AudioHalVersionInfo getHalVersion(); method public static final int[] getPublicStreamTypes(); method @NonNull public java.util.List getRegisteredPolicyMixes(); method @NonNull public java.util.List getReportedSurroundFormats(); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public float getRs2Value(); method public int getStreamMinVolumeInt(int); method @NonNull public java.util.Map getSurroundFormats(); method public boolean hasRegisteredDynamicPolicy(); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public boolean isCsdEnabled(); method @RequiresPermission(anyOf={android.Manifest.permission.MODIFY_AUDIO_ROUTING, android.Manifest.permission.QUERY_AUDIO_STATE, android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED}) public boolean isFullVolumeDevice(); method @RequiresPermission(android.Manifest.permission.CALL_AUDIO_INTERCEPTION) public boolean isPstnCallAudioInterceptable(); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public boolean isVolumeControlUsingVolumeGroups(); method @RequiresPermission("android.permission.QUERY_AUDIO_STATE") public int requestAudioFocusForTest(@NonNull android.media.AudioFocusRequest, @NonNull String, int, int); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public void setCsd(float); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public void setNotifAliasRingForTest(boolean); method public void setRampingRingerEnabled(boolean); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED) public void setRs2Value(float); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setTestDeviceConnectionState(@NonNull android.media.AudioDeviceAttributes, boolean); method @RequiresPermission(android.Manifest.permission.QUERY_AUDIO_STATE) public boolean shouldNotificationSoundPlay(@NonNull android.media.AudioAttributes); } public static final class AudioRecord.MetricsConstants { field public static final String ATTRIBUTES = "android.media.audiorecord.attributes"; field public static final String CHANNEL_MASK = "android.media.audiorecord.channelMask"; field public static final String DURATION_MS = "android.media.audiorecord.durationMs"; field public static final String FRAME_COUNT = "android.media.audiorecord.frameCount"; field public static final String PORT_ID = "android.media.audiorecord.portId"; field public static final String START_COUNT = "android.media.audiorecord.startCount"; } public final class AudioRecordingConfiguration implements android.os.Parcelable { 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[]); ctor public AudioRecordingConfiguration(int, int, int, android.media.AudioFormat, android.media.AudioFormat, int, String); } public class AudioSystem { method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS) public static float getMasterBalance(); method public static final int getNumStreamTypes(); method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_SETTINGS) public static int setMasterBalance(float); method @NonNull public static String streamToString(int); field public static final int DEVICE_ROLE_DISABLED = 2; // 0x2 field public static final int DEVICE_ROLE_NONE = 0; // 0x0 field public static final int DEVICE_ROLE_PREFERRED = 1; // 0x1 field public static final int DIRECT_BITSTREAM_SUPPORTED = 4; // 0x4 field public static final int DIRECT_OFFLOAD_GAPLESS_SUPPORTED = 3; // 0x3 field public static final int DIRECT_OFFLOAD_SUPPORTED = 1; // 0x1 field public static final int OFFLOAD_GAPLESS_SUPPORTED = 2; // 0x2 field public static final int OFFLOAD_SUPPORTED = 1; // 0x1 field public static final int STREAM_DEFAULT = -1; // 0xffffffff } public static final class AudioTrack.MetricsConstants { field public static final String ATTRIBUTES = "android.media.audiotrack.attributes"; field public static final String CHANNEL_MASK = "android.media.audiotrack.channelMask"; field public static final String ENCODING = "android.media.audiotrack.encoding"; field public static final String FRAME_COUNT = "android.media.audiotrack.frameCount"; field public static final String PORT_ID = "android.media.audiotrack.portId"; field public static final String SAMPLE_RATE = "android.media.audiotrack.sampleRate"; } public abstract class Image implements java.lang.AutoCloseable { ctor protected Image(); } public abstract static class Image.Plane { ctor protected Image.Plane(); } public final class MediaCas implements java.lang.AutoCloseable { method public void forceResourceLost(); method public boolean isAidlHal(); } public static final class MediaCodecInfo.VideoCapabilities.PerformancePoint { ctor public MediaCodecInfo.VideoCapabilities.PerformancePoint(int, int, int, int, @NonNull android.util.Size); ctor public MediaCodecInfo.VideoCapabilities.PerformancePoint(@NonNull android.media.MediaCodecInfo.VideoCapabilities.PerformancePoint, @NonNull android.util.Size); method public int getMaxFrameRate(); method public long getMaxMacroBlockRate(); method public int getMaxMacroBlocks(); } public final class MediaDescrambler implements java.lang.AutoCloseable { method public boolean isAidlHal(); } public final class MediaRoute2Info implements android.os.Parcelable { method @NonNull public String getOriginalId(); } public class MediaRouter2.RoutingController { method @NonNull public String getOriginalId(); } public final class PlaybackParams implements android.os.Parcelable { method public int getAudioStretchMode(); method public android.media.PlaybackParams setAudioStretchMode(int); } public static final class VolumeShaper.Configuration.Builder { method @NonNull public android.media.VolumeShaper.Configuration.Builder setOptionFlags(int); } } package android.media.audiofx { public class AudioEffect { method public static int byteArrayToInt(byte[]); method public static short byteArrayToShort(byte[]); method public int getParameter(byte[], byte[]) throws java.lang.IllegalStateException; method public int getParameter(int, byte[]) throws java.lang.IllegalStateException; method public int getParameter(int, int[]) throws java.lang.IllegalStateException; method public int getParameter(int, short[]) throws java.lang.IllegalStateException; method public int getParameter(int[], short[]) throws java.lang.IllegalStateException; method public static byte[] intToByteArray(int); method public static boolean isEffectTypeAvailable(java.util.UUID); method public static boolean isError(int); method public int setParameter(byte[], byte[]) throws java.lang.IllegalStateException; method public int setParameter(int, int) throws java.lang.IllegalStateException; method public int setParameter(int, short) throws java.lang.IllegalStateException; method public int setParameter(int, byte[]) throws java.lang.IllegalStateException; method public int setParameter(int[], int[]) throws java.lang.IllegalStateException; method public int setParameter(int[], byte[]) throws java.lang.IllegalStateException; method public void setParameterListener(android.media.audiofx.AudioEffect.OnParameterChangeListener); method public static byte[] shortToByteArray(short); field public static final java.util.UUID EFFECT_TYPE_NULL; } public static class AudioEffect.Descriptor { ctor public AudioEffect.Descriptor(android.os.Parcel); method public void writeToParcel(android.os.Parcel); } public static interface AudioEffect.OnParameterChangeListener { method public void onParameterChange(android.media.audiofx.AudioEffect, int, byte[], byte[]); } } package android.media.audiopolicy { public class AudioPolicy { method @NonNull public java.util.List getMixes(); } public static class AudioPolicy.Builder { method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setIsTestFocusPolicy(boolean); } public final class AudioProductStrategy implements android.os.Parcelable { method @NonNull public static android.media.AudioAttributes getDefaultAttributes(); method public int getLegacyStreamTypeForAudioAttributes(@NonNull android.media.AudioAttributes); method public int getVolumeGroupIdForAudioAttributes(@NonNull android.media.AudioAttributes); method public int getVolumeGroupIdForLegacyStreamType(int); } } package android.media.metrics { public final class LogSessionId { ctor public LogSessionId(@NonNull String); } } package android.media.projection { public final class MediaProjectionManager { method @NonNull public android.content.Intent createScreenCaptureIntent(@NonNull android.app.ActivityOptions.LaunchCookie); } } package android.media.soundtrigger { public final class SoundTriggerInstrumentation { method public void setInPhoneCallState(boolean); method public void setResourceContention(boolean); method public void triggerOnResourcesAvailable(); method public void triggerRestart(); } public static interface SoundTriggerInstrumentation.GlobalCallback { method public default void onClientAttached(); method public default void onClientDetached(); method public default void onFrameworkDetached(); method public void onModelLoaded(@NonNull android.media.soundtrigger.SoundTriggerInstrumentation.ModelSession); method public default void onPreempted(); method public default void onRestarted(); } public static interface SoundTriggerInstrumentation.ModelCallback { method public default void onModelUnloaded(); method public default void onParamSet(int, int); method public void onRecognitionStarted(@NonNull android.media.soundtrigger.SoundTriggerInstrumentation.RecognitionSession); } public class SoundTriggerInstrumentation.ModelSession { method public void clearModelCallback(); method @NonNull public java.util.List getPhrases(); method @NonNull public android.media.soundtrigger.SoundTriggerManager.Model getSoundModel(); method public boolean isKeyphrase(); method public void setModelCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.soundtrigger.SoundTriggerInstrumentation.ModelCallback); method public void triggerUnloadModel(); } public static interface SoundTriggerInstrumentation.RecognitionCallback { method public void onRecognitionStopped(); } public class SoundTriggerInstrumentation.RecognitionSession { method public void clearRecognitionCallback(); method public int getAudioSession(); method @NonNull public android.hardware.soundtrigger.SoundTrigger.RecognitionConfig getRecognitionConfig(); method public void setRecognitionCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.soundtrigger.SoundTriggerInstrumentation.RecognitionCallback); method public void triggerAbortRecognition(); method public void triggerRecognitionEvent(@NonNull byte[], @Nullable java.util.List); } public final class SoundTriggerManager { method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public static android.media.soundtrigger.SoundTriggerInstrumentation attachInstrumentation(@NonNull java.util.concurrent.Executor, @NonNull android.media.soundtrigger.SoundTriggerInstrumentation.GlobalCallback); method @NonNull public android.media.soundtrigger.SoundTriggerManager createManagerForModule(@NonNull android.hardware.soundtrigger.SoundTrigger.ModuleProperties); method @NonNull public android.media.soundtrigger.SoundTriggerManager createManagerForTestModule(); method @NonNull public static java.util.List listModuleProperties(); method @RequiresPermission(android.Manifest.permission.MANAGE_SOUND_TRIGGER) public int loadSoundModel(@NonNull android.hardware.soundtrigger.SoundTrigger.SoundModel); } public static class SoundTriggerManager.Model { method @NonNull public android.hardware.soundtrigger.SoundTrigger.SoundModel getSoundModel(); } } package android.media.tv { public final class TvInputManager { method public void addHardwareDevice(int); method public void removeHardwareDevice(int); } public class TvView extends android.view.ViewGroup { method public void notifyTvMessage(int, @NonNull android.os.Bundle); } } package android.media.tv.tuner { public final class TunerVersionChecker { method public static int getMajorVersion(int); method public static int getMinorVersion(int); method public static boolean isHigherOrEqualVersionTo(int); method public static boolean supportTunerVersion(int); } } package android.media.voice { public final class KeyphraseModelManager { method @RequiresPermission(android.Manifest.permission.MANAGE_VOICE_KEYPHRASES) public void setModelDatabaseForTestEnabled(boolean); } } package android.net { public class NetworkPolicyManager { method public boolean getRestrictBackground(); method @RequiresPermission(android.Manifest.permission.OBSERVE_NETWORK_POLICY) public boolean isUidNetworkingBlocked(int, boolean); method @RequiresPermission(android.Manifest.permission.OBSERVE_NETWORK_POLICY) public boolean isUidRestrictedOnMeteredNetworks(int); method @NonNull public static String resolveNetworkId(@NonNull android.net.wifi.WifiConfiguration); method public void setRestrictBackground(boolean); } public class NetworkStack { method public static void setServiceForTest(@Nullable android.os.IBinder); } public class NetworkWatchlistManager { method @Nullable public byte[] getWatchlistConfigHash(); } } package android.net.wifi.sharedconnectivity.app { public class SharedConnectivityManager { method @Nullable public static android.net.wifi.sharedconnectivity.app.SharedConnectivityManager create(@NonNull android.content.Context, @NonNull String, @NonNull String); method @Nullable public android.content.ServiceConnection getServiceConnection(); method public void setService(@Nullable android.os.IInterface); } } package android.net.wifi.sharedconnectivity.service { public abstract class SharedConnectivityService extends android.app.Service { method public void onBind(); method public final void setCountdownLatch(@Nullable java.util.concurrent.CountDownLatch); } } package android.os { public class BatteryManager { field public static final int BATTERY_PLUGGED_ANY = 15; // 0xf } public final class BatteryStatsManager { method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void resetBattery(boolean); method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void setBatteryLevel(int, boolean); method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void setChargerAcOnline(boolean, boolean); method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void suspendBatteryInput(); method @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public void unplugBattery(boolean); } public final class BugreportParams { field public static final int BUGREPORT_MODE_MAX_VALUE = 7; // 0x7 } public class Build { method public static boolean is64BitAbi(String); method public static boolean isDebuggable(); field @Nullable public static final String BRAND_FOR_ATTESTATION; field @Nullable public static final String DEVICE_FOR_ATTESTATION; field public static final boolean IS_EMULATOR; field @Nullable public static final String MANUFACTURER_FOR_ATTESTATION; field @Nullable public static final String MODEL_FOR_ATTESTATION; field @Nullable public static final String PRODUCT_FOR_ATTESTATION; } public static class Build.VERSION { field public static final String[] ACTIVE_CODENAMES; field public static final int DEVICE_INITIAL_SDK_INT; field public static final int RESOURCES_SDK_INT; } public abstract class CombinedVibration implements android.os.Parcelable { method public abstract long getDuration(); method @NonNull public static android.os.CombinedVibration.SequentialCombination startSequential(); } public static final class CombinedVibration.Mono extends android.os.CombinedVibration { method public long getDuration(); method @NonNull public android.os.VibrationEffect getEffect(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class CombinedVibration.Sequential extends android.os.CombinedVibration { method @NonNull public java.util.List getDelays(); method public long getDuration(); method @NonNull public java.util.List getEffects(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class CombinedVibration.SequentialCombination { method @NonNull public android.os.CombinedVibration.SequentialCombination addNext(int, @NonNull android.os.VibrationEffect); method @NonNull public android.os.CombinedVibration.SequentialCombination addNext(int, @NonNull android.os.VibrationEffect, int); method @NonNull public android.os.CombinedVibration.SequentialCombination addNext(@NonNull android.os.CombinedVibration); method @NonNull public android.os.CombinedVibration.SequentialCombination addNext(@NonNull android.os.CombinedVibration, int); method @NonNull public android.os.CombinedVibration combine(); } public static final class CombinedVibration.Stereo extends android.os.CombinedVibration { method public long getDuration(); method @NonNull public android.util.SparseArray getEffects(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class DeviceIdleManager { method @NonNull public String[] getSystemPowerWhitelist(); method @NonNull public String[] getSystemPowerWhitelistExceptIdle(); } public class Environment { method public static java.io.File buildPath(java.io.File, java.lang.String...); } public final class FileUtils { method public static boolean contains(java.io.File, java.io.File); method @NonNull public static byte[] digest(@NonNull java.io.File, @NonNull String) throws java.io.IOException, java.security.NoSuchAlgorithmException; method @NonNull public static byte[] digest(@NonNull java.io.InputStream, @NonNull String) throws java.io.IOException, java.security.NoSuchAlgorithmException; } public class IpcDataCache extends android.app.PropertyInvalidatedCache { ctor public IpcDataCache(int, @NonNull String, @NonNull String, @NonNull String, @NonNull android.os.IpcDataCache.QueryHandler); method public static void disableForCurrentProcess(@NonNull String); method public static void invalidateCache(@NonNull String, @NonNull String); field public static final String MODULE_BLUETOOTH = "bluetooth"; field public static final String MODULE_SYSTEM = "system_server"; field public static final String MODULE_TEST = "test"; } public abstract static class IpcDataCache.QueryHandler extends android.app.PropertyInvalidatedCache.QueryHandler { ctor public IpcDataCache.QueryHandler(); } public final class MessageQueue { method public int postSyncBarrier(); method public void removeSyncBarrier(int); } public final class NewUserResponse { ctor public NewUserResponse(@Nullable android.os.UserHandle, int); } public final class PackageTagsList implements android.os.Parcelable { method public boolean contains(@NonNull String, @Nullable String); method public boolean contains(@NonNull android.os.PackageTagsList); method public boolean containsAll(@NonNull String); method public int describeContents(); method public boolean includes(@NonNull String); method public boolean isEmpty(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class PackageTagsList.Builder { ctor public PackageTagsList.Builder(); ctor public PackageTagsList.Builder(int); method @NonNull public android.os.PackageTagsList.Builder add(@NonNull String); method @NonNull public android.os.PackageTagsList.Builder add(@NonNull String, @Nullable String); method @NonNull public android.os.PackageTagsList.Builder add(@NonNull android.os.PackageTagsList); method @NonNull public android.os.PackageTagsList.Builder add(@NonNull java.util.Map>); method @NonNull public android.os.PackageTagsList build(); method @NonNull public android.os.PackageTagsList.Builder clear(); } public final class Parcel { method public boolean allowSquashing(); method public int getFlags(); method public int readExceptionCode(); method public void restoreAllowSquashing(boolean); field public static final int FLAG_IS_REPLY_FROM_BLOCKING_ALLOWED_OBJECT = 1; // 0x1 field public static final int FLAG_PROPAGATE_ALLOW_BLOCKING = 2; // 0x2 } public class ParcelFileDescriptor implements java.io.Closeable android.os.Parcelable { method public static java.io.File getFile(java.io.FileDescriptor) throws java.io.IOException; } public static class PerformanceHintManager.Session implements java.io.Closeable { method @Nullable public int[] getThreadIds(); method public void sendHint(int); field public static final int CPU_LOAD_DOWN = 1; // 0x1 field public static final int CPU_LOAD_RESET = 2; // 0x2 field public static final int CPU_LOAD_RESUME = 3; // 0x3 field public static final int CPU_LOAD_UP = 0; // 0x0 field public static final int GPU_LOAD_DOWN = 6; // 0x6 field public static final int GPU_LOAD_RESET = 7; // 0x7 field public static final int GPU_LOAD_UP = 5; // 0x5 } public final class PowerManager { method public boolean areAutoPowerSaveModesEnabled(); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_LOW_POWER_STANDBY, android.Manifest.permission.DEVICE_POWER}) public void forceLowPowerStandbyActive(boolean); field public static final String ACTION_ENHANCED_DISCHARGE_PREDICTION_CHANGED = "android.os.action.ENHANCED_DISCHARGE_PREDICTION_CHANGED"; field @RequiresPermission(android.Manifest.permission.DEVICE_POWER) public static final int SYSTEM_WAKELOCK = -2147483648; // 0x80000000 } public class Process { method public static final int getThreadScheduler(int) throws java.lang.IllegalArgumentException; method public static final int toSdkSandboxUid(int); field public static final int FIRST_APP_ZYGOTE_ISOLATED_UID = 90000; // 0x15f90 field public static final int FIRST_ISOLATED_UID = 99000; // 0x182b8 field public static final int LAST_APP_ZYGOTE_ISOLATED_UID = 98999; // 0x182b7 field public static final int LAST_ISOLATED_UID = 99999; // 0x1869f field public static final int NFC_UID = 1027; // 0x403 field public static final int NUM_UIDS_PER_APP_ZYGOTE = 100; // 0x64 field public static final int SDK_SANDBOX_VIRTUAL_UID = 1090; // 0x442 } public final class StrictMode { method public static void conditionallyCheckInstanceCounts(); method public static void setViolationLogger(android.os.StrictMode.ViolationLogger); } public static final class StrictMode.ViolationInfo implements android.os.Parcelable { ctor public StrictMode.ViolationInfo(android.os.Parcel); ctor public StrictMode.ViolationInfo(android.os.Parcel, boolean); method public int describeContents(); method public void dump(android.util.Printer, String); method public String getStackTrace(); method public Class getViolationClass(); method public String getViolationDetails(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public String broadcastIntentAction; field public int durationMillis; field public int numAnimationsRunning; field public long numInstances; field public String[] tags; field public int violationNumThisLoop; field public long violationUptimeMillis; } public static interface StrictMode.ViolationLogger { method public void log(android.os.StrictMode.ViolationInfo); } public static final class StrictMode.VmPolicy.Builder { method @NonNull public android.os.StrictMode.VmPolicy.Builder permitIncorrectContextUse(); } public final class UserHandle implements android.os.Parcelable { method public static int getUid(int, int); method public static int getUserId(int); method public static boolean isApp(int); field public static final int MIN_SECONDARY_USER_ID = 10; // 0xa field public static final int USER_ALL = -1; // 0xffffffff field public static final int USER_CURRENT = -2; // 0xfffffffe field public static final int USER_NULL = -10000; // 0xffffd8f0 field public static final int USER_SYSTEM = 0; // 0x0 } public class UserManager { method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}, conditional=true) public boolean canAddPrivateProfile(); 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[]); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public android.content.pm.UserInfo createRestrictedProfile(@Nullable String); 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); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public java.util.List getAliveUsers(); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public android.os.UserHandle getBootUser(); method public int getMainDisplayIdAssignedToUser(); method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public java.util.Set getPreInstallableSystemPackages(@NonNull String); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS, android.Manifest.permission.QUERY_USERS}) public String getUserType(); method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public java.util.List getUsers(); method @Deprecated @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public java.util.List getUsers(boolean, boolean, boolean); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean hasBaseUserRestriction(@NonNull String, @NonNull android.os.UserHandle); method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public boolean isUserTypeEnabled(@NonNull String); method public boolean isVisibleBackgroundUsersOnDefaultDisplaySupported(); method public boolean isVisibleBackgroundUsersSupported(); method @Deprecated @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.CREATE_USERS}) public android.content.pm.UserInfo preCreateUser(@NonNull String) throws android.os.UserManager.UserOperationException; } public final class VibrationAttributes implements android.os.Parcelable { method public int getAudioUsage(); } public abstract class VibrationEffect implements android.os.Parcelable { method @Nullable public abstract long[] computeCreateWaveformOffOnTimingsOrNull(); method public static android.os.VibrationEffect get(int); method public static android.os.VibrationEffect get(int, boolean); method @Nullable public static android.os.VibrationEffect get(android.net.Uri, android.content.Context); method public abstract long getDuration(); method @NonNull public static android.os.VibrationEffect.WaveformBuilder startWaveform(); method @NonNull public static android.os.VibrationEffect.WaveformBuilder startWaveform(@NonNull android.os.VibrationEffect.VibrationParameter); method @NonNull public static android.os.VibrationEffect.WaveformBuilder startWaveform(@NonNull android.os.VibrationEffect.VibrationParameter, @NonNull android.os.VibrationEffect.VibrationParameter); field public static final int EFFECT_POP = 4; // 0x4 field public static final int EFFECT_STRENGTH_LIGHT = 0; // 0x0 field public static final int EFFECT_STRENGTH_MEDIUM = 1; // 0x1 field public static final int EFFECT_STRENGTH_STRONG = 2; // 0x2 field public static final int EFFECT_TEXTURE_TICK = 21; // 0x15 field public static final int EFFECT_THUD = 3; // 0x3 field public static final int[] RINGTONES; } public static final class VibrationEffect.Composed extends android.os.VibrationEffect { method @Nullable public long[] computeCreateWaveformOffOnTimingsOrNull(); method public long getDuration(); method public int getRepeatIndex(); method @NonNull public java.util.List getSegments(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class VibrationEffect.Composition { method @NonNull public android.os.VibrationEffect.Composition addEffect(@NonNull android.os.VibrationEffect); method @NonNull public android.os.VibrationEffect.Composition addOffDuration(@NonNull java.time.Duration); method @NonNull public android.os.VibrationEffect.Composition repeatEffectIndefinitely(@NonNull android.os.VibrationEffect); } public static final class VibrationEffect.Composition.UnreachableAfterRepeatingIndefinitelyException extends java.lang.IllegalStateException { } public static class VibrationEffect.VibrationParameter { method @NonNull public static android.os.VibrationEffect.VibrationParameter targetAmplitude(@FloatRange(from=0, to=1) float); method @NonNull public static android.os.VibrationEffect.VibrationParameter targetFrequency(@FloatRange(from=1) float); } public static final class VibrationEffect.WaveformBuilder { method @NonNull public android.os.VibrationEffect.WaveformBuilder addSustain(@NonNull java.time.Duration); method @NonNull public android.os.VibrationEffect.WaveformBuilder addTransition(@NonNull java.time.Duration, @NonNull android.os.VibrationEffect.VibrationParameter); method @NonNull public android.os.VibrationEffect.WaveformBuilder addTransition(@NonNull java.time.Duration, @NonNull android.os.VibrationEffect.VibrationParameter, @NonNull android.os.VibrationEffect.VibrationParameter); method @NonNull public android.os.VibrationEffect build(); } public abstract class Vibrator { method public int getDefaultVibrationIntensity(int); method @Nullable public android.os.vibrator.VibratorFrequencyProfile getFrequencyProfile(); method public boolean hasFrequencyControl(); field public static final int VIBRATION_INTENSITY_HIGH = 3; // 0x3 field public static final int VIBRATION_INTENSITY_LOW = 1; // 0x1 field public static final int VIBRATION_INTENSITY_MEDIUM = 2; // 0x2 field public static final int VIBRATION_INTENSITY_OFF = 0; // 0x0 } public class VintfObject { method public static String[] getHalNamesAndVersions(); method @NonNull public static String getPlatformSepolicyVersion(); method public static String getSepolicyVersion(); method public static Long getTargetFrameworkCompatibilityMatrixVersion(); method public static java.util.Map getVndkSnapshots(); method public static String[] report(); } public class VintfRuntimeInfo { method public static String getCpuInfo(); method public static String getHardwareId(); method public static String getKernelVersion(); method public static String getNodeName(); method public static String getOsName(); method public static String getOsRelease(); method public static String getOsVersion(); } public class WorkSource implements android.os.Parcelable { method public boolean add(int); method public boolean add(int, String); method @Deprecated public android.os.WorkSource addReturningNewbs(android.os.WorkSource); method @Deprecated public android.os.WorkSource[] setReturningDiffs(android.os.WorkSource); } } package android.os.health { public class HealthKeys { ctor public HealthKeys(); field public static final int BASE_PACKAGE = 40000; // 0x9c40 field public static final int BASE_PID = 20000; // 0x4e20 field public static final int BASE_PROCESS = 30000; // 0x7530 field public static final int BASE_SERVICE = 50000; // 0xc350 field public static final int BASE_UID = 10000; // 0x2710 field public static final int TYPE_COUNT = 5; // 0x5 field public static final int TYPE_MEASUREMENT = 1; // 0x1 field public static final int TYPE_MEASUREMENTS = 4; // 0x4 field public static final int TYPE_STATS = 2; // 0x2 field public static final int TYPE_TIMER = 0; // 0x0 field public static final int TYPE_TIMERS = 3; // 0x3 field public static final int UNKNOWN_KEY = 0; // 0x0 } @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target({java.lang.annotation.ElementType.FIELD}) public static @interface HealthKeys.Constant { method public abstract int type(); } public static class HealthKeys.Constants { ctor public HealthKeys.Constants(Class); method public String getDataType(); method public int getIndex(int, int); method public int[] getKeys(int); method public int getSize(int); } public class HealthStats { ctor public HealthStats(android.os.Parcel); } public class HealthStatsParceler implements android.os.Parcelable { ctor public HealthStatsParceler(android.os.health.HealthStatsWriter); ctor public HealthStatsParceler(android.os.Parcel); method public int describeContents(); method public android.os.health.HealthStats getHealthStats(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class HealthStatsWriter { ctor public HealthStatsWriter(android.os.health.HealthKeys.Constants); method public void addMeasurement(int, long); method public void addMeasurements(int, String, long); method public void addStats(int, String, android.os.health.HealthStatsWriter); method public void addTimer(int, int, long); method public void addTimers(int, String, android.os.health.TimerStat); method public void flattenToParcel(android.os.Parcel); } } package android.os.storage { public final class CrateInfo implements android.os.Parcelable { ctor public CrateInfo(@NonNull CharSequence, long); ctor public CrateInfo(@NonNull CharSequence); method @Nullable public static android.os.storage.CrateInfo copyFrom(int, @Nullable String, @Nullable String); method public int describeContents(); method public long getExpirationMillis(); method @NonNull public CharSequence getLabel(); method public void writeToParcel(@Nullable android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class StorageManager { method public long computeStorageCacheBytes(@NonNull java.io.File); method @NonNull public static java.util.UUID convert(@Nullable String); method @NonNull public static String convert(@NonNull java.util.UUID); method @Nullable public String getCloudMediaProvider(); method public boolean isAppIoBlocked(@NonNull java.util.UUID, int, int, int); field public static final String CACHE_RESERVE_PERCENT_HIGH_KEY = "cache_reserve_percent_high"; field public static final String CACHE_RESERVE_PERCENT_LOW_KEY = "cache_reserve_percent_low"; field public static final String STORAGE_THRESHOLD_PERCENT_HIGH_KEY = "storage_threshold_percent_high"; } public final class StorageVolume implements android.os.Parcelable { method public String getPath(); } public static final class StorageVolume.Builder { ctor public StorageVolume.Builder(@NonNull String, @NonNull java.io.File, @NonNull String, @NonNull android.os.UserHandle, @NonNull String); method @NonNull public android.os.storage.StorageVolume build(); method @NonNull public android.os.storage.StorageVolume.Builder setEmulated(boolean); method @NonNull public android.os.storage.StorageVolume.Builder setPrimary(boolean); method @NonNull public android.os.storage.StorageVolume.Builder setRemovable(boolean); method @NonNull public android.os.storage.StorageVolume.Builder setStorageUuid(@Nullable java.util.UUID); method @NonNull public android.os.storage.StorageVolume.Builder setUuid(@Nullable String); } } package android.os.vibrator { public final class PrebakedSegment extends android.os.vibrator.VibrationEffectSegment { method public int describeContents(); method public long getDuration(); method public int getEffectId(); method public int getEffectStrength(); method public boolean shouldFallback(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class PrimitiveSegment extends android.os.vibrator.VibrationEffectSegment { method public int describeContents(); method public int getDelay(); method public long getDuration(); method public int getPrimitiveId(); method public float getScale(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class RampSegment extends android.os.vibrator.VibrationEffectSegment { method public int describeContents(); method public long getDuration(); method public float getEndAmplitude(); method public float getEndFrequencyHz(); method public float getStartAmplitude(); method public float getStartFrequencyHz(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class StepSegment extends android.os.vibrator.VibrationEffectSegment { method public int describeContents(); method public float getAmplitude(); method public long getDuration(); method public float getFrequencyHz(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public abstract class VibrationEffectSegment implements android.os.Parcelable { method public abstract long getDuration(); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class VibratorFrequencyProfile { method public float getMaxAmplitudeMeasurementInterval(); method @FloatRange(from=0, to=1) @NonNull public float[] getMaxAmplitudeMeasurements(); method public float getMaxFrequency(); method public float getMinFrequency(); } } package android.os.vibrator.persistence { public class ParsedVibration { method @NonNull public java.util.List getVibrationEffects(); method @Nullable public android.os.VibrationEffect resolve(@NonNull android.os.Vibrator); } public final class VibrationXmlParser { method @Nullable public static android.os.vibrator.persistence.ParsedVibration parseDocument(@NonNull java.io.Reader) throws java.io.IOException; method @Nullable public static android.os.VibrationEffect parseVibrationEffect(@NonNull java.io.Reader) throws java.io.IOException; } public final class VibrationXmlSerializer { method public static void serialize(@NonNull android.os.VibrationEffect, @NonNull java.io.Writer) throws java.io.IOException, android.os.vibrator.persistence.VibrationXmlSerializer.SerializationFailedException; } public static final class VibrationXmlSerializer.SerializationFailedException extends java.lang.RuntimeException { } } package android.permission { public final class PermissionControllerManager { method @RequiresPermission(android.Manifest.permission.GET_RUNTIME_PERMISSIONS) public void countPermissionApps(@NonNull java.util.List, int, @NonNull android.permission.PermissionControllerManager.OnCountPermissionAppsResultCallback, @Nullable android.os.Handler); method @RequiresPermission(android.Manifest.permission.GET_RUNTIME_PERMISSIONS) public void getAppPermissions(@NonNull String, @NonNull android.permission.PermissionControllerManager.OnGetAppPermissionResultCallback, @Nullable android.os.Handler); method @RequiresPermission(android.Manifest.permission.REVOKE_RUNTIME_PERMISSIONS) public void revokeRuntimePermission(@NonNull String, @NonNull String); } public static interface PermissionControllerManager.OnCountPermissionAppsResultCallback { method public void onCountPermissionApps(int); } public static interface PermissionControllerManager.OnGetAppPermissionResultCallback { method public void onGetAppPermissions(@NonNull java.util.List); } public final class PermissionManager { method @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public java.util.List getIndicatorAppOpUsageData(); method @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public java.util.List getIndicatorAppOpUsageData(boolean); method public boolean isRegisteredAttributionSource(@NonNull android.content.AttributionSource); method @NonNull public android.content.AttributionSource registerAttributionSource(@NonNull android.content.AttributionSource); method @RequiresPermission(android.Manifest.permission.REVOKE_POST_NOTIFICATIONS_WITHOUT_KILL) public void revokePostNotificationPermissionWithoutKillForTest(@NonNull String, int); } } package android.print { public final class PrintJobInfo implements android.os.Parcelable { method public float getProgress(); method @Nullable public CharSequence getStatus(@NonNull android.content.pm.PackageManager); } public final class PrinterInfo implements android.os.Parcelable { method @Nullable public android.graphics.drawable.Drawable loadIcon(@NonNull android.content.Context); } } package android.provider { public interface AndroidDeviceConfig { field public static final String KEY_SYSTEM_GESTURES_EXCLUDED_BY_PRE_Q_STICKY_IMMERSIVE = "system_gestures_excluded_by_pre_q_sticky_immersive"; field public static final String KEY_SYSTEM_GESTURE_EXCLUSION_LIMIT_DP = "system_gesture_exclusion_limit_dp"; } public static final class CalendarContract.Calendars implements android.provider.BaseColumns android.provider.CalendarContract.CalendarColumns android.provider.CalendarContract.SyncColumns { field public static final String[] SYNC_WRITABLE_COLUMNS; } public static final class CalendarContract.Events implements android.provider.BaseColumns android.provider.CalendarContract.CalendarColumns android.provider.CalendarContract.EventsColumns android.provider.CalendarContract.SyncColumns { field public static final String[] SYNC_WRITABLE_COLUMNS; } public final class ContactsContract { field public static final String HIDDEN_COLUMN_PREFIX = "x_"; } public static final class ContactsContract.PinnedPositions { field public static final String UNDEMOTE_METHOD = "undemote"; } public static final class ContactsContract.RawContactsEntity implements android.provider.BaseColumns android.provider.ContactsContract.DataColumns android.provider.ContactsContract.RawContactsColumns { field public static final android.net.Uri CORP_CONTENT_URI; } public interface InputMethodManagerDeviceConfig { field public static final String KEY_HIDE_IME_WHEN_NO_EDITOR_FOCUS = "hide_ime_when_no_editor_focus"; } public final class Settings { field public static final int RESET_MODE_PACKAGE_DEFAULTS = 1; // 0x1 } public static final class Settings.Global extends android.provider.Settings.NameValueTable { field public static final String APP_OPS_CONSTANTS = "app_ops_constants"; field public static final String ARE_USER_DISABLED_HDR_FORMATS_ALLOWED = "are_user_disabled_hdr_formats_allowed"; field public static final String AUTOMATIC_POWER_SAVE_MODE = "automatic_power_save_mode"; field public static final String BATTERY_SAVER_CONSTANTS = "battery_saver_constants"; field public static final String DEVELOPMENT_ENABLE_NON_RESIZABLE_MULTI_WINDOW = "enable_non_resizable_multi_window"; field public static final String DISABLE_WINDOW_BLURS = "disable_window_blurs"; field public static final String DYNAMIC_POWER_SAVINGS_DISABLE_THRESHOLD = "dynamic_power_savings_disable_threshold"; field public static final String DYNAMIC_POWER_SAVINGS_ENABLED = "dynamic_power_savings_enabled"; field public static final String HDR_CONVERSION_MODE = "hdr_conversion_mode"; field public static final String HDR_FORCE_CONVERSION_TYPE = "hdr_force_conversion_type"; field public static final String HIDDEN_API_BLACKLIST_EXEMPTIONS = "hidden_api_blacklist_exemptions"; field public static final String HIDDEN_API_POLICY = "hidden_api_policy"; field public static final String HIDE_ERROR_DIALOGS = "hide_error_dialogs"; field @Deprecated public static final String LOCATION_IGNORE_SETTINGS_PACKAGE_WHITELIST = "location_ignore_settings_package_whitelist"; field public static final String LOW_POWER_MODE = "low_power"; field public static final String LOW_POWER_MODE_STICKY = "low_power_sticky"; field @Deprecated public static final String NOTIFICATION_BUBBLES = "notification_bubbles"; field public static final String OVERLAY_DISPLAY_DEVICES = "overlay_display_devices"; field public static final String SHOW_FIRST_CRASH_DIALOG = "show_first_crash_dialog"; field public static final String USER_DISABLED_HDR_FORMATS = "user_disabled_hdr_formats"; field public static final String USER_PREFERRED_REFRESH_RATE = "user_preferred_refresh_rate"; field public static final String USER_PREFERRED_RESOLUTION_HEIGHT = "user_preferred_resolution_height"; field public static final String USER_PREFERRED_RESOLUTION_WIDTH = "user_preferred_resolution_width"; field @Deprecated public static final String USE_OPEN_WIFI_PACKAGE = "use_open_wifi_package"; } public static final class Settings.Secure extends android.provider.Settings.NameValueTable { field public static final String ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED = "accessibility_display_magnification_enabled"; field public static final String ACCESSIBILITY_MAGNIFICATION_CAPABILITY = "accessibility_magnification_capability"; field public static final String ACCESSIBILITY_MAGNIFICATION_MODE = "accessibility_magnification_mode"; field public static final int ACCESSIBILITY_MAGNIFICATION_MODE_ALL = 3; // 0x3 field public static final int ACCESSIBILITY_MAGNIFICATION_MODE_FULLSCREEN = 1; // 0x1 field public static final int ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW = 2; // 0x2 field public static final String ACCESSIBILITY_SHORTCUT_TARGET_SERVICE = "accessibility_shortcut_target_service"; field public static final String ANR_SHOW_BACKGROUND = "anr_show_background"; field public static final String AUTOFILL_SERVICE = "autofill_service"; field public static final String BIOMETRIC_VIRTUAL_ENABLED = "biometric_virtual_enabled"; field public static final String CONTENT_CAPTURE_ENABLED = "content_capture_enabled"; field public static final String DISABLED_PRINT_SERVICES = "disabled_print_services"; field @Deprecated public static final String ENABLED_NOTIFICATION_POLICY_ACCESS_PACKAGES = "enabled_notification_policy_access_packages"; field public static final String ENABLED_VR_LISTENERS = "enabled_vr_listeners"; field public static final String IMMERSIVE_MODE_CONFIRMATIONS = "immersive_mode_confirmations"; field public static final String NOTIFICATION_BADGING = "notification_badging"; field public static final String NOTIFICATION_BUBBLES = "notification_bubbles"; field public static final String POWER_MENU_LOCKED_SHOW_CONTENT = "power_menu_locked_show_content"; field public static final String SELECTED_SPELL_CHECKER = "selected_spell_checker"; field public static final String SELECTED_SPELL_CHECKER_SUBTYPE = "selected_spell_checker_subtype"; field public static final String SHOW_FIRST_CRASH_DIALOG_DEV_OPTION = "show_first_crash_dialog_dev_option"; field public static final String SHOW_IME_WITH_HARD_KEYBOARD = "show_ime_with_hard_keyboard"; field public static final String STYLUS_BUTTONS_ENABLED = "stylus_buttons_enabled"; field public static final int STYLUS_HANDWRITING_DEFAULT_VALUE = 1; // 0x1 field public static final String STYLUS_HANDWRITING_ENABLED = "stylus_handwriting_enabled"; field @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static final String SYNC_PARENT_SOUNDS = "sync_parent_sounds"; field public static final String VOICE_INTERACTION_SERVICE = "voice_interaction_service"; } public static final class Settings.System extends android.provider.Settings.NameValueTable { field public static final String POINTER_SPEED = "pointer_speed"; } public static final class Telephony.Sms.Intents { field public static final String SMS_CARRIER_PROVISION_ACTION = "android.provider.Telephony.SMS_CARRIER_PROVISION"; } public static final class VoicemailContract.Voicemails implements android.provider.BaseColumns android.provider.OpenableColumns { field public static final String _DATA = "_data"; } } package android.security { public final class KeyChain { method @RequiresPermission("android.permission.MANAGE_CREDENTIAL_MANAGEMENT_APP") @WorkerThread public static boolean setCredentialManagementApp(@NonNull android.content.Context, @NonNull String, @NonNull android.security.AppUriAuthenticationPolicy); } public class KeyStoreException extends java.lang.Exception { method public int getErrorCode(); method public static boolean hasFailureInfoForError(int); } } package android.security.keystore { public static final class KeyGenParameterSpec.Builder { method @NonNull public android.security.keystore.KeyGenParameterSpec.Builder setUniqueIdIncluded(boolean); } public final class KeyProtection implements java.security.KeyStore.ProtectionParameter { method public long getBoundToSpecificSecureUserId(); } public static final class KeyProtection.Builder { method public android.security.keystore.KeyProtection.Builder setBoundToSpecificSecureUserId(long); } } package android.service.autofill { public final class CharSequenceTransformation extends android.service.autofill.InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation { method public void apply(@NonNull android.service.autofill.ValueFinder, @NonNull android.widget.RemoteViews, int) throws java.lang.Exception; } public final class CompositeUserData implements android.os.Parcelable { ctor public CompositeUserData(@Nullable android.service.autofill.UserData, @NonNull android.service.autofill.UserData); method public int describeContents(); method public String[] getCategoryIds(); method public android.os.Bundle getDefaultFieldClassificationArgs(); method @Nullable public String getFieldClassificationAlgorithm(); method @Nullable public String getFieldClassificationAlgorithmForCategory(@NonNull String); method public android.util.ArrayMap getFieldClassificationAlgorithms(); method public android.util.ArrayMap getFieldClassificationArgs(); method public String[] getValues(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class CustomDescription implements android.os.Parcelable { method @Nullable public android.util.SparseArray getActions(); } public final class Dataset implements android.os.Parcelable { method @Nullable public android.content.IntentSender getAuthentication(); method @Nullable public java.util.ArrayList getAutofillDatatypes(); method @Nullable public android.content.ClipData getFieldContent(); method @Nullable public android.widget.RemoteViews getFieldDialogPresentation(int); method @Nullable public java.util.ArrayList getFieldIds(); method @Nullable public android.service.autofill.InlinePresentation getFieldInlinePresentation(int); method @Nullable public android.service.autofill.InlinePresentation getFieldInlineTooltipPresentation(int); method @Nullable public android.widget.RemoteViews getFieldPresentation(int); method @Nullable public java.util.ArrayList getFieldValues(); method @Nullable public android.service.autofill.Dataset.DatasetFieldFilter getFilter(int); method @Nullable public String getId(); method public boolean isEmpty(); } public static final class Dataset.Builder { method @NonNull public android.service.autofill.Dataset.Builder setContent(@NonNull android.view.autofill.AutofillId, @Nullable android.content.ClipData); } public static final class Dataset.DatasetFieldFilter implements android.os.Parcelable { method public int describeContents(); method @Nullable public java.util.regex.Pattern getPattern(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class DateTransformation extends android.service.autofill.InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation { method public void apply(@NonNull android.service.autofill.ValueFinder, @NonNull android.widget.RemoteViews, int) throws java.lang.Exception; } public final class DateValueSanitizer extends android.service.autofill.InternalSanitizer implements android.os.Parcelable android.service.autofill.Sanitizer { method @Nullable public android.view.autofill.AutofillValue sanitize(@NonNull android.view.autofill.AutofillValue); } public final class FillResponse implements android.os.Parcelable { method @NonNull public java.util.Set getDetectedFieldClassifications(); method public int getFlags(); } public final class ImageTransformation extends android.service.autofill.InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation { method public void apply(@NonNull android.service.autofill.ValueFinder, @NonNull android.widget.RemoteViews, int) throws java.lang.Exception; } public abstract class InternalOnClickAction implements android.service.autofill.OnClickAction android.os.Parcelable { ctor public InternalOnClickAction(); method public abstract void onClick(@NonNull android.view.ViewGroup); } public abstract class InternalSanitizer implements android.os.Parcelable android.service.autofill.Sanitizer { ctor public InternalSanitizer(); method @Nullable public abstract android.view.autofill.AutofillValue sanitize(@NonNull android.view.autofill.AutofillValue); } public abstract class InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation { ctor public InternalTransformation(); method public static boolean batchApply(@NonNull android.service.autofill.ValueFinder, @NonNull android.widget.RemoteViews, @NonNull java.util.ArrayList>); } public abstract class InternalValidator implements android.os.Parcelable android.service.autofill.Validator { ctor public InternalValidator(); method public abstract boolean isValid(@NonNull android.service.autofill.ValueFinder); } public final class LuhnChecksumValidator extends android.service.autofill.InternalValidator implements android.os.Parcelable android.service.autofill.Validator { method public boolean isValid(@NonNull android.service.autofill.ValueFinder); } public final class RegexValidator extends android.service.autofill.InternalValidator implements android.os.Parcelable android.service.autofill.Validator { method public boolean isValid(@NonNull android.service.autofill.ValueFinder); } public final class TextValueSanitizer extends android.service.autofill.InternalSanitizer implements android.os.Parcelable android.service.autofill.Sanitizer { method @Nullable public android.view.autofill.AutofillValue sanitize(@NonNull android.view.autofill.AutofillValue); } public final class UserData implements android.os.Parcelable { method public android.util.ArrayMap getFieldClassificationAlgorithms(); } public interface ValueFinder { method @Nullable public default String findByAutofillId(@NonNull android.view.autofill.AutofillId); method @Nullable public android.view.autofill.AutofillValue findRawValueByAutofillId(@NonNull android.view.autofill.AutofillId); } public final class VisibilitySetterAction extends android.service.autofill.InternalOnClickAction implements android.service.autofill.OnClickAction android.os.Parcelable { method public void onClick(@NonNull android.view.ViewGroup); } } package android.service.autofill.augmented { public final class FillRequest { method @NonNull public android.content.ComponentName getActivityComponent(); method @NonNull public android.view.autofill.AutofillId getFocusedId(); method @NonNull public android.view.autofill.AutofillValue getFocusedValue(); method @Nullable public android.app.assist.AssistStructure.ViewNode getFocusedViewNode(); method @Nullable public android.view.inputmethod.InlineSuggestionsRequest getInlineSuggestionsRequest(); method @Nullable public android.service.autofill.augmented.PresentationParams getPresentationParams(); method public int getTaskId(); } } package android.service.chooser { public final class ChooserResult implements android.os.Parcelable { ctor public ChooserResult(int, @Nullable android.content.ComponentName, boolean); } } package android.service.dreams { public abstract class DreamOverlayService extends android.app.Service { ctor public DreamOverlayService(); method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent); method public void onEndDream(); method public abstract void onStartDream(@NonNull android.view.WindowManager.LayoutParams); method public final void requestExit(); method public final boolean shouldShowComplications(); } public class DreamService extends android.app.Service implements android.view.Window.Callback { method @Nullable public static android.service.dreams.DreamService.DreamMetadata getDreamMetadata(@NonNull android.content.Context, @Nullable android.content.pm.ServiceInfo); } public static final class DreamService.DreamMetadata { field @NonNull public final int dreamCategory; field @Nullable public final android.graphics.drawable.Drawable previewImage; field @Nullable public final android.content.ComponentName settingsActivity; field @NonNull public final boolean showComplications; } } package android.service.notification { @Deprecated public abstract class ConditionProviderService extends android.app.Service { method @Deprecated public boolean isBound(); } public final class ZenDeviceEffects implements android.os.Parcelable { method @NonNull public java.util.Set getExtraEffects(); } public static final class ZenDeviceEffects.Builder { method @NonNull public android.service.notification.ZenDeviceEffects.Builder setExtraEffects(@NonNull java.util.Set); } public final class ZenPolicy implements android.os.Parcelable { method @NonNull public android.service.notification.ZenPolicy overwrittenWith(@Nullable android.service.notification.ZenPolicy); } public static final class ZenPolicy.Builder { ctor public ZenPolicy.Builder(@Nullable android.service.notification.ZenPolicy); } } package android.service.ondeviceintelligence { public abstract class OnDeviceIntelligenceService extends android.app.Service { method public void onReady(); } } package android.service.quickaccesswallet { public interface QuickAccessWalletClient extends java.io.Closeable { method public void addWalletServiceEventListener(@NonNull android.service.quickaccesswallet.QuickAccessWalletClient.WalletServiceEventListener); method public void addWalletServiceEventListener(@NonNull java.util.concurrent.Executor, @NonNull android.service.quickaccesswallet.QuickAccessWalletClient.WalletServiceEventListener); method @NonNull public static android.service.quickaccesswallet.QuickAccessWalletClient create(@NonNull android.content.Context); method @Nullable public android.content.Intent createWalletIntent(); method @Nullable public android.content.Intent createWalletSettingsIntent(); method public void disconnect(); method public void getWalletCards(@NonNull android.service.quickaccesswallet.GetWalletCardsRequest, @NonNull android.service.quickaccesswallet.QuickAccessWalletClient.OnWalletCardsRetrievedCallback); method public void getWalletCards(@NonNull java.util.concurrent.Executor, @NonNull android.service.quickaccesswallet.GetWalletCardsRequest, @NonNull android.service.quickaccesswallet.QuickAccessWalletClient.OnWalletCardsRetrievedCallback); method public void getWalletPendingIntent(@NonNull java.util.concurrent.Executor, @NonNull android.service.quickaccesswallet.QuickAccessWalletClient.WalletPendingIntentCallback); method public boolean isWalletFeatureAvailable(); method public boolean isWalletFeatureAvailableWhenDeviceLocked(); method public boolean isWalletServiceAvailable(); method public void notifyWalletDismissed(); method public void removeWalletServiceEventListener(@NonNull android.service.quickaccesswallet.QuickAccessWalletClient.WalletServiceEventListener); method public void selectWalletCard(@NonNull android.service.quickaccesswallet.SelectWalletCardRequest); } public static interface QuickAccessWalletClient.OnWalletCardsRetrievedCallback { method public void onWalletCardRetrievalError(@NonNull android.service.quickaccesswallet.GetWalletCardsError); method public void onWalletCardsRetrieved(@NonNull android.service.quickaccesswallet.GetWalletCardsResponse); } public static interface QuickAccessWalletClient.WalletPendingIntentCallback { method public void onWalletPendingIntentRetrieved(@Nullable android.app.PendingIntent); } public static interface QuickAccessWalletClient.WalletServiceEventListener { method public void onWalletServiceEvent(@NonNull android.service.quickaccesswallet.WalletServiceEvent); } } package android.service.quicksettings { public class TileService extends android.app.Service { method public static boolean isQuickSettingsSupported(); } } package android.service.voice { public class AlwaysOnHotwordDetector implements android.service.voice.HotwordDetector { method public void overrideAvailability(int); method public void resetAvailability(); method @RequiresPermission(allOf={android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAPTURE_AUDIO_HOTWORD}) public void triggerHardwareRecognitionEventForTest(int, int, long, boolean, int, int, int, boolean, @NonNull android.media.AudioFormat, @Nullable byte[], @NonNull java.util.List); } public static final class AlwaysOnHotwordDetector.EventPayload.Builder { ctor public AlwaysOnHotwordDetector.EventPayload.Builder(); method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload build(); method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setAudioStream(@NonNull android.os.ParcelFileDescriptor); method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setCaptureAudioFormat(@NonNull android.media.AudioFormat); method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setCaptureAvailable(boolean); method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setCaptureSession(int); method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setData(@NonNull byte[]); method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setDataFormat(int); method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setHalEventReceivedMillis(long); method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setHotwordDetectedResult(@NonNull android.service.voice.HotwordDetectedResult); method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setIsRecognitionStopped(boolean); method @NonNull public android.service.voice.AlwaysOnHotwordDetector.EventPayload.Builder setKeyphraseRecognitionExtras(@NonNull java.util.List); } public abstract class HotwordDetectionService extends android.app.Service implements android.service.voice.SandboxedDetectionInitializer { field public static final boolean ENABLE_PROXIMITY_RESULT = true; } public final class HotwordDetectionServiceFailure implements android.os.Parcelable { ctor public HotwordDetectionServiceFailure(int, @NonNull String); } public final class SoundTriggerFailure implements android.os.Parcelable { ctor public SoundTriggerFailure(int, @NonNull String); } public final class VisibleActivityInfo implements android.os.Parcelable { ctor public VisibleActivityInfo(int, @NonNull android.os.IBinder); } public final class VisualQueryDetectionServiceFailure implements android.os.Parcelable { ctor public VisualQueryDetectionServiceFailure(int, @NonNull String); } public class VoiceInteractionService extends android.app.Service { method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_HOTWORD_DETECTION) public final android.service.voice.AlwaysOnHotwordDetector createAlwaysOnHotwordDetectorForTest(@NonNull String, @NonNull java.util.Locale, @NonNull android.hardware.soundtrigger.SoundTrigger.ModuleProperties, @NonNull java.util.concurrent.Executor, @NonNull android.service.voice.AlwaysOnHotwordDetector.Callback); method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_HOTWORD_DETECTION) public final android.service.voice.AlwaysOnHotwordDetector createAlwaysOnHotwordDetectorForTest(@NonNull String, @NonNull java.util.Locale, @Nullable android.os.PersistableBundle, @Nullable android.os.SharedMemory, @NonNull android.hardware.soundtrigger.SoundTrigger.ModuleProperties, @NonNull java.util.concurrent.Executor, @NonNull android.service.voice.AlwaysOnHotwordDetector.Callback); method @NonNull public final java.util.List listModuleProperties(); method public final void setTestModuleForAlwaysOnHotwordDetectorEnabled(boolean); } public static class VoiceInteractionSession.ActivityId { method @NonNull public android.os.IBinder getAssistToken(); method public int getTaskId(); } } package android.service.watchdog { public abstract class ExplicitHealthCheckService extends android.app.Service { method public void setCallback(@Nullable android.os.RemoteCallback); } } package android.speech { public abstract class RecognitionService extends android.app.Service { method public void onBindInternal(); } public class SpeechRecognizer { method @MainThread @NonNull public static android.speech.SpeechRecognizer createOnDeviceTestingSpeechRecognizer(@NonNull android.content.Context); method @RequiresPermission(android.Manifest.permission.MANAGE_SPEECH_RECOGNITION) public void setTemporaryOnDeviceRecognizer(@Nullable android.content.ComponentName); } } package android.telecom { public static class Call.Details { method public String getTelecomCallId(); } public final class CallAudioState implements android.os.Parcelable { ctor public CallAudioState(boolean, int, int, @Nullable android.bluetooth.BluetoothDevice, @NonNull java.util.Collection); } public static final class ConnectionRequest.Builder { ctor public ConnectionRequest.Builder(); method @NonNull public android.telecom.ConnectionRequest build(); method @NonNull public android.telecom.ConnectionRequest.Builder setAccountHandle(@NonNull android.telecom.PhoneAccountHandle); method @NonNull public android.telecom.ConnectionRequest.Builder setAddress(@NonNull android.net.Uri); method @NonNull public android.telecom.ConnectionRequest.Builder setExtras(@NonNull android.os.Bundle); method @NonNull public android.telecom.ConnectionRequest.Builder setIsAdhocConferenceCall(boolean); method @NonNull public android.telecom.ConnectionRequest.Builder setParticipants(@Nullable java.util.List); method @NonNull public android.telecom.ConnectionRequest.Builder setRttPipeFromInCall(@NonNull android.os.ParcelFileDescriptor); method @NonNull public android.telecom.ConnectionRequest.Builder setRttPipeToInCall(@NonNull android.os.ParcelFileDescriptor); method @NonNull public android.telecom.ConnectionRequest.Builder setShouldShowIncomingCallUi(boolean); method @NonNull public android.telecom.ConnectionRequest.Builder setTelecomCallId(@NonNull String); method @NonNull public android.telecom.ConnectionRequest.Builder setVideoState(int); } public abstract class ConnectionService extends android.app.Service { method public void onBindClient(@Nullable android.content.Intent); } } package android.telephony { public final class BarringInfo implements android.os.Parcelable { ctor public BarringInfo(@Nullable android.telephony.CellIdentity, @NonNull android.util.SparseArray); } public static final class BarringInfo.BarringServiceInfo implements android.os.Parcelable { ctor public BarringInfo.BarringServiceInfo(int, boolean, int, int); } public class MbmsDownloadSession implements java.lang.AutoCloseable { field public static final String MBMS_DOWNLOAD_SERVICE_OVERRIDE_METADATA = "mbms-download-service-override"; } public class MbmsGroupCallSession implements java.lang.AutoCloseable { field public static final String MBMS_GROUP_CALL_SERVICE_OVERRIDE_METADATA = "mbms-group-call-service-override"; } public class MbmsStreamingSession implements java.lang.AutoCloseable { field public static final String MBMS_STREAMING_SERVICE_OVERRIDE_METADATA = "mbms-streaming-service-override"; } public final class ModemActivityInfo implements android.os.Parcelable { ctor public ModemActivityInfo(long, int, int, @NonNull int[], int); method public boolean isEmpty(); method public boolean isValid(); } public class PhoneNumberUtils { method public static int getMinMatchForTest(); method public static void setMinMatchForTest(int); } public final class PreciseDataConnectionState implements android.os.Parcelable { ctor @Deprecated public PreciseDataConnectionState(int, int, int, @NonNull String, @Nullable android.net.LinkProperties, int); } public class ServiceState implements android.os.Parcelable { method public void addNetworkRegistrationInfo(android.telephony.NetworkRegistrationInfo); method public int getDataNetworkType(); method public int getDataRegState(); method public void setCdmaSystemAndNetworkId(int, int); method public void setCellBandwidths(int[]); method public void setChannelNumber(int); method public void setDataRoamingType(int); method public void setRilDataRadioTechnology(int); method public void setRilVoiceRadioTechnology(int); method public void setVoiceRoamingType(int); } public final class SmsManager { method @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public int checkSmsShortCodeDestination(String, String); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void clearStorageMonitorMemoryStatusOverride(); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setStorageMonitorMemoryStatusOverride(boolean); field public static final int SMS_CATEGORY_FREE_SHORT_CODE = 1; // 0x1 field public static final int SMS_CATEGORY_NOT_SHORT_CODE = 0; // 0x0 field public static final int SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE = 3; // 0x3 field public static final int SMS_CATEGORY_PREMIUM_SHORT_CODE = 4; // 0x4 field public static final int SMS_CATEGORY_STANDARD_SHORT_CODE = 2; // 0x2 } public class TelephonyManager { method public int addDevicePolicyOverrideApn(@NonNull android.content.Context, @NonNull android.telephony.data.ApnSetting); method public int getCarrierIdListVersion(); method @NonNull @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public java.util.List getCertsFromCarrierPrivilegeAccessRules(); method @NonNull public java.util.List getDevicePolicyOverrideApns(@NonNull android.content.Context); method @NonNull public android.util.Pair getHalVersion(int); method @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public String getLine1AlphaTag(); method @Deprecated public android.util.Pair getRadioHalVersion(); method public boolean modifyDevicePolicyOverrideApn(@NonNull android.content.Context, int, @NonNull android.telephony.data.ApnSetting); method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void refreshUiccProfile(); method @Deprecated public void setCarrierTestOverride(String, String, String, String, String, String, String); method public void setCarrierTestOverride(String, String, String, String, String, String, String, String, String); field public static final int HAL_SERVICE_DATA = 1; // 0x1 field public static final int HAL_SERVICE_IMS = 7; // 0x7 field public static final int HAL_SERVICE_MESSAGING = 2; // 0x2 field public static final int HAL_SERVICE_MODEM = 3; // 0x3 field public static final int HAL_SERVICE_NETWORK = 4; // 0x4 field public static final int HAL_SERVICE_SIM = 5; // 0x5 field public static final int HAL_SERVICE_VOICE = 6; // 0x6 field public static final android.util.Pair HAL_VERSION_UNKNOWN; field public static final android.util.Pair HAL_VERSION_UNSUPPORTED; field public static final int UNKNOWN_CARRIER_ID_LIST_VERSION = -1; // 0xffffffff } } package android.telephony.emergency { public final class EmergencyNumber implements java.lang.Comparable android.os.Parcelable { field public static final int EMERGENCY_NUMBER_SOURCE_TEST = 32; // 0x20 } } package android.telephony.ims { public final class ImsCallProfile implements android.os.Parcelable { field public static final String EXTRA_OEM_EXTRAS = "android.telephony.ims.extra.OEM_EXTRAS"; } } package android.telephony.ims.feature { @Deprecated public static class ImsFeature.Capabilities { field @Deprecated protected int mCapabilities; } public static class MmTelFeature.MmTelCapabilities extends android.telephony.ims.feature.ImsFeature.Capabilities { } } package android.text { public final class FontConfig implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getAliases(); method @IntRange(from=0) public int getConfigVersion(); method @NonNull public java.util.List getFontFamilies(); method public long getLastModifiedTimeMillis(); method @NonNull public java.util.List getNamedFamilyLists(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class FontConfig.Alias implements android.os.Parcelable { method public int describeContents(); method @NonNull public String getName(); method @NonNull public String getOriginal(); method @IntRange(from=0, to=1000) public int getWeight(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class FontConfig.Font implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.io.File getFile(); method @Nullable public String getFontFamilyName(); method @NonNull public String getFontVariationSettings(); method @NonNull public String getPostScriptName(); method @NonNull public android.graphics.fonts.FontStyle getStyle(); method public int getTtcIndex(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class FontConfig.FontFamily implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getFontList(); method @NonNull public android.os.LocaleList getLocaleList(); method @Deprecated @Nullable public String getName(); method public int getVariant(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int VARIANT_COMPACT = 1; // 0x1 field public static final int VARIANT_DEFAULT = 0; // 0x0 field public static final int VARIANT_ELEGANT = 2; // 0x2 } public static final class FontConfig.NamedFamilyList implements android.os.Parcelable { method public int describeContents(); method @NonNull public java.util.List getFamilies(); method @NonNull public String getName(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class MeasuredParagraph { method @NonNull public static android.text.MeasuredParagraph buildForStaticLayoutTest(@NonNull android.text.TextPaint, @Nullable android.graphics.text.LineBreakConfig, @NonNull CharSequence, @IntRange(from=0) int, @IntRange(from=0) int, @NonNull android.text.TextDirectionHeuristic, int, boolean, @Nullable android.text.MeasuredParagraph.StyleRunCallback); } public static interface MeasuredParagraph.StyleRunCallback { method public void onAppendReplacementRun(@NonNull android.graphics.Paint, @IntRange(from=0) int, @FloatRange(from=0) @Px float); method public void onAppendStyleRun(@NonNull android.graphics.Paint, @Nullable android.graphics.text.LineBreakConfig, @IntRange(from=0) int, boolean); } public static final class Selection.MemoryTextWatcher implements android.text.TextWatcher { ctor public Selection.MemoryTextWatcher(); method public void afterTextChanged(android.text.Editable); method public void beforeTextChanged(CharSequence, int, int, int); method public void onTextChanged(CharSequence, int, int, int); } } package android.transition { public class TransitionManager { method public android.transition.Transition getTransition(android.transition.Scene); } } package android.util { public final class ArraySet implements java.util.Collection java.util.Set { method public E valueAtUnchecked(int); } public class FeatureFlagUtils { ctor public FeatureFlagUtils(); method public static java.util.Map getAllFeatureFlags(); method public static boolean isEnabled(android.content.Context, String); method public static void setEnabled(android.content.Context, String, boolean); field public static final String FFLAG_OVERRIDE_PREFIX = "sys.fflag.override."; field public static final String FFLAG_PREFIX = "sys.fflag."; field public static final String HEARING_AID_SETTINGS = "settings_bluetooth_hearing_aid"; field public static final String PERSIST_PREFIX = "persist.sys.fflag.override."; field public static final String SETTINGS_WIFITRACKER2 = "settings_wifitracker2"; } public class SparseArrayMap { ctor public SparseArrayMap(); method public V add(int, @NonNull K, @Nullable V); method public void clear(); method public boolean contains(int, @NonNull K); method public void delete(int); method @Nullable public V delete(int, @NonNull K); method public void forEach(@NonNull java.util.function.Consumer); method @Nullable public V get(int, @NonNull K); method @Nullable public V getOrDefault(int, @NonNull K, V); method public int indexOfKey(int); method public int indexOfKey(int, @NonNull K); method public int keyAt(int); method @NonNull public K keyAt(int, int); method public int numElementsForKey(int); method public int numMaps(); method @Nullable public V valueAt(int, int); } public class TimeUtils { method public static String formatDuration(long); } } package android.util.proto { public final class EncodedBuffer { ctor public EncodedBuffer(); ctor public EncodedBuffer(int); method public void dumpBuffers(String); method public static void dumpByteString(String, String, byte[]); method public void editRawFixed32(int, int); method public byte[] getBytes(int); method public int getChunkCount(); method public String getDebugString(); method public int getRawFixed32At(int); method public static int getRawVarint32Size(int); method public static int getRawVarint64Size(long); method public static int getRawZigZag32Size(int); method public static int getRawZigZag64Size(long); method public int getReadPos(); method public int getReadableSize(); method public int getSize(); method public int getWriteBufIndex(); method public int getWriteIndex(); method public int getWritePos(); method public byte readRawByte(); method public int readRawFixed32(); method public long readRawUnsigned(); method public void rewindRead(); method public void rewindWriteTo(int); method public void skipRead(int); method public void startEditing(); method public void writeFromThisBuffer(int, int); method public void writeRawBuffer(byte[]); method public void writeRawBuffer(byte[], int, int); method public void writeRawByte(byte); method public void writeRawFixed32(int); method public void writeRawFixed64(long); method public void writeRawVarint32(int); method public void writeRawVarint64(long); method public void writeRawZigZag32(int); method public void writeRawZigZag64(long); } public class ProtoParseException extends java.lang.RuntimeException { ctor public ProtoParseException(String); } public class WireTypeMismatchException extends android.util.proto.ProtoParseException { ctor public WireTypeMismatchException(String); } } package android.view { public abstract class ActionMode { method public boolean isUiFocusable(); } public final class Choreographer { method public static long getFrameDelay(); method public void postCallback(int, Runnable, Object); method public void postCallbackDelayed(int, Runnable, Object, long); method public void removeCallbacks(int, Runnable, Object); method public static void setFrameDelay(long); field public static final int CALLBACK_ANIMATION = 1; // 0x1 } public final class ContentInfo implements android.os.Parcelable { method @NonNull public android.util.Pair partition(@NonNull java.util.function.Predicate); method public void releasePermissions(); } public static final class ContentInfo.Builder { method @NonNull public android.view.ContentInfo.Builder setDragAndDropPermissions(@Nullable android.view.DragAndDropPermissions); method @NonNull public android.view.ContentInfo.Builder setInputContentInfo(@Nullable android.view.inputmethod.InputContentInfo); } public final class Display { method @RequiresPermission(android.Manifest.permission.MODIFY_USER_PREFERRED_DISPLAY_MODE) public void clearUserPreferredDisplayMode(); method @NonNull public android.view.Display.Mode getDefaultMode(); method public int getRemoveMode(); method @NonNull public int[] getReportedHdrTypes(); method @NonNull public android.graphics.ColorSpace[] getSupportedWideColorGamut(); method @Nullable public android.view.Display.Mode getSystemPreferredDisplayMode(); method public int getType(); method @Nullable public String getUniqueId(); method @Nullable public android.view.Display.Mode getUserPreferredDisplayMode(); method public boolean hasAccess(int); method @RequiresPermission(android.Manifest.permission.MODIFY_USER_PREFERRED_DISPLAY_MODE) public void setUserPreferredDisplayMode(@NonNull android.view.Display.Mode); field public static final int FLAG_TRUSTED = 128; // 0x80 field public static final int TYPE_EXTERNAL = 2; // 0x2 field public static final int TYPE_INTERNAL = 1; // 0x1 field public static final int TYPE_OVERLAY = 4; // 0x4 field public static final int TYPE_UNKNOWN = 0; // 0x0 field public static final int TYPE_VIRTUAL = 5; // 0x5 field public static final int TYPE_WIFI = 3; // 0x3 } public static final class Display.Mode implements android.os.Parcelable { ctor public Display.Mode(int, int, float); method public boolean matches(int, int, float); } public static final class Display.Mode.Builder { ctor public Display.Mode.Builder(); method @NonNull public android.view.Display.Mode build(); method @NonNull public android.view.Display.Mode.Builder setRefreshRate(float); method @NonNull public android.view.Display.Mode.Builder setResolution(int, int); } public final class DisplayShape implements android.os.Parcelable { method @NonNull public static android.view.DisplayShape fromSpecString(@NonNull String, float, int, int); } public class FocusFinder { method public static void sort(android.view.View[], int, int, android.view.ViewGroup, boolean); } public final class InputDevice implements android.os.Parcelable { method @RequiresPermission("android.permission.DISABLE_INPUT_DEVICE") public void disable(); method @RequiresPermission("android.permission.DISABLE_INPUT_DEVICE") public void enable(); method public int getAssociatedDisplayId(); method @NonNull public android.hardware.input.InputDeviceIdentifier getIdentifier(); method @Nullable public String getKeyboardLanguageTag(); method @Nullable public String getKeyboardLayoutType(); } public abstract class InputEvent implements android.os.Parcelable { method public abstract int getDisplayId(); method public abstract void setDisplayId(int); } public class KeyEvent extends android.view.InputEvent implements android.os.Parcelable { method public static String actionToString(int); method public final int getDisplayId(); method public final void setDisplayId(int); field public static final int FLAG_IS_ACCESSIBILITY_EVENT = 2048; // 0x800 field public static final int LAST_KEYCODE = 318; // 0x13e } public final class KeyboardShortcutGroup implements android.os.Parcelable { ctor public KeyboardShortcutGroup(@Nullable CharSequence, @NonNull java.util.List, boolean); ctor public KeyboardShortcutGroup(@Nullable CharSequence, boolean); method public boolean isSystemGroup(); } public final class MotionEvent extends android.view.InputEvent implements android.os.Parcelable { method public int getDisplayId(); method public void setActionButton(int); method public void setButtonState(int); method public void setDisplayId(int); field public static final int FLAG_IS_ACCESSIBILITY_EVENT = 2048; // 0x800 } public final class PointerIcon implements android.os.Parcelable { method public void setDrawNativeDropShadow(boolean); } @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target({java.lang.annotation.ElementType.METHOD}) public @interface RemotableViewMethod { method public abstract String asyncImpl() default ""; } public final class SurfaceControl implements android.os.Parcelable { ctor public SurfaceControl(@NonNull android.view.SurfaceControl, @NonNull String); method @NonNull public android.view.Choreographer getChoreographer(); method @NonNull public android.view.Choreographer getChoreographer(@NonNull android.os.Looper); method public boolean hasChoreographer(); method public boolean isSameSurface(@NonNull android.view.SurfaceControl); } public class SurfaceControlViewHost { method public void relayout(android.view.WindowManager.LayoutParams); method public void setView(@NonNull android.view.View, @NonNull android.view.WindowManager.LayoutParams); } @UiThread public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback { method public void getBoundsOnScreen(@NonNull android.graphics.Rect, boolean); method public android.view.View getTooltipView(); method public void getWindowDisplayFrame(@NonNull android.graphics.Rect); method public boolean isAutofilled(); method public static boolean isDefaultFocusHighlightEnabled(); method public boolean isDefaultFocusHighlightNeeded(android.graphics.drawable.Drawable, android.graphics.drawable.Drawable); method protected void resetResolvedDrawables(); method public void resetResolvedLayoutDirection(); method public void resetResolvedPadding(); method public void resetResolvedTextAlignment(); method public void resetResolvedTextDirection(); method public void resetRtlProperties(); method public boolean restoreFocusInCluster(int); method public boolean restoreFocusNotInCluster(); method public void setAutofilled(boolean, boolean); method public final void setFocusedInCluster(); method public void setIsRootNamespace(boolean); method public final void setShowingLayoutBounds(boolean); } public class ViewConfiguration { method public long getDeviceGlobalActionKeyTimeout(); method public static int getHoverTooltipHideShortTimeout(); method public static int getHoverTooltipHideTimeout(); method public static int getHoverTooltipShowTimeout(); method public static int getLongPressTooltipHideTimeout(); method public boolean isPreferKeepClearForFocusEnabled(); } public class ViewDebug { method @Deprecated @Nullable public static AutoCloseable startRenderingCommandsCapture(android.view.View, java.util.concurrent.Executor, java.util.function.Function); method @Nullable public static AutoCloseable startRenderingCommandsCapture(android.view.View, java.util.concurrent.Executor, java.util.concurrent.Callable); } public abstract class Window { method @Nullable public android.view.View getNavigationBarBackgroundView(); method @Nullable public android.view.View getStatusBarBackgroundView(); } public static final class WindowInsets.Type { method @NonNull public static String toString(int); } public interface WindowManager extends android.view.ViewManager { method public default int getDisplayImePolicy(int); method @Nullable public default android.os.IBinder getSurfaceControlInputClientToken(@NonNull android.view.SurfaceControl); method public static boolean hasWindowExtensionsEnabled(); method public default void holdLock(android.os.IBinder, int); method public default boolean isGlobalKey(int); method public default boolean isTaskSnapshotSupported(); method @RequiresPermission(android.Manifest.permission.ACCESS_SURFACE_FLINGER) public default boolean replaceContentOnDisplayWithMirror(int, @NonNull android.view.Window); method @RequiresPermission(android.Manifest.permission.ACCESS_SURFACE_FLINGER) public default boolean replaceContentOnDisplayWithSc(int, @NonNull android.view.SurfaceControl); method public default void setDisplayImePolicy(int, int); method public default void setShouldShowSystemDecors(int, boolean); method public default void setShouldShowWithInsecureKeyguard(int, boolean); method public default boolean shouldShowSystemDecors(int); method @Nullable public default android.graphics.Bitmap snapshotTaskForRecents(@IntRange(from=0) int); field public static final int LARGE_SCREEN_SMALLEST_SCREEN_WIDTH_DP = 600; // 0x258 } public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable { method @Nullable public final android.os.IBinder getWindowContextToken(); method public final void setWindowContextToken(@NonNull android.os.IBinder); field public static final int ACCESSIBILITY_TITLE_CHANGED = 33554432; // 0x2000000 field public static final int FLAG_SLIPPERY = 536870912; // 0x20000000 field public CharSequence accessibilityTitle; field public float preferredMaxDisplayRefreshRate; field public float preferredMinDisplayRefreshRate; field public int privateFlags; } } package android.view.accessibility { public final class AccessibilityManager { method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ACCESSIBILITY) public java.util.List getAccessibilityShortcutTargets(int); method public boolean hasAnyDirectConnection(); method public boolean startFlashNotificationSequence(@NonNull android.content.Context, int); method public boolean stopFlashNotificationSequence(@NonNull android.content.Context); } public class AccessibilityNodeInfo implements android.os.Parcelable { method public void addChild(@NonNull android.os.IBinder); method public long getSourceNodeId(); method public void setLeashedParent(@Nullable android.os.IBinder, int); method public void writeToParcelNoRecycle(android.os.Parcel, int); } public static final class AccessibilityNodeInfo.TouchDelegateInfo implements android.os.Parcelable { method public long getAccessibilityIdForRegion(@NonNull android.graphics.Region); } public class AccessibilityRecord { method public void setDisplayId(int); } public final class AccessibilityWindowInfo implements android.os.Parcelable { method public static void setNumInstancesInUseCounter(java.util.concurrent.atomic.AtomicInteger); } } package android.view.animation { public class AnimationUtils { method public static void lockAnimationClock(long); method public static void unlockAnimationClock(); } } package android.view.autofill { public class AutofillFeatureFlags { field public static final String DEVICE_CONFIG_AUTOFILL_COMPAT_MODE_ALLOWED_PACKAGES = "compat_mode_allowed_packages"; field public static final String DEVICE_CONFIG_AUTOFILL_CREDENTIAL_MANAGER_ENABLED = "autofill_credential_manager_enabled"; field public static final String DEVICE_CONFIG_AUTOFILL_CREDENTIAL_MANAGER_IGNORE_VIEWS = "autofill_credential_manager_ignore_views"; field public static final String DEVICE_CONFIG_AUTOFILL_DIALOG_ENABLED = "autofill_dialog_enabled"; field public static final String DEVICE_CONFIG_AUTOFILL_PCC_CLASSIFICATION_ENABLED = "pcc_classification_enabled"; field public static final String DEVICE_CONFIG_AUTOFILL_PCC_FEATURE_PROVIDER_HINTS = "pcc_classification_hints"; field public static final String DEVICE_CONFIG_AUTOFILL_SMART_SUGGESTION_SUPPORTED_MODES = "smart_suggestion_supported_modes"; field public static final String DEVICE_CONFIG_NON_AUTOFILLABLE_IME_ACTION_IDS = "non_autofillable_ime_action_ids"; field public static final String DEVICE_CONFIG_PACKAGE_DENYLIST_FOR_UNIMPORTANT_VIEW = "package_deny_list_for_unimportant_view"; field public static final String DEVICE_CONFIG_TRIGGER_FILL_REQUEST_ON_UNIMPORTANT_VIEW = "trigger_fill_request_on_unimportant_view"; } public final class AutofillId implements android.os.Parcelable { ctor public AutofillId(int); ctor public AutofillId(@NonNull android.view.autofill.AutofillId, int); ctor public AutofillId(int, int); ctor public AutofillId(@NonNull android.view.autofill.AutofillId, long, int); method public boolean equalsIgnoreSession(@Nullable android.view.autofill.AutofillId); method public boolean isNonVirtual(); method @NonNull public static android.view.autofill.AutofillId withoutSession(@NonNull android.view.autofill.AutofillId); } public final class AutofillManager { field public static final String ANY_HINT = "any"; field public static final int FLAG_SMART_SUGGESTION_OFF = 0; // 0x0 field public static final int FLAG_SMART_SUGGESTION_SYSTEM = 1; // 0x1 field public static final int MAX_TEMP_AUGMENTED_SERVICE_DURATION_MS = 120000; // 0x1d4c0 } } package android.view.contentcapture { public final class ContentCaptureManager { method @RequiresPermission(android.Manifest.permission.MANAGE_CONTENT_CAPTURE) public static void resetTemporaryService(int); method @RequiresPermission(android.Manifest.permission.MANAGE_CONTENT_CAPTURE) public static void setDefaultServiceEnabled(int, boolean); method @RequiresPermission(android.Manifest.permission.MANAGE_CONTENT_CAPTURE) public static void setTemporaryService(int, @NonNull String, int); field public static final String DEVICE_CONFIG_PROPERTY_IDLE_FLUSH_FREQUENCY = "idle_flush_frequency"; field public static final String DEVICE_CONFIG_PROPERTY_LOGGING_LEVEL = "logging_level"; field public static final String DEVICE_CONFIG_PROPERTY_LOG_HISTORY_SIZE = "log_history_size"; field public static final String DEVICE_CONFIG_PROPERTY_MAX_BUFFER_SIZE = "max_buffer_size"; field public static final String DEVICE_CONFIG_PROPERTY_SERVICE_EXPLICITLY_ENABLED = "service_explicitly_enabled"; field public static final String DEVICE_CONFIG_PROPERTY_TEXT_CHANGE_FLUSH_FREQUENCY = "text_change_flush_frequency"; field public static final String DUMPABLE_NAME = "ContentCaptureManager"; field public static final int LOGGING_LEVEL_DEBUG = 1; // 0x1 field public static final int LOGGING_LEVEL_OFF = 0; // 0x0 field public static final int LOGGING_LEVEL_VERBOSE = 2; // 0x2 } public final class ViewNode extends android.app.assist.AssistStructure.ViewNode { method @Nullable public static android.view.contentcapture.ViewNode readFromParcel(@NonNull android.os.Parcel); method public static void writeToParcel(@NonNull android.os.Parcel, @Nullable android.view.contentcapture.ViewNode, int); } public static final class ViewNode.ViewStructureImpl extends android.view.ViewStructure { ctor public ViewNode.ViewStructureImpl(@NonNull android.view.View); ctor public ViewNode.ViewStructureImpl(@NonNull android.view.autofill.AutofillId, long, int); method public int addChildCount(int); method public void asyncCommit(); method public android.view.ViewStructure asyncNewChild(int); method public android.view.autofill.AutofillId getAutofillId(); method public int getChildCount(); method public android.os.Bundle getExtras(); method public CharSequence getHint(); method public android.view.contentcapture.ViewNode getNode(); method public android.graphics.Rect getTempRect(); method public CharSequence getText(); method public int getTextSelectionEnd(); method public int getTextSelectionStart(); method public boolean hasExtras(); method public android.view.ViewStructure newChild(int); method public android.view.ViewStructure.HtmlInfo.Builder newHtmlInfoBuilder(String); method public void setAccessibilityFocused(boolean); method public void setActivated(boolean); method public void setAlpha(float); method public void setAssistBlocked(boolean); method public void setAutofillHints(String[]); method public void setAutofillId(android.view.autofill.AutofillId); method public void setAutofillId(android.view.autofill.AutofillId, int); method public void setAutofillOptions(CharSequence[]); method public void setAutofillType(int); method public void setAutofillValue(android.view.autofill.AutofillValue); method public void setCheckable(boolean); method public void setChecked(boolean); method public void setChildCount(int); method public void setClassName(String); method public void setClickable(boolean); method public void setContentDescription(CharSequence); method public void setContextClickable(boolean); method public void setDataIsSensitive(boolean); method public void setDimens(int, int, int, int, int, int); method public void setElevation(float); method public void setEnabled(boolean); method public void setFocusable(boolean); method public void setFocused(boolean); method public void setHint(CharSequence); method public void setHtmlInfo(android.view.ViewStructure.HtmlInfo); method public void setId(int, String, String, String); method public void setInputType(int); method public void setLocaleList(android.os.LocaleList); method public void setLongClickable(boolean); method public void setOpaque(boolean); method public void setSelected(boolean); method public void setText(CharSequence); method public void setText(CharSequence, int, int); method public void setTextLines(int[], int[]); method public void setTextStyle(float, int, int, int); method public void setTransformation(android.graphics.Matrix); method public void setVisibility(int); method public void setWebDomain(String); } } package android.view.displayhash { public final class DisplayHashManager { method @RequiresPermission("android.permission.READ_FRAME_BUFFER") public void setDisplayHashThrottlingEnabled(boolean); } } package android.view.inputmethod { public abstract class CancellableHandwritingGesture extends android.view.inputmethod.HandwritingGesture { ctor public CancellableHandwritingGesture(); method public void setCancellationSignal(@NonNull android.os.CancellationSignal); } public abstract class HandwritingGesture { method @NonNull public static android.view.inputmethod.HandwritingGesture fromByteArray(@NonNull byte[]); method public final int getGestureType(); method @NonNull public final byte[] toByteArray(); field public static final int GESTURE_TYPE_DELETE = 4; // 0x4 field public static final int GESTURE_TYPE_DELETE_RANGE = 64; // 0x40 field public static final int GESTURE_TYPE_INSERT = 2; // 0x2 field public static final int GESTURE_TYPE_INSERT_MODE = 128; // 0x80 field public static final int GESTURE_TYPE_JOIN_OR_SPLIT = 16; // 0x10 field public static final int GESTURE_TYPE_NONE = 0; // 0x0 field public static final int GESTURE_TYPE_REMOVE_SPACE = 8; // 0x8 field public static final int GESTURE_TYPE_SELECT = 1; // 0x1 field public static final int GESTURE_TYPE_SELECT_RANGE = 32; // 0x20 } public final class InlineSuggestion implements android.os.Parcelable { method @NonNull public static android.view.inputmethod.InlineSuggestion newInlineSuggestion(@NonNull android.view.inputmethod.InlineSuggestionInfo); } public final class InlineSuggestionInfo implements android.os.Parcelable { method @NonNull public static android.view.inputmethod.InlineSuggestionInfo newInlineSuggestionInfo(@NonNull android.widget.inline.InlinePresentationSpec, @NonNull String, @Nullable String[], @NonNull String, boolean); } public final class InlineSuggestionsResponse implements android.os.Parcelable { method @NonNull public static android.view.inputmethod.InlineSuggestionsResponse newInlineSuggestionsResponse(@NonNull java.util.List); } public final class InputMethodInfo implements android.os.Parcelable { ctor public InputMethodInfo(@NonNull String, @NonNull String, @NonNull CharSequence, @NonNull String, boolean, @NonNull String); ctor public InputMethodInfo(@NonNull String, @NonNull String, @NonNull CharSequence, @NonNull String, @NonNull String, boolean, @NonNull String); ctor public InputMethodInfo(@NonNull String, @NonNull String, @NonNull CharSequence, @NonNull String, @NonNull String, boolean, boolean, @NonNull String); ctor public InputMethodInfo(@NonNull String, @NonNull String, @NonNull CharSequence, @NonNull String, int); field public static final int COMPONENT_NAME_MAX_LENGTH = 1000; // 0x3e8 field public static final int MAX_IMES_PER_PACKAGE = 20; // 0x14 } public final class InputMethodManager { method @RequiresPermission(android.Manifest.permission.TEST_INPUT_METHOD) public void addVirtualStylusIdForTestSession(); method @RequiresPermission(android.Manifest.permission.TEST_INPUT_METHOD) public void finishTrackingPendingImeVisibilityRequests(); method public int getDisplayId(); method @NonNull @RequiresPermission(value=android.Manifest.permission.INTERACT_ACROSS_USERS_FULL, conditional=true) public java.util.List getEnabledInputMethodListAsUser(@NonNull android.os.UserHandle); method @NonNull @RequiresPermission(value=android.Manifest.permission.INTERACT_ACROSS_USERS_FULL, conditional=true) public java.util.List getEnabledInputMethodSubtypeListAsUser(@NonNull String, boolean, @NonNull android.os.UserHandle); method @NonNull @RequiresPermission(value=android.Manifest.permission.INTERACT_ACROSS_USERS_FULL, conditional=true) public java.util.List getInputMethodListAsUser(int); method public boolean hasActiveInputConnection(@Nullable android.view.View); method @RequiresPermission(android.Manifest.permission.TEST_INPUT_METHOD) public boolean hasPendingImeVisibilityRequests(); method @RequiresPermission(android.Manifest.permission.TEST_INPUT_METHOD) public void hideSoftInputFromServerForTest(); method @RequiresPermission(android.Manifest.permission.TEST_INPUT_METHOD) public boolean isCurrentRootView(@NonNull android.view.View); method @RequiresPermission(android.Manifest.permission.TEST_INPUT_METHOD) public boolean isInputMethodPickerShown(); method @NonNull @RequiresPermission(value=android.Manifest.permission.INTERACT_ACROSS_USERS_FULL, conditional=true) public boolean isStylusHandwritingAvailableAsUser(@NonNull android.os.UserHandle); method @RequiresPermission(android.Manifest.permission.TEST_INPUT_METHOD) public void setStylusWindowIdleTimeoutForTest(long); field public static final long CLEAR_SHOW_FORCED_FLAG_WHEN_LEAVING = 214016041L; // 0xcc1a029L } public final class InsertModeGesture extends android.view.inputmethod.CancellableHandwritingGesture implements android.os.Parcelable { } } package android.view.inspector { @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 { method public abstract int attributeId() default android.content.res.Resources.ID_NULL; method public abstract android.view.inspector.InspectableProperty.EnumEntry[] enumMapping() default {}; method public abstract android.view.inspector.InspectableProperty.FlagEntry[] flagMapping() default {}; method public abstract boolean hasAttributeId() default true; method public abstract String name() default ""; method public abstract android.view.inspector.InspectableProperty.ValueType valueType() default android.view.inspector.InspectableProperty.ValueType.INFERRED; } @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target({java.lang.annotation.ElementType.TYPE}) public static @interface InspectableProperty.EnumEntry { method public abstract String name(); method public abstract int value(); } @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target({java.lang.annotation.ElementType.TYPE}) public static @interface InspectableProperty.FlagEntry { method public abstract int mask() default 0; method public abstract String name(); method public abstract int target(); } public enum InspectableProperty.ValueType { enum_constant public static final android.view.inspector.InspectableProperty.ValueType COLOR; enum_constant public static final android.view.inspector.InspectableProperty.ValueType GRAVITY; enum_constant public static final android.view.inspector.InspectableProperty.ValueType INFERRED; enum_constant public static final android.view.inspector.InspectableProperty.ValueType INT_ENUM; enum_constant public static final android.view.inspector.InspectableProperty.ValueType INT_FLAG; enum_constant public static final android.view.inspector.InspectableProperty.ValueType NONE; enum_constant public static final android.view.inspector.InspectableProperty.ValueType RESOURCE_ID; } } package android.view.textservice { public final class SpellCheckerSubtype implements android.os.Parcelable { field public static final int SUBTYPE_ID_NONE = 0; // 0x0 } } package android.widget { public abstract class AbsListView extends android.widget.AdapterView implements android.widget.Filter.FilterListener android.text.TextWatcher android.view.ViewTreeObserver.OnGlobalLayoutListener android.view.ViewTreeObserver.OnTouchModeChangeListener { method public final boolean shouldDrawSelector(); } public class CalendarView extends android.widget.FrameLayout { method public boolean getBoundsForDate(long, android.graphics.Rect); } public class DatePicker extends android.widget.FrameLayout { 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(); field public static final int MODE_CALENDAR = 2; // 0x2 field public static final int MODE_SPINNER = 1; // 0x1 } @UiThread public final class Magnifier { method @Nullable public android.graphics.Bitmap getContent(); method public static android.graphics.PointF getMagnifierDefaultSize(); method @Nullable public android.graphics.Bitmap getOriginalContent(); method public void setOnOperationCompleteCallback(android.widget.Magnifier.Callback); } public static interface Magnifier.Callback { method public void onOperationComplete(); } public class NumberPicker extends android.widget.LinearLayout { method public CharSequence getDisplayedValueForCurrentSelection(); } public class PopupMenu { method public android.widget.ListView getMenuListView(); } public class RatingBar extends android.widget.AbsSeekBar { field public static final String PLURALS_MAX = "max"; field public static final String PLURALS_RATING = "rating"; } public class Spinner extends android.widget.AbsSpinner implements android.content.DialogInterface.OnClickListener { method public boolean isPopupShowing(); method public void onClick(int); } @android.widget.RemoteViews.RemoteView public class TextClock extends android.widget.TextView { method public void disableClockTick(); } @android.widget.RemoteViews.RemoteView public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener { method public void onActivityResult(int, int, @Nullable android.content.Intent); field public static final int PROCESS_TEXT_REQUEST_CODE = 100; // 0x64 } public class TimePicker extends android.widget.FrameLayout { method public android.view.View getAmView(); method public android.view.View getHourView(); method public android.view.View getMinuteView(); 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(); method public android.view.View getPmView(); field public static final int MODE_CLOCK = 2; // 0x2 field public static final int MODE_SPINNER = 1; // 0x1 } public class Toolbar extends android.view.ViewGroup { method @Nullable public android.view.View getNavigationView(); } } package android.widget.inline { public class InlineContentView extends android.view.ViewGroup { method public void setChildSurfacePackageUpdater(@Nullable android.widget.inline.InlineContentView.SurfacePackageUpdater); } public static interface InlineContentView.SurfacePackageUpdater { method public void getSurfacePackage(@NonNull java.util.function.Consumer); method public void onSurfacePackageReleased(); } } package android.window { public final class BackNavigationInfo implements android.os.Parcelable { method public int describeContents(); method @NonNull public static String typeToString(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int TYPE_CALLBACK = 4; // 0x4 field public static final int TYPE_CROSS_ACTIVITY = 2; // 0x2 field public static final int TYPE_CROSS_TASK = 3; // 0x3 field public static final int TYPE_DIALOG_CLOSE = 0; // 0x0 field public static final int TYPE_RETURN_TO_HOME = 1; // 0x1 field public static final int TYPE_UNDEFINED = -1; // 0xffffffff } public final class DisplayAreaAppearedInfo implements android.os.Parcelable { ctor public DisplayAreaAppearedInfo(@NonNull android.window.DisplayAreaInfo, @NonNull android.view.SurfaceControl); method public int describeContents(); method @NonNull public android.window.DisplayAreaInfo getDisplayAreaInfo(); method @NonNull public android.view.SurfaceControl getLeash(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class DisplayAreaInfo implements android.os.Parcelable { ctor public DisplayAreaInfo(@NonNull android.window.WindowContainerToken, int, int); method public int describeContents(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field @NonNull public final android.content.res.Configuration configuration; field public final int displayId; field public final int featureId; field @NonNull public final android.window.WindowContainerToken token; } public class DisplayAreaOrganizer extends android.window.WindowOrganizer { method public void onDisplayAreaAppeared(@NonNull android.window.DisplayAreaInfo, @NonNull android.view.SurfaceControl); method public void onDisplayAreaVanished(@NonNull android.window.DisplayAreaInfo); method @CallSuper @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public java.util.List registerOrganizer(int); field public static final int FEATURE_DEFAULT_TASK_CONTAINER = 1; // 0x1 field public static final int FEATURE_IME = 8; // 0x8 field public static final int FEATURE_ONE_HANDED = 3; // 0x3 field public static final int FEATURE_ROOT = 0; // 0x0 field public static final int FEATURE_SYSTEM_FIRST = 0; // 0x0 field public static final int FEATURE_SYSTEM_LAST = 10000; // 0x2710 field public static final int FEATURE_UNDEFINED = -1; // 0xffffffff field public static final int FEATURE_VENDOR_FIRST = 10001; // 0x2711 field public static final int FEATURE_WINDOWED_MAGNIFICATION = 4; // 0x4 field public static final int FEATURE_WINDOW_TOKENS = 2; // 0x2 } public final class SplashScreenView extends android.widget.FrameLayout { method @Nullable public android.view.View getBrandingView(); } public final class TaskAppearedInfo implements android.os.Parcelable { ctor public TaskAppearedInfo(@NonNull android.app.ActivityManager.RunningTaskInfo, @NonNull android.view.SurfaceControl); method public int describeContents(); method @NonNull public android.view.SurfaceControl getLeash(); method @NonNull public android.app.ActivityManager.RunningTaskInfo getTaskInfo(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class TaskFragmentCreationParams implements android.os.Parcelable { method public int describeContents(); method @NonNull public android.os.IBinder getFragmentToken(); method @NonNull public android.graphics.Rect getInitialRelativeBounds(); method @NonNull public android.window.TaskFragmentOrganizerToken getOrganizer(); method @NonNull public android.os.IBinder getOwnerToken(); method public int getWindowingMode(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static final class TaskFragmentCreationParams.Builder { ctor public TaskFragmentCreationParams.Builder(@NonNull android.window.TaskFragmentOrganizerToken, @NonNull android.os.IBinder, @NonNull android.os.IBinder); method @NonNull public android.window.TaskFragmentCreationParams build(); method @NonNull public android.window.TaskFragmentCreationParams.Builder setInitialRelativeBounds(@NonNull android.graphics.Rect); method @NonNull public android.window.TaskFragmentCreationParams.Builder setWindowingMode(int); } public final class TaskFragmentInfo implements android.os.Parcelable { method public int describeContents(); method public boolean equalsForTaskFragmentOrganizer(@Nullable android.window.TaskFragmentInfo); method @NonNull public java.util.List getActivities(); method @NonNull public java.util.List getActivitiesRequestedInTaskFragment(); method @NonNull public android.content.res.Configuration getConfiguration(); method @NonNull public android.os.IBinder getFragmentToken(); method @NonNull public android.graphics.Point getPositionInParent(); method public int getRunningActivityCount(); method @NonNull public android.window.WindowContainerToken getToken(); method public int getWindowingMode(); method public boolean hasRunningActivity(); method public boolean isEmpty(); method public boolean isTaskClearedForReuse(); method public boolean isVisible(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class TaskFragmentOrganizer extends android.window.WindowOrganizer { ctor public TaskFragmentOrganizer(@NonNull java.util.concurrent.Executor); method public void applyTransaction(@NonNull android.window.WindowContainerTransaction, int, boolean); method @NonNull public java.util.concurrent.Executor getExecutor(); method @NonNull public android.window.TaskFragmentOrganizerToken getOrganizerToken(); method public void onTransactionHandled(@NonNull android.os.IBinder, @NonNull android.window.WindowContainerTransaction, int, boolean); method public void onTransactionReady(@NonNull android.window.TaskFragmentTransaction); method @CallSuper public void registerOrganizer(); method @CallSuper public void unregisterOrganizer(); field public static final String KEY_ERROR_CALLBACK_OP_TYPE = "operation_type"; field public static final String KEY_ERROR_CALLBACK_TASK_FRAGMENT_INFO = "task_fragment_info"; field public static final String KEY_ERROR_CALLBACK_THROWABLE = "fragment_throwable"; field public static final int TASK_FRAGMENT_TRANSIT_CHANGE = 6; // 0x6 field public static final int TASK_FRAGMENT_TRANSIT_CLOSE = 2; // 0x2 field public static final int TASK_FRAGMENT_TRANSIT_NONE = 0; // 0x0 field public static final int TASK_FRAGMENT_TRANSIT_OPEN = 1; // 0x1 } public final class TaskFragmentOrganizerToken implements android.os.Parcelable { method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class TaskFragmentParentInfo implements android.os.Parcelable { method public int describeContents(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class TaskFragmentTransaction implements android.os.Parcelable { ctor public TaskFragmentTransaction(); method public void addChange(@Nullable android.window.TaskFragmentTransaction.Change); method public int describeContents(); method @NonNull public java.util.List getChanges(); method @NonNull public android.os.IBinder getTransactionToken(); method public boolean isEmpty(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int TYPE_ACTIVITY_REPARENTED_TO_TASK = 6; // 0x6 field public static final int TYPE_TASK_FRAGMENT_APPEARED = 1; // 0x1 field public static final int TYPE_TASK_FRAGMENT_ERROR = 5; // 0x5 field public static final int TYPE_TASK_FRAGMENT_INFO_CHANGED = 2; // 0x2 field public static final int TYPE_TASK_FRAGMENT_PARENT_INFO_CHANGED = 4; // 0x4 field public static final int TYPE_TASK_FRAGMENT_VANISHED = 3; // 0x3 } public static final class TaskFragmentTransaction.Change implements android.os.Parcelable { ctor public TaskFragmentTransaction.Change(int); method public int describeContents(); method @Nullable public android.content.Intent getActivityIntent(); method @Nullable public android.os.IBinder getActivityToken(); method @NonNull public android.os.Bundle getErrorBundle(); method @Nullable public android.os.IBinder getErrorCallbackToken(); method @Nullable public android.window.TaskFragmentInfo getTaskFragmentInfo(); method @Nullable public android.window.TaskFragmentParentInfo getTaskFragmentParentInfo(); method @Nullable public android.os.IBinder getTaskFragmentToken(); method public int getTaskId(); method public int getType(); method @NonNull public android.window.TaskFragmentTransaction.Change setActivityIntent(@NonNull android.content.Intent); method @NonNull public android.window.TaskFragmentTransaction.Change setActivityToken(@NonNull android.os.IBinder); method @NonNull public android.window.TaskFragmentTransaction.Change setErrorBundle(@NonNull android.os.Bundle); method @NonNull public android.window.TaskFragmentTransaction.Change setErrorCallbackToken(@Nullable android.os.IBinder); method @NonNull public android.window.TaskFragmentTransaction.Change setTaskFragmentInfo(@NonNull android.window.TaskFragmentInfo); method @NonNull public android.window.TaskFragmentTransaction.Change setTaskFragmentToken(@NonNull android.os.IBinder); method @NonNull public android.window.TaskFragmentTransaction.Change setTaskId(int); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public class TaskOrganizer extends android.window.WindowOrganizer { ctor public TaskOrganizer(); method @BinderThread public void copySplashScreenView(int); method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void createRootTask(int, int, @Nullable android.os.IBinder); method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public boolean deleteRootTask(@NonNull android.window.WindowContainerToken); method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public java.util.List getChildTasks(@NonNull android.window.WindowContainerToken, @NonNull int[]); method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public android.window.WindowContainerToken getImeTarget(int); method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public java.util.List getRootTasks(int, @NonNull int[]); method @BinderThread public void onAppSplashScreenViewRemoved(int); method @BinderThread public void onBackPressedOnTaskRoot(@NonNull android.app.ActivityManager.RunningTaskInfo); method @BinderThread public void onTaskAppeared(@NonNull android.app.ActivityManager.RunningTaskInfo, @NonNull android.view.SurfaceControl); method @BinderThread public void onTaskInfoChanged(@NonNull android.app.ActivityManager.RunningTaskInfo); method @BinderThread public void onTaskVanished(@NonNull android.app.ActivityManager.RunningTaskInfo); method @CallSuper @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public java.util.List registerOrganizer(); method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void setInterceptBackPressedOnTaskRoot(@NonNull android.window.WindowContainerToken, boolean); method @CallSuper @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void unregisterOrganizer(); } public final class WindowContainerToken implements android.os.Parcelable { method public int describeContents(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public final class WindowContainerTransaction implements android.os.Parcelable { ctor public WindowContainerTransaction(); method @NonNull public android.window.WindowContainerTransaction clearAdjacentTaskFragments(@NonNull android.os.IBinder); method @NonNull public android.window.WindowContainerTransaction clearLaunchAdjacentFlagRoot(@NonNull android.window.WindowContainerToken); method @NonNull public android.window.WindowContainerTransaction createTaskFragment(@NonNull android.window.TaskFragmentCreationParams); method @NonNull public android.window.WindowContainerTransaction deleteTaskFragment(@NonNull android.os.IBinder); method public int describeContents(); method @NonNull public android.window.WindowContainerTransaction finishActivity(@NonNull android.os.IBinder); method @NonNull public android.window.WindowContainerTransaction removeTask(@NonNull android.window.WindowContainerToken); method @NonNull public android.window.WindowContainerTransaction reorder(@NonNull android.window.WindowContainerToken, boolean); method @NonNull public android.window.WindowContainerTransaction reparent(@NonNull android.window.WindowContainerToken, @Nullable android.window.WindowContainerToken, boolean); method @NonNull public android.window.WindowContainerTransaction reparentActivityToTaskFragment(@NonNull android.os.IBinder, @NonNull android.os.IBinder); method @NonNull public android.window.WindowContainerTransaction reparentTasks(@Nullable android.window.WindowContainerToken, @Nullable android.window.WindowContainerToken, @Nullable int[], @Nullable int[], boolean); method @NonNull public android.window.WindowContainerTransaction requestFocusOnTaskFragment(@NonNull android.os.IBinder); method @NonNull public android.window.WindowContainerTransaction scheduleFinishEnterPip(@NonNull android.window.WindowContainerToken, @NonNull android.graphics.Rect); method @NonNull public android.window.WindowContainerTransaction setActivityWindowingMode(@NonNull android.window.WindowContainerToken, int); method @NonNull public android.window.WindowContainerTransaction setAdjacentRoots(@NonNull android.window.WindowContainerToken, @NonNull android.window.WindowContainerToken); method @NonNull public android.window.WindowContainerTransaction setAdjacentTaskFragments(@NonNull android.os.IBinder, @NonNull android.os.IBinder, @Nullable android.window.WindowContainerTransaction.TaskFragmentAdjacentParams); method @NonNull public android.window.WindowContainerTransaction setAppBounds(@NonNull android.window.WindowContainerToken, @NonNull android.graphics.Rect); method @NonNull public android.window.WindowContainerTransaction setBounds(@NonNull android.window.WindowContainerToken, @NonNull android.graphics.Rect); method @NonNull public android.window.WindowContainerTransaction setBoundsChangeTransaction(@NonNull android.window.WindowContainerToken, @NonNull android.view.SurfaceControl.Transaction); method @NonNull public android.window.WindowContainerTransaction setErrorCallbackToken(@NonNull android.os.IBinder); method @NonNull public android.window.WindowContainerTransaction setFocusable(@NonNull android.window.WindowContainerToken, boolean); method @NonNull public android.window.WindowContainerTransaction setHidden(@NonNull android.window.WindowContainerToken, boolean); method @NonNull public android.window.WindowContainerTransaction setLaunchAdjacentFlagRoot(@NonNull android.window.WindowContainerToken); method @NonNull public android.window.WindowContainerTransaction setLaunchRoot(@NonNull android.window.WindowContainerToken, @Nullable int[], @Nullable int[]); method @NonNull public android.window.WindowContainerTransaction setRelativeBounds(@NonNull android.window.WindowContainerToken, @NonNull android.graphics.Rect); method @NonNull public android.window.WindowContainerTransaction setScreenSizeDp(@NonNull android.window.WindowContainerToken, int, int); method @NonNull public android.window.WindowContainerTransaction setSmallestScreenWidthDp(@NonNull android.window.WindowContainerToken, int); method @NonNull public android.window.WindowContainerTransaction setWindowingMode(@NonNull android.window.WindowContainerToken, int); method @NonNull public android.window.WindowContainerTransaction startActivityInTaskFragment(@NonNull android.os.IBinder, @NonNull android.os.IBinder, @NonNull android.content.Intent, @Nullable android.os.Bundle); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; } public static class WindowContainerTransaction.TaskFragmentAdjacentParams { ctor public WindowContainerTransaction.TaskFragmentAdjacentParams(); ctor public WindowContainerTransaction.TaskFragmentAdjacentParams(@NonNull android.os.Bundle); method public void setShouldDelayPrimaryLastActivityRemoval(boolean); method public void setShouldDelaySecondaryLastActivityRemoval(boolean); method public boolean shouldDelayPrimaryLastActivityRemoval(); method public boolean shouldDelaySecondaryLastActivityRemoval(); } public abstract class WindowContainerTransactionCallback { ctor public WindowContainerTransactionCallback(); method public abstract void onTransactionReady(int, @NonNull android.view.SurfaceControl.Transaction); } public class WindowInfosListenerForTest { ctor public WindowInfosListenerForTest(); method @RequiresPermission(android.Manifest.permission.ACCESS_SURFACE_FLINGER) public void addWindowInfosListener(@NonNull java.util.function.Consumer>); method public void removeWindowInfosListener(@NonNull java.util.function.Consumer>); } public static class WindowInfosListenerForTest.WindowInfo { field @NonNull public final android.graphics.Rect bounds; field public final int displayId; field public final boolean isDuplicateTouchToWallpaper; field public final boolean isFocusable; field public final boolean isPreventSplitting; field public final boolean isTouchable; field public final boolean isTrustedOverlay; field public final boolean isVisible; field public final boolean isWatchOutsideTouch; field @NonNull public final String name; field @NonNull public final android.graphics.Matrix transform; field @NonNull public final android.os.IBinder windowToken; } public class WindowOrganizer { ctor public WindowOrganizer(); method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public int applySyncTransaction(@NonNull android.window.WindowContainerTransaction, @NonNull android.window.WindowContainerTransactionCallback); method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public void applyTransaction(@NonNull android.window.WindowContainerTransaction); } @UiContext public abstract class WindowProviderService extends android.app.Service { ctor public WindowProviderService(); method public final void attachToWindowToken(@NonNull android.os.IBinder); method @NonNull public int getInitialDisplayId(); method @CallSuper @Nullable public android.os.Bundle getWindowContextOptions(); method public abstract int getWindowType(); } }