1*344a7f5eSAndroid Build Coastguard Worker// Signature format: 2.0 2*344a7f5eSAndroid Build Coastguard Workerpackage android { 3*344a7f5eSAndroid Build Coastguard Worker 4*344a7f5eSAndroid Build Coastguard Worker public static final class Manifest.permission { 5*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESS_NOTIFICATIONS = "android.permission.ACCESS_NOTIFICATIONS"; 6*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTIVITY_EMBEDDING = "android.permission.ACTIVITY_EMBEDDING"; 7*344a7f5eSAndroid Build Coastguard Worker field public static final String APPROVE_INCIDENT_REPORTS = "android.permission.APPROVE_INCIDENT_REPORTS"; 8*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_CELL_BROADCAST_SERVICE = "android.permission.BIND_CELL_BROADCAST_SERVICE"; 9*344a7f5eSAndroid Build Coastguard Worker field public static final String BRIGHTNESS_SLIDER_USAGE = "android.permission.BRIGHTNESS_SLIDER_USAGE"; 10*344a7f5eSAndroid Build Coastguard Worker field public static final String CHANGE_APP_IDLE_STATE = "android.permission.CHANGE_APP_IDLE_STATE"; 11*344a7f5eSAndroid Build Coastguard Worker field public static final String CLEAR_APP_USER_DATA = "android.permission.CLEAR_APP_USER_DATA"; 12*344a7f5eSAndroid Build Coastguard Worker field public static final String CONFIGURE_DISPLAY_BRIGHTNESS = "android.permission.CONFIGURE_DISPLAY_BRIGHTNESS"; 13*344a7f5eSAndroid Build Coastguard Worker field public static final String CONTROL_DEVICE_LIGHTS = "android.permission.CONTROL_DEVICE_LIGHTS"; 14*344a7f5eSAndroid Build Coastguard Worker field public static final String FORCE_STOP_PACKAGES = "android.permission.FORCE_STOP_PACKAGES"; 15*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_ACTIVITY_STACKS = "android.permission.MANAGE_ACTIVITY_STACKS"; 16*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_CRATES = "android.permission.MANAGE_CRATES"; 17*344a7f5eSAndroid Build Coastguard Worker field public static final String MANAGE_ROLLBACKS = "android.permission.MANAGE_ROLLBACKS"; 18*344a7f5eSAndroid Build Coastguard Worker field public static final String NETWORK_SETTINGS = "android.permission.NETWORK_SETTINGS"; 19*344a7f5eSAndroid Build Coastguard Worker field public static final String NETWORK_STACK = "android.permission.NETWORK_STACK"; 20*344a7f5eSAndroid Build Coastguard Worker field public static final String READ_CELL_BROADCASTS = "android.permission.READ_CELL_BROADCASTS"; 21*344a7f5eSAndroid Build Coastguard Worker field public static final String REMOVE_TASKS = "android.permission.REMOVE_TASKS"; 22*344a7f5eSAndroid Build Coastguard Worker field public static final String SUSPEND_APPS = "android.permission.SUSPEND_APPS"; 23*344a7f5eSAndroid Build Coastguard Worker field public static final String TEST_MANAGE_ROLLBACKS = "android.permission.TEST_MANAGE_ROLLBACKS"; 24*344a7f5eSAndroid Build Coastguard Worker field public static final String UPGRADE_RUNTIME_PERMISSIONS = "android.permission.UPGRADE_RUNTIME_PERMISSIONS"; 25*344a7f5eSAndroid Build Coastguard Worker field public static final String WRITE_DEVICE_CONFIG = "android.permission.WRITE_DEVICE_CONFIG"; 26*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String WRITE_MEDIA_STORAGE = "android.permission.WRITE_MEDIA_STORAGE"; 27*344a7f5eSAndroid Build Coastguard Worker field public static final String WRITE_OBB = "android.permission.WRITE_OBB"; 28*344a7f5eSAndroid Build Coastguard Worker } 29*344a7f5eSAndroid Build Coastguard Worker 30*344a7f5eSAndroid Build Coastguard Worker public static final class Manifest.permission_group { 31*344a7f5eSAndroid Build Coastguard Worker field public static final String UNDEFINED = "android.permission-group.UNDEFINED"; 32*344a7f5eSAndroid Build Coastguard Worker } 33*344a7f5eSAndroid Build Coastguard Worker 34*344a7f5eSAndroid Build Coastguard Worker public static final class R.bool { 35*344a7f5eSAndroid Build Coastguard Worker field public static final int config_perDisplayFocusEnabled = 17891332; // 0x1110004 36*344a7f5eSAndroid Build Coastguard Worker } 37*344a7f5eSAndroid Build Coastguard Worker 38*344a7f5eSAndroid Build Coastguard Worker public static final class R.string { 39*344a7f5eSAndroid Build Coastguard Worker field public static final int config_defaultAssistant = 17039393; // 0x1040021 40*344a7f5eSAndroid Build Coastguard Worker field public static final int config_defaultDialer = 17039395; // 0x1040023 41*344a7f5eSAndroid Build Coastguard Worker field public static final int config_systemGallery = 17039399; // 0x1040027 42*344a7f5eSAndroid Build Coastguard Worker } 43*344a7f5eSAndroid Build Coastguard Worker 44*344a7f5eSAndroid Build Coastguard Worker} 45*344a7f5eSAndroid Build Coastguard Worker 46*344a7f5eSAndroid Build Coastguard Workerpackage android.accessibilityservice { 47*344a7f5eSAndroid Build Coastguard Worker 48*344a7f5eSAndroid Build Coastguard Worker public final class AccessibilityGestureEvent implements android.os.Parcelable { 49*344a7f5eSAndroid Build Coastguard Worker ctor public AccessibilityGestureEvent(int, int); 50*344a7f5eSAndroid Build Coastguard Worker } 51*344a7f5eSAndroid Build Coastguard Worker 52*344a7f5eSAndroid Build Coastguard Worker public abstract class AccessibilityService extends android.app.Service { 53*344a7f5eSAndroid Build Coastguard Worker field public static final int ACCESSIBILITY_TAKE_SCREENSHOT_REQUEST_INTERVAL_TIMES_MS = 1000; // 0x3e8 54*344a7f5eSAndroid Build Coastguard Worker } 55*344a7f5eSAndroid Build Coastguard Worker 56*344a7f5eSAndroid Build Coastguard Worker} 57*344a7f5eSAndroid Build Coastguard Worker 58*344a7f5eSAndroid Build Coastguard Workerpackage android.animation { 59*344a7f5eSAndroid Build Coastguard Worker 60*344a7f5eSAndroid Build Coastguard Worker public class ValueAnimator extends android.animation.Animator { 61*344a7f5eSAndroid Build Coastguard Worker method public static float getDurationScale(); 62*344a7f5eSAndroid Build Coastguard Worker method public static void setDurationScale(float); 63*344a7f5eSAndroid Build Coastguard Worker } 64*344a7f5eSAndroid Build Coastguard Worker 65*344a7f5eSAndroid Build Coastguard Worker} 66*344a7f5eSAndroid Build Coastguard Worker 67*344a7f5eSAndroid Build Coastguard Workerpackage android.app { 68*344a7f5eSAndroid Build Coastguard Worker 69*344a7f5eSAndroid Build Coastguard Worker 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 { 70*344a7f5eSAndroid Build Coastguard Worker method public void onMovedToDisplay(int, android.content.res.Configuration); 71*344a7f5eSAndroid Build Coastguard Worker } 72*344a7f5eSAndroid Build Coastguard Worker 73*344a7f5eSAndroid Build Coastguard Worker public class ActivityManager { 74*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void addOnUidImportanceListener(android.app.ActivityManager.OnUidImportanceListener, int); 75*344a7f5eSAndroid Build Coastguard Worker method public void alwaysShowUnsupportedCompileSdkWarning(android.content.ComponentName); 76*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) public void forceStopPackage(String); 77*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String); 78*344a7f5eSAndroid Build Coastguard Worker method public long getTotalRam(); 79*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getUidImportance(int); 80*344a7f5eSAndroid Build Coastguard Worker method public static boolean isHighEndGfx(); 81*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.FORCE_STOP_PACKAGES) public void killProcessesWhenImperceptible(@NonNull int[], @NonNull String); 82*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void removeOnUidImportanceListener(android.app.ActivityManager.OnUidImportanceListener); 83*344a7f5eSAndroid Build Coastguard Worker method public static void resumeAppSwitches() throws android.os.RemoteException; 84*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CHANGE_CONFIGURATION) public void scheduleApplicationInfoChanged(java.util.List<java.lang.String>, int); 85*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_USERS") public boolean switchUser(@NonNull android.os.UserHandle); 86*344a7f5eSAndroid Build Coastguard Worker field public static final int PROCESS_CAPABILITY_ALL = 7; // 0x7 87*344a7f5eSAndroid Build Coastguard Worker field public static final int PROCESS_CAPABILITY_ALL_EXPLICIT = 1; // 0x1 88*344a7f5eSAndroid Build Coastguard Worker field public static final int PROCESS_CAPABILITY_ALL_IMPLICIT = 6; // 0x6 89*344a7f5eSAndroid Build Coastguard Worker field public static final int PROCESS_CAPABILITY_FOREGROUND_CAMERA = 2; // 0x2 90*344a7f5eSAndroid Build Coastguard Worker field public static final int PROCESS_CAPABILITY_FOREGROUND_LOCATION = 1; // 0x1 91*344a7f5eSAndroid Build Coastguard Worker field public static final int PROCESS_CAPABILITY_FOREGROUND_MICROPHONE = 4; // 0x4 92*344a7f5eSAndroid Build Coastguard Worker field public static final int PROCESS_CAPABILITY_NONE = 0; // 0x0 93*344a7f5eSAndroid Build Coastguard Worker } 94*344a7f5eSAndroid Build Coastguard Worker 95*344a7f5eSAndroid Build Coastguard Worker public static interface ActivityManager.OnUidImportanceListener { 96*344a7f5eSAndroid Build Coastguard Worker method public void onUidImportance(int, int); 97*344a7f5eSAndroid Build Coastguard Worker } 98*344a7f5eSAndroid Build Coastguard Worker 99*344a7f5eSAndroid Build Coastguard Worker public static class ActivityManager.RunningAppProcessInfo implements android.os.Parcelable { 100*344a7f5eSAndroid Build Coastguard Worker field public static final int IMPORTANCE_CANT_SAVE_STATE_PRE_26 = 170; // 0xaa 101*344a7f5eSAndroid Build Coastguard Worker } 102*344a7f5eSAndroid Build Coastguard Worker 103*344a7f5eSAndroid Build Coastguard Worker public static class ActivityManager.TaskDescription implements android.os.Parcelable { 104*344a7f5eSAndroid Build Coastguard Worker method public String getIconFilename(); 105*344a7f5eSAndroid Build Coastguard Worker method public int getIconResource(); 106*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getIconResourcePackage(); 107*344a7f5eSAndroid Build Coastguard Worker } 108*344a7f5eSAndroid Build Coastguard Worker 109*344a7f5eSAndroid Build Coastguard Worker public class ActivityOptions { 110*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.app.ActivityOptions makeCustomAnimation(@NonNull android.content.Context, int, int, @Nullable android.os.Handler, @Nullable android.app.ActivityOptions.OnAnimationStartedListener, @Nullable android.app.ActivityOptions.OnAnimationFinishedListener); 111*344a7f5eSAndroid Build Coastguard Worker method public static void setExitTransitionTimeout(long); 112*344a7f5eSAndroid Build Coastguard Worker method public void setLaunchActivityType(int); 113*344a7f5eSAndroid Build Coastguard Worker method public void setLaunchTaskId(int); 114*344a7f5eSAndroid Build Coastguard Worker method public void setLaunchWindowingMode(int); 115*344a7f5eSAndroid Build Coastguard Worker method public void setTaskAlwaysOnTop(boolean); 116*344a7f5eSAndroid Build Coastguard Worker method public void setTaskOverlay(boolean, boolean); 117*344a7f5eSAndroid Build Coastguard Worker } 118*344a7f5eSAndroid Build Coastguard Worker 119*344a7f5eSAndroid Build Coastguard Worker public static interface ActivityOptions.OnAnimationFinishedListener { 120*344a7f5eSAndroid Build Coastguard Worker method public void onAnimationFinished(); 121*344a7f5eSAndroid Build Coastguard Worker } 122*344a7f5eSAndroid Build Coastguard Worker 123*344a7f5eSAndroid Build Coastguard Worker public static interface ActivityOptions.OnAnimationStartedListener { 124*344a7f5eSAndroid Build Coastguard Worker method public void onAnimationStarted(); 125*344a7f5eSAndroid Build Coastguard Worker } 126*344a7f5eSAndroid Build Coastguard Worker 127*344a7f5eSAndroid Build Coastguard Worker public class ActivityTaskManager { 128*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void clearLaunchParamsForPackages(java.util.List<java.lang.String>); 129*344a7f5eSAndroid Build Coastguard Worker method public static boolean currentUiModeSupportsErrorDialogs(@NonNull android.content.Context); 130*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public String listAllStacks(); 131*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void moveTaskToStack(int, int, boolean); 132*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public boolean moveTopActivityToPinnedStack(int, android.graphics.Rect); 133*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void removeStacksInWindowingModes(int[]) throws java.lang.SecurityException; 134*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void removeStacksWithActivityTypes(int[]) throws java.lang.SecurityException; 135*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void requestPictureInPictureMode(@NonNull android.os.IBinder); 136*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void resizeDockedStack(android.graphics.Rect, android.graphics.Rect); 137*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void resizeTask(int, android.graphics.Rect); 138*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void setDisplayToSingleTaskInstance(int); 139*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public boolean setTaskWindowingMode(int, int, boolean) throws java.lang.SecurityException; 140*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public boolean setTaskWindowingModeSplitScreenPrimary(int, int, boolean, boolean, android.graphics.Rect, boolean) throws java.lang.SecurityException; 141*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void startSystemLockTaskMode(int); 142*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void stopSystemLockTaskMode(); 143*344a7f5eSAndroid Build Coastguard Worker method public static boolean supportsMultiWindow(android.content.Context); 144*344a7f5eSAndroid Build Coastguard Worker method public static boolean supportsSplitScreenMultiWindow(android.content.Context); 145*344a7f5eSAndroid Build Coastguard Worker field public static final int INVALID_STACK_ID = -1; // 0xffffffff 146*344a7f5eSAndroid Build Coastguard Worker field public static final int SPLIT_SCREEN_CREATE_MODE_BOTTOM_OR_RIGHT = 1; // 0x1 147*344a7f5eSAndroid Build Coastguard Worker field public static final int SPLIT_SCREEN_CREATE_MODE_TOP_OR_LEFT = 0; // 0x0 148*344a7f5eSAndroid Build Coastguard Worker } 149*344a7f5eSAndroid Build Coastguard Worker 150*344a7f5eSAndroid Build Coastguard Worker public class ActivityView extends android.view.ViewGroup { 151*344a7f5eSAndroid Build Coastguard Worker ctor public ActivityView(android.content.Context); 152*344a7f5eSAndroid Build Coastguard Worker ctor public ActivityView(android.content.Context, android.util.AttributeSet); 153*344a7f5eSAndroid Build Coastguard Worker ctor public ActivityView(android.content.Context, android.util.AttributeSet, int); 154*344a7f5eSAndroid Build Coastguard Worker ctor public ActivityView(android.content.Context, android.util.AttributeSet, int, boolean); 155*344a7f5eSAndroid Build Coastguard Worker ctor public ActivityView(@NonNull android.content.Context, @NonNull android.util.AttributeSet, int, boolean, boolean); 156*344a7f5eSAndroid Build Coastguard Worker method public int getVirtualDisplayId(); 157*344a7f5eSAndroid Build Coastguard Worker method public void onLayout(boolean, int, int, int, int); 158*344a7f5eSAndroid Build Coastguard Worker method public void onLocationChanged(); 159*344a7f5eSAndroid Build Coastguard Worker method public void performBackPress(); 160*344a7f5eSAndroid Build Coastguard Worker method public void release(); 161*344a7f5eSAndroid Build Coastguard Worker method public void setCallback(android.app.ActivityView.StateCallback); 162*344a7f5eSAndroid Build Coastguard Worker method public void setForwardedInsets(android.graphics.Insets); 163*344a7f5eSAndroid Build Coastguard Worker method public void startActivity(@NonNull android.content.Intent); 164*344a7f5eSAndroid Build Coastguard Worker method public void startActivity(@NonNull android.content.Intent, android.os.UserHandle); 165*344a7f5eSAndroid Build Coastguard Worker method public void startActivity(@NonNull android.app.PendingIntent); 166*344a7f5eSAndroid Build Coastguard Worker method public void startActivity(@NonNull android.app.PendingIntent, @Nullable android.content.Intent, @NonNull android.app.ActivityOptions); 167*344a7f5eSAndroid Build Coastguard Worker } 168*344a7f5eSAndroid Build Coastguard Worker 169*344a7f5eSAndroid Build Coastguard Worker public abstract static class ActivityView.StateCallback { 170*344a7f5eSAndroid Build Coastguard Worker ctor public ActivityView.StateCallback(); 171*344a7f5eSAndroid Build Coastguard Worker method public abstract void onActivityViewDestroyed(android.app.ActivityView); 172*344a7f5eSAndroid Build Coastguard Worker method public abstract void onActivityViewReady(android.app.ActivityView); 173*344a7f5eSAndroid Build Coastguard Worker method public void onTaskCreated(int, android.content.ComponentName); 174*344a7f5eSAndroid Build Coastguard Worker method public void onTaskMovedToFront(int); 175*344a7f5eSAndroid Build Coastguard Worker method public void onTaskRemovalStarted(int); 176*344a7f5eSAndroid Build Coastguard Worker } 177*344a7f5eSAndroid Build Coastguard Worker 178*344a7f5eSAndroid Build Coastguard Worker public class AppDetailsActivity extends android.app.Activity { 179*344a7f5eSAndroid Build Coastguard Worker ctor public AppDetailsActivity(); 180*344a7f5eSAndroid Build Coastguard Worker } 181*344a7f5eSAndroid Build Coastguard Worker 182*344a7f5eSAndroid Build Coastguard Worker public class AppOpsManager { 183*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_APPOPS") public void addHistoricalOps(@NonNull android.app.AppOpsManager.HistoricalOps); 184*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_APPOPS") public void clearHistory(); 185*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission("android.permission.GET_APP_OPS_STATS") public android.app.RuntimeAppOpAccessMessage collectRuntimeAppOpAccessMessage(); 186*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.GET_APP_OPS_STATS") public void getHistoricalOps(@NonNull android.app.AppOpsManager.HistoricalOpsRequest, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<android.app.AppOpsManager.HistoricalOps>); 187*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_APPOPS") public void getHistoricalOpsFromDiskRaw(@NonNull android.app.AppOpsManager.HistoricalOpsRequest, @Nullable java.util.concurrent.Executor, @NonNull java.util.function.Consumer<android.app.AppOpsManager.HistoricalOps>); 188*344a7f5eSAndroid Build Coastguard Worker method public static int getNumOps(); 189*344a7f5eSAndroid Build Coastguard Worker method public static String[] getOpStrs(); 190*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.GET_APP_OPS_STATS") public java.util.List<android.app.AppOpsManager.PackageOps> getOpsForPackage(int, @NonNull String, @Nullable java.lang.String...); 191*344a7f5eSAndroid Build Coastguard Worker method public boolean isOperationActive(int, int, String); 192*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_APPOPS") public void offsetHistory(long); 193*344a7f5eSAndroid Build Coastguard Worker method public static int opToDefaultMode(@NonNull String); 194*344a7f5eSAndroid Build Coastguard Worker method public static String opToPermission(int); 195*344a7f5eSAndroid Build Coastguard Worker method public static int permissionToOpCode(String); 196*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_APPOPS") public void reloadNonHistoricalState(); 197*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_APPOPS") public void resetHistoryParameters(); 198*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_APPOPS") public void setHistoryParameters(int, long, int); 199*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_APP_OPS_MODES") public void setMode(int, int, String, int); 200*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_APP_OPS_MODES") public void setMode(@NonNull String, int, @Nullable String, int); 201*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_APP_OPS_MODES") public void setUidMode(@NonNull String, int, int); 202*344a7f5eSAndroid Build Coastguard Worker method public static int strOpToOp(@NonNull String); 203*344a7f5eSAndroid Build Coastguard Worker field public static final int HISTORICAL_MODE_DISABLED = 0; // 0x0 204*344a7f5eSAndroid Build Coastguard Worker field public static final int HISTORICAL_MODE_ENABLED_ACTIVE = 1; // 0x1 205*344a7f5eSAndroid Build Coastguard Worker field public static final int HISTORICAL_MODE_ENABLED_PASSIVE = 2; // 0x2 206*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_BG_STATE_SETTLE_TIME = "bg_state_settle_time"; 207*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_FG_SERVICE_STATE_SETTLE_TIME = "fg_service_state_settle_time"; 208*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_TOP_STATE_SETTLE_TIME = "top_state_settle_time"; 209*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_ACCEPT_HANDOVER = "android:accept_handover"; 210*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_ACCESS_NOTIFICATIONS = "android:access_notifications"; 211*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_ACTIVATE_VPN = "android:activate_vpn"; 212*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_ASSIST_SCREENSHOT = "android:assist_screenshot"; 213*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_ASSIST_STRUCTURE = "android:assist_structure"; 214*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_AUDIO_ACCESSIBILITY_VOLUME = "android:audio_accessibility_volume"; 215*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_AUDIO_ALARM_VOLUME = "android:audio_alarm_volume"; 216*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_AUDIO_BLUETOOTH_VOLUME = "android:audio_bluetooth_volume"; 217*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_AUDIO_MASTER_VOLUME = "android:audio_master_volume"; 218*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_AUDIO_MEDIA_VOLUME = "android:audio_media_volume"; 219*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_AUDIO_NOTIFICATION_VOLUME = "android:audio_notification_volume"; 220*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_AUDIO_RING_VOLUME = "android:audio_ring_volume"; 221*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_AUDIO_VOICE_VOLUME = "android:audio_voice_volume"; 222*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_BIND_ACCESSIBILITY_SERVICE = "android:bind_accessibility_service"; 223*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_CHANGE_WIFI_STATE = "android:change_wifi_state"; 224*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_GET_ACCOUNTS = "android:get_accounts"; 225*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_GPS = "android:gps"; 226*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_INSTANT_APP_START_FOREGROUND = "android:instant_app_start_foreground"; 227*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_LEGACY_STORAGE = "android:legacy_storage"; 228*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_MANAGE_EXTERNAL_STORAGE = "android:manage_external_storage"; 229*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_MANAGE_IPSEC_TUNNELS = "android:manage_ipsec_tunnels"; 230*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_MUTE_MICROPHONE = "android:mute_microphone"; 231*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_NEIGHBORING_CELLS = "android:neighboring_cells"; 232*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_PLAY_AUDIO = "android:play_audio"; 233*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_POST_NOTIFICATION = "android:post_notification"; 234*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_PROJECT_MEDIA = "android:project_media"; 235*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_READ_CLIPBOARD = "android:read_clipboard"; 236*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_READ_ICC_SMS = "android:read_icc_sms"; 237*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_READ_MEDIA_AUDIO = "android:read_media_audio"; 238*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_READ_MEDIA_IMAGES = "android:read_media_images"; 239*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_READ_MEDIA_VIDEO = "android:read_media_video"; 240*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_RECEIVE_EMERGENCY_BROADCAST = "android:receive_emergency_broadcast"; 241*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_REQUEST_DELETE_PACKAGES = "android:request_delete_packages"; 242*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_REQUEST_INSTALL_PACKAGES = "android:request_install_packages"; 243*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_RUN_ANY_IN_BACKGROUND = "android:run_any_in_background"; 244*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_RUN_IN_BACKGROUND = "android:run_in_background"; 245*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_START_FOREGROUND = "android:start_foreground"; 246*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_TAKE_AUDIO_FOCUS = "android:take_audio_focus"; 247*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_TAKE_MEDIA_BUTTONS = "android:take_media_buttons"; 248*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_TOAST_WINDOW = "android:toast_window"; 249*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_TURN_SCREEN_ON = "android:turn_screen_on"; 250*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_VIBRATE = "android:vibrate"; 251*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_WAKE_LOCK = "android:wake_lock"; 252*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_WIFI_SCAN = "android:wifi_scan"; 253*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_WRITE_CLIPBOARD = "android:write_clipboard"; 254*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_WRITE_ICC_SMS = "android:write_icc_sms"; 255*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_WRITE_MEDIA_AUDIO = "android:write_media_audio"; 256*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_WRITE_MEDIA_IMAGES = "android:write_media_images"; 257*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_WRITE_MEDIA_VIDEO = "android:write_media_video"; 258*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_WRITE_SMS = "android:write_sms"; 259*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_WRITE_WALLPAPER = "android:write_wallpaper"; 260*344a7f5eSAndroid Build Coastguard Worker field public static final int OP_COARSE_LOCATION = 0; // 0x0 261*344a7f5eSAndroid Build Coastguard Worker field public static final int OP_FLAGS_ALL = 31; // 0x1f 262*344a7f5eSAndroid Build Coastguard Worker field public static final int OP_FLAG_SELF = 1; // 0x1 263*344a7f5eSAndroid Build Coastguard Worker field public static final int OP_FLAG_TRUSTED_PROXIED = 8; // 0x8 264*344a7f5eSAndroid Build Coastguard Worker field public static final int OP_FLAG_TRUSTED_PROXY = 2; // 0x2 265*344a7f5eSAndroid Build Coastguard Worker field public static final int OP_FLAG_UNTRUSTED_PROXIED = 16; // 0x10 266*344a7f5eSAndroid Build Coastguard Worker field public static final int OP_FLAG_UNTRUSTED_PROXY = 4; // 0x4 267*344a7f5eSAndroid Build Coastguard Worker field public static final int OP_RECORD_AUDIO = 27; // 0x1b 268*344a7f5eSAndroid Build Coastguard Worker field public static final int OP_START_FOREGROUND = 76; // 0x4c 269*344a7f5eSAndroid Build Coastguard Worker field public static final int OP_SYSTEM_ALERT_WINDOW = 24; // 0x18 270*344a7f5eSAndroid Build Coastguard Worker field public static final int UID_STATE_BACKGROUND = 600; // 0x258 271*344a7f5eSAndroid Build Coastguard Worker field public static final int UID_STATE_CACHED = 700; // 0x2bc 272*344a7f5eSAndroid Build Coastguard Worker field public static final int UID_STATE_FOREGROUND = 500; // 0x1f4 273*344a7f5eSAndroid Build Coastguard Worker field public static final int UID_STATE_FOREGROUND_SERVICE = 400; // 0x190 274*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int UID_STATE_FOREGROUND_SERVICE_LOCATION = 300; // 0x12c 275*344a7f5eSAndroid Build Coastguard Worker field public static final int UID_STATE_PERSISTENT = 100; // 0x64 276*344a7f5eSAndroid Build Coastguard Worker field public static final int UID_STATE_TOP = 200; // 0xc8 277*344a7f5eSAndroid Build Coastguard Worker } 278*344a7f5eSAndroid Build Coastguard Worker 279*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.AttributedHistoricalOps implements android.os.Parcelable { 280*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 281*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.HistoricalOp getOp(@NonNull String); 282*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalOp getOpAt(@IntRange(from=0) int); 283*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getOpCount(); 284*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getTag(); 285*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 286*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.AttributedHistoricalOps> CREATOR; 287*344a7f5eSAndroid Build Coastguard Worker } 288*344a7f5eSAndroid Build Coastguard Worker 289*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.AttributedOpEntry implements android.os.Parcelable { 290*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 291*344a7f5eSAndroid Build Coastguard Worker method public long getLastAccessBackgroundTime(int); 292*344a7f5eSAndroid Build Coastguard Worker method public long getLastAccessForegroundTime(int); 293*344a7f5eSAndroid Build Coastguard Worker method public long getLastAccessTime(int); 294*344a7f5eSAndroid Build Coastguard Worker method public long getLastAccessTime(int, int, int); 295*344a7f5eSAndroid Build Coastguard Worker method public long getLastBackgroundDuration(int); 296*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastBackgroundProxyInfo(int); 297*344a7f5eSAndroid Build Coastguard Worker method public long getLastDuration(int); 298*344a7f5eSAndroid Build Coastguard Worker method public long getLastDuration(int, int, int); 299*344a7f5eSAndroid Build Coastguard Worker method public long getLastForegroundDuration(int); 300*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastForegroundProxyInfo(int); 301*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int); 302*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int, int, int); 303*344a7f5eSAndroid Build Coastguard Worker method public long getLastRejectBackgroundTime(int); 304*344a7f5eSAndroid Build Coastguard Worker method public long getLastRejectForegroundTime(int); 305*344a7f5eSAndroid Build Coastguard Worker method public long getLastRejectTime(int); 306*344a7f5eSAndroid Build Coastguard Worker method public long getLastRejectTime(int, int, int); 307*344a7f5eSAndroid Build Coastguard Worker method public boolean isRunning(); 308*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 309*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.AttributedOpEntry> CREATOR; 310*344a7f5eSAndroid Build Coastguard Worker } 311*344a7f5eSAndroid Build Coastguard Worker 312*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.HistoricalOp implements android.os.Parcelable { 313*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 314*344a7f5eSAndroid Build Coastguard Worker method public long getAccessCount(int, int, int); 315*344a7f5eSAndroid Build Coastguard Worker method public long getAccessDuration(int, int, int); 316*344a7f5eSAndroid Build Coastguard Worker method public long getBackgroundAccessCount(int); 317*344a7f5eSAndroid Build Coastguard Worker method public long getBackgroundAccessDuration(int); 318*344a7f5eSAndroid Build Coastguard Worker method public long getBackgroundRejectCount(int); 319*344a7f5eSAndroid Build Coastguard Worker method public long getForegroundAccessCount(int); 320*344a7f5eSAndroid Build Coastguard Worker method public long getForegroundAccessDuration(int); 321*344a7f5eSAndroid Build Coastguard Worker method public long getForegroundRejectCount(int); 322*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getOpName(); 323*344a7f5eSAndroid Build Coastguard Worker method public long getRejectCount(int, int, int); 324*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 325*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalOp> CREATOR; 326*344a7f5eSAndroid Build Coastguard Worker } 327*344a7f5eSAndroid Build Coastguard Worker 328*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.HistoricalOps implements android.os.Parcelable { 329*344a7f5eSAndroid Build Coastguard Worker ctor public AppOpsManager.HistoricalOps(long, long); 330*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 331*344a7f5eSAndroid Build Coastguard Worker method public long getBeginTimeMillis(); 332*344a7f5eSAndroid Build Coastguard Worker method public long getEndTimeMillis(); 333*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getUidCount(); 334*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.HistoricalUidOps getUidOps(int); 335*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalUidOps getUidOpsAt(@IntRange(from=0) int); 336*344a7f5eSAndroid Build Coastguard Worker method public void increaseAccessCount(int, int, @NonNull String, @Nullable String, int, int, long); 337*344a7f5eSAndroid Build Coastguard Worker method public void increaseAccessDuration(int, int, @NonNull String, @Nullable String, int, int, long); 338*344a7f5eSAndroid Build Coastguard Worker method public void increaseRejectCount(int, int, @NonNull String, @Nullable String, int, int, long); 339*344a7f5eSAndroid Build Coastguard Worker method public void offsetBeginAndEndTime(long); 340*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 341*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalOps> CREATOR; 342*344a7f5eSAndroid Build Coastguard Worker } 343*344a7f5eSAndroid Build Coastguard Worker 344*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.HistoricalOpsRequest { 345*344a7f5eSAndroid Build Coastguard Worker } 346*344a7f5eSAndroid Build Coastguard Worker 347*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.HistoricalOpsRequest.Builder { 348*344a7f5eSAndroid Build Coastguard Worker ctor public AppOpsManager.HistoricalOpsRequest.Builder(long, long); 349*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest build(); 350*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setAttributionTag(@Nullable String); 351*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setFlags(int); 352*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setOpNames(@Nullable java.util.List<java.lang.String>); 353*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setPackageName(@Nullable String); 354*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalOpsRequest.Builder setUid(int); 355*344a7f5eSAndroid Build Coastguard Worker } 356*344a7f5eSAndroid Build Coastguard Worker 357*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.HistoricalPackageOps implements android.os.Parcelable { 358*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 359*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.AttributedHistoricalOps getAttributedOps(@NonNull String); 360*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.AttributedHistoricalOps getAttributedOpsAt(@IntRange(from=0) int); 361*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getAttributedOpsCount(); 362*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.HistoricalOp getOp(@NonNull String); 363*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalOp getOpAt(@IntRange(from=0) int); 364*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getOpCount(); 365*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 366*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 367*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalPackageOps> CREATOR; 368*344a7f5eSAndroid Build Coastguard Worker } 369*344a7f5eSAndroid Build Coastguard Worker 370*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.HistoricalUidOps implements android.os.Parcelable { 371*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 372*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getPackageCount(); 373*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.HistoricalPackageOps getPackageOps(@NonNull String); 374*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.AppOpsManager.HistoricalPackageOps getPackageOpsAt(@IntRange(from=0) int); 375*344a7f5eSAndroid Build Coastguard Worker method public int getUid(); 376*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 377*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.HistoricalUidOps> CREATOR; 378*344a7f5eSAndroid Build Coastguard Worker } 379*344a7f5eSAndroid Build Coastguard Worker 380*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.OpEntry implements android.os.Parcelable { 381*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 382*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Map<java.lang.String,android.app.AppOpsManager.AttributedOpEntry> getAttributedOpEntries(); 383*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public long getDuration(); 384*344a7f5eSAndroid Build Coastguard Worker method public long getLastAccessBackgroundTime(int); 385*344a7f5eSAndroid Build Coastguard Worker method public long getLastAccessForegroundTime(int); 386*344a7f5eSAndroid Build Coastguard Worker method public long getLastAccessTime(int); 387*344a7f5eSAndroid Build Coastguard Worker method public long getLastAccessTime(int, int, int); 388*344a7f5eSAndroid Build Coastguard Worker method public long getLastBackgroundDuration(int); 389*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastBackgroundProxyInfo(int); 390*344a7f5eSAndroid Build Coastguard Worker method public long getLastDuration(int); 391*344a7f5eSAndroid Build Coastguard Worker method public long getLastDuration(int, int, int); 392*344a7f5eSAndroid Build Coastguard Worker method public long getLastForegroundDuration(int); 393*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastForegroundProxyInfo(int); 394*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int); 395*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.AppOpsManager.OpEventProxyInfo getLastProxyInfo(int, int, int); 396*344a7f5eSAndroid Build Coastguard Worker method public long getLastRejectBackgroundTime(int); 397*344a7f5eSAndroid Build Coastguard Worker method public long getLastRejectForegroundTime(int); 398*344a7f5eSAndroid Build Coastguard Worker method public long getLastRejectTime(int); 399*344a7f5eSAndroid Build Coastguard Worker method public long getLastRejectTime(int, int, int); 400*344a7f5eSAndroid Build Coastguard Worker method public int getMode(); 401*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getOpStr(); 402*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @Nullable public String getProxyPackageName(); 403*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @Nullable public String getProxyPackageName(int, int); 404*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getProxyUid(); 405*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getProxyUid(int, int); 406*344a7f5eSAndroid Build Coastguard Worker method public boolean isRunning(); 407*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 408*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.OpEntry> CREATOR; 409*344a7f5eSAndroid Build Coastguard Worker } 410*344a7f5eSAndroid Build Coastguard Worker 411*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.OpEventProxyInfo implements android.os.Parcelable { 412*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 413*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getAttributionTag(); 414*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getPackageName(); 415*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getUid(); 416*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 417*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.OpEventProxyInfo> CREATOR; 418*344a7f5eSAndroid Build Coastguard Worker } 419*344a7f5eSAndroid Build Coastguard Worker 420*344a7f5eSAndroid Build Coastguard Worker public static final class AppOpsManager.PackageOps implements android.os.Parcelable { 421*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 422*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.app.AppOpsManager.OpEntry> getOps(); 423*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 424*344a7f5eSAndroid Build Coastguard Worker method public int getUid(); 425*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 426*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.PackageOps> CREATOR; 427*344a7f5eSAndroid Build Coastguard Worker } 428*344a7f5eSAndroid Build Coastguard Worker 429*344a7f5eSAndroid Build Coastguard Worker public class DownloadManager { 430*344a7f5eSAndroid Build Coastguard Worker field public static final String COLUMN_MEDIASTORE_URI = "mediastore_uri"; 431*344a7f5eSAndroid Build Coastguard Worker } 432*344a7f5eSAndroid Build Coastguard Worker 433*344a7f5eSAndroid Build Coastguard Worker public class DreamManager { 434*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_DREAM_STATE") public boolean isDreaming(); 435*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.WRITE_DREAM_STATE") public void setActiveDream(@NonNull android.content.ComponentName); 436*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.WRITE_DREAM_STATE") public void startDream(@NonNull android.content.ComponentName); 437*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.WRITE_DREAM_STATE") public void stopDream(); 438*344a7f5eSAndroid Build Coastguard Worker } 439*344a7f5eSAndroid Build Coastguard Worker 440*344a7f5eSAndroid Build Coastguard Worker public final class NotificationChannel implements android.os.Parcelable { 441*344a7f5eSAndroid Build Coastguard Worker method public int getOriginalImportance(); 442*344a7f5eSAndroid Build Coastguard Worker method public boolean isBlockable(); 443*344a7f5eSAndroid Build Coastguard Worker method public boolean isImportanceLockedByCriticalDeviceFunction(); 444*344a7f5eSAndroid Build Coastguard Worker method public boolean isImportanceLockedByOEM(); 445*344a7f5eSAndroid Build Coastguard Worker method public void lockFields(int); 446*344a7f5eSAndroid Build Coastguard Worker method public void setBlockable(boolean); 447*344a7f5eSAndroid Build Coastguard Worker method public void setDeleted(boolean); 448*344a7f5eSAndroid Build Coastguard Worker method public void setFgServiceShown(boolean); 449*344a7f5eSAndroid Build Coastguard Worker method public void setImportanceLockedByCriticalDeviceFunction(boolean); 450*344a7f5eSAndroid Build Coastguard Worker method public void setImportanceLockedByOEM(boolean); 451*344a7f5eSAndroid Build Coastguard Worker method public void setImportantConversation(boolean); 452*344a7f5eSAndroid Build Coastguard Worker method public void setOriginalImportance(int); 453*344a7f5eSAndroid Build Coastguard Worker field public static final int USER_LOCKED_SOUND = 32; // 0x20 454*344a7f5eSAndroid Build Coastguard Worker } 455*344a7f5eSAndroid Build Coastguard Worker 456*344a7f5eSAndroid Build Coastguard Worker public final class NotificationChannelGroup implements android.os.Parcelable { 457*344a7f5eSAndroid Build Coastguard Worker method public int getUserLockedFields(); 458*344a7f5eSAndroid Build Coastguard Worker method public void lockFields(int); 459*344a7f5eSAndroid Build Coastguard Worker method public void setBlocked(boolean); 460*344a7f5eSAndroid Build Coastguard Worker } 461*344a7f5eSAndroid Build Coastguard Worker 462*344a7f5eSAndroid Build Coastguard Worker public class NotificationManager { 463*344a7f5eSAndroid Build Coastguard Worker method public void allowAssistantAdjustment(String); 464*344a7f5eSAndroid Build Coastguard Worker method public void disallowAssistantAdjustment(String); 465*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.lang.String> getAllowedAssistantAdjustments(); 466*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.content.ComponentName getAllowedNotificationAssistant(); 467*344a7f5eSAndroid Build Coastguard Worker method public android.content.ComponentName getEffectsSuppressor(); 468*344a7f5eSAndroid Build Coastguard Worker method public boolean isNotificationAssistantAccessGranted(@NonNull android.content.ComponentName); 469*344a7f5eSAndroid Build Coastguard Worker method public boolean matchesCallFilter(android.os.Bundle); 470*344a7f5eSAndroid Build Coastguard Worker method public void setNotificationAssistantAccessGranted(@Nullable android.content.ComponentName, boolean); 471*344a7f5eSAndroid Build Coastguard Worker } 472*344a7f5eSAndroid Build Coastguard Worker 473*344a7f5eSAndroid Build Coastguard Worker public final class PictureInPictureParams implements android.os.Parcelable { 474*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<android.app.RemoteAction> getActions(); 475*344a7f5eSAndroid Build Coastguard Worker method public float getAspectRatio(); 476*344a7f5eSAndroid Build Coastguard Worker method public android.graphics.Rect getSourceRectHint(); 477*344a7f5eSAndroid Build Coastguard Worker } 478*344a7f5eSAndroid Build Coastguard Worker 479*344a7f5eSAndroid Build Coastguard Worker public final class RuntimeAppOpAccessMessage implements android.os.Parcelable { 480*344a7f5eSAndroid Build Coastguard Worker ctor public RuntimeAppOpAccessMessage(@IntRange(from=0L) int, @IntRange(from=0L) int, @NonNull String, @Nullable String, @NonNull String, int); 481*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 482*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getAttributionTag(); 483*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getMessage(); 484*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getOp(); 485*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 486*344a7f5eSAndroid Build Coastguard Worker method public int getSamplingStrategy(); 487*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0L) public int getUid(); 488*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 489*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.RuntimeAppOpAccessMessage> CREATOR; 490*344a7f5eSAndroid Build Coastguard Worker } 491*344a7f5eSAndroid Build Coastguard Worker 492*344a7f5eSAndroid Build Coastguard Worker public class StatusBarManager { 493*344a7f5eSAndroid Build Coastguard Worker method public void collapsePanels(); 494*344a7f5eSAndroid Build Coastguard Worker method public void expandNotificationsPanel(); 495*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.STATUS_BAR) public android.app.StatusBarManager.DisableInfo getDisableInfo(); 496*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setDisabledForSetup(boolean); 497*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setDisabledForSimNetworkLock(boolean); 498*344a7f5eSAndroid Build Coastguard Worker } 499*344a7f5eSAndroid Build Coastguard Worker 500*344a7f5eSAndroid Build Coastguard Worker public static final class StatusBarManager.DisableInfo { 501*344a7f5eSAndroid Build Coastguard Worker method public boolean areAllComponentsEnabled(); 502*344a7f5eSAndroid Build Coastguard Worker method public boolean isNavigateToHomeDisabled(); 503*344a7f5eSAndroid Build Coastguard Worker method public boolean isNotificationPeekingDisabled(); 504*344a7f5eSAndroid Build Coastguard Worker method public boolean isRecentsDisabled(); 505*344a7f5eSAndroid Build Coastguard Worker method public boolean isSearchDisabled(); 506*344a7f5eSAndroid Build Coastguard Worker method public boolean isStatusBarExpansionDisabled(); 507*344a7f5eSAndroid Build Coastguard Worker } 508*344a7f5eSAndroid Build Coastguard Worker 509*344a7f5eSAndroid Build Coastguard Worker public class TaskInfo { 510*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.res.Configuration getConfiguration(); 511*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.window.WindowContainerToken getToken(); 512*344a7f5eSAndroid Build Coastguard Worker } 513*344a7f5eSAndroid Build Coastguard Worker 514*344a7f5eSAndroid Build Coastguard Worker public class TimePickerDialog extends android.app.AlertDialog implements android.content.DialogInterface.OnClickListener android.widget.TimePicker.OnTimeChangedListener { 515*344a7f5eSAndroid Build Coastguard Worker method public android.widget.TimePicker getTimePicker(); 516*344a7f5eSAndroid Build Coastguard Worker } 517*344a7f5eSAndroid Build Coastguard Worker 518*344a7f5eSAndroid Build Coastguard Worker public final class UiAutomation { 519*344a7f5eSAndroid Build Coastguard Worker method public void destroy(); 520*344a7f5eSAndroid Build Coastguard Worker method public android.os.ParcelFileDescriptor[] executeShellCommandRw(String); 521*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean grantRuntimePermission(String, String, android.os.UserHandle); 522*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean revokeRuntimePermission(String, String, android.os.UserHandle); 523*344a7f5eSAndroid Build Coastguard Worker method public void syncInputTransactions(); 524*344a7f5eSAndroid Build Coastguard Worker } 525*344a7f5eSAndroid Build Coastguard Worker 526*344a7f5eSAndroid Build Coastguard Worker public class UiModeManager { 527*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.ENTER_CAR_MODE_PRIORITIZED") public void enableCarMode(@IntRange(from=0) int, int); 528*344a7f5eSAndroid Build Coastguard Worker method public boolean isNightModeLocked(); 529*344a7f5eSAndroid Build Coastguard Worker method public boolean isUiModeLocked(); 530*344a7f5eSAndroid Build Coastguard Worker } 531*344a7f5eSAndroid Build Coastguard Worker 532*344a7f5eSAndroid Build Coastguard Worker public class WallpaperManager { 533*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.graphics.Bitmap getBitmap(); 534*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.SET_WALLPAPER_COMPONENT") public boolean setWallpaperComponent(android.content.ComponentName); 535*344a7f5eSAndroid Build Coastguard Worker method public boolean shouldEnableWideColorGamut(); 536*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_EXTERNAL_STORAGE) public boolean wallpaperSupportsWcg(int); 537*344a7f5eSAndroid Build Coastguard Worker } 538*344a7f5eSAndroid Build Coastguard Worker 539*344a7f5eSAndroid Build Coastguard Worker public class WindowConfiguration implements java.lang.Comparable<android.app.WindowConfiguration> android.os.Parcelable { 540*344a7f5eSAndroid Build Coastguard Worker ctor public WindowConfiguration(); 541*344a7f5eSAndroid Build Coastguard Worker method public int compareTo(android.app.WindowConfiguration); 542*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 543*344a7f5eSAndroid Build Coastguard Worker method public int getActivityType(); 544*344a7f5eSAndroid Build Coastguard Worker method public android.graphics.Rect getAppBounds(); 545*344a7f5eSAndroid Build Coastguard Worker method public android.graphics.Rect getBounds(); 546*344a7f5eSAndroid Build Coastguard Worker method public int getRotation(); 547*344a7f5eSAndroid Build Coastguard Worker method public int getWindowingMode(); 548*344a7f5eSAndroid Build Coastguard Worker method public void setActivityType(int); 549*344a7f5eSAndroid Build Coastguard Worker method public void setAppBounds(android.graphics.Rect); 550*344a7f5eSAndroid Build Coastguard Worker method public void setBounds(android.graphics.Rect); 551*344a7f5eSAndroid Build Coastguard Worker method public void setRotation(int); 552*344a7f5eSAndroid Build Coastguard Worker method public void setTo(android.app.WindowConfiguration); 553*344a7f5eSAndroid Build Coastguard Worker method public void setWindowingMode(int); 554*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 555*344a7f5eSAndroid Build Coastguard Worker field public static final int ACTIVITY_TYPE_ASSISTANT = 4; // 0x4 556*344a7f5eSAndroid Build Coastguard Worker field public static final int ACTIVITY_TYPE_DREAM = 5; // 0x5 557*344a7f5eSAndroid Build Coastguard Worker field public static final int ACTIVITY_TYPE_HOME = 2; // 0x2 558*344a7f5eSAndroid Build Coastguard Worker field public static final int ACTIVITY_TYPE_RECENTS = 3; // 0x3 559*344a7f5eSAndroid Build Coastguard Worker field public static final int ACTIVITY_TYPE_STANDARD = 1; // 0x1 560*344a7f5eSAndroid Build Coastguard Worker field public static final int ACTIVITY_TYPE_UNDEFINED = 0; // 0x0 561*344a7f5eSAndroid Build Coastguard Worker field public static final int ROTATION_UNDEFINED = -1; // 0xffffffff 562*344a7f5eSAndroid Build Coastguard Worker field public static final int WINDOWING_MODE_FREEFORM = 5; // 0x5 563*344a7f5eSAndroid Build Coastguard Worker field public static final int WINDOWING_MODE_FULLSCREEN = 1; // 0x1 564*344a7f5eSAndroid Build Coastguard Worker field public static final int WINDOWING_MODE_FULLSCREEN_OR_SPLIT_SCREEN_SECONDARY = 4; // 0x4 565*344a7f5eSAndroid Build Coastguard Worker field public static final int WINDOWING_MODE_MULTI_WINDOW = 6; // 0x6 566*344a7f5eSAndroid Build Coastguard Worker field public static final int WINDOWING_MODE_PINNED = 2; // 0x2 567*344a7f5eSAndroid Build Coastguard Worker field public static final int WINDOWING_MODE_SPLIT_SCREEN_PRIMARY = 3; // 0x3 568*344a7f5eSAndroid Build Coastguard Worker field public static final int WINDOWING_MODE_SPLIT_SCREEN_SECONDARY = 4; // 0x4 569*344a7f5eSAndroid Build Coastguard Worker field public static final int WINDOWING_MODE_UNDEFINED = 0; // 0x0 570*344a7f5eSAndroid Build Coastguard Worker } 571*344a7f5eSAndroid Build Coastguard Worker 572*344a7f5eSAndroid Build Coastguard Worker} 573*344a7f5eSAndroid Build Coastguard Worker 574*344a7f5eSAndroid Build Coastguard Workerpackage android.app.admin { 575*344a7f5eSAndroid Build Coastguard Worker 576*344a7f5eSAndroid Build Coastguard Worker public class DevicePolicyManager { 577*344a7f5eSAndroid Build Coastguard Worker method @Nullable public CharSequence getDeviceOwnerOrganizationName(); 578*344a7f5eSAndroid Build Coastguard Worker method public long getLastBugReportRequestTime(); 579*344a7f5eSAndroid Build Coastguard Worker method public long getLastNetworkLogRetrievalTime(); 580*344a7f5eSAndroid Build Coastguard Worker method public long getLastSecurityLogRetrievalTime(); 581*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<java.lang.String> getOwnerInstalledCaCerts(@NonNull android.os.UserHandle); 582*344a7f5eSAndroid Build Coastguard Worker method public boolean isCurrentInputMethodSetByOwner(); 583*344a7f5eSAndroid Build Coastguard Worker method public boolean isDeviceManaged(); 584*344a7f5eSAndroid Build Coastguard Worker method public boolean isFactoryResetProtectionPolicySupported(); 585*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCOUNT_FEATURE_DEVICE_OR_PROFILE_OWNER_ALLOWED = "android.account.DEVICE_OR_PROFILE_OWNER_ALLOWED"; 586*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCOUNT_FEATURE_DEVICE_OR_PROFILE_OWNER_DISALLOWED = "android.account.DEVICE_OR_PROFILE_OWNER_DISALLOWED"; 587*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_DATA_SHARING_RESTRICTION_APPLIED = "android.app.action.DATA_SHARING_RESTRICTION_APPLIED"; 588*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_RESTRICTION = "android.app.extra.RESTRICTION"; 589*344a7f5eSAndroid Build Coastguard Worker } 590*344a7f5eSAndroid Build Coastguard Worker 591*344a7f5eSAndroid Build Coastguard Worker public static final class SecurityLog.SecurityEvent implements android.os.Parcelable { 592*344a7f5eSAndroid Build Coastguard Worker ctor public SecurityLog.SecurityEvent(long, byte[]); 593*344a7f5eSAndroid Build Coastguard Worker } 594*344a7f5eSAndroid Build Coastguard Worker 595*344a7f5eSAndroid Build Coastguard Worker} 596*344a7f5eSAndroid Build Coastguard Worker 597*344a7f5eSAndroid Build Coastguard Workerpackage android.app.assist { 598*344a7f5eSAndroid Build Coastguard Worker 599*344a7f5eSAndroid Build Coastguard Worker public static class AssistStructure.ViewNode { 600*344a7f5eSAndroid Build Coastguard Worker ctor public AssistStructure.ViewNode(); 601*344a7f5eSAndroid Build Coastguard Worker } 602*344a7f5eSAndroid Build Coastguard Worker 603*344a7f5eSAndroid Build Coastguard Worker} 604*344a7f5eSAndroid Build Coastguard Worker 605*344a7f5eSAndroid Build Coastguard Workerpackage android.app.backup { 606*344a7f5eSAndroid Build Coastguard Worker 607*344a7f5eSAndroid Build Coastguard Worker public class BackupManager { 608*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.BACKUP") public android.content.Intent getConfigurationIntent(String); 609*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.BACKUP") public android.content.Intent getDataManagementIntent(String); 610*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission("android.permission.BACKUP") public CharSequence getDataManagementIntentLabel(@NonNull String); 611*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @Nullable @RequiresPermission("android.permission.BACKUP") public String getDataManagementLabel(@NonNull String); 612*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.BACKUP") public String getDestinationString(String); 613*344a7f5eSAndroid Build Coastguard Worker } 614*344a7f5eSAndroid Build Coastguard Worker 615*344a7f5eSAndroid Build Coastguard Worker} 616*344a7f5eSAndroid Build Coastguard Worker 617*344a7f5eSAndroid Build Coastguard Workerpackage android.app.blob { 618*344a7f5eSAndroid Build Coastguard Worker 619*344a7f5eSAndroid Build Coastguard Worker public class BlobStoreManager { 620*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.blob.LeaseInfo getLeaseInfo(@NonNull android.app.blob.BlobHandle) throws java.io.IOException; 621*344a7f5eSAndroid Build Coastguard Worker method public void waitForIdle(long) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException; 622*344a7f5eSAndroid Build Coastguard Worker } 623*344a7f5eSAndroid Build Coastguard Worker 624*344a7f5eSAndroid Build Coastguard Worker public final class LeaseInfo implements android.os.Parcelable { 625*344a7f5eSAndroid Build Coastguard Worker ctor public LeaseInfo(@NonNull String, long, @IdRes int, @Nullable CharSequence); 626*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 627*344a7f5eSAndroid Build Coastguard Worker method @Nullable public CharSequence getDescription(); 628*344a7f5eSAndroid Build Coastguard Worker method @IdRes public int getDescriptionResId(); 629*344a7f5eSAndroid Build Coastguard Worker method public long getExpiryTimeMillis(); 630*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 631*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 632*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.blob.LeaseInfo> CREATOR; 633*344a7f5eSAndroid Build Coastguard Worker } 634*344a7f5eSAndroid Build Coastguard Worker 635*344a7f5eSAndroid Build Coastguard Worker} 636*344a7f5eSAndroid Build Coastguard Worker 637*344a7f5eSAndroid Build Coastguard Workerpackage android.app.prediction { 638*344a7f5eSAndroid Build Coastguard Worker 639*344a7f5eSAndroid Build Coastguard Worker public final class AppPredictionContext implements android.os.Parcelable { 640*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 641*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.Bundle getExtras(); 642*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 643*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getPredictedTargetCount(); 644*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getUiSurface(); 645*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 646*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppPredictionContext> CREATOR; 647*344a7f5eSAndroid Build Coastguard Worker } 648*344a7f5eSAndroid Build Coastguard Worker 649*344a7f5eSAndroid Build Coastguard Worker public static final class AppPredictionContext.Builder { 650*344a7f5eSAndroid Build Coastguard Worker ctor public AppPredictionContext.Builder(@NonNull android.content.Context); 651*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppPredictionContext build(); 652*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppPredictionContext.Builder setExtras(@Nullable android.os.Bundle); 653*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppPredictionContext.Builder setPredictedTargetCount(@IntRange(from=0) int); 654*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppPredictionContext.Builder setUiSurface(@NonNull String); 655*344a7f5eSAndroid Build Coastguard Worker } 656*344a7f5eSAndroid Build Coastguard Worker 657*344a7f5eSAndroid Build Coastguard Worker public final class AppPredictionManager { 658*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppPredictor createAppPredictionSession(@NonNull android.app.prediction.AppPredictionContext); 659*344a7f5eSAndroid Build Coastguard Worker } 660*344a7f5eSAndroid Build Coastguard Worker 661*344a7f5eSAndroid Build Coastguard Worker public final class AppPredictionSessionId implements android.os.Parcelable { 662*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 663*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 664*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppPredictionSessionId> CREATOR; 665*344a7f5eSAndroid Build Coastguard Worker } 666*344a7f5eSAndroid Build Coastguard Worker 667*344a7f5eSAndroid Build Coastguard Worker public final class AppPredictor { 668*344a7f5eSAndroid Build Coastguard Worker method public void destroy(); 669*344a7f5eSAndroid Build Coastguard Worker method public android.app.prediction.AppPredictionSessionId getSessionId(); 670*344a7f5eSAndroid Build Coastguard Worker method public void notifyAppTargetEvent(@NonNull android.app.prediction.AppTargetEvent); 671*344a7f5eSAndroid Build Coastguard Worker method public void notifyLaunchLocationShown(@NonNull String, @NonNull java.util.List<android.app.prediction.AppTargetId>); 672*344a7f5eSAndroid Build Coastguard Worker method public void registerPredictionUpdates(@NonNull java.util.concurrent.Executor, @NonNull android.app.prediction.AppPredictor.Callback); 673*344a7f5eSAndroid Build Coastguard Worker method public void requestPredictionUpdate(); 674*344a7f5eSAndroid Build Coastguard Worker method @Nullable public void sortTargets(@NonNull java.util.List<android.app.prediction.AppTarget>, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.util.List<android.app.prediction.AppTarget>>); 675*344a7f5eSAndroid Build Coastguard Worker method public void unregisterPredictionUpdates(@NonNull android.app.prediction.AppPredictor.Callback); 676*344a7f5eSAndroid Build Coastguard Worker } 677*344a7f5eSAndroid Build Coastguard Worker 678*344a7f5eSAndroid Build Coastguard Worker public static interface AppPredictor.Callback { 679*344a7f5eSAndroid Build Coastguard Worker method public void onTargetsAvailable(@NonNull java.util.List<android.app.prediction.AppTarget>); 680*344a7f5eSAndroid Build Coastguard Worker } 681*344a7f5eSAndroid Build Coastguard Worker 682*344a7f5eSAndroid Build Coastguard Worker public final class AppTarget implements android.os.Parcelable { 683*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 684*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getClassName(); 685*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppTargetId getId(); 686*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 687*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public int getRank(); 688*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.content.pm.ShortcutInfo getShortcutInfo(); 689*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.UserHandle getUser(); 690*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 691*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTarget> CREATOR; 692*344a7f5eSAndroid Build Coastguard Worker } 693*344a7f5eSAndroid Build Coastguard Worker 694*344a7f5eSAndroid Build Coastguard Worker public static final class AppTarget.Builder { 695*344a7f5eSAndroid Build Coastguard Worker ctor public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId, @NonNull String, @NonNull android.os.UserHandle); 696*344a7f5eSAndroid Build Coastguard Worker ctor public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId, @NonNull android.content.pm.ShortcutInfo); 697*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppTarget build(); 698*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppTarget.Builder setClassName(@NonNull String); 699*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppTarget.Builder setRank(@IntRange(from=0) int); 700*344a7f5eSAndroid Build Coastguard Worker } 701*344a7f5eSAndroid Build Coastguard Worker 702*344a7f5eSAndroid Build Coastguard Worker public final class AppTargetEvent implements android.os.Parcelable { 703*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 704*344a7f5eSAndroid Build Coastguard Worker method public int getAction(); 705*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getLaunchLocation(); 706*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.prediction.AppTarget getTarget(); 707*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 708*344a7f5eSAndroid Build Coastguard Worker field public static final int ACTION_DISMISS = 2; // 0x2 709*344a7f5eSAndroid Build Coastguard Worker field public static final int ACTION_LAUNCH = 1; // 0x1 710*344a7f5eSAndroid Build Coastguard Worker field public static final int ACTION_PIN = 3; // 0x3 711*344a7f5eSAndroid Build Coastguard Worker field public static final int ACTION_UNPIN = 4; // 0x4 712*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTargetEvent> CREATOR; 713*344a7f5eSAndroid Build Coastguard Worker } 714*344a7f5eSAndroid Build Coastguard Worker 715*344a7f5eSAndroid Build Coastguard Worker public static final class AppTargetEvent.Builder { 716*344a7f5eSAndroid Build Coastguard Worker ctor public AppTargetEvent.Builder(@Nullable android.app.prediction.AppTarget, int); 717*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppTargetEvent build(); 718*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.prediction.AppTargetEvent.Builder setLaunchLocation(@Nullable String); 719*344a7f5eSAndroid Build Coastguard Worker } 720*344a7f5eSAndroid Build Coastguard Worker 721*344a7f5eSAndroid Build Coastguard Worker public final class AppTargetId implements android.os.Parcelable { 722*344a7f5eSAndroid Build Coastguard Worker ctor public AppTargetId(@NonNull String); 723*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 724*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 725*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTargetId> CREATOR; 726*344a7f5eSAndroid Build Coastguard Worker } 727*344a7f5eSAndroid Build Coastguard Worker 728*344a7f5eSAndroid Build Coastguard Worker} 729*344a7f5eSAndroid Build Coastguard Worker 730*344a7f5eSAndroid Build Coastguard Workerpackage android.app.role { 731*344a7f5eSAndroid Build Coastguard Worker 732*344a7f5eSAndroid Build Coastguard Worker public interface OnRoleHoldersChangedListener { 733*344a7f5eSAndroid Build Coastguard Worker method public void onRoleHoldersChanged(@NonNull String, @NonNull android.os.UserHandle); 734*344a7f5eSAndroid Build Coastguard Worker } 735*344a7f5eSAndroid Build Coastguard Worker 736*344a7f5eSAndroid Build Coastguard Worker public class RoleControllerManager { 737*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_ROLE_HOLDERS") public void isApplicationVisibleForRole(@NonNull String, @NonNull String, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>); 738*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_ROLE_HOLDERS") public void isRoleVisible(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>); 739*344a7f5eSAndroid Build Coastguard Worker } 740*344a7f5eSAndroid Build Coastguard Worker 741*344a7f5eSAndroid Build Coastguard Worker public final class RoleManager { 742*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.OBSERVE_ROLE_HOLDERS") public void addOnRoleHoldersChangedListenerAsUser(@NonNull java.util.concurrent.Executor, @NonNull android.app.role.OnRoleHoldersChangedListener, @NonNull android.os.UserHandle); 743*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_ROLE_HOLDERS") public void addRoleHolderAsUser(@NonNull String, @NonNull String, int, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>); 744*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public boolean addRoleHolderFromController(@NonNull String, @NonNull String); 745*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_ROLE_HOLDERS") public void clearRoleHoldersAsUser(@NonNull String, int, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>); 746*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public java.util.List<java.lang.String> getHeldRolesFromController(@NonNull String); 747*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.MANAGE_ROLE_HOLDERS") public java.util.List<java.lang.String> getRoleHolders(@NonNull String); 748*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.MANAGE_ROLE_HOLDERS") public java.util.List<java.lang.String> getRoleHoldersAsUser(@NonNull String, @NonNull android.os.UserHandle); 749*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.OBSERVE_ROLE_HOLDERS") public void removeOnRoleHoldersChangedListenerAsUser(@NonNull android.app.role.OnRoleHoldersChangedListener, @NonNull android.os.UserHandle); 750*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_ROLE_HOLDERS") public void removeRoleHolderAsUser(@NonNull String, @NonNull String, int, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>); 751*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public boolean removeRoleHolderFromController(@NonNull String, @NonNull String); 752*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("com.android.permissioncontroller.permission.MANAGE_ROLES_FROM_CONTROLLER") public void setRoleNamesFromController(@NonNull java.util.List<java.lang.String>); 753*344a7f5eSAndroid Build Coastguard Worker field public static final int MANAGE_HOLDERS_FLAG_DONT_KILL_APP = 1; // 0x1 754*344a7f5eSAndroid Build Coastguard Worker } 755*344a7f5eSAndroid Build Coastguard Worker 756*344a7f5eSAndroid Build Coastguard Worker} 757*344a7f5eSAndroid Build Coastguard Worker 758*344a7f5eSAndroid Build Coastguard Workerpackage android.app.usage { 759*344a7f5eSAndroid Build Coastguard Worker 760*344a7f5eSAndroid Build Coastguard Worker public class NetworkStatsManager { 761*344a7f5eSAndroid Build Coastguard Worker method public void setPollForce(boolean); 762*344a7f5eSAndroid Build Coastguard Worker } 763*344a7f5eSAndroid Build Coastguard Worker 764*344a7f5eSAndroid Build Coastguard Worker public class StorageStatsManager { 765*344a7f5eSAndroid Build Coastguard Worker method public boolean isQuotaSupported(@NonNull java.util.UUID); 766*344a7f5eSAndroid Build Coastguard Worker method public boolean isReservedSupported(@NonNull java.util.UUID); 767*344a7f5eSAndroid Build Coastguard Worker method @NonNull @WorkerThread public java.util.Collection<android.os.storage.CrateInfo> queryCratesForPackage(@NonNull java.util.UUID, @NonNull String, @NonNull android.os.UserHandle) throws java.io.IOException, android.content.pm.PackageManager.NameNotFoundException; 768*344a7f5eSAndroid Build Coastguard Worker method @NonNull @WorkerThread public java.util.Collection<android.os.storage.CrateInfo> queryCratesForUid(@NonNull java.util.UUID, int) throws java.io.IOException, android.content.pm.PackageManager.NameNotFoundException; 769*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_CRATES) @WorkerThread public java.util.Collection<android.os.storage.CrateInfo> queryCratesForUser(@NonNull java.util.UUID, @NonNull android.os.UserHandle) throws java.io.IOException, android.content.pm.PackageManager.NameNotFoundException; 770*344a7f5eSAndroid Build Coastguard Worker } 771*344a7f5eSAndroid Build Coastguard Worker 772*344a7f5eSAndroid Build Coastguard Worker public final class UsageStatsManager { 773*344a7f5eSAndroid Build Coastguard Worker method public void forceUsageSourceSettingRead(); 774*344a7f5eSAndroid Build Coastguard Worker } 775*344a7f5eSAndroid Build Coastguard Worker 776*344a7f5eSAndroid Build Coastguard Worker} 777*344a7f5eSAndroid Build Coastguard Worker 778*344a7f5eSAndroid Build Coastguard Workerpackage android.bluetooth { 779*344a7f5eSAndroid Build Coastguard Worker 780*344a7f5eSAndroid Build Coastguard Worker public final class BluetoothClass implements android.os.Parcelable { 781*344a7f5eSAndroid Build Coastguard Worker method public int getClassOfDevice(); 782*344a7f5eSAndroid Build Coastguard Worker } 783*344a7f5eSAndroid Build Coastguard Worker 784*344a7f5eSAndroid Build Coastguard Worker} 785*344a7f5eSAndroid Build Coastguard Worker 786*344a7f5eSAndroid Build Coastguard Workerpackage android.companion { 787*344a7f5eSAndroid Build Coastguard Worker 788*344a7f5eSAndroid Build Coastguard Worker public final class CompanionDeviceManager { 789*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_COMPANION_DEVICES") public boolean isDeviceAssociatedForWifiConnection(@NonNull String, @NonNull android.net.MacAddress, @NonNull android.os.UserHandle); 790*344a7f5eSAndroid Build Coastguard Worker } 791*344a7f5eSAndroid Build Coastguard Worker 792*344a7f5eSAndroid Build Coastguard Worker} 793*344a7f5eSAndroid Build Coastguard Worker 794*344a7f5eSAndroid Build Coastguard Workerpackage android.content { 795*344a7f5eSAndroid Build Coastguard Worker 796*344a7f5eSAndroid Build Coastguard Worker public final class AutofillOptions implements android.os.Parcelable { 797*344a7f5eSAndroid Build Coastguard Worker ctor public AutofillOptions(int, boolean); 798*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 799*344a7f5eSAndroid Build Coastguard Worker method public static android.content.AutofillOptions forWhitelistingItself(); 800*344a7f5eSAndroid Build Coastguard Worker method public boolean isAugmentedAutofillEnabled(@NonNull android.content.Context); 801*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 802*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.AutofillOptions> CREATOR; 803*344a7f5eSAndroid Build Coastguard Worker field public long appDisabledExpiration; 804*344a7f5eSAndroid Build Coastguard Worker field public boolean augmentedAutofillEnabled; 805*344a7f5eSAndroid Build Coastguard Worker field public final boolean compatModeEnabled; 806*344a7f5eSAndroid Build Coastguard Worker field @Nullable public android.util.ArrayMap<java.lang.String,java.lang.Long> disabledActivities; 807*344a7f5eSAndroid Build Coastguard Worker field public final int loggingLevel; 808*344a7f5eSAndroid Build Coastguard Worker field @Nullable public android.util.ArraySet<android.content.ComponentName> whitelistedActivitiesForAugmentedAutofill; 809*344a7f5eSAndroid Build Coastguard Worker } 810*344a7f5eSAndroid Build Coastguard Worker 811*344a7f5eSAndroid Build Coastguard Worker public final class ContentCaptureOptions implements android.os.Parcelable { 812*344a7f5eSAndroid Build Coastguard Worker ctor public ContentCaptureOptions(int); 813*344a7f5eSAndroid Build Coastguard Worker ctor public ContentCaptureOptions(int, int, int, int, int, @Nullable android.util.ArraySet<android.content.ComponentName>); 814*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 815*344a7f5eSAndroid Build Coastguard Worker method public static android.content.ContentCaptureOptions forWhitelistingItself(); 816*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 817*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.ContentCaptureOptions> CREATOR; 818*344a7f5eSAndroid Build Coastguard Worker field public final int idleFlushingFrequencyMs; 819*344a7f5eSAndroid Build Coastguard Worker field public final boolean lite; 820*344a7f5eSAndroid Build Coastguard Worker field public final int logHistorySize; 821*344a7f5eSAndroid Build Coastguard Worker field public final int loggingLevel; 822*344a7f5eSAndroid Build Coastguard Worker field public final int maxBufferSize; 823*344a7f5eSAndroid Build Coastguard Worker field public final int textChangeFlushingFrequencyMs; 824*344a7f5eSAndroid Build Coastguard Worker field @Nullable public final android.util.ArraySet<android.content.ComponentName> whitelistedComponents; 825*344a7f5eSAndroid Build Coastguard Worker } 826*344a7f5eSAndroid Build Coastguard Worker 827*344a7f5eSAndroid Build Coastguard Worker public abstract class ContentProvider implements android.content.ComponentCallbacks2 { 828*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.os.UserHandle getUserHandleFromUri(@NonNull android.net.Uri); 829*344a7f5eSAndroid Build Coastguard Worker } 830*344a7f5eSAndroid Build Coastguard Worker 831*344a7f5eSAndroid Build Coastguard Worker public class ContentProviderClient implements java.lang.AutoCloseable { 832*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.REMOVE_TASKS) public void setDetectNotResponding(long); 833*344a7f5eSAndroid Build Coastguard Worker } 834*344a7f5eSAndroid Build Coastguard Worker 835*344a7f5eSAndroid Build Coastguard Worker public abstract class ContentResolver { 836*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.net.Uri decodeFromFile(@NonNull java.io.File); 837*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.io.File encodeToFile(@NonNull android.net.Uri); 838*344a7f5eSAndroid Build Coastguard Worker method public static String[] getSyncAdapterPackagesForAuthorityAsUser(String, int); 839*344a7f5eSAndroid Build Coastguard Worker } 840*344a7f5eSAndroid Build Coastguard Worker 841*344a7f5eSAndroid Build Coastguard Worker public abstract class Context { 842*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.Context createContextAsUser(@NonNull android.os.UserHandle, int); 843*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.Context createPackageContextAsUser(@NonNull String, int, @NonNull android.os.UserHandle) throws android.content.pm.PackageManager.NameNotFoundException; 844*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.io.File getCrateDir(@NonNull String); 845*344a7f5eSAndroid Build Coastguard Worker method public abstract int getDisplayId(); 846*344a7f5eSAndroid Build Coastguard Worker method public android.os.UserHandle getUser(); 847*344a7f5eSAndroid Build Coastguard Worker method public int getUserId(); 848*344a7f5eSAndroid Build Coastguard Worker method public void setAutofillOptions(@Nullable android.content.AutofillOptions); 849*344a7f5eSAndroid Build Coastguard Worker method public void setContentCaptureOptions(@Nullable android.content.ContentCaptureOptions); 850*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.INTERACT_ACROSS_USERS") public void startActivityAsUser(@NonNull @RequiresPermission android.content.Intent, @NonNull android.os.UserHandle); 851*344a7f5eSAndroid Build Coastguard Worker field public static final String APP_INTEGRITY_SERVICE = "app_integrity"; 852*344a7f5eSAndroid Build Coastguard Worker field public static final String BUGREPORT_SERVICE = "bugreport"; 853*344a7f5eSAndroid Build Coastguard Worker field public static final String CONTENT_CAPTURE_MANAGER_SERVICE = "content_capture"; 854*344a7f5eSAndroid Build Coastguard Worker field public static final String DEVICE_IDLE_CONTROLLER = "deviceidle"; 855*344a7f5eSAndroid Build Coastguard Worker field public static final String DREAM_SERVICE = "dream"; 856*344a7f5eSAndroid Build Coastguard Worker field public static final String ETHERNET_SERVICE = "ethernet"; 857*344a7f5eSAndroid Build Coastguard Worker field public static final String PERMISSION_SERVICE = "permission"; 858*344a7f5eSAndroid Build Coastguard Worker field public static final String POWER_WHITELIST_MANAGER = "power_whitelist"; 859*344a7f5eSAndroid Build Coastguard Worker field public static final String ROLLBACK_SERVICE = "rollback"; 860*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_BAR_SERVICE = "statusbar"; 861*344a7f5eSAndroid Build Coastguard Worker field public static final String TEST_NETWORK_SERVICE = "test_network"; 862*344a7f5eSAndroid Build Coastguard Worker } 863*344a7f5eSAndroid Build Coastguard Worker 864*344a7f5eSAndroid Build Coastguard Worker public class ContextWrapper extends android.content.Context { 865*344a7f5eSAndroid Build Coastguard Worker method public int getDisplayId(); 866*344a7f5eSAndroid Build Coastguard Worker } 867*344a7f5eSAndroid Build Coastguard Worker 868*344a7f5eSAndroid Build Coastguard Worker public class Intent implements java.lang.Cloneable android.os.Parcelable { 869*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission("android.permission.MANAGE_ROLE_HOLDERS") public static final String ACTION_MANAGE_DEFAULT_APP = "android.intent.action.MANAGE_DEFAULT_APP"; 870*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_ROLLBACK_COMMITTED = "android.intent.action.ROLLBACK_COMMITTED"; 871*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_ORIGINATING_UID = "android.intent.extra.ORIGINATING_UID"; 872*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_ROLE_NAME = "android.intent.extra.ROLE_NAME"; 873*344a7f5eSAndroid Build Coastguard Worker } 874*344a7f5eSAndroid Build Coastguard Worker 875*344a7f5eSAndroid Build Coastguard Worker} 876*344a7f5eSAndroid Build Coastguard Worker 877*344a7f5eSAndroid Build Coastguard Workerpackage android.content.integrity { 878*344a7f5eSAndroid Build Coastguard Worker 879*344a7f5eSAndroid Build Coastguard Worker public class AppIntegrityManager { 880*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.integrity.RuleSet getCurrentRuleSet(); 881*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getCurrentRuleSetProvider(); 882*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getCurrentRuleSetVersion(); 883*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.lang.String> getWhitelistedRuleProviders(); 884*344a7f5eSAndroid Build Coastguard Worker method public void updateRuleSet(@NonNull android.content.integrity.RuleSet, @NonNull android.content.IntentSender); 885*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_STATUS = "android.content.integrity.extra.STATUS"; 886*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_FAILURE = 1; // 0x1 887*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_SUCCESS = 0; // 0x0 888*344a7f5eSAndroid Build Coastguard Worker } 889*344a7f5eSAndroid Build Coastguard Worker 890*344a7f5eSAndroid Build Coastguard Worker public abstract class IntegrityFormula { 891*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula all(@NonNull android.content.integrity.IntegrityFormula...); 892*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula any(@NonNull android.content.integrity.IntegrityFormula...); 893*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula not(@NonNull android.content.integrity.IntegrityFormula); 894*344a7f5eSAndroid Build Coastguard Worker } 895*344a7f5eSAndroid Build Coastguard Worker 896*344a7f5eSAndroid Build Coastguard Worker public static final class IntegrityFormula.Application { 897*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula certificatesContain(@NonNull String); 898*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula isPreInstalled(); 899*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula packageNameEquals(@NonNull String); 900*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula versionCodeEquals(@NonNull long); 901*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula versionCodeGreaterThan(@NonNull long); 902*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula versionCodeGreaterThanOrEqualTo(@NonNull long); 903*344a7f5eSAndroid Build Coastguard Worker } 904*344a7f5eSAndroid Build Coastguard Worker 905*344a7f5eSAndroid Build Coastguard Worker public static final class IntegrityFormula.Installer { 906*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula certificatesContain(@NonNull String); 907*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula notAllowedByManifest(); 908*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula packageNameEquals(@NonNull String); 909*344a7f5eSAndroid Build Coastguard Worker } 910*344a7f5eSAndroid Build Coastguard Worker 911*344a7f5eSAndroid Build Coastguard Worker public static final class IntegrityFormula.SourceStamp { 912*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula notTrusted(); 913*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.integrity.IntegrityFormula stampCertificateHashEquals(@NonNull String); 914*344a7f5eSAndroid Build Coastguard Worker } 915*344a7f5eSAndroid Build Coastguard Worker 916*344a7f5eSAndroid Build Coastguard Worker public final class Rule implements android.os.Parcelable { 917*344a7f5eSAndroid Build Coastguard Worker ctor public Rule(@NonNull android.content.integrity.IntegrityFormula, int); 918*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 919*344a7f5eSAndroid Build Coastguard Worker method public int getEffect(); 920*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.integrity.IntegrityFormula getFormula(); 921*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 922*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.integrity.Rule> CREATOR; 923*344a7f5eSAndroid Build Coastguard Worker field public static final int DENY = 0; // 0x0 924*344a7f5eSAndroid Build Coastguard Worker field public static final int FORCE_ALLOW = 1; // 0x1 925*344a7f5eSAndroid Build Coastguard Worker } 926*344a7f5eSAndroid Build Coastguard Worker 927*344a7f5eSAndroid Build Coastguard Worker public class RuleSet { 928*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.content.integrity.Rule> getRules(); 929*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getVersion(); 930*344a7f5eSAndroid Build Coastguard Worker } 931*344a7f5eSAndroid Build Coastguard Worker 932*344a7f5eSAndroid Build Coastguard Worker public static class RuleSet.Builder { 933*344a7f5eSAndroid Build Coastguard Worker ctor public RuleSet.Builder(); 934*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.integrity.RuleSet.Builder addRules(@NonNull java.util.List<android.content.integrity.Rule>); 935*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.integrity.RuleSet build(); 936*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.integrity.RuleSet.Builder setVersion(@NonNull String); 937*344a7f5eSAndroid Build Coastguard Worker } 938*344a7f5eSAndroid Build Coastguard Worker 939*344a7f5eSAndroid Build Coastguard Worker} 940*344a7f5eSAndroid Build Coastguard Worker 941*344a7f5eSAndroid Build Coastguard Workerpackage android.content.pm { 942*344a7f5eSAndroid Build Coastguard Worker 943*344a7f5eSAndroid Build Coastguard Worker public class ActivityInfo extends android.content.pm.ComponentInfo implements android.os.Parcelable { 944*344a7f5eSAndroid Build Coastguard Worker method public static boolean isTranslucentOrFloating(android.content.res.TypedArray); 945*344a7f5eSAndroid Build Coastguard Worker field public static final int RESIZE_MODE_RESIZEABLE = 2; // 0x2 946*344a7f5eSAndroid Build Coastguard Worker } 947*344a7f5eSAndroid Build Coastguard Worker 948*344a7f5eSAndroid Build Coastguard Worker public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { 949*344a7f5eSAndroid Build Coastguard Worker method public boolean isPrivilegedApp(); 950*344a7f5eSAndroid Build Coastguard Worker method public boolean isSystemApp(); 951*344a7f5eSAndroid Build Coastguard Worker field public static final int PRIVATE_FLAG_PRIVILEGED = 8; // 0x8 952*344a7f5eSAndroid Build Coastguard Worker field public int privateFlags; 953*344a7f5eSAndroid Build Coastguard Worker } 954*344a7f5eSAndroid Build Coastguard Worker 955*344a7f5eSAndroid Build Coastguard Worker public class LauncherApps { 956*344a7f5eSAndroid Build Coastguard Worker ctor public LauncherApps(android.content.Context); 957*344a7f5eSAndroid Build Coastguard Worker } 958*344a7f5eSAndroid Build Coastguard Worker 959*344a7f5eSAndroid Build Coastguard Worker public static class PackageInstaller.SessionInfo implements android.os.Parcelable { 960*344a7f5eSAndroid Build Coastguard Worker method public int getAutoRevokePermissionsMode(); 961*344a7f5eSAndroid Build Coastguard Worker method public int getRollbackDataPolicy(); 962*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Set<java.lang.String> getWhitelistedRestrictedPermissions(); 963*344a7f5eSAndroid Build Coastguard Worker } 964*344a7f5eSAndroid Build Coastguard Worker 965*344a7f5eSAndroid Build Coastguard Worker public static class PackageInstaller.SessionParams implements android.os.Parcelable { 966*344a7f5eSAndroid Build Coastguard Worker method public void setEnableRollback(boolean); 967*344a7f5eSAndroid Build Coastguard Worker method public void setEnableRollback(boolean, int); 968*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS") public void setGrantedRuntimePermissions(String[]); 969*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setInstallAsApex(); 970*344a7f5eSAndroid Build Coastguard Worker method public void setInstallerPackageName(@Nullable String); 971*344a7f5eSAndroid Build Coastguard Worker method public void setRequestDowngrade(boolean); 972*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setStaged(); 973*344a7f5eSAndroid Build Coastguard Worker } 974*344a7f5eSAndroid Build Coastguard Worker 975*344a7f5eSAndroid Build Coastguard Worker public abstract class PackageManager { 976*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS") public abstract void addOnPermissionsChangeListener(@NonNull android.content.pm.PackageManager.OnPermissionsChangedListener); 977*344a7f5eSAndroid Build Coastguard Worker method public abstract boolean arePermissionsIndividuallyControlled(); 978*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getContentCaptureServicePackageName(); 979*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission("android.permission.INTERACT_ACROSS_USERS_FULL") public abstract String getDefaultBrowserPackageNameAsUser(int); 980*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getDefaultTextClassifierPackageName(); 981*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getIncidentReportApproverPackageName(); 982*344a7f5eSAndroid Build Coastguard Worker method public abstract int getInstallReason(@NonNull String, @NonNull android.os.UserHandle); 983*344a7f5eSAndroid Build Coastguard Worker method @NonNull public abstract java.util.List<android.content.pm.ApplicationInfo> getInstalledApplicationsAsUser(int, int); 984*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.INTERACT_ACROSS_USERS_FULL") public abstract java.util.List<android.content.pm.PackageInfo> getInstalledPackagesAsUser(int, int); 985*344a7f5eSAndroid Build Coastguard Worker method @Nullable public abstract String[] getNamesForUids(int[]); 986*344a7f5eSAndroid Build Coastguard Worker method @NonNull public abstract String getPermissionControllerPackageName(); 987*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={"android.permission.GRANT_RUNTIME_PERMISSIONS", "android.permission.REVOKE_RUNTIME_PERMISSIONS", "android.permission.GET_RUNTIME_PERMISSIONS"}) public abstract int getPermissionFlags(@NonNull String, @NonNull String, @NonNull android.os.UserHandle); 988*344a7f5eSAndroid Build Coastguard Worker method @NonNull public abstract String getServicesSystemSharedLibraryPackageName(); 989*344a7f5eSAndroid Build Coastguard Worker method @NonNull public abstract String getSharedSystemSharedLibraryPackageName(); 990*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getSystemTextClassifierPackageName(); 991*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getWellbeingPackageName(); 992*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.GRANT_RUNTIME_PERMISSIONS") public abstract void grantRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle); 993*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS") public abstract void removeOnPermissionsChangeListener(@NonNull android.content.pm.PackageManager.OnPermissionsChangedListener); 994*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.REVOKE_RUNTIME_PERMISSIONS") public abstract void revokeRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle); 995*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.REVOKE_RUNTIME_PERMISSIONS") public void revokeRuntimePermission(@NonNull String, @NonNull String, @NonNull android.os.UserHandle, @NonNull String); 996*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={"android.permission.GRANT_RUNTIME_PERMISSIONS", "android.permission.REVOKE_RUNTIME_PERMISSIONS"}) public abstract void updatePermissionFlags(@NonNull String, @NonNull String, int, int, @NonNull android.os.UserHandle); 997*344a7f5eSAndroid Build Coastguard Worker field public static final String FEATURE_ADOPTABLE_STORAGE = "android.software.adoptable_storage"; 998*344a7f5eSAndroid Build Coastguard Worker field public static final String FEATURE_FILE_BASED_ENCRYPTION = "android.software.file_based_encryption"; 999*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_APPLY_RESTRICTION = 16384; // 0x4000 1000*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_GRANTED_BY_ROLE = 32768; // 0x8000 1001*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_ONE_TIME = 65536; // 0x10000 1002*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_POLICY_FIXED = 4; // 0x4 1003*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_RESTRICTION_INSTALLER_EXEMPT = 2048; // 0x800 1004*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_RESTRICTION_SYSTEM_EXEMPT = 4096; // 0x1000 1005*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_RESTRICTION_UPGRADE_EXEMPT = 8192; // 0x2000 1006*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_REVIEW_REQUIRED = 64; // 0x40 1007*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_REVOKED_COMPAT = 8; // 0x8 1008*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int FLAG_PERMISSION_REVOKE_ON_UPGRADE = 8; // 0x8 1009*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_REVOKE_WHEN_REQUESTED = 128; // 0x80 1010*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_SYSTEM_FIXED = 16; // 0x10 1011*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_USER_FIXED = 2; // 0x2 1012*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_PERMISSION_USER_SET = 1; // 0x1 1013*344a7f5eSAndroid Build Coastguard Worker field public static final int MATCH_FACTORY_ONLY = 2097152; // 0x200000 1014*344a7f5eSAndroid Build Coastguard Worker field public static final int MATCH_KNOWN_PACKAGES = 4202496; // 0x402000 1015*344a7f5eSAndroid Build Coastguard Worker field public static final int MODULE_APEX_NAME = 1; // 0x1 1016*344a7f5eSAndroid Build Coastguard Worker field public static final String SYSTEM_SHARED_LIBRARY_SERVICES = "android.ext.services"; 1017*344a7f5eSAndroid Build Coastguard Worker field public static final String SYSTEM_SHARED_LIBRARY_SHARED = "android.ext.shared"; 1018*344a7f5eSAndroid Build Coastguard Worker } 1019*344a7f5eSAndroid Build Coastguard Worker 1020*344a7f5eSAndroid Build Coastguard Worker public static interface PackageManager.OnPermissionsChangedListener { 1021*344a7f5eSAndroid Build Coastguard Worker method public void onPermissionsChanged(int); 1022*344a7f5eSAndroid Build Coastguard Worker } 1023*344a7f5eSAndroid Build Coastguard Worker 1024*344a7f5eSAndroid Build Coastguard Worker public class PermissionInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { 1025*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_REMOVED = 2; // 0x2 1026*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_APP_PREDICTOR = 2097152; // 0x200000 1027*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_COMPANION = 8388608; // 0x800000 1028*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_CONFIGURATOR = 524288; // 0x80000 1029*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_DOCUMENTER = 262144; // 0x40000 1030*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_INCIDENT_REPORT_APPROVER = 1048576; // 0x100000 1031*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_OEM = 16384; // 0x4000 1032*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_RETAIL_DEMO = 16777216; // 0x1000000 1033*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_SYSTEM_TEXT_CLASSIFIER = 65536; // 0x10000 1034*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_VENDOR_PRIVILEGED = 32768; // 0x8000 1035*344a7f5eSAndroid Build Coastguard Worker field public static final int PROTECTION_FLAG_WELLBEING = 131072; // 0x20000 1036*344a7f5eSAndroid Build Coastguard Worker field @Nullable public final String backgroundPermission; 1037*344a7f5eSAndroid Build Coastguard Worker } 1038*344a7f5eSAndroid Build Coastguard Worker 1039*344a7f5eSAndroid Build Coastguard Worker public final class ProviderInfoList implements android.os.Parcelable { 1040*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1041*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.content.pm.ProviderInfoList fromList(@NonNull java.util.List<android.content.pm.ProviderInfo>); 1042*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.content.pm.ProviderInfo> getList(); 1043*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 1044*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.ProviderInfoList> CREATOR; 1045*344a7f5eSAndroid Build Coastguard Worker } 1046*344a7f5eSAndroid Build Coastguard Worker 1047*344a7f5eSAndroid Build Coastguard Worker public final class ShortcutInfo implements android.os.Parcelable { 1048*344a7f5eSAndroid Build Coastguard Worker method public boolean isVisibleToPublisher(); 1049*344a7f5eSAndroid Build Coastguard Worker } 1050*344a7f5eSAndroid Build Coastguard Worker 1051*344a7f5eSAndroid Build Coastguard Worker public class ShortcutManager { 1052*344a7f5eSAndroid Build Coastguard Worker ctor public ShortcutManager(android.content.Context); 1053*344a7f5eSAndroid Build Coastguard Worker } 1054*344a7f5eSAndroid Build Coastguard Worker 1055*344a7f5eSAndroid Build Coastguard Worker} 1056*344a7f5eSAndroid Build Coastguard Worker 1057*344a7f5eSAndroid Build Coastguard Workerpackage android.content.res { 1058*344a7f5eSAndroid Build Coastguard Worker 1059*344a7f5eSAndroid Build Coastguard Worker public final class AssetManager implements java.lang.AutoCloseable { 1060*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String[] getApkPaths(); 1061*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getLastResourceResolution(); 1062*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getOverlayablesToString(String); 1063*344a7f5eSAndroid Build Coastguard Worker method public void setResourceResolutionLoggingEnabled(boolean); 1064*344a7f5eSAndroid Build Coastguard Worker } 1065*344a7f5eSAndroid Build Coastguard Worker 1066*344a7f5eSAndroid Build Coastguard Worker public final class Configuration implements java.lang.Comparable<android.content.res.Configuration> android.os.Parcelable { 1067*344a7f5eSAndroid Build Coastguard Worker field public int assetsSeq; 1068*344a7f5eSAndroid Build Coastguard Worker field public final android.app.WindowConfiguration windowConfiguration; 1069*344a7f5eSAndroid Build Coastguard Worker } 1070*344a7f5eSAndroid Build Coastguard Worker 1071*344a7f5eSAndroid Build Coastguard Worker} 1072*344a7f5eSAndroid Build Coastguard Worker 1073*344a7f5eSAndroid Build Coastguard Workerpackage android.content.rollback { 1074*344a7f5eSAndroid Build Coastguard Worker 1075*344a7f5eSAndroid Build Coastguard Worker public final class PackageRollbackInfo implements android.os.Parcelable { 1076*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1077*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 1078*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.pm.VersionedPackage getVersionRolledBackFrom(); 1079*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.pm.VersionedPackage getVersionRolledBackTo(); 1080*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1081*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.rollback.PackageRollbackInfo> CREATOR; 1082*344a7f5eSAndroid Build Coastguard Worker } 1083*344a7f5eSAndroid Build Coastguard Worker 1084*344a7f5eSAndroid Build Coastguard Worker public final class RollbackInfo implements android.os.Parcelable { 1085*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1086*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.content.pm.VersionedPackage> getCausePackages(); 1087*344a7f5eSAndroid Build Coastguard Worker method public int getCommittedSessionId(); 1088*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.content.rollback.PackageRollbackInfo> getPackages(); 1089*344a7f5eSAndroid Build Coastguard Worker method public int getRollbackId(); 1090*344a7f5eSAndroid Build Coastguard Worker method public boolean isStaged(); 1091*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1092*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.content.rollback.RollbackInfo> CREATOR; 1093*344a7f5eSAndroid Build Coastguard Worker } 1094*344a7f5eSAndroid Build Coastguard Worker 1095*344a7f5eSAndroid Build Coastguard Worker public final class RollbackManager { 1096*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS) public void blockRollbackManager(long); 1097*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, android.Manifest.permission.TEST_MANAGE_ROLLBACKS}) public void commitRollback(int, @NonNull java.util.List<android.content.pm.VersionedPackage>, @NonNull android.content.IntentSender); 1098*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS) public void expireRollbackForPackage(@NonNull String); 1099*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, android.Manifest.permission.TEST_MANAGE_ROLLBACKS}) public java.util.List<android.content.rollback.RollbackInfo> getAvailableRollbacks(); 1100*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_ROLLBACKS, android.Manifest.permission.TEST_MANAGE_ROLLBACKS}) public java.util.List<android.content.rollback.RollbackInfo> getRecentlyCommittedRollbacks(); 1101*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.TEST_MANAGE_ROLLBACKS) public void reloadPersistedData(); 1102*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_STATUS = "android.content.rollback.extra.STATUS"; 1103*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_STATUS_MESSAGE = "android.content.rollback.extra.STATUS_MESSAGE"; 1104*344a7f5eSAndroid Build Coastguard Worker field public static final String PROPERTY_ROLLBACK_LIFETIME_MILLIS = "rollback_lifetime_in_millis"; 1105*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_FAILURE = 1; // 0x1 1106*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_FAILURE_INSTALL = 3; // 0x3 1107*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_FAILURE_ROLLBACK_UNAVAILABLE = 2; // 0x2 1108*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_SUCCESS = 0; // 0x0 1109*344a7f5eSAndroid Build Coastguard Worker } 1110*344a7f5eSAndroid Build Coastguard Worker 1111*344a7f5eSAndroid Build Coastguard Worker} 1112*344a7f5eSAndroid Build Coastguard Worker 1113*344a7f5eSAndroid Build Coastguard Workerpackage android.database.sqlite { 1114*344a7f5eSAndroid Build Coastguard Worker 1115*344a7f5eSAndroid Build Coastguard Worker public class SQLiteCompatibilityWalFlags { 1116*344a7f5eSAndroid Build Coastguard Worker method public static void reset(); 1117*344a7f5eSAndroid Build Coastguard Worker } 1118*344a7f5eSAndroid Build Coastguard Worker 1119*344a7f5eSAndroid Build Coastguard Worker public final class SQLiteDebug { 1120*344a7f5eSAndroid Build Coastguard Worker method public static void dump(android.util.Printer, String[]); 1121*344a7f5eSAndroid Build Coastguard Worker method public static android.database.sqlite.SQLiteDebug.PagerStats getDatabaseInfo(); 1122*344a7f5eSAndroid Build Coastguard Worker } 1123*344a7f5eSAndroid Build Coastguard Worker 1124*344a7f5eSAndroid Build Coastguard Worker public static class SQLiteDebug.DbStats { 1125*344a7f5eSAndroid Build Coastguard Worker ctor public SQLiteDebug.DbStats(String, long, long, int, int, int, int); 1126*344a7f5eSAndroid Build Coastguard Worker field public String cache; 1127*344a7f5eSAndroid Build Coastguard Worker field public String dbName; 1128*344a7f5eSAndroid Build Coastguard Worker field public long dbSize; 1129*344a7f5eSAndroid Build Coastguard Worker field public int lookaside; 1130*344a7f5eSAndroid Build Coastguard Worker field public long pageSize; 1131*344a7f5eSAndroid Build Coastguard Worker } 1132*344a7f5eSAndroid Build Coastguard Worker 1133*344a7f5eSAndroid Build Coastguard Worker public static class SQLiteDebug.PagerStats { 1134*344a7f5eSAndroid Build Coastguard Worker ctor public SQLiteDebug.PagerStats(); 1135*344a7f5eSAndroid Build Coastguard Worker field public java.util.ArrayList<android.database.sqlite.SQLiteDebug.DbStats> dbStats; 1136*344a7f5eSAndroid Build Coastguard Worker field public int largestMemAlloc; 1137*344a7f5eSAndroid Build Coastguard Worker field public int memoryUsed; 1138*344a7f5eSAndroid Build Coastguard Worker field public int pageCacheOverflow; 1139*344a7f5eSAndroid Build Coastguard Worker } 1140*344a7f5eSAndroid Build Coastguard Worker 1141*344a7f5eSAndroid Build Coastguard Worker public final class SQLiteDirectCursorDriver implements android.database.sqlite.SQLiteCursorDriver { 1142*344a7f5eSAndroid Build Coastguard Worker ctor public SQLiteDirectCursorDriver(android.database.sqlite.SQLiteDatabase, String, String, android.os.CancellationSignal); 1143*344a7f5eSAndroid Build Coastguard Worker method public void cursorClosed(); 1144*344a7f5eSAndroid Build Coastguard Worker method public void cursorDeactivated(); 1145*344a7f5eSAndroid Build Coastguard Worker method public void cursorRequeried(android.database.Cursor); 1146*344a7f5eSAndroid Build Coastguard Worker method public android.database.Cursor query(android.database.sqlite.SQLiteDatabase.CursorFactory, String[]); 1147*344a7f5eSAndroid Build Coastguard Worker method public void setBindArguments(String[]); 1148*344a7f5eSAndroid Build Coastguard Worker } 1149*344a7f5eSAndroid Build Coastguard Worker 1150*344a7f5eSAndroid Build Coastguard Worker public final class SQLiteGlobal { 1151*344a7f5eSAndroid Build Coastguard Worker method public static String getDefaultJournalMode(); 1152*344a7f5eSAndroid Build Coastguard Worker method public static int getDefaultPageSize(); 1153*344a7f5eSAndroid Build Coastguard Worker method public static String getDefaultSyncMode(); 1154*344a7f5eSAndroid Build Coastguard Worker method public static int getIdleConnectionTimeout(); 1155*344a7f5eSAndroid Build Coastguard Worker method public static int getJournalSizeLimit(); 1156*344a7f5eSAndroid Build Coastguard Worker method public static int getWALAutoCheckpoint(); 1157*344a7f5eSAndroid Build Coastguard Worker method public static int getWALConnectionPoolSize(); 1158*344a7f5eSAndroid Build Coastguard Worker method public static String getWALSyncMode(); 1159*344a7f5eSAndroid Build Coastguard Worker method public static int releaseMemory(); 1160*344a7f5eSAndroid Build Coastguard Worker } 1161*344a7f5eSAndroid Build Coastguard Worker 1162*344a7f5eSAndroid Build Coastguard Worker} 1163*344a7f5eSAndroid Build Coastguard Worker 1164*344a7f5eSAndroid Build Coastguard Workerpackage android.graphics { 1165*344a7f5eSAndroid Build Coastguard Worker 1166*344a7f5eSAndroid Build Coastguard Worker public final class ImageDecoder implements java.lang.AutoCloseable { 1167*344a7f5eSAndroid Build Coastguard Worker method @AnyThread @NonNull public static android.graphics.ImageDecoder.Source createSource(android.content.res.Resources, java.io.InputStream, int); 1168*344a7f5eSAndroid Build Coastguard Worker } 1169*344a7f5eSAndroid Build Coastguard Worker 1170*344a7f5eSAndroid Build Coastguard Worker} 1171*344a7f5eSAndroid Build Coastguard Worker 1172*344a7f5eSAndroid Build Coastguard Workerpackage android.graphics.drawable { 1173*344a7f5eSAndroid Build Coastguard Worker 1174*344a7f5eSAndroid Build Coastguard Worker public class AdaptiveIconDrawable extends android.graphics.drawable.Drawable implements android.graphics.drawable.Drawable.Callback { 1175*344a7f5eSAndroid Build Coastguard Worker method public android.graphics.Region getSafeZone(); 1176*344a7f5eSAndroid Build Coastguard Worker field public static final float MASK_SIZE = 100.0f; 1177*344a7f5eSAndroid Build Coastguard Worker } 1178*344a7f5eSAndroid Build Coastguard Worker 1179*344a7f5eSAndroid Build Coastguard Worker public class ColorDrawable extends android.graphics.drawable.Drawable { 1180*344a7f5eSAndroid Build Coastguard Worker method public android.graphics.Xfermode getXfermode(); 1181*344a7f5eSAndroid Build Coastguard Worker } 1182*344a7f5eSAndroid Build Coastguard Worker 1183*344a7f5eSAndroid Build Coastguard Worker public abstract class Drawable { 1184*344a7f5eSAndroid Build Coastguard Worker method public boolean hasFocusStateSpecified(); 1185*344a7f5eSAndroid Build Coastguard Worker } 1186*344a7f5eSAndroid Build Coastguard Worker 1187*344a7f5eSAndroid Build Coastguard Worker public class ShapeDrawable extends android.graphics.drawable.Drawable { 1188*344a7f5eSAndroid Build Coastguard Worker method public void setXfermode(@Nullable android.graphics.Xfermode); 1189*344a7f5eSAndroid Build Coastguard Worker } 1190*344a7f5eSAndroid Build Coastguard Worker 1191*344a7f5eSAndroid Build Coastguard Worker} 1192*344a7f5eSAndroid Build Coastguard Worker 1193*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.camera2 { 1194*344a7f5eSAndroid Build Coastguard Worker 1195*344a7f5eSAndroid Build Coastguard Worker public abstract class CameraDevice implements java.lang.AutoCloseable { 1196*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public abstract void createCustomCaptureSession(android.hardware.camera2.params.InputConfiguration, @NonNull java.util.List<android.hardware.camera2.params.OutputConfiguration>, int, @NonNull android.hardware.camera2.CameraCaptureSession.StateCallback, @Nullable android.os.Handler) throws android.hardware.camera2.CameraAccessException; 1197*344a7f5eSAndroid Build Coastguard Worker field public static final int SESSION_OPERATION_MODE_CONSTRAINED_HIGH_SPEED = 1; // 0x1 1198*344a7f5eSAndroid Build Coastguard Worker field public static final int SESSION_OPERATION_MODE_NORMAL = 0; // 0x0 1199*344a7f5eSAndroid Build Coastguard Worker field public static final int SESSION_OPERATION_MODE_VENDOR_START = 32768; // 0x8000 1200*344a7f5eSAndroid Build Coastguard Worker } 1201*344a7f5eSAndroid Build Coastguard Worker 1202*344a7f5eSAndroid Build Coastguard Worker public final class CameraManager { 1203*344a7f5eSAndroid Build Coastguard Worker method public String[] getCameraIdListNoLazy() throws android.hardware.camera2.CameraAccessException; 1204*344a7f5eSAndroid Build Coastguard Worker } 1205*344a7f5eSAndroid Build Coastguard Worker 1206*344a7f5eSAndroid Build Coastguard Worker} 1207*344a7f5eSAndroid Build Coastguard Worker 1208*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.display { 1209*344a7f5eSAndroid Build Coastguard Worker 1210*344a7f5eSAndroid Build Coastguard Worker public final class AmbientBrightnessDayStats implements android.os.Parcelable { 1211*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1212*344a7f5eSAndroid Build Coastguard Worker method public float[] getBucketBoundaries(); 1213*344a7f5eSAndroid Build Coastguard Worker method public java.time.LocalDate getLocalDate(); 1214*344a7f5eSAndroid Build Coastguard Worker method public float[] getStats(); 1215*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1216*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.AmbientBrightnessDayStats> CREATOR; 1217*344a7f5eSAndroid Build Coastguard Worker } 1218*344a7f5eSAndroid Build Coastguard Worker 1219*344a7f5eSAndroid Build Coastguard Worker public class AmbientDisplayConfiguration { 1220*344a7f5eSAndroid Build Coastguard Worker ctor public AmbientDisplayConfiguration(android.content.Context); 1221*344a7f5eSAndroid Build Coastguard Worker method public boolean alwaysOnAvailable(); 1222*344a7f5eSAndroid Build Coastguard Worker method public boolean alwaysOnAvailableForUser(int); 1223*344a7f5eSAndroid Build Coastguard Worker method public boolean alwaysOnEnabled(int); 1224*344a7f5eSAndroid Build Coastguard Worker } 1225*344a7f5eSAndroid Build Coastguard Worker 1226*344a7f5eSAndroid Build Coastguard Worker public final class BrightnessChangeEvent implements android.os.Parcelable { 1227*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1228*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1229*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessChangeEvent> CREATOR; 1230*344a7f5eSAndroid Build Coastguard Worker field public final float batteryLevel; 1231*344a7f5eSAndroid Build Coastguard Worker field public final float brightness; 1232*344a7f5eSAndroid Build Coastguard Worker field public final long colorSampleDuration; 1233*344a7f5eSAndroid Build Coastguard Worker field public final int colorTemperature; 1234*344a7f5eSAndroid Build Coastguard Worker field @Nullable public final long[] colorValueBuckets; 1235*344a7f5eSAndroid Build Coastguard Worker field public final boolean isDefaultBrightnessConfig; 1236*344a7f5eSAndroid Build Coastguard Worker field public final boolean isUserSetBrightness; 1237*344a7f5eSAndroid Build Coastguard Worker field public final float lastBrightness; 1238*344a7f5eSAndroid Build Coastguard Worker field public final long[] luxTimestamps; 1239*344a7f5eSAndroid Build Coastguard Worker field public final float[] luxValues; 1240*344a7f5eSAndroid Build Coastguard Worker field public final boolean nightMode; 1241*344a7f5eSAndroid Build Coastguard Worker field public final String packageName; 1242*344a7f5eSAndroid Build Coastguard Worker field public final float powerBrightnessFactor; 1243*344a7f5eSAndroid Build Coastguard Worker field public final long timeStamp; 1244*344a7f5eSAndroid Build Coastguard Worker } 1245*344a7f5eSAndroid Build Coastguard Worker 1246*344a7f5eSAndroid Build Coastguard Worker public final class BrightnessConfiguration implements android.os.Parcelable { 1247*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1248*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.hardware.display.BrightnessCorrection getCorrectionByCategory(int); 1249*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.hardware.display.BrightnessCorrection getCorrectionByPackageName(@NonNull String); 1250*344a7f5eSAndroid Build Coastguard Worker method public android.util.Pair<float[],float[]> getCurve(); 1251*344a7f5eSAndroid Build Coastguard Worker method public float getShortTermModelLowerLuxMultiplier(); 1252*344a7f5eSAndroid Build Coastguard Worker method public long getShortTermModelTimeoutMillis(); 1253*344a7f5eSAndroid Build Coastguard Worker method public float getShortTermModelUpperLuxMultiplier(); 1254*344a7f5eSAndroid Build Coastguard Worker method public boolean shouldCollectColorSamples(); 1255*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1256*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessConfiguration> CREATOR; 1257*344a7f5eSAndroid Build Coastguard Worker field public static final long SHORT_TERM_TIMEOUT_UNSET = -1L; // 0xffffffffffffffffL 1258*344a7f5eSAndroid Build Coastguard Worker } 1259*344a7f5eSAndroid Build Coastguard Worker 1260*344a7f5eSAndroid Build Coastguard Worker public static class BrightnessConfiguration.Builder { 1261*344a7f5eSAndroid Build Coastguard Worker ctor public BrightnessConfiguration.Builder(float[], float[]); 1262*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByCategory(int, @NonNull android.hardware.display.BrightnessCorrection); 1263*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByPackageName(@NonNull String, @NonNull android.hardware.display.BrightnessCorrection); 1264*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.display.BrightnessConfiguration build(); 1265*344a7f5eSAndroid Build Coastguard Worker method public int getMaxCorrectionsByCategory(); 1266*344a7f5eSAndroid Build Coastguard Worker method public int getMaxCorrectionsByPackageName(); 1267*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setDescription(@Nullable String); 1268*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelLowerLuxMultiplier(@FloatRange(from=0.0f) float); 1269*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelTimeoutMillis(long); 1270*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelUpperLuxMultiplier(@FloatRange(from=0.0f) float); 1271*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShouldCollectColorSamples(boolean); 1272*344a7f5eSAndroid Build Coastguard Worker } 1273*344a7f5eSAndroid Build Coastguard Worker 1274*344a7f5eSAndroid Build Coastguard Worker public final class BrightnessCorrection implements android.os.Parcelable { 1275*344a7f5eSAndroid Build Coastguard Worker method @FloatRange(from=0.0) public float apply(@FloatRange(from=0.0) float); 1276*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.hardware.display.BrightnessCorrection createScaleAndTranslateLog(float, float); 1277*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1278*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1279*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.display.BrightnessCorrection> CREATOR; 1280*344a7f5eSAndroid Build Coastguard Worker } 1281*344a7f5eSAndroid Build Coastguard Worker 1282*344a7f5eSAndroid Build Coastguard Worker public final class DisplayManager { 1283*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.ACCESS_AMBIENT_LIGHT_STATS") public java.util.List<android.hardware.display.AmbientBrightnessDayStats> getAmbientBrightnessStats(); 1284*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public android.hardware.display.BrightnessConfiguration getBrightnessConfiguration(); 1285*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BRIGHTNESS_SLIDER_USAGE) public java.util.List<android.hardware.display.BrightnessChangeEvent> getBrightnessEvents(); 1286*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public android.hardware.display.BrightnessConfiguration getDefaultBrightnessConfiguration(); 1287*344a7f5eSAndroid Build Coastguard Worker method public android.graphics.Point getStableDisplaySize(); 1288*344a7f5eSAndroid Build Coastguard Worker method public boolean isMinimalPostProcessingRequested(int); 1289*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONFIGURE_DISPLAY_BRIGHTNESS) public void setBrightnessConfiguration(android.hardware.display.BrightnessConfiguration); 1290*344a7f5eSAndroid Build Coastguard Worker } 1291*344a7f5eSAndroid Build Coastguard Worker 1292*344a7f5eSAndroid Build Coastguard Worker} 1293*344a7f5eSAndroid Build Coastguard Worker 1294*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.lights { 1295*344a7f5eSAndroid Build Coastguard Worker 1296*344a7f5eSAndroid Build Coastguard Worker public final class Light implements android.os.Parcelable { 1297*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1298*344a7f5eSAndroid Build Coastguard Worker method public int getId(); 1299*344a7f5eSAndroid Build Coastguard Worker method public int getOrdinal(); 1300*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 1301*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 1302*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.lights.Light> CREATOR; 1303*344a7f5eSAndroid Build Coastguard Worker } 1304*344a7f5eSAndroid Build Coastguard Worker 1305*344a7f5eSAndroid Build Coastguard Worker public final class LightState implements android.os.Parcelable { 1306*344a7f5eSAndroid Build Coastguard Worker ctor public LightState(@ColorInt int); 1307*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1308*344a7f5eSAndroid Build Coastguard Worker method @ColorInt public int getColor(); 1309*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 1310*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.lights.LightState> CREATOR; 1311*344a7f5eSAndroid Build Coastguard Worker } 1312*344a7f5eSAndroid Build Coastguard Worker 1313*344a7f5eSAndroid Build Coastguard Worker public final class LightsManager { 1314*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_LIGHTS) public android.hardware.lights.LightState getLightState(@NonNull android.hardware.lights.Light); 1315*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_LIGHTS) public java.util.List<android.hardware.lights.Light> getLights(); 1316*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_LIGHTS) public android.hardware.lights.LightsManager.LightsSession openSession(); 1317*344a7f5eSAndroid Build Coastguard Worker field public static final int LIGHT_TYPE_MICROPHONE = 8; // 0x8 1318*344a7f5eSAndroid Build Coastguard Worker } 1319*344a7f5eSAndroid Build Coastguard Worker 1320*344a7f5eSAndroid Build Coastguard Worker public final class LightsManager.LightsSession implements java.lang.AutoCloseable { 1321*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_LIGHTS) public void close(); 1322*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONTROL_DEVICE_LIGHTS) public void requestLights(@NonNull android.hardware.lights.LightsRequest); 1323*344a7f5eSAndroid Build Coastguard Worker } 1324*344a7f5eSAndroid Build Coastguard Worker 1325*344a7f5eSAndroid Build Coastguard Worker public final class LightsRequest { 1326*344a7f5eSAndroid Build Coastguard Worker } 1327*344a7f5eSAndroid Build Coastguard Worker 1328*344a7f5eSAndroid Build Coastguard Worker public static final class LightsRequest.Builder { 1329*344a7f5eSAndroid Build Coastguard Worker ctor public LightsRequest.Builder(); 1330*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.lights.LightsRequest build(); 1331*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.lights.LightsRequest.Builder clearLight(@NonNull android.hardware.lights.Light); 1332*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.hardware.lights.LightsRequest.Builder setLight(@NonNull android.hardware.lights.Light, @NonNull android.hardware.lights.LightState); 1333*344a7f5eSAndroid Build Coastguard Worker } 1334*344a7f5eSAndroid Build Coastguard Worker 1335*344a7f5eSAndroid Build Coastguard Worker} 1336*344a7f5eSAndroid Build Coastguard Worker 1337*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.soundtrigger { 1338*344a7f5eSAndroid Build Coastguard Worker 1339*344a7f5eSAndroid Build Coastguard Worker public class KeyphraseEnrollmentInfo { 1340*344a7f5eSAndroid Build Coastguard Worker ctor public KeyphraseEnrollmentInfo(@NonNull android.content.pm.PackageManager); 1341*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.hardware.soundtrigger.KeyphraseMetadata getKeyphraseMetadata(@NonNull String, @NonNull java.util.Locale); 1342*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.content.Intent getManageKeyphraseIntent(int, @NonNull String, @NonNull java.util.Locale); 1343*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getParseError(); 1344*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Collection<android.hardware.soundtrigger.KeyphraseMetadata> listKeyphraseMetadata(); 1345*344a7f5eSAndroid Build Coastguard Worker field public static final int MANAGE_ACTION_ENROLL = 0; // 0x0 1346*344a7f5eSAndroid Build Coastguard Worker field public static final int MANAGE_ACTION_RE_ENROLL = 1; // 0x1 1347*344a7f5eSAndroid Build Coastguard Worker field public static final int MANAGE_ACTION_UN_ENROLL = 2; // 0x2 1348*344a7f5eSAndroid Build Coastguard Worker } 1349*344a7f5eSAndroid Build Coastguard Worker 1350*344a7f5eSAndroid Build Coastguard Worker public final class KeyphraseMetadata implements android.os.Parcelable { 1351*344a7f5eSAndroid Build Coastguard Worker ctor public KeyphraseMetadata(int, @NonNull String, @NonNull java.util.Set<java.util.Locale>, int); 1352*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1353*344a7f5eSAndroid Build Coastguard Worker method public int getId(); 1354*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getKeyphrase(); 1355*344a7f5eSAndroid Build Coastguard Worker method public int getRecognitionModeFlags(); 1356*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Set<java.util.Locale> getSupportedLocales(); 1357*344a7f5eSAndroid Build Coastguard Worker method public boolean supportsLocale(@Nullable java.util.Locale); 1358*344a7f5eSAndroid Build Coastguard Worker method public boolean supportsPhrase(@Nullable String); 1359*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 1360*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.hardware.soundtrigger.KeyphraseMetadata> CREATOR; 1361*344a7f5eSAndroid Build Coastguard Worker } 1362*344a7f5eSAndroid Build Coastguard Worker 1363*344a7f5eSAndroid Build Coastguard Worker} 1364*344a7f5eSAndroid Build Coastguard Worker 1365*344a7f5eSAndroid Build Coastguard Workerpackage android.location { 1366*344a7f5eSAndroid Build Coastguard Worker 1367*344a7f5eSAndroid Build Coastguard Worker public final class GnssClock implements android.os.Parcelable { 1368*344a7f5eSAndroid Build Coastguard Worker ctor public GnssClock(); 1369*344a7f5eSAndroid Build Coastguard Worker method public void reset(); 1370*344a7f5eSAndroid Build Coastguard Worker method public void resetBiasNanos(); 1371*344a7f5eSAndroid Build Coastguard Worker method public void resetBiasUncertaintyNanos(); 1372*344a7f5eSAndroid Build Coastguard Worker method public void resetDriftNanosPerSecond(); 1373*344a7f5eSAndroid Build Coastguard Worker method public void resetDriftUncertaintyNanosPerSecond(); 1374*344a7f5eSAndroid Build Coastguard Worker method public void resetElapsedRealtimeNanos(); 1375*344a7f5eSAndroid Build Coastguard Worker method public void resetElapsedRealtimeUncertaintyNanos(); 1376*344a7f5eSAndroid Build Coastguard Worker method public void resetFullBiasNanos(); 1377*344a7f5eSAndroid Build Coastguard Worker method public void resetLeapSecond(); 1378*344a7f5eSAndroid Build Coastguard Worker method public void resetReferenceCarrierFrequencyHzForIsb(); 1379*344a7f5eSAndroid Build Coastguard Worker method public void resetReferenceCodeTypeForIsb(); 1380*344a7f5eSAndroid Build Coastguard Worker method public void resetReferenceConstellationTypeForIsb(); 1381*344a7f5eSAndroid Build Coastguard Worker method public void resetTimeUncertaintyNanos(); 1382*344a7f5eSAndroid Build Coastguard Worker method public void set(android.location.GnssClock); 1383*344a7f5eSAndroid Build Coastguard Worker method public void setBiasNanos(double); 1384*344a7f5eSAndroid Build Coastguard Worker method public void setBiasUncertaintyNanos(@FloatRange(from=0.0f) double); 1385*344a7f5eSAndroid Build Coastguard Worker method public void setDriftNanosPerSecond(double); 1386*344a7f5eSAndroid Build Coastguard Worker method public void setDriftUncertaintyNanosPerSecond(@FloatRange(from=0.0f) double); 1387*344a7f5eSAndroid Build Coastguard Worker method public void setElapsedRealtimeNanos(long); 1388*344a7f5eSAndroid Build Coastguard Worker method public void setElapsedRealtimeUncertaintyNanos(@FloatRange(from=0.0f) double); 1389*344a7f5eSAndroid Build Coastguard Worker method public void setFullBiasNanos(long); 1390*344a7f5eSAndroid Build Coastguard Worker method public void setHardwareClockDiscontinuityCount(int); 1391*344a7f5eSAndroid Build Coastguard Worker method public void setLeapSecond(int); 1392*344a7f5eSAndroid Build Coastguard Worker method public void setReferenceCarrierFrequencyHzForIsb(@FloatRange(from=0.0) double); 1393*344a7f5eSAndroid Build Coastguard Worker method public void setReferenceCodeTypeForIsb(@NonNull String); 1394*344a7f5eSAndroid Build Coastguard Worker method public void setReferenceConstellationTypeForIsb(int); 1395*344a7f5eSAndroid Build Coastguard Worker method public void setTimeNanos(long); 1396*344a7f5eSAndroid Build Coastguard Worker method public void setTimeUncertaintyNanos(@FloatRange(from=0.0f) double); 1397*344a7f5eSAndroid Build Coastguard Worker } 1398*344a7f5eSAndroid Build Coastguard Worker 1399*344a7f5eSAndroid Build Coastguard Worker public final class GnssMeasurement implements android.os.Parcelable { 1400*344a7f5eSAndroid Build Coastguard Worker ctor public GnssMeasurement(); 1401*344a7f5eSAndroid Build Coastguard Worker method public void reset(); 1402*344a7f5eSAndroid Build Coastguard Worker method public void resetAutomaticGainControlLevel(); 1403*344a7f5eSAndroid Build Coastguard Worker method public void resetBasebandCn0DbHz(); 1404*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetCarrierCycles(); 1405*344a7f5eSAndroid Build Coastguard Worker method public void resetCarrierFrequencyHz(); 1406*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetCarrierPhase(); 1407*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void resetCarrierPhaseUncertainty(); 1408*344a7f5eSAndroid Build Coastguard Worker method public void resetCodeType(); 1409*344a7f5eSAndroid Build Coastguard Worker method public void resetFullInterSignalBiasNanos(); 1410*344a7f5eSAndroid Build Coastguard Worker method public void resetFullInterSignalBiasUncertaintyNanos(); 1411*344a7f5eSAndroid Build Coastguard Worker method public void resetSatelliteInterSignalBiasNanos(); 1412*344a7f5eSAndroid Build Coastguard Worker method public void resetSatelliteInterSignalBiasUncertaintyNanos(); 1413*344a7f5eSAndroid Build Coastguard Worker method public void resetSnrInDb(); 1414*344a7f5eSAndroid Build Coastguard Worker method public void set(android.location.GnssMeasurement); 1415*344a7f5eSAndroid Build Coastguard Worker method public void setAccumulatedDeltaRangeMeters(double); 1416*344a7f5eSAndroid Build Coastguard Worker method public void setAccumulatedDeltaRangeState(int); 1417*344a7f5eSAndroid Build Coastguard Worker method public void setAccumulatedDeltaRangeUncertaintyMeters(double); 1418*344a7f5eSAndroid Build Coastguard Worker method public void setAutomaticGainControlLevelInDb(double); 1419*344a7f5eSAndroid Build Coastguard Worker method public void setBasebandCn0DbHz(double); 1420*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setCarrierCycles(long); 1421*344a7f5eSAndroid Build Coastguard Worker method public void setCarrierFrequencyHz(float); 1422*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setCarrierPhase(double); 1423*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setCarrierPhaseUncertainty(double); 1424*344a7f5eSAndroid Build Coastguard Worker method public void setCn0DbHz(double); 1425*344a7f5eSAndroid Build Coastguard Worker method public void setCodeType(@NonNull String); 1426*344a7f5eSAndroid Build Coastguard Worker method public void setConstellationType(int); 1427*344a7f5eSAndroid Build Coastguard Worker method public void setFullInterSignalBiasNanos(double); 1428*344a7f5eSAndroid Build Coastguard Worker method public void setFullInterSignalBiasUncertaintyNanos(@FloatRange(from=0.0) double); 1429*344a7f5eSAndroid Build Coastguard Worker method public void setMultipathIndicator(int); 1430*344a7f5eSAndroid Build Coastguard Worker method public void setPseudorangeRateMetersPerSecond(double); 1431*344a7f5eSAndroid Build Coastguard Worker method public void setPseudorangeRateUncertaintyMetersPerSecond(double); 1432*344a7f5eSAndroid Build Coastguard Worker method public void setReceivedSvTimeNanos(long); 1433*344a7f5eSAndroid Build Coastguard Worker method public void setReceivedSvTimeUncertaintyNanos(long); 1434*344a7f5eSAndroid Build Coastguard Worker method public void setSatelliteInterSignalBiasNanos(double); 1435*344a7f5eSAndroid Build Coastguard Worker method public void setSatelliteInterSignalBiasUncertaintyNanos(@FloatRange(from=0.0) double); 1436*344a7f5eSAndroid Build Coastguard Worker method public void setSnrInDb(double); 1437*344a7f5eSAndroid Build Coastguard Worker method public void setState(int); 1438*344a7f5eSAndroid Build Coastguard Worker method public void setSvid(int); 1439*344a7f5eSAndroid Build Coastguard Worker method public void setTimeOffsetNanos(double); 1440*344a7f5eSAndroid Build Coastguard Worker field public static final int ADR_STATE_ALL = 31; // 0x1f 1441*344a7f5eSAndroid Build Coastguard Worker } 1442*344a7f5eSAndroid Build Coastguard Worker 1443*344a7f5eSAndroid Build Coastguard Worker public final class GnssMeasurementsEvent implements android.os.Parcelable { 1444*344a7f5eSAndroid Build Coastguard Worker ctor public GnssMeasurementsEvent(android.location.GnssClock, android.location.GnssMeasurement[]); 1445*344a7f5eSAndroid Build Coastguard Worker } 1446*344a7f5eSAndroid Build Coastguard Worker 1447*344a7f5eSAndroid Build Coastguard Worker public final class GnssNavigationMessage implements android.os.Parcelable { 1448*344a7f5eSAndroid Build Coastguard Worker ctor public GnssNavigationMessage(); 1449*344a7f5eSAndroid Build Coastguard Worker method public void reset(); 1450*344a7f5eSAndroid Build Coastguard Worker method public void set(android.location.GnssNavigationMessage); 1451*344a7f5eSAndroid Build Coastguard Worker method public void setData(byte[]); 1452*344a7f5eSAndroid Build Coastguard Worker method public void setMessageId(int); 1453*344a7f5eSAndroid Build Coastguard Worker method public void setStatus(int); 1454*344a7f5eSAndroid Build Coastguard Worker method public void setSubmessageId(int); 1455*344a7f5eSAndroid Build Coastguard Worker method public void setSvid(int); 1456*344a7f5eSAndroid Build Coastguard Worker method public void setType(int); 1457*344a7f5eSAndroid Build Coastguard Worker } 1458*344a7f5eSAndroid Build Coastguard Worker 1459*344a7f5eSAndroid Build Coastguard Worker public class Location implements android.os.Parcelable { 1460*344a7f5eSAndroid Build Coastguard Worker method public void makeComplete(); 1461*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation"; 1462*344a7f5eSAndroid Build Coastguard Worker } 1463*344a7f5eSAndroid Build Coastguard Worker 1464*344a7f5eSAndroid Build Coastguard Worker public class LocationManager { 1465*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String[] getBackgroundThrottlingWhitelist(); 1466*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void getCurrentLocation(@NonNull android.location.LocationRequest, @Nullable android.os.CancellationSignal, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<android.location.Location>); 1467*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String[] getIgnoreSettingsWhitelist(); 1468*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public java.util.List<java.lang.String> getProviderPackages(@NonNull String); 1469*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.location.LocationRequest> getTestProviderCurrentRequests(String); 1470*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull android.location.LocationListener, @Nullable android.os.Looper); 1471*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull java.util.concurrent.Executor, @NonNull android.location.LocationListener); 1472*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull android.app.PendingIntent); 1473*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setLocationEnabledForUser(boolean, @NonNull android.os.UserHandle); 1474*344a7f5eSAndroid Build Coastguard Worker field public static final String FUSED_PROVIDER = "fused"; 1475*344a7f5eSAndroid Build Coastguard Worker } 1476*344a7f5eSAndroid Build Coastguard Worker 1477*344a7f5eSAndroid Build Coastguard Worker public final class LocationRequest implements android.os.Parcelable { 1478*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.location.LocationRequest create(); 1479*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1480*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public long getExpireAt(); 1481*344a7f5eSAndroid Build Coastguard Worker method public long getExpireIn(); 1482*344a7f5eSAndroid Build Coastguard Worker method public long getFastestInterval(); 1483*344a7f5eSAndroid Build Coastguard Worker method public long getInterval(); 1484*344a7f5eSAndroid Build Coastguard Worker method public int getNumUpdates(); 1485*344a7f5eSAndroid Build Coastguard Worker method public int getQuality(); 1486*344a7f5eSAndroid Build Coastguard Worker method public boolean isLocationSettingsIgnored(); 1487*344a7f5eSAndroid Build Coastguard Worker method public boolean isLowPowerMode(); 1488*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public android.location.LocationRequest setExpireAt(long); 1489*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.LocationRequest setExpireIn(long); 1490*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.LocationRequest setFastestInterval(long); 1491*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.LocationRequest setInterval(long); 1492*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public android.location.LocationRequest setLocationSettingsIgnored(boolean); 1493*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.LocationRequest setLowPowerMode(boolean); 1494*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.LocationRequest setNumUpdates(int); 1495*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.LocationRequest setProvider(@NonNull String); 1496*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.location.LocationRequest setQuality(int); 1497*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1498*344a7f5eSAndroid Build Coastguard Worker field public static final int ACCURACY_BLOCK = 102; // 0x66 1499*344a7f5eSAndroid Build Coastguard Worker field public static final int ACCURACY_CITY = 104; // 0x68 1500*344a7f5eSAndroid Build Coastguard Worker field public static final int ACCURACY_FINE = 100; // 0x64 1501*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.location.LocationRequest> CREATOR; 1502*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_HIGH = 203; // 0xcb 1503*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_LOW = 201; // 0xc9 1504*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_NONE = 200; // 0xc8 1505*344a7f5eSAndroid Build Coastguard Worker } 1506*344a7f5eSAndroid Build Coastguard Worker 1507*344a7f5eSAndroid Build Coastguard Worker} 1508*344a7f5eSAndroid Build Coastguard Worker 1509*344a7f5eSAndroid Build Coastguard Workerpackage android.media { 1510*344a7f5eSAndroid Build Coastguard Worker 1511*344a7f5eSAndroid Build Coastguard Worker public final class AudioFocusInfo implements android.os.Parcelable { 1512*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1513*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.AudioAttributes getAttributes(); 1514*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getClientId(); 1515*344a7f5eSAndroid Build Coastguard Worker method public int getClientUid(); 1516*344a7f5eSAndroid Build Coastguard Worker method public int getFlags(); 1517*344a7f5eSAndroid Build Coastguard Worker method public int getGainRequest(); 1518*344a7f5eSAndroid Build Coastguard Worker method public int getLossReceived(); 1519*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 1520*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1521*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.media.AudioFocusInfo> CREATOR; 1522*344a7f5eSAndroid Build Coastguard Worker } 1523*344a7f5eSAndroid Build Coastguard Worker 1524*344a7f5eSAndroid Build Coastguard Worker public final class AudioFocusRequest { 1525*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.media.AudioManager.OnAudioFocusChangeListener getOnAudioFocusChangeListener(); 1526*344a7f5eSAndroid Build Coastguard Worker } 1527*344a7f5eSAndroid Build Coastguard Worker 1528*344a7f5eSAndroid Build Coastguard Worker public final class AudioFormat implements android.os.Parcelable { 1529*344a7f5eSAndroid Build Coastguard Worker method public static int channelCountFromInChannelMask(int); 1530*344a7f5eSAndroid Build Coastguard Worker method public static int channelCountFromOutChannelMask(int); 1531*344a7f5eSAndroid Build Coastguard Worker method public static int getBytesPerSample(int); 1532*344a7f5eSAndroid Build Coastguard Worker method public static boolean isEncodingLinearPcm(int); 1533*344a7f5eSAndroid Build Coastguard Worker } 1534*344a7f5eSAndroid Build Coastguard Worker 1535*344a7f5eSAndroid Build Coastguard Worker public class AudioManager { 1536*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MODIFY_AUDIO_ROUTING") public int dispatchAudioFocusChange(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy); 1537*344a7f5eSAndroid Build Coastguard Worker method public boolean hasRegisteredDynamicPolicy(); 1538*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MODIFY_AUDIO_ROUTING") public int registerAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy); 1539*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MODIFY_AUDIO_ROUTING") public void setFocusRequestResult(@NonNull android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy); 1540*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MODIFY_AUDIO_ROUTING") public void unregisterAudioPolicy(@NonNull android.media.audiopolicy.AudioPolicy); 1541*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MODIFY_AUDIO_ROUTING") public void unregisterAudioPolicyAsync(@NonNull android.media.audiopolicy.AudioPolicy); 1542*344a7f5eSAndroid Build Coastguard Worker field public static final int SUCCESS = 0; // 0x0 1543*344a7f5eSAndroid Build Coastguard Worker } 1544*344a7f5eSAndroid Build Coastguard Worker 1545*344a7f5eSAndroid Build Coastguard Worker public static final class AudioRecord.MetricsConstants { 1546*344a7f5eSAndroid Build Coastguard Worker field public static final String ATTRIBUTES = "android.media.audiorecord.attributes"; 1547*344a7f5eSAndroid Build Coastguard Worker field public static final String CHANNEL_MASK = "android.media.audiorecord.channelMask"; 1548*344a7f5eSAndroid Build Coastguard Worker field public static final String DURATION_MS = "android.media.audiorecord.durationMs"; 1549*344a7f5eSAndroid Build Coastguard Worker field public static final String FRAME_COUNT = "android.media.audiorecord.frameCount"; 1550*344a7f5eSAndroid Build Coastguard Worker field public static final String PORT_ID = "android.media.audiorecord.portId"; 1551*344a7f5eSAndroid Build Coastguard Worker field public static final String START_COUNT = "android.media.audiorecord.startCount"; 1552*344a7f5eSAndroid Build Coastguard Worker } 1553*344a7f5eSAndroid Build Coastguard Worker 1554*344a7f5eSAndroid Build Coastguard Worker public final class AudioRecordingConfiguration implements android.os.Parcelable { 1555*344a7f5eSAndroid Build Coastguard Worker ctor public AudioRecordingConfiguration(int, int, int, android.media.AudioFormat, android.media.AudioFormat, int, String, int, boolean, int, android.media.audiofx.AudioEffect.Descriptor[], android.media.audiofx.AudioEffect.Descriptor[]); 1556*344a7f5eSAndroid Build Coastguard Worker ctor public AudioRecordingConfiguration(int, int, int, android.media.AudioFormat, android.media.AudioFormat, int, String); 1557*344a7f5eSAndroid Build Coastguard Worker } 1558*344a7f5eSAndroid Build Coastguard Worker 1559*344a7f5eSAndroid Build Coastguard Worker public class AudioSystem { 1560*344a7f5eSAndroid Build Coastguard Worker method public static float getMasterBalance(); 1561*344a7f5eSAndroid Build Coastguard Worker method public static final int getNumStreamTypes(); 1562*344a7f5eSAndroid Build Coastguard Worker method public static int setMasterBalance(float); 1563*344a7f5eSAndroid Build Coastguard Worker field public static final int STREAM_DEFAULT = -1; // 0xffffffff 1564*344a7f5eSAndroid Build Coastguard Worker } 1565*344a7f5eSAndroid Build Coastguard Worker 1566*344a7f5eSAndroid Build Coastguard Worker public static final class AudioTrack.MetricsConstants { 1567*344a7f5eSAndroid Build Coastguard Worker field public static final String ATTRIBUTES = "android.media.audiotrack.attributes"; 1568*344a7f5eSAndroid Build Coastguard Worker field public static final String CHANNEL_MASK = "android.media.audiotrack.channelMask"; 1569*344a7f5eSAndroid Build Coastguard Worker field public static final String ENCODING = "android.media.audiotrack.encoding"; 1570*344a7f5eSAndroid Build Coastguard Worker field public static final String FRAME_COUNT = "android.media.audiotrack.frameCount"; 1571*344a7f5eSAndroid Build Coastguard Worker field public static final String PORT_ID = "android.media.audiotrack.portId"; 1572*344a7f5eSAndroid Build Coastguard Worker field public static final String SAMPLE_RATE = "android.media.audiotrack.sampleRate"; 1573*344a7f5eSAndroid Build Coastguard Worker } 1574*344a7f5eSAndroid Build Coastguard Worker 1575*344a7f5eSAndroid Build Coastguard Worker public final class MediaCas implements java.lang.AutoCloseable { 1576*344a7f5eSAndroid Build Coastguard Worker method public void forceResourceLost(); 1577*344a7f5eSAndroid Build Coastguard Worker } 1578*344a7f5eSAndroid Build Coastguard Worker 1579*344a7f5eSAndroid Build Coastguard Worker public static final class MediaCodecInfo.VideoCapabilities.PerformancePoint { 1580*344a7f5eSAndroid Build Coastguard Worker ctor public MediaCodecInfo.VideoCapabilities.PerformancePoint(int, int, int, int, @NonNull android.util.Size); 1581*344a7f5eSAndroid Build Coastguard Worker ctor public MediaCodecInfo.VideoCapabilities.PerformancePoint(@NonNull android.media.MediaCodecInfo.VideoCapabilities.PerformancePoint, @NonNull android.util.Size); 1582*344a7f5eSAndroid Build Coastguard Worker method public int getMaxFrameRate(); 1583*344a7f5eSAndroid Build Coastguard Worker method public long getMaxMacroBlockRate(); 1584*344a7f5eSAndroid Build Coastguard Worker method public int getMaxMacroBlocks(); 1585*344a7f5eSAndroid Build Coastguard Worker } 1586*344a7f5eSAndroid Build Coastguard Worker 1587*344a7f5eSAndroid Build Coastguard Worker public final class MediaRoute2Info implements android.os.Parcelable { 1588*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getOriginalId(); 1589*344a7f5eSAndroid Build Coastguard Worker } 1590*344a7f5eSAndroid Build Coastguard Worker 1591*344a7f5eSAndroid Build Coastguard Worker public class MediaRouter2.RoutingController { 1592*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getOriginalId(); 1593*344a7f5eSAndroid Build Coastguard Worker } 1594*344a7f5eSAndroid Build Coastguard Worker 1595*344a7f5eSAndroid Build Coastguard Worker public final class PlaybackParams implements android.os.Parcelable { 1596*344a7f5eSAndroid Build Coastguard Worker method public int getAudioStretchMode(); 1597*344a7f5eSAndroid Build Coastguard Worker method public android.media.PlaybackParams setAudioStretchMode(int); 1598*344a7f5eSAndroid Build Coastguard Worker } 1599*344a7f5eSAndroid Build Coastguard Worker 1600*344a7f5eSAndroid Build Coastguard Worker public static final class VolumeShaper.Configuration.Builder { 1601*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.VolumeShaper.Configuration.Builder setOptionFlags(int); 1602*344a7f5eSAndroid Build Coastguard Worker } 1603*344a7f5eSAndroid Build Coastguard Worker 1604*344a7f5eSAndroid Build Coastguard Worker} 1605*344a7f5eSAndroid Build Coastguard Worker 1606*344a7f5eSAndroid Build Coastguard Workerpackage android.media.audiofx { 1607*344a7f5eSAndroid Build Coastguard Worker 1608*344a7f5eSAndroid Build Coastguard Worker public class AudioEffect { 1609*344a7f5eSAndroid Build Coastguard Worker method public static int byteArrayToInt(byte[]); 1610*344a7f5eSAndroid Build Coastguard Worker method public static short byteArrayToShort(byte[]); 1611*344a7f5eSAndroid Build Coastguard Worker method public int getParameter(byte[], byte[]) throws java.lang.IllegalStateException; 1612*344a7f5eSAndroid Build Coastguard Worker method public int getParameter(int, byte[]) throws java.lang.IllegalStateException; 1613*344a7f5eSAndroid Build Coastguard Worker method public int getParameter(int, int[]) throws java.lang.IllegalStateException; 1614*344a7f5eSAndroid Build Coastguard Worker method public int getParameter(int, short[]) throws java.lang.IllegalStateException; 1615*344a7f5eSAndroid Build Coastguard Worker method public int getParameter(int[], short[]) throws java.lang.IllegalStateException; 1616*344a7f5eSAndroid Build Coastguard Worker method public static byte[] intToByteArray(int); 1617*344a7f5eSAndroid Build Coastguard Worker method public static boolean isEffectTypeAvailable(java.util.UUID); 1618*344a7f5eSAndroid Build Coastguard Worker method public static boolean isError(int); 1619*344a7f5eSAndroid Build Coastguard Worker method public int setParameter(byte[], byte[]) throws java.lang.IllegalStateException; 1620*344a7f5eSAndroid Build Coastguard Worker method public int setParameter(int, int) throws java.lang.IllegalStateException; 1621*344a7f5eSAndroid Build Coastguard Worker method public int setParameter(int, short) throws java.lang.IllegalStateException; 1622*344a7f5eSAndroid Build Coastguard Worker method public int setParameter(int, byte[]) throws java.lang.IllegalStateException; 1623*344a7f5eSAndroid Build Coastguard Worker method public int setParameter(int[], int[]) throws java.lang.IllegalStateException; 1624*344a7f5eSAndroid Build Coastguard Worker method public int setParameter(int[], byte[]) throws java.lang.IllegalStateException; 1625*344a7f5eSAndroid Build Coastguard Worker method public void setParameterListener(android.media.audiofx.AudioEffect.OnParameterChangeListener); 1626*344a7f5eSAndroid Build Coastguard Worker method public static byte[] shortToByteArray(short); 1627*344a7f5eSAndroid Build Coastguard Worker field public static final java.util.UUID EFFECT_TYPE_NULL; 1628*344a7f5eSAndroid Build Coastguard Worker } 1629*344a7f5eSAndroid Build Coastguard Worker 1630*344a7f5eSAndroid Build Coastguard Worker public static class AudioEffect.Descriptor { 1631*344a7f5eSAndroid Build Coastguard Worker ctor public AudioEffect.Descriptor(android.os.Parcel); 1632*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel); 1633*344a7f5eSAndroid Build Coastguard Worker } 1634*344a7f5eSAndroid Build Coastguard Worker 1635*344a7f5eSAndroid Build Coastguard Worker public static interface AudioEffect.OnParameterChangeListener { 1636*344a7f5eSAndroid Build Coastguard Worker method public void onParameterChange(android.media.audiofx.AudioEffect, int, byte[], byte[]); 1637*344a7f5eSAndroid Build Coastguard Worker } 1638*344a7f5eSAndroid Build Coastguard Worker 1639*344a7f5eSAndroid Build Coastguard Worker} 1640*344a7f5eSAndroid Build Coastguard Worker 1641*344a7f5eSAndroid Build Coastguard Workerpackage android.media.audiopolicy { 1642*344a7f5eSAndroid Build Coastguard Worker 1643*344a7f5eSAndroid Build Coastguard Worker public class AudioMix { 1644*344a7f5eSAndroid Build Coastguard Worker method public int getMixState(); 1645*344a7f5eSAndroid Build Coastguard Worker field public static final int MIX_STATE_DISABLED = -1; // 0xffffffff 1646*344a7f5eSAndroid Build Coastguard Worker field public static final int MIX_STATE_IDLE = 0; // 0x0 1647*344a7f5eSAndroid Build Coastguard Worker field public static final int MIX_STATE_MIXING = 1; // 0x1 1648*344a7f5eSAndroid Build Coastguard Worker field public static final int ROUTE_FLAG_LOOP_BACK = 2; // 0x2 1649*344a7f5eSAndroid Build Coastguard Worker field public static final int ROUTE_FLAG_RENDER = 1; // 0x1 1650*344a7f5eSAndroid Build Coastguard Worker } 1651*344a7f5eSAndroid Build Coastguard Worker 1652*344a7f5eSAndroid Build Coastguard Worker public static class AudioMix.Builder { 1653*344a7f5eSAndroid Build Coastguard Worker ctor public AudioMix.Builder(android.media.audiopolicy.AudioMixingRule) throws java.lang.IllegalArgumentException; 1654*344a7f5eSAndroid Build Coastguard Worker method public android.media.audiopolicy.AudioMix build() throws java.lang.IllegalArgumentException; 1655*344a7f5eSAndroid Build Coastguard Worker method public android.media.audiopolicy.AudioMix.Builder setDevice(@NonNull android.media.AudioDeviceInfo) throws java.lang.IllegalArgumentException; 1656*344a7f5eSAndroid Build Coastguard Worker method public android.media.audiopolicy.AudioMix.Builder setFormat(android.media.AudioFormat) throws java.lang.IllegalArgumentException; 1657*344a7f5eSAndroid Build Coastguard Worker method public android.media.audiopolicy.AudioMix.Builder setRouteFlags(int) throws java.lang.IllegalArgumentException; 1658*344a7f5eSAndroid Build Coastguard Worker } 1659*344a7f5eSAndroid Build Coastguard Worker 1660*344a7f5eSAndroid Build Coastguard Worker public class AudioMixingRule { 1661*344a7f5eSAndroid Build Coastguard Worker field public static final int RULE_MATCH_ATTRIBUTE_CAPTURE_PRESET = 2; // 0x2 1662*344a7f5eSAndroid Build Coastguard Worker field public static final int RULE_MATCH_ATTRIBUTE_USAGE = 1; // 0x1 1663*344a7f5eSAndroid Build Coastguard Worker field public static final int RULE_MATCH_UID = 4; // 0x4 1664*344a7f5eSAndroid Build Coastguard Worker field public static final int RULE_MATCH_USERID = 8; // 0x8 1665*344a7f5eSAndroid Build Coastguard Worker } 1666*344a7f5eSAndroid Build Coastguard Worker 1667*344a7f5eSAndroid Build Coastguard Worker public static class AudioMixingRule.Builder { 1668*344a7f5eSAndroid Build Coastguard Worker ctor public AudioMixingRule.Builder(); 1669*344a7f5eSAndroid Build Coastguard Worker method public android.media.audiopolicy.AudioMixingRule.Builder addMixRule(int, Object) throws java.lang.IllegalArgumentException; 1670*344a7f5eSAndroid Build Coastguard Worker method public android.media.audiopolicy.AudioMixingRule.Builder addRule(android.media.AudioAttributes, int) throws java.lang.IllegalArgumentException; 1671*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.audiopolicy.AudioMixingRule.Builder allowPrivilegedPlaybackCapture(boolean); 1672*344a7f5eSAndroid Build Coastguard Worker method public android.media.audiopolicy.AudioMixingRule build(); 1673*344a7f5eSAndroid Build Coastguard Worker method public android.media.audiopolicy.AudioMixingRule.Builder excludeMixRule(int, Object) throws java.lang.IllegalArgumentException; 1674*344a7f5eSAndroid Build Coastguard Worker method public android.media.audiopolicy.AudioMixingRule.Builder excludeRule(android.media.AudioAttributes, int) throws java.lang.IllegalArgumentException; 1675*344a7f5eSAndroid Build Coastguard Worker } 1676*344a7f5eSAndroid Build Coastguard Worker 1677*344a7f5eSAndroid Build Coastguard Worker public class AudioPolicy { 1678*344a7f5eSAndroid Build Coastguard Worker method public int attachMixes(@NonNull java.util.List<android.media.audiopolicy.AudioMix>); 1679*344a7f5eSAndroid Build Coastguard Worker method public android.media.AudioRecord createAudioRecordSink(android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException; 1680*344a7f5eSAndroid Build Coastguard Worker method public android.media.AudioTrack createAudioTrackSource(android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException; 1681*344a7f5eSAndroid Build Coastguard Worker method public int detachMixes(@NonNull java.util.List<android.media.audiopolicy.AudioMix>); 1682*344a7f5eSAndroid Build Coastguard Worker method public int getFocusDuckingBehavior(); 1683*344a7f5eSAndroid Build Coastguard Worker method public int getStatus(); 1684*344a7f5eSAndroid Build Coastguard Worker method public boolean removeUidDeviceAffinity(int); 1685*344a7f5eSAndroid Build Coastguard Worker method public boolean removeUserIdDeviceAffinity(int); 1686*344a7f5eSAndroid Build Coastguard Worker method public int setFocusDuckingBehavior(int) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException; 1687*344a7f5eSAndroid Build Coastguard Worker method public void setRegistration(String); 1688*344a7f5eSAndroid Build Coastguard Worker method public boolean setUidDeviceAffinity(int, @NonNull java.util.List<android.media.AudioDeviceInfo>); 1689*344a7f5eSAndroid Build Coastguard Worker method public boolean setUserIdDeviceAffinity(int, @NonNull java.util.List<android.media.AudioDeviceInfo>); 1690*344a7f5eSAndroid Build Coastguard Worker method public String toLogFriendlyString(); 1691*344a7f5eSAndroid Build Coastguard Worker field public static final int FOCUS_POLICY_DUCKING_DEFAULT = 0; // 0x0 1692*344a7f5eSAndroid Build Coastguard Worker field public static final int FOCUS_POLICY_DUCKING_IN_APP = 0; // 0x0 1693*344a7f5eSAndroid Build Coastguard Worker field public static final int FOCUS_POLICY_DUCKING_IN_POLICY = 1; // 0x1 1694*344a7f5eSAndroid Build Coastguard Worker field public static final int POLICY_STATUS_REGISTERED = 2; // 0x2 1695*344a7f5eSAndroid Build Coastguard Worker field public static final int POLICY_STATUS_UNREGISTERED = 1; // 0x1 1696*344a7f5eSAndroid Build Coastguard Worker } 1697*344a7f5eSAndroid Build Coastguard Worker 1698*344a7f5eSAndroid Build Coastguard Worker public abstract static class AudioPolicy.AudioPolicyFocusListener { 1699*344a7f5eSAndroid Build Coastguard Worker ctor public AudioPolicy.AudioPolicyFocusListener(); 1700*344a7f5eSAndroid Build Coastguard Worker method public void onAudioFocusAbandon(android.media.AudioFocusInfo); 1701*344a7f5eSAndroid Build Coastguard Worker method public void onAudioFocusGrant(android.media.AudioFocusInfo, int); 1702*344a7f5eSAndroid Build Coastguard Worker method public void onAudioFocusLoss(android.media.AudioFocusInfo, boolean); 1703*344a7f5eSAndroid Build Coastguard Worker method public void onAudioFocusRequest(android.media.AudioFocusInfo, int); 1704*344a7f5eSAndroid Build Coastguard Worker } 1705*344a7f5eSAndroid Build Coastguard Worker 1706*344a7f5eSAndroid Build Coastguard Worker public abstract static class AudioPolicy.AudioPolicyStatusListener { 1707*344a7f5eSAndroid Build Coastguard Worker ctor public AudioPolicy.AudioPolicyStatusListener(); 1708*344a7f5eSAndroid Build Coastguard Worker method public void onMixStateUpdate(android.media.audiopolicy.AudioMix); 1709*344a7f5eSAndroid Build Coastguard Worker method public void onStatusChange(); 1710*344a7f5eSAndroid Build Coastguard Worker } 1711*344a7f5eSAndroid Build Coastguard Worker 1712*344a7f5eSAndroid Build Coastguard Worker public abstract static class AudioPolicy.AudioPolicyVolumeCallback { 1713*344a7f5eSAndroid Build Coastguard Worker ctor public AudioPolicy.AudioPolicyVolumeCallback(); 1714*344a7f5eSAndroid Build Coastguard Worker method public void onVolumeAdjustment(int); 1715*344a7f5eSAndroid Build Coastguard Worker } 1716*344a7f5eSAndroid Build Coastguard Worker 1717*344a7f5eSAndroid Build Coastguard Worker public static class AudioPolicy.Builder { 1718*344a7f5eSAndroid Build Coastguard Worker ctor public AudioPolicy.Builder(android.content.Context); 1719*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.audiopolicy.AudioPolicy.Builder addMix(@NonNull android.media.audiopolicy.AudioMix) throws java.lang.IllegalArgumentException; 1720*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.audiopolicy.AudioPolicy build(); 1721*344a7f5eSAndroid Build Coastguard Worker method public void setAudioPolicyFocusListener(android.media.audiopolicy.AudioPolicy.AudioPolicyFocusListener); 1722*344a7f5eSAndroid Build Coastguard Worker method public void setAudioPolicyStatusListener(android.media.audiopolicy.AudioPolicy.AudioPolicyStatusListener); 1723*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setAudioPolicyVolumeCallback(@NonNull android.media.audiopolicy.AudioPolicy.AudioPolicyVolumeCallback); 1724*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setIsAudioFocusPolicy(boolean); 1725*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setIsTestFocusPolicy(boolean); 1726*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.audiopolicy.AudioPolicy.Builder setLooper(@NonNull android.os.Looper) throws java.lang.IllegalArgumentException; 1727*344a7f5eSAndroid Build Coastguard Worker } 1728*344a7f5eSAndroid Build Coastguard Worker 1729*344a7f5eSAndroid Build Coastguard Worker} 1730*344a7f5eSAndroid Build Coastguard Worker 1731*344a7f5eSAndroid Build Coastguard Workerpackage android.metrics { 1732*344a7f5eSAndroid Build Coastguard Worker 1733*344a7f5eSAndroid Build Coastguard Worker public class LogMaker { 1734*344a7f5eSAndroid Build Coastguard Worker ctor public LogMaker(int); 1735*344a7f5eSAndroid Build Coastguard Worker ctor public LogMaker(Object[]); 1736*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker addTaggedData(int, Object); 1737*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker clearCategory(); 1738*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker clearPackageName(); 1739*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker clearSubtype(); 1740*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker clearTaggedData(int); 1741*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker clearType(); 1742*344a7f5eSAndroid Build Coastguard Worker method public void deserialize(Object[]); 1743*344a7f5eSAndroid Build Coastguard Worker method public int getCategory(); 1744*344a7f5eSAndroid Build Coastguard Worker method public long getCounterBucket(); 1745*344a7f5eSAndroid Build Coastguard Worker method public String getCounterName(); 1746*344a7f5eSAndroid Build Coastguard Worker method public int getCounterValue(); 1747*344a7f5eSAndroid Build Coastguard Worker method public String getPackageName(); 1748*344a7f5eSAndroid Build Coastguard Worker method public int getProcessId(); 1749*344a7f5eSAndroid Build Coastguard Worker method public int getSubtype(); 1750*344a7f5eSAndroid Build Coastguard Worker method public Object getTaggedData(int); 1751*344a7f5eSAndroid Build Coastguard Worker method public long getTimestamp(); 1752*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 1753*344a7f5eSAndroid Build Coastguard Worker method public int getUid(); 1754*344a7f5eSAndroid Build Coastguard Worker method public boolean isLongCounterBucket(); 1755*344a7f5eSAndroid Build Coastguard Worker method public boolean isSubsetOf(android.metrics.LogMaker); 1756*344a7f5eSAndroid Build Coastguard Worker method public boolean isValidValue(Object); 1757*344a7f5eSAndroid Build Coastguard Worker method public Object[] serialize(); 1758*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker setCategory(int); 1759*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker setPackageName(String); 1760*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker setSubtype(int); 1761*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker setType(int); 1762*344a7f5eSAndroid Build Coastguard Worker } 1763*344a7f5eSAndroid Build Coastguard Worker 1764*344a7f5eSAndroid Build Coastguard Worker public class MetricsReader { 1765*344a7f5eSAndroid Build Coastguard Worker ctor public MetricsReader(); 1766*344a7f5eSAndroid Build Coastguard Worker method public void checkpoint(); 1767*344a7f5eSAndroid Build Coastguard Worker method public boolean hasNext(); 1768*344a7f5eSAndroid Build Coastguard Worker method public android.metrics.LogMaker next(); 1769*344a7f5eSAndroid Build Coastguard Worker method public void read(long); 1770*344a7f5eSAndroid Build Coastguard Worker method public void reset(); 1771*344a7f5eSAndroid Build Coastguard Worker } 1772*344a7f5eSAndroid Build Coastguard Worker 1773*344a7f5eSAndroid Build Coastguard Worker} 1774*344a7f5eSAndroid Build Coastguard Worker 1775*344a7f5eSAndroid Build Coastguard Workerpackage android.net { 1776*344a7f5eSAndroid Build Coastguard Worker 1777*344a7f5eSAndroid Build Coastguard Worker public class CaptivePortal implements android.os.Parcelable { 1778*344a7f5eSAndroid Build Coastguard Worker method public void logEvent(int, @NonNull String); 1779*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.NETWORK_STACK) public void reevaluateNetwork(); 1780*344a7f5eSAndroid Build Coastguard Worker method public void useNetwork(); 1781*344a7f5eSAndroid Build Coastguard Worker field public static final int APP_REQUEST_REEVALUATION_REQUIRED = 100; // 0x64 1782*344a7f5eSAndroid Build Coastguard Worker field public static final int APP_RETURN_DISMISSED = 0; // 0x0 1783*344a7f5eSAndroid Build Coastguard Worker field public static final int APP_RETURN_UNWANTED = 1; // 0x1 1784*344a7f5eSAndroid Build Coastguard Worker field public static final int APP_RETURN_WANTED_AS_IS = 2; // 0x2 1785*344a7f5eSAndroid Build Coastguard Worker } 1786*344a7f5eSAndroid Build Coastguard Worker 1787*344a7f5eSAndroid Build Coastguard Worker public final class CaptivePortalData implements android.os.Parcelable { 1788*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1789*344a7f5eSAndroid Build Coastguard Worker method public long getByteLimit(); 1790*344a7f5eSAndroid Build Coastguard Worker method public long getExpiryTimeMillis(); 1791*344a7f5eSAndroid Build Coastguard Worker method public long getRefreshTimeMillis(); 1792*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.Uri getUserPortalUrl(); 1793*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.Uri getVenueInfoUrl(); 1794*344a7f5eSAndroid Build Coastguard Worker method public boolean isCaptive(); 1795*344a7f5eSAndroid Build Coastguard Worker method public boolean isSessionExtendable(); 1796*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 1797*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.CaptivePortalData> CREATOR; 1798*344a7f5eSAndroid Build Coastguard Worker } 1799*344a7f5eSAndroid Build Coastguard Worker 1800*344a7f5eSAndroid Build Coastguard Worker public static class CaptivePortalData.Builder { 1801*344a7f5eSAndroid Build Coastguard Worker ctor public CaptivePortalData.Builder(); 1802*344a7f5eSAndroid Build Coastguard Worker ctor public CaptivePortalData.Builder(@Nullable android.net.CaptivePortalData); 1803*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.CaptivePortalData build(); 1804*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.CaptivePortalData.Builder setBytesRemaining(long); 1805*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.CaptivePortalData.Builder setCaptive(boolean); 1806*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.CaptivePortalData.Builder setExpiryTime(long); 1807*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.CaptivePortalData.Builder setRefreshTime(long); 1808*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.CaptivePortalData.Builder setSessionExtendable(boolean); 1809*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.CaptivePortalData.Builder setUserPortalUrl(@Nullable android.net.Uri); 1810*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.CaptivePortalData.Builder setVenueInfoUrl(@Nullable android.net.Uri); 1811*344a7f5eSAndroid Build Coastguard Worker } 1812*344a7f5eSAndroid Build Coastguard Worker 1813*344a7f5eSAndroid Build Coastguard Worker public class ConnectivityManager { 1814*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public void startCaptivePortalApp(@NonNull android.net.Network, @NonNull android.os.Bundle); 1815*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CAPTIVE_PORTAL_PROBE_SPEC = "android.net.extra.CAPTIVE_PORTAL_PROBE_SPEC"; 1816*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CAPTIVE_PORTAL_USER_AGENT = "android.net.extra.CAPTIVE_PORTAL_USER_AGENT"; 1817*344a7f5eSAndroid Build Coastguard Worker } 1818*344a7f5eSAndroid Build Coastguard Worker 1819*344a7f5eSAndroid Build Coastguard Worker public class EthernetManager { 1820*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public android.net.EthernetManager.TetheredInterfaceRequest requestTetheredInterface(@NonNull java.util.concurrent.Executor, @NonNull android.net.EthernetManager.TetheredInterfaceCallback); 1821*344a7f5eSAndroid Build Coastguard Worker method public void setIncludeTestInterfaces(boolean); 1822*344a7f5eSAndroid Build Coastguard Worker } 1823*344a7f5eSAndroid Build Coastguard Worker 1824*344a7f5eSAndroid Build Coastguard Worker public static interface EthernetManager.TetheredInterfaceCallback { 1825*344a7f5eSAndroid Build Coastguard Worker method public void onAvailable(@NonNull String); 1826*344a7f5eSAndroid Build Coastguard Worker method public void onUnavailable(); 1827*344a7f5eSAndroid Build Coastguard Worker } 1828*344a7f5eSAndroid Build Coastguard Worker 1829*344a7f5eSAndroid Build Coastguard Worker public static class EthernetManager.TetheredInterfaceRequest { 1830*344a7f5eSAndroid Build Coastguard Worker method public void release(); 1831*344a7f5eSAndroid Build Coastguard Worker } 1832*344a7f5eSAndroid Build Coastguard Worker 1833*344a7f5eSAndroid Build Coastguard Worker public final class IpPrefix implements android.os.Parcelable { 1834*344a7f5eSAndroid Build Coastguard Worker ctor public IpPrefix(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int); 1835*344a7f5eSAndroid Build Coastguard Worker ctor public IpPrefix(@NonNull String); 1836*344a7f5eSAndroid Build Coastguard Worker } 1837*344a7f5eSAndroid Build Coastguard Worker 1838*344a7f5eSAndroid Build Coastguard Worker public final class IpSecManager { 1839*344a7f5eSAndroid Build Coastguard Worker field public static final int INVALID_SECURITY_PARAMETER_INDEX = 0; // 0x0 1840*344a7f5eSAndroid Build Coastguard Worker } 1841*344a7f5eSAndroid Build Coastguard Worker 1842*344a7f5eSAndroid Build Coastguard Worker public class LinkAddress implements android.os.Parcelable { 1843*344a7f5eSAndroid Build Coastguard Worker ctor public LinkAddress(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int, int, int); 1844*344a7f5eSAndroid Build Coastguard Worker ctor public LinkAddress(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int, int, int, long, long); 1845*344a7f5eSAndroid Build Coastguard Worker ctor public LinkAddress(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int); 1846*344a7f5eSAndroid Build Coastguard Worker ctor public LinkAddress(@NonNull String); 1847*344a7f5eSAndroid Build Coastguard Worker ctor public LinkAddress(@NonNull String, int, int); 1848*344a7f5eSAndroid Build Coastguard Worker method public long getDeprecationTime(); 1849*344a7f5eSAndroid Build Coastguard Worker method public long getExpirationTime(); 1850*344a7f5eSAndroid Build Coastguard Worker method public boolean isGlobalPreferred(); 1851*344a7f5eSAndroid Build Coastguard Worker method public boolean isIpv4(); 1852*344a7f5eSAndroid Build Coastguard Worker method public boolean isIpv6(); 1853*344a7f5eSAndroid Build Coastguard Worker method public boolean isSameAddressAs(@Nullable android.net.LinkAddress); 1854*344a7f5eSAndroid Build Coastguard Worker } 1855*344a7f5eSAndroid Build Coastguard Worker 1856*344a7f5eSAndroid Build Coastguard Worker public final class LinkProperties implements android.os.Parcelable { 1857*344a7f5eSAndroid Build Coastguard Worker ctor public LinkProperties(@Nullable android.net.LinkProperties); 1858*344a7f5eSAndroid Build Coastguard Worker ctor public LinkProperties(@Nullable android.net.LinkProperties, boolean); 1859*344a7f5eSAndroid Build Coastguard Worker method public boolean addDnsServer(@NonNull java.net.InetAddress); 1860*344a7f5eSAndroid Build Coastguard Worker method public boolean addLinkAddress(@NonNull android.net.LinkAddress); 1861*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.Uri getCaptivePortalApiUrl(); 1862*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.CaptivePortalData getCaptivePortalData(); 1863*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.net.InetAddress> getPcscfServers(); 1864*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getTcpBufferSizes(); 1865*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.net.InetAddress> getValidatedPrivateDnsServers(); 1866*344a7f5eSAndroid Build Coastguard Worker method public boolean hasGlobalIpv6Address(); 1867*344a7f5eSAndroid Build Coastguard Worker method public boolean hasIpv4Address(); 1868*344a7f5eSAndroid Build Coastguard Worker method public boolean hasIpv6DefaultRoute(); 1869*344a7f5eSAndroid Build Coastguard Worker method public boolean isIpv4Provisioned(); 1870*344a7f5eSAndroid Build Coastguard Worker method public boolean isIpv6Provisioned(); 1871*344a7f5eSAndroid Build Coastguard Worker method public boolean isProvisioned(); 1872*344a7f5eSAndroid Build Coastguard Worker method public boolean isReachable(@NonNull java.net.InetAddress); 1873*344a7f5eSAndroid Build Coastguard Worker method public boolean removeDnsServer(@NonNull java.net.InetAddress); 1874*344a7f5eSAndroid Build Coastguard Worker method public boolean removeLinkAddress(@NonNull android.net.LinkAddress); 1875*344a7f5eSAndroid Build Coastguard Worker method public boolean removeRoute(@NonNull android.net.RouteInfo); 1876*344a7f5eSAndroid Build Coastguard Worker method public void setCaptivePortalApiUrl(@Nullable android.net.Uri); 1877*344a7f5eSAndroid Build Coastguard Worker method public void setCaptivePortalData(@Nullable android.net.CaptivePortalData); 1878*344a7f5eSAndroid Build Coastguard Worker method public void setPcscfServers(@NonNull java.util.Collection<java.net.InetAddress>); 1879*344a7f5eSAndroid Build Coastguard Worker method public void setPrivateDnsServerName(@Nullable String); 1880*344a7f5eSAndroid Build Coastguard Worker method public void setTcpBufferSizes(@Nullable String); 1881*344a7f5eSAndroid Build Coastguard Worker method public void setUsePrivateDns(boolean); 1882*344a7f5eSAndroid Build Coastguard Worker method public void setValidatedPrivateDnsServers(@NonNull java.util.Collection<java.net.InetAddress>); 1883*344a7f5eSAndroid Build Coastguard Worker } 1884*344a7f5eSAndroid Build Coastguard Worker 1885*344a7f5eSAndroid Build Coastguard Worker public class Network implements android.os.Parcelable { 1886*344a7f5eSAndroid Build Coastguard Worker ctor public Network(@NonNull android.net.Network); 1887*344a7f5eSAndroid Build Coastguard Worker method public int getNetId(); 1888*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.Network getPrivateDnsBypassingCopy(); 1889*344a7f5eSAndroid Build Coastguard Worker } 1890*344a7f5eSAndroid Build Coastguard Worker 1891*344a7f5eSAndroid Build Coastguard Worker public final class NetworkCapabilities implements android.os.Parcelable { 1892*344a7f5eSAndroid Build Coastguard Worker method @NonNull public int[] getAdministratorUids(); 1893*344a7f5eSAndroid Build Coastguard Worker method public int[] getCapabilities(); 1894*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getSsid(); 1895*344a7f5eSAndroid Build Coastguard Worker method @NonNull public int[] getTransportTypes(); 1896*344a7f5eSAndroid Build Coastguard Worker method public boolean satisfiedByNetworkCapabilities(@Nullable android.net.NetworkCapabilities); 1897*344a7f5eSAndroid Build Coastguard Worker field public static final int TRANSPORT_TEST = 7; // 0x7 1898*344a7f5eSAndroid Build Coastguard Worker } 1899*344a7f5eSAndroid Build Coastguard Worker 1900*344a7f5eSAndroid Build Coastguard Worker public static final class NetworkCapabilities.Builder { 1901*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkCapabilities.Builder(); 1902*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkCapabilities.Builder(@NonNull android.net.NetworkCapabilities); 1903*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities.Builder addCapability(int); 1904*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities.Builder addTransportType(int); 1905*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities build(); 1906*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities.Builder removeCapability(int); 1907*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities.Builder removeTransportType(int); 1908*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.NETWORK_FACTORY") public android.net.NetworkCapabilities.Builder setAdministratorUids(@NonNull int[]); 1909*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities.Builder setLinkDownstreamBandwidthKbps(int); 1910*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities.Builder setLinkUpstreamBandwidthKbps(int); 1911*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities.Builder setNetworkSpecifier(@Nullable android.net.NetworkSpecifier); 1912*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.NETWORK_FACTORY") public android.net.NetworkCapabilities.Builder setOwnerUid(int); 1913*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.NETWORK_FACTORY") public android.net.NetworkCapabilities.Builder setRequestorPackageName(@Nullable String); 1914*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.NETWORK_FACTORY") public android.net.NetworkCapabilities.Builder setRequestorUid(int); 1915*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.NETWORK_SIGNAL_STRENGTH_WAKEUP") public android.net.NetworkCapabilities.Builder setSignalStrength(int); 1916*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.NETWORK_FACTORY") public android.net.NetworkCapabilities.Builder setSsid(@Nullable String); 1917*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities.Builder setTransportInfo(@Nullable android.net.TransportInfo); 1918*344a7f5eSAndroid Build Coastguard Worker } 1919*344a7f5eSAndroid Build Coastguard Worker 1920*344a7f5eSAndroid Build Coastguard Worker public class NetworkStack { 1921*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static android.os.IBinder getService(); 1922*344a7f5eSAndroid Build Coastguard Worker method public static void setServiceForTest(@Nullable android.os.IBinder); 1923*344a7f5eSAndroid Build Coastguard Worker field public static final String PERMISSION_MAINLINE_NETWORK_STACK = "android.permission.MAINLINE_NETWORK_STACK"; 1924*344a7f5eSAndroid Build Coastguard Worker } 1925*344a7f5eSAndroid Build Coastguard Worker 1926*344a7f5eSAndroid Build Coastguard Worker public final class RouteInfo implements android.os.Parcelable { 1927*344a7f5eSAndroid Build Coastguard Worker ctor public RouteInfo(@Nullable android.net.IpPrefix, @Nullable java.net.InetAddress, @Nullable String, int); 1928*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 1929*344a7f5eSAndroid Build Coastguard Worker field public static final int RTN_THROW = 9; // 0x9 1930*344a7f5eSAndroid Build Coastguard Worker field public static final int RTN_UNICAST = 1; // 0x1 1931*344a7f5eSAndroid Build Coastguard Worker field public static final int RTN_UNREACHABLE = 7; // 0x7 1932*344a7f5eSAndroid Build Coastguard Worker } 1933*344a7f5eSAndroid Build Coastguard Worker 1934*344a7f5eSAndroid Build Coastguard Worker public final class StaticIpConfiguration implements android.os.Parcelable { 1935*344a7f5eSAndroid Build Coastguard Worker ctor public StaticIpConfiguration(); 1936*344a7f5eSAndroid Build Coastguard Worker ctor public StaticIpConfiguration(@Nullable android.net.StaticIpConfiguration); 1937*344a7f5eSAndroid Build Coastguard Worker method public void addDnsServer(@NonNull java.net.InetAddress); 1938*344a7f5eSAndroid Build Coastguard Worker method public void clear(); 1939*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1940*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.net.InetAddress> getDnsServers(); 1941*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getDomains(); 1942*344a7f5eSAndroid Build Coastguard Worker method @Nullable public java.net.InetAddress getGateway(); 1943*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.LinkAddress getIpAddress(); 1944*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.net.RouteInfo> getRoutes(@Nullable String); 1945*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1946*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.StaticIpConfiguration> CREATOR; 1947*344a7f5eSAndroid Build Coastguard Worker } 1948*344a7f5eSAndroid Build Coastguard Worker 1949*344a7f5eSAndroid Build Coastguard Worker public static final class StaticIpConfiguration.Builder { 1950*344a7f5eSAndroid Build Coastguard Worker ctor public StaticIpConfiguration.Builder(); 1951*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.StaticIpConfiguration build(); 1952*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.StaticIpConfiguration.Builder setDnsServers(@NonNull Iterable<java.net.InetAddress>); 1953*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.StaticIpConfiguration.Builder setDomains(@Nullable String); 1954*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.StaticIpConfiguration.Builder setGateway(@Nullable java.net.InetAddress); 1955*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.StaticIpConfiguration.Builder setIpAddress(@Nullable android.net.LinkAddress); 1956*344a7f5eSAndroid Build Coastguard Worker } 1957*344a7f5eSAndroid Build Coastguard Worker 1958*344a7f5eSAndroid Build Coastguard Worker public final class TestNetworkInterface implements android.os.Parcelable { 1959*344a7f5eSAndroid Build Coastguard Worker ctor public TestNetworkInterface(android.os.ParcelFileDescriptor, String); 1960*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1961*344a7f5eSAndroid Build Coastguard Worker method public android.os.ParcelFileDescriptor getFileDescriptor(); 1962*344a7f5eSAndroid Build Coastguard Worker method public String getInterfaceName(); 1963*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 1964*344a7f5eSAndroid Build Coastguard Worker field public static final android.os.Parcelable.Creator<android.net.TestNetworkInterface> CREATOR; 1965*344a7f5eSAndroid Build Coastguard Worker } 1966*344a7f5eSAndroid Build Coastguard Worker 1967*344a7f5eSAndroid Build Coastguard Worker public class TestNetworkManager { 1968*344a7f5eSAndroid Build Coastguard Worker method public android.net.TestNetworkInterface createTapInterface(); 1969*344a7f5eSAndroid Build Coastguard Worker method public android.net.TestNetworkInterface createTunInterface(@NonNull android.net.LinkAddress[]); 1970*344a7f5eSAndroid Build Coastguard Worker method public void setupTestNetwork(@NonNull String, @NonNull android.os.IBinder); 1971*344a7f5eSAndroid Build Coastguard Worker method public void teardownTestNetwork(@NonNull android.net.Network); 1972*344a7f5eSAndroid Build Coastguard Worker } 1973*344a7f5eSAndroid Build Coastguard Worker 1974*344a7f5eSAndroid Build Coastguard Worker public final class TetheredClient implements android.os.Parcelable { 1975*344a7f5eSAndroid Build Coastguard Worker ctor public TetheredClient(@NonNull android.net.MacAddress, @NonNull java.util.Collection<android.net.TetheredClient.AddressInfo>, int); 1976*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1977*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.net.TetheredClient.AddressInfo> getAddresses(); 1978*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.MacAddress getMacAddress(); 1979*344a7f5eSAndroid Build Coastguard Worker method public int getTetheringType(); 1980*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 1981*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.TetheredClient> CREATOR; 1982*344a7f5eSAndroid Build Coastguard Worker } 1983*344a7f5eSAndroid Build Coastguard Worker 1984*344a7f5eSAndroid Build Coastguard Worker public static final class TetheredClient.AddressInfo implements android.os.Parcelable { 1985*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 1986*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.LinkAddress getAddress(); 1987*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getHostname(); 1988*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 1989*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.TetheredClient.AddressInfo> CREATOR; 1990*344a7f5eSAndroid Build Coastguard Worker } 1991*344a7f5eSAndroid Build Coastguard Worker 1992*344a7f5eSAndroid Build Coastguard Worker public class TetheringManager { 1993*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.ACCESS_NETWORK_STATE) public void registerTetheringEventCallback(@NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.TetheringEventCallback); 1994*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={"android.permission.TETHER_PRIVILEGED", android.Manifest.permission.WRITE_SETTINGS}) public void requestLatestTetheringEntitlementResult(int, boolean, @NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.OnTetheringEntitlementResultListener); 1995*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={"android.permission.TETHER_PRIVILEGED", android.Manifest.permission.WRITE_SETTINGS}) public void startTethering(@NonNull android.net.TetheringManager.TetheringRequest, @NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.StartTetheringCallback); 1996*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={"android.permission.TETHER_PRIVILEGED", android.Manifest.permission.WRITE_SETTINGS}) public void stopAllTethering(); 1997*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={"android.permission.TETHER_PRIVILEGED", android.Manifest.permission.WRITE_SETTINGS}) public void stopTethering(int); 1998*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={"android.permission.TETHER_PRIVILEGED", android.Manifest.permission.ACCESS_NETWORK_STATE}) public void unregisterTetheringEventCallback(@NonNull android.net.TetheringManager.TetheringEventCallback); 1999*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_TETHER_STATE_CHANGED = "android.net.conn.TETHER_STATE_CHANGED"; 2000*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_ACTIVE_LOCAL_ONLY = "android.net.extra.ACTIVE_LOCAL_ONLY"; 2001*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_ACTIVE_TETHER = "tetherArray"; 2002*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_AVAILABLE_TETHER = "availableArray"; 2003*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_ERRORED_TETHER = "erroredArray"; 2004*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHERING_BLUETOOTH = 2; // 0x2 2005*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHERING_ETHERNET = 5; // 0x5 2006*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHERING_INVALID = -1; // 0xffffffff 2007*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHERING_NCM = 4; // 0x4 2008*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHERING_USB = 1; // 0x1 2009*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHERING_WIFI = 0; // 0x0 2010*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHERING_WIFI_P2P = 3; // 0x3 2011*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_ERROR_DHCPSERVER_ERROR = 12; // 0xc 2012*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_ERROR_DISABLE_FORWARDING_ERROR = 9; // 0x9 2013*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_ERROR_ENABLE_FORWARDING_ERROR = 8; // 0x8 2014*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_ERROR_ENTITLEMENT_UNKNOWN = 13; // 0xd 2015*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_ERROR_IFACE_CFG_ERROR = 10; // 0xa 2016*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_ERROR_INTERNAL_ERROR = 5; // 0x5 2017*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_ERROR_NO_ACCESS_TETHERING_PERMISSION = 15; // 0xf 2018*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_ERROR_NO_CHANGE_TETHERING_PERMISSION = 14; // 0xe 2019*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0 2020*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_ERROR_PROVISIONING_FAILED = 11; // 0xb 2021*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_ERROR_SERVICE_UNAVAIL = 2; // 0x2 2022*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_ERROR_TETHER_IFACE_ERROR = 6; // 0x6 2023*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_ERROR_UNAVAIL_IFACE = 4; // 0x4 2024*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_ERROR_UNKNOWN_IFACE = 1; // 0x1 2025*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_ERROR_UNKNOWN_TYPE = 16; // 0x10 2026*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_ERROR_UNSUPPORTED = 3; // 0x3 2027*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_ERROR_UNTETHER_IFACE_ERROR = 7; // 0x7 2028*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_HARDWARE_OFFLOAD_FAILED = 2; // 0x2 2029*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_HARDWARE_OFFLOAD_STARTED = 1; // 0x1 2030*344a7f5eSAndroid Build Coastguard Worker field public static final int TETHER_HARDWARE_OFFLOAD_STOPPED = 0; // 0x0 2031*344a7f5eSAndroid Build Coastguard Worker } 2032*344a7f5eSAndroid Build Coastguard Worker 2033*344a7f5eSAndroid Build Coastguard Worker public static interface TetheringManager.OnTetheringEntitlementResultListener { 2034*344a7f5eSAndroid Build Coastguard Worker method public void onTetheringEntitlementResult(int); 2035*344a7f5eSAndroid Build Coastguard Worker } 2036*344a7f5eSAndroid Build Coastguard Worker 2037*344a7f5eSAndroid Build Coastguard Worker public static interface TetheringManager.StartTetheringCallback { 2038*344a7f5eSAndroid Build Coastguard Worker method public default void onTetheringFailed(int); 2039*344a7f5eSAndroid Build Coastguard Worker method public default void onTetheringStarted(); 2040*344a7f5eSAndroid Build Coastguard Worker } 2041*344a7f5eSAndroid Build Coastguard Worker 2042*344a7f5eSAndroid Build Coastguard Worker public static interface TetheringManager.TetheringEventCallback { 2043*344a7f5eSAndroid Build Coastguard Worker method public default void onClientsChanged(@NonNull java.util.Collection<android.net.TetheredClient>); 2044*344a7f5eSAndroid Build Coastguard Worker method public default void onError(@NonNull String, int); 2045*344a7f5eSAndroid Build Coastguard Worker method public default void onOffloadStatusChanged(int); 2046*344a7f5eSAndroid Build Coastguard Worker method public default void onTetherableInterfacesChanged(@NonNull java.util.List<java.lang.String>); 2047*344a7f5eSAndroid Build Coastguard Worker method public default void onTetheredInterfacesChanged(@NonNull java.util.List<java.lang.String>); 2048*344a7f5eSAndroid Build Coastguard Worker method public default void onTetheringSupported(boolean); 2049*344a7f5eSAndroid Build Coastguard Worker method public default void onUpstreamChanged(@Nullable android.net.Network); 2050*344a7f5eSAndroid Build Coastguard Worker } 2051*344a7f5eSAndroid Build Coastguard Worker 2052*344a7f5eSAndroid Build Coastguard Worker public static class TetheringManager.TetheringRequest { 2053*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.LinkAddress getClientStaticIpv4Address(); 2054*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.LinkAddress getLocalIpv4Address(); 2055*344a7f5eSAndroid Build Coastguard Worker method public boolean getShouldShowEntitlementUi(); 2056*344a7f5eSAndroid Build Coastguard Worker method public int getTetheringType(); 2057*344a7f5eSAndroid Build Coastguard Worker method public boolean isExemptFromEntitlementCheck(); 2058*344a7f5eSAndroid Build Coastguard Worker } 2059*344a7f5eSAndroid Build Coastguard Worker 2060*344a7f5eSAndroid Build Coastguard Worker public static class TetheringManager.TetheringRequest.Builder { 2061*344a7f5eSAndroid Build Coastguard Worker ctor public TetheringManager.TetheringRequest.Builder(int); 2062*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.TetheringManager.TetheringRequest build(); 2063*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.TETHER_PRIVILEGED") public android.net.TetheringManager.TetheringRequest.Builder setExemptFromEntitlementCheck(boolean); 2064*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.TETHER_PRIVILEGED") public android.net.TetheringManager.TetheringRequest.Builder setShouldShowEntitlementUi(boolean); 2065*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.TETHER_PRIVILEGED") public android.net.TetheringManager.TetheringRequest.Builder setStaticIpv4Addresses(@NonNull android.net.LinkAddress, @NonNull android.net.LinkAddress); 2066*344a7f5eSAndroid Build Coastguard Worker } 2067*344a7f5eSAndroid Build Coastguard Worker 2068*344a7f5eSAndroid Build Coastguard Worker public class TrafficStats { 2069*344a7f5eSAndroid Build Coastguard Worker method public static long getLoopbackRxBytes(); 2070*344a7f5eSAndroid Build Coastguard Worker method public static long getLoopbackRxPackets(); 2071*344a7f5eSAndroid Build Coastguard Worker method public static long getLoopbackTxBytes(); 2072*344a7f5eSAndroid Build Coastguard Worker method public static long getLoopbackTxPackets(); 2073*344a7f5eSAndroid Build Coastguard Worker } 2074*344a7f5eSAndroid Build Coastguard Worker 2075*344a7f5eSAndroid Build Coastguard Worker} 2076*344a7f5eSAndroid Build Coastguard Worker 2077*344a7f5eSAndroid Build Coastguard Workerpackage android.net.apf { 2078*344a7f5eSAndroid Build Coastguard Worker 2079*344a7f5eSAndroid Build Coastguard Worker public final class ApfCapabilities implements android.os.Parcelable { 2080*344a7f5eSAndroid Build Coastguard Worker ctor public ApfCapabilities(int, int, int); 2081*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2082*344a7f5eSAndroid Build Coastguard Worker method public static boolean getApfDrop8023Frames(); 2083*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static int[] getApfEtherTypeBlackList(); 2084*344a7f5eSAndroid Build Coastguard Worker method public boolean hasDataAccess(); 2085*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2086*344a7f5eSAndroid Build Coastguard Worker field public static final android.os.Parcelable.Creator<android.net.apf.ApfCapabilities> CREATOR; 2087*344a7f5eSAndroid Build Coastguard Worker field public final int apfPacketFormat; 2088*344a7f5eSAndroid Build Coastguard Worker field public final int apfVersionSupported; 2089*344a7f5eSAndroid Build Coastguard Worker field public final int maximumApfProgramSize; 2090*344a7f5eSAndroid Build Coastguard Worker } 2091*344a7f5eSAndroid Build Coastguard Worker 2092*344a7f5eSAndroid Build Coastguard Worker} 2093*344a7f5eSAndroid Build Coastguard Worker 2094*344a7f5eSAndroid Build Coastguard Workerpackage android.net.metrics { 2095*344a7f5eSAndroid Build Coastguard Worker 2096*344a7f5eSAndroid Build Coastguard Worker public final class ApfProgramEvent implements android.net.metrics.IpConnectivityLog.Event { 2097*344a7f5eSAndroid Build Coastguard Worker } 2098*344a7f5eSAndroid Build Coastguard Worker 2099*344a7f5eSAndroid Build Coastguard Worker public static final class ApfProgramEvent.Builder { 2100*344a7f5eSAndroid Build Coastguard Worker ctor public ApfProgramEvent.Builder(); 2101*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfProgramEvent build(); 2102*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfProgramEvent.Builder setActualLifetime(long); 2103*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfProgramEvent.Builder setCurrentRas(int); 2104*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfProgramEvent.Builder setFilteredRas(int); 2105*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfProgramEvent.Builder setFlags(boolean, boolean); 2106*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfProgramEvent.Builder setLifetime(long); 2107*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfProgramEvent.Builder setProgramLength(int); 2108*344a7f5eSAndroid Build Coastguard Worker } 2109*344a7f5eSAndroid Build Coastguard Worker 2110*344a7f5eSAndroid Build Coastguard Worker public final class ApfStats implements android.net.metrics.IpConnectivityLog.Event { 2111*344a7f5eSAndroid Build Coastguard Worker } 2112*344a7f5eSAndroid Build Coastguard Worker 2113*344a7f5eSAndroid Build Coastguard Worker public static final class ApfStats.Builder { 2114*344a7f5eSAndroid Build Coastguard Worker ctor public ApfStats.Builder(); 2115*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats build(); 2116*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setDroppedRas(int); 2117*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setDurationMs(long); 2118*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setMatchingRas(int); 2119*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setMaxProgramSize(int); 2120*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setParseErrors(int); 2121*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setProgramUpdates(int); 2122*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setProgramUpdatesAll(int); 2123*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setProgramUpdatesAllowingMulticast(int); 2124*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setReceivedRas(int); 2125*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ApfStats.Builder setZeroLifetimeRas(int); 2126*344a7f5eSAndroid Build Coastguard Worker } 2127*344a7f5eSAndroid Build Coastguard Worker 2128*344a7f5eSAndroid Build Coastguard Worker public final class DhcpClientEvent implements android.net.metrics.IpConnectivityLog.Event { 2129*344a7f5eSAndroid Build Coastguard Worker } 2130*344a7f5eSAndroid Build Coastguard Worker 2131*344a7f5eSAndroid Build Coastguard Worker public static final class DhcpClientEvent.Builder { 2132*344a7f5eSAndroid Build Coastguard Worker ctor public DhcpClientEvent.Builder(); 2133*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.DhcpClientEvent build(); 2134*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.DhcpClientEvent.Builder setDurationMs(int); 2135*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.DhcpClientEvent.Builder setMsg(String); 2136*344a7f5eSAndroid Build Coastguard Worker } 2137*344a7f5eSAndroid Build Coastguard Worker 2138*344a7f5eSAndroid Build Coastguard Worker public final class DhcpErrorEvent implements android.net.metrics.IpConnectivityLog.Event { 2139*344a7f5eSAndroid Build Coastguard Worker ctor public DhcpErrorEvent(int); 2140*344a7f5eSAndroid Build Coastguard Worker method public static int errorCodeWithOption(int, int); 2141*344a7f5eSAndroid Build Coastguard Worker field public static final int BOOTP_TOO_SHORT = 67174400; // 0x4010000 2142*344a7f5eSAndroid Build Coastguard Worker field public static final int BUFFER_UNDERFLOW = 83951616; // 0x5010000 2143*344a7f5eSAndroid Build Coastguard Worker field public static final int DHCP_BAD_MAGIC_COOKIE = 67239936; // 0x4020000 2144*344a7f5eSAndroid Build Coastguard Worker field public static final int DHCP_ERROR = 4; // 0x4 2145*344a7f5eSAndroid Build Coastguard Worker field public static final int DHCP_INVALID_OPTION_LENGTH = 67305472; // 0x4030000 2146*344a7f5eSAndroid Build Coastguard Worker field public static final int DHCP_NO_COOKIE = 67502080; // 0x4060000 2147*344a7f5eSAndroid Build Coastguard Worker field public static final int DHCP_NO_MSG_TYPE = 67371008; // 0x4040000 2148*344a7f5eSAndroid Build Coastguard Worker field public static final int DHCP_UNKNOWN_MSG_TYPE = 67436544; // 0x4050000 2149*344a7f5eSAndroid Build Coastguard Worker field public static final int L2_ERROR = 1; // 0x1 2150*344a7f5eSAndroid Build Coastguard Worker field public static final int L2_TOO_SHORT = 16842752; // 0x1010000 2151*344a7f5eSAndroid Build Coastguard Worker field public static final int L2_WRONG_ETH_TYPE = 16908288; // 0x1020000 2152*344a7f5eSAndroid Build Coastguard Worker field public static final int L3_ERROR = 2; // 0x2 2153*344a7f5eSAndroid Build Coastguard Worker field public static final int L3_INVALID_IP = 33751040; // 0x2030000 2154*344a7f5eSAndroid Build Coastguard Worker field public static final int L3_NOT_IPV4 = 33685504; // 0x2020000 2155*344a7f5eSAndroid Build Coastguard Worker field public static final int L3_TOO_SHORT = 33619968; // 0x2010000 2156*344a7f5eSAndroid Build Coastguard Worker field public static final int L4_ERROR = 3; // 0x3 2157*344a7f5eSAndroid Build Coastguard Worker field public static final int L4_NOT_UDP = 50397184; // 0x3010000 2158*344a7f5eSAndroid Build Coastguard Worker field public static final int L4_WRONG_PORT = 50462720; // 0x3020000 2159*344a7f5eSAndroid Build Coastguard Worker field public static final int MISC_ERROR = 5; // 0x5 2160*344a7f5eSAndroid Build Coastguard Worker field public static final int PARSING_ERROR = 84082688; // 0x5030000 2161*344a7f5eSAndroid Build Coastguard Worker field public static final int RECEIVE_ERROR = 84017152; // 0x5020000 2162*344a7f5eSAndroid Build Coastguard Worker } 2163*344a7f5eSAndroid Build Coastguard Worker 2164*344a7f5eSAndroid Build Coastguard Worker public class IpConnectivityLog { 2165*344a7f5eSAndroid Build Coastguard Worker ctor public IpConnectivityLog(); 2166*344a7f5eSAndroid Build Coastguard Worker method public boolean log(long, @NonNull android.net.metrics.IpConnectivityLog.Event); 2167*344a7f5eSAndroid Build Coastguard Worker method public boolean log(@NonNull String, @NonNull android.net.metrics.IpConnectivityLog.Event); 2168*344a7f5eSAndroid Build Coastguard Worker method public boolean log(@NonNull android.net.Network, @NonNull int[], @NonNull android.net.metrics.IpConnectivityLog.Event); 2169*344a7f5eSAndroid Build Coastguard Worker method public boolean log(int, @NonNull int[], @NonNull android.net.metrics.IpConnectivityLog.Event); 2170*344a7f5eSAndroid Build Coastguard Worker method public boolean log(@NonNull android.net.metrics.IpConnectivityLog.Event); 2171*344a7f5eSAndroid Build Coastguard Worker } 2172*344a7f5eSAndroid Build Coastguard Worker 2173*344a7f5eSAndroid Build Coastguard Worker public static interface IpConnectivityLog.Event extends android.os.Parcelable { 2174*344a7f5eSAndroid Build Coastguard Worker } 2175*344a7f5eSAndroid Build Coastguard Worker 2176*344a7f5eSAndroid Build Coastguard Worker public final class IpManagerEvent implements android.net.metrics.IpConnectivityLog.Event { 2177*344a7f5eSAndroid Build Coastguard Worker ctor public IpManagerEvent(int, long); 2178*344a7f5eSAndroid Build Coastguard Worker field public static final int COMPLETE_LIFECYCLE = 3; // 0x3 2179*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_INTERFACE_NOT_FOUND = 8; // 0x8 2180*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_INVALID_PROVISIONING = 7; // 0x7 2181*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_STARTING_IPREACHABILITYMONITOR = 6; // 0x6 2182*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_STARTING_IPV4 = 4; // 0x4 2183*344a7f5eSAndroid Build Coastguard Worker field public static final int ERROR_STARTING_IPV6 = 5; // 0x5 2184*344a7f5eSAndroid Build Coastguard Worker field public static final int PROVISIONING_FAIL = 2; // 0x2 2185*344a7f5eSAndroid Build Coastguard Worker field public static final int PROVISIONING_OK = 1; // 0x1 2186*344a7f5eSAndroid Build Coastguard Worker } 2187*344a7f5eSAndroid Build Coastguard Worker 2188*344a7f5eSAndroid Build Coastguard Worker public final class IpReachabilityEvent implements android.net.metrics.IpConnectivityLog.Event { 2189*344a7f5eSAndroid Build Coastguard Worker ctor public IpReachabilityEvent(int); 2190*344a7f5eSAndroid Build Coastguard Worker field public static final int NUD_FAILED = 512; // 0x200 2191*344a7f5eSAndroid Build Coastguard Worker field public static final int NUD_FAILED_ORGANIC = 1024; // 0x400 2192*344a7f5eSAndroid Build Coastguard Worker field public static final int PROBE = 256; // 0x100 2193*344a7f5eSAndroid Build Coastguard Worker field public static final int PROVISIONING_LOST = 768; // 0x300 2194*344a7f5eSAndroid Build Coastguard Worker field public static final int PROVISIONING_LOST_ORGANIC = 1280; // 0x500 2195*344a7f5eSAndroid Build Coastguard Worker } 2196*344a7f5eSAndroid Build Coastguard Worker 2197*344a7f5eSAndroid Build Coastguard Worker public final class NetworkEvent implements android.net.metrics.IpConnectivityLog.Event { 2198*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkEvent(int, long); 2199*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkEvent(int); 2200*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_CAPTIVE_PORTAL_FOUND = 4; // 0x4 2201*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_CONNECTED = 1; // 0x1 2202*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_CONSECUTIVE_DNS_TIMEOUT_FOUND = 12; // 0xc 2203*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_DISCONNECTED = 7; // 0x7 2204*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_FIRST_VALIDATION_PORTAL_FOUND = 10; // 0xa 2205*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_FIRST_VALIDATION_SUCCESS = 8; // 0x8 2206*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_LINGER = 5; // 0x5 2207*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_PARTIAL_CONNECTIVITY = 13; // 0xd 2208*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_REVALIDATION_PORTAL_FOUND = 11; // 0xb 2209*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_REVALIDATION_SUCCESS = 9; // 0x9 2210*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_UNLINGER = 6; // 0x6 2211*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_VALIDATED = 2; // 0x2 2212*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_VALIDATION_FAILED = 3; // 0x3 2213*344a7f5eSAndroid Build Coastguard Worker } 2214*344a7f5eSAndroid Build Coastguard Worker 2215*344a7f5eSAndroid Build Coastguard Worker public final class RaEvent implements android.net.metrics.IpConnectivityLog.Event { 2216*344a7f5eSAndroid Build Coastguard Worker } 2217*344a7f5eSAndroid Build Coastguard Worker 2218*344a7f5eSAndroid Build Coastguard Worker public static final class RaEvent.Builder { 2219*344a7f5eSAndroid Build Coastguard Worker ctor public RaEvent.Builder(); 2220*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.RaEvent build(); 2221*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.RaEvent.Builder updateDnsslLifetime(long); 2222*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.RaEvent.Builder updatePrefixPreferredLifetime(long); 2223*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.RaEvent.Builder updatePrefixValidLifetime(long); 2224*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.RaEvent.Builder updateRdnssLifetime(long); 2225*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.RaEvent.Builder updateRouteInfoLifetime(long); 2226*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.RaEvent.Builder updateRouterLifetime(long); 2227*344a7f5eSAndroid Build Coastguard Worker } 2228*344a7f5eSAndroid Build Coastguard Worker 2229*344a7f5eSAndroid Build Coastguard Worker public final class ValidationProbeEvent implements android.net.metrics.IpConnectivityLog.Event { 2230*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static String getProbeName(int); 2231*344a7f5eSAndroid Build Coastguard Worker field public static final int DNS_FAILURE = 0; // 0x0 2232*344a7f5eSAndroid Build Coastguard Worker field public static final int DNS_SUCCESS = 1; // 0x1 2233*344a7f5eSAndroid Build Coastguard Worker field public static final int PROBE_DNS = 0; // 0x0 2234*344a7f5eSAndroid Build Coastguard Worker field public static final int PROBE_FALLBACK = 4; // 0x4 2235*344a7f5eSAndroid Build Coastguard Worker field public static final int PROBE_HTTP = 1; // 0x1 2236*344a7f5eSAndroid Build Coastguard Worker field public static final int PROBE_HTTPS = 2; // 0x2 2237*344a7f5eSAndroid Build Coastguard Worker field public static final int PROBE_PAC = 3; // 0x3 2238*344a7f5eSAndroid Build Coastguard Worker field public static final int PROBE_PRIVDNS = 5; // 0x5 2239*344a7f5eSAndroid Build Coastguard Worker } 2240*344a7f5eSAndroid Build Coastguard Worker 2241*344a7f5eSAndroid Build Coastguard Worker public static final class ValidationProbeEvent.Builder { 2242*344a7f5eSAndroid Build Coastguard Worker ctor public ValidationProbeEvent.Builder(); 2243*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ValidationProbeEvent build(); 2244*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setDurationMs(long); 2245*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setProbeType(int, boolean); 2246*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setReturnCode(int); 2247*344a7f5eSAndroid Build Coastguard Worker } 2248*344a7f5eSAndroid Build Coastguard Worker 2249*344a7f5eSAndroid Build Coastguard Worker} 2250*344a7f5eSAndroid Build Coastguard Worker 2251*344a7f5eSAndroid Build Coastguard Workerpackage android.net.util { 2252*344a7f5eSAndroid Build Coastguard Worker 2253*344a7f5eSAndroid Build Coastguard Worker public final class SocketUtils { 2254*344a7f5eSAndroid Build Coastguard Worker method public static void bindSocketToInterface(@NonNull java.io.FileDescriptor, @NonNull String) throws android.system.ErrnoException; 2255*344a7f5eSAndroid Build Coastguard Worker method public static void closeSocket(@Nullable java.io.FileDescriptor) throws java.io.IOException; 2256*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.net.SocketAddress makeNetlinkSocketAddress(int, int); 2257*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, int); 2258*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, @NonNull byte[]); 2259*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, int, @NonNull byte[]); 2260*344a7f5eSAndroid Build Coastguard Worker } 2261*344a7f5eSAndroid Build Coastguard Worker 2262*344a7f5eSAndroid Build Coastguard Worker} 2263*344a7f5eSAndroid Build Coastguard Worker 2264*344a7f5eSAndroid Build Coastguard Workerpackage android.os { 2265*344a7f5eSAndroid Build Coastguard Worker 2266*344a7f5eSAndroid Build Coastguard Worker public class BatteryManager { 2267*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.POWER_SAVER") public boolean setChargingStateUpdateDelayMillis(int); 2268*344a7f5eSAndroid Build Coastguard Worker } 2269*344a7f5eSAndroid Build Coastguard Worker 2270*344a7f5eSAndroid Build Coastguard Worker public final class BugreportManager { 2271*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.DUMP) public void cancelBugreport(); 2272*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.DUMP) public void requestBugreport(@NonNull android.os.BugreportParams, @Nullable CharSequence, @Nullable CharSequence); 2273*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.DUMP) public void startBugreport(@NonNull android.os.ParcelFileDescriptor, @Nullable android.os.ParcelFileDescriptor, @NonNull android.os.BugreportParams, @NonNull java.util.concurrent.Executor, @NonNull android.os.BugreportManager.BugreportCallback); 2274*344a7f5eSAndroid Build Coastguard Worker } 2275*344a7f5eSAndroid Build Coastguard Worker 2276*344a7f5eSAndroid Build Coastguard Worker public abstract static class BugreportManager.BugreportCallback { 2277*344a7f5eSAndroid Build Coastguard Worker ctor public BugreportManager.BugreportCallback(); 2278*344a7f5eSAndroid Build Coastguard Worker method public void onError(int); 2279*344a7f5eSAndroid Build Coastguard Worker method public void onFinished(); 2280*344a7f5eSAndroid Build Coastguard Worker method public void onProgress(@FloatRange(from=0.0f, to=100.0f) float); 2281*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_ERROR_ANOTHER_REPORT_IN_PROGRESS = 5; // 0x5 2282*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_ERROR_INVALID_INPUT = 1; // 0x1 2283*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_ERROR_RUNTIME = 2; // 0x2 2284*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT = 4; // 0x4 2285*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_ERROR_USER_DENIED_CONSENT = 3; // 0x3 2286*344a7f5eSAndroid Build Coastguard Worker } 2287*344a7f5eSAndroid Build Coastguard Worker 2288*344a7f5eSAndroid Build Coastguard Worker public final class BugreportParams { 2289*344a7f5eSAndroid Build Coastguard Worker ctor public BugreportParams(int); 2290*344a7f5eSAndroid Build Coastguard Worker method public int getMode(); 2291*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_MODE_FULL = 0; // 0x0 2292*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_MODE_INTERACTIVE = 1; // 0x1 2293*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_MODE_REMOTE = 2; // 0x2 2294*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_MODE_TELEPHONY = 4; // 0x4 2295*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_MODE_WEAR = 3; // 0x3 2296*344a7f5eSAndroid Build Coastguard Worker field public static final int BUGREPORT_MODE_WIFI = 5; // 0x5 2297*344a7f5eSAndroid Build Coastguard Worker } 2298*344a7f5eSAndroid Build Coastguard Worker 2299*344a7f5eSAndroid Build Coastguard Worker public class Build { 2300*344a7f5eSAndroid Build Coastguard Worker method public static boolean is64BitAbi(String); 2301*344a7f5eSAndroid Build Coastguard Worker field public static final boolean IS_EMULATOR; 2302*344a7f5eSAndroid Build Coastguard Worker } 2303*344a7f5eSAndroid Build Coastguard Worker 2304*344a7f5eSAndroid Build Coastguard Worker public static class Build.VERSION { 2305*344a7f5eSAndroid Build Coastguard Worker field public static final String[] ACTIVE_CODENAMES; 2306*344a7f5eSAndroid Build Coastguard Worker field public static final int FIRST_SDK_INT; 2307*344a7f5eSAndroid Build Coastguard Worker field public static final int RESOURCES_SDK_INT; 2308*344a7f5eSAndroid Build Coastguard Worker } 2309*344a7f5eSAndroid Build Coastguard Worker 2310*344a7f5eSAndroid Build Coastguard Worker public class DeviceIdleManager { 2311*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String[] getSystemPowerWhitelist(); 2312*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String[] getSystemPowerWhitelistExceptIdle(); 2313*344a7f5eSAndroid Build Coastguard Worker } 2314*344a7f5eSAndroid Build Coastguard Worker 2315*344a7f5eSAndroid Build Coastguard Worker public class Environment { 2316*344a7f5eSAndroid Build Coastguard Worker method public static java.io.File buildPath(java.io.File, java.lang.String...); 2317*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.io.File getOdmDirectory(); 2318*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.io.File getOemDirectory(); 2319*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.io.File getProductDirectory(); 2320*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.io.File getSystemExtDirectory(); 2321*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.io.File getVendorDirectory(); 2322*344a7f5eSAndroid Build Coastguard Worker } 2323*344a7f5eSAndroid Build Coastguard Worker 2324*344a7f5eSAndroid Build Coastguard Worker public final class FileUtils { 2325*344a7f5eSAndroid Build Coastguard Worker method public static boolean contains(java.io.File, java.io.File); 2326*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static byte[] digest(@NonNull java.io.File, @NonNull String) throws java.io.IOException, java.security.NoSuchAlgorithmException; 2327*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static byte[] digest(@NonNull java.io.InputStream, @NonNull String) throws java.io.IOException, java.security.NoSuchAlgorithmException; 2328*344a7f5eSAndroid Build Coastguard Worker } 2329*344a7f5eSAndroid Build Coastguard Worker 2330*344a7f5eSAndroid Build Coastguard Worker public class HidlMemory implements java.io.Closeable { 2331*344a7f5eSAndroid Build Coastguard Worker ctor public HidlMemory(@NonNull String, @IntRange(from=0) long, @Nullable android.os.NativeHandle); 2332*344a7f5eSAndroid Build Coastguard Worker method public void close() throws java.io.IOException; 2333*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.HidlMemory dup() throws java.io.IOException; 2334*344a7f5eSAndroid Build Coastguard Worker method protected void finalize(); 2335*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.NativeHandle getHandle(); 2336*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getName(); 2337*344a7f5eSAndroid Build Coastguard Worker method public long getSize(); 2338*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.NativeHandle releaseHandle(); 2339*344a7f5eSAndroid Build Coastguard Worker } 2340*344a7f5eSAndroid Build Coastguard Worker 2341*344a7f5eSAndroid Build Coastguard Worker public abstract class HwBinder implements android.os.IHwBinder { 2342*344a7f5eSAndroid Build Coastguard Worker ctor public HwBinder(); 2343*344a7f5eSAndroid Build Coastguard Worker method public static final void configureRpcThreadpool(long, boolean); 2344*344a7f5eSAndroid Build Coastguard Worker method public static void enableInstrumentation(); 2345*344a7f5eSAndroid Build Coastguard Worker method public static final android.os.IHwBinder getService(String, String) throws java.util.NoSuchElementException, android.os.RemoteException; 2346*344a7f5eSAndroid Build Coastguard Worker method public static final android.os.IHwBinder getService(String, String, boolean) throws java.util.NoSuchElementException, android.os.RemoteException; 2347*344a7f5eSAndroid Build Coastguard Worker method public static final void joinRpcThreadpool(); 2348*344a7f5eSAndroid Build Coastguard Worker method public abstract void onTransact(int, android.os.HwParcel, android.os.HwParcel, int) throws android.os.RemoteException; 2349*344a7f5eSAndroid Build Coastguard Worker method public final void registerService(String) throws android.os.RemoteException; 2350*344a7f5eSAndroid Build Coastguard Worker method public final void transact(int, android.os.HwParcel, android.os.HwParcel, int) throws android.os.RemoteException; 2351*344a7f5eSAndroid Build Coastguard Worker } 2352*344a7f5eSAndroid Build Coastguard Worker 2353*344a7f5eSAndroid Build Coastguard Worker public class HwBlob { 2354*344a7f5eSAndroid Build Coastguard Worker ctor public HwBlob(int); 2355*344a7f5eSAndroid Build Coastguard Worker method public final void copyToBoolArray(long, boolean[], int); 2356*344a7f5eSAndroid Build Coastguard Worker method public final void copyToDoubleArray(long, double[], int); 2357*344a7f5eSAndroid Build Coastguard Worker method public final void copyToFloatArray(long, float[], int); 2358*344a7f5eSAndroid Build Coastguard Worker method public final void copyToInt16Array(long, short[], int); 2359*344a7f5eSAndroid Build Coastguard Worker method public final void copyToInt32Array(long, int[], int); 2360*344a7f5eSAndroid Build Coastguard Worker method public final void copyToInt64Array(long, long[], int); 2361*344a7f5eSAndroid Build Coastguard Worker method public final void copyToInt8Array(long, byte[], int); 2362*344a7f5eSAndroid Build Coastguard Worker method public final boolean getBool(long); 2363*344a7f5eSAndroid Build Coastguard Worker method public final double getDouble(long); 2364*344a7f5eSAndroid Build Coastguard Worker method public final long getFieldHandle(long); 2365*344a7f5eSAndroid Build Coastguard Worker method public final float getFloat(long); 2366*344a7f5eSAndroid Build Coastguard Worker method public final short getInt16(long); 2367*344a7f5eSAndroid Build Coastguard Worker method public final int getInt32(long); 2368*344a7f5eSAndroid Build Coastguard Worker method public final long getInt64(long); 2369*344a7f5eSAndroid Build Coastguard Worker method public final byte getInt8(long); 2370*344a7f5eSAndroid Build Coastguard Worker method public final String getString(long); 2371*344a7f5eSAndroid Build Coastguard Worker method public final long handle(); 2372*344a7f5eSAndroid Build Coastguard Worker method public final void putBlob(long, android.os.HwBlob); 2373*344a7f5eSAndroid Build Coastguard Worker method public final void putBool(long, boolean); 2374*344a7f5eSAndroid Build Coastguard Worker method public final void putBoolArray(long, boolean[]); 2375*344a7f5eSAndroid Build Coastguard Worker method public final void putDouble(long, double); 2376*344a7f5eSAndroid Build Coastguard Worker method public final void putDoubleArray(long, double[]); 2377*344a7f5eSAndroid Build Coastguard Worker method public final void putFloat(long, float); 2378*344a7f5eSAndroid Build Coastguard Worker method public final void putFloatArray(long, float[]); 2379*344a7f5eSAndroid Build Coastguard Worker method public final void putHidlMemory(long, @NonNull android.os.HidlMemory); 2380*344a7f5eSAndroid Build Coastguard Worker method public final void putInt16(long, short); 2381*344a7f5eSAndroid Build Coastguard Worker method public final void putInt16Array(long, short[]); 2382*344a7f5eSAndroid Build Coastguard Worker method public final void putInt32(long, int); 2383*344a7f5eSAndroid Build Coastguard Worker method public final void putInt32Array(long, int[]); 2384*344a7f5eSAndroid Build Coastguard Worker method public final void putInt64(long, long); 2385*344a7f5eSAndroid Build Coastguard Worker method public final void putInt64Array(long, long[]); 2386*344a7f5eSAndroid Build Coastguard Worker method public final void putInt8(long, byte); 2387*344a7f5eSAndroid Build Coastguard Worker method public final void putInt8Array(long, byte[]); 2388*344a7f5eSAndroid Build Coastguard Worker method public final void putNativeHandle(long, @Nullable android.os.NativeHandle); 2389*344a7f5eSAndroid Build Coastguard Worker method public final void putString(long, String); 2390*344a7f5eSAndroid Build Coastguard Worker method public static Boolean[] wrapArray(@NonNull boolean[]); 2391*344a7f5eSAndroid Build Coastguard Worker method public static Long[] wrapArray(@NonNull long[]); 2392*344a7f5eSAndroid Build Coastguard Worker method public static Byte[] wrapArray(@NonNull byte[]); 2393*344a7f5eSAndroid Build Coastguard Worker method public static Short[] wrapArray(@NonNull short[]); 2394*344a7f5eSAndroid Build Coastguard Worker method public static Integer[] wrapArray(@NonNull int[]); 2395*344a7f5eSAndroid Build Coastguard Worker method public static Float[] wrapArray(@NonNull float[]); 2396*344a7f5eSAndroid Build Coastguard Worker method public static Double[] wrapArray(@NonNull double[]); 2397*344a7f5eSAndroid Build Coastguard Worker } 2398*344a7f5eSAndroid Build Coastguard Worker 2399*344a7f5eSAndroid Build Coastguard Worker public class HwParcel { 2400*344a7f5eSAndroid Build Coastguard Worker ctor public HwParcel(); 2401*344a7f5eSAndroid Build Coastguard Worker method public final void enforceInterface(String); 2402*344a7f5eSAndroid Build Coastguard Worker method public final boolean readBool(); 2403*344a7f5eSAndroid Build Coastguard Worker method public final java.util.ArrayList<java.lang.Boolean> readBoolVector(); 2404*344a7f5eSAndroid Build Coastguard Worker method public final android.os.HwBlob readBuffer(long); 2405*344a7f5eSAndroid Build Coastguard Worker method public final double readDouble(); 2406*344a7f5eSAndroid Build Coastguard Worker method public final java.util.ArrayList<java.lang.Double> readDoubleVector(); 2407*344a7f5eSAndroid Build Coastguard Worker method public final android.os.HwBlob readEmbeddedBuffer(long, long, long, boolean); 2408*344a7f5eSAndroid Build Coastguard Worker method @NonNull @Nullable public final android.os.HidlMemory readEmbeddedHidlMemory(long, long, long); 2409*344a7f5eSAndroid Build Coastguard Worker method @Nullable public final android.os.NativeHandle readEmbeddedNativeHandle(long, long); 2410*344a7f5eSAndroid Build Coastguard Worker method public final float readFloat(); 2411*344a7f5eSAndroid Build Coastguard Worker method public final java.util.ArrayList<java.lang.Float> readFloatVector(); 2412*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final android.os.HidlMemory readHidlMemory(); 2413*344a7f5eSAndroid Build Coastguard Worker method public final short readInt16(); 2414*344a7f5eSAndroid Build Coastguard Worker method public final java.util.ArrayList<java.lang.Short> readInt16Vector(); 2415*344a7f5eSAndroid Build Coastguard Worker method public final int readInt32(); 2416*344a7f5eSAndroid Build Coastguard Worker method public final java.util.ArrayList<java.lang.Integer> readInt32Vector(); 2417*344a7f5eSAndroid Build Coastguard Worker method public final long readInt64(); 2418*344a7f5eSAndroid Build Coastguard Worker method public final java.util.ArrayList<java.lang.Long> readInt64Vector(); 2419*344a7f5eSAndroid Build Coastguard Worker method public final byte readInt8(); 2420*344a7f5eSAndroid Build Coastguard Worker method public final java.util.ArrayList<java.lang.Byte> readInt8Vector(); 2421*344a7f5eSAndroid Build Coastguard Worker method @Nullable public final android.os.NativeHandle readNativeHandle(); 2422*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final java.util.ArrayList<android.os.NativeHandle> readNativeHandleVector(); 2423*344a7f5eSAndroid Build Coastguard Worker method public final String readString(); 2424*344a7f5eSAndroid Build Coastguard Worker method public final java.util.ArrayList<java.lang.String> readStringVector(); 2425*344a7f5eSAndroid Build Coastguard Worker method public final android.os.IHwBinder readStrongBinder(); 2426*344a7f5eSAndroid Build Coastguard Worker method public final void release(); 2427*344a7f5eSAndroid Build Coastguard Worker method public final void releaseTemporaryStorage(); 2428*344a7f5eSAndroid Build Coastguard Worker method public final void send(); 2429*344a7f5eSAndroid Build Coastguard Worker method public final void verifySuccess(); 2430*344a7f5eSAndroid Build Coastguard Worker method public final void writeBool(boolean); 2431*344a7f5eSAndroid Build Coastguard Worker method public final void writeBoolVector(java.util.ArrayList<java.lang.Boolean>); 2432*344a7f5eSAndroid Build Coastguard Worker method public final void writeBuffer(android.os.HwBlob); 2433*344a7f5eSAndroid Build Coastguard Worker method public final void writeDouble(double); 2434*344a7f5eSAndroid Build Coastguard Worker method public final void writeDoubleVector(java.util.ArrayList<java.lang.Double>); 2435*344a7f5eSAndroid Build Coastguard Worker method public final void writeFloat(float); 2436*344a7f5eSAndroid Build Coastguard Worker method public final void writeFloatVector(java.util.ArrayList<java.lang.Float>); 2437*344a7f5eSAndroid Build Coastguard Worker method public final void writeHidlMemory(@NonNull android.os.HidlMemory); 2438*344a7f5eSAndroid Build Coastguard Worker method public final void writeInt16(short); 2439*344a7f5eSAndroid Build Coastguard Worker method public final void writeInt16Vector(java.util.ArrayList<java.lang.Short>); 2440*344a7f5eSAndroid Build Coastguard Worker method public final void writeInt32(int); 2441*344a7f5eSAndroid Build Coastguard Worker method public final void writeInt32Vector(java.util.ArrayList<java.lang.Integer>); 2442*344a7f5eSAndroid Build Coastguard Worker method public final void writeInt64(long); 2443*344a7f5eSAndroid Build Coastguard Worker method public final void writeInt64Vector(java.util.ArrayList<java.lang.Long>); 2444*344a7f5eSAndroid Build Coastguard Worker method public final void writeInt8(byte); 2445*344a7f5eSAndroid Build Coastguard Worker method public final void writeInt8Vector(java.util.ArrayList<java.lang.Byte>); 2446*344a7f5eSAndroid Build Coastguard Worker method public final void writeInterfaceToken(String); 2447*344a7f5eSAndroid Build Coastguard Worker method public final void writeNativeHandle(@Nullable android.os.NativeHandle); 2448*344a7f5eSAndroid Build Coastguard Worker method public final void writeNativeHandleVector(@NonNull java.util.ArrayList<android.os.NativeHandle>); 2449*344a7f5eSAndroid Build Coastguard Worker method public final void writeStatus(int); 2450*344a7f5eSAndroid Build Coastguard Worker method public final void writeString(String); 2451*344a7f5eSAndroid Build Coastguard Worker method public final void writeStringVector(java.util.ArrayList<java.lang.String>); 2452*344a7f5eSAndroid Build Coastguard Worker method public final void writeStrongBinder(android.os.IHwBinder); 2453*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_SUCCESS = 0; // 0x0 2454*344a7f5eSAndroid Build Coastguard Worker } 2455*344a7f5eSAndroid Build Coastguard Worker 2456*344a7f5eSAndroid Build Coastguard Worker public interface IHwBinder { 2457*344a7f5eSAndroid Build Coastguard Worker method public boolean linkToDeath(android.os.IHwBinder.DeathRecipient, long); 2458*344a7f5eSAndroid Build Coastguard Worker method public android.os.IHwInterface queryLocalInterface(String); 2459*344a7f5eSAndroid Build Coastguard Worker method public void transact(int, android.os.HwParcel, android.os.HwParcel, int) throws android.os.RemoteException; 2460*344a7f5eSAndroid Build Coastguard Worker method public boolean unlinkToDeath(android.os.IHwBinder.DeathRecipient); 2461*344a7f5eSAndroid Build Coastguard Worker } 2462*344a7f5eSAndroid Build Coastguard Worker 2463*344a7f5eSAndroid Build Coastguard Worker public static interface IHwBinder.DeathRecipient { 2464*344a7f5eSAndroid Build Coastguard Worker method public void serviceDied(long); 2465*344a7f5eSAndroid Build Coastguard Worker } 2466*344a7f5eSAndroid Build Coastguard Worker 2467*344a7f5eSAndroid Build Coastguard Worker public interface IHwInterface { 2468*344a7f5eSAndroid Build Coastguard Worker method public android.os.IHwBinder asBinder(); 2469*344a7f5eSAndroid Build Coastguard Worker } 2470*344a7f5eSAndroid Build Coastguard Worker 2471*344a7f5eSAndroid Build Coastguard Worker public class IncidentManager { 2472*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.APPROVE_INCIDENT_REPORTS) public void approveReport(android.net.Uri); 2473*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.REQUEST_INCIDENT_REPORT_APPROVAL") public void cancelAuthorization(android.os.IncidentManager.AuthListener); 2474*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void deleteIncidentReports(android.net.Uri); 2475*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.APPROVE_INCIDENT_REPORTS) public void denyReport(android.net.Uri); 2476*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public android.os.IncidentManager.IncidentReport getIncidentReport(android.net.Uri); 2477*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public java.util.List<android.net.Uri> getIncidentReportList(String); 2478*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.APPROVE_INCIDENT_REPORTS) public java.util.List<android.os.IncidentManager.PendingReport> getPendingReports(); 2479*344a7f5eSAndroid Build Coastguard Worker method public void registerSection(int, @NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.os.IncidentManager.DumpCallback); 2480*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public void reportIncident(android.os.IncidentReportArgs); 2481*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.REQUEST_INCIDENT_REPORT_APPROVAL") public void requestAuthorization(int, String, int, android.os.IncidentManager.AuthListener); 2482*344a7f5eSAndroid Build Coastguard Worker method public void unregisterSection(int); 2483*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_CONFIRMATION_DIALOG = 1; // 0x1 2484*344a7f5eSAndroid Build Coastguard Worker field public static final int PRIVACY_POLICY_AUTO = 200; // 0xc8 2485*344a7f5eSAndroid Build Coastguard Worker field public static final int PRIVACY_POLICY_EXPLICIT = 100; // 0x64 2486*344a7f5eSAndroid Build Coastguard Worker field public static final int PRIVACY_POLICY_LOCAL = 0; // 0x0 2487*344a7f5eSAndroid Build Coastguard Worker } 2488*344a7f5eSAndroid Build Coastguard Worker 2489*344a7f5eSAndroid Build Coastguard Worker public static class IncidentManager.AuthListener { 2490*344a7f5eSAndroid Build Coastguard Worker ctor public IncidentManager.AuthListener(); 2491*344a7f5eSAndroid Build Coastguard Worker method public void onReportApproved(); 2492*344a7f5eSAndroid Build Coastguard Worker method public void onReportDenied(); 2493*344a7f5eSAndroid Build Coastguard Worker } 2494*344a7f5eSAndroid Build Coastguard Worker 2495*344a7f5eSAndroid Build Coastguard Worker public static class IncidentManager.DumpCallback { 2496*344a7f5eSAndroid Build Coastguard Worker ctor public IncidentManager.DumpCallback(); 2497*344a7f5eSAndroid Build Coastguard Worker method public void onDumpSection(int, @NonNull java.io.OutputStream); 2498*344a7f5eSAndroid Build Coastguard Worker } 2499*344a7f5eSAndroid Build Coastguard Worker 2500*344a7f5eSAndroid Build Coastguard Worker public static class IncidentManager.IncidentReport implements java.io.Closeable android.os.Parcelable { 2501*344a7f5eSAndroid Build Coastguard Worker ctor public IncidentManager.IncidentReport(android.os.Parcel); 2502*344a7f5eSAndroid Build Coastguard Worker method public void close(); 2503*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2504*344a7f5eSAndroid Build Coastguard Worker method public java.io.InputStream getInputStream() throws java.io.IOException; 2505*344a7f5eSAndroid Build Coastguard Worker method public long getPrivacyPolicy(); 2506*344a7f5eSAndroid Build Coastguard Worker method public long getTimestamp(); 2507*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2508*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.os.IncidentManager.IncidentReport> CREATOR; 2509*344a7f5eSAndroid Build Coastguard Worker } 2510*344a7f5eSAndroid Build Coastguard Worker 2511*344a7f5eSAndroid Build Coastguard Worker public static class IncidentManager.PendingReport { 2512*344a7f5eSAndroid Build Coastguard Worker ctor public IncidentManager.PendingReport(@NonNull android.net.Uri); 2513*344a7f5eSAndroid Build Coastguard Worker method public int getFlags(); 2514*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getRequestingPackage(); 2515*344a7f5eSAndroid Build Coastguard Worker method public long getTimestamp(); 2516*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.Uri getUri(); 2517*344a7f5eSAndroid Build Coastguard Worker } 2518*344a7f5eSAndroid Build Coastguard Worker 2519*344a7f5eSAndroid Build Coastguard Worker public final class IncidentReportArgs implements android.os.Parcelable { 2520*344a7f5eSAndroid Build Coastguard Worker ctor public IncidentReportArgs(); 2521*344a7f5eSAndroid Build Coastguard Worker ctor public IncidentReportArgs(android.os.Parcel); 2522*344a7f5eSAndroid Build Coastguard Worker method public void addHeader(byte[]); 2523*344a7f5eSAndroid Build Coastguard Worker method public void addSection(int); 2524*344a7f5eSAndroid Build Coastguard Worker method public boolean containsSection(int); 2525*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2526*344a7f5eSAndroid Build Coastguard Worker method public boolean isAll(); 2527*344a7f5eSAndroid Build Coastguard Worker method public void readFromParcel(android.os.Parcel); 2528*344a7f5eSAndroid Build Coastguard Worker method public int sectionCount(); 2529*344a7f5eSAndroid Build Coastguard Worker method public void setAll(boolean); 2530*344a7f5eSAndroid Build Coastguard Worker method public void setPrivacyPolicy(int); 2531*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2532*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.os.IncidentReportArgs> CREATOR; 2533*344a7f5eSAndroid Build Coastguard Worker } 2534*344a7f5eSAndroid Build Coastguard Worker 2535*344a7f5eSAndroid Build Coastguard Worker public final class MessageQueue { 2536*344a7f5eSAndroid Build Coastguard Worker method public int postSyncBarrier(); 2537*344a7f5eSAndroid Build Coastguard Worker method public void removeSyncBarrier(int); 2538*344a7f5eSAndroid Build Coastguard Worker } 2539*344a7f5eSAndroid Build Coastguard Worker 2540*344a7f5eSAndroid Build Coastguard Worker public final class NativeHandle implements java.io.Closeable { 2541*344a7f5eSAndroid Build Coastguard Worker ctor public NativeHandle(); 2542*344a7f5eSAndroid Build Coastguard Worker ctor public NativeHandle(@NonNull java.io.FileDescriptor, boolean); 2543*344a7f5eSAndroid Build Coastguard Worker ctor public NativeHandle(@NonNull java.io.FileDescriptor[], @NonNull int[], boolean); 2544*344a7f5eSAndroid Build Coastguard Worker method public void close() throws java.io.IOException; 2545*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.NativeHandle dup() throws java.io.IOException; 2546*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.io.FileDescriptor getFileDescriptor(); 2547*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.io.FileDescriptor[] getFileDescriptors(); 2548*344a7f5eSAndroid Build Coastguard Worker method @NonNull public int[] getInts(); 2549*344a7f5eSAndroid Build Coastguard Worker method public boolean hasSingleFileDescriptor(); 2550*344a7f5eSAndroid Build Coastguard Worker } 2551*344a7f5eSAndroid Build Coastguard Worker 2552*344a7f5eSAndroid Build Coastguard Worker public final class Parcel { 2553*344a7f5eSAndroid Build Coastguard Worker method public boolean allowSquashing(); 2554*344a7f5eSAndroid Build Coastguard Worker method public int readExceptionCode(); 2555*344a7f5eSAndroid Build Coastguard Worker method public void restoreAllowSquashing(boolean); 2556*344a7f5eSAndroid Build Coastguard Worker } 2557*344a7f5eSAndroid Build Coastguard Worker 2558*344a7f5eSAndroid Build Coastguard Worker public class ParcelFileDescriptor implements java.io.Closeable android.os.Parcelable { 2559*344a7f5eSAndroid Build Coastguard Worker method public static java.io.File getFile(java.io.FileDescriptor) throws java.io.IOException; 2560*344a7f5eSAndroid Build Coastguard Worker } 2561*344a7f5eSAndroid Build Coastguard Worker 2562*344a7f5eSAndroid Build Coastguard Worker public final class PowerManager { 2563*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.POWER_SAVER") public int getPowerSaveModeTrigger(); 2564*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.POWER_SAVER") public boolean setDynamicPowerSaveHint(boolean, int); 2565*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={"android.permission.DEVICE_POWER", "android.permission.POWER_SAVER"}) public boolean setPowerSaveModeEnabled(boolean); 2566*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_SAVE_MODE_TRIGGER_DYNAMIC = 1; // 0x1 2567*344a7f5eSAndroid Build Coastguard Worker field public static final int POWER_SAVE_MODE_TRIGGER_PERCENTAGE = 0; // 0x0 2568*344a7f5eSAndroid Build Coastguard Worker } 2569*344a7f5eSAndroid Build Coastguard Worker 2570*344a7f5eSAndroid Build Coastguard Worker public class PowerWhitelistManager { 2571*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.DEVICE_POWER") public void addToWhitelist(@NonNull String); 2572*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.DEVICE_POWER") public void addToWhitelist(@NonNull java.util.List<java.lang.String>); 2573*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST") public void whitelistAppTemporarily(@NonNull String, long); 2574*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST") public long whitelistAppTemporarilyForEvent(@NonNull String, int, @NonNull String); 2575*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_MMS = 2; // 0x2 2576*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_SMS = 1; // 0x1 2577*344a7f5eSAndroid Build Coastguard Worker field public static final int EVENT_UNSPECIFIED = 0; // 0x0 2578*344a7f5eSAndroid Build Coastguard Worker } 2579*344a7f5eSAndroid Build Coastguard Worker 2580*344a7f5eSAndroid Build Coastguard Worker public class Process { 2581*344a7f5eSAndroid Build Coastguard Worker method public static final int getThreadScheduler(int) throws java.lang.IllegalArgumentException; 2582*344a7f5eSAndroid Build Coastguard Worker field public static final int FIRST_APP_ZYGOTE_ISOLATED_UID = 90000; // 0x15f90 2583*344a7f5eSAndroid Build Coastguard Worker field public static final int FIRST_ISOLATED_UID = 99000; // 0x182b8 2584*344a7f5eSAndroid Build Coastguard Worker field public static final int LAST_APP_ZYGOTE_ISOLATED_UID = 98999; // 0x182b7 2585*344a7f5eSAndroid Build Coastguard Worker field public static final int LAST_ISOLATED_UID = 99999; // 0x1869f 2586*344a7f5eSAndroid Build Coastguard Worker field public static final int NUM_UIDS_PER_APP_ZYGOTE = 100; // 0x64 2587*344a7f5eSAndroid Build Coastguard Worker } 2588*344a7f5eSAndroid Build Coastguard Worker 2589*344a7f5eSAndroid Build Coastguard Worker public final class RemoteCallback implements android.os.Parcelable { 2590*344a7f5eSAndroid Build Coastguard Worker ctor public RemoteCallback(android.os.RemoteCallback.OnResultListener); 2591*344a7f5eSAndroid Build Coastguard Worker ctor public RemoteCallback(@NonNull android.os.RemoteCallback.OnResultListener, @Nullable android.os.Handler); 2592*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2593*344a7f5eSAndroid Build Coastguard Worker method public void sendResult(@Nullable android.os.Bundle); 2594*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2595*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.os.RemoteCallback> CREATOR; 2596*344a7f5eSAndroid Build Coastguard Worker } 2597*344a7f5eSAndroid Build Coastguard Worker 2598*344a7f5eSAndroid Build Coastguard Worker public static interface RemoteCallback.OnResultListener { 2599*344a7f5eSAndroid Build Coastguard Worker method public void onResult(@Nullable android.os.Bundle); 2600*344a7f5eSAndroid Build Coastguard Worker } 2601*344a7f5eSAndroid Build Coastguard Worker 2602*344a7f5eSAndroid Build Coastguard Worker public final class StrictMode { 2603*344a7f5eSAndroid Build Coastguard Worker method public static void conditionallyCheckInstanceCounts(); 2604*344a7f5eSAndroid Build Coastguard Worker method public static void setViolationLogger(android.os.StrictMode.ViolationLogger); 2605*344a7f5eSAndroid Build Coastguard Worker } 2606*344a7f5eSAndroid Build Coastguard Worker 2607*344a7f5eSAndroid Build Coastguard Worker public static final class StrictMode.ThreadPolicy.Builder { 2608*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.StrictMode.ThreadPolicy.Builder detectExplicitGc(); 2609*344a7f5eSAndroid Build Coastguard Worker } 2610*344a7f5eSAndroid Build Coastguard Worker 2611*344a7f5eSAndroid Build Coastguard Worker public static final class StrictMode.ViolationInfo implements android.os.Parcelable { 2612*344a7f5eSAndroid Build Coastguard Worker ctor public StrictMode.ViolationInfo(android.os.Parcel); 2613*344a7f5eSAndroid Build Coastguard Worker ctor public StrictMode.ViolationInfo(android.os.Parcel, boolean); 2614*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2615*344a7f5eSAndroid Build Coastguard Worker method public void dump(android.util.Printer, String); 2616*344a7f5eSAndroid Build Coastguard Worker method public String getStackTrace(); 2617*344a7f5eSAndroid Build Coastguard Worker method public Class<? extends android.os.strictmode.Violation> getViolationClass(); 2618*344a7f5eSAndroid Build Coastguard Worker method public String getViolationDetails(); 2619*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2620*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.os.StrictMode.ViolationInfo> CREATOR; 2621*344a7f5eSAndroid Build Coastguard Worker field public String broadcastIntentAction; 2622*344a7f5eSAndroid Build Coastguard Worker field public int durationMillis; 2623*344a7f5eSAndroid Build Coastguard Worker field public int numAnimationsRunning; 2624*344a7f5eSAndroid Build Coastguard Worker field public long numInstances; 2625*344a7f5eSAndroid Build Coastguard Worker field public String[] tags; 2626*344a7f5eSAndroid Build Coastguard Worker field public int violationNumThisLoop; 2627*344a7f5eSAndroid Build Coastguard Worker field public long violationUptimeMillis; 2628*344a7f5eSAndroid Build Coastguard Worker } 2629*344a7f5eSAndroid Build Coastguard Worker 2630*344a7f5eSAndroid Build Coastguard Worker public static interface StrictMode.ViolationLogger { 2631*344a7f5eSAndroid Build Coastguard Worker method public void log(android.os.StrictMode.ViolationInfo); 2632*344a7f5eSAndroid Build Coastguard Worker } 2633*344a7f5eSAndroid Build Coastguard Worker 2634*344a7f5eSAndroid Build Coastguard Worker public static final class StrictMode.VmPolicy.Builder { 2635*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.StrictMode.VmPolicy.Builder detectIncorrectContextUse(); 2636*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.StrictMode.VmPolicy.Builder permitIncorrectContextUse(); 2637*344a7f5eSAndroid Build Coastguard Worker } 2638*344a7f5eSAndroid Build Coastguard Worker 2639*344a7f5eSAndroid Build Coastguard Worker public class SystemConfigManager { 2640*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.READ_CARRIER_APP_INFO") public java.util.Set<java.lang.String> getDisabledUntilUsedPreinstalledCarrierApps(); 2641*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.READ_CARRIER_APP_INFO") public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getDisabledUntilUsedPreinstalledCarrierAssociatedApps(); 2642*344a7f5eSAndroid Build Coastguard Worker } 2643*344a7f5eSAndroid Build Coastguard Worker 2644*344a7f5eSAndroid Build Coastguard Worker public class SystemProperties { 2645*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static String get(@NonNull String); 2646*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static String get(@NonNull String, @Nullable String); 2647*344a7f5eSAndroid Build Coastguard Worker method public static boolean getBoolean(@NonNull String, boolean); 2648*344a7f5eSAndroid Build Coastguard Worker method public static int getInt(@NonNull String, int); 2649*344a7f5eSAndroid Build Coastguard Worker method public static long getLong(@NonNull String, long); 2650*344a7f5eSAndroid Build Coastguard Worker } 2651*344a7f5eSAndroid Build Coastguard Worker 2652*344a7f5eSAndroid Build Coastguard Worker public final class UserHandle implements android.os.Parcelable { 2653*344a7f5eSAndroid Build Coastguard Worker method public static int getAppId(int); 2654*344a7f5eSAndroid Build Coastguard Worker method public int getIdentifier(); 2655*344a7f5eSAndroid Build Coastguard Worker method public static int getUid(int, int); 2656*344a7f5eSAndroid Build Coastguard Worker method public static int getUserId(int); 2657*344a7f5eSAndroid Build Coastguard Worker method public static boolean isApp(int); 2658*344a7f5eSAndroid Build Coastguard Worker method public static int myUserId(); 2659*344a7f5eSAndroid Build Coastguard Worker method public static android.os.UserHandle of(int); 2660*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.UserHandle ALL; 2661*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.UserHandle CURRENT; 2662*344a7f5eSAndroid Build Coastguard Worker field public static final int MIN_SECONDARY_USER_ID = 10; // 0xa 2663*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.UserHandle SYSTEM; 2664*344a7f5eSAndroid Build Coastguard Worker field public static final int USER_ALL = -1; // 0xffffffff 2665*344a7f5eSAndroid Build Coastguard Worker field public static final int USER_NULL = -10000; // 0xffffd8f0 2666*344a7f5eSAndroid Build Coastguard Worker field public static final int USER_SYSTEM = 0; // 0x0 2667*344a7f5eSAndroid Build Coastguard Worker } 2668*344a7f5eSAndroid Build Coastguard Worker 2669*344a7f5eSAndroid Build Coastguard Worker public class UserManager { 2670*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={"android.permission.MANAGE_USERS", "android.permission.CREATE_USERS"}) public boolean hasBaseUserRestriction(@NonNull String, @NonNull android.os.UserHandle); 2671*344a7f5eSAndroid Build Coastguard Worker method public static boolean isSplitSystemUser(); 2672*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_USER_RESTRICTIONS_CHANGED = "android.os.action.USER_RESTRICTIONS_CHANGED"; 2673*344a7f5eSAndroid Build Coastguard Worker } 2674*344a7f5eSAndroid Build Coastguard Worker 2675*344a7f5eSAndroid Build Coastguard Worker public final class VibrationAttributes implements android.os.Parcelable { 2676*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public android.media.AudioAttributes getAudioAttributes(); 2677*344a7f5eSAndroid Build Coastguard Worker } 2678*344a7f5eSAndroid Build Coastguard Worker 2679*344a7f5eSAndroid Build Coastguard Worker public static final class VibrationAttributes.Builder { 2680*344a7f5eSAndroid Build Coastguard Worker ctor public VibrationAttributes.Builder(@NonNull android.media.AudioAttributes, @Nullable android.os.VibrationEffect); 2681*344a7f5eSAndroid Build Coastguard Worker } 2682*344a7f5eSAndroid Build Coastguard Worker 2683*344a7f5eSAndroid Build Coastguard Worker public abstract class VibrationEffect implements android.os.Parcelable { 2684*344a7f5eSAndroid Build Coastguard Worker method public static android.os.VibrationEffect get(int); 2685*344a7f5eSAndroid Build Coastguard Worker method public static android.os.VibrationEffect get(int, boolean); 2686*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static android.os.VibrationEffect get(android.net.Uri, android.content.Context); 2687*344a7f5eSAndroid Build Coastguard Worker method public abstract long getDuration(); 2688*344a7f5eSAndroid Build Coastguard Worker method protected static int scale(int, float, int); 2689*344a7f5eSAndroid Build Coastguard Worker field public static final int EFFECT_POP = 4; // 0x4 2690*344a7f5eSAndroid Build Coastguard Worker field public static final int EFFECT_STRENGTH_LIGHT = 0; // 0x0 2691*344a7f5eSAndroid Build Coastguard Worker field public static final int EFFECT_STRENGTH_MEDIUM = 1; // 0x1 2692*344a7f5eSAndroid Build Coastguard Worker field public static final int EFFECT_STRENGTH_STRONG = 2; // 0x2 2693*344a7f5eSAndroid Build Coastguard Worker field public static final int EFFECT_TEXTURE_TICK = 21; // 0x15 2694*344a7f5eSAndroid Build Coastguard Worker field public static final int EFFECT_THUD = 3; // 0x3 2695*344a7f5eSAndroid Build Coastguard Worker field public static final int[] RINGTONES; 2696*344a7f5eSAndroid Build Coastguard Worker } 2697*344a7f5eSAndroid Build Coastguard Worker 2698*344a7f5eSAndroid Build Coastguard Worker public static class VibrationEffect.OneShot extends android.os.VibrationEffect implements android.os.Parcelable { 2699*344a7f5eSAndroid Build Coastguard Worker ctor public VibrationEffect.OneShot(android.os.Parcel); 2700*344a7f5eSAndroid Build Coastguard Worker ctor public VibrationEffect.OneShot(long, int); 2701*344a7f5eSAndroid Build Coastguard Worker method public int getAmplitude(); 2702*344a7f5eSAndroid Build Coastguard Worker method public long getDuration(); 2703*344a7f5eSAndroid Build Coastguard Worker method public android.os.VibrationEffect.OneShot scale(float, int); 2704*344a7f5eSAndroid Build Coastguard Worker method public void validate(); 2705*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2706*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.os.VibrationEffect.OneShot> CREATOR; 2707*344a7f5eSAndroid Build Coastguard Worker } 2708*344a7f5eSAndroid Build Coastguard Worker 2709*344a7f5eSAndroid Build Coastguard Worker public static class VibrationEffect.Prebaked extends android.os.VibrationEffect implements android.os.Parcelable { 2710*344a7f5eSAndroid Build Coastguard Worker ctor public VibrationEffect.Prebaked(android.os.Parcel); 2711*344a7f5eSAndroid Build Coastguard Worker ctor public VibrationEffect.Prebaked(int, boolean); 2712*344a7f5eSAndroid Build Coastguard Worker method public long getDuration(); 2713*344a7f5eSAndroid Build Coastguard Worker method public int getEffectStrength(); 2714*344a7f5eSAndroid Build Coastguard Worker method public int getId(); 2715*344a7f5eSAndroid Build Coastguard Worker method public void setEffectStrength(int); 2716*344a7f5eSAndroid Build Coastguard Worker method public boolean shouldFallback(); 2717*344a7f5eSAndroid Build Coastguard Worker method public void validate(); 2718*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2719*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.os.VibrationEffect.Prebaked> CREATOR; 2720*344a7f5eSAndroid Build Coastguard Worker } 2721*344a7f5eSAndroid Build Coastguard Worker 2722*344a7f5eSAndroid Build Coastguard Worker public static class VibrationEffect.Waveform extends android.os.VibrationEffect implements android.os.Parcelable { 2723*344a7f5eSAndroid Build Coastguard Worker ctor public VibrationEffect.Waveform(android.os.Parcel); 2724*344a7f5eSAndroid Build Coastguard Worker ctor public VibrationEffect.Waveform(long[], int[], int); 2725*344a7f5eSAndroid Build Coastguard Worker method public int[] getAmplitudes(); 2726*344a7f5eSAndroid Build Coastguard Worker method public long getDuration(); 2727*344a7f5eSAndroid Build Coastguard Worker method public int getRepeatIndex(); 2728*344a7f5eSAndroid Build Coastguard Worker method public long[] getTimings(); 2729*344a7f5eSAndroid Build Coastguard Worker method public android.os.VibrationEffect.Waveform scale(float, int); 2730*344a7f5eSAndroid Build Coastguard Worker method public void validate(); 2731*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2732*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.os.VibrationEffect.Waveform> CREATOR; 2733*344a7f5eSAndroid Build Coastguard Worker } 2734*344a7f5eSAndroid Build Coastguard Worker 2735*344a7f5eSAndroid Build Coastguard Worker public abstract class Vibrator { 2736*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.ACCESS_VIBRATOR_STATE") public void addVibratorStateListener(@NonNull android.os.Vibrator.OnVibratorStateChangedListener); 2737*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.ACCESS_VIBRATOR_STATE") public void addVibratorStateListener(@NonNull java.util.concurrent.Executor, @NonNull android.os.Vibrator.OnVibratorStateChangedListener); 2738*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.ACCESS_VIBRATOR_STATE") public boolean isVibrating(); 2739*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.ACCESS_VIBRATOR_STATE") public void removeVibratorStateListener(@NonNull android.os.Vibrator.OnVibratorStateChangedListener); 2740*344a7f5eSAndroid Build Coastguard Worker } 2741*344a7f5eSAndroid Build Coastguard Worker 2742*344a7f5eSAndroid Build Coastguard Worker public static interface Vibrator.OnVibratorStateChangedListener { 2743*344a7f5eSAndroid Build Coastguard Worker method public void onVibratorStateChanged(boolean); 2744*344a7f5eSAndroid Build Coastguard Worker } 2745*344a7f5eSAndroid Build Coastguard Worker 2746*344a7f5eSAndroid Build Coastguard Worker public class VintfObject { 2747*344a7f5eSAndroid Build Coastguard Worker method public static String[] getHalNamesAndVersions(); 2748*344a7f5eSAndroid Build Coastguard Worker method public static String getSepolicyVersion(); 2749*344a7f5eSAndroid Build Coastguard Worker method public static Long getTargetFrameworkCompatibilityMatrixVersion(); 2750*344a7f5eSAndroid Build Coastguard Worker method public static java.util.Map<java.lang.String,java.lang.String[]> getVndkSnapshots(); 2751*344a7f5eSAndroid Build Coastguard Worker method public static String[] report(); 2752*344a7f5eSAndroid Build Coastguard Worker } 2753*344a7f5eSAndroid Build Coastguard Worker 2754*344a7f5eSAndroid Build Coastguard Worker public class VintfRuntimeInfo { 2755*344a7f5eSAndroid Build Coastguard Worker method public static String getCpuInfo(); 2756*344a7f5eSAndroid Build Coastguard Worker method public static String getHardwareId(); 2757*344a7f5eSAndroid Build Coastguard Worker method public static String getKernelVersion(); 2758*344a7f5eSAndroid Build Coastguard Worker method public static String getNodeName(); 2759*344a7f5eSAndroid Build Coastguard Worker method public static String getOsName(); 2760*344a7f5eSAndroid Build Coastguard Worker method public static String getOsRelease(); 2761*344a7f5eSAndroid Build Coastguard Worker method public static String getOsVersion(); 2762*344a7f5eSAndroid Build Coastguard Worker } 2763*344a7f5eSAndroid Build Coastguard Worker 2764*344a7f5eSAndroid Build Coastguard Worker public class WorkSource implements android.os.Parcelable { 2765*344a7f5eSAndroid Build Coastguard Worker ctor public WorkSource(int); 2766*344a7f5eSAndroid Build Coastguard Worker method public boolean add(int); 2767*344a7f5eSAndroid Build Coastguard Worker method public boolean add(int, String); 2768*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public android.os.WorkSource addReturningNewbs(android.os.WorkSource); 2769*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getPackageName(int); 2770*344a7f5eSAndroid Build Coastguard Worker method public int getUid(int); 2771*344a7f5eSAndroid Build Coastguard Worker method public boolean isEmpty(); 2772*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public android.os.WorkSource[] setReturningDiffs(android.os.WorkSource); 2773*344a7f5eSAndroid Build Coastguard Worker method public int size(); 2774*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.WorkSource withoutNames(); 2775*344a7f5eSAndroid Build Coastguard Worker } 2776*344a7f5eSAndroid Build Coastguard Worker 2777*344a7f5eSAndroid Build Coastguard Worker} 2778*344a7f5eSAndroid Build Coastguard Worker 2779*344a7f5eSAndroid Build Coastguard Workerpackage android.os.health { 2780*344a7f5eSAndroid Build Coastguard Worker 2781*344a7f5eSAndroid Build Coastguard Worker public class HealthKeys { 2782*344a7f5eSAndroid Build Coastguard Worker ctor public HealthKeys(); 2783*344a7f5eSAndroid Build Coastguard Worker field public static final int BASE_PACKAGE = 40000; // 0x9c40 2784*344a7f5eSAndroid Build Coastguard Worker field public static final int BASE_PID = 20000; // 0x4e20 2785*344a7f5eSAndroid Build Coastguard Worker field public static final int BASE_PROCESS = 30000; // 0x7530 2786*344a7f5eSAndroid Build Coastguard Worker field public static final int BASE_SERVICE = 50000; // 0xc350 2787*344a7f5eSAndroid Build Coastguard Worker field public static final int BASE_UID = 10000; // 0x2710 2788*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_COUNT = 5; // 0x5 2789*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_MEASUREMENT = 1; // 0x1 2790*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_MEASUREMENTS = 4; // 0x4 2791*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_STATS = 2; // 0x2 2792*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_TIMER = 0; // 0x0 2793*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_TIMERS = 3; // 0x3 2794*344a7f5eSAndroid Build Coastguard Worker field public static final int UNKNOWN_KEY = 0; // 0x0 2795*344a7f5eSAndroid Build Coastguard Worker } 2796*344a7f5eSAndroid Build Coastguard Worker 2797*344a7f5eSAndroid Build Coastguard Worker @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target({java.lang.annotation.ElementType.FIELD}) public static @interface HealthKeys.Constant { 2798*344a7f5eSAndroid Build Coastguard Worker method public abstract int type(); 2799*344a7f5eSAndroid Build Coastguard Worker } 2800*344a7f5eSAndroid Build Coastguard Worker 2801*344a7f5eSAndroid Build Coastguard Worker public static class HealthKeys.Constants { 2802*344a7f5eSAndroid Build Coastguard Worker ctor public HealthKeys.Constants(Class); 2803*344a7f5eSAndroid Build Coastguard Worker method public String getDataType(); 2804*344a7f5eSAndroid Build Coastguard Worker method public int getIndex(int, int); 2805*344a7f5eSAndroid Build Coastguard Worker method public int[] getKeys(int); 2806*344a7f5eSAndroid Build Coastguard Worker method public int getSize(int); 2807*344a7f5eSAndroid Build Coastguard Worker } 2808*344a7f5eSAndroid Build Coastguard Worker 2809*344a7f5eSAndroid Build Coastguard Worker public class HealthStats { 2810*344a7f5eSAndroid Build Coastguard Worker ctor public HealthStats(android.os.Parcel); 2811*344a7f5eSAndroid Build Coastguard Worker } 2812*344a7f5eSAndroid Build Coastguard Worker 2813*344a7f5eSAndroid Build Coastguard Worker public class HealthStatsParceler implements android.os.Parcelable { 2814*344a7f5eSAndroid Build Coastguard Worker ctor public HealthStatsParceler(android.os.health.HealthStatsWriter); 2815*344a7f5eSAndroid Build Coastguard Worker ctor public HealthStatsParceler(android.os.Parcel); 2816*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2817*344a7f5eSAndroid Build Coastguard Worker method public android.os.health.HealthStats getHealthStats(); 2818*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2819*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.os.health.HealthStatsParceler> CREATOR; 2820*344a7f5eSAndroid Build Coastguard Worker } 2821*344a7f5eSAndroid Build Coastguard Worker 2822*344a7f5eSAndroid Build Coastguard Worker public class HealthStatsWriter { 2823*344a7f5eSAndroid Build Coastguard Worker ctor public HealthStatsWriter(android.os.health.HealthKeys.Constants); 2824*344a7f5eSAndroid Build Coastguard Worker method public void addMeasurement(int, long); 2825*344a7f5eSAndroid Build Coastguard Worker method public void addMeasurements(int, String, long); 2826*344a7f5eSAndroid Build Coastguard Worker method public void addStats(int, String, android.os.health.HealthStatsWriter); 2827*344a7f5eSAndroid Build Coastguard Worker method public void addTimer(int, int, long); 2828*344a7f5eSAndroid Build Coastguard Worker method public void addTimers(int, String, android.os.health.TimerStat); 2829*344a7f5eSAndroid Build Coastguard Worker method public void flattenToParcel(android.os.Parcel); 2830*344a7f5eSAndroid Build Coastguard Worker } 2831*344a7f5eSAndroid Build Coastguard Worker 2832*344a7f5eSAndroid Build Coastguard Worker} 2833*344a7f5eSAndroid Build Coastguard Worker 2834*344a7f5eSAndroid Build Coastguard Workerpackage android.os.image { 2835*344a7f5eSAndroid Build Coastguard Worker 2836*344a7f5eSAndroid Build Coastguard Worker public class DynamicSystemClient { 2837*344a7f5eSAndroid Build Coastguard Worker ctor public DynamicSystemClient(@NonNull android.content.Context); 2838*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.INSTALL_DYNAMIC_SYSTEM") public void bind(); 2839*344a7f5eSAndroid Build Coastguard Worker method public void setOnStatusChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.os.image.DynamicSystemClient.OnStatusChangedListener); 2840*344a7f5eSAndroid Build Coastguard Worker method public void setOnStatusChangedListener(@NonNull android.os.image.DynamicSystemClient.OnStatusChangedListener); 2841*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.INSTALL_DYNAMIC_SYSTEM") public void start(@NonNull android.net.Uri, long); 2842*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.INSTALL_DYNAMIC_SYSTEM") public void start(@NonNull android.net.Uri, long, long); 2843*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.INSTALL_DYNAMIC_SYSTEM") public void unbind(); 2844*344a7f5eSAndroid Build Coastguard Worker field public static final int CAUSE_ERROR_EXCEPTION = 6; // 0x6 2845*344a7f5eSAndroid Build Coastguard Worker field public static final int CAUSE_ERROR_INVALID_URL = 4; // 0x4 2846*344a7f5eSAndroid Build Coastguard Worker field public static final int CAUSE_ERROR_IO = 3; // 0x3 2847*344a7f5eSAndroid Build Coastguard Worker field public static final int CAUSE_ERROR_IPC = 5; // 0x5 2848*344a7f5eSAndroid Build Coastguard Worker field public static final int CAUSE_INSTALL_CANCELLED = 2; // 0x2 2849*344a7f5eSAndroid Build Coastguard Worker field public static final int CAUSE_INSTALL_COMPLETED = 1; // 0x1 2850*344a7f5eSAndroid Build Coastguard Worker field public static final int CAUSE_NOT_SPECIFIED = 0; // 0x0 2851*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_IN_PROGRESS = 2; // 0x2 2852*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_IN_USE = 4; // 0x4 2853*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_NOT_STARTED = 1; // 0x1 2854*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_READY = 3; // 0x3 2855*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_UNKNOWN = 0; // 0x0 2856*344a7f5eSAndroid Build Coastguard Worker } 2857*344a7f5eSAndroid Build Coastguard Worker 2858*344a7f5eSAndroid Build Coastguard Worker public static interface DynamicSystemClient.OnStatusChangedListener { 2859*344a7f5eSAndroid Build Coastguard Worker method public void onStatusChanged(int, int, long, @Nullable Throwable); 2860*344a7f5eSAndroid Build Coastguard Worker } 2861*344a7f5eSAndroid Build Coastguard Worker 2862*344a7f5eSAndroid Build Coastguard Worker} 2863*344a7f5eSAndroid Build Coastguard Worker 2864*344a7f5eSAndroid Build Coastguard Workerpackage android.os.storage { 2865*344a7f5eSAndroid Build Coastguard Worker 2866*344a7f5eSAndroid Build Coastguard Worker public final class CrateInfo implements android.os.Parcelable { 2867*344a7f5eSAndroid Build Coastguard Worker ctor public CrateInfo(@NonNull CharSequence, long); 2868*344a7f5eSAndroid Build Coastguard Worker ctor public CrateInfo(@NonNull CharSequence); 2869*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static android.os.storage.CrateInfo copyFrom(int, @Nullable String, @Nullable String); 2870*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2871*344a7f5eSAndroid Build Coastguard Worker method public long getExpirationMillis(); 2872*344a7f5eSAndroid Build Coastguard Worker method @NonNull public CharSequence getLabel(); 2873*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@Nullable android.os.Parcel, int); 2874*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.os.storage.CrateInfo> CREATOR; 2875*344a7f5eSAndroid Build Coastguard Worker } 2876*344a7f5eSAndroid Build Coastguard Worker 2877*344a7f5eSAndroid Build Coastguard Worker public class StorageManager { 2878*344a7f5eSAndroid Build Coastguard Worker method public static boolean hasIsolatedStorage(); 2879*344a7f5eSAndroid Build Coastguard Worker } 2880*344a7f5eSAndroid Build Coastguard Worker 2881*344a7f5eSAndroid Build Coastguard Worker public final class StorageVolume implements android.os.Parcelable { 2882*344a7f5eSAndroid Build Coastguard Worker method public String getPath(); 2883*344a7f5eSAndroid Build Coastguard Worker } 2884*344a7f5eSAndroid Build Coastguard Worker 2885*344a7f5eSAndroid Build Coastguard Worker} 2886*344a7f5eSAndroid Build Coastguard Worker 2887*344a7f5eSAndroid Build Coastguard Workerpackage android.os.strictmode { 2888*344a7f5eSAndroid Build Coastguard Worker 2889*344a7f5eSAndroid Build Coastguard Worker public final class ExplicitGcViolation extends android.os.strictmode.Violation { 2890*344a7f5eSAndroid Build Coastguard Worker } 2891*344a7f5eSAndroid Build Coastguard Worker 2892*344a7f5eSAndroid Build Coastguard Worker} 2893*344a7f5eSAndroid Build Coastguard Worker 2894*344a7f5eSAndroid Build Coastguard Workerpackage android.permission { 2895*344a7f5eSAndroid Build Coastguard Worker 2896*344a7f5eSAndroid Build Coastguard Worker public final class PermissionControllerManager { 2897*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={"android.permission.GRANT_RUNTIME_PERMISSIONS", "android.permission.RESTORE_RUNTIME_PERMISSIONS"}) public void applyStagedRuntimePermissionBackup(@NonNull String, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>); 2898*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.GET_RUNTIME_PERMISSIONS") public void countPermissionApps(@NonNull java.util.List<java.lang.String>, int, @NonNull android.permission.PermissionControllerManager.OnCountPermissionAppsResultCallback, @Nullable android.os.Handler); 2899*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.GET_RUNTIME_PERMISSIONS") public void getAppPermissions(@NonNull String, @NonNull android.permission.PermissionControllerManager.OnGetAppPermissionResultCallback, @Nullable android.os.Handler); 2900*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.GET_RUNTIME_PERMISSIONS") public void getRuntimePermissionBackup(@NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<byte[]>); 2901*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.REVOKE_RUNTIME_PERMISSIONS") public void revokeRuntimePermission(@NonNull String, @NonNull String); 2902*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.REVOKE_RUNTIME_PERMISSIONS") public void revokeRuntimePermissions(@NonNull java.util.Map<java.lang.String,java.util.List<java.lang.String>>, boolean, int, @NonNull java.util.concurrent.Executor, @NonNull android.permission.PermissionControllerManager.OnRevokeRuntimePermissionsCallback); 2903*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={"android.permission.GRANT_RUNTIME_PERMISSIONS", "android.permission.RESTORE_RUNTIME_PERMISSIONS"}) public void stageAndApplyRuntimePermissionsBackup(@NonNull byte[], @NonNull android.os.UserHandle); 2904*344a7f5eSAndroid Build Coastguard Worker field public static final int COUNT_ONLY_WHEN_GRANTED = 1; // 0x1 2905*344a7f5eSAndroid Build Coastguard Worker field public static final int COUNT_WHEN_SYSTEM = 2; // 0x2 2906*344a7f5eSAndroid Build Coastguard Worker field public static final int REASON_INSTALLER_POLICY_VIOLATION = 2; // 0x2 2907*344a7f5eSAndroid Build Coastguard Worker field public static final int REASON_MALWARE = 1; // 0x1 2908*344a7f5eSAndroid Build Coastguard Worker } 2909*344a7f5eSAndroid Build Coastguard Worker 2910*344a7f5eSAndroid Build Coastguard Worker public static interface PermissionControllerManager.OnCountPermissionAppsResultCallback { 2911*344a7f5eSAndroid Build Coastguard Worker method public void onCountPermissionApps(int); 2912*344a7f5eSAndroid Build Coastguard Worker } 2913*344a7f5eSAndroid Build Coastguard Worker 2914*344a7f5eSAndroid Build Coastguard Worker public static interface PermissionControllerManager.OnGetAppPermissionResultCallback { 2915*344a7f5eSAndroid Build Coastguard Worker method public void onGetAppPermissions(@NonNull java.util.List<android.permission.RuntimePermissionPresentationInfo>); 2916*344a7f5eSAndroid Build Coastguard Worker } 2917*344a7f5eSAndroid Build Coastguard Worker 2918*344a7f5eSAndroid Build Coastguard Worker public abstract static class PermissionControllerManager.OnRevokeRuntimePermissionsCallback { 2919*344a7f5eSAndroid Build Coastguard Worker ctor public PermissionControllerManager.OnRevokeRuntimePermissionsCallback(); 2920*344a7f5eSAndroid Build Coastguard Worker method public abstract void onRevokeRuntimePermissions(@NonNull java.util.Map<java.lang.String,java.util.List<java.lang.String>>); 2921*344a7f5eSAndroid Build Coastguard Worker } 2922*344a7f5eSAndroid Build Coastguard Worker 2923*344a7f5eSAndroid Build Coastguard Worker public final class PermissionManager { 2924*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) @RequiresPermission(anyOf={"android.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY", android.Manifest.permission.UPGRADE_RUNTIME_PERMISSIONS}) public int getRuntimePermissionsVersion(); 2925*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.permission.PermissionManager.SplitPermissionInfo> getSplitPermissions(); 2926*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={"android.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY", android.Manifest.permission.UPGRADE_RUNTIME_PERMISSIONS}) public void setRuntimePermissionsVersion(@IntRange(from=0) int); 2927*344a7f5eSAndroid Build Coastguard Worker } 2928*344a7f5eSAndroid Build Coastguard Worker 2929*344a7f5eSAndroid Build Coastguard Worker public static final class PermissionManager.SplitPermissionInfo { 2930*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.lang.String> getNewPermissions(); 2931*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getSplitPermission(); 2932*344a7f5eSAndroid Build Coastguard Worker method public int getTargetSdk(); 2933*344a7f5eSAndroid Build Coastguard Worker } 2934*344a7f5eSAndroid Build Coastguard Worker 2935*344a7f5eSAndroid Build Coastguard Worker public final class RuntimePermissionPresentationInfo implements android.os.Parcelable { 2936*344a7f5eSAndroid Build Coastguard Worker ctor public RuntimePermissionPresentationInfo(@NonNull CharSequence, boolean, boolean); 2937*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 2938*344a7f5eSAndroid Build Coastguard Worker method @NonNull public CharSequence getLabel(); 2939*344a7f5eSAndroid Build Coastguard Worker method public boolean isGranted(); 2940*344a7f5eSAndroid Build Coastguard Worker method public boolean isStandard(); 2941*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 2942*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.permission.RuntimePermissionPresentationInfo> CREATOR; 2943*344a7f5eSAndroid Build Coastguard Worker } 2944*344a7f5eSAndroid Build Coastguard Worker 2945*344a7f5eSAndroid Build Coastguard Worker} 2946*344a7f5eSAndroid Build Coastguard Worker 2947*344a7f5eSAndroid Build Coastguard Workerpackage android.print { 2948*344a7f5eSAndroid Build Coastguard Worker 2949*344a7f5eSAndroid Build Coastguard Worker public final class PrintJobInfo implements android.os.Parcelable { 2950*344a7f5eSAndroid Build Coastguard Worker method public float getProgress(); 2951*344a7f5eSAndroid Build Coastguard Worker method @Nullable public CharSequence getStatus(@NonNull android.content.pm.PackageManager); 2952*344a7f5eSAndroid Build Coastguard Worker } 2953*344a7f5eSAndroid Build Coastguard Worker 2954*344a7f5eSAndroid Build Coastguard Worker public final class PrinterInfo implements android.os.Parcelable { 2955*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.graphics.drawable.Drawable loadIcon(@NonNull android.content.Context); 2956*344a7f5eSAndroid Build Coastguard Worker } 2957*344a7f5eSAndroid Build Coastguard Worker 2958*344a7f5eSAndroid Build Coastguard Worker} 2959*344a7f5eSAndroid Build Coastguard Worker 2960*344a7f5eSAndroid Build Coastguard Workerpackage android.provider { 2961*344a7f5eSAndroid Build Coastguard Worker 2962*344a7f5eSAndroid Build Coastguard Worker public interface AndroidDeviceConfig { 2963*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_SYSTEM_GESTURES_EXCLUDED_BY_PRE_Q_STICKY_IMMERSIVE = "system_gestures_excluded_by_pre_q_sticky_immersive"; 2964*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_SYSTEM_GESTURE_EXCLUSION_LIMIT_DP = "system_gesture_exclusion_limit_dp"; 2965*344a7f5eSAndroid Build Coastguard Worker } 2966*344a7f5eSAndroid Build Coastguard Worker 2967*344a7f5eSAndroid Build Coastguard Worker public static final class CalendarContract.Calendars implements android.provider.BaseColumns android.provider.CalendarContract.CalendarColumns android.provider.CalendarContract.SyncColumns { 2968*344a7f5eSAndroid Build Coastguard Worker field public static final String[] SYNC_WRITABLE_COLUMNS; 2969*344a7f5eSAndroid Build Coastguard Worker } 2970*344a7f5eSAndroid Build Coastguard Worker 2971*344a7f5eSAndroid Build Coastguard Worker public static final class CalendarContract.Events implements android.provider.BaseColumns android.provider.CalendarContract.CalendarColumns android.provider.CalendarContract.EventsColumns android.provider.CalendarContract.SyncColumns { 2972*344a7f5eSAndroid Build Coastguard Worker field public static final String[] SYNC_WRITABLE_COLUMNS; 2973*344a7f5eSAndroid Build Coastguard Worker } 2974*344a7f5eSAndroid Build Coastguard Worker 2975*344a7f5eSAndroid Build Coastguard Worker public final class ContactsContract { 2976*344a7f5eSAndroid Build Coastguard Worker field public static final String HIDDEN_COLUMN_PREFIX = "x_"; 2977*344a7f5eSAndroid Build Coastguard Worker } 2978*344a7f5eSAndroid Build Coastguard Worker 2979*344a7f5eSAndroid Build Coastguard Worker public static final class ContactsContract.CommonDataKinds.Phone implements android.provider.ContactsContract.CommonDataKinds.CommonColumns android.provider.ContactsContract.DataColumnsWithJoins { 2980*344a7f5eSAndroid Build Coastguard Worker field public static final android.net.Uri ENTERPRISE_CONTENT_URI; 2981*344a7f5eSAndroid Build Coastguard Worker } 2982*344a7f5eSAndroid Build Coastguard Worker 2983*344a7f5eSAndroid Build Coastguard Worker public static final class ContactsContract.PinnedPositions { 2984*344a7f5eSAndroid Build Coastguard Worker field public static final String UNDEMOTE_METHOD = "undemote"; 2985*344a7f5eSAndroid Build Coastguard Worker } 2986*344a7f5eSAndroid Build Coastguard Worker 2987*344a7f5eSAndroid Build Coastguard Worker public static final class ContactsContract.RawContactsEntity implements android.provider.BaseColumns android.provider.ContactsContract.DataColumns android.provider.ContactsContract.RawContactsColumns { 2988*344a7f5eSAndroid Build Coastguard Worker field public static final android.net.Uri CORP_CONTENT_URI; 2989*344a7f5eSAndroid Build Coastguard Worker } 2990*344a7f5eSAndroid Build Coastguard Worker 2991*344a7f5eSAndroid Build Coastguard Worker public final class DeviceConfig { 2992*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static void addOnPropertiesChangedListener(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.provider.DeviceConfig.OnPropertiesChangedListener); 2993*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static boolean getBoolean(@NonNull String, @NonNull String, boolean); 2994*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static float getFloat(@NonNull String, @NonNull String, float); 2995*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static int getInt(@NonNull String, @NonNull String, int); 2996*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static long getLong(@NonNull String, @NonNull String, long); 2997*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static android.provider.DeviceConfig.Properties getProperties(@NonNull String, @NonNull java.lang.String...); 2998*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static String getProperty(@NonNull String, @NonNull String); 2999*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static String getString(@NonNull String, @NonNull String, @Nullable String); 3000*344a7f5eSAndroid Build Coastguard Worker method public static void removeOnPropertiesChangedListener(@NonNull android.provider.DeviceConfig.OnPropertiesChangedListener); 3001*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static void resetToDefaults(int, @Nullable String); 3002*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static boolean setProperties(@NonNull android.provider.DeviceConfig.Properties) throws android.provider.DeviceConfig.BadConfigException; 3003*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static boolean setProperty(@NonNull String, @NonNull String, @Nullable String, boolean); 3004*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_ANDROID = "android"; 3005*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_AUTOFILL = "autofill"; 3006*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_BIOMETRICS = "biometrics"; 3007*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_CONTENT_CAPTURE = "content_capture"; 3008*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_PERMISSIONS = "permissions"; 3009*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_PRIVACY = "privacy"; 3010*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_ROLLBACK = "rollback"; 3011*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_ROLLBACK_BOOT = "rollback_boot"; 3012*344a7f5eSAndroid Build Coastguard Worker } 3013*344a7f5eSAndroid Build Coastguard Worker 3014*344a7f5eSAndroid Build Coastguard Worker public static class DeviceConfig.BadConfigException extends java.lang.Exception { 3015*344a7f5eSAndroid Build Coastguard Worker ctor public DeviceConfig.BadConfigException(); 3016*344a7f5eSAndroid Build Coastguard Worker } 3017*344a7f5eSAndroid Build Coastguard Worker 3018*344a7f5eSAndroid Build Coastguard Worker public static interface DeviceConfig.OnPropertiesChangedListener { 3019*344a7f5eSAndroid Build Coastguard Worker method public void onPropertiesChanged(@NonNull android.provider.DeviceConfig.Properties); 3020*344a7f5eSAndroid Build Coastguard Worker } 3021*344a7f5eSAndroid Build Coastguard Worker 3022*344a7f5eSAndroid Build Coastguard Worker public static class DeviceConfig.Properties { 3023*344a7f5eSAndroid Build Coastguard Worker method public boolean getBoolean(@NonNull String, boolean); 3024*344a7f5eSAndroid Build Coastguard Worker method public float getFloat(@NonNull String, float); 3025*344a7f5eSAndroid Build Coastguard Worker method public int getInt(@NonNull String, int); 3026*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Set<java.lang.String> getKeyset(); 3027*344a7f5eSAndroid Build Coastguard Worker method public long getLong(@NonNull String, long); 3028*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getNamespace(); 3029*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getString(@NonNull String, @Nullable String); 3030*344a7f5eSAndroid Build Coastguard Worker } 3031*344a7f5eSAndroid Build Coastguard Worker 3032*344a7f5eSAndroid Build Coastguard Worker public static final class DeviceConfig.Properties.Builder { 3033*344a7f5eSAndroid Build Coastguard Worker ctor public DeviceConfig.Properties.Builder(@NonNull String); 3034*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.provider.DeviceConfig.Properties build(); 3035*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.provider.DeviceConfig.Properties.Builder setBoolean(@NonNull String, boolean); 3036*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.provider.DeviceConfig.Properties.Builder setFloat(@NonNull String, float); 3037*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.provider.DeviceConfig.Properties.Builder setInt(@NonNull String, int); 3038*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.provider.DeviceConfig.Properties.Builder setLong(@NonNull String, long); 3039*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.provider.DeviceConfig.Properties.Builder setString(@NonNull String, @Nullable String); 3040*344a7f5eSAndroid Build Coastguard Worker } 3041*344a7f5eSAndroid Build Coastguard Worker 3042*344a7f5eSAndroid Build Coastguard Worker public final class DocumentsContract { 3043*344a7f5eSAndroid Build Coastguard Worker method public static boolean isManageMode(@NonNull android.net.Uri); 3044*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.net.Uri setManageMode(@NonNull android.net.Uri); 3045*344a7f5eSAndroid Build Coastguard Worker } 3046*344a7f5eSAndroid Build Coastguard Worker 3047*344a7f5eSAndroid Build Coastguard Worker public final class MediaStore { 3048*344a7f5eSAndroid Build Coastguard Worker method @NonNull @WorkerThread public static android.net.Uri scanFile(@NonNull android.content.ContentResolver, @NonNull java.io.File); 3049*344a7f5eSAndroid Build Coastguard Worker method @WorkerThread public static void scanVolume(@NonNull android.content.ContentResolver, @NonNull String); 3050*344a7f5eSAndroid Build Coastguard Worker method @WorkerThread public static void waitForIdle(@NonNull android.content.ContentResolver); 3051*344a7f5eSAndroid Build Coastguard Worker } 3052*344a7f5eSAndroid Build Coastguard Worker 3053*344a7f5eSAndroid Build Coastguard Worker public final class Settings { 3054*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_ENTERPRISE_PRIVACY_SETTINGS = "android.settings.ENTERPRISE_PRIVACY_SETTINGS"; 3055*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_MANAGE_APP_OVERLAY_PERMISSION = "android.settings.MANAGE_APP_OVERLAY_PERMISSION"; 3056*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_REQUEST_ENABLE_CONTENT_CAPTURE = "android.settings.REQUEST_ENABLE_CONTENT_CAPTURE"; 3057*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_TETHER_PROVISIONING_UI = "android.settings.TETHER_PROVISIONING_UI"; 3058*344a7f5eSAndroid Build Coastguard Worker field public static final int RESET_MODE_PACKAGE_DEFAULTS = 1; // 0x1 3059*344a7f5eSAndroid Build Coastguard Worker } 3060*344a7f5eSAndroid Build Coastguard Worker 3061*344a7f5eSAndroid Build Coastguard Worker public static final class Settings.Global extends android.provider.Settings.NameValueTable { 3062*344a7f5eSAndroid Build Coastguard Worker field public static final String APP_OPS_CONSTANTS = "app_ops_constants"; 3063*344a7f5eSAndroid Build Coastguard Worker field public static final String AUTOFILL_COMPAT_MODE_ALLOWED_PACKAGES = "autofill_compat_mode_allowed_packages"; 3064*344a7f5eSAndroid Build Coastguard Worker field public static final String AUTOMATIC_POWER_SAVE_MODE = "automatic_power_save_mode"; 3065*344a7f5eSAndroid Build Coastguard Worker field public static final String BATTERY_SAVER_CONSTANTS = "battery_saver_constants"; 3066*344a7f5eSAndroid Build Coastguard Worker field public static final String DYNAMIC_POWER_SAVINGS_DISABLE_THRESHOLD = "dynamic_power_savings_disable_threshold"; 3067*344a7f5eSAndroid Build Coastguard Worker field public static final String DYNAMIC_POWER_SAVINGS_ENABLED = "dynamic_power_savings_enabled"; 3068*344a7f5eSAndroid Build Coastguard Worker field public static final String HIDDEN_API_BLACKLIST_EXEMPTIONS = "hidden_api_blacklist_exemptions"; 3069*344a7f5eSAndroid Build Coastguard Worker field public static final String HIDE_ERROR_DIALOGS = "hide_error_dialogs"; 3070*344a7f5eSAndroid Build Coastguard Worker field public static final String LOCATION_GLOBAL_KILL_SWITCH = "location_global_kill_switch"; 3071*344a7f5eSAndroid Build Coastguard Worker field public static final String LOCATION_IGNORE_SETTINGS_PACKAGE_WHITELIST = "location_ignore_settings_package_whitelist"; 3072*344a7f5eSAndroid Build Coastguard Worker field public static final String LOW_POWER_MODE = "low_power"; 3073*344a7f5eSAndroid Build Coastguard Worker field public static final String LOW_POWER_MODE_STICKY = "low_power_sticky"; 3074*344a7f5eSAndroid Build Coastguard Worker field public static final String NOTIFICATION_BUBBLES = "notification_bubbles"; 3075*344a7f5eSAndroid Build Coastguard Worker field public static final String OVERLAY_DISPLAY_DEVICES = "overlay_display_devices"; 3076*344a7f5eSAndroid Build Coastguard Worker field public static final String TETHER_OFFLOAD_DISABLED = "tether_offload_disabled"; 3077*344a7f5eSAndroid Build Coastguard Worker field public static final String USE_OPEN_WIFI_PACKAGE = "use_open_wifi_package"; 3078*344a7f5eSAndroid Build Coastguard Worker } 3079*344a7f5eSAndroid Build Coastguard Worker 3080*344a7f5eSAndroid Build Coastguard Worker public static final class Settings.Secure extends android.provider.Settings.NameValueTable { 3081*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static void resetToDefaults(@NonNull android.content.ContentResolver, @Nullable String); 3082*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED = "accessibility_display_magnification_enabled"; 3083*344a7f5eSAndroid Build Coastguard Worker field public static final String ACCESSIBILITY_SHORTCUT_TARGET_SERVICE = "accessibility_shortcut_target_service"; 3084*344a7f5eSAndroid Build Coastguard Worker field public static final String AUTOFILL_FEATURE_FIELD_CLASSIFICATION = "autofill_field_classification"; 3085*344a7f5eSAndroid Build Coastguard Worker field public static final String AUTOFILL_SERVICE = "autofill_service"; 3086*344a7f5eSAndroid Build Coastguard Worker field public static final String AUTOFILL_USER_DATA_MAX_CATEGORY_COUNT = "autofill_user_data_max_category_count"; 3087*344a7f5eSAndroid Build Coastguard Worker field public static final String AUTOFILL_USER_DATA_MAX_FIELD_CLASSIFICATION_IDS_SIZE = "autofill_user_data_max_field_classification_size"; 3088*344a7f5eSAndroid Build Coastguard Worker field public static final String AUTOFILL_USER_DATA_MAX_USER_DATA_SIZE = "autofill_user_data_max_user_data_size"; 3089*344a7f5eSAndroid Build Coastguard Worker field public static final String AUTOFILL_USER_DATA_MAX_VALUE_LENGTH = "autofill_user_data_max_value_length"; 3090*344a7f5eSAndroid Build Coastguard Worker field public static final String AUTOFILL_USER_DATA_MIN_VALUE_LENGTH = "autofill_user_data_min_value_length"; 3091*344a7f5eSAndroid Build Coastguard Worker field public static final String CONTENT_CAPTURE_ENABLED = "content_capture_enabled"; 3092*344a7f5eSAndroid Build Coastguard Worker field public static final String DISABLED_PRINT_SERVICES = "disabled_print_services"; 3093*344a7f5eSAndroid Build Coastguard Worker field public static final String DOZE_ALWAYS_ON = "doze_always_on"; 3094*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String ENABLED_NOTIFICATION_POLICY_ACCESS_PACKAGES = "enabled_notification_policy_access_packages"; 3095*344a7f5eSAndroid Build Coastguard Worker field public static final String ENABLED_VR_LISTENERS = "enabled_vr_listeners"; 3096*344a7f5eSAndroid Build Coastguard Worker field public static final String IMMERSIVE_MODE_CONFIRMATIONS = "immersive_mode_confirmations"; 3097*344a7f5eSAndroid Build Coastguard Worker field public static final String LOCATION_ACCESS_CHECK_DELAY_MILLIS = "location_access_check_delay_millis"; 3098*344a7f5eSAndroid Build Coastguard Worker field public static final String LOCATION_ACCESS_CHECK_INTERVAL_MILLIS = "location_access_check_interval_millis"; 3099*344a7f5eSAndroid Build Coastguard Worker field public static final String LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS = "lock_screen_allow_private_notifications"; 3100*344a7f5eSAndroid Build Coastguard Worker field public static final String LOCK_SCREEN_SHOW_NOTIFICATIONS = "lock_screen_show_notifications"; 3101*344a7f5eSAndroid Build Coastguard Worker field public static final String NFC_PAYMENT_DEFAULT_COMPONENT = "nfc_payment_default_component"; 3102*344a7f5eSAndroid Build Coastguard Worker field public static final String NOTIFICATION_BADGING = "notification_badging"; 3103*344a7f5eSAndroid Build Coastguard Worker field public static final String POWER_MENU_LOCKED_SHOW_CONTENT = "power_menu_locked_show_content"; 3104*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public static final String SYNC_PARENT_SOUNDS = "sync_parent_sounds"; 3105*344a7f5eSAndroid Build Coastguard Worker field public static final String USER_SETUP_COMPLETE = "user_setup_complete"; 3106*344a7f5eSAndroid Build Coastguard Worker field public static final String VOICE_INTERACTION_SERVICE = "voice_interaction_service"; 3107*344a7f5eSAndroid Build Coastguard Worker } 3108*344a7f5eSAndroid Build Coastguard Worker 3109*344a7f5eSAndroid Build Coastguard Worker public static final class Telephony.CellBroadcasts implements android.provider.BaseColumns { 3110*344a7f5eSAndroid Build Coastguard Worker field public static final String CID = "cid"; 3111*344a7f5eSAndroid Build Coastguard Worker field public static final String CMAS_CATEGORY = "cmas_category"; 3112*344a7f5eSAndroid Build Coastguard Worker field public static final String CMAS_CERTAINTY = "cmas_certainty"; 3113*344a7f5eSAndroid Build Coastguard Worker field public static final String CMAS_MESSAGE_CLASS = "cmas_message_class"; 3114*344a7f5eSAndroid Build Coastguard Worker field public static final String CMAS_RESPONSE_TYPE = "cmas_response_type"; 3115*344a7f5eSAndroid Build Coastguard Worker field public static final String CMAS_SEVERITY = "cmas_severity"; 3116*344a7f5eSAndroid Build Coastguard Worker field public static final String CMAS_URGENCY = "cmas_urgency"; 3117*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.net.Uri CONTENT_URI; 3118*344a7f5eSAndroid Build Coastguard Worker field public static final String DATA_CODING_SCHEME = "dcs"; 3119*344a7f5eSAndroid Build Coastguard Worker field public static final String DEFAULT_SORT_ORDER = "date DESC"; 3120*344a7f5eSAndroid Build Coastguard Worker field public static final String DELIVERY_TIME = "date"; 3121*344a7f5eSAndroid Build Coastguard Worker field public static final String ETWS_WARNING_TYPE = "etws_warning_type"; 3122*344a7f5eSAndroid Build Coastguard Worker field public static final String GEOGRAPHICAL_SCOPE = "geo_scope"; 3123*344a7f5eSAndroid Build Coastguard Worker field public static final String GEOMETRIES = "geometries"; 3124*344a7f5eSAndroid Build Coastguard Worker field public static final String LAC = "lac"; 3125*344a7f5eSAndroid Build Coastguard Worker field public static final String LANGUAGE_CODE = "language"; 3126*344a7f5eSAndroid Build Coastguard Worker field public static final String LOCATION_CHECK_TIME = "location_check_time"; 3127*344a7f5eSAndroid Build Coastguard Worker field public static final String MAXIMUM_WAIT_TIME = "maximum_wait_time"; 3128*344a7f5eSAndroid Build Coastguard Worker field public static final String MESSAGE_BODY = "body"; 3129*344a7f5eSAndroid Build Coastguard Worker field public static final String MESSAGE_BROADCASTED = "message_broadcasted"; 3130*344a7f5eSAndroid Build Coastguard Worker field public static final String MESSAGE_DISPLAYED = "message_displayed"; 3131*344a7f5eSAndroid Build Coastguard Worker field public static final String MESSAGE_FORMAT = "format"; 3132*344a7f5eSAndroid Build Coastguard Worker field @NonNull @RequiresPermission(android.Manifest.permission.READ_CELL_BROADCASTS) public static final android.net.Uri MESSAGE_HISTORY_URI; 3133*344a7f5eSAndroid Build Coastguard Worker field public static final String MESSAGE_PRIORITY = "priority"; 3134*344a7f5eSAndroid Build Coastguard Worker field public static final String MESSAGE_READ = "read"; 3135*344a7f5eSAndroid Build Coastguard Worker field public static final String PLMN = "plmn"; 3136*344a7f5eSAndroid Build Coastguard Worker field public static final String RECEIVED_TIME = "received_time"; 3137*344a7f5eSAndroid Build Coastguard Worker field public static final String SERIAL_NUMBER = "serial_number"; 3138*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_CATEGORY = "service_category"; 3139*344a7f5eSAndroid Build Coastguard Worker field public static final String SLOT_INDEX = "slot_index"; 3140*344a7f5eSAndroid Build Coastguard Worker field public static final String SUBSCRIPTION_ID = "sub_id"; 3141*344a7f5eSAndroid Build Coastguard Worker } 3142*344a7f5eSAndroid Build Coastguard Worker 3143*344a7f5eSAndroid Build Coastguard Worker public static final class Telephony.Sms.Intents { 3144*344a7f5eSAndroid Build Coastguard Worker field public static final String SMS_CARRIER_PROVISION_ACTION = "android.provider.Telephony.SMS_CARRIER_PROVISION"; 3145*344a7f5eSAndroid Build Coastguard Worker } 3146*344a7f5eSAndroid Build Coastguard Worker 3147*344a7f5eSAndroid Build Coastguard Worker public static final class VoicemailContract.Voicemails implements android.provider.BaseColumns android.provider.OpenableColumns { 3148*344a7f5eSAndroid Build Coastguard Worker field public static final String _DATA = "_data"; 3149*344a7f5eSAndroid Build Coastguard Worker } 3150*344a7f5eSAndroid Build Coastguard Worker 3151*344a7f5eSAndroid Build Coastguard Worker} 3152*344a7f5eSAndroid Build Coastguard Worker 3153*344a7f5eSAndroid Build Coastguard Workerpackage android.security { 3154*344a7f5eSAndroid Build Coastguard Worker 3155*344a7f5eSAndroid Build Coastguard Worker public class KeyStoreException extends java.lang.Exception { 3156*344a7f5eSAndroid Build Coastguard Worker ctor public KeyStoreException(int, String); 3157*344a7f5eSAndroid Build Coastguard Worker method public int getErrorCode(); 3158*344a7f5eSAndroid Build Coastguard Worker } 3159*344a7f5eSAndroid Build Coastguard Worker 3160*344a7f5eSAndroid Build Coastguard Worker} 3161*344a7f5eSAndroid Build Coastguard Worker 3162*344a7f5eSAndroid Build Coastguard Workerpackage android.security.keystore { 3163*344a7f5eSAndroid Build Coastguard Worker 3164*344a7f5eSAndroid Build Coastguard Worker public abstract class AttestationUtils { 3165*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public static java.security.cert.X509Certificate[] attestDeviceIds(android.content.Context, @NonNull int[], @NonNull byte[]) throws android.security.keystore.DeviceIdAttestationException; 3166*344a7f5eSAndroid Build Coastguard Worker field public static final int ID_TYPE_IMEI = 2; // 0x2 3167*344a7f5eSAndroid Build Coastguard Worker field public static final int ID_TYPE_MEID = 3; // 0x3 3168*344a7f5eSAndroid Build Coastguard Worker field public static final int ID_TYPE_SERIAL = 1; // 0x1 3169*344a7f5eSAndroid Build Coastguard Worker field public static final int USE_INDIVIDUAL_ATTESTATION = 4; // 0x4 3170*344a7f5eSAndroid Build Coastguard Worker } 3171*344a7f5eSAndroid Build Coastguard Worker 3172*344a7f5eSAndroid Build Coastguard Worker public class DeviceIdAttestationException extends java.lang.Exception { 3173*344a7f5eSAndroid Build Coastguard Worker ctor public DeviceIdAttestationException(@Nullable String); 3174*344a7f5eSAndroid Build Coastguard Worker ctor public DeviceIdAttestationException(@Nullable String, @Nullable Throwable); 3175*344a7f5eSAndroid Build Coastguard Worker } 3176*344a7f5eSAndroid Build Coastguard Worker 3177*344a7f5eSAndroid Build Coastguard Worker public static final class KeyGenParameterSpec.Builder { 3178*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.security.keystore.KeyGenParameterSpec.Builder setUniqueIdIncluded(boolean); 3179*344a7f5eSAndroid Build Coastguard Worker } 3180*344a7f5eSAndroid Build Coastguard Worker 3181*344a7f5eSAndroid Build Coastguard Worker public final class KeyProtection implements java.security.KeyStore.ProtectionParameter { 3182*344a7f5eSAndroid Build Coastguard Worker method public long getBoundToSpecificSecureUserId(); 3183*344a7f5eSAndroid Build Coastguard Worker } 3184*344a7f5eSAndroid Build Coastguard Worker 3185*344a7f5eSAndroid Build Coastguard Worker public static final class KeyProtection.Builder { 3186*344a7f5eSAndroid Build Coastguard Worker method public android.security.keystore.KeyProtection.Builder setBoundToSpecificSecureUserId(long); 3187*344a7f5eSAndroid Build Coastguard Worker } 3188*344a7f5eSAndroid Build Coastguard Worker 3189*344a7f5eSAndroid Build Coastguard Worker} 3190*344a7f5eSAndroid Build Coastguard Worker 3191*344a7f5eSAndroid Build Coastguard Workerpackage android.service.appprediction { 3192*344a7f5eSAndroid Build Coastguard Worker 3193*344a7f5eSAndroid Build Coastguard Worker public abstract class AppPredictionService extends android.app.Service { 3194*344a7f5eSAndroid Build Coastguard Worker ctor public AppPredictionService(); 3195*344a7f5eSAndroid Build Coastguard Worker method @MainThread public abstract void onAppTargetEvent(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull android.app.prediction.AppTargetEvent); 3196*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent); 3197*344a7f5eSAndroid Build Coastguard Worker method public void onCreatePredictionSession(@NonNull android.app.prediction.AppPredictionContext, @NonNull android.app.prediction.AppPredictionSessionId); 3198*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onDestroyPredictionSession(@NonNull android.app.prediction.AppPredictionSessionId); 3199*344a7f5eSAndroid Build Coastguard Worker method @MainThread public abstract void onLaunchLocationShown(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull String, @NonNull java.util.List<android.app.prediction.AppTargetId>); 3200*344a7f5eSAndroid Build Coastguard Worker method @MainThread public abstract void onRequestPredictionUpdate(@NonNull android.app.prediction.AppPredictionSessionId); 3201*344a7f5eSAndroid Build Coastguard Worker method @MainThread public abstract void onSortAppTargets(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull java.util.List<android.app.prediction.AppTarget>, @NonNull android.os.CancellationSignal, @NonNull java.util.function.Consumer<java.util.List<android.app.prediction.AppTarget>>); 3202*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onStartPredictionUpdates(); 3203*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onStopPredictionUpdates(); 3204*344a7f5eSAndroid Build Coastguard Worker method public final void updatePredictions(@NonNull android.app.prediction.AppPredictionSessionId, @NonNull java.util.List<android.app.prediction.AppTarget>); 3205*344a7f5eSAndroid Build Coastguard Worker } 3206*344a7f5eSAndroid Build Coastguard Worker 3207*344a7f5eSAndroid Build Coastguard Worker} 3208*344a7f5eSAndroid Build Coastguard Worker 3209*344a7f5eSAndroid Build Coastguard Workerpackage android.service.autofill { 3210*344a7f5eSAndroid Build Coastguard Worker 3211*344a7f5eSAndroid Build Coastguard Worker public abstract class AutofillFieldClassificationService extends android.app.Service { 3212*344a7f5eSAndroid Build Coastguard Worker ctor public AutofillFieldClassificationService(); 3213*344a7f5eSAndroid Build Coastguard Worker method public android.os.IBinder onBind(android.content.Intent); 3214*344a7f5eSAndroid Build Coastguard Worker field public static final String REQUIRED_ALGORITHM_CREDIT_CARD = "CREDIT_CARD"; 3215*344a7f5eSAndroid Build Coastguard Worker field public static final String REQUIRED_ALGORITHM_EDIT_DISTANCE = "EDIT_DISTANCE"; 3216*344a7f5eSAndroid Build Coastguard Worker field public static final String REQUIRED_ALGORITHM_EXACT_MATCH = "EXACT_MATCH"; 3217*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.autofill.AutofillFieldClassificationService"; 3218*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_META_DATA_KEY_AVAILABLE_ALGORITHMS = "android.autofill.field_classification.available_algorithms"; 3219*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_META_DATA_KEY_DEFAULT_ALGORITHM = "android.autofill.field_classification.default_algorithm"; 3220*344a7f5eSAndroid Build Coastguard Worker } 3221*344a7f5eSAndroid Build Coastguard Worker 3222*344a7f5eSAndroid Build Coastguard Worker public final class CharSequenceTransformation extends android.service.autofill.InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation { 3223*344a7f5eSAndroid Build Coastguard Worker method public void apply(@NonNull android.service.autofill.ValueFinder, @NonNull android.widget.RemoteViews, int) throws java.lang.Exception; 3224*344a7f5eSAndroid Build Coastguard Worker } 3225*344a7f5eSAndroid Build Coastguard Worker 3226*344a7f5eSAndroid Build Coastguard Worker public final class CompositeUserData implements android.os.Parcelable { 3227*344a7f5eSAndroid Build Coastguard Worker ctor public CompositeUserData(@Nullable android.service.autofill.UserData, @NonNull android.service.autofill.UserData); 3228*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3229*344a7f5eSAndroid Build Coastguard Worker method public String[] getCategoryIds(); 3230*344a7f5eSAndroid Build Coastguard Worker method public android.os.Bundle getDefaultFieldClassificationArgs(); 3231*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getFieldClassificationAlgorithm(); 3232*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getFieldClassificationAlgorithmForCategory(@NonNull String); 3233*344a7f5eSAndroid Build Coastguard Worker method public android.util.ArrayMap<java.lang.String,java.lang.String> getFieldClassificationAlgorithms(); 3234*344a7f5eSAndroid Build Coastguard Worker method public android.util.ArrayMap<java.lang.String,android.os.Bundle> getFieldClassificationArgs(); 3235*344a7f5eSAndroid Build Coastguard Worker method public String[] getValues(); 3236*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3237*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.autofill.CompositeUserData> CREATOR; 3238*344a7f5eSAndroid Build Coastguard Worker } 3239*344a7f5eSAndroid Build Coastguard Worker 3240*344a7f5eSAndroid Build Coastguard Worker public final class CustomDescription implements android.os.Parcelable { 3241*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.util.SparseArray<android.service.autofill.InternalOnClickAction> getActions(); 3242*344a7f5eSAndroid Build Coastguard Worker } 3243*344a7f5eSAndroid Build Coastguard Worker 3244*344a7f5eSAndroid Build Coastguard Worker public static final class Dataset.Builder { 3245*344a7f5eSAndroid Build Coastguard Worker ctor public Dataset.Builder(@NonNull android.service.autofill.InlinePresentation); 3246*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.service.autofill.Dataset.Builder setFieldInlinePresentation(@NonNull android.view.autofill.AutofillId, @Nullable android.view.autofill.AutofillValue, @Nullable java.util.regex.Pattern, @NonNull android.service.autofill.InlinePresentation); 3247*344a7f5eSAndroid Build Coastguard Worker } 3248*344a7f5eSAndroid Build Coastguard Worker 3249*344a7f5eSAndroid Build Coastguard Worker public final class DateTransformation extends android.service.autofill.InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation { 3250*344a7f5eSAndroid Build Coastguard Worker method public void apply(@NonNull android.service.autofill.ValueFinder, @NonNull android.widget.RemoteViews, int) throws java.lang.Exception; 3251*344a7f5eSAndroid Build Coastguard Worker } 3252*344a7f5eSAndroid Build Coastguard Worker 3253*344a7f5eSAndroid Build Coastguard Worker public final class DateValueSanitizer extends android.service.autofill.InternalSanitizer implements android.os.Parcelable android.service.autofill.Sanitizer { 3254*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.autofill.AutofillValue sanitize(@NonNull android.view.autofill.AutofillValue); 3255*344a7f5eSAndroid Build Coastguard Worker } 3256*344a7f5eSAndroid Build Coastguard Worker 3257*344a7f5eSAndroid Build Coastguard Worker public final class FillResponse implements android.os.Parcelable { 3258*344a7f5eSAndroid Build Coastguard Worker method public int getFlags(); 3259*344a7f5eSAndroid Build Coastguard Worker } 3260*344a7f5eSAndroid Build Coastguard Worker 3261*344a7f5eSAndroid Build Coastguard Worker public final class ImageTransformation extends android.service.autofill.InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation { 3262*344a7f5eSAndroid Build Coastguard Worker method public void apply(@NonNull android.service.autofill.ValueFinder, @NonNull android.widget.RemoteViews, int) throws java.lang.Exception; 3263*344a7f5eSAndroid Build Coastguard Worker } 3264*344a7f5eSAndroid Build Coastguard Worker 3265*344a7f5eSAndroid Build Coastguard Worker public abstract class InlineSuggestionRenderService extends android.app.Service { 3266*344a7f5eSAndroid Build Coastguard Worker ctor public InlineSuggestionRenderService(); 3267*344a7f5eSAndroid Build Coastguard Worker method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent); 3268*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.Bundle onGetInlineSuggestionsRendererInfo(); 3269*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.View onRenderSuggestion(@NonNull android.service.autofill.InlinePresentation, int, int); 3270*344a7f5eSAndroid Build Coastguard Worker method public final void startIntentSender(@NonNull android.content.IntentSender); 3271*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.autofill.InlineSuggestionRenderService"; 3272*344a7f5eSAndroid Build Coastguard Worker } 3273*344a7f5eSAndroid Build Coastguard Worker 3274*344a7f5eSAndroid Build Coastguard Worker public abstract class InternalOnClickAction implements android.service.autofill.OnClickAction android.os.Parcelable { 3275*344a7f5eSAndroid Build Coastguard Worker ctor public InternalOnClickAction(); 3276*344a7f5eSAndroid Build Coastguard Worker method public abstract void onClick(@NonNull android.view.ViewGroup); 3277*344a7f5eSAndroid Build Coastguard Worker } 3278*344a7f5eSAndroid Build Coastguard Worker 3279*344a7f5eSAndroid Build Coastguard Worker public abstract class InternalSanitizer implements android.os.Parcelable android.service.autofill.Sanitizer { 3280*344a7f5eSAndroid Build Coastguard Worker ctor public InternalSanitizer(); 3281*344a7f5eSAndroid Build Coastguard Worker method @Nullable public abstract android.view.autofill.AutofillValue sanitize(@NonNull android.view.autofill.AutofillValue); 3282*344a7f5eSAndroid Build Coastguard Worker } 3283*344a7f5eSAndroid Build Coastguard Worker 3284*344a7f5eSAndroid Build Coastguard Worker public abstract class InternalTransformation implements android.os.Parcelable android.service.autofill.Transformation { 3285*344a7f5eSAndroid Build Coastguard Worker ctor public InternalTransformation(); 3286*344a7f5eSAndroid Build Coastguard Worker method public static boolean batchApply(@NonNull android.service.autofill.ValueFinder, @NonNull android.widget.RemoteViews, @NonNull java.util.ArrayList<android.util.Pair<java.lang.Integer,android.service.autofill.InternalTransformation>>); 3287*344a7f5eSAndroid Build Coastguard Worker } 3288*344a7f5eSAndroid Build Coastguard Worker 3289*344a7f5eSAndroid Build Coastguard Worker public abstract class InternalValidator implements android.os.Parcelable android.service.autofill.Validator { 3290*344a7f5eSAndroid Build Coastguard Worker ctor public InternalValidator(); 3291*344a7f5eSAndroid Build Coastguard Worker method public abstract boolean isValid(@NonNull android.service.autofill.ValueFinder); 3292*344a7f5eSAndroid Build Coastguard Worker } 3293*344a7f5eSAndroid Build Coastguard Worker 3294*344a7f5eSAndroid Build Coastguard Worker public final class LuhnChecksumValidator extends android.service.autofill.InternalValidator implements android.os.Parcelable android.service.autofill.Validator { 3295*344a7f5eSAndroid Build Coastguard Worker method public boolean isValid(@NonNull android.service.autofill.ValueFinder); 3296*344a7f5eSAndroid Build Coastguard Worker } 3297*344a7f5eSAndroid Build Coastguard Worker 3298*344a7f5eSAndroid Build Coastguard Worker public final class RegexValidator extends android.service.autofill.InternalValidator implements android.os.Parcelable android.service.autofill.Validator { 3299*344a7f5eSAndroid Build Coastguard Worker method public boolean isValid(@NonNull android.service.autofill.ValueFinder); 3300*344a7f5eSAndroid Build Coastguard Worker } 3301*344a7f5eSAndroid Build Coastguard Worker 3302*344a7f5eSAndroid Build Coastguard Worker public final class TextValueSanitizer extends android.service.autofill.InternalSanitizer implements android.os.Parcelable android.service.autofill.Sanitizer { 3303*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.autofill.AutofillValue sanitize(@NonNull android.view.autofill.AutofillValue); 3304*344a7f5eSAndroid Build Coastguard Worker } 3305*344a7f5eSAndroid Build Coastguard Worker 3306*344a7f5eSAndroid Build Coastguard Worker public final class UserData implements android.os.Parcelable { 3307*344a7f5eSAndroid Build Coastguard Worker method public android.util.ArrayMap<java.lang.String,java.lang.String> getFieldClassificationAlgorithms(); 3308*344a7f5eSAndroid Build Coastguard Worker } 3309*344a7f5eSAndroid Build Coastguard Worker 3310*344a7f5eSAndroid Build Coastguard Worker public interface ValueFinder { 3311*344a7f5eSAndroid Build Coastguard Worker method @Nullable public default String findByAutofillId(@NonNull android.view.autofill.AutofillId); 3312*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.autofill.AutofillValue findRawValueByAutofillId(@NonNull android.view.autofill.AutofillId); 3313*344a7f5eSAndroid Build Coastguard Worker } 3314*344a7f5eSAndroid Build Coastguard Worker 3315*344a7f5eSAndroid Build Coastguard Worker public final class VisibilitySetterAction extends android.service.autofill.InternalOnClickAction implements android.service.autofill.OnClickAction android.os.Parcelable { 3316*344a7f5eSAndroid Build Coastguard Worker method public void onClick(@NonNull android.view.ViewGroup); 3317*344a7f5eSAndroid Build Coastguard Worker } 3318*344a7f5eSAndroid Build Coastguard Worker 3319*344a7f5eSAndroid Build Coastguard Worker} 3320*344a7f5eSAndroid Build Coastguard Worker 3321*344a7f5eSAndroid Build Coastguard Workerpackage android.service.autofill.augmented { 3322*344a7f5eSAndroid Build Coastguard Worker 3323*344a7f5eSAndroid Build Coastguard Worker public abstract class AugmentedAutofillService extends android.app.Service { 3324*344a7f5eSAndroid Build Coastguard Worker ctor public AugmentedAutofillService(); 3325*344a7f5eSAndroid Build Coastguard Worker method protected final void dump(java.io.FileDescriptor, java.io.PrintWriter, String[]); 3326*344a7f5eSAndroid Build Coastguard Worker method protected void dump(@NonNull java.io.PrintWriter, @NonNull String[]); 3327*344a7f5eSAndroid Build Coastguard Worker method @Nullable public final android.service.autofill.FillEventHistory getFillEventHistory(); 3328*344a7f5eSAndroid Build Coastguard Worker method public void onConnected(); 3329*344a7f5eSAndroid Build Coastguard Worker method public void onDisconnected(); 3330*344a7f5eSAndroid Build Coastguard Worker method public void onFillRequest(@NonNull android.service.autofill.augmented.FillRequest, @NonNull android.os.CancellationSignal, @NonNull android.service.autofill.augmented.FillController, @NonNull android.service.autofill.augmented.FillCallback); 3331*344a7f5eSAndroid Build Coastguard Worker method public final boolean requestAutofill(@NonNull android.content.ComponentName, @NonNull android.view.autofill.AutofillId); 3332*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.autofill.augmented.AugmentedAutofillService"; 3333*344a7f5eSAndroid Build Coastguard Worker } 3334*344a7f5eSAndroid Build Coastguard Worker 3335*344a7f5eSAndroid Build Coastguard Worker public final class FillCallback { 3336*344a7f5eSAndroid Build Coastguard Worker method public void onSuccess(@Nullable android.service.autofill.augmented.FillResponse); 3337*344a7f5eSAndroid Build Coastguard Worker } 3338*344a7f5eSAndroid Build Coastguard Worker 3339*344a7f5eSAndroid Build Coastguard Worker public final class FillController { 3340*344a7f5eSAndroid Build Coastguard Worker method public void autofill(@NonNull java.util.List<android.util.Pair<android.view.autofill.AutofillId,android.view.autofill.AutofillValue>>); 3341*344a7f5eSAndroid Build Coastguard Worker } 3342*344a7f5eSAndroid Build Coastguard Worker 3343*344a7f5eSAndroid Build Coastguard Worker public final class FillRequest { 3344*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.ComponentName getActivityComponent(); 3345*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.view.autofill.AutofillId getFocusedId(); 3346*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.view.autofill.AutofillValue getFocusedValue(); 3347*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.inputmethod.InlineSuggestionsRequest getInlineSuggestionsRequest(); 3348*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.service.autofill.augmented.PresentationParams getPresentationParams(); 3349*344a7f5eSAndroid Build Coastguard Worker method public int getTaskId(); 3350*344a7f5eSAndroid Build Coastguard Worker } 3351*344a7f5eSAndroid Build Coastguard Worker 3352*344a7f5eSAndroid Build Coastguard Worker public final class FillResponse { 3353*344a7f5eSAndroid Build Coastguard Worker } 3354*344a7f5eSAndroid Build Coastguard Worker 3355*344a7f5eSAndroid Build Coastguard Worker public static final class FillResponse.Builder { 3356*344a7f5eSAndroid Build Coastguard Worker ctor public FillResponse.Builder(); 3357*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.service.autofill.augmented.FillResponse build(); 3358*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.service.autofill.augmented.FillResponse.Builder setClientState(@NonNull android.os.Bundle); 3359*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.service.autofill.augmented.FillResponse.Builder setFillWindow(@NonNull android.service.autofill.augmented.FillWindow); 3360*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.service.autofill.augmented.FillResponse.Builder setInlineSuggestions(@NonNull java.util.List<android.service.autofill.Dataset>); 3361*344a7f5eSAndroid Build Coastguard Worker } 3362*344a7f5eSAndroid Build Coastguard Worker 3363*344a7f5eSAndroid Build Coastguard Worker public final class FillWindow implements java.lang.AutoCloseable { 3364*344a7f5eSAndroid Build Coastguard Worker ctor public FillWindow(); 3365*344a7f5eSAndroid Build Coastguard Worker method public void destroy(); 3366*344a7f5eSAndroid Build Coastguard Worker method public boolean update(@NonNull android.service.autofill.augmented.PresentationParams.Area, @NonNull android.view.View, long); 3367*344a7f5eSAndroid Build Coastguard Worker } 3368*344a7f5eSAndroid Build Coastguard Worker 3369*344a7f5eSAndroid Build Coastguard Worker public abstract class PresentationParams { 3370*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.service.autofill.augmented.PresentationParams.Area getSuggestionArea(); 3371*344a7f5eSAndroid Build Coastguard Worker } 3372*344a7f5eSAndroid Build Coastguard Worker 3373*344a7f5eSAndroid Build Coastguard Worker public abstract static class PresentationParams.Area { 3374*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.graphics.Rect getBounds(); 3375*344a7f5eSAndroid Build Coastguard Worker } 3376*344a7f5eSAndroid Build Coastguard Worker 3377*344a7f5eSAndroid Build Coastguard Worker} 3378*344a7f5eSAndroid Build Coastguard Worker 3379*344a7f5eSAndroid Build Coastguard Workerpackage android.service.contentcapture { 3380*344a7f5eSAndroid Build Coastguard Worker 3381*344a7f5eSAndroid Build Coastguard Worker public final class ActivityEvent implements android.os.Parcelable { 3382*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3383*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.ComponentName getComponentName(); 3384*344a7f5eSAndroid Build Coastguard Worker method public int getEventType(); 3385*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 3386*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.contentcapture.ActivityEvent> CREATOR; 3387*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_ACTIVITY_DESTROYED = 24; // 0x18 3388*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_ACTIVITY_PAUSED = 2; // 0x2 3389*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_ACTIVITY_RESUMED = 1; // 0x1 3390*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_ACTIVITY_STOPPED = 23; // 0x17 3391*344a7f5eSAndroid Build Coastguard Worker } 3392*344a7f5eSAndroid Build Coastguard Worker 3393*344a7f5eSAndroid Build Coastguard Worker public abstract class ContentCaptureService extends android.app.Service { 3394*344a7f5eSAndroid Build Coastguard Worker ctor public ContentCaptureService(); 3395*344a7f5eSAndroid Build Coastguard Worker method public final void disableSelf(); 3396*344a7f5eSAndroid Build Coastguard Worker method public void onActivityEvent(@NonNull android.service.contentcapture.ActivityEvent); 3397*344a7f5eSAndroid Build Coastguard Worker method public void onActivitySnapshot(@NonNull android.view.contentcapture.ContentCaptureSessionId, @NonNull android.service.contentcapture.SnapshotData); 3398*344a7f5eSAndroid Build Coastguard Worker method public void onConnected(); 3399*344a7f5eSAndroid Build Coastguard Worker method public void onContentCaptureEvent(@NonNull android.view.contentcapture.ContentCaptureSessionId, @NonNull android.view.contentcapture.ContentCaptureEvent); 3400*344a7f5eSAndroid Build Coastguard Worker method public void onCreateContentCaptureSession(@NonNull android.view.contentcapture.ContentCaptureContext, @NonNull android.view.contentcapture.ContentCaptureSessionId); 3401*344a7f5eSAndroid Build Coastguard Worker method public void onDataRemovalRequest(@NonNull android.view.contentcapture.DataRemovalRequest); 3402*344a7f5eSAndroid Build Coastguard Worker method public void onDataShareRequest(@NonNull android.view.contentcapture.DataShareRequest, @NonNull android.service.contentcapture.DataShareCallback); 3403*344a7f5eSAndroid Build Coastguard Worker method public void onDestroyContentCaptureSession(@NonNull android.view.contentcapture.ContentCaptureSessionId); 3404*344a7f5eSAndroid Build Coastguard Worker method public void onDisconnected(); 3405*344a7f5eSAndroid Build Coastguard Worker method public final void setContentCaptureConditions(@NonNull String, @Nullable java.util.Set<android.view.contentcapture.ContentCaptureCondition>); 3406*344a7f5eSAndroid Build Coastguard Worker method public final void setContentCaptureWhitelist(@Nullable java.util.Set<java.lang.String>, @Nullable java.util.Set<android.content.ComponentName>); 3407*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.contentcapture.ContentCaptureService"; 3408*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_META_DATA = "android.content_capture"; 3409*344a7f5eSAndroid Build Coastguard Worker } 3410*344a7f5eSAndroid Build Coastguard Worker 3411*344a7f5eSAndroid Build Coastguard Worker public interface DataShareCallback { 3412*344a7f5eSAndroid Build Coastguard Worker method public void onAccept(@NonNull java.util.concurrent.Executor, @NonNull android.service.contentcapture.DataShareReadAdapter); 3413*344a7f5eSAndroid Build Coastguard Worker method public void onReject(); 3414*344a7f5eSAndroid Build Coastguard Worker } 3415*344a7f5eSAndroid Build Coastguard Worker 3416*344a7f5eSAndroid Build Coastguard Worker public interface DataShareReadAdapter { 3417*344a7f5eSAndroid Build Coastguard Worker method public void onError(int); 3418*344a7f5eSAndroid Build Coastguard Worker method public void onStart(@NonNull android.os.ParcelFileDescriptor); 3419*344a7f5eSAndroid Build Coastguard Worker } 3420*344a7f5eSAndroid Build Coastguard Worker 3421*344a7f5eSAndroid Build Coastguard Worker public final class SnapshotData implements android.os.Parcelable { 3422*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3423*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.app.assist.AssistContent getAssistContent(); 3424*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.Bundle getAssistData(); 3425*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.assist.AssistStructure getAssistStructure(); 3426*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 3427*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.contentcapture.SnapshotData> CREATOR; 3428*344a7f5eSAndroid Build Coastguard Worker } 3429*344a7f5eSAndroid Build Coastguard Worker 3430*344a7f5eSAndroid Build Coastguard Worker} 3431*344a7f5eSAndroid Build Coastguard Worker 3432*344a7f5eSAndroid Build Coastguard Workerpackage android.service.notification { 3433*344a7f5eSAndroid Build Coastguard Worker 3434*344a7f5eSAndroid Build Coastguard Worker public final class Adjustment implements android.os.Parcelable { 3435*344a7f5eSAndroid Build Coastguard Worker ctor public Adjustment(String, String, android.os.Bundle, CharSequence, int); 3436*344a7f5eSAndroid Build Coastguard Worker ctor public Adjustment(@NonNull String, @NonNull String, @NonNull android.os.Bundle, @NonNull CharSequence, @NonNull android.os.UserHandle); 3437*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3438*344a7f5eSAndroid Build Coastguard Worker method @NonNull public CharSequence getExplanation(); 3439*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getKey(); 3440*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackage(); 3441*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.Bundle getSignals(); 3442*344a7f5eSAndroid Build Coastguard Worker method public int getUser(); 3443*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.UserHandle getUserHandle(); 3444*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3445*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.notification.Adjustment> CREATOR; 3446*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_CONTEXTUAL_ACTIONS = "key_contextual_actions"; 3447*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_IMPORTANCE = "key_importance"; 3448*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_RANKING_SCORE = "key_ranking_score"; 3449*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_SNOOZE_CRITERIA = "key_snooze_criteria"; 3450*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_TEXT_REPLIES = "key_text_replies"; 3451*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_USER_SENTIMENT = "key_user_sentiment"; 3452*344a7f5eSAndroid Build Coastguard Worker } 3453*344a7f5eSAndroid Build Coastguard Worker 3454*344a7f5eSAndroid Build Coastguard Worker @Deprecated public abstract class ConditionProviderService extends android.app.Service { 3455*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean isBound(); 3456*344a7f5eSAndroid Build Coastguard Worker } 3457*344a7f5eSAndroid Build Coastguard Worker 3458*344a7f5eSAndroid Build Coastguard Worker public abstract class NotificationAssistantService extends android.service.notification.NotificationListenerService { 3459*344a7f5eSAndroid Build Coastguard Worker ctor public NotificationAssistantService(); 3460*344a7f5eSAndroid Build Coastguard Worker method public final void adjustNotification(@NonNull android.service.notification.Adjustment); 3461*344a7f5eSAndroid Build Coastguard Worker method public final void adjustNotifications(@NonNull java.util.List<android.service.notification.Adjustment>); 3462*344a7f5eSAndroid Build Coastguard Worker method public void onActionInvoked(@NonNull String, @NonNull android.app.Notification.Action, int); 3463*344a7f5eSAndroid Build Coastguard Worker method public void onAllowedAdjustmentsChanged(); 3464*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final android.os.IBinder onBind(@Nullable android.content.Intent); 3465*344a7f5eSAndroid Build Coastguard Worker method public void onNotificationDirectReplied(@NonNull String); 3466*344a7f5eSAndroid Build Coastguard Worker method @Nullable public abstract android.service.notification.Adjustment onNotificationEnqueued(@NonNull android.service.notification.StatusBarNotification); 3467*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.service.notification.Adjustment onNotificationEnqueued(@NonNull android.service.notification.StatusBarNotification, @NonNull android.app.NotificationChannel); 3468*344a7f5eSAndroid Build Coastguard Worker method public void onNotificationExpansionChanged(@NonNull String, boolean, boolean); 3469*344a7f5eSAndroid Build Coastguard Worker method public abstract void onNotificationSnoozedUntilContext(@NonNull android.service.notification.StatusBarNotification, @NonNull String); 3470*344a7f5eSAndroid Build Coastguard Worker method public void onNotificationVisibilityChanged(@NonNull String, boolean); 3471*344a7f5eSAndroid Build Coastguard Worker method public void onNotificationsSeen(@NonNull java.util.List<java.lang.String>); 3472*344a7f5eSAndroid Build Coastguard Worker method public void onPanelHidden(); 3473*344a7f5eSAndroid Build Coastguard Worker method public void onPanelRevealed(int); 3474*344a7f5eSAndroid Build Coastguard Worker method public void onSuggestedReplySent(@NonNull String, @NonNull CharSequence, int); 3475*344a7f5eSAndroid Build Coastguard Worker method public final void unsnoozeNotification(@NonNull String); 3476*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.notification.NotificationAssistantService"; 3477*344a7f5eSAndroid Build Coastguard Worker field public static final int SOURCE_FROM_APP = 0; // 0x0 3478*344a7f5eSAndroid Build Coastguard Worker field public static final int SOURCE_FROM_ASSISTANT = 1; // 0x1 3479*344a7f5eSAndroid Build Coastguard Worker } 3480*344a7f5eSAndroid Build Coastguard Worker 3481*344a7f5eSAndroid Build Coastguard Worker public abstract class NotificationListenerService extends android.app.Service { 3482*344a7f5eSAndroid Build Coastguard Worker method public void onNotificationRemoved(@NonNull android.service.notification.StatusBarNotification, @NonNull android.service.notification.NotificationListenerService.RankingMap, @NonNull android.service.notification.NotificationStats, int); 3483*344a7f5eSAndroid Build Coastguard Worker } 3484*344a7f5eSAndroid Build Coastguard Worker 3485*344a7f5eSAndroid Build Coastguard Worker public final class NotificationStats implements android.os.Parcelable { 3486*344a7f5eSAndroid Build Coastguard Worker ctor public NotificationStats(); 3487*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3488*344a7f5eSAndroid Build Coastguard Worker method public int getDismissalSentiment(); 3489*344a7f5eSAndroid Build Coastguard Worker method public int getDismissalSurface(); 3490*344a7f5eSAndroid Build Coastguard Worker method public boolean hasDirectReplied(); 3491*344a7f5eSAndroid Build Coastguard Worker method public boolean hasExpanded(); 3492*344a7f5eSAndroid Build Coastguard Worker method public boolean hasInteracted(); 3493*344a7f5eSAndroid Build Coastguard Worker method public boolean hasSeen(); 3494*344a7f5eSAndroid Build Coastguard Worker method public boolean hasSnoozed(); 3495*344a7f5eSAndroid Build Coastguard Worker method public boolean hasViewedSettings(); 3496*344a7f5eSAndroid Build Coastguard Worker method public void setDirectReplied(); 3497*344a7f5eSAndroid Build Coastguard Worker method public void setDismissalSentiment(int); 3498*344a7f5eSAndroid Build Coastguard Worker method public void setDismissalSurface(int); 3499*344a7f5eSAndroid Build Coastguard Worker method public void setExpanded(); 3500*344a7f5eSAndroid Build Coastguard Worker method public void setSeen(); 3501*344a7f5eSAndroid Build Coastguard Worker method public void setSnoozed(); 3502*344a7f5eSAndroid Build Coastguard Worker method public void setViewedSettings(); 3503*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3504*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.notification.NotificationStats> CREATOR; 3505*344a7f5eSAndroid Build Coastguard Worker field public static final int DISMISSAL_AOD = 2; // 0x2 3506*344a7f5eSAndroid Build Coastguard Worker field public static final int DISMISSAL_NOT_DISMISSED = -1; // 0xffffffff 3507*344a7f5eSAndroid Build Coastguard Worker field public static final int DISMISSAL_OTHER = 0; // 0x0 3508*344a7f5eSAndroid Build Coastguard Worker field public static final int DISMISSAL_PEEK = 1; // 0x1 3509*344a7f5eSAndroid Build Coastguard Worker field public static final int DISMISSAL_SHADE = 3; // 0x3 3510*344a7f5eSAndroid Build Coastguard Worker field public static final int DISMISS_SENTIMENT_NEGATIVE = 0; // 0x0 3511*344a7f5eSAndroid Build Coastguard Worker field public static final int DISMISS_SENTIMENT_NEUTRAL = 1; // 0x1 3512*344a7f5eSAndroid Build Coastguard Worker field public static final int DISMISS_SENTIMENT_POSITIVE = 2; // 0x2 3513*344a7f5eSAndroid Build Coastguard Worker field public static final int DISMISS_SENTIMENT_UNKNOWN = -1000; // 0xfffffc18 3514*344a7f5eSAndroid Build Coastguard Worker } 3515*344a7f5eSAndroid Build Coastguard Worker 3516*344a7f5eSAndroid Build Coastguard Worker public final class SnoozeCriterion implements android.os.Parcelable { 3517*344a7f5eSAndroid Build Coastguard Worker ctor public SnoozeCriterion(String, CharSequence, CharSequence); 3518*344a7f5eSAndroid Build Coastguard Worker ctor protected SnoozeCriterion(android.os.Parcel); 3519*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3520*344a7f5eSAndroid Build Coastguard Worker method public CharSequence getConfirmation(); 3521*344a7f5eSAndroid Build Coastguard Worker method public CharSequence getExplanation(); 3522*344a7f5eSAndroid Build Coastguard Worker method public String getId(); 3523*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3524*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.notification.SnoozeCriterion> CREATOR; 3525*344a7f5eSAndroid Build Coastguard Worker } 3526*344a7f5eSAndroid Build Coastguard Worker 3527*344a7f5eSAndroid Build Coastguard Worker} 3528*344a7f5eSAndroid Build Coastguard Worker 3529*344a7f5eSAndroid Build Coastguard Workerpackage android.service.quickaccesswallet { 3530*344a7f5eSAndroid Build Coastguard Worker 3531*344a7f5eSAndroid Build Coastguard Worker public interface QuickAccessWalletClient extends java.io.Closeable { 3532*344a7f5eSAndroid Build Coastguard Worker method public void addWalletServiceEventListener(@NonNull android.service.quickaccesswallet.QuickAccessWalletClient.WalletServiceEventListener); 3533*344a7f5eSAndroid Build Coastguard Worker method public void addWalletServiceEventListener(@NonNull java.util.concurrent.Executor, @NonNull android.service.quickaccesswallet.QuickAccessWalletClient.WalletServiceEventListener); 3534*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.service.quickaccesswallet.QuickAccessWalletClient create(@NonNull android.content.Context); 3535*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.content.Intent createWalletIntent(); 3536*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.content.Intent createWalletSettingsIntent(); 3537*344a7f5eSAndroid Build Coastguard Worker method public void disconnect(); 3538*344a7f5eSAndroid Build Coastguard Worker method public void getWalletCards(@NonNull android.service.quickaccesswallet.GetWalletCardsRequest, @NonNull android.service.quickaccesswallet.QuickAccessWalletClient.OnWalletCardsRetrievedCallback); 3539*344a7f5eSAndroid Build Coastguard Worker method public void getWalletCards(@NonNull java.util.concurrent.Executor, @NonNull android.service.quickaccesswallet.GetWalletCardsRequest, @NonNull android.service.quickaccesswallet.QuickAccessWalletClient.OnWalletCardsRetrievedCallback); 3540*344a7f5eSAndroid Build Coastguard Worker method public boolean isWalletFeatureAvailable(); 3541*344a7f5eSAndroid Build Coastguard Worker method public boolean isWalletFeatureAvailableWhenDeviceLocked(); 3542*344a7f5eSAndroid Build Coastguard Worker method public boolean isWalletServiceAvailable(); 3543*344a7f5eSAndroid Build Coastguard Worker method public void notifyWalletDismissed(); 3544*344a7f5eSAndroid Build Coastguard Worker method public void removeWalletServiceEventListener(@NonNull android.service.quickaccesswallet.QuickAccessWalletClient.WalletServiceEventListener); 3545*344a7f5eSAndroid Build Coastguard Worker method public void selectWalletCard(@NonNull android.service.quickaccesswallet.SelectWalletCardRequest); 3546*344a7f5eSAndroid Build Coastguard Worker } 3547*344a7f5eSAndroid Build Coastguard Worker 3548*344a7f5eSAndroid Build Coastguard Worker public static interface QuickAccessWalletClient.OnWalletCardsRetrievedCallback { 3549*344a7f5eSAndroid Build Coastguard Worker method public void onWalletCardRetrievalError(@NonNull android.service.quickaccesswallet.GetWalletCardsError); 3550*344a7f5eSAndroid Build Coastguard Worker method public void onWalletCardsRetrieved(@NonNull android.service.quickaccesswallet.GetWalletCardsResponse); 3551*344a7f5eSAndroid Build Coastguard Worker } 3552*344a7f5eSAndroid Build Coastguard Worker 3553*344a7f5eSAndroid Build Coastguard Worker public static interface QuickAccessWalletClient.WalletServiceEventListener { 3554*344a7f5eSAndroid Build Coastguard Worker method public void onWalletServiceEvent(@NonNull android.service.quickaccesswallet.WalletServiceEvent); 3555*344a7f5eSAndroid Build Coastguard Worker } 3556*344a7f5eSAndroid Build Coastguard Worker 3557*344a7f5eSAndroid Build Coastguard Worker} 3558*344a7f5eSAndroid Build Coastguard Worker 3559*344a7f5eSAndroid Build Coastguard Workerpackage android.service.quicksettings { 3560*344a7f5eSAndroid Build Coastguard Worker 3561*344a7f5eSAndroid Build Coastguard Worker public class TileService extends android.app.Service { 3562*344a7f5eSAndroid Build Coastguard Worker method public static boolean isQuickSettingsSupported(); 3563*344a7f5eSAndroid Build Coastguard Worker } 3564*344a7f5eSAndroid Build Coastguard Worker 3565*344a7f5eSAndroid Build Coastguard Worker} 3566*344a7f5eSAndroid Build Coastguard Worker 3567*344a7f5eSAndroid Build Coastguard Workerpackage android.service.textclassifier { 3568*344a7f5eSAndroid Build Coastguard Worker 3569*344a7f5eSAndroid Build Coastguard Worker public abstract class TextClassifierService extends android.app.Service { 3570*344a7f5eSAndroid Build Coastguard Worker ctor public TextClassifierService(); 3571*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.view.textclassifier.TextClassifier getDefaultTextClassifierImplementation(@NonNull android.content.Context); 3572*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public final android.view.textclassifier.TextClassifier getLocalTextClassifier(); 3573*344a7f5eSAndroid Build Coastguard Worker method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent); 3574*344a7f5eSAndroid Build Coastguard Worker method @MainThread public abstract void onClassifyText(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextClassification.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassifier.TextClassifierService.Callback<android.view.textclassifier.TextClassification>); 3575*344a7f5eSAndroid Build Coastguard Worker method public void onConnected(); 3576*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onCreateTextClassificationSession(@NonNull android.view.textclassifier.TextClassificationContext, @NonNull android.view.textclassifier.TextClassificationSessionId); 3577*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onDestroyTextClassificationSession(@NonNull android.view.textclassifier.TextClassificationSessionId); 3578*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onDetectLanguage(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextLanguage.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassifier.TextClassifierService.Callback<android.view.textclassifier.TextLanguage>); 3579*344a7f5eSAndroid Build Coastguard Worker method public void onDisconnected(); 3580*344a7f5eSAndroid Build Coastguard Worker method @MainThread public abstract void onGenerateLinks(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextLinks.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassifier.TextClassifierService.Callback<android.view.textclassifier.TextLinks>); 3581*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @MainThread public void onSelectionEvent(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.SelectionEvent); 3582*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onSuggestConversationActions(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.ConversationActions.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassifier.TextClassifierService.Callback<android.view.textclassifier.ConversationActions>); 3583*344a7f5eSAndroid Build Coastguard Worker method @MainThread public abstract void onSuggestSelection(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextSelection.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassifier.TextClassifierService.Callback<android.view.textclassifier.TextSelection>); 3584*344a7f5eSAndroid Build Coastguard Worker method @MainThread public void onTextClassifierEvent(@Nullable android.view.textclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextClassifierEvent); 3585*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.textclassifier.TextClassifierService"; 3586*344a7f5eSAndroid Build Coastguard Worker } 3587*344a7f5eSAndroid Build Coastguard Worker 3588*344a7f5eSAndroid Build Coastguard Worker public static interface TextClassifierService.Callback<T> { 3589*344a7f5eSAndroid Build Coastguard Worker method public void onFailure(@NonNull CharSequence); 3590*344a7f5eSAndroid Build Coastguard Worker method public void onSuccess(T); 3591*344a7f5eSAndroid Build Coastguard Worker } 3592*344a7f5eSAndroid Build Coastguard Worker 3593*344a7f5eSAndroid Build Coastguard Worker} 3594*344a7f5eSAndroid Build Coastguard Worker 3595*344a7f5eSAndroid Build Coastguard Workerpackage android.service.watchdog { 3596*344a7f5eSAndroid Build Coastguard Worker 3597*344a7f5eSAndroid Build Coastguard Worker public abstract class ExplicitHealthCheckService extends android.app.Service { 3598*344a7f5eSAndroid Build Coastguard Worker ctor public ExplicitHealthCheckService(); 3599*344a7f5eSAndroid Build Coastguard Worker method public final void notifyHealthCheckPassed(@NonNull String); 3600*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final android.os.IBinder onBind(@NonNull android.content.Intent); 3601*344a7f5eSAndroid Build Coastguard Worker method public abstract void onCancelHealthCheck(@NonNull String); 3602*344a7f5eSAndroid Build Coastguard Worker method @NonNull public abstract java.util.List<java.lang.String> onGetRequestedPackages(); 3603*344a7f5eSAndroid Build Coastguard Worker method @NonNull public abstract java.util.List<android.service.watchdog.ExplicitHealthCheckService.PackageConfig> onGetSupportedPackages(); 3604*344a7f5eSAndroid Build Coastguard Worker method public abstract void onRequestHealthCheck(@NonNull String); 3605*344a7f5eSAndroid Build Coastguard Worker method public void setCallback(@Nullable android.os.RemoteCallback); 3606*344a7f5eSAndroid Build Coastguard Worker field public static final String BIND_PERMISSION = "android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE"; 3607*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.service.watchdog.ExplicitHealthCheckService"; 3608*344a7f5eSAndroid Build Coastguard Worker } 3609*344a7f5eSAndroid Build Coastguard Worker 3610*344a7f5eSAndroid Build Coastguard Worker public static final class ExplicitHealthCheckService.PackageConfig implements android.os.Parcelable { 3611*344a7f5eSAndroid Build Coastguard Worker ctor public ExplicitHealthCheckService.PackageConfig(@NonNull String, long); 3612*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3613*344a7f5eSAndroid Build Coastguard Worker method public long getHealthCheckTimeoutMillis(); 3614*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 3615*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3616*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.service.watchdog.ExplicitHealthCheckService.PackageConfig> CREATOR; 3617*344a7f5eSAndroid Build Coastguard Worker } 3618*344a7f5eSAndroid Build Coastguard Worker 3619*344a7f5eSAndroid Build Coastguard Worker} 3620*344a7f5eSAndroid Build Coastguard Worker 3621*344a7f5eSAndroid Build Coastguard Workerpackage android.telecom { 3622*344a7f5eSAndroid Build Coastguard Worker 3623*344a7f5eSAndroid Build Coastguard Worker public final class Call { 3624*344a7f5eSAndroid Build Coastguard Worker method public void enterBackgroundAudioProcessing(); 3625*344a7f5eSAndroid Build Coastguard Worker method public void exitBackgroundAudioProcessing(boolean); 3626*344a7f5eSAndroid Build Coastguard Worker } 3627*344a7f5eSAndroid Build Coastguard Worker 3628*344a7f5eSAndroid Build Coastguard Worker public static class Call.Details { 3629*344a7f5eSAndroid Build Coastguard Worker method public String getTelecomCallId(); 3630*344a7f5eSAndroid Build Coastguard Worker } 3631*344a7f5eSAndroid Build Coastguard Worker 3632*344a7f5eSAndroid Build Coastguard Worker public final class CallAudioState implements android.os.Parcelable { 3633*344a7f5eSAndroid Build Coastguard Worker ctor public CallAudioState(boolean, int, int, @Nullable android.bluetooth.BluetoothDevice, @NonNull java.util.Collection<android.bluetooth.BluetoothDevice>); 3634*344a7f5eSAndroid Build Coastguard Worker } 3635*344a7f5eSAndroid Build Coastguard Worker 3636*344a7f5eSAndroid Build Coastguard Worker public static class CallScreeningService.CallResponse.Builder { 3637*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telecom.CallScreeningService.CallResponse.Builder setShouldScreenCallViaAudioProcessing(boolean); 3638*344a7f5eSAndroid Build Coastguard Worker } 3639*344a7f5eSAndroid Build Coastguard Worker 3640*344a7f5eSAndroid Build Coastguard Worker public abstract class Conference extends android.telecom.Conferenceable { 3641*344a7f5eSAndroid Build Coastguard Worker method public android.telecom.Connection getPrimaryConnection(); 3642*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final String getTelecomCallId(); 3643*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public final void setAddress(@NonNull android.net.Uri, int); 3644*344a7f5eSAndroid Build Coastguard Worker method public final void setCallerDisplayName(@NonNull String, int); 3645*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setConferenceState(boolean); 3646*344a7f5eSAndroid Build Coastguard Worker } 3647*344a7f5eSAndroid Build Coastguard Worker 3648*344a7f5eSAndroid Build Coastguard Worker public abstract class Connection extends android.telecom.Conferenceable { 3649*344a7f5eSAndroid Build Coastguard Worker method @IntRange(from=0) public final long getConnectTimeMillis(); 3650*344a7f5eSAndroid Build Coastguard Worker method public final long getConnectionStartElapsedRealtimeMillis(); 3651*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.telecom.PhoneAccountHandle getPhoneAccountHandle(); 3652*344a7f5eSAndroid Build Coastguard Worker method @Nullable public final String getTelecomCallId(); 3653*344a7f5eSAndroid Build Coastguard Worker method public final void resetConnectionTime(); 3654*344a7f5eSAndroid Build Coastguard Worker method public void setCallDirection(int); 3655*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public final void setConnectTimeMillis(@IntRange(from=0) long); 3656*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public final void setConnectionStartElapsedRealtimeMillis(long); 3657*344a7f5eSAndroid Build Coastguard Worker method public void setPhoneAccountHandle(@NonNull android.telecom.PhoneAccountHandle); 3658*344a7f5eSAndroid Build Coastguard Worker method public void setTelecomCallId(@NonNull String); 3659*344a7f5eSAndroid Build Coastguard Worker field public static final int CAPABILITY_CONFERENCE_HAS_NO_CHILDREN = 2097152; // 0x200000 3660*344a7f5eSAndroid Build Coastguard Worker field public static final int CAPABILITY_SPEED_UP_MT_AUDIO = 262144; // 0x40000 3661*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_DISABLE_ADD_CALL = "android.telecom.extra.DISABLE_ADD_CALL"; 3662*344a7f5eSAndroid Build Coastguard Worker field public static final int PROPERTY_EMERGENCY_CALLBACK_MODE = 1; // 0x1 3663*344a7f5eSAndroid Build Coastguard Worker field public static final int PROPERTY_GENERIC_CONFERENCE = 2; // 0x2 3664*344a7f5eSAndroid Build Coastguard Worker field public static final int PROPERTY_IS_DOWNGRADED_CONFERENCE = 64; // 0x40 3665*344a7f5eSAndroid Build Coastguard Worker field public static final int PROPERTY_REMOTELY_HOSTED = 2048; // 0x800 3666*344a7f5eSAndroid Build Coastguard Worker } 3667*344a7f5eSAndroid Build Coastguard Worker 3668*344a7f5eSAndroid Build Coastguard Worker public final class ConnectionRequest implements android.os.Parcelable { 3669*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getTelecomCallId(); 3670*344a7f5eSAndroid Build Coastguard Worker } 3671*344a7f5eSAndroid Build Coastguard Worker 3672*344a7f5eSAndroid Build Coastguard Worker public static final class ConnectionRequest.Builder { 3673*344a7f5eSAndroid Build Coastguard Worker ctor public ConnectionRequest.Builder(); 3674*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telecom.ConnectionRequest build(); 3675*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telecom.ConnectionRequest.Builder setAccountHandle(@NonNull android.telecom.PhoneAccountHandle); 3676*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telecom.ConnectionRequest.Builder setAddress(@NonNull android.net.Uri); 3677*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telecom.ConnectionRequest.Builder setExtras(@NonNull android.os.Bundle); 3678*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telecom.ConnectionRequest.Builder setIsAdhocConferenceCall(boolean); 3679*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telecom.ConnectionRequest.Builder setParticipants(@Nullable java.util.List<android.net.Uri>); 3680*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telecom.ConnectionRequest.Builder setRttPipeFromInCall(@NonNull android.os.ParcelFileDescriptor); 3681*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telecom.ConnectionRequest.Builder setRttPipeToInCall(@NonNull android.os.ParcelFileDescriptor); 3682*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telecom.ConnectionRequest.Builder setShouldShowIncomingCallUi(boolean); 3683*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telecom.ConnectionRequest.Builder setTelecomCallId(@NonNull String); 3684*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telecom.ConnectionRequest.Builder setVideoState(int); 3685*344a7f5eSAndroid Build Coastguard Worker } 3686*344a7f5eSAndroid Build Coastguard Worker 3687*344a7f5eSAndroid Build Coastguard Worker public static class PhoneAccount.Builder { 3688*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telecom.PhoneAccount.Builder setGroupId(@NonNull String); 3689*344a7f5eSAndroid Build Coastguard Worker } 3690*344a7f5eSAndroid Build Coastguard Worker 3691*344a7f5eSAndroid Build Coastguard Worker public class PhoneAccountSuggestionService extends android.app.Service { 3692*344a7f5eSAndroid Build Coastguard Worker ctor public PhoneAccountSuggestionService(); 3693*344a7f5eSAndroid Build Coastguard Worker method public void onAccountSuggestionRequest(@NonNull String); 3694*344a7f5eSAndroid Build Coastguard Worker method public android.os.IBinder onBind(android.content.Intent); 3695*344a7f5eSAndroid Build Coastguard Worker method public final void suggestPhoneAccounts(@NonNull String, @NonNull java.util.List<android.telecom.PhoneAccountSuggestion>); 3696*344a7f5eSAndroid Build Coastguard Worker field public static final String SERVICE_INTERFACE = "android.telecom.PhoneAccountSuggestionService"; 3697*344a7f5eSAndroid Build Coastguard Worker } 3698*344a7f5eSAndroid Build Coastguard Worker 3699*344a7f5eSAndroid Build Coastguard Worker public class TelecomManager { 3700*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.Intent createLaunchEmergencyDialerIntent(@Nullable String); 3701*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public java.util.List<android.telecom.PhoneAccountHandle> getCallCapablePhoneAccounts(boolean); 3702*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public int getCurrentTtyMode(); 3703*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public String getDefaultDialerPackage(@NonNull android.os.UserHandle); 3704*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean isInEmergencyCall(); 3705*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setUserSelectedOutgoingPhoneAccount(@Nullable android.telecom.PhoneAccountHandle); 3706*344a7f5eSAndroid Build Coastguard Worker field public static final int TTY_MODE_FULL = 1; // 0x1 3707*344a7f5eSAndroid Build Coastguard Worker field public static final int TTY_MODE_HCO = 2; // 0x2 3708*344a7f5eSAndroid Build Coastguard Worker field public static final int TTY_MODE_OFF = 0; // 0x0 3709*344a7f5eSAndroid Build Coastguard Worker field public static final int TTY_MODE_VCO = 3; // 0x3 3710*344a7f5eSAndroid Build Coastguard Worker } 3711*344a7f5eSAndroid Build Coastguard Worker 3712*344a7f5eSAndroid Build Coastguard Worker} 3713*344a7f5eSAndroid Build Coastguard Worker 3714*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony { 3715*344a7f5eSAndroid Build Coastguard Worker 3716*344a7f5eSAndroid Build Coastguard Worker public final class AccessNetworkConstants { 3717*344a7f5eSAndroid Build Coastguard Worker field public static final int TRANSPORT_TYPE_INVALID = -1; // 0xffffffff 3718*344a7f5eSAndroid Build Coastguard Worker } 3719*344a7f5eSAndroid Build Coastguard Worker 3720*344a7f5eSAndroid Build Coastguard Worker public static final class AccessNetworkConstants.NgranBands { 3721*344a7f5eSAndroid Build Coastguard Worker method public static int getFrequencyRangeGroup(int); 3722*344a7f5eSAndroid Build Coastguard Worker field public static final int FREQUENCY_RANGE_GROUP_1 = 1; // 0x1 3723*344a7f5eSAndroid Build Coastguard Worker field public static final int FREQUENCY_RANGE_GROUP_2 = 2; // 0x2 3724*344a7f5eSAndroid Build Coastguard Worker field public static final int FREQUENCY_RANGE_GROUP_UNKNOWN = 0; // 0x0 3725*344a7f5eSAndroid Build Coastguard Worker } 3726*344a7f5eSAndroid Build Coastguard Worker 3727*344a7f5eSAndroid Build Coastguard Worker public final class BarringInfo implements android.os.Parcelable { 3728*344a7f5eSAndroid Build Coastguard Worker ctor public BarringInfo(); 3729*344a7f5eSAndroid Build Coastguard Worker ctor public BarringInfo(@Nullable android.telephony.CellIdentity, @NonNull android.util.SparseArray<android.telephony.BarringInfo.BarringServiceInfo>); 3730*344a7f5eSAndroid Build Coastguard Worker } 3731*344a7f5eSAndroid Build Coastguard Worker 3732*344a7f5eSAndroid Build Coastguard Worker public static final class BarringInfo.BarringServiceInfo implements android.os.Parcelable { 3733*344a7f5eSAndroid Build Coastguard Worker ctor public BarringInfo.BarringServiceInfo(int, boolean, int, int); 3734*344a7f5eSAndroid Build Coastguard Worker } 3735*344a7f5eSAndroid Build Coastguard Worker 3736*344a7f5eSAndroid Build Coastguard Worker public final class CallQuality implements android.os.Parcelable { 3737*344a7f5eSAndroid Build Coastguard Worker ctor public CallQuality(int, int, int, int, int, int, int, int, int, int, int); 3738*344a7f5eSAndroid Build Coastguard Worker ctor public CallQuality(int, int, int, int, int, int, int, int, int, int, int, boolean, boolean, boolean); 3739*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3740*344a7f5eSAndroid Build Coastguard Worker method public int getAverageRelativeJitter(); 3741*344a7f5eSAndroid Build Coastguard Worker method public int getAverageRoundTripTime(); 3742*344a7f5eSAndroid Build Coastguard Worker method public int getCallDuration(); 3743*344a7f5eSAndroid Build Coastguard Worker method public int getCodecType(); 3744*344a7f5eSAndroid Build Coastguard Worker method public int getDownlinkCallQualityLevel(); 3745*344a7f5eSAndroid Build Coastguard Worker method public int getMaxRelativeJitter(); 3746*344a7f5eSAndroid Build Coastguard Worker method public int getNumRtpPacketsNotReceived(); 3747*344a7f5eSAndroid Build Coastguard Worker method public int getNumRtpPacketsReceived(); 3748*344a7f5eSAndroid Build Coastguard Worker method public int getNumRtpPacketsTransmitted(); 3749*344a7f5eSAndroid Build Coastguard Worker method public int getNumRtpPacketsTransmittedLost(); 3750*344a7f5eSAndroid Build Coastguard Worker method public int getUplinkCallQualityLevel(); 3751*344a7f5eSAndroid Build Coastguard Worker method public boolean isIncomingSilenceDetectedAtCallSetup(); 3752*344a7f5eSAndroid Build Coastguard Worker method public boolean isOutgoingSilenceDetectedAtCallSetup(); 3753*344a7f5eSAndroid Build Coastguard Worker method public boolean isRtpInactivityDetected(); 3754*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3755*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_QUALITY_BAD = 4; // 0x4 3756*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_QUALITY_EXCELLENT = 0; // 0x0 3757*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_QUALITY_FAIR = 2; // 0x2 3758*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_QUALITY_GOOD = 1; // 0x1 3759*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_QUALITY_NOT_AVAILABLE = 5; // 0x5 3760*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_QUALITY_POOR = 3; // 0x3 3761*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.CallQuality> CREATOR; 3762*344a7f5eSAndroid Build Coastguard Worker } 3763*344a7f5eSAndroid Build Coastguard Worker 3764*344a7f5eSAndroid Build Coastguard Worker public class CarrierConfigManager { 3765*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void overrideConfig(int, @Nullable android.os.PersistableBundle); 3766*344a7f5eSAndroid Build Coastguard Worker } 3767*344a7f5eSAndroid Build Coastguard Worker 3768*344a7f5eSAndroid Build Coastguard Worker public final class DataSpecificRegistrationInfo implements android.os.Parcelable { 3769*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3770*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.LteVopsSupportInfo getLteVopsSupportInfo(); 3771*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3772*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.DataSpecificRegistrationInfo> CREATOR; 3773*344a7f5eSAndroid Build Coastguard Worker } 3774*344a7f5eSAndroid Build Coastguard Worker 3775*344a7f5eSAndroid Build Coastguard Worker public final class LteVopsSupportInfo implements android.os.Parcelable { 3776*344a7f5eSAndroid Build Coastguard Worker ctor public LteVopsSupportInfo(int, int); 3777*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3778*344a7f5eSAndroid Build Coastguard Worker method public int getEmcBearerSupport(); 3779*344a7f5eSAndroid Build Coastguard Worker method public int getVopsSupport(); 3780*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3781*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.LteVopsSupportInfo> CREATOR; 3782*344a7f5eSAndroid Build Coastguard Worker field public static final int LTE_STATUS_NOT_AVAILABLE = 1; // 0x1 3783*344a7f5eSAndroid Build Coastguard Worker field public static final int LTE_STATUS_NOT_SUPPORTED = 3; // 0x3 3784*344a7f5eSAndroid Build Coastguard Worker field public static final int LTE_STATUS_SUPPORTED = 2; // 0x2 3785*344a7f5eSAndroid Build Coastguard Worker } 3786*344a7f5eSAndroid Build Coastguard Worker 3787*344a7f5eSAndroid Build Coastguard Worker public class MbmsDownloadSession implements java.lang.AutoCloseable { 3788*344a7f5eSAndroid Build Coastguard Worker field public static final String MBMS_DOWNLOAD_SERVICE_OVERRIDE_METADATA = "mbms-download-service-override"; 3789*344a7f5eSAndroid Build Coastguard Worker } 3790*344a7f5eSAndroid Build Coastguard Worker 3791*344a7f5eSAndroid Build Coastguard Worker public class MbmsGroupCallSession implements java.lang.AutoCloseable { 3792*344a7f5eSAndroid Build Coastguard Worker field public static final String MBMS_GROUP_CALL_SERVICE_OVERRIDE_METADATA = "mbms-group-call-service-override"; 3793*344a7f5eSAndroid Build Coastguard Worker } 3794*344a7f5eSAndroid Build Coastguard Worker 3795*344a7f5eSAndroid Build Coastguard Worker public class MbmsStreamingSession implements java.lang.AutoCloseable { 3796*344a7f5eSAndroid Build Coastguard Worker field public static final String MBMS_STREAMING_SERVICE_OVERRIDE_METADATA = "mbms-streaming-service-override"; 3797*344a7f5eSAndroid Build Coastguard Worker } 3798*344a7f5eSAndroid Build Coastguard Worker 3799*344a7f5eSAndroid Build Coastguard Worker public final class NetworkRegistrationInfo implements android.os.Parcelable { 3800*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.telephony.DataSpecificRegistrationInfo getDataSpecificInfo(); 3801*344a7f5eSAndroid Build Coastguard Worker method public int getRegistrationState(); 3802*344a7f5eSAndroid Build Coastguard Worker method public int getRejectCause(); 3803*344a7f5eSAndroid Build Coastguard Worker method public int getRoamingType(); 3804*344a7f5eSAndroid Build Coastguard Worker method public boolean isEmergencyEnabled(); 3805*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3806*344a7f5eSAndroid Build Coastguard Worker field public static final int REGISTRATION_STATE_DENIED = 3; // 0x3 3807*344a7f5eSAndroid Build Coastguard Worker field public static final int REGISTRATION_STATE_HOME = 1; // 0x1 3808*344a7f5eSAndroid Build Coastguard Worker field public static final int REGISTRATION_STATE_NOT_REGISTERED_OR_SEARCHING = 0; // 0x0 3809*344a7f5eSAndroid Build Coastguard Worker field public static final int REGISTRATION_STATE_NOT_REGISTERED_SEARCHING = 2; // 0x2 3810*344a7f5eSAndroid Build Coastguard Worker field public static final int REGISTRATION_STATE_ROAMING = 5; // 0x5 3811*344a7f5eSAndroid Build Coastguard Worker field public static final int REGISTRATION_STATE_UNKNOWN = 4; // 0x4 3812*344a7f5eSAndroid Build Coastguard Worker } 3813*344a7f5eSAndroid Build Coastguard Worker 3814*344a7f5eSAndroid Build Coastguard Worker public static final class NetworkRegistrationInfo.Builder { 3815*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkRegistrationInfo.Builder(); 3816*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo build(); 3817*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setAccessNetworkTechnology(int); 3818*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setAvailableServices(@NonNull java.util.List<java.lang.Integer>); 3819*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setCellIdentity(@Nullable android.telephony.CellIdentity); 3820*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setDomain(int); 3821*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setEmergencyOnly(boolean); 3822*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setRegisteredPlmn(@Nullable String); 3823*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setRegistrationState(int); 3824*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setRejectCause(int); 3825*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.NetworkRegistrationInfo.Builder setTransportType(int); 3826*344a7f5eSAndroid Build Coastguard Worker } 3827*344a7f5eSAndroid Build Coastguard Worker 3828*344a7f5eSAndroid Build Coastguard Worker public class PhoneNumberUtils { 3829*344a7f5eSAndroid Build Coastguard Worker method public static int getMinMatchForTest(); 3830*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static String getUsernameFromUriNumber(@NonNull String); 3831*344a7f5eSAndroid Build Coastguard Worker method public static boolean isUriNumber(@Nullable String); 3832*344a7f5eSAndroid Build Coastguard Worker method public static boolean isVoiceMailNumber(@NonNull android.content.Context, int, @Nullable String); 3833*344a7f5eSAndroid Build Coastguard Worker method public static void setMinMatchForTest(int); 3834*344a7f5eSAndroid Build Coastguard Worker } 3835*344a7f5eSAndroid Build Coastguard Worker 3836*344a7f5eSAndroid Build Coastguard Worker public class PhoneStateListener { 3837*344a7f5eSAndroid Build Coastguard Worker method public void onOutgoingEmergencyCall(@NonNull android.telephony.emergency.EmergencyNumber); 3838*344a7f5eSAndroid Build Coastguard Worker method public void onOutgoingEmergencySms(@NonNull android.telephony.emergency.EmergencyNumber); 3839*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission("android.permission.READ_ACTIVE_EMERGENCY_SESSION") public static final int LISTEN_OUTGOING_EMERGENCY_CALL = 268435456; // 0x10000000 3840*344a7f5eSAndroid Build Coastguard Worker field @RequiresPermission("android.permission.READ_ACTIVE_EMERGENCY_SESSION") public static final int LISTEN_OUTGOING_EMERGENCY_SMS = 536870912; // 0x20000000 3841*344a7f5eSAndroid Build Coastguard Worker } 3842*344a7f5eSAndroid Build Coastguard Worker 3843*344a7f5eSAndroid Build Coastguard Worker public final class PreciseDataConnectionState implements android.os.Parcelable { 3844*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public PreciseDataConnectionState(int, int, int, @NonNull String, @Nullable android.net.LinkProperties, int); 3845*344a7f5eSAndroid Build Coastguard Worker } 3846*344a7f5eSAndroid Build Coastguard Worker 3847*344a7f5eSAndroid Build Coastguard Worker public class ServiceState implements android.os.Parcelable { 3848*344a7f5eSAndroid Build Coastguard Worker method public void addNetworkRegistrationInfo(android.telephony.NetworkRegistrationInfo); 3849*344a7f5eSAndroid Build Coastguard Worker method public int getDataNetworkType(); 3850*344a7f5eSAndroid Build Coastguard Worker method public void setCdmaSystemAndNetworkId(int, int); 3851*344a7f5eSAndroid Build Coastguard Worker method public void setCellBandwidths(int[]); 3852*344a7f5eSAndroid Build Coastguard Worker method public void setChannelNumber(int); 3853*344a7f5eSAndroid Build Coastguard Worker method public void setDataRoamingType(int); 3854*344a7f5eSAndroid Build Coastguard Worker method public void setRilDataRadioTechnology(int); 3855*344a7f5eSAndroid Build Coastguard Worker method public void setRilVoiceRadioTechnology(int); 3856*344a7f5eSAndroid Build Coastguard Worker method public void setVoiceRoamingType(int); 3857*344a7f5eSAndroid Build Coastguard Worker } 3858*344a7f5eSAndroid Build Coastguard Worker 3859*344a7f5eSAndroid Build Coastguard Worker public final class SmsManager { 3860*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public int checkSmsShortCodeDestination(String, String); 3861*344a7f5eSAndroid Build Coastguard Worker field public static final int SMS_CATEGORY_FREE_SHORT_CODE = 1; // 0x1 3862*344a7f5eSAndroid Build Coastguard Worker field public static final int SMS_CATEGORY_NOT_SHORT_CODE = 0; // 0x0 3863*344a7f5eSAndroid Build Coastguard Worker field public static final int SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE = 3; // 0x3 3864*344a7f5eSAndroid Build Coastguard Worker field public static final int SMS_CATEGORY_PREMIUM_SHORT_CODE = 4; // 0x4 3865*344a7f5eSAndroid Build Coastguard Worker field public static final int SMS_CATEGORY_STANDARD_SHORT_CODE = 2; // 0x2 3866*344a7f5eSAndroid Build Coastguard Worker } 3867*344a7f5eSAndroid Build Coastguard Worker 3868*344a7f5eSAndroid Build Coastguard Worker public class SubscriptionManager { 3869*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setDefaultVoiceSubscriptionId(int); 3870*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.net.Uri ADVANCED_CALLING_ENABLED_CONTENT_URI; 3871*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.net.Uri VT_ENABLED_CONTENT_URI; 3872*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.net.Uri WFC_ENABLED_CONTENT_URI; 3873*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.net.Uri WFC_MODE_CONTENT_URI; 3874*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.net.Uri WFC_ROAMING_ENABLED_CONTENT_URI; 3875*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.net.Uri WFC_ROAMING_MODE_CONTENT_URI; 3876*344a7f5eSAndroid Build Coastguard Worker } 3877*344a7f5eSAndroid Build Coastguard Worker 3878*344a7f5eSAndroid Build Coastguard Worker public class TelephonyManager { 3879*344a7f5eSAndroid Build Coastguard Worker method public int addDevicePolicyOverrideApn(@NonNull android.content.Context, @NonNull android.telephony.data.ApnSetting); 3880*344a7f5eSAndroid Build Coastguard Worker method public int checkCarrierPrivilegesForPackage(String); 3881*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission("android.permission.INTERACT_ACROSS_USERS") public android.content.ComponentName getAndUpdateDefaultRespondViaMessageApplication(); 3882*344a7f5eSAndroid Build Coastguard Worker method public int getCarrierIdListVersion(); 3883*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<java.lang.String> getCarrierPackageNamesForIntent(android.content.Intent); 3884*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission("android.permission.INTERACT_ACROSS_USERS") public android.content.ComponentName getDefaultRespondViaMessageApplication(); 3885*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.telephony.data.ApnSetting> getDevicePolicyOverrideApns(@NonNull android.content.Context); 3886*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public int getEmergencyNumberDbVersion(); 3887*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public String getLine1AlphaTag(); 3888*344a7f5eSAndroid Build Coastguard Worker method public android.util.Pair<java.lang.Integer,java.lang.Integer> getRadioHalVersion(); 3889*344a7f5eSAndroid Build Coastguard Worker method public boolean modifyDevicePolicyOverrideApn(@NonNull android.content.Context, int, @NonNull android.telephony.data.ApnSetting); 3890*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void refreshUiccProfile(); 3891*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_ACTIVE_EMERGENCY_SESSION") public void resetOtaEmergencyNumberDbFilePath(); 3892*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setCarrierTestOverride(String, String, String, String, String, String, String); 3893*344a7f5eSAndroid Build Coastguard Worker method public void setCarrierTestOverride(String, String, String, String, String, String, String, String, String); 3894*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSystemSelectionChannels(@NonNull java.util.List<android.telephony.RadioAccessSpecifier>, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>); 3895*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setSystemSelectionChannels(@NonNull java.util.List<android.telephony.RadioAccessSpecifier>); 3896*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_ACTIVE_EMERGENCY_SESSION") public void updateOtaEmergencyNumberDbFilePath(@NonNull android.os.ParcelFileDescriptor); 3897*344a7f5eSAndroid Build Coastguard Worker field public static final int CARRIER_PRIVILEGE_STATUS_ERROR_LOADING_RULES = -2; // 0xfffffffe 3898*344a7f5eSAndroid Build Coastguard Worker field public static final int CARRIER_PRIVILEGE_STATUS_HAS_ACCESS = 1; // 0x1 3899*344a7f5eSAndroid Build Coastguard Worker field public static final int CARRIER_PRIVILEGE_STATUS_NO_ACCESS = 0; // 0x0 3900*344a7f5eSAndroid Build Coastguard Worker field public static final int CARRIER_PRIVILEGE_STATUS_RULES_NOT_LOADED = -1; // 0xffffffff 3901*344a7f5eSAndroid Build Coastguard Worker field public static final int INVALID_EMERGENCY_NUMBER_DB_VERSION = -1; // 0xffffffff 3902*344a7f5eSAndroid Build Coastguard Worker field public static final int UNKNOWN_CARRIER_ID_LIST_VERSION = -1; // 0xffffffff 3903*344a7f5eSAndroid Build Coastguard Worker } 3904*344a7f5eSAndroid Build Coastguard Worker 3905*344a7f5eSAndroid Build Coastguard Worker} 3906*344a7f5eSAndroid Build Coastguard Worker 3907*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.emergency { 3908*344a7f5eSAndroid Build Coastguard Worker 3909*344a7f5eSAndroid Build Coastguard Worker public final class EmergencyNumber implements java.lang.Comparable<android.telephony.emergency.EmergencyNumber> android.os.Parcelable { 3910*344a7f5eSAndroid Build Coastguard Worker field public static final int EMERGENCY_NUMBER_SOURCE_TEST = 32; // 0x20 3911*344a7f5eSAndroid Build Coastguard Worker } 3912*344a7f5eSAndroid Build Coastguard Worker 3913*344a7f5eSAndroid Build Coastguard Worker} 3914*344a7f5eSAndroid Build Coastguard Worker 3915*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.ims { 3916*344a7f5eSAndroid Build Coastguard Worker 3917*344a7f5eSAndroid Build Coastguard Worker public final class ImsCallForwardInfo implements android.os.Parcelable { 3918*344a7f5eSAndroid Build Coastguard Worker ctor public ImsCallForwardInfo(int, int, int, int, @NonNull String, int); 3919*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3920*344a7f5eSAndroid Build Coastguard Worker method public int getCondition(); 3921*344a7f5eSAndroid Build Coastguard Worker method public String getNumber(); 3922*344a7f5eSAndroid Build Coastguard Worker method public int getServiceClass(); 3923*344a7f5eSAndroid Build Coastguard Worker method public int getStatus(); 3924*344a7f5eSAndroid Build Coastguard Worker method public int getTimeSeconds(); 3925*344a7f5eSAndroid Build Coastguard Worker method public int getToA(); 3926*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3927*344a7f5eSAndroid Build Coastguard Worker field public static final int CDIV_CF_REASON_ALL = 4; // 0x4 3928*344a7f5eSAndroid Build Coastguard Worker field public static final int CDIV_CF_REASON_ALL_CONDITIONAL = 5; // 0x5 3929*344a7f5eSAndroid Build Coastguard Worker field public static final int CDIV_CF_REASON_BUSY = 1; // 0x1 3930*344a7f5eSAndroid Build Coastguard Worker field public static final int CDIV_CF_REASON_NOT_LOGGED_IN = 6; // 0x6 3931*344a7f5eSAndroid Build Coastguard Worker field public static final int CDIV_CF_REASON_NOT_REACHABLE = 3; // 0x3 3932*344a7f5eSAndroid Build Coastguard Worker field public static final int CDIV_CF_REASON_NO_REPLY = 2; // 0x2 3933*344a7f5eSAndroid Build Coastguard Worker field public static final int CDIV_CF_REASON_UNCONDITIONAL = 0; // 0x0 3934*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsCallForwardInfo> CREATOR; 3935*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_ACTIVE = 1; // 0x1 3936*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_NOT_ACTIVE = 0; // 0x0 3937*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_OF_ADDRESS_INTERNATIONAL = 145; // 0x91 3938*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_OF_ADDRESS_UNKNOWN = 129; // 0x81 3939*344a7f5eSAndroid Build Coastguard Worker } 3940*344a7f5eSAndroid Build Coastguard Worker 3941*344a7f5eSAndroid Build Coastguard Worker public final class ImsCallProfile implements android.os.Parcelable { 3942*344a7f5eSAndroid Build Coastguard Worker ctor public ImsCallProfile(); 3943*344a7f5eSAndroid Build Coastguard Worker ctor public ImsCallProfile(int, int); 3944*344a7f5eSAndroid Build Coastguard Worker ctor public ImsCallProfile(int, int, android.os.Bundle, android.telephony.ims.ImsStreamMediaProfile); 3945*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 3946*344a7f5eSAndroid Build Coastguard Worker method public String getCallExtra(String); 3947*344a7f5eSAndroid Build Coastguard Worker method public String getCallExtra(String, String); 3948*344a7f5eSAndroid Build Coastguard Worker method public boolean getCallExtraBoolean(String); 3949*344a7f5eSAndroid Build Coastguard Worker method public boolean getCallExtraBoolean(String, boolean); 3950*344a7f5eSAndroid Build Coastguard Worker method public int getCallExtraInt(String); 3951*344a7f5eSAndroid Build Coastguard Worker method public int getCallExtraInt(String, int); 3952*344a7f5eSAndroid Build Coastguard Worker method public android.os.Bundle getCallExtras(); 3953*344a7f5eSAndroid Build Coastguard Worker method public int getCallType(); 3954*344a7f5eSAndroid Build Coastguard Worker method public static int getCallTypeFromVideoState(int); 3955*344a7f5eSAndroid Build Coastguard Worker method public int getCallerNumberVerificationStatus(); 3956*344a7f5eSAndroid Build Coastguard Worker method public int getEmergencyCallRouting(); 3957*344a7f5eSAndroid Build Coastguard Worker method public int getEmergencyServiceCategories(); 3958*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.lang.String> getEmergencyUrns(); 3959*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.ImsStreamMediaProfile getMediaProfile(); 3960*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.Bundle getProprietaryCallExtras(); 3961*344a7f5eSAndroid Build Coastguard Worker method public int getRestrictCause(); 3962*344a7f5eSAndroid Build Coastguard Worker method public int getServiceType(); 3963*344a7f5eSAndroid Build Coastguard Worker method public static int getVideoStateFromCallType(int); 3964*344a7f5eSAndroid Build Coastguard Worker method public static int getVideoStateFromImsCallProfile(android.telephony.ims.ImsCallProfile); 3965*344a7f5eSAndroid Build Coastguard Worker method public boolean hasKnownUserIntentEmergency(); 3966*344a7f5eSAndroid Build Coastguard Worker method public boolean isEmergencyCallTesting(); 3967*344a7f5eSAndroid Build Coastguard Worker method public boolean isVideoCall(); 3968*344a7f5eSAndroid Build Coastguard Worker method public boolean isVideoPaused(); 3969*344a7f5eSAndroid Build Coastguard Worker method public static int presentationToOir(int); 3970*344a7f5eSAndroid Build Coastguard Worker method public void setCallExtra(String, String); 3971*344a7f5eSAndroid Build Coastguard Worker method public void setCallExtraBoolean(String, boolean); 3972*344a7f5eSAndroid Build Coastguard Worker method public void setCallExtraInt(String, int); 3973*344a7f5eSAndroid Build Coastguard Worker method public void setCallRestrictCause(int); 3974*344a7f5eSAndroid Build Coastguard Worker method public void setCallerNumberVerificationStatus(int); 3975*344a7f5eSAndroid Build Coastguard Worker method public void setEmergencyCallRouting(int); 3976*344a7f5eSAndroid Build Coastguard Worker method public void setEmergencyCallTesting(boolean); 3977*344a7f5eSAndroid Build Coastguard Worker method public void setEmergencyServiceCategories(int); 3978*344a7f5eSAndroid Build Coastguard Worker method public void setEmergencyUrns(@NonNull java.util.List<java.lang.String>); 3979*344a7f5eSAndroid Build Coastguard Worker method public void setHasKnownUserIntentEmergency(boolean); 3980*344a7f5eSAndroid Build Coastguard Worker method public void updateCallExtras(android.telephony.ims.ImsCallProfile); 3981*344a7f5eSAndroid Build Coastguard Worker method public void updateCallType(android.telephony.ims.ImsCallProfile); 3982*344a7f5eSAndroid Build Coastguard Worker method public void updateMediaProfile(android.telephony.ims.ImsCallProfile); 3983*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 3984*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_RESTRICT_CAUSE_DISABLED = 2; // 0x2 3985*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_RESTRICT_CAUSE_HD = 3; // 0x3 3986*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_RESTRICT_CAUSE_NONE = 0; // 0x0 3987*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_RESTRICT_CAUSE_RAT = 1; // 0x1 3988*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VIDEO_N_VOICE = 3; // 0x3 3989*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VOICE = 2; // 0x2 3990*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VOICE_N_VIDEO = 1; // 0x1 3991*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VS = 8; // 0x8 3992*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VS_RX = 10; // 0xa 3993*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VS_TX = 9; // 0x9 3994*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VT = 4; // 0x4 3995*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VT_NODIR = 7; // 0x7 3996*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VT_RX = 6; // 0x6 3997*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_TYPE_VT_TX = 5; // 0x5 3998*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsCallProfile> CREATOR; 3999*344a7f5eSAndroid Build Coastguard Worker field public static final int DIALSTRING_NORMAL = 0; // 0x0 4000*344a7f5eSAndroid Build Coastguard Worker field public static final int DIALSTRING_SS_CONF = 1; // 0x1 4001*344a7f5eSAndroid Build Coastguard Worker field public static final int DIALSTRING_USSD = 2; // 0x2 4002*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_ADDITIONAL_CALL_INFO = "AdditionalCallInfo"; 4003*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_ADDITIONAL_SIP_INVITE_FIELDS = "android.telephony.ims.extra.ADDITIONAL_SIP_INVITE_FIELDS"; 4004*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CALL_DISCONNECT_CAUSE = "android.telephony.ims.extra.CALL_DISCONNECT_CAUSE"; 4005*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CALL_NETWORK_TYPE = "android.telephony.ims.extra.CALL_NETWORK_TYPE"; 4006*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String EXTRA_CALL_RAT_TYPE = "CallRadioTech"; 4007*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CHILD_NUMBER = "ChildNum"; 4008*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CNA = "cna"; 4009*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CNAP = "cnap"; 4010*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_CODEC = "Codec"; 4011*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_DIALSTRING = "dialstring"; 4012*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_DISPLAY_TEXT = "DisplayText"; 4013*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_EMERGENCY_CALL = "e_call"; 4014*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_FORWARDED_NUMBER = "android.telephony.ims.extra.FORWARDED_NUMBER"; 4015*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_IS_CALL_PULL = "CallPull"; 4016*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_OEM_EXTRAS = "android.telephony.ims.extra.OEM_EXTRAS"; 4017*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_OI = "oi"; 4018*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_OIR = "oir"; 4019*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_REMOTE_URI = "remote_uri"; 4020*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_USSD = "ussd"; 4021*344a7f5eSAndroid Build Coastguard Worker field public static final int OIR_DEFAULT = 0; // 0x0 4022*344a7f5eSAndroid Build Coastguard Worker field public static final int OIR_PRESENTATION_NOT_RESTRICTED = 2; // 0x2 4023*344a7f5eSAndroid Build Coastguard Worker field public static final int OIR_PRESENTATION_PAYPHONE = 4; // 0x4 4024*344a7f5eSAndroid Build Coastguard Worker field public static final int OIR_PRESENTATION_RESTRICTED = 1; // 0x1 4025*344a7f5eSAndroid Build Coastguard Worker field public static final int OIR_PRESENTATION_UNKNOWN = 3; // 0x3 4026*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_TYPE_EMERGENCY = 2; // 0x2 4027*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_TYPE_NONE = 0; // 0x0 4028*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_TYPE_NORMAL = 1; // 0x1 4029*344a7f5eSAndroid Build Coastguard Worker field public static final int VERIFICATION_STATUS_FAILED = 2; // 0x2 4030*344a7f5eSAndroid Build Coastguard Worker field public static final int VERIFICATION_STATUS_NOT_VERIFIED = 0; // 0x0 4031*344a7f5eSAndroid Build Coastguard Worker field public static final int VERIFICATION_STATUS_PASSED = 1; // 0x1 4032*344a7f5eSAndroid Build Coastguard Worker } 4033*344a7f5eSAndroid Build Coastguard Worker 4034*344a7f5eSAndroid Build Coastguard Worker public class ImsCallSessionListener { 4035*344a7f5eSAndroid Build Coastguard Worker method public void callQualityChanged(@NonNull android.telephony.CallQuality); 4036*344a7f5eSAndroid Build Coastguard Worker method public void callSessionConferenceExtendFailed(android.telephony.ims.ImsReasonInfo); 4037*344a7f5eSAndroid Build Coastguard Worker method public void callSessionConferenceExtendReceived(android.telephony.ims.stub.ImsCallSessionImplBase, android.telephony.ims.ImsCallProfile); 4038*344a7f5eSAndroid Build Coastguard Worker method public void callSessionConferenceExtended(android.telephony.ims.stub.ImsCallSessionImplBase, android.telephony.ims.ImsCallProfile); 4039*344a7f5eSAndroid Build Coastguard Worker method public void callSessionConferenceStateUpdated(android.telephony.ims.ImsConferenceState); 4040*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void callSessionHandover(int, int, android.telephony.ims.ImsReasonInfo); 4041*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void callSessionHandoverFailed(int, int, android.telephony.ims.ImsReasonInfo); 4042*344a7f5eSAndroid Build Coastguard Worker method public void callSessionHeld(android.telephony.ims.ImsCallProfile); 4043*344a7f5eSAndroid Build Coastguard Worker method public void callSessionHoldFailed(android.telephony.ims.ImsReasonInfo); 4044*344a7f5eSAndroid Build Coastguard Worker method public void callSessionHoldReceived(android.telephony.ims.ImsCallProfile); 4045*344a7f5eSAndroid Build Coastguard Worker method public void callSessionInitiated(android.telephony.ims.ImsCallProfile); 4046*344a7f5eSAndroid Build Coastguard Worker method public void callSessionInitiatedFailed(android.telephony.ims.ImsReasonInfo); 4047*344a7f5eSAndroid Build Coastguard Worker method public void callSessionInviteParticipantsRequestDelivered(); 4048*344a7f5eSAndroid Build Coastguard Worker method public void callSessionInviteParticipantsRequestFailed(android.telephony.ims.ImsReasonInfo); 4049*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void callSessionMayHandover(int, int); 4050*344a7f5eSAndroid Build Coastguard Worker method public void callSessionMergeComplete(android.telephony.ims.stub.ImsCallSessionImplBase); 4051*344a7f5eSAndroid Build Coastguard Worker method public void callSessionMergeFailed(android.telephony.ims.ImsReasonInfo); 4052*344a7f5eSAndroid Build Coastguard Worker method public void callSessionMergeStarted(android.telephony.ims.stub.ImsCallSessionImplBase, android.telephony.ims.ImsCallProfile); 4053*344a7f5eSAndroid Build Coastguard Worker method public void callSessionMultipartyStateChanged(boolean); 4054*344a7f5eSAndroid Build Coastguard Worker method public void callSessionProgressing(android.telephony.ims.ImsStreamMediaProfile); 4055*344a7f5eSAndroid Build Coastguard Worker method public void callSessionRemoveParticipantsRequestDelivered(); 4056*344a7f5eSAndroid Build Coastguard Worker method public void callSessionRemoveParticipantsRequestFailed(android.telephony.ims.ImsReasonInfo); 4057*344a7f5eSAndroid Build Coastguard Worker method public void callSessionResumeFailed(android.telephony.ims.ImsReasonInfo); 4058*344a7f5eSAndroid Build Coastguard Worker method public void callSessionResumeReceived(android.telephony.ims.ImsCallProfile); 4059*344a7f5eSAndroid Build Coastguard Worker method public void callSessionResumed(android.telephony.ims.ImsCallProfile); 4060*344a7f5eSAndroid Build Coastguard Worker method public void callSessionRttAudioIndicatorChanged(@NonNull android.telephony.ims.ImsStreamMediaProfile); 4061*344a7f5eSAndroid Build Coastguard Worker method public void callSessionRttMessageReceived(String); 4062*344a7f5eSAndroid Build Coastguard Worker method public void callSessionRttModifyRequestReceived(android.telephony.ims.ImsCallProfile); 4063*344a7f5eSAndroid Build Coastguard Worker method public void callSessionRttModifyResponseReceived(int); 4064*344a7f5eSAndroid Build Coastguard Worker method public void callSessionSuppServiceReceived(android.telephony.ims.ImsSuppServiceNotification); 4065*344a7f5eSAndroid Build Coastguard Worker method public void callSessionTerminated(android.telephony.ims.ImsReasonInfo); 4066*344a7f5eSAndroid Build Coastguard Worker method public void callSessionTtyModeReceived(int); 4067*344a7f5eSAndroid Build Coastguard Worker method public void callSessionUpdateFailed(android.telephony.ims.ImsReasonInfo); 4068*344a7f5eSAndroid Build Coastguard Worker method public void callSessionUpdateReceived(android.telephony.ims.ImsCallProfile); 4069*344a7f5eSAndroid Build Coastguard Worker method public void callSessionUpdated(android.telephony.ims.ImsCallProfile); 4070*344a7f5eSAndroid Build Coastguard Worker method public void callSessionUssdMessageReceived(int, String); 4071*344a7f5eSAndroid Build Coastguard Worker method public void onHandover(int, int, @Nullable android.telephony.ims.ImsReasonInfo); 4072*344a7f5eSAndroid Build Coastguard Worker method public void onHandoverFailed(int, int, @NonNull android.telephony.ims.ImsReasonInfo); 4073*344a7f5eSAndroid Build Coastguard Worker method public void onMayHandover(int, int); 4074*344a7f5eSAndroid Build Coastguard Worker } 4075*344a7f5eSAndroid Build Coastguard Worker 4076*344a7f5eSAndroid Build Coastguard Worker public final class ImsConferenceState implements android.os.Parcelable { 4077*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 4078*344a7f5eSAndroid Build Coastguard Worker method public static int getConnectionStateForStatus(String); 4079*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 4080*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsConferenceState> CREATOR; 4081*344a7f5eSAndroid Build Coastguard Worker field public static final String DISPLAY_TEXT = "display-text"; 4082*344a7f5eSAndroid Build Coastguard Worker field public static final String ENDPOINT = "endpoint"; 4083*344a7f5eSAndroid Build Coastguard Worker field public static final String SIP_STATUS_CODE = "sipstatuscode"; 4084*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS = "status"; 4085*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_ALERTING = "alerting"; 4086*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_CONNECTED = "connected"; 4087*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_CONNECT_FAIL = "connect-fail"; 4088*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_DIALING_IN = "dialing-in"; 4089*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_DIALING_OUT = "dialing-out"; 4090*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_DISCONNECTED = "disconnected"; 4091*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_DISCONNECTING = "disconnecting"; 4092*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_MUTED_VIA_FOCUS = "muted-via-focus"; 4093*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_ON_HOLD = "on-hold"; 4094*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_PENDING = "pending"; 4095*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_SEND_ONLY = "sendonly"; 4096*344a7f5eSAndroid Build Coastguard Worker field public static final String STATUS_SEND_RECV = "sendrecv"; 4097*344a7f5eSAndroid Build Coastguard Worker field public static final String USER = "user"; 4098*344a7f5eSAndroid Build Coastguard Worker field public final java.util.HashMap<java.lang.String,android.os.Bundle> mParticipants; 4099*344a7f5eSAndroid Build Coastguard Worker } 4100*344a7f5eSAndroid Build Coastguard Worker 4101*344a7f5eSAndroid Build Coastguard Worker public final class ImsException extends java.lang.Exception { 4102*344a7f5eSAndroid Build Coastguard Worker ctor public ImsException(@Nullable String); 4103*344a7f5eSAndroid Build Coastguard Worker ctor public ImsException(@Nullable String, int); 4104*344a7f5eSAndroid Build Coastguard Worker ctor public ImsException(@Nullable String, int, @Nullable Throwable); 4105*344a7f5eSAndroid Build Coastguard Worker } 4106*344a7f5eSAndroid Build Coastguard Worker 4107*344a7f5eSAndroid Build Coastguard Worker public final class ImsExternalCallState implements android.os.Parcelable { 4108*344a7f5eSAndroid Build Coastguard Worker ctor public ImsExternalCallState(@NonNull String, @NonNull android.net.Uri, @Nullable android.net.Uri, boolean, int, int, boolean); 4109*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 4110*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.Uri getAddress(); 4111*344a7f5eSAndroid Build Coastguard Worker method public int getCallId(); 4112*344a7f5eSAndroid Build Coastguard Worker method public int getCallState(); 4113*344a7f5eSAndroid Build Coastguard Worker method public int getCallType(); 4114*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.Uri getLocalAddress(); 4115*344a7f5eSAndroid Build Coastguard Worker method public boolean isCallHeld(); 4116*344a7f5eSAndroid Build Coastguard Worker method public boolean isCallPullable(); 4117*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 4118*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_STATE_CONFIRMED = 1; // 0x1 4119*344a7f5eSAndroid Build Coastguard Worker field public static final int CALL_STATE_TERMINATED = 2; // 0x2 4120*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsExternalCallState> CREATOR; 4121*344a7f5eSAndroid Build Coastguard Worker } 4122*344a7f5eSAndroid Build Coastguard Worker 4123*344a7f5eSAndroid Build Coastguard Worker public class ImsMmTelManager implements android.telephony.ims.RegistrationManager { 4124*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull @RequiresPermission(anyOf={"android.permission.READ_PRIVILEGED_PHONE_STATE", android.Manifest.permission.READ_PRECISE_PHONE_STATE}) public static android.telephony.ims.ImsMmTelManager createForSubscriptionId(int); 4125*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public void getFeatureState(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>) throws android.telephony.ims.ImsException; 4126*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public void getRegistrationState(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Integer>); 4127*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public int getVoWiFiRoamingModeSetting(); 4128*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public boolean isAvailable(int, int); 4129*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public boolean isCapable(int, int); 4130*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public void isSupported(int, int, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<java.lang.Boolean>) throws android.telephony.ims.ImsException; 4131*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public void registerImsRegistrationCallback(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.ImsMmTelManager.RegistrationCallback) throws android.telephony.ims.ImsException; 4132*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setAdvancedCallingSettingEnabled(boolean); 4133*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setRttCapabilitySetting(boolean); 4134*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiModeSetting(int); 4135*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiNonPersistent(boolean, int); 4136*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiRoamingModeSetting(int); 4137*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiRoamingSettingEnabled(boolean); 4138*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVoWiFiSettingEnabled(boolean); 4139*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setVtSettingEnabled(boolean); 4140*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public void unregisterImsRegistrationCallback(@NonNull android.telephony.ims.ImsMmTelManager.RegistrationCallback); 4141*344a7f5eSAndroid Build Coastguard Worker } 4142*344a7f5eSAndroid Build Coastguard Worker 4143*344a7f5eSAndroid Build Coastguard Worker @Deprecated public static class ImsMmTelManager.RegistrationCallback extends android.telephony.ims.RegistrationManager.RegistrationCallback { 4144*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public ImsMmTelManager.RegistrationCallback(); 4145*344a7f5eSAndroid Build Coastguard Worker } 4146*344a7f5eSAndroid Build Coastguard Worker 4147*344a7f5eSAndroid Build Coastguard Worker public class ImsService extends android.app.Service { 4148*344a7f5eSAndroid Build Coastguard Worker ctor public ImsService(); 4149*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.feature.MmTelFeature createMmTelFeature(int); 4150*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.feature.RcsFeature createRcsFeature(int); 4151*344a7f5eSAndroid Build Coastguard Worker method public void disableIms(int); 4152*344a7f5eSAndroid Build Coastguard Worker method public void enableIms(int); 4153*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.stub.ImsConfigImplBase getConfig(int); 4154*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.stub.ImsRegistrationImplBase getRegistration(int); 4155*344a7f5eSAndroid Build Coastguard Worker method public final void onUpdateSupportedImsFeatures(android.telephony.ims.stub.ImsFeatureConfiguration) throws android.os.RemoteException; 4156*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.stub.ImsFeatureConfiguration querySupportedImsFeatures(); 4157*344a7f5eSAndroid Build Coastguard Worker method public void readyForFeatureCreation(); 4158*344a7f5eSAndroid Build Coastguard Worker } 4159*344a7f5eSAndroid Build Coastguard Worker 4160*344a7f5eSAndroid Build Coastguard Worker public final class ImsSsData implements android.os.Parcelable { 4161*344a7f5eSAndroid Build Coastguard Worker ctor public ImsSsData(int, int, int, int, int); 4162*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 4163*344a7f5eSAndroid Build Coastguard Worker method @Nullable public java.util.List<android.telephony.ims.ImsCallForwardInfo> getCallForwardInfo(); 4164*344a7f5eSAndroid Build Coastguard Worker method public int getRequestType(); 4165*344a7f5eSAndroid Build Coastguard Worker method public int getResult(); 4166*344a7f5eSAndroid Build Coastguard Worker method public int getServiceClass(); 4167*344a7f5eSAndroid Build Coastguard Worker method public int getServiceType(); 4168*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.telephony.ims.ImsSsInfo> getSuppServiceInfo(); 4169*344a7f5eSAndroid Build Coastguard Worker method public int getTeleserviceType(); 4170*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeBarring(); 4171*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeCf(); 4172*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeClip(); 4173*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeClir(); 4174*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeColp(); 4175*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeColr(); 4176*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeCw(); 4177*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeIcb(); 4178*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeInterrogation(); 4179*344a7f5eSAndroid Build Coastguard Worker method public boolean isTypeUnConditional(); 4180*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 4181*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsSsData> CREATOR; 4182*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_SUCCESS = 0; // 0x0 4183*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_CLASS_DATA = 2; // 0x2 4184*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_CLASS_DATA_CIRCUIT_ASYNC = 32; // 0x20 4185*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_CLASS_DATA_CIRCUIT_SYNC = 16; // 0x10 4186*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_CLASS_DATA_PACKET_ACCESS = 64; // 0x40 4187*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_CLASS_DATA_PAD = 128; // 0x80 4188*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_CLASS_FAX = 4; // 0x4 4189*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_CLASS_NONE = 0; // 0x0 4190*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_CLASS_SMS = 8; // 0x8 4191*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_CLASS_VOICE = 1; // 0x1 4192*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_ACTIVATION = 0; // 0x0 4193*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_ALL_BARRING = 18; // 0x12 4194*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_ALL_DATA_TELESERVICES = 3; // 0x3 4195*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_ALL_TELESERVICES_EXCEPT_SMS = 5; // 0x5 4196*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_ALL_TELESEVICES = 1; // 0x1 4197*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_ALL_TELE_AND_BEARER_SERVICES = 0; // 0x0 4198*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_BAIC = 16; // 0x10 4199*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_BAIC_ROAMING = 17; // 0x11 4200*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_BAOC = 13; // 0xd 4201*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_BAOIC = 14; // 0xe 4202*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_BAOIC_EXC_HOME = 15; // 0xf 4203*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CFU = 0; // 0x0 4204*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CFUT = 6; // 0x6 4205*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CF_ALL = 4; // 0x4 4206*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CF_ALL_CONDITIONAL = 5; // 0x5 4207*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CF_BUSY = 1; // 0x1 4208*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CF_NOT_REACHABLE = 3; // 0x3 4209*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CF_NO_REPLY = 2; // 0x2 4210*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CLIP = 7; // 0x7 4211*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CLIR = 8; // 0x8 4212*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_CNAP = 11; // 0xb 4213*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_COLP = 9; // 0x9 4214*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_COLR = 10; // 0xa 4215*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_DEACTIVATION = 1; // 0x1 4216*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_ERASURE = 4; // 0x4 4217*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_INCOMING_BARRING = 20; // 0x14 4218*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_INCOMING_BARRING_ANONYMOUS = 22; // 0x16 4219*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_INCOMING_BARRING_DN = 21; // 0x15 4220*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_INTERROGATION = 2; // 0x2 4221*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_OUTGOING_BARRING = 19; // 0x13 4222*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_REGISTRATION = 3; // 0x3 4223*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_SMS_SERVICES = 4; // 0x4 4224*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_TELEPHONY = 2; // 0x2 4225*344a7f5eSAndroid Build Coastguard Worker field public static final int SS_WAIT = 12; // 0xc 4226*344a7f5eSAndroid Build Coastguard Worker } 4227*344a7f5eSAndroid Build Coastguard Worker 4228*344a7f5eSAndroid Build Coastguard Worker public static final class ImsSsData.Builder { 4229*344a7f5eSAndroid Build Coastguard Worker ctor public ImsSsData.Builder(int, int, int, int, int); 4230*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.ImsSsData build(); 4231*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.ImsSsData.Builder setCallForwardingInfo(@NonNull java.util.List<android.telephony.ims.ImsCallForwardInfo>); 4232*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.ImsSsData.Builder setSuppServiceInfo(@NonNull java.util.List<android.telephony.ims.ImsSsInfo>); 4233*344a7f5eSAndroid Build Coastguard Worker } 4234*344a7f5eSAndroid Build Coastguard Worker 4235*344a7f5eSAndroid Build Coastguard Worker public final class ImsSsInfo implements android.os.Parcelable { 4236*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public ImsSsInfo(int, @Nullable String); 4237*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 4238*344a7f5eSAndroid Build Coastguard Worker method public int getClirInterrogationStatus(); 4239*344a7f5eSAndroid Build Coastguard Worker method public int getClirOutgoingState(); 4240*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public String getIcbNum(); 4241*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getIncomingCommunicationBarringNumber(); 4242*344a7f5eSAndroid Build Coastguard Worker method public int getProvisionStatus(); 4243*344a7f5eSAndroid Build Coastguard Worker method public int getStatus(); 4244*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 4245*344a7f5eSAndroid Build Coastguard Worker field public static final int CLIR_OUTGOING_DEFAULT = 0; // 0x0 4246*344a7f5eSAndroid Build Coastguard Worker field public static final int CLIR_OUTGOING_INVOCATION = 1; // 0x1 4247*344a7f5eSAndroid Build Coastguard Worker field public static final int CLIR_OUTGOING_SUPPRESSION = 2; // 0x2 4248*344a7f5eSAndroid Build Coastguard Worker field public static final int CLIR_STATUS_NOT_PROVISIONED = 0; // 0x0 4249*344a7f5eSAndroid Build Coastguard Worker field public static final int CLIR_STATUS_PROVISIONED_PERMANENT = 1; // 0x1 4250*344a7f5eSAndroid Build Coastguard Worker field public static final int CLIR_STATUS_TEMPORARILY_ALLOWED = 4; // 0x4 4251*344a7f5eSAndroid Build Coastguard Worker field public static final int CLIR_STATUS_TEMPORARILY_RESTRICTED = 3; // 0x3 4252*344a7f5eSAndroid Build Coastguard Worker field public static final int CLIR_STATUS_UNKNOWN = 2; // 0x2 4253*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsSsInfo> CREATOR; 4254*344a7f5eSAndroid Build Coastguard Worker field public static final int DISABLED = 0; // 0x0 4255*344a7f5eSAndroid Build Coastguard Worker field public static final int ENABLED = 1; // 0x1 4256*344a7f5eSAndroid Build Coastguard Worker field public static final int NOT_REGISTERED = -1; // 0xffffffff 4257*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_NOT_PROVISIONED = 0; // 0x0 4258*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_PROVISIONED = 1; // 0x1 4259*344a7f5eSAndroid Build Coastguard Worker field public static final int SERVICE_PROVISIONING_UNKNOWN = -1; // 0xffffffff 4260*344a7f5eSAndroid Build Coastguard Worker } 4261*344a7f5eSAndroid Build Coastguard Worker 4262*344a7f5eSAndroid Build Coastguard Worker public static final class ImsSsInfo.Builder { 4263*344a7f5eSAndroid Build Coastguard Worker ctor public ImsSsInfo.Builder(int); 4264*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.ImsSsInfo build(); 4265*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.ImsSsInfo.Builder setClirInterrogationStatus(int); 4266*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.ImsSsInfo.Builder setClirOutgoingState(int); 4267*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.ImsSsInfo.Builder setIncomingCommunicationBarringNumber(@NonNull String); 4268*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.ImsSsInfo.Builder setProvisionStatus(int); 4269*344a7f5eSAndroid Build Coastguard Worker } 4270*344a7f5eSAndroid Build Coastguard Worker 4271*344a7f5eSAndroid Build Coastguard Worker public final class ImsStreamMediaProfile implements android.os.Parcelable { 4272*344a7f5eSAndroid Build Coastguard Worker ctor public ImsStreamMediaProfile(int, int, int, int, int); 4273*344a7f5eSAndroid Build Coastguard Worker method public void copyFrom(android.telephony.ims.ImsStreamMediaProfile); 4274*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 4275*344a7f5eSAndroid Build Coastguard Worker method public int getAudioDirection(); 4276*344a7f5eSAndroid Build Coastguard Worker method public int getAudioQuality(); 4277*344a7f5eSAndroid Build Coastguard Worker method public int getRttMode(); 4278*344a7f5eSAndroid Build Coastguard Worker method public int getVideoDirection(); 4279*344a7f5eSAndroid Build Coastguard Worker method public int getVideoQuality(); 4280*344a7f5eSAndroid Build Coastguard Worker method public boolean isReceivingRttAudio(); 4281*344a7f5eSAndroid Build Coastguard Worker method public boolean isRttCall(); 4282*344a7f5eSAndroid Build Coastguard Worker method public void setReceivingRttAudio(boolean); 4283*344a7f5eSAndroid Build Coastguard Worker method public void setRttMode(int); 4284*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 4285*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_AMR = 1; // 0x1 4286*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_AMR_WB = 2; // 0x2 4287*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_EVRC = 4; // 0x4 4288*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_EVRC_B = 5; // 0x5 4289*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_EVRC_NW = 7; // 0x7 4290*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_EVRC_WB = 6; // 0x6 4291*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_EVS_FB = 20; // 0x14 4292*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_EVS_NB = 17; // 0x11 4293*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_EVS_SWB = 19; // 0x13 4294*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_EVS_WB = 18; // 0x12 4295*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_G711A = 13; // 0xd 4296*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_G711AB = 15; // 0xf 4297*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_G711U = 11; // 0xb 4298*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_G722 = 14; // 0xe 4299*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_G723 = 12; // 0xc 4300*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_G729 = 16; // 0x10 4301*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_GSM_EFR = 8; // 0x8 4302*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_GSM_FR = 9; // 0x9 4303*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_GSM_HR = 10; // 0xa 4304*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_NONE = 0; // 0x0 4305*344a7f5eSAndroid Build Coastguard Worker field public static final int AUDIO_QUALITY_QCELP13K = 3; // 0x3 4306*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsStreamMediaProfile> CREATOR; 4307*344a7f5eSAndroid Build Coastguard Worker field public static final int DIRECTION_INACTIVE = 0; // 0x0 4308*344a7f5eSAndroid Build Coastguard Worker field public static final int DIRECTION_INVALID = -1; // 0xffffffff 4309*344a7f5eSAndroid Build Coastguard Worker field public static final int DIRECTION_RECEIVE = 1; // 0x1 4310*344a7f5eSAndroid Build Coastguard Worker field public static final int DIRECTION_SEND = 2; // 0x2 4311*344a7f5eSAndroid Build Coastguard Worker field public static final int DIRECTION_SEND_RECEIVE = 3; // 0x3 4312*344a7f5eSAndroid Build Coastguard Worker field public static final int RTT_MODE_DISABLED = 0; // 0x0 4313*344a7f5eSAndroid Build Coastguard Worker field public static final int RTT_MODE_FULL = 1; // 0x1 4314*344a7f5eSAndroid Build Coastguard Worker field public static final int VIDEO_QUALITY_NONE = 0; // 0x0 4315*344a7f5eSAndroid Build Coastguard Worker field public static final int VIDEO_QUALITY_QCIF = 1; // 0x1 4316*344a7f5eSAndroid Build Coastguard Worker field public static final int VIDEO_QUALITY_QVGA_LANDSCAPE = 2; // 0x2 4317*344a7f5eSAndroid Build Coastguard Worker field public static final int VIDEO_QUALITY_QVGA_PORTRAIT = 4; // 0x4 4318*344a7f5eSAndroid Build Coastguard Worker field public static final int VIDEO_QUALITY_VGA_LANDSCAPE = 8; // 0x8 4319*344a7f5eSAndroid Build Coastguard Worker field public static final int VIDEO_QUALITY_VGA_PORTRAIT = 16; // 0x10 4320*344a7f5eSAndroid Build Coastguard Worker } 4321*344a7f5eSAndroid Build Coastguard Worker 4322*344a7f5eSAndroid Build Coastguard Worker public final class ImsSuppServiceNotification implements android.os.Parcelable { 4323*344a7f5eSAndroid Build Coastguard Worker ctor public ImsSuppServiceNotification(int, int, int, int, String, String[]); 4324*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 4325*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 4326*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.ImsSuppServiceNotification> CREATOR; 4327*344a7f5eSAndroid Build Coastguard Worker field public final int code; 4328*344a7f5eSAndroid Build Coastguard Worker field public final String[] history; 4329*344a7f5eSAndroid Build Coastguard Worker field public final int index; 4330*344a7f5eSAndroid Build Coastguard Worker field public final int notificationType; 4331*344a7f5eSAndroid Build Coastguard Worker field public final String number; 4332*344a7f5eSAndroid Build Coastguard Worker field public final int type; 4333*344a7f5eSAndroid Build Coastguard Worker } 4334*344a7f5eSAndroid Build Coastguard Worker 4335*344a7f5eSAndroid Build Coastguard Worker public class ImsUtListener { 4336*344a7f5eSAndroid Build Coastguard Worker method public void onLineIdentificationSupplementaryServiceResponse(int, @NonNull android.telephony.ims.ImsSsInfo); 4337*344a7f5eSAndroid Build Coastguard Worker method public void onSupplementaryServiceIndication(android.telephony.ims.ImsSsData); 4338*344a7f5eSAndroid Build Coastguard Worker method public void onUtConfigurationCallBarringQueried(int, android.telephony.ims.ImsSsInfo[]); 4339*344a7f5eSAndroid Build Coastguard Worker method public void onUtConfigurationCallForwardQueried(int, android.telephony.ims.ImsCallForwardInfo[]); 4340*344a7f5eSAndroid Build Coastguard Worker method public void onUtConfigurationCallWaitingQueried(int, android.telephony.ims.ImsSsInfo[]); 4341*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void onUtConfigurationQueried(int, android.os.Bundle); 4342*344a7f5eSAndroid Build Coastguard Worker method public void onUtConfigurationQueryFailed(int, android.telephony.ims.ImsReasonInfo); 4343*344a7f5eSAndroid Build Coastguard Worker method public void onUtConfigurationUpdateFailed(int, android.telephony.ims.ImsReasonInfo); 4344*344a7f5eSAndroid Build Coastguard Worker method public void onUtConfigurationUpdated(int); 4345*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String BUNDLE_KEY_CLIR = "queryClir"; 4346*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final String BUNDLE_KEY_SSINFO = "imsSsInfo"; 4347*344a7f5eSAndroid Build Coastguard Worker } 4348*344a7f5eSAndroid Build Coastguard Worker 4349*344a7f5eSAndroid Build Coastguard Worker public abstract class ImsVideoCallProvider { 4350*344a7f5eSAndroid Build Coastguard Worker ctor public ImsVideoCallProvider(); 4351*344a7f5eSAndroid Build Coastguard Worker method public void changeCallDataUsage(long); 4352*344a7f5eSAndroid Build Coastguard Worker method public void changeCameraCapabilities(android.telecom.VideoProfile.CameraCapabilities); 4353*344a7f5eSAndroid Build Coastguard Worker method public void changePeerDimensions(int, int); 4354*344a7f5eSAndroid Build Coastguard Worker method public void changeVideoQuality(int); 4355*344a7f5eSAndroid Build Coastguard Worker method public void handleCallSessionEvent(int); 4356*344a7f5eSAndroid Build Coastguard Worker method public abstract void onRequestCallDataUsage(); 4357*344a7f5eSAndroid Build Coastguard Worker method public abstract void onRequestCameraCapabilities(); 4358*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSendSessionModifyRequest(android.telecom.VideoProfile, android.telecom.VideoProfile); 4359*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSendSessionModifyResponse(android.telecom.VideoProfile); 4360*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSetCamera(String); 4361*344a7f5eSAndroid Build Coastguard Worker method public void onSetCamera(String, int); 4362*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSetDeviceOrientation(int); 4363*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSetDisplaySurface(android.view.Surface); 4364*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSetPauseImage(android.net.Uri); 4365*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSetPreviewSurface(android.view.Surface); 4366*344a7f5eSAndroid Build Coastguard Worker method public abstract void onSetZoom(float); 4367*344a7f5eSAndroid Build Coastguard Worker method public void receiveSessionModifyRequest(android.telecom.VideoProfile); 4368*344a7f5eSAndroid Build Coastguard Worker method public void receiveSessionModifyResponse(int, android.telecom.VideoProfile, android.telecom.VideoProfile); 4369*344a7f5eSAndroid Build Coastguard Worker } 4370*344a7f5eSAndroid Build Coastguard Worker 4371*344a7f5eSAndroid Build Coastguard Worker public class ProvisioningManager { 4372*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.telephony.ims.ProvisioningManager createForSubscriptionId(int); 4373*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") @WorkerThread public int getProvisioningIntValue(int); 4374*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") @WorkerThread public boolean getProvisioningStatusForCapability(int, int); 4375*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") @WorkerThread public String getProvisioningStringValue(int); 4376*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") @WorkerThread public boolean getRcsProvisioningStatusForCapability(int); 4377*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void notifyRcsAutoConfigurationReceived(@NonNull byte[], boolean); 4378*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public void registerProvisioningChangedCallback(@NonNull java.util.concurrent.Executor, @NonNull android.telephony.ims.ProvisioningManager.Callback) throws android.telephony.ims.ImsException; 4379*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public int setProvisioningIntValue(int, int); 4380*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public void setProvisioningStatusForCapability(int, int, boolean); 4381*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public int setProvisioningStringValue(int, @NonNull String); 4382*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) @WorkerThread public void setRcsProvisioningStatusForCapability(int, boolean); 4383*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE") public void unregisterProvisioningChangedCallback(@NonNull android.telephony.ims.ProvisioningManager.Callback); 4384*344a7f5eSAndroid Build Coastguard Worker field public static final int KEY_VOICE_OVER_WIFI_MODE_OVERRIDE = 27; // 0x1b 4385*344a7f5eSAndroid Build Coastguard Worker field public static final int KEY_VOICE_OVER_WIFI_ROAMING_ENABLED_OVERRIDE = 26; // 0x1a 4386*344a7f5eSAndroid Build Coastguard Worker field public static final int PROVISIONING_VALUE_DISABLED = 0; // 0x0 4387*344a7f5eSAndroid Build Coastguard Worker field public static final int PROVISIONING_VALUE_ENABLED = 1; // 0x1 4388*344a7f5eSAndroid Build Coastguard Worker field public static final String STRING_QUERY_RESULT_ERROR_GENERIC = "STRING_QUERY_RESULT_ERROR_GENERIC"; 4389*344a7f5eSAndroid Build Coastguard Worker field public static final String STRING_QUERY_RESULT_ERROR_NOT_READY = "STRING_QUERY_RESULT_ERROR_NOT_READY"; 4390*344a7f5eSAndroid Build Coastguard Worker } 4391*344a7f5eSAndroid Build Coastguard Worker 4392*344a7f5eSAndroid Build Coastguard Worker public static class ProvisioningManager.Callback { 4393*344a7f5eSAndroid Build Coastguard Worker ctor public ProvisioningManager.Callback(); 4394*344a7f5eSAndroid Build Coastguard Worker method public void onProvisioningIntChanged(int, int); 4395*344a7f5eSAndroid Build Coastguard Worker method public void onProvisioningStringChanged(int, @NonNull String); 4396*344a7f5eSAndroid Build Coastguard Worker } 4397*344a7f5eSAndroid Build Coastguard Worker 4398*344a7f5eSAndroid Build Coastguard Worker public class RcsUceAdapter { 4399*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void setUceSettingEnabled(boolean) throws android.telephony.ims.ImsException; 4400*344a7f5eSAndroid Build Coastguard Worker } 4401*344a7f5eSAndroid Build Coastguard Worker 4402*344a7f5eSAndroid Build Coastguard Worker} 4403*344a7f5eSAndroid Build Coastguard Worker 4404*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.ims.feature { 4405*344a7f5eSAndroid Build Coastguard Worker 4406*344a7f5eSAndroid Build Coastguard Worker public final class CapabilityChangeRequest implements android.os.Parcelable { 4407*344a7f5eSAndroid Build Coastguard Worker method public void addCapabilitiesToDisableForTech(int, int); 4408*344a7f5eSAndroid Build Coastguard Worker method public void addCapabilitiesToEnableForTech(int, int); 4409*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 4410*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<android.telephony.ims.feature.CapabilityChangeRequest.CapabilityPair> getCapabilitiesToDisable(); 4411*344a7f5eSAndroid Build Coastguard Worker method public java.util.List<android.telephony.ims.feature.CapabilityChangeRequest.CapabilityPair> getCapabilitiesToEnable(); 4412*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 4413*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.feature.CapabilityChangeRequest> CREATOR; 4414*344a7f5eSAndroid Build Coastguard Worker } 4415*344a7f5eSAndroid Build Coastguard Worker 4416*344a7f5eSAndroid Build Coastguard Worker public static class CapabilityChangeRequest.CapabilityPair { 4417*344a7f5eSAndroid Build Coastguard Worker ctor public CapabilityChangeRequest.CapabilityPair(int, int); 4418*344a7f5eSAndroid Build Coastguard Worker method public int getCapability(); 4419*344a7f5eSAndroid Build Coastguard Worker method public int getRadioTech(); 4420*344a7f5eSAndroid Build Coastguard Worker } 4421*344a7f5eSAndroid Build Coastguard Worker 4422*344a7f5eSAndroid Build Coastguard Worker public abstract class ImsFeature { 4423*344a7f5eSAndroid Build Coastguard Worker ctor public ImsFeature(); 4424*344a7f5eSAndroid Build Coastguard Worker method public abstract void changeEnabledCapabilities(android.telephony.ims.feature.CapabilityChangeRequest, android.telephony.ims.feature.ImsFeature.CapabilityCallbackProxy); 4425*344a7f5eSAndroid Build Coastguard Worker method public int getFeatureState(); 4426*344a7f5eSAndroid Build Coastguard Worker method public final int getSlotIndex(); 4427*344a7f5eSAndroid Build Coastguard Worker method public abstract void onFeatureReady(); 4428*344a7f5eSAndroid Build Coastguard Worker method public abstract void onFeatureRemoved(); 4429*344a7f5eSAndroid Build Coastguard Worker method public final void setFeatureState(int); 4430*344a7f5eSAndroid Build Coastguard Worker field public static final int CAPABILITY_ERROR_GENERIC = -1; // 0xffffffff 4431*344a7f5eSAndroid Build Coastguard Worker field public static final int CAPABILITY_SUCCESS = 0; // 0x0 4432*344a7f5eSAndroid Build Coastguard Worker field public static final int FEATURE_EMERGENCY_MMTEL = 0; // 0x0 4433*344a7f5eSAndroid Build Coastguard Worker field public static final int FEATURE_MMTEL = 1; // 0x1 4434*344a7f5eSAndroid Build Coastguard Worker field public static final int FEATURE_RCS = 2; // 0x2 4435*344a7f5eSAndroid Build Coastguard Worker field public static final int STATE_INITIALIZING = 1; // 0x1 4436*344a7f5eSAndroid Build Coastguard Worker field public static final int STATE_READY = 2; // 0x2 4437*344a7f5eSAndroid Build Coastguard Worker field public static final int STATE_UNAVAILABLE = 0; // 0x0 4438*344a7f5eSAndroid Build Coastguard Worker } 4439*344a7f5eSAndroid Build Coastguard Worker 4440*344a7f5eSAndroid Build Coastguard Worker @Deprecated public static class ImsFeature.Capabilities { 4441*344a7f5eSAndroid Build Coastguard Worker field @Deprecated protected int mCapabilities; 4442*344a7f5eSAndroid Build Coastguard Worker } 4443*344a7f5eSAndroid Build Coastguard Worker 4444*344a7f5eSAndroid Build Coastguard Worker protected static class ImsFeature.CapabilityCallbackProxy { 4445*344a7f5eSAndroid Build Coastguard Worker method public void onChangeCapabilityConfigurationError(int, int, int); 4446*344a7f5eSAndroid Build Coastguard Worker } 4447*344a7f5eSAndroid Build Coastguard Worker 4448*344a7f5eSAndroid Build Coastguard Worker public class MmTelFeature extends android.telephony.ims.feature.ImsFeature { 4449*344a7f5eSAndroid Build Coastguard Worker ctor public MmTelFeature(); 4450*344a7f5eSAndroid Build Coastguard Worker method public void changeEnabledCapabilities(@NonNull android.telephony.ims.feature.CapabilityChangeRequest, @NonNull android.telephony.ims.feature.ImsFeature.CapabilityCallbackProxy); 4451*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.telephony.ims.ImsCallProfile createCallProfile(int, int); 4452*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.telephony.ims.stub.ImsCallSessionImplBase createCallSession(@NonNull android.telephony.ims.ImsCallProfile); 4453*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.stub.ImsEcbmImplBase getEcbm(); 4454*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.stub.ImsMultiEndpointImplBase getMultiEndpoint(); 4455*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.stub.ImsSmsImplBase getSmsImplementation(); 4456*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.telephony.ims.stub.ImsUtImplBase getUt(); 4457*344a7f5eSAndroid Build Coastguard Worker method public final void notifyCapabilitiesStatusChanged(@NonNull android.telephony.ims.feature.MmTelFeature.MmTelCapabilities); 4458*344a7f5eSAndroid Build Coastguard Worker method public final void notifyIncomingCall(@NonNull android.telephony.ims.stub.ImsCallSessionImplBase, @NonNull android.os.Bundle); 4459*344a7f5eSAndroid Build Coastguard Worker method public final void notifyRejectedCall(@NonNull android.telephony.ims.ImsCallProfile, @NonNull android.telephony.ims.ImsReasonInfo); 4460*344a7f5eSAndroid Build Coastguard Worker method public final void notifyVoiceMessageCountUpdate(int); 4461*344a7f5eSAndroid Build Coastguard Worker method public void onFeatureReady(); 4462*344a7f5eSAndroid Build Coastguard Worker method public void onFeatureRemoved(); 4463*344a7f5eSAndroid Build Coastguard Worker method public boolean queryCapabilityConfiguration(int, int); 4464*344a7f5eSAndroid Build Coastguard Worker method @NonNull public final android.telephony.ims.feature.MmTelFeature.MmTelCapabilities queryCapabilityStatus(); 4465*344a7f5eSAndroid Build Coastguard Worker method public void setUiTtyMode(int, @Nullable android.os.Message); 4466*344a7f5eSAndroid Build Coastguard Worker method public int shouldProcessCall(@NonNull String[]); 4467*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_IS_UNKNOWN_CALL = "android.telephony.ims.feature.extra.IS_UNKNOWN_CALL"; 4468*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_IS_USSD = "android.telephony.ims.feature.extra.IS_USSD"; 4469*344a7f5eSAndroid Build Coastguard Worker field public static final int PROCESS_CALL_CSFB = 1; // 0x1 4470*344a7f5eSAndroid Build Coastguard Worker field public static final int PROCESS_CALL_IMS = 0; // 0x0 4471*344a7f5eSAndroid Build Coastguard Worker } 4472*344a7f5eSAndroid Build Coastguard Worker 4473*344a7f5eSAndroid Build Coastguard Worker public static class MmTelFeature.MmTelCapabilities extends android.telephony.ims.feature.ImsFeature.Capabilities { 4474*344a7f5eSAndroid Build Coastguard Worker ctor public MmTelFeature.MmTelCapabilities(); 4475*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public MmTelFeature.MmTelCapabilities(android.telephony.ims.feature.ImsFeature.Capabilities); 4476*344a7f5eSAndroid Build Coastguard Worker ctor public MmTelFeature.MmTelCapabilities(int); 4477*344a7f5eSAndroid Build Coastguard Worker method public final void addCapabilities(int); 4478*344a7f5eSAndroid Build Coastguard Worker method public final boolean isCapable(int); 4479*344a7f5eSAndroid Build Coastguard Worker method public final void removeCapabilities(int); 4480*344a7f5eSAndroid Build Coastguard Worker } 4481*344a7f5eSAndroid Build Coastguard Worker 4482*344a7f5eSAndroid Build Coastguard Worker public class RcsFeature extends android.telephony.ims.feature.ImsFeature { 4483*344a7f5eSAndroid Build Coastguard Worker ctor public RcsFeature(); 4484*344a7f5eSAndroid Build Coastguard Worker method public void changeEnabledCapabilities(@NonNull android.telephony.ims.feature.CapabilityChangeRequest, @NonNull android.telephony.ims.feature.ImsFeature.CapabilityCallbackProxy); 4485*344a7f5eSAndroid Build Coastguard Worker method public void onFeatureReady(); 4486*344a7f5eSAndroid Build Coastguard Worker method public void onFeatureRemoved(); 4487*344a7f5eSAndroid Build Coastguard Worker } 4488*344a7f5eSAndroid Build Coastguard Worker 4489*344a7f5eSAndroid Build Coastguard Worker} 4490*344a7f5eSAndroid Build Coastguard Worker 4491*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.ims.stub { 4492*344a7f5eSAndroid Build Coastguard Worker 4493*344a7f5eSAndroid Build Coastguard Worker public class ImsCallSessionImplBase implements java.lang.AutoCloseable { 4494*344a7f5eSAndroid Build Coastguard Worker ctor public ImsCallSessionImplBase(); 4495*344a7f5eSAndroid Build Coastguard Worker method public void accept(int, android.telephony.ims.ImsStreamMediaProfile); 4496*344a7f5eSAndroid Build Coastguard Worker method public void close(); 4497*344a7f5eSAndroid Build Coastguard Worker method public void deflect(String); 4498*344a7f5eSAndroid Build Coastguard Worker method public void extendToConference(String[]); 4499*344a7f5eSAndroid Build Coastguard Worker method public String getCallId(); 4500*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.ImsCallProfile getCallProfile(); 4501*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.ImsVideoCallProvider getImsVideoCallProvider(); 4502*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.ImsCallProfile getLocalCallProfile(); 4503*344a7f5eSAndroid Build Coastguard Worker method public String getProperty(String); 4504*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.ImsCallProfile getRemoteCallProfile(); 4505*344a7f5eSAndroid Build Coastguard Worker method public int getState(); 4506*344a7f5eSAndroid Build Coastguard Worker method public void hold(android.telephony.ims.ImsStreamMediaProfile); 4507*344a7f5eSAndroid Build Coastguard Worker method public void inviteParticipants(String[]); 4508*344a7f5eSAndroid Build Coastguard Worker method public boolean isInCall(); 4509*344a7f5eSAndroid Build Coastguard Worker method public boolean isMultiparty(); 4510*344a7f5eSAndroid Build Coastguard Worker method public void merge(); 4511*344a7f5eSAndroid Build Coastguard Worker method public void reject(int); 4512*344a7f5eSAndroid Build Coastguard Worker method public void removeParticipants(String[]); 4513*344a7f5eSAndroid Build Coastguard Worker method public void resume(android.telephony.ims.ImsStreamMediaProfile); 4514*344a7f5eSAndroid Build Coastguard Worker method public void sendDtmf(char, android.os.Message); 4515*344a7f5eSAndroid Build Coastguard Worker method public void sendRttMessage(String); 4516*344a7f5eSAndroid Build Coastguard Worker method public void sendRttModifyRequest(android.telephony.ims.ImsCallProfile); 4517*344a7f5eSAndroid Build Coastguard Worker method public void sendRttModifyResponse(boolean); 4518*344a7f5eSAndroid Build Coastguard Worker method public void sendUssd(String); 4519*344a7f5eSAndroid Build Coastguard Worker method public void setListener(android.telephony.ims.ImsCallSessionListener); 4520*344a7f5eSAndroid Build Coastguard Worker method public void setMute(boolean); 4521*344a7f5eSAndroid Build Coastguard Worker method public void start(String, android.telephony.ims.ImsCallProfile); 4522*344a7f5eSAndroid Build Coastguard Worker method public void startConference(String[], android.telephony.ims.ImsCallProfile); 4523*344a7f5eSAndroid Build Coastguard Worker method public void startDtmf(char); 4524*344a7f5eSAndroid Build Coastguard Worker method public void stopDtmf(); 4525*344a7f5eSAndroid Build Coastguard Worker method public void terminate(int); 4526*344a7f5eSAndroid Build Coastguard Worker method public void update(int, android.telephony.ims.ImsStreamMediaProfile); 4527*344a7f5eSAndroid Build Coastguard Worker field public static final int USSD_MODE_NOTIFY = 0; // 0x0 4528*344a7f5eSAndroid Build Coastguard Worker field public static final int USSD_MODE_REQUEST = 1; // 0x1 4529*344a7f5eSAndroid Build Coastguard Worker } 4530*344a7f5eSAndroid Build Coastguard Worker 4531*344a7f5eSAndroid Build Coastguard Worker public static class ImsCallSessionImplBase.State { 4532*344a7f5eSAndroid Build Coastguard Worker method public static String toString(int); 4533*344a7f5eSAndroid Build Coastguard Worker field public static final int ESTABLISHED = 4; // 0x4 4534*344a7f5eSAndroid Build Coastguard Worker field public static final int ESTABLISHING = 3; // 0x3 4535*344a7f5eSAndroid Build Coastguard Worker field public static final int IDLE = 0; // 0x0 4536*344a7f5eSAndroid Build Coastguard Worker field public static final int INITIATED = 1; // 0x1 4537*344a7f5eSAndroid Build Coastguard Worker field public static final int INVALID = -1; // 0xffffffff 4538*344a7f5eSAndroid Build Coastguard Worker field public static final int NEGOTIATING = 2; // 0x2 4539*344a7f5eSAndroid Build Coastguard Worker field public static final int REESTABLISHING = 6; // 0x6 4540*344a7f5eSAndroid Build Coastguard Worker field public static final int RENEGOTIATING = 5; // 0x5 4541*344a7f5eSAndroid Build Coastguard Worker field public static final int TERMINATED = 8; // 0x8 4542*344a7f5eSAndroid Build Coastguard Worker field public static final int TERMINATING = 7; // 0x7 4543*344a7f5eSAndroid Build Coastguard Worker } 4544*344a7f5eSAndroid Build Coastguard Worker 4545*344a7f5eSAndroid Build Coastguard Worker public class ImsConfigImplBase { 4546*344a7f5eSAndroid Build Coastguard Worker ctor public ImsConfigImplBase(); 4547*344a7f5eSAndroid Build Coastguard Worker method public int getConfigInt(int); 4548*344a7f5eSAndroid Build Coastguard Worker method public String getConfigString(int); 4549*344a7f5eSAndroid Build Coastguard Worker method public final void notifyProvisionedValueChanged(int, int); 4550*344a7f5eSAndroid Build Coastguard Worker method public final void notifyProvisionedValueChanged(int, String); 4551*344a7f5eSAndroid Build Coastguard Worker method public void notifyRcsAutoConfigurationReceived(@NonNull byte[], boolean); 4552*344a7f5eSAndroid Build Coastguard Worker method public int setConfig(int, int); 4553*344a7f5eSAndroid Build Coastguard Worker method public int setConfig(int, String); 4554*344a7f5eSAndroid Build Coastguard Worker field public static final int CONFIG_RESULT_FAILED = 1; // 0x1 4555*344a7f5eSAndroid Build Coastguard Worker field public static final int CONFIG_RESULT_SUCCESS = 0; // 0x0 4556*344a7f5eSAndroid Build Coastguard Worker field public static final int CONFIG_RESULT_UNKNOWN = -1; // 0xffffffff 4557*344a7f5eSAndroid Build Coastguard Worker } 4558*344a7f5eSAndroid Build Coastguard Worker 4559*344a7f5eSAndroid Build Coastguard Worker public class ImsEcbmImplBase { 4560*344a7f5eSAndroid Build Coastguard Worker ctor public ImsEcbmImplBase(); 4561*344a7f5eSAndroid Build Coastguard Worker method public final void enteredEcbm(); 4562*344a7f5eSAndroid Build Coastguard Worker method public void exitEmergencyCallbackMode(); 4563*344a7f5eSAndroid Build Coastguard Worker method public final void exitedEcbm(); 4564*344a7f5eSAndroid Build Coastguard Worker } 4565*344a7f5eSAndroid Build Coastguard Worker 4566*344a7f5eSAndroid Build Coastguard Worker public final class ImsFeatureConfiguration implements android.os.Parcelable { 4567*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 4568*344a7f5eSAndroid Build Coastguard Worker method public java.util.Set<android.telephony.ims.stub.ImsFeatureConfiguration.FeatureSlotPair> getServiceFeatures(); 4569*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 4570*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.stub.ImsFeatureConfiguration> CREATOR; 4571*344a7f5eSAndroid Build Coastguard Worker } 4572*344a7f5eSAndroid Build Coastguard Worker 4573*344a7f5eSAndroid Build Coastguard Worker public static class ImsFeatureConfiguration.Builder { 4574*344a7f5eSAndroid Build Coastguard Worker ctor public ImsFeatureConfiguration.Builder(); 4575*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.stub.ImsFeatureConfiguration.Builder addFeature(int, int); 4576*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.ims.stub.ImsFeatureConfiguration build(); 4577*344a7f5eSAndroid Build Coastguard Worker } 4578*344a7f5eSAndroid Build Coastguard Worker 4579*344a7f5eSAndroid Build Coastguard Worker public static final class ImsFeatureConfiguration.FeatureSlotPair { 4580*344a7f5eSAndroid Build Coastguard Worker ctor public ImsFeatureConfiguration.FeatureSlotPair(int, int); 4581*344a7f5eSAndroid Build Coastguard Worker field public final int featureType; 4582*344a7f5eSAndroid Build Coastguard Worker field public final int slotId; 4583*344a7f5eSAndroid Build Coastguard Worker } 4584*344a7f5eSAndroid Build Coastguard Worker 4585*344a7f5eSAndroid Build Coastguard Worker public class ImsMultiEndpointImplBase { 4586*344a7f5eSAndroid Build Coastguard Worker ctor public ImsMultiEndpointImplBase(); 4587*344a7f5eSAndroid Build Coastguard Worker method public final void onImsExternalCallStateUpdate(java.util.List<android.telephony.ims.ImsExternalCallState>); 4588*344a7f5eSAndroid Build Coastguard Worker method public void requestImsExternalCallStateInfo(); 4589*344a7f5eSAndroid Build Coastguard Worker } 4590*344a7f5eSAndroid Build Coastguard Worker 4591*344a7f5eSAndroid Build Coastguard Worker public class ImsRegistrationImplBase { 4592*344a7f5eSAndroid Build Coastguard Worker ctor public ImsRegistrationImplBase(); 4593*344a7f5eSAndroid Build Coastguard Worker method public final void onDeregistered(android.telephony.ims.ImsReasonInfo); 4594*344a7f5eSAndroid Build Coastguard Worker method public final void onRegistered(int); 4595*344a7f5eSAndroid Build Coastguard Worker method public final void onRegistering(int); 4596*344a7f5eSAndroid Build Coastguard Worker method public final void onSubscriberAssociatedUriChanged(android.net.Uri[]); 4597*344a7f5eSAndroid Build Coastguard Worker method public final void onTechnologyChangeFailed(int, android.telephony.ims.ImsReasonInfo); 4598*344a7f5eSAndroid Build Coastguard Worker field public static final int REGISTRATION_TECH_IWLAN = 1; // 0x1 4599*344a7f5eSAndroid Build Coastguard Worker field public static final int REGISTRATION_TECH_LTE = 0; // 0x0 4600*344a7f5eSAndroid Build Coastguard Worker field public static final int REGISTRATION_TECH_NONE = -1; // 0xffffffff 4601*344a7f5eSAndroid Build Coastguard Worker } 4602*344a7f5eSAndroid Build Coastguard Worker 4603*344a7f5eSAndroid Build Coastguard Worker public class ImsSmsImplBase { 4604*344a7f5eSAndroid Build Coastguard Worker ctor public ImsSmsImplBase(); 4605*344a7f5eSAndroid Build Coastguard Worker method public void acknowledgeSms(int, @IntRange(from=0, to=65535) int, int); 4606*344a7f5eSAndroid Build Coastguard Worker method public void acknowledgeSmsReport(int, @IntRange(from=0, to=65535) int, int); 4607*344a7f5eSAndroid Build Coastguard Worker method public String getSmsFormat(); 4608*344a7f5eSAndroid Build Coastguard Worker method public void onReady(); 4609*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public final void onSendSmsResult(int, @IntRange(from=0, to=65535) int, int, int) throws java.lang.RuntimeException; 4610*344a7f5eSAndroid Build Coastguard Worker method public final void onSendSmsResultError(int, @IntRange(from=0, to=65535) int, int, int, int) throws java.lang.RuntimeException; 4611*344a7f5eSAndroid Build Coastguard Worker method public final void onSendSmsResultSuccess(int, @IntRange(from=0, to=65535) int) throws java.lang.RuntimeException; 4612*344a7f5eSAndroid Build Coastguard Worker method public final void onSmsReceived(int, String, byte[]) throws java.lang.RuntimeException; 4613*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public final void onSmsStatusReportReceived(int, @IntRange(from=0, to=65535) int, String, byte[]) throws java.lang.RuntimeException; 4614*344a7f5eSAndroid Build Coastguard Worker method public final void onSmsStatusReportReceived(int, String, byte[]) throws java.lang.RuntimeException; 4615*344a7f5eSAndroid Build Coastguard Worker method public void sendSms(int, @IntRange(from=0, to=65535) int, String, String, boolean, byte[]); 4616*344a7f5eSAndroid Build Coastguard Worker field public static final int DELIVER_STATUS_ERROR_GENERIC = 2; // 0x2 4617*344a7f5eSAndroid Build Coastguard Worker field public static final int DELIVER_STATUS_ERROR_NO_MEMORY = 3; // 0x3 4618*344a7f5eSAndroid Build Coastguard Worker field public static final int DELIVER_STATUS_ERROR_REQUEST_NOT_SUPPORTED = 4; // 0x4 4619*344a7f5eSAndroid Build Coastguard Worker field public static final int DELIVER_STATUS_OK = 1; // 0x1 4620*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_NO_NETWORK_ERROR = -1; // 0xffffffff 4621*344a7f5eSAndroid Build Coastguard Worker field public static final int SEND_STATUS_ERROR = 2; // 0x2 4622*344a7f5eSAndroid Build Coastguard Worker field public static final int SEND_STATUS_ERROR_FALLBACK = 4; // 0x4 4623*344a7f5eSAndroid Build Coastguard Worker field public static final int SEND_STATUS_ERROR_RETRY = 3; // 0x3 4624*344a7f5eSAndroid Build Coastguard Worker field public static final int SEND_STATUS_OK = 1; // 0x1 4625*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_REPORT_STATUS_ERROR = 2; // 0x2 4626*344a7f5eSAndroid Build Coastguard Worker field public static final int STATUS_REPORT_STATUS_OK = 1; // 0x1 4627*344a7f5eSAndroid Build Coastguard Worker } 4628*344a7f5eSAndroid Build Coastguard Worker 4629*344a7f5eSAndroid Build Coastguard Worker public class ImsUtImplBase { 4630*344a7f5eSAndroid Build Coastguard Worker ctor public ImsUtImplBase(); 4631*344a7f5eSAndroid Build Coastguard Worker method public void close(); 4632*344a7f5eSAndroid Build Coastguard Worker method public int queryCallBarring(int); 4633*344a7f5eSAndroid Build Coastguard Worker method public int queryCallBarringForServiceClass(int, int); 4634*344a7f5eSAndroid Build Coastguard Worker method public int queryCallForward(int, String); 4635*344a7f5eSAndroid Build Coastguard Worker method public int queryCallWaiting(); 4636*344a7f5eSAndroid Build Coastguard Worker method public int queryClip(); 4637*344a7f5eSAndroid Build Coastguard Worker method public int queryClir(); 4638*344a7f5eSAndroid Build Coastguard Worker method public int queryColp(); 4639*344a7f5eSAndroid Build Coastguard Worker method public int queryColr(); 4640*344a7f5eSAndroid Build Coastguard Worker method public void setListener(android.telephony.ims.ImsUtListener); 4641*344a7f5eSAndroid Build Coastguard Worker method public int transact(android.os.Bundle); 4642*344a7f5eSAndroid Build Coastguard Worker method public int updateCallBarring(int, int, String[]); 4643*344a7f5eSAndroid Build Coastguard Worker method public int updateCallBarringForServiceClass(int, int, String[], int); 4644*344a7f5eSAndroid Build Coastguard Worker method public int updateCallForward(int, int, String, int, int); 4645*344a7f5eSAndroid Build Coastguard Worker method public int updateCallWaiting(boolean, int); 4646*344a7f5eSAndroid Build Coastguard Worker method public int updateClip(boolean); 4647*344a7f5eSAndroid Build Coastguard Worker method public int updateClir(int); 4648*344a7f5eSAndroid Build Coastguard Worker method public int updateColp(boolean); 4649*344a7f5eSAndroid Build Coastguard Worker method public int updateColr(int); 4650*344a7f5eSAndroid Build Coastguard Worker } 4651*344a7f5eSAndroid Build Coastguard Worker 4652*344a7f5eSAndroid Build Coastguard Worker} 4653*344a7f5eSAndroid Build Coastguard Worker 4654*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.mbms { 4655*344a7f5eSAndroid Build Coastguard Worker 4656*344a7f5eSAndroid Build Coastguard Worker public static class DownloadRequest.Builder { 4657*344a7f5eSAndroid Build Coastguard Worker method public android.telephony.mbms.DownloadRequest.Builder setServiceId(String); 4658*344a7f5eSAndroid Build Coastguard Worker } 4659*344a7f5eSAndroid Build Coastguard Worker 4660*344a7f5eSAndroid Build Coastguard Worker public final class FileInfo implements android.os.Parcelable { 4661*344a7f5eSAndroid Build Coastguard Worker ctor public FileInfo(android.net.Uri, String); 4662*344a7f5eSAndroid Build Coastguard Worker } 4663*344a7f5eSAndroid Build Coastguard Worker 4664*344a7f5eSAndroid Build Coastguard Worker public final class FileServiceInfo extends android.telephony.mbms.ServiceInfo implements android.os.Parcelable { 4665*344a7f5eSAndroid Build Coastguard Worker ctor public FileServiceInfo(java.util.Map<java.util.Locale,java.lang.String>, String, java.util.List<java.util.Locale>, String, java.util.Date, java.util.Date, java.util.List<android.telephony.mbms.FileInfo>); 4666*344a7f5eSAndroid Build Coastguard Worker } 4667*344a7f5eSAndroid Build Coastguard Worker 4668*344a7f5eSAndroid Build Coastguard Worker public final class StreamingServiceInfo extends android.telephony.mbms.ServiceInfo implements android.os.Parcelable { 4669*344a7f5eSAndroid Build Coastguard Worker ctor public StreamingServiceInfo(java.util.Map<java.util.Locale,java.lang.String>, String, java.util.List<java.util.Locale>, String, java.util.Date, java.util.Date); 4670*344a7f5eSAndroid Build Coastguard Worker } 4671*344a7f5eSAndroid Build Coastguard Worker 4672*344a7f5eSAndroid Build Coastguard Worker public final class UriPathPair implements android.os.Parcelable { 4673*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 4674*344a7f5eSAndroid Build Coastguard Worker method public android.net.Uri getContentUri(); 4675*344a7f5eSAndroid Build Coastguard Worker method public android.net.Uri getFilePathUri(); 4676*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 4677*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.telephony.mbms.UriPathPair> CREATOR; 4678*344a7f5eSAndroid Build Coastguard Worker } 4679*344a7f5eSAndroid Build Coastguard Worker 4680*344a7f5eSAndroid Build Coastguard Worker} 4681*344a7f5eSAndroid Build Coastguard Worker 4682*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony.mbms.vendor { 4683*344a7f5eSAndroid Build Coastguard Worker 4684*344a7f5eSAndroid Build Coastguard Worker public class MbmsDownloadServiceBase extends android.os.Binder implements android.os.IInterface { 4685*344a7f5eSAndroid Build Coastguard Worker ctor public MbmsDownloadServiceBase(); 4686*344a7f5eSAndroid Build Coastguard Worker method public int addProgressListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadProgressListener) throws android.os.RemoteException; 4687*344a7f5eSAndroid Build Coastguard Worker method public int addStatusListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadStatusListener) throws android.os.RemoteException; 4688*344a7f5eSAndroid Build Coastguard Worker method public android.os.IBinder asBinder(); 4689*344a7f5eSAndroid Build Coastguard Worker method public int cancelDownload(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException; 4690*344a7f5eSAndroid Build Coastguard Worker method public void dispose(int) throws android.os.RemoteException; 4691*344a7f5eSAndroid Build Coastguard Worker method public int download(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException; 4692*344a7f5eSAndroid Build Coastguard Worker method public int initialize(int, android.telephony.mbms.MbmsDownloadSessionCallback) throws android.os.RemoteException; 4693*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.telephony.mbms.DownloadRequest> listPendingDownloads(int) throws android.os.RemoteException; 4694*344a7f5eSAndroid Build Coastguard Worker method public void onAppCallbackDied(int, int); 4695*344a7f5eSAndroid Build Coastguard Worker method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException; 4696*344a7f5eSAndroid Build Coastguard Worker method public int removeProgressListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadProgressListener) throws android.os.RemoteException; 4697*344a7f5eSAndroid Build Coastguard Worker method public int removeStatusListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadStatusListener) throws android.os.RemoteException; 4698*344a7f5eSAndroid Build Coastguard Worker method public int requestDownloadState(android.telephony.mbms.DownloadRequest, android.telephony.mbms.FileInfo) throws android.os.RemoteException; 4699*344a7f5eSAndroid Build Coastguard Worker method public int requestUpdateFileServices(int, java.util.List<java.lang.String>) throws android.os.RemoteException; 4700*344a7f5eSAndroid Build Coastguard Worker method public int resetDownloadKnowledge(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException; 4701*344a7f5eSAndroid Build Coastguard Worker method public int setTempFileRootDirectory(int, String) throws android.os.RemoteException; 4702*344a7f5eSAndroid Build Coastguard Worker } 4703*344a7f5eSAndroid Build Coastguard Worker 4704*344a7f5eSAndroid Build Coastguard Worker public class MbmsGroupCallServiceBase extends android.app.Service { 4705*344a7f5eSAndroid Build Coastguard Worker ctor public MbmsGroupCallServiceBase(); 4706*344a7f5eSAndroid Build Coastguard Worker method public void dispose(int) throws android.os.RemoteException; 4707*344a7f5eSAndroid Build Coastguard Worker method public int initialize(@NonNull android.telephony.mbms.MbmsGroupCallSessionCallback, int) throws android.os.RemoteException; 4708*344a7f5eSAndroid Build Coastguard Worker method public void onAppCallbackDied(int, int); 4709*344a7f5eSAndroid Build Coastguard Worker method public android.os.IBinder onBind(android.content.Intent); 4710*344a7f5eSAndroid Build Coastguard Worker method public int startGroupCall(int, long, @NonNull java.util.List<java.lang.Integer>, @NonNull java.util.List<java.lang.Integer>, @NonNull android.telephony.mbms.GroupCallCallback); 4711*344a7f5eSAndroid Build Coastguard Worker method public void stopGroupCall(int, long); 4712*344a7f5eSAndroid Build Coastguard Worker method public void updateGroupCall(int, long, @NonNull java.util.List<java.lang.Integer>, @NonNull java.util.List<java.lang.Integer>); 4713*344a7f5eSAndroid Build Coastguard Worker } 4714*344a7f5eSAndroid Build Coastguard Worker 4715*344a7f5eSAndroid Build Coastguard Worker public class MbmsStreamingServiceBase extends android.os.Binder implements android.os.IInterface { 4716*344a7f5eSAndroid Build Coastguard Worker ctor public MbmsStreamingServiceBase(); 4717*344a7f5eSAndroid Build Coastguard Worker method public android.os.IBinder asBinder(); 4718*344a7f5eSAndroid Build Coastguard Worker method public void dispose(int) throws android.os.RemoteException; 4719*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.Uri getPlaybackUri(int, String) throws android.os.RemoteException; 4720*344a7f5eSAndroid Build Coastguard Worker method public int initialize(android.telephony.mbms.MbmsStreamingSessionCallback, int) throws android.os.RemoteException; 4721*344a7f5eSAndroid Build Coastguard Worker method public void onAppCallbackDied(int, int); 4722*344a7f5eSAndroid Build Coastguard Worker method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException; 4723*344a7f5eSAndroid Build Coastguard Worker method public int requestUpdateStreamingServices(int, java.util.List<java.lang.String>) throws android.os.RemoteException; 4724*344a7f5eSAndroid Build Coastguard Worker method public int startStreaming(int, String, android.telephony.mbms.StreamingServiceCallback) throws android.os.RemoteException; 4725*344a7f5eSAndroid Build Coastguard Worker method public void stopStreaming(int, String) throws android.os.RemoteException; 4726*344a7f5eSAndroid Build Coastguard Worker } 4727*344a7f5eSAndroid Build Coastguard Worker 4728*344a7f5eSAndroid Build Coastguard Worker public class VendorUtils { 4729*344a7f5eSAndroid Build Coastguard Worker ctor public VendorUtils(); 4730*344a7f5eSAndroid Build Coastguard Worker method public static android.content.ComponentName getAppReceiverFromPackageName(android.content.Context, String); 4731*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_CLEANUP = "android.telephony.mbms.action.CLEANUP"; 4732*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_DOWNLOAD_RESULT_INTERNAL = "android.telephony.mbms.action.DOWNLOAD_RESULT_INTERNAL"; 4733*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_FILE_DESCRIPTOR_REQUEST = "android.telephony.mbms.action.FILE_DESCRIPTOR_REQUEST"; 4734*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_FD_COUNT = "android.telephony.mbms.extra.FD_COUNT"; 4735*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_FINAL_URI = "android.telephony.mbms.extra.FINAL_URI"; 4736*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_FREE_URI_LIST = "android.telephony.mbms.extra.FREE_URI_LIST"; 4737*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PAUSED_LIST = "android.telephony.mbms.extra.PAUSED_LIST"; 4738*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PAUSED_URI_LIST = "android.telephony.mbms.extra.PAUSED_URI_LIST"; 4739*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_SERVICE_ID = "android.telephony.mbms.extra.SERVICE_ID"; 4740*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_TEMP_FILES_IN_USE = "android.telephony.mbms.extra.TEMP_FILES_IN_USE"; 4741*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_TEMP_FILE_ROOT = "android.telephony.mbms.extra.TEMP_FILE_ROOT"; 4742*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_TEMP_LIST = "android.telephony.mbms.extra.TEMP_LIST"; 4743*344a7f5eSAndroid Build Coastguard Worker } 4744*344a7f5eSAndroid Build Coastguard Worker 4745*344a7f5eSAndroid Build Coastguard Worker} 4746*344a7f5eSAndroid Build Coastguard Worker 4747*344a7f5eSAndroid Build Coastguard Workerpackage android.text { 4748*344a7f5eSAndroid Build Coastguard Worker 4749*344a7f5eSAndroid Build Coastguard Worker public static final class Selection.MemoryTextWatcher implements android.text.TextWatcher { 4750*344a7f5eSAndroid Build Coastguard Worker ctor public Selection.MemoryTextWatcher(); 4751*344a7f5eSAndroid Build Coastguard Worker method public void afterTextChanged(android.text.Editable); 4752*344a7f5eSAndroid Build Coastguard Worker method public void beforeTextChanged(CharSequence, int, int, int); 4753*344a7f5eSAndroid Build Coastguard Worker method public void onTextChanged(CharSequence, int, int, int); 4754*344a7f5eSAndroid Build Coastguard Worker } 4755*344a7f5eSAndroid Build Coastguard Worker 4756*344a7f5eSAndroid Build Coastguard Worker} 4757*344a7f5eSAndroid Build Coastguard Worker 4758*344a7f5eSAndroid Build Coastguard Workerpackage android.transition { 4759*344a7f5eSAndroid Build Coastguard Worker 4760*344a7f5eSAndroid Build Coastguard Worker public class TransitionManager { 4761*344a7f5eSAndroid Build Coastguard Worker method public android.transition.Transition getTransition(android.transition.Scene); 4762*344a7f5eSAndroid Build Coastguard Worker } 4763*344a7f5eSAndroid Build Coastguard Worker 4764*344a7f5eSAndroid Build Coastguard Worker} 4765*344a7f5eSAndroid Build Coastguard Worker 4766*344a7f5eSAndroid Build Coastguard Workerpackage android.util { 4767*344a7f5eSAndroid Build Coastguard Worker 4768*344a7f5eSAndroid Build Coastguard Worker public final class ArraySet<E> implements java.util.Collection<E> java.util.Set<E> { 4769*344a7f5eSAndroid Build Coastguard Worker method public E valueAtUnchecked(int); 4770*344a7f5eSAndroid Build Coastguard Worker } 4771*344a7f5eSAndroid Build Coastguard Worker 4772*344a7f5eSAndroid Build Coastguard Worker public class FeatureFlagUtils { 4773*344a7f5eSAndroid Build Coastguard Worker ctor public FeatureFlagUtils(); 4774*344a7f5eSAndroid Build Coastguard Worker method public static java.util.Map<java.lang.String,java.lang.String> getAllFeatureFlags(); 4775*344a7f5eSAndroid Build Coastguard Worker method public static boolean isEnabled(android.content.Context, String); 4776*344a7f5eSAndroid Build Coastguard Worker method public static void setEnabled(android.content.Context, String, boolean); 4777*344a7f5eSAndroid Build Coastguard Worker field public static final String DYNAMIC_SYSTEM = "settings_dynamic_system"; 4778*344a7f5eSAndroid Build Coastguard Worker field public static final String FFLAG_OVERRIDE_PREFIX = "sys.fflag.override."; 4779*344a7f5eSAndroid Build Coastguard Worker field public static final String FFLAG_PREFIX = "sys.fflag."; 4780*344a7f5eSAndroid Build Coastguard Worker field public static final String HEARING_AID_SETTINGS = "settings_bluetooth_hearing_aid"; 4781*344a7f5eSAndroid Build Coastguard Worker field public static final String PERSIST_PREFIX = "persist.sys.fflag.override."; 4782*344a7f5eSAndroid Build Coastguard Worker field public static final String SCREENRECORD_LONG_PRESS = "settings_screenrecord_long_press"; 4783*344a7f5eSAndroid Build Coastguard Worker field public static final String SEAMLESS_TRANSFER = "settings_seamless_transfer"; 4784*344a7f5eSAndroid Build Coastguard Worker field public static final String SETTINGS_FUSE_FLAG = "settings_fuse"; 4785*344a7f5eSAndroid Build Coastguard Worker field public static final String SETTINGS_WIFITRACKER2 = "settings_wifitracker2"; 4786*344a7f5eSAndroid Build Coastguard Worker } 4787*344a7f5eSAndroid Build Coastguard Worker 4788*344a7f5eSAndroid Build Coastguard Worker public class SparseArrayMap<T> { 4789*344a7f5eSAndroid Build Coastguard Worker ctor public SparseArrayMap(); 4790*344a7f5eSAndroid Build Coastguard Worker method public void add(int, @NonNull String, @Nullable T); 4791*344a7f5eSAndroid Build Coastguard Worker method public void clear(); 4792*344a7f5eSAndroid Build Coastguard Worker method public boolean contains(int, @NonNull String); 4793*344a7f5eSAndroid Build Coastguard Worker method public void delete(int); 4794*344a7f5eSAndroid Build Coastguard Worker method @Nullable public T delete(int, @NonNull String); 4795*344a7f5eSAndroid Build Coastguard Worker method public void forEach(@NonNull java.util.function.Consumer<T>); 4796*344a7f5eSAndroid Build Coastguard Worker method @Nullable public T get(int, @NonNull String); 4797*344a7f5eSAndroid Build Coastguard Worker method @Nullable public T getOrDefault(int, @NonNull String, T); 4798*344a7f5eSAndroid Build Coastguard Worker method public int indexOfKey(int); 4799*344a7f5eSAndroid Build Coastguard Worker method public int indexOfKey(int, @NonNull String); 4800*344a7f5eSAndroid Build Coastguard Worker method public int keyAt(int); 4801*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String keyAt(int, int); 4802*344a7f5eSAndroid Build Coastguard Worker method public int numElementsForKey(int); 4803*344a7f5eSAndroid Build Coastguard Worker method public int numMaps(); 4804*344a7f5eSAndroid Build Coastguard Worker method @Nullable public T valueAt(int, int); 4805*344a7f5eSAndroid Build Coastguard Worker } 4806*344a7f5eSAndroid Build Coastguard Worker 4807*344a7f5eSAndroid Build Coastguard Worker public class TimeUtils { 4808*344a7f5eSAndroid Build Coastguard Worker method public static String formatDuration(long); 4809*344a7f5eSAndroid Build Coastguard Worker } 4810*344a7f5eSAndroid Build Coastguard Worker 4811*344a7f5eSAndroid Build Coastguard Worker} 4812*344a7f5eSAndroid Build Coastguard Worker 4813*344a7f5eSAndroid Build Coastguard Workerpackage android.util.proto { 4814*344a7f5eSAndroid Build Coastguard Worker 4815*344a7f5eSAndroid Build Coastguard Worker public final class EncodedBuffer { 4816*344a7f5eSAndroid Build Coastguard Worker ctor public EncodedBuffer(); 4817*344a7f5eSAndroid Build Coastguard Worker ctor public EncodedBuffer(int); 4818*344a7f5eSAndroid Build Coastguard Worker method public void dumpBuffers(String); 4819*344a7f5eSAndroid Build Coastguard Worker method public static void dumpByteString(String, String, byte[]); 4820*344a7f5eSAndroid Build Coastguard Worker method public void editRawFixed32(int, int); 4821*344a7f5eSAndroid Build Coastguard Worker method public byte[] getBytes(int); 4822*344a7f5eSAndroid Build Coastguard Worker method public int getChunkCount(); 4823*344a7f5eSAndroid Build Coastguard Worker method public String getDebugString(); 4824*344a7f5eSAndroid Build Coastguard Worker method public int getRawFixed32At(int); 4825*344a7f5eSAndroid Build Coastguard Worker method public static int getRawVarint32Size(int); 4826*344a7f5eSAndroid Build Coastguard Worker method public static int getRawVarint64Size(long); 4827*344a7f5eSAndroid Build Coastguard Worker method public static int getRawZigZag32Size(int); 4828*344a7f5eSAndroid Build Coastguard Worker method public static int getRawZigZag64Size(long); 4829*344a7f5eSAndroid Build Coastguard Worker method public int getReadPos(); 4830*344a7f5eSAndroid Build Coastguard Worker method public int getReadableSize(); 4831*344a7f5eSAndroid Build Coastguard Worker method public int getSize(); 4832*344a7f5eSAndroid Build Coastguard Worker method public int getWriteBufIndex(); 4833*344a7f5eSAndroid Build Coastguard Worker method public int getWriteIndex(); 4834*344a7f5eSAndroid Build Coastguard Worker method public int getWritePos(); 4835*344a7f5eSAndroid Build Coastguard Worker method public byte readRawByte(); 4836*344a7f5eSAndroid Build Coastguard Worker method public int readRawFixed32(); 4837*344a7f5eSAndroid Build Coastguard Worker method public long readRawUnsigned(); 4838*344a7f5eSAndroid Build Coastguard Worker method public void rewindRead(); 4839*344a7f5eSAndroid Build Coastguard Worker method public void rewindWriteTo(int); 4840*344a7f5eSAndroid Build Coastguard Worker method public void skipRead(int); 4841*344a7f5eSAndroid Build Coastguard Worker method public void startEditing(); 4842*344a7f5eSAndroid Build Coastguard Worker method public void writeFromThisBuffer(int, int); 4843*344a7f5eSAndroid Build Coastguard Worker method public void writeRawBuffer(byte[]); 4844*344a7f5eSAndroid Build Coastguard Worker method public void writeRawBuffer(byte[], int, int); 4845*344a7f5eSAndroid Build Coastguard Worker method public void writeRawByte(byte); 4846*344a7f5eSAndroid Build Coastguard Worker method public void writeRawFixed32(int); 4847*344a7f5eSAndroid Build Coastguard Worker method public void writeRawFixed64(long); 4848*344a7f5eSAndroid Build Coastguard Worker method public void writeRawVarint32(int); 4849*344a7f5eSAndroid Build Coastguard Worker method public void writeRawVarint64(long); 4850*344a7f5eSAndroid Build Coastguard Worker method public void writeRawZigZag32(int); 4851*344a7f5eSAndroid Build Coastguard Worker method public void writeRawZigZag64(long); 4852*344a7f5eSAndroid Build Coastguard Worker } 4853*344a7f5eSAndroid Build Coastguard Worker 4854*344a7f5eSAndroid Build Coastguard Worker public class ProtoParseException extends java.lang.RuntimeException { 4855*344a7f5eSAndroid Build Coastguard Worker ctor public ProtoParseException(String); 4856*344a7f5eSAndroid Build Coastguard Worker } 4857*344a7f5eSAndroid Build Coastguard Worker 4858*344a7f5eSAndroid Build Coastguard Worker public class WireTypeMismatchException extends android.util.proto.ProtoParseException { 4859*344a7f5eSAndroid Build Coastguard Worker ctor public WireTypeMismatchException(String); 4860*344a7f5eSAndroid Build Coastguard Worker } 4861*344a7f5eSAndroid Build Coastguard Worker 4862*344a7f5eSAndroid Build Coastguard Worker} 4863*344a7f5eSAndroid Build Coastguard Worker 4864*344a7f5eSAndroid Build Coastguard Workerpackage android.view { 4865*344a7f5eSAndroid Build Coastguard Worker 4866*344a7f5eSAndroid Build Coastguard Worker public abstract class ActionMode { 4867*344a7f5eSAndroid Build Coastguard Worker method public boolean isUiFocusable(); 4868*344a7f5eSAndroid Build Coastguard Worker } 4869*344a7f5eSAndroid Build Coastguard Worker 4870*344a7f5eSAndroid Build Coastguard Worker public final class Choreographer { 4871*344a7f5eSAndroid Build Coastguard Worker method public static long getFrameDelay(); 4872*344a7f5eSAndroid Build Coastguard Worker method public void postCallback(int, Runnable, Object); 4873*344a7f5eSAndroid Build Coastguard Worker method public void postCallbackDelayed(int, Runnable, Object, long); 4874*344a7f5eSAndroid Build Coastguard Worker method public void removeCallbacks(int, Runnable, Object); 4875*344a7f5eSAndroid Build Coastguard Worker method public static void setFrameDelay(long); 4876*344a7f5eSAndroid Build Coastguard Worker field public static final int CALLBACK_ANIMATION = 1; // 0x1 4877*344a7f5eSAndroid Build Coastguard Worker } 4878*344a7f5eSAndroid Build Coastguard Worker 4879*344a7f5eSAndroid Build Coastguard Worker public final class Display { 4880*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.graphics.ColorSpace[] getSupportedWideColorGamut(); 4881*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 4882*344a7f5eSAndroid Build Coastguard Worker method public boolean hasAccess(int); 4883*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_EXTERNAL = 2; // 0x2 4884*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_INTERNAL = 1; // 0x1 4885*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_OVERLAY = 4; // 0x4 4886*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_UNKNOWN = 0; // 0x0 4887*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_VIRTUAL = 5; // 0x5 4888*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_WIFI = 3; // 0x3 4889*344a7f5eSAndroid Build Coastguard Worker } 4890*344a7f5eSAndroid Build Coastguard Worker 4891*344a7f5eSAndroid Build Coastguard Worker public class FocusFinder { 4892*344a7f5eSAndroid Build Coastguard Worker method public static void sort(android.view.View[], int, int, android.view.ViewGroup, boolean); 4893*344a7f5eSAndroid Build Coastguard Worker } 4894*344a7f5eSAndroid Build Coastguard Worker 4895*344a7f5eSAndroid Build Coastguard Worker public final class InputDevice implements android.os.Parcelable { 4896*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.DISABLE_INPUT_DEVICE") public void disable(); 4897*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.DISABLE_INPUT_DEVICE") public void enable(); 4898*344a7f5eSAndroid Build Coastguard Worker } 4899*344a7f5eSAndroid Build Coastguard Worker 4900*344a7f5eSAndroid Build Coastguard Worker public class KeyEvent extends android.view.InputEvent implements android.os.Parcelable { 4901*344a7f5eSAndroid Build Coastguard Worker method public static String actionToString(int); 4902*344a7f5eSAndroid Build Coastguard Worker method public final void setDisplayId(int); 4903*344a7f5eSAndroid Build Coastguard Worker field public static final int LAST_KEYCODE = 288; // 0x120 4904*344a7f5eSAndroid Build Coastguard Worker } 4905*344a7f5eSAndroid Build Coastguard Worker 4906*344a7f5eSAndroid Build Coastguard Worker public final class KeyboardShortcutGroup implements android.os.Parcelable { 4907*344a7f5eSAndroid Build Coastguard Worker ctor public KeyboardShortcutGroup(@Nullable CharSequence, @NonNull java.util.List<android.view.KeyboardShortcutInfo>, boolean); 4908*344a7f5eSAndroid Build Coastguard Worker ctor public KeyboardShortcutGroup(@Nullable CharSequence, boolean); 4909*344a7f5eSAndroid Build Coastguard Worker method public boolean isSystemGroup(); 4910*344a7f5eSAndroid Build Coastguard Worker } 4911*344a7f5eSAndroid Build Coastguard Worker 4912*344a7f5eSAndroid Build Coastguard Worker public abstract class LayoutInflater { 4913*344a7f5eSAndroid Build Coastguard Worker method public void setPrecompiledLayoutsEnabledForTesting(boolean); 4914*344a7f5eSAndroid Build Coastguard Worker } 4915*344a7f5eSAndroid Build Coastguard Worker 4916*344a7f5eSAndroid Build Coastguard Worker public final class MotionEvent extends android.view.InputEvent implements android.os.Parcelable { 4917*344a7f5eSAndroid Build Coastguard Worker method public void setActionButton(int); 4918*344a7f5eSAndroid Build Coastguard Worker method public void setButtonState(int); 4919*344a7f5eSAndroid Build Coastguard Worker method public void setDisplayId(int); 4920*344a7f5eSAndroid Build Coastguard Worker } 4921*344a7f5eSAndroid Build Coastguard Worker 4922*344a7f5eSAndroid Build Coastguard Worker @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target({java.lang.annotation.ElementType.METHOD}) public @interface RemotableViewMethod { 4923*344a7f5eSAndroid Build Coastguard Worker method public abstract String asyncImpl() default ""; 4924*344a7f5eSAndroid Build Coastguard Worker } 4925*344a7f5eSAndroid Build Coastguard Worker 4926*344a7f5eSAndroid Build Coastguard Worker public final class SurfaceControl implements android.os.Parcelable { 4927*344a7f5eSAndroid Build Coastguard Worker ctor public SurfaceControl(@NonNull android.view.SurfaceControl); 4928*344a7f5eSAndroid Build Coastguard Worker method public static long acquireFrameRateFlexibilityToken(); 4929*344a7f5eSAndroid Build Coastguard Worker method public boolean isSameSurface(@NonNull android.view.SurfaceControl); 4930*344a7f5eSAndroid Build Coastguard Worker method public static void releaseFrameRateFlexibilityToken(long); 4931*344a7f5eSAndroid Build Coastguard Worker } 4932*344a7f5eSAndroid Build Coastguard Worker 4933*344a7f5eSAndroid Build Coastguard Worker public class SurfaceControlViewHost { 4934*344a7f5eSAndroid Build Coastguard Worker method public void relayout(android.view.WindowManager.LayoutParams); 4935*344a7f5eSAndroid Build Coastguard Worker method public void setView(@NonNull android.view.View, @NonNull android.view.WindowManager.LayoutParams); 4936*344a7f5eSAndroid Build Coastguard Worker } 4937*344a7f5eSAndroid Build Coastguard Worker 4938*344a7f5eSAndroid Build Coastguard Worker @UiThread public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback { 4939*344a7f5eSAndroid Build Coastguard Worker method public android.view.View getTooltipView(); 4940*344a7f5eSAndroid Build Coastguard Worker method public boolean isAutofilled(); 4941*344a7f5eSAndroid Build Coastguard Worker method public static boolean isDefaultFocusHighlightEnabled(); 4942*344a7f5eSAndroid Build Coastguard Worker method public boolean isDefaultFocusHighlightNeeded(android.graphics.drawable.Drawable, android.graphics.drawable.Drawable); 4943*344a7f5eSAndroid Build Coastguard Worker method protected void resetResolvedDrawables(); 4944*344a7f5eSAndroid Build Coastguard Worker method public void resetResolvedLayoutDirection(); 4945*344a7f5eSAndroid Build Coastguard Worker method public void resetResolvedPadding(); 4946*344a7f5eSAndroid Build Coastguard Worker method public void resetResolvedTextAlignment(); 4947*344a7f5eSAndroid Build Coastguard Worker method public void resetResolvedTextDirection(); 4948*344a7f5eSAndroid Build Coastguard Worker method public void resetRtlProperties(); 4949*344a7f5eSAndroid Build Coastguard Worker method public boolean restoreFocusInCluster(int); 4950*344a7f5eSAndroid Build Coastguard Worker method public boolean restoreFocusNotInCluster(); 4951*344a7f5eSAndroid Build Coastguard Worker method public void setAutofilled(boolean, boolean); 4952*344a7f5eSAndroid Build Coastguard Worker method public final void setFocusedInCluster(); 4953*344a7f5eSAndroid Build Coastguard Worker method public void setIsRootNamespace(boolean); 4954*344a7f5eSAndroid Build Coastguard Worker method public final void setShowingLayoutBounds(boolean); 4955*344a7f5eSAndroid Build Coastguard Worker } 4956*344a7f5eSAndroid Build Coastguard Worker 4957*344a7f5eSAndroid Build Coastguard Worker public class ViewConfiguration { 4958*344a7f5eSAndroid Build Coastguard Worker method public long getDeviceGlobalActionKeyTimeout(); 4959*344a7f5eSAndroid Build Coastguard Worker method public static int getHoverTooltipHideShortTimeout(); 4960*344a7f5eSAndroid Build Coastguard Worker method public static int getHoverTooltipHideTimeout(); 4961*344a7f5eSAndroid Build Coastguard Worker method public static int getHoverTooltipShowTimeout(); 4962*344a7f5eSAndroid Build Coastguard Worker method public static int getLongPressTooltipHideTimeout(); 4963*344a7f5eSAndroid Build Coastguard Worker } 4964*344a7f5eSAndroid Build Coastguard Worker 4965*344a7f5eSAndroid Build Coastguard Worker public class ViewDebug { 4966*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @Nullable public static AutoCloseable startRenderingCommandsCapture(android.view.View, java.util.concurrent.Executor, java.util.function.Function<android.graphics.Picture,java.lang.Boolean>); 4967*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static AutoCloseable startRenderingCommandsCapture(android.view.View, java.util.concurrent.Executor, java.util.concurrent.Callable<java.io.OutputStream>); 4968*344a7f5eSAndroid Build Coastguard Worker } 4969*344a7f5eSAndroid Build Coastguard Worker 4970*344a7f5eSAndroid Build Coastguard Worker public abstract class Window { 4971*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.View getNavigationBarBackgroundView(); 4972*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.View getStatusBarBackgroundView(); 4973*344a7f5eSAndroid Build Coastguard Worker } 4974*344a7f5eSAndroid Build Coastguard Worker 4975*344a7f5eSAndroid Build Coastguard Worker public interface WindowManager extends android.view.ViewManager { 4976*344a7f5eSAndroid Build Coastguard Worker method public default void setShouldShowIme(int, boolean); 4977*344a7f5eSAndroid Build Coastguard Worker method public default void setShouldShowSystemDecors(int, boolean); 4978*344a7f5eSAndroid Build Coastguard Worker method public default void setShouldShowWithInsecureKeyguard(int, boolean); 4979*344a7f5eSAndroid Build Coastguard Worker method public default boolean shouldShowIme(int); 4980*344a7f5eSAndroid Build Coastguard Worker method public default boolean shouldShowSystemDecors(int); 4981*344a7f5eSAndroid Build Coastguard Worker } 4982*344a7f5eSAndroid Build Coastguard Worker 4983*344a7f5eSAndroid Build Coastguard Worker public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable { 4984*344a7f5eSAndroid Build Coastguard Worker field public static final int ACCESSIBILITY_TITLE_CHANGED = 33554432; // 0x2000000 4985*344a7f5eSAndroid Build Coastguard Worker field public static final int PRIVATE_FLAG_NO_MOVE_ANIMATION = 64; // 0x40 4986*344a7f5eSAndroid Build Coastguard Worker field public CharSequence accessibilityTitle; 4987*344a7f5eSAndroid Build Coastguard Worker field @android.view.ViewDebug.ExportedProperty(flagMapping={@android.view.ViewDebug.FlagToString(mask=0x1, equals=0x1, name="FAKE_HARDWARE_ACCELERATED"), @android.view.ViewDebug.FlagToString(mask=0x2, equals=0x2, name="FORCE_HARDWARE_ACCELERATED"), @android.view.ViewDebug.FlagToString(mask=0x4, equals=0x4, name="WANTS_OFFSET_NOTIFICATIONS"), @android.view.ViewDebug.FlagToString(mask=0x10, equals=0x10, name="SHOW_FOR_ALL_USERS"), @android.view.ViewDebug.FlagToString(mask=android.view.WindowManager.LayoutParams.PRIVATE_FLAG_NO_MOVE_ANIMATION, equals=android.view.WindowManager.LayoutParams.PRIVATE_FLAG_NO_MOVE_ANIMATION, name="NO_MOVE_ANIMATION"), @android.view.ViewDebug.FlagToString(mask=0x80, equals=0x80, name="COMPATIBLE_WINDOW"), @android.view.ViewDebug.FlagToString(mask=0x100, equals=0x100, name="SYSTEM_ERROR"), @android.view.ViewDebug.FlagToString(mask=0x800, equals=0x800, name="DISABLE_WALLPAPER_TOUCH_EVENTS"), @android.view.ViewDebug.FlagToString(mask=0x1000, equals=0x1000, name="FORCE_STATUS_BAR_VISIBLE"), @android.view.ViewDebug.FlagToString(mask=0x2000, equals=0x2000, name="PRESERVE_GEOMETRY"), @android.view.ViewDebug.FlagToString(mask=0x4000, equals=0x4000, name="FORCE_DECOR_VIEW_VISIBILITY"), @android.view.ViewDebug.FlagToString(mask=0x8000, equals=0x8000, name="WILL_NOT_REPLACE_ON_RELAUNCH"), @android.view.ViewDebug.FlagToString(mask=0x10000, equals=0x10000, name="LAYOUT_CHILD_WINDOW_IN_PARENT_FRAME"), @android.view.ViewDebug.FlagToString(mask=0x20000, equals=0x20000, name="FORCE_DRAW_STATUS_BAR_BACKGROUND"), @android.view.ViewDebug.FlagToString(mask=0x40000, equals=0x40000, name="SUSTAINED_PERFORMANCE_MODE"), @android.view.ViewDebug.FlagToString(mask=0x80000, equals=0x80000, name="HIDE_NON_SYSTEM_OVERLAY_WINDOWS"), @android.view.ViewDebug.FlagToString(mask=0x100000, equals=0x100000, name="IS_ROUNDED_CORNERS_OVERLAY"), @android.view.ViewDebug.FlagToString(mask=0x400000, equals=0x400000, name="IS_SCREEN_DECOR"), @android.view.ViewDebug.FlagToString(mask=0x800000, equals=0x800000, name="STATUS_FORCE_SHOW_NAVIGATION"), @android.view.ViewDebug.FlagToString(mask=0x1000000, equals=0x1000000, name="COLOR_SPACE_AGNOSTIC"), @android.view.ViewDebug.FlagToString(mask=0x4000000, equals=0x4000000, name="APPEARANCE_CONTROLLED"), @android.view.ViewDebug.FlagToString(mask=0x8000000, equals=0x8000000, name="BEHAVIOR_CONTROLLED"), @android.view.ViewDebug.FlagToString(mask=0x10000000, equals=0x10000000, name="FIT_INSETS_CONTROLLED")}) public int privateFlags; 4988*344a7f5eSAndroid Build Coastguard Worker } 4989*344a7f5eSAndroid Build Coastguard Worker 4990*344a7f5eSAndroid Build Coastguard Worker} 4991*344a7f5eSAndroid Build Coastguard Worker 4992*344a7f5eSAndroid Build Coastguard Workerpackage android.view.accessibility { 4993*344a7f5eSAndroid Build Coastguard Worker 4994*344a7f5eSAndroid Build Coastguard Worker public final class AccessibilityManager { 4995*344a7f5eSAndroid Build Coastguard Worker method public void addAccessibilityServicesStateChangeListener(@NonNull android.view.accessibility.AccessibilityManager.AccessibilityServicesStateChangeListener, @Nullable android.os.Handler); 4996*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission("android.permission.MANAGE_ACCESSIBILITY") public java.util.List<java.lang.String> getAccessibilityShortcutTargets(int); 4997*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_ACCESSIBILITY") public void performAccessibilityShortcut(); 4998*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_ACCESSIBILITY") public void registerSystemAction(@NonNull android.app.RemoteAction, int); 4999*344a7f5eSAndroid Build Coastguard Worker method public void removeAccessibilityServicesStateChangeListener(@NonNull android.view.accessibility.AccessibilityManager.AccessibilityServicesStateChangeListener); 5000*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission("android.permission.MANAGE_ACCESSIBILITY") public void unregisterSystemAction(int); 5001*344a7f5eSAndroid Build Coastguard Worker } 5002*344a7f5eSAndroid Build Coastguard Worker 5003*344a7f5eSAndroid Build Coastguard Worker public static interface AccessibilityManager.AccessibilityServicesStateChangeListener { 5004*344a7f5eSAndroid Build Coastguard Worker method public void onAccessibilityServicesStateChanged(android.view.accessibility.AccessibilityManager); 5005*344a7f5eSAndroid Build Coastguard Worker } 5006*344a7f5eSAndroid Build Coastguard Worker 5007*344a7f5eSAndroid Build Coastguard Worker public class AccessibilityNodeInfo implements android.os.Parcelable { 5008*344a7f5eSAndroid Build Coastguard Worker method public void addChild(@NonNull android.os.IBinder); 5009*344a7f5eSAndroid Build Coastguard Worker method public long getSourceNodeId(); 5010*344a7f5eSAndroid Build Coastguard Worker method public void setLeashedParent(@Nullable android.os.IBinder, int); 5011*344a7f5eSAndroid Build Coastguard Worker method public static void setNumInstancesInUseCounter(java.util.concurrent.atomic.AtomicInteger); 5012*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcelNoRecycle(android.os.Parcel, int); 5013*344a7f5eSAndroid Build Coastguard Worker } 5014*344a7f5eSAndroid Build Coastguard Worker 5015*344a7f5eSAndroid Build Coastguard Worker public static final class AccessibilityNodeInfo.TouchDelegateInfo implements android.os.Parcelable { 5016*344a7f5eSAndroid Build Coastguard Worker method public long getAccessibilityIdForRegion(@NonNull android.graphics.Region); 5017*344a7f5eSAndroid Build Coastguard Worker } 5018*344a7f5eSAndroid Build Coastguard Worker 5019*344a7f5eSAndroid Build Coastguard Worker public final class AccessibilityWindowInfo implements android.os.Parcelable { 5020*344a7f5eSAndroid Build Coastguard Worker method public static void setNumInstancesInUseCounter(java.util.concurrent.atomic.AtomicInteger); 5021*344a7f5eSAndroid Build Coastguard Worker } 5022*344a7f5eSAndroid Build Coastguard Worker 5023*344a7f5eSAndroid Build Coastguard Worker} 5024*344a7f5eSAndroid Build Coastguard Worker 5025*344a7f5eSAndroid Build Coastguard Workerpackage android.view.animation { 5026*344a7f5eSAndroid Build Coastguard Worker 5027*344a7f5eSAndroid Build Coastguard Worker public class AnimationUtils { 5028*344a7f5eSAndroid Build Coastguard Worker method public static void lockAnimationClock(long); 5029*344a7f5eSAndroid Build Coastguard Worker method public static void unlockAnimationClock(); 5030*344a7f5eSAndroid Build Coastguard Worker } 5031*344a7f5eSAndroid Build Coastguard Worker 5032*344a7f5eSAndroid Build Coastguard Worker} 5033*344a7f5eSAndroid Build Coastguard Worker 5034*344a7f5eSAndroid Build Coastguard Workerpackage android.view.autofill { 5035*344a7f5eSAndroid Build Coastguard Worker 5036*344a7f5eSAndroid Build Coastguard Worker public final class AutofillId implements android.os.Parcelable { 5037*344a7f5eSAndroid Build Coastguard Worker ctor public AutofillId(int); 5038*344a7f5eSAndroid Build Coastguard Worker ctor public AutofillId(@NonNull android.view.autofill.AutofillId, int); 5039*344a7f5eSAndroid Build Coastguard Worker ctor public AutofillId(int, int); 5040*344a7f5eSAndroid Build Coastguard Worker ctor public AutofillId(@NonNull android.view.autofill.AutofillId, long, int); 5041*344a7f5eSAndroid Build Coastguard Worker method public boolean equalsIgnoreSession(@Nullable android.view.autofill.AutofillId); 5042*344a7f5eSAndroid Build Coastguard Worker } 5043*344a7f5eSAndroid Build Coastguard Worker 5044*344a7f5eSAndroid Build Coastguard Worker public final class AutofillManager { 5045*344a7f5eSAndroid Build Coastguard Worker method public void setAugmentedAutofillWhitelist(@Nullable java.util.Set<java.lang.String>, @Nullable java.util.Set<android.content.ComponentName>); 5046*344a7f5eSAndroid Build Coastguard Worker field public static final String DEVICE_CONFIG_AUTOFILL_SMART_SUGGESTION_SUPPORTED_MODES = "smart_suggestion_supported_modes"; 5047*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_SMART_SUGGESTION_OFF = 0; // 0x0 5048*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_SMART_SUGGESTION_SYSTEM = 1; // 0x1 5049*344a7f5eSAndroid Build Coastguard Worker field public static final int MAX_TEMP_AUGMENTED_SERVICE_DURATION_MS = 120000; // 0x1d4c0 5050*344a7f5eSAndroid Build Coastguard Worker } 5051*344a7f5eSAndroid Build Coastguard Worker 5052*344a7f5eSAndroid Build Coastguard Worker} 5053*344a7f5eSAndroid Build Coastguard Worker 5054*344a7f5eSAndroid Build Coastguard Workerpackage android.view.contentcapture { 5055*344a7f5eSAndroid Build Coastguard Worker 5056*344a7f5eSAndroid Build Coastguard Worker public final class ContentCaptureContext implements android.os.Parcelable { 5057*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.content.ComponentName getActivityComponent(); 5058*344a7f5eSAndroid Build Coastguard Worker method public int getDisplayId(); 5059*344a7f5eSAndroid Build Coastguard Worker method public int getFlags(); 5060*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.contentcapture.ContentCaptureSessionId getParentSessionId(); 5061*344a7f5eSAndroid Build Coastguard Worker method public int getTaskId(); 5062*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_DISABLED_BY_APP = 1; // 0x1 5063*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_DISABLED_BY_FLAG_SECURE = 2; // 0x2 5064*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_RECONNECTED = 4; // 0x4 5065*344a7f5eSAndroid Build Coastguard Worker } 5066*344a7f5eSAndroid Build Coastguard Worker 5067*344a7f5eSAndroid Build Coastguard Worker public final class ContentCaptureEvent implements android.os.Parcelable { 5068*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 5069*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.contentcapture.ContentCaptureContext getContentCaptureContext(); 5070*344a7f5eSAndroid Build Coastguard Worker method public long getEventTime(); 5071*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.autofill.AutofillId getId(); 5072*344a7f5eSAndroid Build Coastguard Worker method @Nullable public java.util.List<android.view.autofill.AutofillId> getIds(); 5073*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.graphics.Insets getInsets(); 5074*344a7f5eSAndroid Build Coastguard Worker method @Nullable public CharSequence getText(); 5075*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 5076*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.contentcapture.ViewNode getViewNode(); 5077*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(android.os.Parcel, int); 5078*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.view.contentcapture.ContentCaptureEvent> CREATOR; 5079*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_CONTEXT_UPDATED = 6; // 0x6 5080*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_SESSION_PAUSED = 8; // 0x8 5081*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_SESSION_RESUMED = 7; // 0x7 5082*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_VIEW_APPEARED = 1; // 0x1 5083*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_VIEW_DISAPPEARED = 2; // 0x2 5084*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_VIEW_INSETS_CHANGED = 9; // 0x9 5085*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_VIEW_TEXT_CHANGED = 3; // 0x3 5086*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_VIEW_TREE_APPEARED = 5; // 0x5 5087*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_VIEW_TREE_APPEARING = 4; // 0x4 5088*344a7f5eSAndroid Build Coastguard Worker } 5089*344a7f5eSAndroid Build Coastguard Worker 5090*344a7f5eSAndroid Build Coastguard Worker public final class ContentCaptureManager { 5091*344a7f5eSAndroid Build Coastguard Worker method public boolean isContentCaptureFeatureEnabled(); 5092*344a7f5eSAndroid Build Coastguard Worker field public static final String DEVICE_CONFIG_PROPERTY_IDLE_FLUSH_FREQUENCY = "idle_flush_frequency"; 5093*344a7f5eSAndroid Build Coastguard Worker field public static final String DEVICE_CONFIG_PROPERTY_LOGGING_LEVEL = "logging_level"; 5094*344a7f5eSAndroid Build Coastguard Worker field public static final String DEVICE_CONFIG_PROPERTY_LOG_HISTORY_SIZE = "log_history_size"; 5095*344a7f5eSAndroid Build Coastguard Worker field public static final String DEVICE_CONFIG_PROPERTY_MAX_BUFFER_SIZE = "max_buffer_size"; 5096*344a7f5eSAndroid Build Coastguard Worker field public static final String DEVICE_CONFIG_PROPERTY_SERVICE_EXPLICITLY_ENABLED = "service_explicitly_enabled"; 5097*344a7f5eSAndroid Build Coastguard Worker field public static final String DEVICE_CONFIG_PROPERTY_TEXT_CHANGE_FLUSH_FREQUENCY = "text_change_flush_frequency"; 5098*344a7f5eSAndroid Build Coastguard Worker field public static final int LOGGING_LEVEL_DEBUG = 1; // 0x1 5099*344a7f5eSAndroid Build Coastguard Worker field public static final int LOGGING_LEVEL_OFF = 0; // 0x0 5100*344a7f5eSAndroid Build Coastguard Worker field public static final int LOGGING_LEVEL_VERBOSE = 2; // 0x2 5101*344a7f5eSAndroid Build Coastguard Worker } 5102*344a7f5eSAndroid Build Coastguard Worker 5103*344a7f5eSAndroid Build Coastguard Worker public final class ViewNode extends android.app.assist.AssistStructure.ViewNode { 5104*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.autofill.AutofillId getParentAutofillId(); 5105*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static android.view.contentcapture.ViewNode readFromParcel(@NonNull android.os.Parcel); 5106*344a7f5eSAndroid Build Coastguard Worker method public static void writeToParcel(@NonNull android.os.Parcel, @Nullable android.view.contentcapture.ViewNode, int); 5107*344a7f5eSAndroid Build Coastguard Worker } 5108*344a7f5eSAndroid Build Coastguard Worker 5109*344a7f5eSAndroid Build Coastguard Worker public static final class ViewNode.ViewStructureImpl extends android.view.ViewStructure { 5110*344a7f5eSAndroid Build Coastguard Worker ctor public ViewNode.ViewStructureImpl(@NonNull android.view.View); 5111*344a7f5eSAndroid Build Coastguard Worker ctor public ViewNode.ViewStructureImpl(@NonNull android.view.autofill.AutofillId, long, int); 5112*344a7f5eSAndroid Build Coastguard Worker method public int addChildCount(int); 5113*344a7f5eSAndroid Build Coastguard Worker method public void asyncCommit(); 5114*344a7f5eSAndroid Build Coastguard Worker method public android.view.ViewStructure asyncNewChild(int); 5115*344a7f5eSAndroid Build Coastguard Worker method public android.view.autofill.AutofillId getAutofillId(); 5116*344a7f5eSAndroid Build Coastguard Worker method public int getChildCount(); 5117*344a7f5eSAndroid Build Coastguard Worker method public android.os.Bundle getExtras(); 5118*344a7f5eSAndroid Build Coastguard Worker method public CharSequence getHint(); 5119*344a7f5eSAndroid Build Coastguard Worker method public android.view.contentcapture.ViewNode getNode(); 5120*344a7f5eSAndroid Build Coastguard Worker method public android.graphics.Rect getTempRect(); 5121*344a7f5eSAndroid Build Coastguard Worker method public CharSequence getText(); 5122*344a7f5eSAndroid Build Coastguard Worker method public int getTextSelectionEnd(); 5123*344a7f5eSAndroid Build Coastguard Worker method public int getTextSelectionStart(); 5124*344a7f5eSAndroid Build Coastguard Worker method public boolean hasExtras(); 5125*344a7f5eSAndroid Build Coastguard Worker method public android.view.ViewStructure newChild(int); 5126*344a7f5eSAndroid Build Coastguard Worker method public android.view.ViewStructure.HtmlInfo.Builder newHtmlInfoBuilder(String); 5127*344a7f5eSAndroid Build Coastguard Worker method public void setAccessibilityFocused(boolean); 5128*344a7f5eSAndroid Build Coastguard Worker method public void setActivated(boolean); 5129*344a7f5eSAndroid Build Coastguard Worker method public void setAlpha(float); 5130*344a7f5eSAndroid Build Coastguard Worker method public void setAssistBlocked(boolean); 5131*344a7f5eSAndroid Build Coastguard Worker method public void setAutofillHints(String[]); 5132*344a7f5eSAndroid Build Coastguard Worker method public void setAutofillId(android.view.autofill.AutofillId); 5133*344a7f5eSAndroid Build Coastguard Worker method public void setAutofillId(android.view.autofill.AutofillId, int); 5134*344a7f5eSAndroid Build Coastguard Worker method public void setAutofillOptions(CharSequence[]); 5135*344a7f5eSAndroid Build Coastguard Worker method public void setAutofillType(int); 5136*344a7f5eSAndroid Build Coastguard Worker method public void setAutofillValue(android.view.autofill.AutofillValue); 5137*344a7f5eSAndroid Build Coastguard Worker method public void setCheckable(boolean); 5138*344a7f5eSAndroid Build Coastguard Worker method public void setChecked(boolean); 5139*344a7f5eSAndroid Build Coastguard Worker method public void setChildCount(int); 5140*344a7f5eSAndroid Build Coastguard Worker method public void setClassName(String); 5141*344a7f5eSAndroid Build Coastguard Worker method public void setClickable(boolean); 5142*344a7f5eSAndroid Build Coastguard Worker method public void setContentDescription(CharSequence); 5143*344a7f5eSAndroid Build Coastguard Worker method public void setContextClickable(boolean); 5144*344a7f5eSAndroid Build Coastguard Worker method public void setDataIsSensitive(boolean); 5145*344a7f5eSAndroid Build Coastguard Worker method public void setDimens(int, int, int, int, int, int); 5146*344a7f5eSAndroid Build Coastguard Worker method public void setElevation(float); 5147*344a7f5eSAndroid Build Coastguard Worker method public void setEnabled(boolean); 5148*344a7f5eSAndroid Build Coastguard Worker method public void setFocusable(boolean); 5149*344a7f5eSAndroid Build Coastguard Worker method public void setFocused(boolean); 5150*344a7f5eSAndroid Build Coastguard Worker method public void setHint(CharSequence); 5151*344a7f5eSAndroid Build Coastguard Worker method public void setHtmlInfo(android.view.ViewStructure.HtmlInfo); 5152*344a7f5eSAndroid Build Coastguard Worker method public void setId(int, String, String, String); 5153*344a7f5eSAndroid Build Coastguard Worker method public void setInputType(int); 5154*344a7f5eSAndroid Build Coastguard Worker method public void setLocaleList(android.os.LocaleList); 5155*344a7f5eSAndroid Build Coastguard Worker method public void setLongClickable(boolean); 5156*344a7f5eSAndroid Build Coastguard Worker method public void setOpaque(boolean); 5157*344a7f5eSAndroid Build Coastguard Worker method public void setSelected(boolean); 5158*344a7f5eSAndroid Build Coastguard Worker method public void setText(CharSequence); 5159*344a7f5eSAndroid Build Coastguard Worker method public void setText(CharSequence, int, int); 5160*344a7f5eSAndroid Build Coastguard Worker method public void setTextLines(int[], int[]); 5161*344a7f5eSAndroid Build Coastguard Worker method public void setTextStyle(float, int, int, int); 5162*344a7f5eSAndroid Build Coastguard Worker method public void setTransformation(android.graphics.Matrix); 5163*344a7f5eSAndroid Build Coastguard Worker method public void setVisibility(int); 5164*344a7f5eSAndroid Build Coastguard Worker method public void setWebDomain(String); 5165*344a7f5eSAndroid Build Coastguard Worker } 5166*344a7f5eSAndroid Build Coastguard Worker 5167*344a7f5eSAndroid Build Coastguard Worker} 5168*344a7f5eSAndroid Build Coastguard Worker 5169*344a7f5eSAndroid Build Coastguard Workerpackage android.view.inputmethod { 5170*344a7f5eSAndroid Build Coastguard Worker 5171*344a7f5eSAndroid Build Coastguard Worker public final class InlineSuggestion implements android.os.Parcelable { 5172*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.view.inputmethod.InlineSuggestion newInlineSuggestion(@NonNull android.view.inputmethod.InlineSuggestionInfo); 5173*344a7f5eSAndroid Build Coastguard Worker } 5174*344a7f5eSAndroid Build Coastguard Worker 5175*344a7f5eSAndroid Build Coastguard Worker public final class InlineSuggestionInfo implements android.os.Parcelable { 5176*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.view.inputmethod.InlineSuggestionInfo newInlineSuggestionInfo(@NonNull android.widget.inline.InlinePresentationSpec, @NonNull String, @Nullable String[], @NonNull String, boolean); 5177*344a7f5eSAndroid Build Coastguard Worker } 5178*344a7f5eSAndroid Build Coastguard Worker 5179*344a7f5eSAndroid Build Coastguard Worker public final class InlineSuggestionsResponse implements android.os.Parcelable { 5180*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.view.inputmethod.InlineSuggestionsResponse newInlineSuggestionsResponse(@NonNull java.util.List<android.view.inputmethod.InlineSuggestion>); 5181*344a7f5eSAndroid Build Coastguard Worker } 5182*344a7f5eSAndroid Build Coastguard Worker 5183*344a7f5eSAndroid Build Coastguard Worker public final class InputMethodManager { 5184*344a7f5eSAndroid Build Coastguard Worker method public int getDisplayId(); 5185*344a7f5eSAndroid Build Coastguard Worker method public boolean isInputMethodPickerShown(); 5186*344a7f5eSAndroid Build Coastguard Worker } 5187*344a7f5eSAndroid Build Coastguard Worker 5188*344a7f5eSAndroid Build Coastguard Worker} 5189*344a7f5eSAndroid Build Coastguard Worker 5190*344a7f5eSAndroid Build Coastguard Workerpackage android.view.inspector { 5191*344a7f5eSAndroid Build Coastguard Worker 5192*344a7f5eSAndroid Build Coastguard Worker @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target({java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.FIELD}) public @interface InspectableProperty { 5193*344a7f5eSAndroid Build Coastguard Worker method public abstract int attributeId() default android.content.res.Resources.ID_NULL; 5194*344a7f5eSAndroid Build Coastguard Worker method public abstract android.view.inspector.InspectableProperty.EnumEntry[] enumMapping() default {}; 5195*344a7f5eSAndroid Build Coastguard Worker method public abstract android.view.inspector.InspectableProperty.FlagEntry[] flagMapping() default {}; 5196*344a7f5eSAndroid Build Coastguard Worker method public abstract boolean hasAttributeId() default true; 5197*344a7f5eSAndroid Build Coastguard Worker method public abstract String name() default ""; 5198*344a7f5eSAndroid Build Coastguard Worker method public abstract android.view.inspector.InspectableProperty.ValueType valueType() default android.view.inspector.InspectableProperty.ValueType.INFERRED; 5199*344a7f5eSAndroid Build Coastguard Worker } 5200*344a7f5eSAndroid Build Coastguard Worker 5201*344a7f5eSAndroid Build Coastguard Worker @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target({java.lang.annotation.ElementType.TYPE}) public static @interface InspectableProperty.EnumEntry { 5202*344a7f5eSAndroid Build Coastguard Worker method public abstract String name(); 5203*344a7f5eSAndroid Build Coastguard Worker method public abstract int value(); 5204*344a7f5eSAndroid Build Coastguard Worker } 5205*344a7f5eSAndroid Build Coastguard Worker 5206*344a7f5eSAndroid Build Coastguard Worker @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target({java.lang.annotation.ElementType.TYPE}) public static @interface InspectableProperty.FlagEntry { 5207*344a7f5eSAndroid Build Coastguard Worker method public abstract int mask() default 0; 5208*344a7f5eSAndroid Build Coastguard Worker method public abstract String name(); 5209*344a7f5eSAndroid Build Coastguard Worker method public abstract int target(); 5210*344a7f5eSAndroid Build Coastguard Worker } 5211*344a7f5eSAndroid Build Coastguard Worker 5212*344a7f5eSAndroid Build Coastguard Worker public enum InspectableProperty.ValueType { 5213*344a7f5eSAndroid Build Coastguard Worker enum_constant public static final android.view.inspector.InspectableProperty.ValueType COLOR; 5214*344a7f5eSAndroid Build Coastguard Worker enum_constant public static final android.view.inspector.InspectableProperty.ValueType GRAVITY; 5215*344a7f5eSAndroid Build Coastguard Worker enum_constant public static final android.view.inspector.InspectableProperty.ValueType INFERRED; 5216*344a7f5eSAndroid Build Coastguard Worker enum_constant public static final android.view.inspector.InspectableProperty.ValueType INT_ENUM; 5217*344a7f5eSAndroid Build Coastguard Worker enum_constant public static final android.view.inspector.InspectableProperty.ValueType INT_FLAG; 5218*344a7f5eSAndroid Build Coastguard Worker enum_constant public static final android.view.inspector.InspectableProperty.ValueType NONE; 5219*344a7f5eSAndroid Build Coastguard Worker enum_constant public static final android.view.inspector.InspectableProperty.ValueType RESOURCE_ID; 5220*344a7f5eSAndroid Build Coastguard Worker } 5221*344a7f5eSAndroid Build Coastguard Worker 5222*344a7f5eSAndroid Build Coastguard Worker} 5223*344a7f5eSAndroid Build Coastguard Worker 5224*344a7f5eSAndroid Build Coastguard Workerpackage android.widget { 5225*344a7f5eSAndroid Build Coastguard Worker 5226*344a7f5eSAndroid Build Coastguard Worker public abstract class AbsListView extends android.widget.AdapterView<android.widget.ListAdapter> implements android.widget.Filter.FilterListener android.text.TextWatcher android.view.ViewTreeObserver.OnGlobalLayoutListener android.view.ViewTreeObserver.OnTouchModeChangeListener { 5227*344a7f5eSAndroid Build Coastguard Worker method public final boolean shouldDrawSelector(); 5228*344a7f5eSAndroid Build Coastguard Worker } 5229*344a7f5eSAndroid Build Coastguard Worker 5230*344a7f5eSAndroid Build Coastguard Worker public class CalendarView extends android.widget.FrameLayout { 5231*344a7f5eSAndroid Build Coastguard Worker method public boolean getBoundsForDate(long, android.graphics.Rect); 5232*344a7f5eSAndroid Build Coastguard Worker } 5233*344a7f5eSAndroid Build Coastguard Worker 5234*344a7f5eSAndroid Build Coastguard Worker public class DatePicker extends android.widget.FrameLayout { 5235*344a7f5eSAndroid Build Coastguard Worker method @android.view.inspector.InspectableProperty(name="datePickerMode", enumMapping={@android.view.inspector.InspectableProperty.EnumEntry(value=android.widget.DatePicker.MODE_SPINNER, name="spinner"), @android.view.inspector.InspectableProperty.EnumEntry(value=android.widget.DatePicker.MODE_CALENDAR, name="calendar")}) public int getMode(); 5236*344a7f5eSAndroid Build Coastguard Worker field public static final int MODE_CALENDAR = 2; // 0x2 5237*344a7f5eSAndroid Build Coastguard Worker field public static final int MODE_SPINNER = 1; // 0x1 5238*344a7f5eSAndroid Build Coastguard Worker } 5239*344a7f5eSAndroid Build Coastguard Worker 5240*344a7f5eSAndroid Build Coastguard Worker @UiThread public final class Magnifier { 5241*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.graphics.Bitmap getContent(); 5242*344a7f5eSAndroid Build Coastguard Worker method public static android.graphics.PointF getMagnifierDefaultSize(); 5243*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.graphics.Bitmap getOriginalContent(); 5244*344a7f5eSAndroid Build Coastguard Worker method public void setOnOperationCompleteCallback(android.widget.Magnifier.Callback); 5245*344a7f5eSAndroid Build Coastguard Worker } 5246*344a7f5eSAndroid Build Coastguard Worker 5247*344a7f5eSAndroid Build Coastguard Worker public static interface Magnifier.Callback { 5248*344a7f5eSAndroid Build Coastguard Worker method public void onOperationComplete(); 5249*344a7f5eSAndroid Build Coastguard Worker } 5250*344a7f5eSAndroid Build Coastguard Worker 5251*344a7f5eSAndroid Build Coastguard Worker public class NumberPicker extends android.widget.LinearLayout { 5252*344a7f5eSAndroid Build Coastguard Worker method public CharSequence getDisplayedValueForCurrentSelection(); 5253*344a7f5eSAndroid Build Coastguard Worker } 5254*344a7f5eSAndroid Build Coastguard Worker 5255*344a7f5eSAndroid Build Coastguard Worker public class PopupMenu { 5256*344a7f5eSAndroid Build Coastguard Worker method public android.widget.ListView getMenuListView(); 5257*344a7f5eSAndroid Build Coastguard Worker } 5258*344a7f5eSAndroid Build Coastguard Worker 5259*344a7f5eSAndroid Build Coastguard Worker public class Spinner extends android.widget.AbsSpinner implements android.content.DialogInterface.OnClickListener { 5260*344a7f5eSAndroid Build Coastguard Worker method public boolean isPopupShowing(); 5261*344a7f5eSAndroid Build Coastguard Worker } 5262*344a7f5eSAndroid Build Coastguard Worker 5263*344a7f5eSAndroid Build Coastguard Worker @android.widget.RemoteViews.RemoteView public class TextClock extends android.widget.TextView { 5264*344a7f5eSAndroid Build Coastguard Worker method public void disableClockTick(); 5265*344a7f5eSAndroid Build Coastguard Worker } 5266*344a7f5eSAndroid Build Coastguard Worker 5267*344a7f5eSAndroid Build Coastguard Worker public class TimePicker extends android.widget.FrameLayout { 5268*344a7f5eSAndroid Build Coastguard Worker method public android.view.View getAmView(); 5269*344a7f5eSAndroid Build Coastguard Worker method public android.view.View getHourView(); 5270*344a7f5eSAndroid Build Coastguard Worker method public android.view.View getMinuteView(); 5271*344a7f5eSAndroid Build Coastguard Worker method @android.view.inspector.InspectableProperty(name="timePickerMode", enumMapping={@android.view.inspector.InspectableProperty.EnumEntry(name="clock", value=android.widget.TimePicker.MODE_CLOCK), @android.view.inspector.InspectableProperty.EnumEntry(name="spinner", value=android.widget.TimePicker.MODE_SPINNER)}) public int getMode(); 5272*344a7f5eSAndroid Build Coastguard Worker method public android.view.View getPmView(); 5273*344a7f5eSAndroid Build Coastguard Worker field public static final int MODE_CLOCK = 2; // 0x2 5274*344a7f5eSAndroid Build Coastguard Worker field public static final int MODE_SPINNER = 1; // 0x1 5275*344a7f5eSAndroid Build Coastguard Worker } 5276*344a7f5eSAndroid Build Coastguard Worker 5277*344a7f5eSAndroid Build Coastguard Worker public class Toolbar extends android.view.ViewGroup { 5278*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.view.View getNavigationView(); 5279*344a7f5eSAndroid Build Coastguard Worker } 5280*344a7f5eSAndroid Build Coastguard Worker 5281*344a7f5eSAndroid Build Coastguard Worker} 5282*344a7f5eSAndroid Build Coastguard Worker 5283*344a7f5eSAndroid Build Coastguard Workerpackage android.window { 5284*344a7f5eSAndroid Build Coastguard Worker 5285*344a7f5eSAndroid Build Coastguard Worker public final class DisplayAreaInfo implements android.os.Parcelable { 5286*344a7f5eSAndroid Build Coastguard Worker ctor public DisplayAreaInfo(@NonNull android.window.WindowContainerToken, int, int); 5287*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 5288*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 5289*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.window.DisplayAreaInfo> CREATOR; 5290*344a7f5eSAndroid Build Coastguard Worker field @NonNull public final android.content.res.Configuration configuration; 5291*344a7f5eSAndroid Build Coastguard Worker field public final int displayId; 5292*344a7f5eSAndroid Build Coastguard Worker field public final int featureId; 5293*344a7f5eSAndroid Build Coastguard Worker field @NonNull public final android.window.WindowContainerToken token; 5294*344a7f5eSAndroid Build Coastguard Worker } 5295*344a7f5eSAndroid Build Coastguard Worker 5296*344a7f5eSAndroid Build Coastguard Worker public class DisplayAreaOrganizer extends android.window.WindowOrganizer { 5297*344a7f5eSAndroid Build Coastguard Worker ctor public DisplayAreaOrganizer(); 5298*344a7f5eSAndroid Build Coastguard Worker method public void onDisplayAreaAppeared(@NonNull android.window.DisplayAreaInfo, @NonNull android.view.SurfaceControl); 5299*344a7f5eSAndroid Build Coastguard Worker method public void onDisplayAreaVanished(@NonNull android.window.DisplayAreaInfo); 5300*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void registerOrganizer(int); 5301*344a7f5eSAndroid Build Coastguard Worker field public static final int FEATURE_DEFAULT_TASK_CONTAINER = 1; // 0x1 5302*344a7f5eSAndroid Build Coastguard Worker field public static final int FEATURE_ROOT = 0; // 0x0 5303*344a7f5eSAndroid Build Coastguard Worker field public static final int FEATURE_SYSTEM_FIRST = 0; // 0x0 5304*344a7f5eSAndroid Build Coastguard Worker field public static final int FEATURE_SYSTEM_LAST = 10000; // 0x2710 5305*344a7f5eSAndroid Build Coastguard Worker field public static final int FEATURE_UNDEFINED = -1; // 0xffffffff 5306*344a7f5eSAndroid Build Coastguard Worker field public static final int FEATURE_VENDOR_FIRST = 10001; // 0x2711 5307*344a7f5eSAndroid Build Coastguard Worker field public static final int FEATURE_WINDOW_TOKENS = 2; // 0x2 5308*344a7f5eSAndroid Build Coastguard Worker } 5309*344a7f5eSAndroid Build Coastguard Worker 5310*344a7f5eSAndroid Build Coastguard Worker public class TaskOrganizer extends android.window.WindowOrganizer { 5311*344a7f5eSAndroid Build Coastguard Worker ctor public TaskOrganizer(); 5312*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public static android.app.ActivityManager.RunningTaskInfo createRootTask(int, int); 5313*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public static boolean deleteRootTask(@NonNull android.window.WindowContainerToken); 5314*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public static java.util.List<android.app.ActivityManager.RunningTaskInfo> getChildTasks(@NonNull android.window.WindowContainerToken, @NonNull int[]); 5315*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public static android.window.WindowContainerToken getImeTarget(int); 5316*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public static java.util.List<android.app.ActivityManager.RunningTaskInfo> getRootTasks(int, @NonNull int[]); 5317*344a7f5eSAndroid Build Coastguard Worker method @BinderThread public void onBackPressedOnTaskRoot(@NonNull android.app.ActivityManager.RunningTaskInfo); 5318*344a7f5eSAndroid Build Coastguard Worker method @BinderThread public void onTaskAppeared(@NonNull android.app.ActivityManager.RunningTaskInfo, @NonNull android.view.SurfaceControl); 5319*344a7f5eSAndroid Build Coastguard Worker method @BinderThread public void onTaskInfoChanged(@NonNull android.app.ActivityManager.RunningTaskInfo); 5320*344a7f5eSAndroid Build Coastguard Worker method @BinderThread public void onTaskVanished(@NonNull android.app.ActivityManager.RunningTaskInfo); 5321*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public final void registerOrganizer(int); 5322*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public void setInterceptBackPressedOnTaskRoot(boolean); 5323*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public static void setLaunchRoot(int, @NonNull android.window.WindowContainerToken); 5324*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public final void unregisterOrganizer(); 5325*344a7f5eSAndroid Build Coastguard Worker } 5326*344a7f5eSAndroid Build Coastguard Worker 5327*344a7f5eSAndroid Build Coastguard Worker public final class WindowContainerToken implements android.os.Parcelable { 5328*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 5329*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 5330*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.window.WindowContainerToken> CREATOR; 5331*344a7f5eSAndroid Build Coastguard Worker } 5332*344a7f5eSAndroid Build Coastguard Worker 5333*344a7f5eSAndroid Build Coastguard Worker public final class WindowContainerTransaction implements android.os.Parcelable { 5334*344a7f5eSAndroid Build Coastguard Worker ctor public WindowContainerTransaction(); 5335*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 5336*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.window.WindowContainerTransaction reorder(@NonNull android.window.WindowContainerToken, boolean); 5337*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.window.WindowContainerTransaction reparent(@NonNull android.window.WindowContainerToken, @Nullable android.window.WindowContainerToken, boolean); 5338*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.window.WindowContainerTransaction scheduleFinishEnterPip(@NonNull android.window.WindowContainerToken, @NonNull android.graphics.Rect); 5339*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.window.WindowContainerTransaction setActivityWindowingMode(@NonNull android.window.WindowContainerToken, int); 5340*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.window.WindowContainerTransaction setAppBounds(@NonNull android.window.WindowContainerToken, @NonNull android.graphics.Rect); 5341*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.window.WindowContainerTransaction setBounds(@NonNull android.window.WindowContainerToken, @NonNull android.graphics.Rect); 5342*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.window.WindowContainerTransaction setBoundsChangeTransaction(@NonNull android.window.WindowContainerToken, @NonNull android.view.SurfaceControl.Transaction); 5343*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.window.WindowContainerTransaction setFocusable(@NonNull android.window.WindowContainerToken, boolean); 5344*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.window.WindowContainerTransaction setHidden(@NonNull android.window.WindowContainerToken, boolean); 5345*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.window.WindowContainerTransaction setScreenSizeDp(@NonNull android.window.WindowContainerToken, int, int); 5346*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.window.WindowContainerTransaction setSmallestScreenWidthDp(@NonNull android.window.WindowContainerToken, int); 5347*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.window.WindowContainerTransaction setWindowingMode(@NonNull android.window.WindowContainerToken, int); 5348*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 5349*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.window.WindowContainerTransaction> CREATOR; 5350*344a7f5eSAndroid Build Coastguard Worker } 5351*344a7f5eSAndroid Build Coastguard Worker 5352*344a7f5eSAndroid Build Coastguard Worker public abstract class WindowContainerTransactionCallback { 5353*344a7f5eSAndroid Build Coastguard Worker ctor public WindowContainerTransactionCallback(); 5354*344a7f5eSAndroid Build Coastguard Worker method public abstract void onTransactionReady(int, @NonNull android.view.SurfaceControl.Transaction); 5355*344a7f5eSAndroid Build Coastguard Worker } 5356*344a7f5eSAndroid Build Coastguard Worker 5357*344a7f5eSAndroid Build Coastguard Worker public class WindowOrganizer { 5358*344a7f5eSAndroid Build Coastguard Worker ctor public WindowOrganizer(); 5359*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public int applySyncTransaction(@NonNull android.window.WindowContainerTransaction, @NonNull android.window.WindowContainerTransactionCallback); 5360*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_STACKS) public static void applyTransaction(@NonNull android.window.WindowContainerTransaction); 5361*344a7f5eSAndroid Build Coastguard Worker } 5362*344a7f5eSAndroid Build Coastguard Worker 5363*344a7f5eSAndroid Build Coastguard Worker} 5364*344a7f5eSAndroid Build Coastguard Worker 5365