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 BLUETOOTH_STACK = "android.permission.BLUETOOTH_STACK"; 6*344a7f5eSAndroid Build Coastguard Worker field public static final String CONTROL_AUTOMOTIVE_GNSS = "android.permission.CONTROL_AUTOMOTIVE_GNSS"; 7*344a7f5eSAndroid Build Coastguard Worker field public static final String GET_INTENT_SENDER_INTENT = "android.permission.GET_INTENT_SENDER_INTENT"; 8*344a7f5eSAndroid Build Coastguard Worker field public static final String MAKE_UID_VISIBLE = "android.permission.MAKE_UID_VISIBLE"; 9*344a7f5eSAndroid Build Coastguard Worker } 10*344a7f5eSAndroid Build Coastguard Worker 11*344a7f5eSAndroid Build Coastguard Worker} 12*344a7f5eSAndroid Build Coastguard Worker 13*344a7f5eSAndroid Build Coastguard Workerpackage android.adservices { 14*344a7f5eSAndroid Build Coastguard Worker 15*344a7f5eSAndroid Build Coastguard Worker public class AdServicesFrameworkInitializer { 16*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 17*344a7f5eSAndroid Build Coastguard Worker } 18*344a7f5eSAndroid Build Coastguard Worker 19*344a7f5eSAndroid Build Coastguard Worker} 20*344a7f5eSAndroid Build Coastguard Worker 21*344a7f5eSAndroid Build Coastguard Workerpackage android.app { 22*344a7f5eSAndroid Build Coastguard Worker 23*344a7f5eSAndroid Build Coastguard Worker @UiContext public class Activity extends android.view.ContextThemeWrapper implements android.content.ComponentCallbacks2 android.view.KeyEvent.Callback android.view.LayoutInflater.Factory2 android.view.View.OnCreateContextMenuListener android.view.Window.Callback { 24*344a7f5eSAndroid Build Coastguard Worker method public final boolean addDumpable(@NonNull android.util.Dumpable); 25*344a7f5eSAndroid Build Coastguard Worker method public final boolean isResumed(); 26*344a7f5eSAndroid Build Coastguard Worker } 27*344a7f5eSAndroid Build Coastguard Worker 28*344a7f5eSAndroid Build Coastguard Worker public class ActivityManager { 29*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER) public void addHomeVisibilityListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.HomeVisibilityListener); 30*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int[] getUidFrozenState(@NonNull int[]); 31*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void registerUidFrozenStateChangedCallback(@NonNull java.util.concurrent.Executor, @NonNull android.app.ActivityManager.UidFrozenStateChangedCallback); 32*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.SET_ACTIVITY_WATCHER) public void removeHomeVisibilityListener(@NonNull android.app.HomeVisibilityListener); 33*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public void unregisterUidFrozenStateChangedCallback(@NonNull android.app.ActivityManager.UidFrozenStateChangedCallback); 34*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CHANGE_CONFIGURATION) public boolean updateMccMncConfiguration(@NonNull String, @NonNull String); 35*344a7f5eSAndroid Build Coastguard Worker } 36*344a7f5eSAndroid Build Coastguard Worker 37*344a7f5eSAndroid Build Coastguard Worker public static interface ActivityManager.UidFrozenStateChangedCallback { 38*344a7f5eSAndroid Build Coastguard Worker method public void onUidFrozenStateChanged(@NonNull int[], @NonNull int[]); 39*344a7f5eSAndroid Build Coastguard Worker field public static final int UID_FROZEN_STATE_FROZEN = 1; // 0x1 40*344a7f5eSAndroid Build Coastguard Worker field public static final int UID_FROZEN_STATE_UNFROZEN = 2; // 0x2 41*344a7f5eSAndroid Build Coastguard Worker } 42*344a7f5eSAndroid Build Coastguard Worker 43*344a7f5eSAndroid Build Coastguard Worker public class AppOpsManager { 44*344a7f5eSAndroid Build Coastguard Worker field public static final String OPSTR_NO_ISOLATED_STORAGE = "android:no_isolated_storage"; 45*344a7f5eSAndroid Build Coastguard Worker } 46*344a7f5eSAndroid Build Coastguard Worker 47*344a7f5eSAndroid Build Coastguard Worker public class BroadcastOptions { 48*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int getMaxManifestReceiverApiLevel(); 49*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setMaxManifestReceiverApiLevel(int); 50*344a7f5eSAndroid Build Coastguard Worker } 51*344a7f5eSAndroid Build Coastguard Worker 52*344a7f5eSAndroid Build Coastguard Worker public abstract class HomeVisibilityListener { 53*344a7f5eSAndroid Build Coastguard Worker ctor public HomeVisibilityListener(); 54*344a7f5eSAndroid Build Coastguard Worker method public abstract void onHomeVisibilityChanged(boolean); 55*344a7f5eSAndroid Build Coastguard Worker } 56*344a7f5eSAndroid Build Coastguard Worker 57*344a7f5eSAndroid Build Coastguard Worker public class NotificationManager { 58*344a7f5eSAndroid Build Coastguard Worker method public boolean hasEnabledNotificationListener(@NonNull String, @NonNull android.os.UserHandle); 59*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_NOTIFICATION_LISTENER_ENABLED_CHANGED = "android.app.action.NOTIFICATION_LISTENER_ENABLED_CHANGED"; 60*344a7f5eSAndroid Build Coastguard Worker } 61*344a7f5eSAndroid Build Coastguard Worker 62*344a7f5eSAndroid Build Coastguard Worker public final class PendingIntent implements android.os.Parcelable { 63*344a7f5eSAndroid Build Coastguard Worker method public boolean addCancelListener(@NonNull java.util.concurrent.Executor, @NonNull android.app.PendingIntent.CancelListener); 64*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.GET_INTENT_SENDER_INTENT) public boolean intentFilterEquals(@Nullable android.app.PendingIntent); 65*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.GET_INTENT_SENDER_INTENT) public java.util.List<android.content.pm.ResolveInfo> queryIntentComponents(int); 66*344a7f5eSAndroid Build Coastguard Worker method public void removeCancelListener(@NonNull android.app.PendingIntent.CancelListener); 67*344a7f5eSAndroid Build Coastguard Worker } 68*344a7f5eSAndroid Build Coastguard Worker 69*344a7f5eSAndroid Build Coastguard Worker public static interface PendingIntent.CancelListener { 70*344a7f5eSAndroid Build Coastguard Worker method public void onCanceled(@NonNull android.app.PendingIntent); 71*344a7f5eSAndroid Build Coastguard Worker } 72*344a7f5eSAndroid Build Coastguard Worker 73*344a7f5eSAndroid Build Coastguard Worker public class StatusBarManager { 74*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void setExpansionDisabledForSimNetworkLock(boolean); 75*344a7f5eSAndroid Build Coastguard Worker } 76*344a7f5eSAndroid Build Coastguard Worker 77*344a7f5eSAndroid Build Coastguard Worker} 78*344a7f5eSAndroid Build Coastguard Worker 79*344a7f5eSAndroid Build Coastguard Workerpackage android.app.admin { 80*344a7f5eSAndroid Build Coastguard Worker 81*344a7f5eSAndroid Build Coastguard Worker public class DevicePolicyManager { 82*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public void acknowledgeNewUserDisclaimer(); 83*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public android.os.UserHandle getLogoutUser(); 84*344a7f5eSAndroid Build Coastguard Worker method public boolean hasManagedProfileCallerIdAccess(@NonNull android.os.UserHandle, @NonNull String); 85*344a7f5eSAndroid Build Coastguard Worker method public boolean hasManagedProfileContactsAccess(@NonNull android.os.UserHandle, @NonNull String); 86*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public int logoutUser(); 87*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_SHOW_NEW_USER_DISCLAIMER = "android.app.action.SHOW_NEW_USER_DISCLAIMER"; 88*344a7f5eSAndroid Build Coastguard Worker } 89*344a7f5eSAndroid Build Coastguard Worker 90*344a7f5eSAndroid Build Coastguard Worker} 91*344a7f5eSAndroid Build Coastguard Worker 92*344a7f5eSAndroid Build Coastguard Workerpackage android.app.ecm { 93*344a7f5eSAndroid Build Coastguard Worker 94*344a7f5eSAndroid Build Coastguard Worker public class EnhancedConfirmationFrameworkInitializer { 95*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 96*344a7f5eSAndroid Build Coastguard Worker } 97*344a7f5eSAndroid Build Coastguard Worker 98*344a7f5eSAndroid Build Coastguard Worker} 99*344a7f5eSAndroid Build Coastguard Worker 100*344a7f5eSAndroid Build Coastguard Workerpackage android.app.role { 101*344a7f5eSAndroid Build Coastguard Worker 102*344a7f5eSAndroid Build Coastguard Worker public class RoleFrameworkInitializer { 103*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 104*344a7f5eSAndroid Build Coastguard Worker } 105*344a7f5eSAndroid Build Coastguard Worker 106*344a7f5eSAndroid Build Coastguard Worker public final class RoleManager { 107*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getBrowserRoleHolder(int); 108*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getEmergencyRoleHolder(int); 109*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getSmsRoleHolder(int); 110*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.SET_PREFERRED_APPLICATIONS) public boolean setBrowserRoleHolder(@Nullable String, int); 111*344a7f5eSAndroid Build Coastguard Worker } 112*344a7f5eSAndroid Build Coastguard Worker 113*344a7f5eSAndroid Build Coastguard Worker} 114*344a7f5eSAndroid Build Coastguard Worker 115*344a7f5eSAndroid Build Coastguard Workerpackage android.app.sdksandbox { 116*344a7f5eSAndroid Build Coastguard Worker 117*344a7f5eSAndroid Build Coastguard Worker public final class SdkSandboxManager { 118*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_START_SANDBOXED_ACTIVITY = "android.app.sdksandbox.action.START_SANDBOXED_ACTIVITY"; 119*344a7f5eSAndroid Build Coastguard Worker } 120*344a7f5eSAndroid Build Coastguard Worker 121*344a7f5eSAndroid Build Coastguard Worker public class SdkSandboxManagerFrameworkInitializer { 122*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 123*344a7f5eSAndroid Build Coastguard Worker } 124*344a7f5eSAndroid Build Coastguard Worker 125*344a7f5eSAndroid Build Coastguard Worker} 126*344a7f5eSAndroid Build Coastguard Worker 127*344a7f5eSAndroid Build Coastguard Workerpackage android.app.sdksandbox.sandboxactivity { 128*344a7f5eSAndroid Build Coastguard Worker 129*344a7f5eSAndroid Build Coastguard Worker public interface ActivityContextInfo { 130*344a7f5eSAndroid Build Coastguard Worker method public default int getContextFlags(); 131*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.pm.ApplicationInfo getSdkApplicationInfo(); 132*344a7f5eSAndroid Build Coastguard Worker } 133*344a7f5eSAndroid Build Coastguard Worker 134*344a7f5eSAndroid Build Coastguard Worker public abstract class SdkSandboxActivityAuthority { 135*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.app.sdksandbox.sandboxactivity.ActivityContextInfo getActivityContextInfo(@NonNull android.content.Intent); 136*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.app.sdksandbox.sandboxactivity.SdkSandboxActivityAuthority getInstance(); 137*344a7f5eSAndroid Build Coastguard Worker method public static boolean isSdkSandboxActivityIntent(@NonNull android.content.Context, @Nullable android.content.Intent); 138*344a7f5eSAndroid Build Coastguard Worker } 139*344a7f5eSAndroid Build Coastguard Worker 140*344a7f5eSAndroid Build Coastguard Worker} 141*344a7f5eSAndroid Build Coastguard Worker 142*344a7f5eSAndroid Build Coastguard Workerpackage android.app.usage { 143*344a7f5eSAndroid Build Coastguard Worker 144*344a7f5eSAndroid Build Coastguard Worker public class NetworkStatsManager { 145*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void forceUpdate(); 146*344a7f5eSAndroid Build Coastguard Worker method public static int getCollapsedRatType(int); 147*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public android.net.NetworkStats getMobileUidStats(); 148*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public android.net.NetworkStats getWifiUidStats(); 149*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void noteUidForeground(int, boolean); 150*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void notifyNetworkStatus(@NonNull java.util.List<android.net.Network>, @NonNull java.util.List<android.net.NetworkStateSnapshot>, @Nullable String, @NonNull java.util.List<android.net.UnderlyingNetworkInfo>); 151*344a7f5eSAndroid Build Coastguard Worker method @NonNull @WorkerThread public android.app.usage.NetworkStats queryDetailsForDevice(@NonNull android.net.NetworkTemplate, long, long); 152*344a7f5eSAndroid Build Coastguard Worker method @NonNull @WorkerThread public android.app.usage.NetworkStats queryDetailsForUidTagState(@NonNull android.net.NetworkTemplate, long, long, int, int, int) throws java.lang.SecurityException; 153*344a7f5eSAndroid Build Coastguard Worker method @NonNull @WorkerThread public android.app.usage.NetworkStats querySummary(@NonNull android.net.NetworkTemplate, long, long) throws java.lang.SecurityException; 154*344a7f5eSAndroid Build Coastguard Worker method @NonNull @WorkerThread public android.app.usage.NetworkStats.Bucket querySummaryForDevice(@NonNull android.net.NetworkTemplate, long, long); 155*344a7f5eSAndroid Build Coastguard Worker method @NonNull @WorkerThread public android.app.usage.NetworkStats queryTaggedSummary(@NonNull android.net.NetworkTemplate, long, long) throws java.lang.SecurityException; 156*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}, conditional=true) public void registerUsageCallback(@NonNull android.net.NetworkTemplate, long, @NonNull java.util.concurrent.Executor, @NonNull android.app.usage.NetworkStatsManager.UsageCallback); 157*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void setDefaultGlobalAlert(long); 158*344a7f5eSAndroid Build Coastguard Worker method public void setPollForce(boolean); 159*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void setPollOnOpen(boolean); 160*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void setStatsProviderWarningAndLimitAsync(@NonNull String, long, long); 161*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_TYPE_5G_NSA = -2; // 0xfffffffe 162*344a7f5eSAndroid Build Coastguard Worker } 163*344a7f5eSAndroid Build Coastguard Worker 164*344a7f5eSAndroid Build Coastguard Worker public abstract static class NetworkStatsManager.UsageCallback { 165*344a7f5eSAndroid Build Coastguard Worker method public void onThresholdReached(@NonNull android.net.NetworkTemplate); 166*344a7f5eSAndroid Build Coastguard Worker } 167*344a7f5eSAndroid Build Coastguard Worker 168*344a7f5eSAndroid Build Coastguard Worker} 169*344a7f5eSAndroid Build Coastguard Worker 170*344a7f5eSAndroid Build Coastguard Workerpackage android.bluetooth { 171*344a7f5eSAndroid Build Coastguard Worker 172*344a7f5eSAndroid Build Coastguard Worker public class BluetoothFrameworkInitializer { 173*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 174*344a7f5eSAndroid Build Coastguard Worker method public static void setBinderCallsStatsInitializer(@NonNull java.util.function.Consumer<android.content.Context>); 175*344a7f5eSAndroid Build Coastguard Worker method public static void setBluetoothServiceManager(@NonNull android.os.BluetoothServiceManager); 176*344a7f5eSAndroid Build Coastguard Worker } 177*344a7f5eSAndroid Build Coastguard Worker 178*344a7f5eSAndroid Build Coastguard Worker public final class BluetoothPan implements android.bluetooth.BluetoothProfile { 179*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED, android.Manifest.permission.TETHER_PRIVILEGED}) public android.net.TetheringManager.TetheredInterfaceRequest requestTetheredInterface(@NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.TetheredInterfaceCallback); 180*344a7f5eSAndroid Build Coastguard Worker } 181*344a7f5eSAndroid Build Coastguard Worker 182*344a7f5eSAndroid Build Coastguard Worker} 183*344a7f5eSAndroid Build Coastguard Worker 184*344a7f5eSAndroid Build Coastguard Workerpackage android.compat { 185*344a7f5eSAndroid Build Coastguard Worker 186*344a7f5eSAndroid Build Coastguard Worker public final class Compatibility { 187*344a7f5eSAndroid Build Coastguard Worker method public static void clearBehaviorChangeDelegate(); 188*344a7f5eSAndroid Build Coastguard Worker method public static void clearOverrides(); 189*344a7f5eSAndroid Build Coastguard Worker method public static boolean isChangeEnabled(long); 190*344a7f5eSAndroid Build Coastguard Worker method public static void reportUnconditionalChange(long); 191*344a7f5eSAndroid Build Coastguard Worker method public static void setBehaviorChangeDelegate(android.compat.Compatibility.BehaviorChangeDelegate); 192*344a7f5eSAndroid Build Coastguard Worker method public static void setOverrides(android.compat.Compatibility.ChangeConfig); 193*344a7f5eSAndroid Build Coastguard Worker } 194*344a7f5eSAndroid Build Coastguard Worker 195*344a7f5eSAndroid Build Coastguard Worker public static interface Compatibility.BehaviorChangeDelegate { 196*344a7f5eSAndroid Build Coastguard Worker method public default boolean isChangeEnabled(long); 197*344a7f5eSAndroid Build Coastguard Worker method public default void onChangeReported(long); 198*344a7f5eSAndroid Build Coastguard Worker } 199*344a7f5eSAndroid Build Coastguard Worker 200*344a7f5eSAndroid Build Coastguard Worker public static final class Compatibility.ChangeConfig { 201*344a7f5eSAndroid Build Coastguard Worker ctor public Compatibility.ChangeConfig(@NonNull java.util.Set<java.lang.Long>, @NonNull java.util.Set<java.lang.Long>); 202*344a7f5eSAndroid Build Coastguard Worker method @NonNull public long[] getDisabledChangesArray(); 203*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Set<java.lang.Long> getDisabledSet(); 204*344a7f5eSAndroid Build Coastguard Worker method @NonNull public long[] getEnabledChangesArray(); 205*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Set<java.lang.Long> getEnabledSet(); 206*344a7f5eSAndroid Build Coastguard Worker method public boolean isEmpty(); 207*344a7f5eSAndroid Build Coastguard Worker method public boolean isForceDisabled(long); 208*344a7f5eSAndroid Build Coastguard Worker method public boolean isForceEnabled(long); 209*344a7f5eSAndroid Build Coastguard Worker } 210*344a7f5eSAndroid Build Coastguard Worker 211*344a7f5eSAndroid Build Coastguard Worker} 212*344a7f5eSAndroid Build Coastguard Worker 213*344a7f5eSAndroid Build Coastguard Workerpackage android.content { 214*344a7f5eSAndroid Build Coastguard Worker 215*344a7f5eSAndroid Build Coastguard Worker public abstract class ContentProvider implements android.content.ComponentCallbacks2 { 216*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.net.Uri createContentUriForUser(@NonNull android.net.Uri, @NonNull android.os.UserHandle); 217*344a7f5eSAndroid Build Coastguard Worker } 218*344a7f5eSAndroid Build Coastguard Worker 219*344a7f5eSAndroid Build Coastguard Worker public abstract class ContentResolver { 220*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(value=android.Manifest.permission.INTERACT_ACROSS_USERS_FULL, conditional=true) public final void registerContentObserverAsUser(@NonNull android.net.Uri, boolean, @NonNull android.database.ContentObserver, @NonNull android.os.UserHandle); 221*344a7f5eSAndroid Build Coastguard Worker } 222*344a7f5eSAndroid Build Coastguard Worker 223*344a7f5eSAndroid Build Coastguard Worker public abstract class Context { 224*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.content.Context createContextForSdkInSandbox(@NonNull android.content.pm.ApplicationInfo, int) throws android.content.pm.PackageManager.NameNotFoundException; 225*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.IBinder getProcessToken(); 226*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.UserHandle getUser(); 227*344a7f5eSAndroid Build Coastguard Worker field public static final String PAC_PROXY_SERVICE = "pac_proxy"; 228*344a7f5eSAndroid Build Coastguard Worker field public static final String TEST_NETWORK_SERVICE = "test_network"; 229*344a7f5eSAndroid Build Coastguard Worker } 230*344a7f5eSAndroid Build Coastguard Worker 231*344a7f5eSAndroid Build Coastguard Worker public class Intent implements java.lang.Cloneable android.os.Parcelable { 232*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_SETTING_RESTORED = "android.os.action.SETTING_RESTORED"; 233*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_SETTING_NAME = "setting_name"; 234*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_SETTING_NEW_VALUE = "new_value"; 235*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_SETTING_PREVIOUS_VALUE = "previous_value"; 236*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_SETTING_RESTORED_FROM_SDK_INT = "restored_from_sdk_int"; 237*344a7f5eSAndroid Build Coastguard Worker } 238*344a7f5eSAndroid Build Coastguard Worker 239*344a7f5eSAndroid Build Coastguard Worker} 240*344a7f5eSAndroid Build Coastguard Worker 241*344a7f5eSAndroid Build Coastguard Workerpackage android.content.pm { 242*344a7f5eSAndroid Build Coastguard Worker 243*344a7f5eSAndroid Build Coastguard Worker public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { 244*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.content.pm.SharedLibraryInfo> getSharedLibraryInfos(); 245*344a7f5eSAndroid Build Coastguard Worker field public static final int HIDDEN_API_ENFORCEMENT_DEFAULT = -1; // 0xffffffff 246*344a7f5eSAndroid Build Coastguard Worker field public static final int HIDDEN_API_ENFORCEMENT_DISABLED = 0; // 0x0 247*344a7f5eSAndroid Build Coastguard Worker field public static final int HIDDEN_API_ENFORCEMENT_ENABLED = 2; // 0x2 248*344a7f5eSAndroid Build Coastguard Worker field public static final int HIDDEN_API_ENFORCEMENT_JUST_WARN = 1; // 0x1 249*344a7f5eSAndroid Build Coastguard Worker } 250*344a7f5eSAndroid Build Coastguard Worker 251*344a7f5eSAndroid Build Coastguard Worker public abstract class PackageManager { 252*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getSdkSandboxPackageName(); 253*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MAKE_UID_VISIBLE) public void makeUidVisible(int, int); 254*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_VERIFICATION_ROOT_HASH = "android.content.pm.extra.VERIFICATION_ROOT_HASH"; 255*344a7f5eSAndroid Build Coastguard Worker field public static final int MATCH_STATIC_SHARED_AND_SDK_LIBRARIES = 67108864; // 0x4000000 256*344a7f5eSAndroid Build Coastguard Worker } 257*344a7f5eSAndroid Build Coastguard Worker 258*344a7f5eSAndroid Build Coastguard Worker public class SignedPackage { 259*344a7f5eSAndroid Build Coastguard Worker method @NonNull public byte[] getCertificateDigest(); 260*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getPackageName(); 261*344a7f5eSAndroid Build Coastguard Worker } 262*344a7f5eSAndroid Build Coastguard Worker 263*344a7f5eSAndroid Build Coastguard Worker} 264*344a7f5eSAndroid Build Coastguard Worker 265*344a7f5eSAndroid Build Coastguard Workerpackage android.devicelock { 266*344a7f5eSAndroid Build Coastguard Worker 267*344a7f5eSAndroid Build Coastguard Worker public final class DeviceLockFrameworkInitializer { 268*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 269*344a7f5eSAndroid Build Coastguard Worker } 270*344a7f5eSAndroid Build Coastguard Worker 271*344a7f5eSAndroid Build Coastguard Worker} 272*344a7f5eSAndroid Build Coastguard Worker 273*344a7f5eSAndroid Build Coastguard Workerpackage android.hardware.usb { 274*344a7f5eSAndroid Build Coastguard Worker 275*344a7f5eSAndroid Build Coastguard Worker public class UsbManager { 276*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public int getGadgetHalVersion(); 277*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public int getUsbBandwidthMbps(); 278*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public int getUsbHalVersion(); 279*344a7f5eSAndroid Build Coastguard Worker field public static final int GADGET_HAL_NOT_SUPPORTED = -1; // 0xffffffff 280*344a7f5eSAndroid Build Coastguard Worker field public static final int GADGET_HAL_V1_0 = 10; // 0xa 281*344a7f5eSAndroid Build Coastguard Worker field public static final int GADGET_HAL_V1_1 = 11; // 0xb 282*344a7f5eSAndroid Build Coastguard Worker field public static final int GADGET_HAL_V1_2 = 12; // 0xc 283*344a7f5eSAndroid Build Coastguard Worker field public static final int GADGET_HAL_V2_0 = 20; // 0x14 284*344a7f5eSAndroid Build Coastguard Worker field public static final int USB_DATA_TRANSFER_RATE_10G = 10240; // 0x2800 285*344a7f5eSAndroid Build Coastguard Worker field public static final int USB_DATA_TRANSFER_RATE_20G = 20480; // 0x5000 286*344a7f5eSAndroid Build Coastguard Worker field public static final int USB_DATA_TRANSFER_RATE_40G = 40960; // 0xa000 287*344a7f5eSAndroid Build Coastguard Worker field public static final int USB_DATA_TRANSFER_RATE_5G = 5120; // 0x1400 288*344a7f5eSAndroid Build Coastguard Worker field public static final int USB_DATA_TRANSFER_RATE_FULL_SPEED = 12; // 0xc 289*344a7f5eSAndroid Build Coastguard Worker field public static final int USB_DATA_TRANSFER_RATE_HIGH_SPEED = 480; // 0x1e0 290*344a7f5eSAndroid Build Coastguard Worker field public static final int USB_DATA_TRANSFER_RATE_LOW_SPEED = 2; // 0x2 291*344a7f5eSAndroid Build Coastguard Worker field public static final int USB_DATA_TRANSFER_RATE_UNKNOWN = -1; // 0xffffffff 292*344a7f5eSAndroid Build Coastguard Worker field public static final int USB_HAL_NOT_SUPPORTED = -1; // 0xffffffff 293*344a7f5eSAndroid Build Coastguard Worker field public static final int USB_HAL_RETRY = -2; // 0xfffffffe 294*344a7f5eSAndroid Build Coastguard Worker field public static final int USB_HAL_V1_0 = 10; // 0xa 295*344a7f5eSAndroid Build Coastguard Worker field public static final int USB_HAL_V1_1 = 11; // 0xb 296*344a7f5eSAndroid Build Coastguard Worker field public static final int USB_HAL_V1_2 = 12; // 0xc 297*344a7f5eSAndroid Build Coastguard Worker field public static final int USB_HAL_V1_3 = 13; // 0xd 298*344a7f5eSAndroid Build Coastguard Worker field public static final int USB_HAL_V2_0 = 20; // 0x14 299*344a7f5eSAndroid Build Coastguard Worker } 300*344a7f5eSAndroid Build Coastguard Worker 301*344a7f5eSAndroid Build Coastguard Worker} 302*344a7f5eSAndroid Build Coastguard Worker 303*344a7f5eSAndroid Build Coastguard Workerpackage android.health.connect { 304*344a7f5eSAndroid Build Coastguard Worker 305*344a7f5eSAndroid Build Coastguard Worker public class HealthServicesInitializer { 306*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 307*344a7f5eSAndroid Build Coastguard Worker } 308*344a7f5eSAndroid Build Coastguard Worker 309*344a7f5eSAndroid Build Coastguard Worker} 310*344a7f5eSAndroid Build Coastguard Worker 311*344a7f5eSAndroid Build Coastguard Workerpackage android.location { 312*344a7f5eSAndroid Build Coastguard Worker 313*344a7f5eSAndroid Build Coastguard Worker public class LocationManager { 314*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(allOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.ACCESS_FINE_LOCATION}) public boolean injectLocation(@NonNull android.location.Location); 315*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONTROL_AUTOMOTIVE_GNSS) public boolean isAutomotiveGnssSuspended(); 316*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.CONTROL_AUTOMOTIVE_GNSS) public void setAutomotiveGnssSuspended(boolean); 317*344a7f5eSAndroid Build Coastguard Worker } 318*344a7f5eSAndroid Build Coastguard Worker 319*344a7f5eSAndroid Build Coastguard Worker} 320*344a7f5eSAndroid Build Coastguard Worker 321*344a7f5eSAndroid Build Coastguard Workerpackage android.media { 322*344a7f5eSAndroid Build Coastguard Worker 323*344a7f5eSAndroid Build Coastguard Worker public class AudioManager { 324*344a7f5eSAndroid Build Coastguard Worker method public void adjustStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); 325*344a7f5eSAndroid Build Coastguard Worker method public void adjustSuggestedStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); 326*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.bluetooth.BluetoothCodecConfig> getHwOffloadFormatsSupportedForA2dp(); 327*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.bluetooth.BluetoothLeAudioCodecConfig> getHwOffloadFormatsSupportedForLeAudio(); 328*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.bluetooth.BluetoothLeAudioCodecConfig> getHwOffloadFormatsSupportedForLeBroadcast(); 329*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_STACK) public void handleBluetoothActiveDeviceChanged(@Nullable android.bluetooth.BluetoothDevice, @Nullable android.bluetooth.BluetoothDevice, @NonNull android.media.BluetoothProfileConnectionInfo); 330*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_STACK) public void setA2dpSuspended(boolean); 331*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_STACK) public void setBluetoothHeadsetProperties(@NonNull String, boolean, boolean); 332*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_STACK) public void setHfpEnabled(boolean); 333*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_STACK) public void setHfpSamplingRate(int); 334*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_STACK) public void setHfpVolume(int); 335*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.BLUETOOTH_STACK) public void setLeAudioSuspended(boolean); 336*344a7f5eSAndroid Build Coastguard Worker method public void setStreamVolumeForUid(int, int, int, @NonNull String, int, int, int); 337*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_FROM_KEY = 4096; // 0x1000 338*344a7f5eSAndroid Build Coastguard Worker } 339*344a7f5eSAndroid Build Coastguard Worker 340*344a7f5eSAndroid Build Coastguard Worker public final class BluetoothProfileConnectionInfo implements android.os.Parcelable { 341*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.BluetoothProfileConnectionInfo createA2dpInfo(boolean, int); 342*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.BluetoothProfileConnectionInfo createA2dpSinkInfo(int); 343*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.BluetoothProfileConnectionInfo createHearingAidInfo(boolean); 344*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.BluetoothProfileConnectionInfo createLeAudioInfo(boolean, boolean); 345*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.media.BluetoothProfileConnectionInfo createLeAudioOutputInfo(boolean, int); 346*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 347*344a7f5eSAndroid Build Coastguard Worker method public int getProfile(); 348*344a7f5eSAndroid Build Coastguard Worker method public int getVolume(); 349*344a7f5eSAndroid Build Coastguard Worker method public boolean isLeOutput(); 350*344a7f5eSAndroid Build Coastguard Worker method public boolean isSuppressNoisyIntent(); 351*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 352*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.media.BluetoothProfileConnectionInfo> CREATOR; 353*344a7f5eSAndroid Build Coastguard Worker } 354*344a7f5eSAndroid Build Coastguard Worker 355*344a7f5eSAndroid Build Coastguard Worker public class MediaCommunicationManager { 356*344a7f5eSAndroid Build Coastguard Worker method public void dispatchMediaKeyEvent(@NonNull android.view.KeyEvent, boolean); 357*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void registerSessionCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.MediaCommunicationManager.SessionCallback); 358*344a7f5eSAndroid Build Coastguard Worker method public void unregisterSessionCallback(@NonNull android.media.MediaCommunicationManager.SessionCallback); 359*344a7f5eSAndroid Build Coastguard Worker } 360*344a7f5eSAndroid Build Coastguard Worker 361*344a7f5eSAndroid Build Coastguard Worker public static interface MediaCommunicationManager.SessionCallback { 362*344a7f5eSAndroid Build Coastguard Worker method public default void onSession2TokenCreated(@NonNull android.media.Session2Token); 363*344a7f5eSAndroid Build Coastguard Worker method public default void onSession2TokenCreated(@NonNull android.media.Session2Token, int); 364*344a7f5eSAndroid Build Coastguard Worker method public default void onSession2TokensChanged(@NonNull java.util.List<android.media.Session2Token>); 365*344a7f5eSAndroid Build Coastguard Worker } 366*344a7f5eSAndroid Build Coastguard Worker 367*344a7f5eSAndroid Build Coastguard Worker public class MediaFrameworkInitializer { 368*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 369*344a7f5eSAndroid Build Coastguard Worker method public static void setMediaServiceManager(@NonNull android.media.MediaServiceManager); 370*344a7f5eSAndroid Build Coastguard Worker } 371*344a7f5eSAndroid Build Coastguard Worker 372*344a7f5eSAndroid Build Coastguard Worker public class MediaMetadataRetriever implements java.lang.AutoCloseable { 373*344a7f5eSAndroid Build Coastguard Worker field public static final int METADATA_KEY_VIDEO_CODEC_MIME_TYPE = 40; // 0x28 374*344a7f5eSAndroid Build Coastguard Worker } 375*344a7f5eSAndroid Build Coastguard Worker 376*344a7f5eSAndroid Build Coastguard Worker @Deprecated public final class MediaParceledListSlice<T extends android.os.Parcelable> implements android.os.Parcelable { 377*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public MediaParceledListSlice(@NonNull java.util.List<T>); 378*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int describeContents(); 379*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public static <T extends android.os.Parcelable> android.media.MediaParceledListSlice<T> emptyList(); 380*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public java.util.List<T> getList(); 381*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void setInlineCountLimit(int); 382*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void writeToParcel(android.os.Parcel, int); 383*344a7f5eSAndroid Build Coastguard Worker field @Deprecated @NonNull public static final android.os.Parcelable.ClassLoaderCreator<android.media.MediaParceledListSlice> CREATOR; 384*344a7f5eSAndroid Build Coastguard Worker } 385*344a7f5eSAndroid Build Coastguard Worker 386*344a7f5eSAndroid Build Coastguard Worker public class MediaServiceManager { 387*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.MediaServiceManager.ServiceRegisterer getMediaCommunicationServiceRegisterer(); 388*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.MediaServiceManager.ServiceRegisterer getMediaSessionServiceRegisterer(); 389*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.media.MediaServiceManager.ServiceRegisterer getMediaTranscodingServiceRegisterer(); 390*344a7f5eSAndroid Build Coastguard Worker } 391*344a7f5eSAndroid Build Coastguard Worker 392*344a7f5eSAndroid Build Coastguard Worker public static final class MediaServiceManager.ServiceRegisterer { 393*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.IBinder get(); 394*344a7f5eSAndroid Build Coastguard Worker } 395*344a7f5eSAndroid Build Coastguard Worker 396*344a7f5eSAndroid Build Coastguard Worker} 397*344a7f5eSAndroid Build Coastguard Worker 398*344a7f5eSAndroid Build Coastguard Workerpackage android.media.session { 399*344a7f5eSAndroid Build Coastguard Worker 400*344a7f5eSAndroid Build Coastguard Worker public static final class MediaController.PlaybackInfo implements android.os.Parcelable { 401*344a7f5eSAndroid Build Coastguard Worker ctor public MediaController.PlaybackInfo(int, int, @IntRange(from=0) int, @IntRange(from=0) int, @NonNull android.media.AudioAttributes, @Nullable String); 402*344a7f5eSAndroid Build Coastguard Worker } 403*344a7f5eSAndroid Build Coastguard Worker 404*344a7f5eSAndroid Build Coastguard Worker public final class MediaSession { 405*344a7f5eSAndroid Build Coastguard Worker field public static final int FLAG_EXCLUSIVE_GLOBAL_PRIORITY = 65536; // 0x10000 406*344a7f5eSAndroid Build Coastguard Worker } 407*344a7f5eSAndroid Build Coastguard Worker 408*344a7f5eSAndroid Build Coastguard Worker public static final class MediaSession.Token implements android.os.Parcelable { 409*344a7f5eSAndroid Build Coastguard Worker method public int getUid(); 410*344a7f5eSAndroid Build Coastguard Worker } 411*344a7f5eSAndroid Build Coastguard Worker 412*344a7f5eSAndroid Build Coastguard Worker public final class MediaSessionManager { 413*344a7f5eSAndroid Build Coastguard Worker method public void addOnActiveSessionsChangedListener(@Nullable android.content.ComponentName, @NonNull android.os.UserHandle, @NonNull java.util.concurrent.Executor, @NonNull android.media.session.MediaSessionManager.OnActiveSessionsChangedListener); 414*344a7f5eSAndroid Build Coastguard Worker method public void dispatchMediaKeyEvent(@NonNull android.view.KeyEvent, boolean); 415*344a7f5eSAndroid Build Coastguard Worker method public void dispatchMediaKeyEventAsSystemService(@NonNull android.view.KeyEvent); 416*344a7f5eSAndroid Build Coastguard Worker method public boolean dispatchMediaKeyEventToSessionAsSystemService(@NonNull android.view.KeyEvent, @NonNull android.media.session.MediaSession.Token); 417*344a7f5eSAndroid Build Coastguard Worker method public void dispatchVolumeKeyEvent(@NonNull android.view.KeyEvent, int, boolean); 418*344a7f5eSAndroid Build Coastguard Worker method public void dispatchVolumeKeyEventAsSystemService(@NonNull android.view.KeyEvent, int); 419*344a7f5eSAndroid Build Coastguard Worker method public void dispatchVolumeKeyEventToSessionAsSystemService(@NonNull android.view.KeyEvent, @NonNull android.media.session.MediaSession.Token); 420*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.media.session.MediaController> getActiveSessionsForUser(@Nullable android.content.ComponentName, @NonNull android.os.UserHandle); 421*344a7f5eSAndroid Build Coastguard Worker method public void registerRemoteSessionCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.session.MediaSessionManager.RemoteSessionCallback); 422*344a7f5eSAndroid Build Coastguard Worker method public void unregisterRemoteSessionCallback(@NonNull android.media.session.MediaSessionManager.RemoteSessionCallback); 423*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_MEDIA_KEY_HANDLED = 1; // 0x1 424*344a7f5eSAndroid Build Coastguard Worker field public static final int RESULT_MEDIA_KEY_NOT_HANDLED = 0; // 0x0 425*344a7f5eSAndroid Build Coastguard Worker } 426*344a7f5eSAndroid Build Coastguard Worker 427*344a7f5eSAndroid Build Coastguard Worker public static interface MediaSessionManager.RemoteSessionCallback { 428*344a7f5eSAndroid Build Coastguard Worker method public void onDefaultRemoteSessionChanged(@Nullable android.media.session.MediaSession.Token); 429*344a7f5eSAndroid Build Coastguard Worker method public void onVolumeChanged(@NonNull android.media.session.MediaSession.Token, int); 430*344a7f5eSAndroid Build Coastguard Worker } 431*344a7f5eSAndroid Build Coastguard Worker 432*344a7f5eSAndroid Build Coastguard Worker} 433*344a7f5eSAndroid Build Coastguard Worker 434*344a7f5eSAndroid Build Coastguard Workerpackage android.nearby { 435*344a7f5eSAndroid Build Coastguard Worker 436*344a7f5eSAndroid Build Coastguard Worker public final class NearbyFrameworkInitializer { 437*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 438*344a7f5eSAndroid Build Coastguard Worker } 439*344a7f5eSAndroid Build Coastguard Worker 440*344a7f5eSAndroid Build Coastguard Worker} 441*344a7f5eSAndroid Build Coastguard Worker 442*344a7f5eSAndroid Build Coastguard Workerpackage android.net { 443*344a7f5eSAndroid Build Coastguard Worker 444*344a7f5eSAndroid Build Coastguard Worker public final class ConnectivityFrameworkInitializer { 445*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 446*344a7f5eSAndroid Build Coastguard Worker } 447*344a7f5eSAndroid Build Coastguard Worker 448*344a7f5eSAndroid Build Coastguard Worker public final class ConnectivityFrameworkInitializerTiramisu { 449*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 450*344a7f5eSAndroid Build Coastguard Worker } 451*344a7f5eSAndroid Build Coastguard Worker 452*344a7f5eSAndroid Build Coastguard Worker public class ConnectivityManager { 453*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void addUidToMeteredNetworkAllowList(int); 454*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void addUidToMeteredNetworkDenyList(int); 455*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void factoryReset(); 456*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public java.util.List<android.net.NetworkStateSnapshot> getAllNetworkStateSnapshots(); 457*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.ProxyInfo getGlobalProxy(); 458*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.util.Range<java.lang.Integer> getIpSecNetIdRange(); 459*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public android.net.LinkProperties getRedactedLinkPropertiesForPackage(@NonNull android.net.LinkProperties, int, @NonNull String); 460*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public android.net.NetworkCapabilities getRedactedNetworkCapabilitiesForPackage(@NonNull android.net.NetworkCapabilities, int, @NonNull String); 461*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public boolean isUidNetworkingBlocked(int, boolean); 462*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void registerDefaultNetworkCallbackForUid(int, @NonNull android.net.ConnectivityManager.NetworkCallback, @NonNull android.os.Handler); 463*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD, android.Manifest.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS}) public void registerSystemDefaultNetworkCallback(@NonNull android.net.ConnectivityManager.NetworkCallback, @NonNull android.os.Handler); 464*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void removeUidFromMeteredNetworkAllowList(int); 465*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void removeUidFromMeteredNetworkDenyList(int); 466*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void replaceFirewallChain(int, @NonNull int[]); 467*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void requestBackgroundNetwork(@NonNull android.net.NetworkRequest, @NonNull android.net.ConnectivityManager.NetworkCallback, @NonNull android.os.Handler); 468*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public boolean requestRouteToHostAddress(int, java.net.InetAddress); 469*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD, android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void setAcceptPartialConnectivity(@NonNull android.net.Network, boolean, boolean); 470*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD, android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void setAcceptUnvalidated(@NonNull android.net.Network, boolean, boolean); 471*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD, android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void setAvoidUnvalidated(@NonNull android.net.Network); 472*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void setDataSaverEnabled(boolean); 473*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void setFirewallChainEnabled(int, boolean); 474*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.NETWORK_STACK) public void setGlobalProxy(@Nullable android.net.ProxyInfo); 475*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void setLegacyLockdownVpnEnabled(boolean); 476*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @RequiresPermission(android.Manifest.permission.NETWORK_STACK) public void setProfileNetworkPreference(@NonNull android.os.UserHandle, int, @Nullable java.util.concurrent.Executor, @Nullable Runnable); 477*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.NETWORK_STACK) public void setProfileNetworkPreferences(@NonNull android.os.UserHandle, @NonNull java.util.List<android.net.ProfileNetworkPreference>, @Nullable java.util.concurrent.Executor, @Nullable Runnable); 478*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void setRequireVpnForUids(boolean, @NonNull java.util.Collection<android.util.Range<java.lang.Integer>>); 479*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void setUidFirewallRule(int, int, int); 480*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void setVpnDefaultForUids(@NonNull String, @NonNull java.util.Collection<android.util.Range<java.lang.Integer>>); 481*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.MANAGE_TEST_NETWORKS, android.Manifest.permission.NETWORK_STACK}) public void simulateDataStall(int, long, @NonNull android.net.Network, @NonNull android.os.PersistableBundle); 482*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void startCaptivePortalApp(@NonNull android.net.Network); 483*344a7f5eSAndroid Build Coastguard Worker method public void systemReady(); 484*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_CLEAR_DNS_CACHE = "android.net.action.CLEAR_DNS_CACHE"; 485*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_PROMPT_LOST_VALIDATION = "android.net.action.PROMPT_LOST_VALIDATION"; 486*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_PROMPT_PARTIAL_CONNECTIVITY = "android.net.action.PROMPT_PARTIAL_CONNECTIVITY"; 487*344a7f5eSAndroid Build Coastguard Worker field public static final String ACTION_PROMPT_UNVALIDATED = "android.net.action.PROMPT_UNVALIDATED"; 488*344a7f5eSAndroid Build Coastguard Worker field public static final int BLOCKED_METERED_REASON_ADMIN_DISABLED = 262144; // 0x40000 489*344a7f5eSAndroid Build Coastguard Worker field public static final int BLOCKED_METERED_REASON_DATA_SAVER = 65536; // 0x10000 490*344a7f5eSAndroid Build Coastguard Worker field public static final int BLOCKED_METERED_REASON_MASK = -65536; // 0xffff0000 491*344a7f5eSAndroid Build Coastguard Worker field public static final int BLOCKED_METERED_REASON_USER_RESTRICTED = 131072; // 0x20000 492*344a7f5eSAndroid Build Coastguard Worker field public static final int BLOCKED_REASON_APP_BACKGROUND = 64; // 0x40 493*344a7f5eSAndroid Build Coastguard Worker field public static final int BLOCKED_REASON_APP_STANDBY = 4; // 0x4 494*344a7f5eSAndroid Build Coastguard Worker field public static final int BLOCKED_REASON_BATTERY_SAVER = 1; // 0x1 495*344a7f5eSAndroid Build Coastguard Worker field public static final int BLOCKED_REASON_DOZE = 2; // 0x2 496*344a7f5eSAndroid Build Coastguard Worker field public static final int BLOCKED_REASON_LOCKDOWN_VPN = 16; // 0x10 497*344a7f5eSAndroid Build Coastguard Worker field public static final int BLOCKED_REASON_LOW_POWER_STANDBY = 32; // 0x20 498*344a7f5eSAndroid Build Coastguard Worker field public static final int BLOCKED_REASON_NONE = 0; // 0x0 499*344a7f5eSAndroid Build Coastguard Worker field public static final int BLOCKED_REASON_RESTRICTED_MODE = 8; // 0x8 500*344a7f5eSAndroid Build Coastguard Worker field public static final int FIREWALL_CHAIN_BACKGROUND = 6; // 0x6 501*344a7f5eSAndroid Build Coastguard Worker field public static final int FIREWALL_CHAIN_DOZABLE = 1; // 0x1 502*344a7f5eSAndroid Build Coastguard Worker field public static final int FIREWALL_CHAIN_LOW_POWER_STANDBY = 5; // 0x5 503*344a7f5eSAndroid Build Coastguard Worker field public static final int FIREWALL_CHAIN_OEM_DENY_1 = 7; // 0x7 504*344a7f5eSAndroid Build Coastguard Worker field public static final int FIREWALL_CHAIN_OEM_DENY_2 = 8; // 0x8 505*344a7f5eSAndroid Build Coastguard Worker field public static final int FIREWALL_CHAIN_OEM_DENY_3 = 9; // 0x9 506*344a7f5eSAndroid Build Coastguard Worker field public static final int FIREWALL_CHAIN_POWERSAVE = 3; // 0x3 507*344a7f5eSAndroid Build Coastguard Worker field public static final int FIREWALL_CHAIN_RESTRICTED = 4; // 0x4 508*344a7f5eSAndroid Build Coastguard Worker field public static final int FIREWALL_CHAIN_STANDBY = 2; // 0x2 509*344a7f5eSAndroid Build Coastguard Worker field public static final int FIREWALL_RULE_ALLOW = 1; // 0x1 510*344a7f5eSAndroid Build Coastguard Worker field public static final int FIREWALL_RULE_DEFAULT = 0; // 0x0 511*344a7f5eSAndroid Build Coastguard Worker field public static final int FIREWALL_RULE_DENY = 2; // 0x2 512*344a7f5eSAndroid Build Coastguard Worker field public static final int PROFILE_NETWORK_PREFERENCE_DEFAULT = 0; // 0x0 513*344a7f5eSAndroid Build Coastguard Worker field public static final int PROFILE_NETWORK_PREFERENCE_ENTERPRISE = 1; // 0x1 514*344a7f5eSAndroid Build Coastguard Worker field public static final int PROFILE_NETWORK_PREFERENCE_ENTERPRISE_BLOCKING = 3; // 0x3 515*344a7f5eSAndroid Build Coastguard Worker field public static final int PROFILE_NETWORK_PREFERENCE_ENTERPRISE_NO_FALLBACK = 2; // 0x2 516*344a7f5eSAndroid Build Coastguard Worker } 517*344a7f5eSAndroid Build Coastguard Worker 518*344a7f5eSAndroid Build Coastguard Worker public static class ConnectivityManager.NetworkCallback { 519*344a7f5eSAndroid Build Coastguard Worker method public void onBlockedStatusChanged(@NonNull android.net.Network, int); 520*344a7f5eSAndroid Build Coastguard Worker } 521*344a7f5eSAndroid Build Coastguard Worker 522*344a7f5eSAndroid Build Coastguard Worker public class ConnectivitySettingsManager { 523*344a7f5eSAndroid Build Coastguard Worker method public static void clearGlobalProxy(@NonNull android.content.Context); 524*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static String getCaptivePortalHttpUrl(@NonNull android.content.Context); 525*344a7f5eSAndroid Build Coastguard Worker method public static int getCaptivePortalMode(@NonNull android.content.Context, int); 526*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.time.Duration getConnectivityKeepPendingIntentDuration(@NonNull android.content.Context, @NonNull java.time.Duration); 527*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.util.Range<java.lang.Integer> getDnsResolverSampleRanges(@NonNull android.content.Context); 528*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.time.Duration getDnsResolverSampleValidityDuration(@NonNull android.content.Context, @NonNull java.time.Duration); 529*344a7f5eSAndroid Build Coastguard Worker method public static int getDnsResolverSuccessThresholdPercent(@NonNull android.content.Context, int); 530*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static android.net.ProxyInfo getGlobalProxy(@NonNull android.content.Context); 531*344a7f5eSAndroid Build Coastguard Worker method public static long getIngressRateLimitInBytesPerSecond(@NonNull android.content.Context); 532*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.time.Duration getMobileDataActivityTimeout(@NonNull android.content.Context, @NonNull java.time.Duration); 533*344a7f5eSAndroid Build Coastguard Worker method public static boolean getMobileDataAlwaysOn(@NonNull android.content.Context, boolean); 534*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.util.Set<java.lang.Integer> getMobileDataPreferredUids(@NonNull android.content.Context); 535*344a7f5eSAndroid Build Coastguard Worker method public static int getNetworkAvoidBadWifi(@NonNull android.content.Context); 536*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static String getNetworkMeteredMultipathPreference(@NonNull android.content.Context); 537*344a7f5eSAndroid Build Coastguard Worker method public static int getNetworkSwitchNotificationMaximumDailyCount(@NonNull android.content.Context, int); 538*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.time.Duration getNetworkSwitchNotificationRateDuration(@NonNull android.content.Context, @NonNull java.time.Duration); 539*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static String getPrivateDnsDefaultMode(@NonNull android.content.Context); 540*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static String getPrivateDnsHostname(@NonNull android.content.Context); 541*344a7f5eSAndroid Build Coastguard Worker method public static int getPrivateDnsMode(@NonNull android.content.Context); 542*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.util.Set<java.lang.Integer> getUidsAllowedOnRestrictedNetworks(@NonNull android.content.Context); 543*344a7f5eSAndroid Build Coastguard Worker method public static boolean getWifiAlwaysRequested(@NonNull android.content.Context, boolean); 544*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.time.Duration getWifiDataActivityTimeout(@NonNull android.content.Context, @NonNull java.time.Duration); 545*344a7f5eSAndroid Build Coastguard Worker method public static void setCaptivePortalHttpUrl(@NonNull android.content.Context, @Nullable String); 546*344a7f5eSAndroid Build Coastguard Worker method public static void setCaptivePortalMode(@NonNull android.content.Context, int); 547*344a7f5eSAndroid Build Coastguard Worker method public static void setConnectivityKeepPendingIntentDuration(@NonNull android.content.Context, @NonNull java.time.Duration); 548*344a7f5eSAndroid Build Coastguard Worker method public static void setDnsResolverSampleRanges(@NonNull android.content.Context, @NonNull android.util.Range<java.lang.Integer>); 549*344a7f5eSAndroid Build Coastguard Worker method public static void setDnsResolverSampleValidityDuration(@NonNull android.content.Context, @NonNull java.time.Duration); 550*344a7f5eSAndroid Build Coastguard Worker method public static void setDnsResolverSuccessThresholdPercent(@NonNull android.content.Context, @IntRange(from=0, to=100) int); 551*344a7f5eSAndroid Build Coastguard Worker method public static void setGlobalProxy(@NonNull android.content.Context, @NonNull android.net.ProxyInfo); 552*344a7f5eSAndroid Build Coastguard Worker method public static void setIngressRateLimitInBytesPerSecond(@NonNull android.content.Context, @IntRange(from=-1L, to=4294967295L) long); 553*344a7f5eSAndroid Build Coastguard Worker method public static void setMobileDataActivityTimeout(@NonNull android.content.Context, @NonNull java.time.Duration); 554*344a7f5eSAndroid Build Coastguard Worker method public static void setMobileDataAlwaysOn(@NonNull android.content.Context, boolean); 555*344a7f5eSAndroid Build Coastguard Worker method public static void setMobileDataPreferredUids(@NonNull android.content.Context, @NonNull java.util.Set<java.lang.Integer>); 556*344a7f5eSAndroid Build Coastguard Worker method public static void setNetworkAvoidBadWifi(@NonNull android.content.Context, int); 557*344a7f5eSAndroid Build Coastguard Worker method public static void setNetworkMeteredMultipathPreference(@NonNull android.content.Context, @NonNull String); 558*344a7f5eSAndroid Build Coastguard Worker method public static void setNetworkSwitchNotificationMaximumDailyCount(@NonNull android.content.Context, @IntRange(from=0) int); 559*344a7f5eSAndroid Build Coastguard Worker method public static void setNetworkSwitchNotificationRateDuration(@NonNull android.content.Context, @NonNull java.time.Duration); 560*344a7f5eSAndroid Build Coastguard Worker method public static void setPrivateDnsDefaultMode(@NonNull android.content.Context, @NonNull int); 561*344a7f5eSAndroid Build Coastguard Worker method public static void setPrivateDnsHostname(@NonNull android.content.Context, @Nullable String); 562*344a7f5eSAndroid Build Coastguard Worker method public static void setPrivateDnsMode(@NonNull android.content.Context, int); 563*344a7f5eSAndroid Build Coastguard Worker method public static void setUidsAllowedOnRestrictedNetworks(@NonNull android.content.Context, @NonNull java.util.Set<java.lang.Integer>); 564*344a7f5eSAndroid Build Coastguard Worker method public static void setWifiAlwaysRequested(@NonNull android.content.Context, boolean); 565*344a7f5eSAndroid Build Coastguard Worker method public static void setWifiDataActivityTimeout(@NonNull android.content.Context, @NonNull java.time.Duration); 566*344a7f5eSAndroid Build Coastguard Worker field public static final int CAPTIVE_PORTAL_MODE_AVOID = 2; // 0x2 567*344a7f5eSAndroid Build Coastguard Worker field public static final int CAPTIVE_PORTAL_MODE_IGNORE = 0; // 0x0 568*344a7f5eSAndroid Build Coastguard Worker field public static final int CAPTIVE_PORTAL_MODE_PROMPT = 1; // 0x1 569*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_AVOID_BAD_WIFI_AVOID = 2; // 0x2 570*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_AVOID_BAD_WIFI_IGNORE = 0; // 0x0 571*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_AVOID_BAD_WIFI_PROMPT = 1; // 0x1 572*344a7f5eSAndroid Build Coastguard Worker field public static final int PRIVATE_DNS_MODE_OFF = 1; // 0x1 573*344a7f5eSAndroid Build Coastguard Worker field public static final int PRIVATE_DNS_MODE_OPPORTUNISTIC = 2; // 0x2 574*344a7f5eSAndroid Build Coastguard Worker field public static final int PRIVATE_DNS_MODE_PROVIDER_HOSTNAME = 3; // 0x3 575*344a7f5eSAndroid Build Coastguard Worker } 576*344a7f5eSAndroid Build Coastguard Worker 577*344a7f5eSAndroid Build Coastguard Worker public final class DhcpOption implements android.os.Parcelable { 578*344a7f5eSAndroid Build Coastguard Worker ctor public DhcpOption(byte, @Nullable byte[]); 579*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 580*344a7f5eSAndroid Build Coastguard Worker method public byte getType(); 581*344a7f5eSAndroid Build Coastguard Worker method @Nullable public byte[] getValue(); 582*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 583*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.DhcpOption> CREATOR; 584*344a7f5eSAndroid Build Coastguard Worker } 585*344a7f5eSAndroid Build Coastguard Worker 586*344a7f5eSAndroid Build Coastguard Worker public class EthernetManager { 587*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.ACCESS_NETWORK_STATE) public void addEthernetStateListener(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.IntConsumer); 588*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.ACCESS_NETWORK_STATE) public void addInterfaceStateListener(@NonNull java.util.concurrent.Executor, @NonNull android.net.EthernetManager.InterfaceStateListener); 589*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.ACCESS_NETWORK_STATE) public java.util.List<java.lang.String> getInterfaceList(); 590*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.ACCESS_NETWORK_STATE) public void removeEthernetStateListener(@NonNull java.util.function.IntConsumer); 591*344a7f5eSAndroid Build Coastguard Worker method public void removeInterfaceStateListener(@NonNull android.net.EthernetManager.InterfaceStateListener); 592*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void setEthernetEnabled(boolean); 593*344a7f5eSAndroid Build Coastguard Worker method public void setIncludeTestInterfaces(boolean); 594*344a7f5eSAndroid Build Coastguard Worker field public static final int ETHERNET_STATE_DISABLED = 0; // 0x0 595*344a7f5eSAndroid Build Coastguard Worker field public static final int ETHERNET_STATE_ENABLED = 1; // 0x1 596*344a7f5eSAndroid Build Coastguard Worker field public static final int ROLE_CLIENT = 1; // 0x1 597*344a7f5eSAndroid Build Coastguard Worker field public static final int ROLE_NONE = 0; // 0x0 598*344a7f5eSAndroid Build Coastguard Worker field public static final int ROLE_SERVER = 2; // 0x2 599*344a7f5eSAndroid Build Coastguard Worker field public static final int STATE_ABSENT = 0; // 0x0 600*344a7f5eSAndroid Build Coastguard Worker field public static final int STATE_LINK_DOWN = 1; // 0x1 601*344a7f5eSAndroid Build Coastguard Worker field public static final int STATE_LINK_UP = 2; // 0x2 602*344a7f5eSAndroid Build Coastguard Worker } 603*344a7f5eSAndroid Build Coastguard Worker 604*344a7f5eSAndroid Build Coastguard Worker public static interface EthernetManager.InterfaceStateListener { 605*344a7f5eSAndroid Build Coastguard Worker method public void onInterfaceStateChanged(@NonNull String, int, int, @Nullable android.net.IpConfiguration); 606*344a7f5eSAndroid Build Coastguard Worker } 607*344a7f5eSAndroid Build Coastguard Worker 608*344a7f5eSAndroid Build Coastguard Worker public class IpSecManager { 609*344a7f5eSAndroid Build Coastguard Worker field public static final int DIRECTION_FWD = 2; // 0x2 610*344a7f5eSAndroid Build Coastguard Worker } 611*344a7f5eSAndroid Build Coastguard Worker 612*344a7f5eSAndroid Build Coastguard Worker public static final class IpSecManager.UdpEncapsulationSocket implements java.lang.AutoCloseable { 613*344a7f5eSAndroid Build Coastguard Worker method public int getResourceId(); 614*344a7f5eSAndroid Build Coastguard Worker } 615*344a7f5eSAndroid Build Coastguard Worker 616*344a7f5eSAndroid Build Coastguard Worker public class LocalSocket implements java.io.Closeable { 617*344a7f5eSAndroid Build Coastguard Worker ctor public LocalSocket(@NonNull java.io.FileDescriptor); 618*344a7f5eSAndroid Build Coastguard Worker } 619*344a7f5eSAndroid Build Coastguard Worker 620*344a7f5eSAndroid Build Coastguard Worker public final class NetworkAgentConfig implements android.os.Parcelable { 621*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getSubscriberId(); 622*344a7f5eSAndroid Build Coastguard Worker method public boolean isBypassableVpn(); 623*344a7f5eSAndroid Build Coastguard Worker method public boolean isVpnValidationRequired(); 624*344a7f5eSAndroid Build Coastguard Worker } 625*344a7f5eSAndroid Build Coastguard Worker 626*344a7f5eSAndroid Build Coastguard Worker public static final class NetworkAgentConfig.Builder { 627*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkAgentConfig.Builder setBypassableVpn(boolean); 628*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkAgentConfig.Builder setLocalRoutesExcludedForVpn(boolean); 629*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkAgentConfig.Builder setSubscriberId(@Nullable String); 630*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkAgentConfig.Builder setVpnRequiresValidation(boolean); 631*344a7f5eSAndroid Build Coastguard Worker } 632*344a7f5eSAndroid Build Coastguard Worker 633*344a7f5eSAndroid Build Coastguard Worker public final class NetworkCapabilities implements android.os.Parcelable { 634*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public java.util.Set<java.lang.Integer> getAllowedUids(); 635*344a7f5eSAndroid Build Coastguard Worker method @Nullable public java.util.Set<android.util.Range<java.lang.Integer>> getUids(); 636*344a7f5eSAndroid Build Coastguard Worker method public boolean hasForbiddenCapability(int); 637*344a7f5eSAndroid Build Coastguard Worker field public static final long REDACT_ALL = -1L; // 0xffffffffffffffffL 638*344a7f5eSAndroid Build Coastguard Worker field public static final long REDACT_FOR_ACCESS_FINE_LOCATION = 1L; // 0x1L 639*344a7f5eSAndroid Build Coastguard Worker field public static final long REDACT_FOR_LOCAL_MAC_ADDRESS = 2L; // 0x2L 640*344a7f5eSAndroid Build Coastguard Worker field public static final long REDACT_FOR_NETWORK_SETTINGS = 4L; // 0x4L 641*344a7f5eSAndroid Build Coastguard Worker field public static final long REDACT_NONE = 0L; // 0x0L 642*344a7f5eSAndroid Build Coastguard Worker field public static final int TRANSPORT_TEST = 7; // 0x7 643*344a7f5eSAndroid Build Coastguard Worker } 644*344a7f5eSAndroid Build Coastguard Worker 645*344a7f5eSAndroid Build Coastguard Worker public static final class NetworkCapabilities.Builder { 646*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setAllowedUids(@NonNull java.util.Set<java.lang.Integer>); 647*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities.Builder setUids(@Nullable java.util.Set<android.util.Range<java.lang.Integer>>); 648*344a7f5eSAndroid Build Coastguard Worker } 649*344a7f5eSAndroid Build Coastguard Worker 650*344a7f5eSAndroid Build Coastguard Worker public class NetworkIdentity { 651*344a7f5eSAndroid Build Coastguard Worker method public int getOemManaged(); 652*344a7f5eSAndroid Build Coastguard Worker method public int getRatType(); 653*344a7f5eSAndroid Build Coastguard Worker method public int getSubId(); 654*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getSubscriberId(); 655*344a7f5eSAndroid Build Coastguard Worker method public int getType(); 656*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getWifiNetworkKey(); 657*344a7f5eSAndroid Build Coastguard Worker method public boolean isDefaultNetwork(); 658*344a7f5eSAndroid Build Coastguard Worker method public boolean isMetered(); 659*344a7f5eSAndroid Build Coastguard Worker method public boolean isRoaming(); 660*344a7f5eSAndroid Build Coastguard Worker } 661*344a7f5eSAndroid Build Coastguard Worker 662*344a7f5eSAndroid Build Coastguard Worker public static final class NetworkIdentity.Builder { 663*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkIdentity.Builder(); 664*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkIdentity build(); 665*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkIdentity.Builder clearRatType(); 666*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkIdentity.Builder setDefaultNetwork(boolean); 667*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkIdentity.Builder setMetered(boolean); 668*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkIdentity.Builder setNetworkStateSnapshot(@NonNull android.net.NetworkStateSnapshot); 669*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkIdentity.Builder setOemManaged(int); 670*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkIdentity.Builder setRatType(int); 671*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkIdentity.Builder setRoaming(boolean); 672*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkIdentity.Builder setSubId(int); 673*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkIdentity.Builder setSubscriberId(@Nullable String); 674*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkIdentity.Builder setType(int); 675*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkIdentity.Builder setWifiNetworkKey(@Nullable String); 676*344a7f5eSAndroid Build Coastguard Worker } 677*344a7f5eSAndroid Build Coastguard Worker 678*344a7f5eSAndroid Build Coastguard Worker public class NetworkPolicyManager { 679*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public int getMultipathPreference(@NonNull android.net.Network); 680*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public int getRestrictBackgroundStatus(int); 681*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public android.telephony.SubscriptionPlan getSubscriptionPlan(@NonNull android.net.NetworkTemplate); 682*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.OBSERVE_NETWORK_POLICY) public boolean isUidNetworkingBlocked(int, boolean); 683*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.OBSERVE_NETWORK_POLICY) public boolean isUidRestrictedOnMeteredNetworks(int); 684*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void notifyStatsProviderLimitReached(); 685*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void notifyStatsProviderWarningReached(); 686*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.OBSERVE_NETWORK_POLICY) public void registerNetworkPolicyCallback(@Nullable java.util.concurrent.Executor, @NonNull android.net.NetworkPolicyManager.NetworkPolicyCallback); 687*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.OBSERVE_NETWORK_POLICY) public void unregisterNetworkPolicyCallback(@NonNull android.net.NetworkPolicyManager.NetworkPolicyCallback); 688*344a7f5eSAndroid Build Coastguard Worker } 689*344a7f5eSAndroid Build Coastguard Worker 690*344a7f5eSAndroid Build Coastguard Worker public static interface NetworkPolicyManager.NetworkPolicyCallback { 691*344a7f5eSAndroid Build Coastguard Worker method public default void onUidBlockedReasonChanged(int, int); 692*344a7f5eSAndroid Build Coastguard Worker } 693*344a7f5eSAndroid Build Coastguard Worker 694*344a7f5eSAndroid Build Coastguard Worker public class NetworkRequest implements android.os.Parcelable { 695*344a7f5eSAndroid Build Coastguard Worker method @NonNull public int[] getEnterpriseIds(); 696*344a7f5eSAndroid Build Coastguard Worker method @NonNull public int[] getForbiddenCapabilities(); 697*344a7f5eSAndroid Build Coastguard Worker method public boolean hasEnterpriseId(int); 698*344a7f5eSAndroid Build Coastguard Worker method public boolean hasForbiddenCapability(int); 699*344a7f5eSAndroid Build Coastguard Worker } 700*344a7f5eSAndroid Build Coastguard Worker 701*344a7f5eSAndroid Build Coastguard Worker public static class NetworkRequest.Builder { 702*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkRequest.Builder addForbiddenCapability(int); 703*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkRequest.Builder removeForbiddenCapability(int); 704*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkRequest.Builder setUids(@Nullable java.util.Set<android.util.Range<java.lang.Integer>>); 705*344a7f5eSAndroid Build Coastguard Worker } 706*344a7f5eSAndroid Build Coastguard Worker 707*344a7f5eSAndroid Build Coastguard Worker public final class NetworkStateSnapshot implements android.os.Parcelable { 708*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkStateSnapshot(@NonNull android.net.Network, @NonNull android.net.NetworkCapabilities, @NonNull android.net.LinkProperties, @Nullable String, int); 709*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 710*344a7f5eSAndroid Build Coastguard Worker method public int getLegacyType(); 711*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.LinkProperties getLinkProperties(); 712*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.Network getNetwork(); 713*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkCapabilities getNetworkCapabilities(); 714*344a7f5eSAndroid Build Coastguard Worker method public int getSubId(); 715*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @Nullable public String getSubscriberId(); 716*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 717*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.NetworkStateSnapshot> CREATOR; 718*344a7f5eSAndroid Build Coastguard Worker } 719*344a7f5eSAndroid Build Coastguard Worker 720*344a7f5eSAndroid Build Coastguard Worker public class NetworkStatsCollection { 721*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Map<android.net.NetworkStatsCollection.Key,android.net.NetworkStatsHistory> getEntries(); 722*344a7f5eSAndroid Build Coastguard Worker } 723*344a7f5eSAndroid Build Coastguard Worker 724*344a7f5eSAndroid Build Coastguard Worker public static final class NetworkStatsCollection.Builder { 725*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkStatsCollection.Builder(long); 726*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkStatsCollection.Builder addEntry(@NonNull android.net.NetworkStatsCollection.Key, @NonNull android.net.NetworkStatsHistory); 727*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkStatsCollection build(); 728*344a7f5eSAndroid Build Coastguard Worker } 729*344a7f5eSAndroid Build Coastguard Worker 730*344a7f5eSAndroid Build Coastguard Worker public static final class NetworkStatsCollection.Key { 731*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkStatsCollection.Key(@NonNull java.util.Set<android.net.NetworkIdentity>, int, int, int); 732*344a7f5eSAndroid Build Coastguard Worker } 733*344a7f5eSAndroid Build Coastguard Worker 734*344a7f5eSAndroid Build Coastguard Worker public final class NetworkStatsHistory implements android.os.Parcelable { 735*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 736*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.net.NetworkStatsHistory.Entry> getEntries(); 737*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 738*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.NetworkStatsHistory> CREATOR; 739*344a7f5eSAndroid Build Coastguard Worker } 740*344a7f5eSAndroid Build Coastguard Worker 741*344a7f5eSAndroid Build Coastguard Worker public static final class NetworkStatsHistory.Builder { 742*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkStatsHistory.Builder(long, int); 743*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkStatsHistory.Builder addEntry(@NonNull android.net.NetworkStatsHistory.Entry); 744*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkStatsHistory build(); 745*344a7f5eSAndroid Build Coastguard Worker } 746*344a7f5eSAndroid Build Coastguard Worker 747*344a7f5eSAndroid Build Coastguard Worker public static final class NetworkStatsHistory.Entry { 748*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkStatsHistory.Entry(long, long, long, long, long, long, long); 749*344a7f5eSAndroid Build Coastguard Worker method public long getActiveTime(); 750*344a7f5eSAndroid Build Coastguard Worker method public long getBucketStart(); 751*344a7f5eSAndroid Build Coastguard Worker method public long getOperations(); 752*344a7f5eSAndroid Build Coastguard Worker method public long getRxBytes(); 753*344a7f5eSAndroid Build Coastguard Worker method public long getRxPackets(); 754*344a7f5eSAndroid Build Coastguard Worker method public long getTxBytes(); 755*344a7f5eSAndroid Build Coastguard Worker method public long getTxPackets(); 756*344a7f5eSAndroid Build Coastguard Worker } 757*344a7f5eSAndroid Build Coastguard Worker 758*344a7f5eSAndroid Build Coastguard Worker public final class NetworkTemplate implements android.os.Parcelable { 759*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 760*344a7f5eSAndroid Build Coastguard Worker method public int getDefaultNetworkStatus(); 761*344a7f5eSAndroid Build Coastguard Worker method public int getMatchRule(); 762*344a7f5eSAndroid Build Coastguard Worker method public int getMeteredness(); 763*344a7f5eSAndroid Build Coastguard Worker method public int getOemManaged(); 764*344a7f5eSAndroid Build Coastguard Worker method public int getRatType(); 765*344a7f5eSAndroid Build Coastguard Worker method public int getRoaming(); 766*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Set<java.lang.String> getSubscriberIds(); 767*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Set<java.lang.String> getWifiNetworkKeys(); 768*344a7f5eSAndroid Build Coastguard Worker method public boolean matches(@NonNull android.net.NetworkIdentity); 769*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 770*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.NetworkTemplate> CREATOR; 771*344a7f5eSAndroid Build Coastguard Worker field public static final int MATCH_BLUETOOTH = 8; // 0x8 772*344a7f5eSAndroid Build Coastguard Worker field public static final int MATCH_CARRIER = 10; // 0xa 773*344a7f5eSAndroid Build Coastguard Worker field public static final int MATCH_ETHERNET = 5; // 0x5 774*344a7f5eSAndroid Build Coastguard Worker field public static final int MATCH_MOBILE = 1; // 0x1 775*344a7f5eSAndroid Build Coastguard Worker field public static final int MATCH_PROXY = 9; // 0x9 776*344a7f5eSAndroid Build Coastguard Worker field public static final int MATCH_WIFI = 4; // 0x4 777*344a7f5eSAndroid Build Coastguard Worker field public static final int NETWORK_TYPE_ALL = -1; // 0xffffffff 778*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_MANAGED_ALL = -1; // 0xffffffff 779*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_MANAGED_NO = 0; // 0x0 780*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_MANAGED_PAID = 1; // 0x1 781*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_MANAGED_PRIVATE = 2; // 0x2 782*344a7f5eSAndroid Build Coastguard Worker field public static final int OEM_MANAGED_YES = -2; // 0xfffffffe 783*344a7f5eSAndroid Build Coastguard Worker } 784*344a7f5eSAndroid Build Coastguard Worker 785*344a7f5eSAndroid Build Coastguard Worker public static final class NetworkTemplate.Builder { 786*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkTemplate.Builder(int); 787*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkTemplate build(); 788*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkTemplate.Builder setDefaultNetworkStatus(int); 789*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkTemplate.Builder setMeteredness(int); 790*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkTemplate.Builder setOemManaged(int); 791*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkTemplate.Builder setRatType(int); 792*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkTemplate.Builder setRoaming(int); 793*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkTemplate.Builder setSubscriberIds(@NonNull java.util.Set<java.lang.String>); 794*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.NetworkTemplate.Builder setWifiNetworkKeys(@NonNull java.util.Set<java.lang.String>); 795*344a7f5eSAndroid Build Coastguard Worker } 796*344a7f5eSAndroid Build Coastguard Worker 797*344a7f5eSAndroid Build Coastguard Worker public class NetworkWatchlistManager { 798*344a7f5eSAndroid Build Coastguard Worker method @Nullable public byte[] getWatchlistConfigHash(); 799*344a7f5eSAndroid Build Coastguard Worker } 800*344a7f5eSAndroid Build Coastguard Worker 801*344a7f5eSAndroid Build Coastguard Worker public class PacProxyManager { 802*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void addPacProxyInstalledListener(@NonNull java.util.concurrent.Executor, @NonNull android.net.PacProxyManager.PacProxyInstalledListener); 803*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void removePacProxyInstalledListener(@NonNull android.net.PacProxyManager.PacProxyInstalledListener); 804*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_STACK, android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void setCurrentProxyScriptUrl(@Nullable android.net.ProxyInfo); 805*344a7f5eSAndroid Build Coastguard Worker } 806*344a7f5eSAndroid Build Coastguard Worker 807*344a7f5eSAndroid Build Coastguard Worker public static interface PacProxyManager.PacProxyInstalledListener { 808*344a7f5eSAndroid Build Coastguard Worker method public void onPacProxyInstalled(@Nullable android.net.Network, @NonNull android.net.ProxyInfo); 809*344a7f5eSAndroid Build Coastguard Worker } 810*344a7f5eSAndroid Build Coastguard Worker 811*344a7f5eSAndroid Build Coastguard Worker public final class ProfileNetworkPreference implements android.os.Parcelable { 812*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 813*344a7f5eSAndroid Build Coastguard Worker method @NonNull public int[] getExcludedUids(); 814*344a7f5eSAndroid Build Coastguard Worker method @NonNull public int[] getIncludedUids(); 815*344a7f5eSAndroid Build Coastguard Worker method public int getPreference(); 816*344a7f5eSAndroid Build Coastguard Worker method public int getPreferenceEnterpriseId(); 817*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 818*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.ProfileNetworkPreference> CREATOR; 819*344a7f5eSAndroid Build Coastguard Worker } 820*344a7f5eSAndroid Build Coastguard Worker 821*344a7f5eSAndroid Build Coastguard Worker public static final class ProfileNetworkPreference.Builder { 822*344a7f5eSAndroid Build Coastguard Worker ctor public ProfileNetworkPreference.Builder(); 823*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.ProfileNetworkPreference build(); 824*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.ProfileNetworkPreference.Builder setExcludedUids(@NonNull int[]); 825*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.ProfileNetworkPreference.Builder setIncludedUids(@NonNull int[]); 826*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.ProfileNetworkPreference.Builder setPreference(int); 827*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.ProfileNetworkPreference.Builder setPreferenceEnterpriseId(int); 828*344a7f5eSAndroid Build Coastguard Worker } 829*344a7f5eSAndroid Build Coastguard Worker 830*344a7f5eSAndroid Build Coastguard Worker public final class Proxy { 831*344a7f5eSAndroid Build Coastguard Worker method public static void setHttpProxyConfiguration(@Nullable android.net.ProxyInfo); 832*344a7f5eSAndroid Build Coastguard Worker } 833*344a7f5eSAndroid Build Coastguard Worker 834*344a7f5eSAndroid Build Coastguard Worker public final class TestNetworkInterface implements android.os.Parcelable { 835*344a7f5eSAndroid Build Coastguard Worker ctor public TestNetworkInterface(@NonNull android.os.ParcelFileDescriptor, @NonNull String); 836*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 837*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.ParcelFileDescriptor getFileDescriptor(); 838*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getInterfaceName(); 839*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.net.MacAddress getMacAddress(); 840*344a7f5eSAndroid Build Coastguard Worker method public int getMtu(); 841*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 842*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.TestNetworkInterface> CREATOR; 843*344a7f5eSAndroid Build Coastguard Worker } 844*344a7f5eSAndroid Build Coastguard Worker 845*344a7f5eSAndroid Build Coastguard Worker public class TestNetworkManager { 846*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_TEST_NETWORKS) public android.net.TestNetworkInterface createTapInterface(); 847*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_TEST_NETWORKS) public android.net.TestNetworkInterface createTunInterface(@NonNull java.util.Collection<android.net.LinkAddress>); 848*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_TEST_NETWORKS) public void setupTestNetwork(@NonNull String, @NonNull android.os.IBinder); 849*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MANAGE_TEST_NETWORKS) public void teardownTestNetwork(@NonNull android.net.Network); 850*344a7f5eSAndroid Build Coastguard Worker field public static final String TEST_TAP_PREFIX = "testtap"; 851*344a7f5eSAndroid Build Coastguard Worker } 852*344a7f5eSAndroid Build Coastguard Worker 853*344a7f5eSAndroid Build Coastguard Worker public final class TestNetworkSpecifier extends android.net.NetworkSpecifier implements android.os.Parcelable { 854*344a7f5eSAndroid Build Coastguard Worker ctor public TestNetworkSpecifier(@NonNull String); 855*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 856*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getInterfaceName(); 857*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 858*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.TestNetworkSpecifier> CREATOR; 859*344a7f5eSAndroid Build Coastguard Worker } 860*344a7f5eSAndroid Build Coastguard Worker 861*344a7f5eSAndroid Build Coastguard Worker public final class TetheringConstants { 862*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_ADD_TETHER_TYPE = "extraAddTetherType"; 863*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_PROVISION_CALLBACK = "extraProvisionCallback"; 864*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_REM_TETHER_TYPE = "extraRemTetherType"; 865*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_RUN_PROVISION = "extraRunProvision"; 866*344a7f5eSAndroid Build Coastguard Worker field public static final String EXTRA_SET_ALARM = "extraSetAlarm"; 867*344a7f5eSAndroid Build Coastguard Worker } 868*344a7f5eSAndroid Build Coastguard Worker 869*344a7f5eSAndroid Build Coastguard Worker public class TetheringManager { 870*344a7f5eSAndroid Build Coastguard Worker ctor public TetheringManager(@NonNull android.content.Context, @NonNull java.util.function.Supplier<android.os.IBinder>); 871*344a7f5eSAndroid Build Coastguard Worker method public int getLastTetherError(@NonNull String); 872*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String[] getTetherableBluetoothRegexs(); 873*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String[] getTetherableIfaces(); 874*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String[] getTetherableUsbRegexs(); 875*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String[] getTetherableWifiRegexs(); 876*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String[] getTetheredIfaces(); 877*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String[] getTetheringErroredIfaces(); 878*344a7f5eSAndroid Build Coastguard Worker method public boolean isTetheringSupported(); 879*344a7f5eSAndroid Build Coastguard Worker method public boolean isTetheringSupported(@NonNull String); 880*344a7f5eSAndroid Build Coastguard Worker method public void requestLatestTetheringEntitlementResult(int, @NonNull android.os.ResultReceiver, boolean); 881*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int setUsbTethering(boolean); 882*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.TETHER_PRIVILEGED, android.Manifest.permission.WRITE_SETTINGS}) public void startTethering(int, @NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.StartTetheringCallback); 883*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int tether(@NonNull String); 884*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public int untether(@NonNull String); 885*344a7f5eSAndroid Build Coastguard Worker } 886*344a7f5eSAndroid Build Coastguard Worker 887*344a7f5eSAndroid Build Coastguard Worker public static interface TetheringManager.TetheredInterfaceCallback { 888*344a7f5eSAndroid Build Coastguard Worker method public void onAvailable(@NonNull String); 889*344a7f5eSAndroid Build Coastguard Worker method public void onUnavailable(); 890*344a7f5eSAndroid Build Coastguard Worker } 891*344a7f5eSAndroid Build Coastguard Worker 892*344a7f5eSAndroid Build Coastguard Worker public static interface TetheringManager.TetheredInterfaceRequest { 893*344a7f5eSAndroid Build Coastguard Worker method public void release(); 894*344a7f5eSAndroid Build Coastguard Worker } 895*344a7f5eSAndroid Build Coastguard Worker 896*344a7f5eSAndroid Build Coastguard Worker public static interface TetheringManager.TetheringEventCallback { 897*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public default void onTetherableInterfaceRegexpsChanged(@NonNull android.net.TetheringManager.TetheringInterfaceRegexps); 898*344a7f5eSAndroid Build Coastguard Worker } 899*344a7f5eSAndroid Build Coastguard Worker 900*344a7f5eSAndroid Build Coastguard Worker @Deprecated public static class TetheringManager.TetheringInterfaceRegexps { 901*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public java.util.List<java.lang.String> getTetherableBluetoothRegexs(); 902*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public java.util.List<java.lang.String> getTetherableUsbRegexs(); 903*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public java.util.List<java.lang.String> getTetherableWifiRegexs(); 904*344a7f5eSAndroid Build Coastguard Worker } 905*344a7f5eSAndroid Build Coastguard Worker 906*344a7f5eSAndroid Build Coastguard Worker public class TrafficStats { 907*344a7f5eSAndroid Build Coastguard Worker method public static void attachSocketTagger(); 908*344a7f5eSAndroid Build Coastguard Worker method public static void init(@NonNull android.content.Context); 909*344a7f5eSAndroid Build Coastguard Worker method public static void setThreadStatsTagDownload(); 910*344a7f5eSAndroid Build Coastguard Worker } 911*344a7f5eSAndroid Build Coastguard Worker 912*344a7f5eSAndroid Build Coastguard Worker public interface TransportInfo { 913*344a7f5eSAndroid Build Coastguard Worker method public default long getApplicableRedactions(); 914*344a7f5eSAndroid Build Coastguard Worker method @NonNull public default android.net.TransportInfo makeCopy(long); 915*344a7f5eSAndroid Build Coastguard Worker } 916*344a7f5eSAndroid Build Coastguard Worker 917*344a7f5eSAndroid Build Coastguard Worker public final class UnderlyingNetworkInfo implements android.os.Parcelable { 918*344a7f5eSAndroid Build Coastguard Worker ctor public UnderlyingNetworkInfo(int, @NonNull String, @NonNull java.util.List<java.lang.String>); 919*344a7f5eSAndroid Build Coastguard Worker method public int describeContents(); 920*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getInterface(); 921*344a7f5eSAndroid Build Coastguard Worker method public int getOwnerUid(); 922*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.lang.String> getUnderlyingInterfaces(); 923*344a7f5eSAndroid Build Coastguard Worker method public void writeToParcel(@NonNull android.os.Parcel, int); 924*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final android.os.Parcelable.Creator<android.net.UnderlyingNetworkInfo> CREATOR; 925*344a7f5eSAndroid Build Coastguard Worker } 926*344a7f5eSAndroid Build Coastguard Worker 927*344a7f5eSAndroid Build Coastguard Worker public class VpnManager { 928*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_VPN_LEGACY = 3; // 0x3 929*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_VPN_NONE = -1; // 0xffffffff 930*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_VPN_OEM = 4; // 0x4 931*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_VPN_PLATFORM = 2; // 0x2 932*344a7f5eSAndroid Build Coastguard Worker field public static final int TYPE_VPN_SERVICE = 1; // 0x1 933*344a7f5eSAndroid Build Coastguard Worker } 934*344a7f5eSAndroid Build Coastguard Worker 935*344a7f5eSAndroid Build Coastguard Worker public final class VpnTransportInfo implements android.os.Parcelable android.net.TransportInfo { 936*344a7f5eSAndroid Build Coastguard Worker ctor @Deprecated public VpnTransportInfo(int, @Nullable String); 937*344a7f5eSAndroid Build Coastguard Worker method public long getApplicableRedactions(); 938*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getSessionId(); 939*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.VpnTransportInfo makeCopy(long); 940*344a7f5eSAndroid Build Coastguard Worker } 941*344a7f5eSAndroid Build Coastguard Worker 942*344a7f5eSAndroid Build Coastguard Worker} 943*344a7f5eSAndroid Build Coastguard Worker 944*344a7f5eSAndroid Build Coastguard Workerpackage android.net.ipsec.ike { 945*344a7f5eSAndroid Build Coastguard Worker 946*344a7f5eSAndroid Build Coastguard Worker public final class IkeSession implements java.lang.AutoCloseable { 947*344a7f5eSAndroid Build Coastguard Worker method public void setNetwork(@NonNull android.net.Network, int, int, @IntRange(from=0xa, to=0xe10) int); 948*344a7f5eSAndroid Build Coastguard Worker method public void setUnderpinnedNetwork(@NonNull android.net.Network); 949*344a7f5eSAndroid Build Coastguard Worker } 950*344a7f5eSAndroid Build Coastguard Worker 951*344a7f5eSAndroid Build Coastguard Worker public final class IkeSessionParams { 952*344a7f5eSAndroid Build Coastguard Worker method public int getEncapType(); 953*344a7f5eSAndroid Build Coastguard Worker method public int getIpVersion(); 954*344a7f5eSAndroid Build Coastguard Worker field public static final int ESP_ENCAP_TYPE_AUTO = 0; // 0x0 955*344a7f5eSAndroid Build Coastguard Worker field public static final int ESP_ENCAP_TYPE_NONE = -1; // 0xffffffff 956*344a7f5eSAndroid Build Coastguard Worker field public static final int ESP_ENCAP_TYPE_UDP = 17; // 0x11 957*344a7f5eSAndroid Build Coastguard Worker field public static final int ESP_IP_VERSION_AUTO = 0; // 0x0 958*344a7f5eSAndroid Build Coastguard Worker field public static final int ESP_IP_VERSION_IPV4 = 4; // 0x4 959*344a7f5eSAndroid Build Coastguard Worker field public static final int ESP_IP_VERSION_IPV6 = 6; // 0x6 960*344a7f5eSAndroid Build Coastguard Worker field public static final int NATT_KEEPALIVE_INTERVAL_AUTO = -1; // 0xffffffff 961*344a7f5eSAndroid Build Coastguard Worker } 962*344a7f5eSAndroid Build Coastguard Worker 963*344a7f5eSAndroid Build Coastguard Worker public static final class IkeSessionParams.Builder { 964*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder setEncapType(int); 965*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder setIpVersion(int); 966*344a7f5eSAndroid Build Coastguard Worker } 967*344a7f5eSAndroid Build Coastguard Worker 968*344a7f5eSAndroid Build Coastguard Worker} 969*344a7f5eSAndroid Build Coastguard Worker 970*344a7f5eSAndroid Build Coastguard Workerpackage android.net.netstats { 971*344a7f5eSAndroid Build Coastguard Worker 972*344a7f5eSAndroid Build Coastguard Worker public class NetworkStatsDataMigrationUtils { 973*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static android.net.NetworkStatsCollection readPlatformCollection(@NonNull String, long) throws java.io.IOException; 974*344a7f5eSAndroid Build Coastguard Worker field public static final String PREFIX_UID = "uid"; 975*344a7f5eSAndroid Build Coastguard Worker field public static final String PREFIX_UID_TAG = "uid_tag"; 976*344a7f5eSAndroid Build Coastguard Worker field public static final String PREFIX_XT = "xt"; 977*344a7f5eSAndroid Build Coastguard Worker } 978*344a7f5eSAndroid Build Coastguard Worker 979*344a7f5eSAndroid Build Coastguard Worker} 980*344a7f5eSAndroid Build Coastguard Worker 981*344a7f5eSAndroid Build Coastguard Workerpackage android.net.wifi { 982*344a7f5eSAndroid Build Coastguard Worker 983*344a7f5eSAndroid Build Coastguard Worker public class WifiManager { 984*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.OVERRIDE_WIFI_CONFIG}) public void addCustomDhcpOptions(@NonNull android.net.wifi.WifiSsid, @NonNull byte[], @NonNull java.util.List<android.net.DhcpOption>); 985*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.OVERRIDE_WIFI_CONFIG}) public void removeCustomDhcpOptions(@NonNull android.net.wifi.WifiSsid, @NonNull byte[]); 986*344a7f5eSAndroid Build Coastguard Worker } 987*344a7f5eSAndroid Build Coastguard Worker 988*344a7f5eSAndroid Build Coastguard Worker} 989*344a7f5eSAndroid Build Coastguard Worker 990*344a7f5eSAndroid Build Coastguard Workerpackage android.nfc { 991*344a7f5eSAndroid Build Coastguard Worker 992*344a7f5eSAndroid Build Coastguard Worker public class NfcFrameworkInitializer { 993*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 994*344a7f5eSAndroid Build Coastguard Worker method public static void setNfcServiceManager(@NonNull android.nfc.NfcServiceManager); 995*344a7f5eSAndroid Build Coastguard Worker } 996*344a7f5eSAndroid Build Coastguard Worker 997*344a7f5eSAndroid Build Coastguard Worker public class NfcServiceManager { 998*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.nfc.NfcServiceManager.ServiceRegisterer getNfcManagerServiceRegisterer(); 999*344a7f5eSAndroid Build Coastguard Worker } 1000*344a7f5eSAndroid Build Coastguard Worker 1001*344a7f5eSAndroid Build Coastguard Worker public static class NfcServiceManager.ServiceNotFoundException extends java.lang.Exception { 1002*344a7f5eSAndroid Build Coastguard Worker ctor public NfcServiceManager.ServiceNotFoundException(@NonNull String); 1003*344a7f5eSAndroid Build Coastguard Worker } 1004*344a7f5eSAndroid Build Coastguard Worker 1005*344a7f5eSAndroid Build Coastguard Worker public static final class NfcServiceManager.ServiceRegisterer { 1006*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.IBinder get(); 1007*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.IBinder getOrThrow() throws android.nfc.NfcServiceManager.ServiceNotFoundException; 1008*344a7f5eSAndroid Build Coastguard Worker method public void register(@NonNull android.os.IBinder); 1009*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.IBinder tryGet(); 1010*344a7f5eSAndroid Build Coastguard Worker } 1011*344a7f5eSAndroid Build Coastguard Worker 1012*344a7f5eSAndroid Build Coastguard Worker} 1013*344a7f5eSAndroid Build Coastguard Worker 1014*344a7f5eSAndroid Build Coastguard Workerpackage android.ondevicepersonalization { 1015*344a7f5eSAndroid Build Coastguard Worker 1016*344a7f5eSAndroid Build Coastguard Worker public class OnDevicePersonalizationFrameworkInitializer { 1017*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 1018*344a7f5eSAndroid Build Coastguard Worker } 1019*344a7f5eSAndroid Build Coastguard Worker 1020*344a7f5eSAndroid Build Coastguard Worker} 1021*344a7f5eSAndroid Build Coastguard Worker 1022*344a7f5eSAndroid Build Coastguard Workerpackage android.os { 1023*344a7f5eSAndroid Build Coastguard Worker 1024*344a7f5eSAndroid Build Coastguard Worker public class ArtModuleServiceManager { 1025*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.ArtModuleServiceManager.ServiceRegisterer getArtdPreRebootServiceRegisterer(); 1026*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.ArtModuleServiceManager.ServiceRegisterer getArtdServiceRegisterer(); 1027*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.ArtModuleServiceManager.ServiceRegisterer getDexoptChrootSetupServiceRegisterer(); 1028*344a7f5eSAndroid Build Coastguard Worker } 1029*344a7f5eSAndroid Build Coastguard Worker 1030*344a7f5eSAndroid Build Coastguard Worker public static final class ArtModuleServiceManager.ServiceRegisterer { 1031*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.IBinder waitForService(); 1032*344a7f5eSAndroid Build Coastguard Worker } 1033*344a7f5eSAndroid Build Coastguard Worker 1034*344a7f5eSAndroid Build Coastguard Worker public final class BatteryStatsManager { 1035*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void reportNetworkInterfaceForTransports(@NonNull String, @NonNull int[]) throws java.lang.RuntimeException; 1036*344a7f5eSAndroid Build Coastguard Worker } 1037*344a7f5eSAndroid Build Coastguard Worker 1038*344a7f5eSAndroid Build Coastguard Worker public class BluetoothServiceManager { 1039*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.BluetoothServiceManager.ServiceRegisterer getBluetoothManagerServiceRegisterer(); 1040*344a7f5eSAndroid Build Coastguard Worker } 1041*344a7f5eSAndroid Build Coastguard Worker 1042*344a7f5eSAndroid Build Coastguard Worker public static class BluetoothServiceManager.ServiceNotFoundException extends java.lang.Exception { 1043*344a7f5eSAndroid Build Coastguard Worker ctor public BluetoothServiceManager.ServiceNotFoundException(@NonNull String); 1044*344a7f5eSAndroid Build Coastguard Worker } 1045*344a7f5eSAndroid Build Coastguard Worker 1046*344a7f5eSAndroid Build Coastguard Worker public static final class BluetoothServiceManager.ServiceRegisterer { 1047*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.IBinder get(); 1048*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.IBinder getOrThrow() throws android.os.BluetoothServiceManager.ServiceNotFoundException; 1049*344a7f5eSAndroid Build Coastguard Worker method public void register(@NonNull android.os.IBinder); 1050*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.IBinder tryGet(); 1051*344a7f5eSAndroid Build Coastguard Worker } 1052*344a7f5eSAndroid Build Coastguard Worker 1053*344a7f5eSAndroid Build Coastguard Worker public class Build { 1054*344a7f5eSAndroid Build Coastguard Worker method public static boolean isDebuggable(); 1055*344a7f5eSAndroid Build Coastguard Worker } 1056*344a7f5eSAndroid Build Coastguard Worker 1057*344a7f5eSAndroid Build Coastguard Worker public static class Build.VERSION { 1058*344a7f5eSAndroid Build Coastguard Worker field public static final int DEVICE_INITIAL_SDK_INT; 1059*344a7f5eSAndroid Build Coastguard Worker } 1060*344a7f5eSAndroid Build Coastguard Worker 1061*344a7f5eSAndroid Build Coastguard Worker public class IpcDataCache<Query, Result> { 1062*344a7f5eSAndroid Build Coastguard Worker ctor public IpcDataCache(int, @NonNull String, @NonNull String, @NonNull String, @NonNull android.os.IpcDataCache.QueryHandler<Query,Result>); 1063*344a7f5eSAndroid Build Coastguard Worker method public void disableForCurrentProcess(); 1064*344a7f5eSAndroid Build Coastguard Worker method public static void disableForCurrentProcess(@NonNull String); 1065*344a7f5eSAndroid Build Coastguard Worker method public void invalidateCache(); 1066*344a7f5eSAndroid Build Coastguard Worker method public static void invalidateCache(@NonNull String, @NonNull String); 1067*344a7f5eSAndroid Build Coastguard Worker method @Nullable public Result query(@NonNull Query); 1068*344a7f5eSAndroid Build Coastguard Worker field public static final String MODULE_BLUETOOTH = "bluetooth"; 1069*344a7f5eSAndroid Build Coastguard Worker } 1070*344a7f5eSAndroid Build Coastguard Worker 1071*344a7f5eSAndroid Build Coastguard Worker public abstract static class IpcDataCache.QueryHandler<Q, R> { 1072*344a7f5eSAndroid Build Coastguard Worker ctor public IpcDataCache.QueryHandler(); 1073*344a7f5eSAndroid Build Coastguard Worker method @Nullable public abstract R apply(@NonNull Q); 1074*344a7f5eSAndroid Build Coastguard Worker method public boolean shouldBypassCache(@NonNull Q); 1075*344a7f5eSAndroid Build Coastguard Worker } 1076*344a7f5eSAndroid Build Coastguard Worker 1077*344a7f5eSAndroid Build Coastguard Worker public class Process { 1078*344a7f5eSAndroid Build Coastguard Worker method public static final int toSdkSandboxUid(int); 1079*344a7f5eSAndroid Build Coastguard Worker field public static final int NFC_UID = 1027; // 0x403 1080*344a7f5eSAndroid Build Coastguard Worker field public static final int VPN_UID = 1016; // 0x3f8 1081*344a7f5eSAndroid Build Coastguard Worker } 1082*344a7f5eSAndroid Build Coastguard Worker 1083*344a7f5eSAndroid Build Coastguard Worker public class ProfilingFrameworkInitializer { 1084*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 1085*344a7f5eSAndroid Build Coastguard Worker method public static void setProfilingServiceManager(@NonNull android.os.ProfilingServiceManager); 1086*344a7f5eSAndroid Build Coastguard Worker } 1087*344a7f5eSAndroid Build Coastguard Worker 1088*344a7f5eSAndroid Build Coastguard Worker public class ProfilingServiceManager { 1089*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.ProfilingServiceManager.ServiceRegisterer getProfilingServiceRegisterer(); 1090*344a7f5eSAndroid Build Coastguard Worker } 1091*344a7f5eSAndroid Build Coastguard Worker 1092*344a7f5eSAndroid Build Coastguard Worker public static class ProfilingServiceManager.ServiceNotFoundException extends java.lang.Exception { 1093*344a7f5eSAndroid Build Coastguard Worker ctor public ProfilingServiceManager.ServiceNotFoundException(@NonNull String); 1094*344a7f5eSAndroid Build Coastguard Worker } 1095*344a7f5eSAndroid Build Coastguard Worker 1096*344a7f5eSAndroid Build Coastguard Worker public static final class ProfilingServiceManager.ServiceRegisterer { 1097*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.IBinder get(); 1098*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.IBinder getOrThrow() throws android.os.ProfilingServiceManager.ServiceNotFoundException; 1099*344a7f5eSAndroid Build Coastguard Worker } 1100*344a7f5eSAndroid Build Coastguard Worker 1101*344a7f5eSAndroid Build Coastguard Worker public final class ServiceManager { 1102*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static String[] getDeclaredInstances(@NonNull String); 1103*344a7f5eSAndroid Build Coastguard Worker method public static boolean isDeclared(@NonNull String); 1104*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static android.os.IBinder waitForDeclaredService(@NonNull String); 1105*344a7f5eSAndroid Build Coastguard Worker } 1106*344a7f5eSAndroid Build Coastguard Worker 1107*344a7f5eSAndroid Build Coastguard Worker public class StatsFrameworkInitializer { 1108*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 1109*344a7f5eSAndroid Build Coastguard Worker method public static void setStatsServiceManager(@NonNull android.os.StatsServiceManager); 1110*344a7f5eSAndroid Build Coastguard Worker } 1111*344a7f5eSAndroid Build Coastguard Worker 1112*344a7f5eSAndroid Build Coastguard Worker public class StatsServiceManager { 1113*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsCompanionServiceRegisterer(); 1114*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsManagerServiceRegisterer(); 1115*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsdServiceRegisterer(); 1116*344a7f5eSAndroid Build Coastguard Worker } 1117*344a7f5eSAndroid Build Coastguard Worker 1118*344a7f5eSAndroid Build Coastguard Worker public static class StatsServiceManager.ServiceNotFoundException extends java.lang.Exception { 1119*344a7f5eSAndroid Build Coastguard Worker ctor public StatsServiceManager.ServiceNotFoundException(@NonNull String); 1120*344a7f5eSAndroid Build Coastguard Worker } 1121*344a7f5eSAndroid Build Coastguard Worker 1122*344a7f5eSAndroid Build Coastguard Worker public static final class StatsServiceManager.ServiceRegisterer { 1123*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.IBinder get(); 1124*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.IBinder getOrThrow() throws android.os.StatsServiceManager.ServiceNotFoundException; 1125*344a7f5eSAndroid Build Coastguard Worker } 1126*344a7f5eSAndroid Build Coastguard Worker 1127*344a7f5eSAndroid Build Coastguard Worker public final class StrictMode { 1128*344a7f5eSAndroid Build Coastguard Worker method public static void noteUntaggedSocket(); 1129*344a7f5eSAndroid Build Coastguard Worker } 1130*344a7f5eSAndroid Build Coastguard Worker 1131*344a7f5eSAndroid Build Coastguard Worker public class SystemConfigManager { 1132*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<android.content.ComponentName> getEnabledComponentOverrides(@NonNull String); 1133*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ENHANCED_CONFIRMATION_STATES) public java.util.Set<android.content.pm.SignedPackage> getEnhancedConfirmationTrustedInstallers(); 1134*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ENHANCED_CONFIRMATION_STATES) public java.util.Set<android.content.pm.SignedPackage> getEnhancedConfirmationTrustedPackages(); 1135*344a7f5eSAndroid Build Coastguard Worker } 1136*344a7f5eSAndroid Build Coastguard Worker 1137*344a7f5eSAndroid Build Coastguard Worker public final class Trace { 1138*344a7f5eSAndroid Build Coastguard Worker method public static void asyncTraceBegin(long, @NonNull String, int); 1139*344a7f5eSAndroid Build Coastguard Worker method public static void asyncTraceEnd(long, @NonNull String, int); 1140*344a7f5eSAndroid Build Coastguard Worker method public static boolean isTagEnabled(long); 1141*344a7f5eSAndroid Build Coastguard Worker method public static void traceBegin(long, @NonNull String); 1142*344a7f5eSAndroid Build Coastguard Worker method public static void traceCounter(long, @NonNull String, int); 1143*344a7f5eSAndroid Build Coastguard Worker method public static void traceEnd(long); 1144*344a7f5eSAndroid Build Coastguard Worker field public static final long TRACE_TAG_NETWORK = 2097152L; // 0x200000L 1145*344a7f5eSAndroid Build Coastguard Worker } 1146*344a7f5eSAndroid Build Coastguard Worker 1147*344a7f5eSAndroid Build Coastguard Worker} 1148*344a7f5eSAndroid Build Coastguard Worker 1149*344a7f5eSAndroid Build Coastguard Workerpackage android.os.storage { 1150*344a7f5eSAndroid Build Coastguard Worker 1151*344a7f5eSAndroid Build Coastguard Worker public class StorageManager { 1152*344a7f5eSAndroid Build Coastguard Worker method public long computeStorageCacheBytes(@NonNull java.io.File); 1153*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String getCloudMediaProvider(); 1154*344a7f5eSAndroid Build Coastguard Worker method public void notifyAppIoBlocked(@NonNull java.util.UUID, int, int, int); 1155*344a7f5eSAndroid Build Coastguard Worker method public void notifyAppIoResumed(@NonNull java.util.UUID, int, int, int); 1156*344a7f5eSAndroid Build Coastguard Worker method public void setCloudMediaProvider(@Nullable String); 1157*344a7f5eSAndroid Build Coastguard Worker field public static final int APP_IO_BLOCKED_REASON_TRANSCODING = 1; // 0x1 1158*344a7f5eSAndroid Build Coastguard Worker field public static final int APP_IO_BLOCKED_REASON_UNKNOWN = 0; // 0x0 1159*344a7f5eSAndroid Build Coastguard Worker } 1160*344a7f5eSAndroid Build Coastguard Worker 1161*344a7f5eSAndroid Build Coastguard Worker} 1162*344a7f5eSAndroid Build Coastguard Worker 1163*344a7f5eSAndroid Build Coastguard Workerpackage android.provider { 1164*344a7f5eSAndroid Build Coastguard Worker 1165*344a7f5eSAndroid Build Coastguard Worker public static final class ContactsContract.RawContactsEntity implements android.provider.BaseColumns android.provider.ContactsContract.DataColumns android.provider.ContactsContract.RawContactsColumns { 1166*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.INTERACT_ACROSS_USERS) public static java.util.Map<java.lang.String,java.util.List<android.content.ContentValues>> queryRawContactEntity(@NonNull android.content.ContentResolver, long); 1167*344a7f5eSAndroid Build Coastguard Worker } 1168*344a7f5eSAndroid Build Coastguard Worker 1169*344a7f5eSAndroid Build Coastguard Worker public final class DeviceConfig { 1170*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_ACTIVITY_MANAGER_COMPONENT_ALIAS = "activity_manager_ca"; 1171*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_ALARM_MANAGER = "alarm_manager"; 1172*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_APP_CLONING = "app_cloning"; 1173*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_APP_STANDBY = "app_standby"; 1174*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_ARC_APP_COMPAT = "arc_app_compat"; 1175*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_BATTERY_STATS = "battery_stats"; 1176*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_CONFIGURATION = "configuration"; 1177*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_CONNECTIVITY_THERMAL_POWER_MANAGER = "connectivity_thermal_power_manager"; 1178*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_CONTACTS_PROVIDER = "contacts_provider"; 1179*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_DEVICE_IDLE = "device_idle"; 1180*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_DEVICE_POLICY_MANAGER = "device_policy_manager"; 1181*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_GAME_OVERLAY = "game_overlay"; 1182*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_INTELLIGENCE_CONTENT_SUGGESTIONS = "intelligence_content_suggestions"; 1183*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_INTERACTION_JANK_MONITOR = "interaction_jank_monitor"; 1184*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_LATENCY_TRACKER = "latency_tracker"; 1185*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_MEMORY_SAFETY_NATIVE = "memory_safety_native"; 1186*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_MEMORY_SAFETY_NATIVE_BOOT = "memory_safety_native_boot"; 1187*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_MGLRU_NATIVE = "mglru_native"; 1188*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_REMOTE_KEY_PROVISIONING_NATIVE = "remote_key_provisioning_native"; 1189*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_ROTATION_RESOLVER = "rotation_resolver"; 1190*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_SETTINGS_STATS = "settings_stats"; 1191*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_SETTINGS_UI = "settings_ui"; 1192*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_TARE = "tare"; 1193*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_TETHERING_NATIVE = "tethering_u_or_later_native"; 1194*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_VENDOR_SYSTEM_NATIVE = "vendor_system_native"; 1195*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_VENDOR_SYSTEM_NATIVE_BOOT = "vendor_system_native_boot"; 1196*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_VIRTUALIZATION_FRAMEWORK_NATIVE = "virtualization_framework_native"; 1197*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_VOICE_INTERACTION = "voice_interaction"; 1198*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_WEAR = "wear"; 1199*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_WIDGET = "widget"; 1200*344a7f5eSAndroid Build Coastguard Worker field public static final String NAMESPACE_WINDOW_MANAGER = "window_manager"; 1201*344a7f5eSAndroid Build Coastguard Worker } 1202*344a7f5eSAndroid Build Coastguard Worker 1203*344a7f5eSAndroid Build Coastguard Worker public static class DeviceConfig.Properties { 1204*344a7f5eSAndroid Build Coastguard Worker ctor public DeviceConfig.Properties(@NonNull String, @Nullable java.util.Map<java.lang.String,java.lang.String>); 1205*344a7f5eSAndroid Build Coastguard Worker } 1206*344a7f5eSAndroid Build Coastguard Worker 1207*344a7f5eSAndroid Build Coastguard Worker public class DeviceConfigInitializer { 1208*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static android.provider.DeviceConfigServiceManager getDeviceConfigServiceManager(); 1209*344a7f5eSAndroid Build Coastguard Worker method public static void setDeviceConfigServiceManager(@NonNull android.provider.DeviceConfigServiceManager); 1210*344a7f5eSAndroid Build Coastguard Worker } 1211*344a7f5eSAndroid Build Coastguard Worker 1212*344a7f5eSAndroid Build Coastguard Worker public class DeviceConfigServiceManager { 1213*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.provider.DeviceConfigServiceManager.ServiceRegisterer getDeviceConfigUpdatableServiceRegisterer(); 1214*344a7f5eSAndroid Build Coastguard Worker } 1215*344a7f5eSAndroid Build Coastguard Worker 1216*344a7f5eSAndroid Build Coastguard Worker public static class DeviceConfigServiceManager.ServiceNotFoundException extends java.lang.Exception { 1217*344a7f5eSAndroid Build Coastguard Worker } 1218*344a7f5eSAndroid Build Coastguard Worker 1219*344a7f5eSAndroid Build Coastguard Worker public static final class DeviceConfigServiceManager.ServiceRegisterer { 1220*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.IBinder get(); 1221*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.IBinder getOrThrow() throws android.provider.DeviceConfigServiceManager.ServiceNotFoundException; 1222*344a7f5eSAndroid Build Coastguard Worker method public void register(@NonNull android.os.IBinder); 1223*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.IBinder tryGet(); 1224*344a7f5eSAndroid Build Coastguard Worker } 1225*344a7f5eSAndroid Build Coastguard Worker 1226*344a7f5eSAndroid Build Coastguard Worker public final class DeviceConfigShellCommandHandler { 1227*344a7f5eSAndroid Build Coastguard Worker method public static int handleShellCommand(@NonNull android.os.ParcelFileDescriptor, @NonNull android.os.ParcelFileDescriptor, @NonNull android.os.ParcelFileDescriptor, @NonNull String[]); 1228*344a7f5eSAndroid Build Coastguard Worker } 1229*344a7f5eSAndroid Build Coastguard Worker 1230*344a7f5eSAndroid Build Coastguard Worker public final class Settings { 1231*344a7f5eSAndroid Build Coastguard Worker field public static final int RESET_MODE_PACKAGE_DEFAULTS = 1; // 0x1 1232*344a7f5eSAndroid Build Coastguard Worker field public static final int RESET_MODE_TRUSTED_DEFAULTS = 4; // 0x4 1233*344a7f5eSAndroid Build Coastguard Worker field public static final int RESET_MODE_UNTRUSTED_CHANGES = 3; // 0x3 1234*344a7f5eSAndroid Build Coastguard Worker field public static final int RESET_MODE_UNTRUSTED_DEFAULTS = 2; // 0x2 1235*344a7f5eSAndroid Build Coastguard Worker } 1236*344a7f5eSAndroid Build Coastguard Worker 1237*344a7f5eSAndroid Build Coastguard Worker public static final class Settings.Config extends android.provider.Settings.NameValueTable { 1238*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MONITOR_DEVICE_CONFIG_ACCESS) public static void clearMonitorCallback(@NonNull android.content.ContentResolver); 1239*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static boolean deleteString(@NonNull String, @NonNull String); 1240*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.util.Map<java.lang.String,java.lang.String> getAllStrings(); 1241*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static String getString(@NonNull String); 1242*344a7f5eSAndroid Build Coastguard Worker method @NonNull @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static java.util.Map<java.lang.String,java.lang.String> getStrings(@NonNull String, @NonNull java.util.List<java.lang.String>); 1243*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static int getSyncDisabledMode(); 1244*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static boolean putString(@NonNull String, @NonNull String, @Nullable String, boolean); 1245*344a7f5eSAndroid Build Coastguard Worker method public static void registerContentObserver(@Nullable String, boolean, @NonNull android.database.ContentObserver); 1246*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static void resetToDefaults(int, @Nullable String); 1247*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.MONITOR_DEVICE_CONFIG_ACCESS) public static void setMonitorCallback(@NonNull android.content.ContentResolver, @NonNull java.util.concurrent.Executor, @NonNull android.provider.DeviceConfig.MonitorCallback); 1248*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static boolean setStrings(@NonNull String, @NonNull java.util.Map<java.lang.String,java.lang.String>) throws android.provider.DeviceConfig.BadConfigException; 1249*344a7f5eSAndroid Build Coastguard Worker method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static void setSyncDisabledMode(int); 1250*344a7f5eSAndroid Build Coastguard Worker method public static void unregisterContentObserver(@NonNull android.database.ContentObserver); 1251*344a7f5eSAndroid Build Coastguard Worker } 1252*344a7f5eSAndroid Build Coastguard Worker 1253*344a7f5eSAndroid Build Coastguard Worker public static final class Settings.Global extends android.provider.Settings.NameValueTable { 1254*344a7f5eSAndroid Build Coastguard Worker field public static final String BLE_SCAN_ALWAYS_AVAILABLE = "ble_scan_always_enabled"; 1255*344a7f5eSAndroid Build Coastguard Worker field public static final String BLE_SCAN_BACKGROUND_MODE = "ble_scan_background_mode"; 1256*344a7f5eSAndroid Build Coastguard Worker field public static final String BLE_SCAN_BALANCED_INTERVAL_MS = "ble_scan_balanced_interval_ms"; 1257*344a7f5eSAndroid Build Coastguard Worker field public static final String BLE_SCAN_BALANCED_WINDOW_MS = "ble_scan_balanced_window_ms"; 1258*344a7f5eSAndroid Build Coastguard Worker field public static final String BLE_SCAN_LOW_LATENCY_INTERVAL_MS = "ble_scan_low_latency_interval_ms"; 1259*344a7f5eSAndroid Build Coastguard Worker field public static final String BLE_SCAN_LOW_LATENCY_WINDOW_MS = "ble_scan_low_latency_window_ms"; 1260*344a7f5eSAndroid Build Coastguard Worker field public static final String BLE_SCAN_LOW_POWER_INTERVAL_MS = "ble_scan_low_power_interval_ms"; 1261*344a7f5eSAndroid Build Coastguard Worker field public static final String BLE_SCAN_LOW_POWER_WINDOW_MS = "ble_scan_low_power_window_ms"; 1262*344a7f5eSAndroid Build Coastguard Worker field public static final String BLUETOOTH_BTSNOOP_DEFAULT_MODE = "bluetooth_btsnoop_default_mode"; 1263*344a7f5eSAndroid Build Coastguard Worker field public static final String BLUETOOTH_CLASS_OF_DEVICE = "bluetooth_class_of_device"; 1264*344a7f5eSAndroid Build Coastguard Worker field public static final String BLUETOOTH_DISABLED_PROFILES = "bluetooth_disabled_profiles"; 1265*344a7f5eSAndroid Build Coastguard Worker } 1266*344a7f5eSAndroid Build Coastguard Worker 1267*344a7f5eSAndroid Build Coastguard Worker public static final class Settings.Secure extends android.provider.Settings.NameValueTable { 1268*344a7f5eSAndroid Build Coastguard Worker field public static final String BLUETOOTH_ADDRESS = "bluetooth_address"; 1269*344a7f5eSAndroid Build Coastguard Worker field public static final String BLUETOOTH_ADDR_VALID = "bluetooth_addr_valid"; 1270*344a7f5eSAndroid Build Coastguard Worker field public static final String BLUETOOTH_NAME = "bluetooth_name"; 1271*344a7f5eSAndroid Build Coastguard Worker } 1272*344a7f5eSAndroid Build Coastguard Worker 1273*344a7f5eSAndroid Build Coastguard Worker} 1274*344a7f5eSAndroid Build Coastguard Worker 1275*344a7f5eSAndroid Build Coastguard Workerpackage android.safetycenter { 1276*344a7f5eSAndroid Build Coastguard Worker 1277*344a7f5eSAndroid Build Coastguard Worker public final class SafetyCenterFrameworkInitializer { 1278*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 1279*344a7f5eSAndroid Build Coastguard Worker } 1280*344a7f5eSAndroid Build Coastguard Worker 1281*344a7f5eSAndroid Build Coastguard Worker} 1282*344a7f5eSAndroid Build Coastguard Worker 1283*344a7f5eSAndroid Build Coastguard Workerpackage android.scheduling { 1284*344a7f5eSAndroid Build Coastguard Worker 1285*344a7f5eSAndroid Build Coastguard Worker public class SchedulingFrameworkInitializer { 1286*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 1287*344a7f5eSAndroid Build Coastguard Worker } 1288*344a7f5eSAndroid Build Coastguard Worker 1289*344a7f5eSAndroid Build Coastguard Worker} 1290*344a7f5eSAndroid Build Coastguard Worker 1291*344a7f5eSAndroid Build Coastguard Workerpackage android.se.omapi { 1292*344a7f5eSAndroid Build Coastguard Worker 1293*344a7f5eSAndroid Build Coastguard Worker public class SeFrameworkInitializer { 1294*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static android.se.omapi.SeServiceManager getSeServiceManager(); 1295*344a7f5eSAndroid Build Coastguard Worker method public static void setSeServiceManager(@NonNull android.se.omapi.SeServiceManager); 1296*344a7f5eSAndroid Build Coastguard Worker } 1297*344a7f5eSAndroid Build Coastguard Worker 1298*344a7f5eSAndroid Build Coastguard Worker public class SeServiceManager { 1299*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.se.omapi.SeServiceManager.ServiceRegisterer getSeManagerServiceRegisterer(); 1300*344a7f5eSAndroid Build Coastguard Worker } 1301*344a7f5eSAndroid Build Coastguard Worker 1302*344a7f5eSAndroid Build Coastguard Worker public static class SeServiceManager.ServiceNotFoundException extends java.lang.Exception { 1303*344a7f5eSAndroid Build Coastguard Worker ctor public SeServiceManager.ServiceNotFoundException(@NonNull String); 1304*344a7f5eSAndroid Build Coastguard Worker } 1305*344a7f5eSAndroid Build Coastguard Worker 1306*344a7f5eSAndroid Build Coastguard Worker public static final class SeServiceManager.ServiceRegisterer { 1307*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.IBinder get(); 1308*344a7f5eSAndroid Build Coastguard Worker method @NonNull public android.os.IBinder getOrThrow() throws android.se.omapi.SeServiceManager.ServiceNotFoundException; 1309*344a7f5eSAndroid Build Coastguard Worker method public void register(@NonNull android.os.IBinder); 1310*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.os.IBinder tryGet(); 1311*344a7f5eSAndroid Build Coastguard Worker } 1312*344a7f5eSAndroid Build Coastguard Worker 1313*344a7f5eSAndroid Build Coastguard Worker} 1314*344a7f5eSAndroid Build Coastguard Worker 1315*344a7f5eSAndroid Build Coastguard Workerpackage android.system { 1316*344a7f5eSAndroid Build Coastguard Worker 1317*344a7f5eSAndroid Build Coastguard Worker public final class NetlinkSocketAddress extends java.net.SocketAddress { 1318*344a7f5eSAndroid Build Coastguard Worker ctor public NetlinkSocketAddress(int, int); 1319*344a7f5eSAndroid Build Coastguard Worker method public int getGroupsMask(); 1320*344a7f5eSAndroid Build Coastguard Worker method public int getPortId(); 1321*344a7f5eSAndroid Build Coastguard Worker } 1322*344a7f5eSAndroid Build Coastguard Worker 1323*344a7f5eSAndroid Build Coastguard Worker public final class Os { 1324*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static android.system.StructCapUserData[] capget(@NonNull android.system.StructCapUserHeader) throws android.system.ErrnoException; 1325*344a7f5eSAndroid Build Coastguard Worker method public static void capset(@NonNull android.system.StructCapUserHeader, @NonNull android.system.StructCapUserData[]) throws android.system.ErrnoException; 1326*344a7f5eSAndroid Build Coastguard Worker method public static int getpgid(int) throws android.system.ErrnoException; 1327*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static android.system.StructRlimit getrlimit(int) throws android.system.ErrnoException; 1328*344a7f5eSAndroid Build Coastguard Worker method public static int getsockoptInt(@NonNull java.io.FileDescriptor, int, int) throws android.system.ErrnoException; 1329*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static android.system.StructLinger getsockoptLinger(@NonNull java.io.FileDescriptor, int, int) throws android.system.ErrnoException; 1330*344a7f5eSAndroid Build Coastguard Worker method public static int ioctlInt(@NonNull java.io.FileDescriptor, int) throws android.system.ErrnoException; 1331*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static java.io.FileDescriptor[] pipe2(int) throws android.system.ErrnoException; 1332*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static String realpath(@Nullable String) throws android.system.ErrnoException; 1333*344a7f5eSAndroid Build Coastguard Worker method public static void setpgid(int, int) throws android.system.ErrnoException; 1334*344a7f5eSAndroid Build Coastguard Worker method public static void setregid(int, int) throws android.system.ErrnoException; 1335*344a7f5eSAndroid Build Coastguard Worker method public static void setreuid(int, int) throws android.system.ErrnoException; 1336*344a7f5eSAndroid Build Coastguard Worker method public static void setsockoptIfreq(@NonNull java.io.FileDescriptor, int, int, @Nullable String) throws android.system.ErrnoException; 1337*344a7f5eSAndroid Build Coastguard Worker method public static void setsockoptLinger(@NonNull java.io.FileDescriptor, int, int, @NonNull android.system.StructLinger) throws android.system.ErrnoException; 1338*344a7f5eSAndroid Build Coastguard Worker method public static long splice(@NonNull java.io.FileDescriptor, @Nullable android.system.Int64Ref, @NonNull java.io.FileDescriptor, @Nullable android.system.Int64Ref, long, int) throws android.system.ErrnoException; 1339*344a7f5eSAndroid Build Coastguard Worker method public static void unlink(@Nullable String) throws android.system.ErrnoException; 1340*344a7f5eSAndroid Build Coastguard Worker } 1341*344a7f5eSAndroid Build Coastguard Worker 1342*344a7f5eSAndroid Build Coastguard Worker public final class OsConstants { 1343*344a7f5eSAndroid Build Coastguard Worker method public static int CAP_TO_INDEX(int); 1344*344a7f5eSAndroid Build Coastguard Worker method public static int CAP_TO_MASK(int); 1345*344a7f5eSAndroid Build Coastguard Worker field public static final int ARPHRD_LOOPBACK; 1346*344a7f5eSAndroid Build Coastguard Worker field public static final int EUSERS; 1347*344a7f5eSAndroid Build Coastguard Worker field public static final int MAP_POPULATE; 1348*344a7f5eSAndroid Build Coastguard Worker field public static final int O_DIRECT; 1349*344a7f5eSAndroid Build Coastguard Worker field public static final int PR_CAP_AMBIENT; 1350*344a7f5eSAndroid Build Coastguard Worker field public static final int PR_CAP_AMBIENT_RAISE; 1351*344a7f5eSAndroid Build Coastguard Worker field public static final int RLIMIT_NOFILE; 1352*344a7f5eSAndroid Build Coastguard Worker field public static final int RTMGRP_IPV4_IFADDR; 1353*344a7f5eSAndroid Build Coastguard Worker field public static final int SPLICE_F_MORE; 1354*344a7f5eSAndroid Build Coastguard Worker field public static final int SPLICE_F_MOVE; 1355*344a7f5eSAndroid Build Coastguard Worker field public static final int TIOCOUTQ; 1356*344a7f5eSAndroid Build Coastguard Worker field public static final int UDP_ENCAP; 1357*344a7f5eSAndroid Build Coastguard Worker field public static final int UDP_ENCAP_ESPINUDP; 1358*344a7f5eSAndroid Build Coastguard Worker field public static final int XATTR_CREATE; 1359*344a7f5eSAndroid Build Coastguard Worker field public static final int XATTR_REPLACE; 1360*344a7f5eSAndroid Build Coastguard Worker field public static final int _LINUX_CAPABILITY_VERSION_3; 1361*344a7f5eSAndroid Build Coastguard Worker } 1362*344a7f5eSAndroid Build Coastguard Worker 1363*344a7f5eSAndroid Build Coastguard Worker public final class PacketSocketAddress extends java.net.SocketAddress { 1364*344a7f5eSAndroid Build Coastguard Worker ctor public PacketSocketAddress(int, int, byte[]); 1365*344a7f5eSAndroid Build Coastguard Worker } 1366*344a7f5eSAndroid Build Coastguard Worker 1367*344a7f5eSAndroid Build Coastguard Worker public final class StructCapUserData { 1368*344a7f5eSAndroid Build Coastguard Worker ctor public StructCapUserData(int, int, int); 1369*344a7f5eSAndroid Build Coastguard Worker field public final int effective; 1370*344a7f5eSAndroid Build Coastguard Worker field public final int inheritable; 1371*344a7f5eSAndroid Build Coastguard Worker field public final int permitted; 1372*344a7f5eSAndroid Build Coastguard Worker } 1373*344a7f5eSAndroid Build Coastguard Worker 1374*344a7f5eSAndroid Build Coastguard Worker public final class StructCapUserHeader { 1375*344a7f5eSAndroid Build Coastguard Worker ctor public StructCapUserHeader(int, int); 1376*344a7f5eSAndroid Build Coastguard Worker } 1377*344a7f5eSAndroid Build Coastguard Worker 1378*344a7f5eSAndroid Build Coastguard Worker public final class StructLinger { 1379*344a7f5eSAndroid Build Coastguard Worker ctor public StructLinger(int, int); 1380*344a7f5eSAndroid Build Coastguard Worker method public boolean isOn(); 1381*344a7f5eSAndroid Build Coastguard Worker field public final int l_linger; 1382*344a7f5eSAndroid Build Coastguard Worker } 1383*344a7f5eSAndroid Build Coastguard Worker 1384*344a7f5eSAndroid Build Coastguard Worker public final class StructRlimit { 1385*344a7f5eSAndroid Build Coastguard Worker field public final long rlim_cur; 1386*344a7f5eSAndroid Build Coastguard Worker } 1387*344a7f5eSAndroid Build Coastguard Worker 1388*344a7f5eSAndroid Build Coastguard Worker public final class UnixSocketAddress extends java.net.SocketAddress { 1389*344a7f5eSAndroid Build Coastguard Worker method public static android.system.UnixSocketAddress createFileSystem(String); 1390*344a7f5eSAndroid Build Coastguard Worker } 1391*344a7f5eSAndroid Build Coastguard Worker 1392*344a7f5eSAndroid Build Coastguard Worker} 1393*344a7f5eSAndroid Build Coastguard Worker 1394*344a7f5eSAndroid Build Coastguard Workerpackage android.system.virtualmachine { 1395*344a7f5eSAndroid Build Coastguard Worker 1396*344a7f5eSAndroid Build Coastguard Worker public class VirtualizationFrameworkInitializer { 1397*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 1398*344a7f5eSAndroid Build Coastguard Worker } 1399*344a7f5eSAndroid Build Coastguard Worker 1400*344a7f5eSAndroid Build Coastguard Worker} 1401*344a7f5eSAndroid Build Coastguard Worker 1402*344a7f5eSAndroid Build Coastguard Workerpackage android.telecom { 1403*344a7f5eSAndroid Build Coastguard Worker 1404*344a7f5eSAndroid Build Coastguard Worker public abstract class ConnectionService extends android.app.Service { 1405*344a7f5eSAndroid Build Coastguard Worker method @Nullable @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public android.telecom.Connection onCreateUnknownConnection(@NonNull android.telecom.PhoneAccountHandle, @NonNull android.telecom.ConnectionRequest); 1406*344a7f5eSAndroid Build Coastguard Worker } 1407*344a7f5eSAndroid Build Coastguard Worker 1408*344a7f5eSAndroid Build Coastguard Worker} 1409*344a7f5eSAndroid Build Coastguard Worker 1410*344a7f5eSAndroid Build Coastguard Workerpackage android.telephony { 1411*344a7f5eSAndroid Build Coastguard Worker 1412*344a7f5eSAndroid Build Coastguard Worker public class CarrierConfigManager { 1413*344a7f5eSAndroid Build Coastguard Worker field public static final String KEY_MIN_UDP_PORT_4500_NAT_TIMEOUT_SEC_INT = "min_udp_port_4500_nat_timeout_sec_int"; 1414*344a7f5eSAndroid Build Coastguard Worker } 1415*344a7f5eSAndroid Build Coastguard Worker 1416*344a7f5eSAndroid Build Coastguard Worker public abstract class CellSignalStrength { 1417*344a7f5eSAndroid Build Coastguard Worker method public static int getNumSignalStrengthLevels(); 1418*344a7f5eSAndroid Build Coastguard Worker } 1419*344a7f5eSAndroid Build Coastguard Worker 1420*344a7f5eSAndroid Build Coastguard Worker public class SubscriptionManager { 1421*344a7f5eSAndroid Build Coastguard Worker method public void addSubscriptionInfoRecord(@NonNull String, @Nullable String, int, int); 1422*344a7f5eSAndroid Build Coastguard Worker method public void removeSubscriptionInfoRecord(@NonNull String, int); 1423*344a7f5eSAndroid Build Coastguard Worker } 1424*344a7f5eSAndroid Build Coastguard Worker 1425*344a7f5eSAndroid Build Coastguard Worker public class TelephonyManager { 1426*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static int[] getAllNetworkTypes(); 1427*344a7f5eSAndroid Build Coastguard Worker } 1428*344a7f5eSAndroid Build Coastguard Worker 1429*344a7f5eSAndroid Build Coastguard Worker} 1430*344a7f5eSAndroid Build Coastguard Worker 1431*344a7f5eSAndroid Build Coastguard Workerpackage android.util { 1432*344a7f5eSAndroid Build Coastguard Worker 1433*344a7f5eSAndroid Build Coastguard Worker public class AtomicFile { 1434*344a7f5eSAndroid Build Coastguard Worker ctor public AtomicFile(@NonNull java.io.File, @Nullable android.util.SystemConfigFileCommitEventLogger); 1435*344a7f5eSAndroid Build Coastguard Worker } 1436*344a7f5eSAndroid Build Coastguard Worker 1437*344a7f5eSAndroid Build Coastguard Worker public final class Log { 1438*344a7f5eSAndroid Build Coastguard Worker method public static int logToRadioBuffer(int, @Nullable String, @Nullable String); 1439*344a7f5eSAndroid Build Coastguard Worker } 1440*344a7f5eSAndroid Build Coastguard Worker 1441*344a7f5eSAndroid Build Coastguard Worker public final class Slog { 1442*344a7f5eSAndroid Build Coastguard Worker method public static int d(@Nullable String, @NonNull String); 1443*344a7f5eSAndroid Build Coastguard Worker method public static int d(@Nullable String, @NonNull String, @Nullable Throwable); 1444*344a7f5eSAndroid Build Coastguard Worker method public static int e(@Nullable String, @NonNull String); 1445*344a7f5eSAndroid Build Coastguard Worker method public static int e(@Nullable String, @NonNull String, @Nullable Throwable); 1446*344a7f5eSAndroid Build Coastguard Worker method public static int i(@Nullable String, @NonNull String); 1447*344a7f5eSAndroid Build Coastguard Worker method public static int i(@Nullable String, @NonNull String, @Nullable Throwable); 1448*344a7f5eSAndroid Build Coastguard Worker method public static int v(@Nullable String, @NonNull String); 1449*344a7f5eSAndroid Build Coastguard Worker method public static int v(@Nullable String, @NonNull String, @Nullable Throwable); 1450*344a7f5eSAndroid Build Coastguard Worker method public static int w(@Nullable String, @NonNull String); 1451*344a7f5eSAndroid Build Coastguard Worker method public static int w(@Nullable String, @NonNull String, @Nullable Throwable); 1452*344a7f5eSAndroid Build Coastguard Worker method public static int w(@Nullable String, @Nullable Throwable); 1453*344a7f5eSAndroid Build Coastguard Worker method public static int wtf(@Nullable String, @NonNull String); 1454*344a7f5eSAndroid Build Coastguard Worker method public static int wtf(@Nullable String, @NonNull String, @Nullable Throwable); 1455*344a7f5eSAndroid Build Coastguard Worker method public static int wtf(@Nullable String, @Nullable Throwable); 1456*344a7f5eSAndroid Build Coastguard Worker method public static void wtfQuiet(@Nullable String, @NonNull String); 1457*344a7f5eSAndroid Build Coastguard Worker method public static int wtfStack(@Nullable String, @NonNull String); 1458*344a7f5eSAndroid Build Coastguard Worker } 1459*344a7f5eSAndroid Build Coastguard Worker 1460*344a7f5eSAndroid Build Coastguard Worker public class SystemConfigFileCommitEventLogger { 1461*344a7f5eSAndroid Build Coastguard Worker ctor public SystemConfigFileCommitEventLogger(@NonNull String); 1462*344a7f5eSAndroid Build Coastguard Worker method public void setStartTime(long); 1463*344a7f5eSAndroid Build Coastguard Worker } 1464*344a7f5eSAndroid Build Coastguard Worker 1465*344a7f5eSAndroid Build Coastguard Worker} 1466*344a7f5eSAndroid Build Coastguard Worker 1467*344a7f5eSAndroid Build Coastguard Workerpackage android.uwb { 1468*344a7f5eSAndroid Build Coastguard Worker 1469*344a7f5eSAndroid Build Coastguard Worker public class UwbFrameworkInitializer { 1470*344a7f5eSAndroid Build Coastguard Worker method public static void registerServiceWrappers(); 1471*344a7f5eSAndroid Build Coastguard Worker } 1472*344a7f5eSAndroid Build Coastguard Worker 1473*344a7f5eSAndroid Build Coastguard Worker} 1474*344a7f5eSAndroid Build Coastguard Worker 1475*344a7f5eSAndroid Build Coastguard Workerpackage android.view.accessibility { 1476*344a7f5eSAndroid Build Coastguard Worker 1477*344a7f5eSAndroid Build Coastguard Worker public final class AccessibilityManager { 1478*344a7f5eSAndroid Build Coastguard Worker method public boolean startFlashNotificationSequence(@NonNull android.content.Context, int); 1479*344a7f5eSAndroid Build Coastguard Worker method public boolean stopFlashNotificationSequence(@NonNull android.content.Context); 1480*344a7f5eSAndroid Build Coastguard Worker } 1481*344a7f5eSAndroid Build Coastguard Worker 1482*344a7f5eSAndroid Build Coastguard Worker} 1483*344a7f5eSAndroid Build Coastguard Worker 1484*344a7f5eSAndroid Build Coastguard Workerpackage com.android.okhttp.internalandroidapi { 1485*344a7f5eSAndroid Build Coastguard Worker 1486*344a7f5eSAndroid Build Coastguard Worker public final class AndroidResponseCacheAdapter { 1487*344a7f5eSAndroid Build Coastguard Worker ctor public AndroidResponseCacheAdapter(@NonNull com.android.okhttp.internalandroidapi.HasCacheHolder.CacheHolder); 1488*344a7f5eSAndroid Build Coastguard Worker method public void close() throws java.io.IOException; 1489*344a7f5eSAndroid Build Coastguard Worker method public void delete() throws java.io.IOException; 1490*344a7f5eSAndroid Build Coastguard Worker method public void flush() throws java.io.IOException; 1491*344a7f5eSAndroid Build Coastguard Worker method @Nullable public java.net.CacheResponse get(@NonNull java.net.URI, @NonNull String, @Nullable java.util.Map<java.lang.String,java.util.List<java.lang.String>>) throws java.io.IOException; 1492*344a7f5eSAndroid Build Coastguard Worker method @NonNull public com.android.okhttp.internalandroidapi.HasCacheHolder.CacheHolder getCacheHolder(); 1493*344a7f5eSAndroid Build Coastguard Worker method public int getHitCount(); 1494*344a7f5eSAndroid Build Coastguard Worker method public long getMaxSize(); 1495*344a7f5eSAndroid Build Coastguard Worker method public int getNetworkCount(); 1496*344a7f5eSAndroid Build Coastguard Worker method public int getRequestCount(); 1497*344a7f5eSAndroid Build Coastguard Worker method public long getSize() throws java.io.IOException; 1498*344a7f5eSAndroid Build Coastguard Worker method @Nullable public java.net.CacheRequest put(@NonNull java.net.URI, @NonNull java.net.URLConnection) throws java.io.IOException; 1499*344a7f5eSAndroid Build Coastguard Worker } 1500*344a7f5eSAndroid Build Coastguard Worker 1501*344a7f5eSAndroid Build Coastguard Worker public interface HasCacheHolder { 1502*344a7f5eSAndroid Build Coastguard Worker method @NonNull public com.android.okhttp.internalandroidapi.HasCacheHolder.CacheHolder getCacheHolder(); 1503*344a7f5eSAndroid Build Coastguard Worker } 1504*344a7f5eSAndroid Build Coastguard Worker 1505*344a7f5eSAndroid Build Coastguard Worker public static final class HasCacheHolder.CacheHolder { 1506*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static com.android.okhttp.internalandroidapi.HasCacheHolder.CacheHolder create(@NonNull java.io.File, long); 1507*344a7f5eSAndroid Build Coastguard Worker method public boolean isEquivalent(@NonNull java.io.File, long); 1508*344a7f5eSAndroid Build Coastguard Worker } 1509*344a7f5eSAndroid Build Coastguard Worker 1510*344a7f5eSAndroid Build Coastguard Worker} 1511*344a7f5eSAndroid Build Coastguard Worker 1512*344a7f5eSAndroid Build Coastguard Workerpackage dalvik.annotation.codegen { 1513*344a7f5eSAndroid Build Coastguard Worker 1514*344a7f5eSAndroid Build Coastguard Worker @java.lang.annotation.Repeatable(CovariantReturnType.CovariantReturnTypes.class) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) @java.lang.annotation.Target({java.lang.annotation.ElementType.METHOD}) public @interface CovariantReturnType { 1515*344a7f5eSAndroid Build Coastguard Worker method public abstract int presentAfter(); 1516*344a7f5eSAndroid Build Coastguard Worker method public abstract Class<?> returnType(); 1517*344a7f5eSAndroid Build Coastguard Worker } 1518*344a7f5eSAndroid Build Coastguard Worker 1519*344a7f5eSAndroid Build Coastguard Worker @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) @java.lang.annotation.Target({java.lang.annotation.ElementType.METHOD}) public static @interface CovariantReturnType.CovariantReturnTypes { 1520*344a7f5eSAndroid Build Coastguard Worker method public abstract dalvik.annotation.codegen.CovariantReturnType[] value(); 1521*344a7f5eSAndroid Build Coastguard Worker } 1522*344a7f5eSAndroid Build Coastguard Worker 1523*344a7f5eSAndroid Build Coastguard Worker} 1524*344a7f5eSAndroid Build Coastguard Worker 1525*344a7f5eSAndroid Build Coastguard Workerpackage dalvik.annotation.optimization { 1526*344a7f5eSAndroid Build Coastguard Worker 1527*344a7f5eSAndroid Build Coastguard Worker @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) @java.lang.annotation.Target(java.lang.annotation.ElementType.METHOD) public @interface NeverCompile { 1528*344a7f5eSAndroid Build Coastguard Worker } 1529*344a7f5eSAndroid Build Coastguard Worker 1530*344a7f5eSAndroid Build Coastguard Worker @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) @java.lang.annotation.Target({java.lang.annotation.ElementType.CONSTRUCTOR, java.lang.annotation.ElementType.METHOD}) public @interface NeverInline { 1531*344a7f5eSAndroid Build Coastguard Worker } 1532*344a7f5eSAndroid Build Coastguard Worker 1533*344a7f5eSAndroid Build Coastguard Worker} 1534*344a7f5eSAndroid Build Coastguard Worker 1535*344a7f5eSAndroid Build Coastguard Workerpackage dalvik.system { 1536*344a7f5eSAndroid Build Coastguard Worker 1537*344a7f5eSAndroid Build Coastguard Worker public final class AnnotatedStackTraceElement { 1538*344a7f5eSAndroid Build Coastguard Worker method @Nullable public Object getBlockedOn(); 1539*344a7f5eSAndroid Build Coastguard Worker method @Nullable public Object[] getHeldLocks(); 1540*344a7f5eSAndroid Build Coastguard Worker method @NonNull public StackTraceElement getStackTraceElement(); 1541*344a7f5eSAndroid Build Coastguard Worker } 1542*344a7f5eSAndroid Build Coastguard Worker 1543*344a7f5eSAndroid Build Coastguard Worker public class AppSpecializationHooks { 1544*344a7f5eSAndroid Build Coastguard Worker method public static void handleCompatChangesBeforeBindingApplication(); 1545*344a7f5eSAndroid Build Coastguard Worker } 1546*344a7f5eSAndroid Build Coastguard Worker 1547*344a7f5eSAndroid Build Coastguard Worker public class BaseDexClassLoader extends java.lang.ClassLoader { 1548*344a7f5eSAndroid Build Coastguard Worker method public void addDexPath(@Nullable String); 1549*344a7f5eSAndroid Build Coastguard Worker method public void addNativePath(@NonNull java.util.Collection<java.lang.String>); 1550*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getLdLibraryPath(); 1551*344a7f5eSAndroid Build Coastguard Worker method public void reportClassLoaderChain(); 1552*344a7f5eSAndroid Build Coastguard Worker method public static void setReporter(@Nullable dalvik.system.BaseDexClassLoader.Reporter); 1553*344a7f5eSAndroid Build Coastguard Worker } 1554*344a7f5eSAndroid Build Coastguard Worker 1555*344a7f5eSAndroid Build Coastguard Worker public static interface BaseDexClassLoader.Reporter { 1556*344a7f5eSAndroid Build Coastguard Worker method public void report(@NonNull java.util.Map<java.lang.String,java.lang.String>); 1557*344a7f5eSAndroid Build Coastguard Worker } 1558*344a7f5eSAndroid Build Coastguard Worker 1559*344a7f5eSAndroid Build Coastguard Worker public final class BlockGuard { 1560*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static dalvik.system.BlockGuard.Policy getThreadPolicy(); 1561*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static dalvik.system.BlockGuard.VmPolicy getVmPolicy(); 1562*344a7f5eSAndroid Build Coastguard Worker method public static void setThreadPolicy(@NonNull dalvik.system.BlockGuard.Policy); 1563*344a7f5eSAndroid Build Coastguard Worker method public static void setVmPolicy(@NonNull dalvik.system.BlockGuard.VmPolicy); 1564*344a7f5eSAndroid Build Coastguard Worker field public static final dalvik.system.BlockGuard.Policy LAX_POLICY; 1565*344a7f5eSAndroid Build Coastguard Worker field public static final dalvik.system.BlockGuard.VmPolicy LAX_VM_POLICY; 1566*344a7f5eSAndroid Build Coastguard Worker } 1567*344a7f5eSAndroid Build Coastguard Worker 1568*344a7f5eSAndroid Build Coastguard Worker public static interface BlockGuard.Policy { 1569*344a7f5eSAndroid Build Coastguard Worker method public int getPolicyMask(); 1570*344a7f5eSAndroid Build Coastguard Worker method public void onReadFromDisk(); 1571*344a7f5eSAndroid Build Coastguard Worker method public void onUnbufferedIO(); 1572*344a7f5eSAndroid Build Coastguard Worker method public void onWriteToDisk(); 1573*344a7f5eSAndroid Build Coastguard Worker } 1574*344a7f5eSAndroid Build Coastguard Worker 1575*344a7f5eSAndroid Build Coastguard Worker public static interface BlockGuard.VmPolicy { 1576*344a7f5eSAndroid Build Coastguard Worker method public void onPathAccess(@NonNull String); 1577*344a7f5eSAndroid Build Coastguard Worker } 1578*344a7f5eSAndroid Build Coastguard Worker 1579*344a7f5eSAndroid Build Coastguard Worker public final class CloseGuard { 1580*344a7f5eSAndroid Build Coastguard Worker method public void close(); 1581*344a7f5eSAndroid Build Coastguard Worker method public static dalvik.system.CloseGuard get(); 1582*344a7f5eSAndroid Build Coastguard Worker method public static dalvik.system.CloseGuard.Reporter getReporter(); 1583*344a7f5eSAndroid Build Coastguard Worker method public void open(String); 1584*344a7f5eSAndroid Build Coastguard Worker method public void openWithCallSite(String, String); 1585*344a7f5eSAndroid Build Coastguard Worker method public static void setEnabled(boolean); 1586*344a7f5eSAndroid Build Coastguard Worker method public static void setReporter(dalvik.system.CloseGuard.Reporter); 1587*344a7f5eSAndroid Build Coastguard Worker method public void warnIfOpen(); 1588*344a7f5eSAndroid Build Coastguard Worker } 1589*344a7f5eSAndroid Build Coastguard Worker 1590*344a7f5eSAndroid Build Coastguard Worker public static interface CloseGuard.Reporter { 1591*344a7f5eSAndroid Build Coastguard Worker method public default void report(String); 1592*344a7f5eSAndroid Build Coastguard Worker method public void report(String, Throwable); 1593*344a7f5eSAndroid Build Coastguard Worker } 1594*344a7f5eSAndroid Build Coastguard Worker 1595*344a7f5eSAndroid Build Coastguard Worker public final class DelegateLastClassLoader extends dalvik.system.PathClassLoader { 1596*344a7f5eSAndroid Build Coastguard Worker ctor public DelegateLastClassLoader(String, String, ClassLoader, ClassLoader[]); 1597*344a7f5eSAndroid Build Coastguard Worker ctor public DelegateLastClassLoader(String, String, ClassLoader, ClassLoader[], ClassLoader[]); 1598*344a7f5eSAndroid Build Coastguard Worker } 1599*344a7f5eSAndroid Build Coastguard Worker 1600*344a7f5eSAndroid Build Coastguard Worker public final class DexFile { 1601*344a7f5eSAndroid Build Coastguard Worker method @Deprecated @NonNull public static dalvik.system.DexFile.OptimizationInfo getDexFileOptimizationInfo(@NonNull String, @NonNull String) throws java.io.FileNotFoundException; 1602*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static String[] getDexFileOutputPaths(@NonNull String, @NonNull String) throws java.io.FileNotFoundException; 1603*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public static int getDexOptNeeded(@NonNull String, @NonNull String, @NonNull String, @Nullable String, boolean, boolean) throws java.io.FileNotFoundException, java.io.IOException; 1604*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static String getSafeModeCompilerFilter(@NonNull String); 1605*344a7f5eSAndroid Build Coastguard Worker method public static boolean isOptimizedCompilerFilter(@NonNull String); 1606*344a7f5eSAndroid Build Coastguard Worker method public static boolean isProfileGuidedCompilerFilter(@NonNull String); 1607*344a7f5eSAndroid Build Coastguard Worker method public static boolean isValidCompilerFilter(@NonNull String); 1608*344a7f5eSAndroid Build Coastguard Worker method public static boolean isVerifiedCompilerFilter(@NonNull String); 1609*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int DEX2OAT_FOR_FILTER = 3; // 0x3 1610*344a7f5eSAndroid Build Coastguard Worker field @Deprecated public static final int NO_DEXOPT_NEEDED = 0; // 0x0 1611*344a7f5eSAndroid Build Coastguard Worker } 1612*344a7f5eSAndroid Build Coastguard Worker 1613*344a7f5eSAndroid Build Coastguard Worker public static final class DexFile.OptimizationInfo { 1614*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getReason(); 1615*344a7f5eSAndroid Build Coastguard Worker method @NonNull public String getStatus(); 1616*344a7f5eSAndroid Build Coastguard Worker } 1617*344a7f5eSAndroid Build Coastguard Worker 1618*344a7f5eSAndroid Build Coastguard Worker public class PathClassLoader extends dalvik.system.BaseDexClassLoader { 1619*344a7f5eSAndroid Build Coastguard Worker ctor public PathClassLoader(@NonNull String, @Nullable String, @Nullable ClassLoader, @Nullable ClassLoader[]); 1620*344a7f5eSAndroid Build Coastguard Worker ctor public PathClassLoader(@NonNull String, @Nullable String, @Nullable ClassLoader, @Nullable ClassLoader[], @Nullable ClassLoader[]); 1621*344a7f5eSAndroid Build Coastguard Worker } 1622*344a7f5eSAndroid Build Coastguard Worker 1623*344a7f5eSAndroid Build Coastguard Worker public final class RuntimeHooks { 1624*344a7f5eSAndroid Build Coastguard Worker method public static void setTimeZoneIdSupplier(@NonNull java.util.function.Supplier<java.lang.String>); 1625*344a7f5eSAndroid Build Coastguard Worker method public static void setUncaughtExceptionPreHandler(@Nullable java.lang.Thread.UncaughtExceptionHandler); 1626*344a7f5eSAndroid Build Coastguard Worker } 1627*344a7f5eSAndroid Build Coastguard Worker 1628*344a7f5eSAndroid Build Coastguard Worker public abstract class SocketTagger { 1629*344a7f5eSAndroid Build Coastguard Worker ctor public SocketTagger(); 1630*344a7f5eSAndroid Build Coastguard Worker method public static dalvik.system.SocketTagger get(); 1631*344a7f5eSAndroid Build Coastguard Worker method public static void set(dalvik.system.SocketTagger); 1632*344a7f5eSAndroid Build Coastguard Worker method public abstract void tag(java.io.FileDescriptor) throws java.net.SocketException; 1633*344a7f5eSAndroid Build Coastguard Worker method public final void tag(java.net.DatagramSocket) throws java.net.SocketException; 1634*344a7f5eSAndroid Build Coastguard Worker method public final void tag(java.net.Socket) throws java.net.SocketException; 1635*344a7f5eSAndroid Build Coastguard Worker method public abstract void untag(java.io.FileDescriptor) throws java.net.SocketException; 1636*344a7f5eSAndroid Build Coastguard Worker method public final void untag(java.net.DatagramSocket) throws java.net.SocketException; 1637*344a7f5eSAndroid Build Coastguard Worker method public final void untag(java.net.Socket) throws java.net.SocketException; 1638*344a7f5eSAndroid Build Coastguard Worker } 1639*344a7f5eSAndroid Build Coastguard Worker 1640*344a7f5eSAndroid Build Coastguard Worker public final class VMDebug { 1641*344a7f5eSAndroid Build Coastguard Worker method public static void attachAgent(String, ClassLoader) throws java.io.IOException; 1642*344a7f5eSAndroid Build Coastguard Worker method public static long countInstancesOfClass(Class, boolean); 1643*344a7f5eSAndroid Build Coastguard Worker method public static long[] countInstancesOfClasses(Class[], boolean); 1644*344a7f5eSAndroid Build Coastguard Worker method public static void dumpHprofData(String) throws java.io.IOException; 1645*344a7f5eSAndroid Build Coastguard Worker method public static void dumpHprofData(String, java.io.FileDescriptor) throws java.io.IOException; 1646*344a7f5eSAndroid Build Coastguard Worker method public static void dumpHprofDataDdms(); 1647*344a7f5eSAndroid Build Coastguard Worker method public static void dumpReferenceTables(); 1648*344a7f5eSAndroid Build Coastguard Worker method public static int getAllocCount(int); 1649*344a7f5eSAndroid Build Coastguard Worker method public static int getLoadedClassCount(); 1650*344a7f5eSAndroid Build Coastguard Worker method public static int getMethodTracingMode(); 1651*344a7f5eSAndroid Build Coastguard Worker method public static String getRuntimeStat(String); 1652*344a7f5eSAndroid Build Coastguard Worker method public static java.util.Map<java.lang.String,java.lang.String> getRuntimeStats(); 1653*344a7f5eSAndroid Build Coastguard Worker method public static String[] getVmFeatureList(); 1654*344a7f5eSAndroid Build Coastguard Worker method public static boolean isDebuggerConnected(); 1655*344a7f5eSAndroid Build Coastguard Worker method public static boolean isDebuggingEnabled(); 1656*344a7f5eSAndroid Build Coastguard Worker method public static long lastDebuggerActivity(); 1657*344a7f5eSAndroid Build Coastguard Worker method public static void printLoadedClasses(int); 1658*344a7f5eSAndroid Build Coastguard Worker method public static void resetAllocCount(int); 1659*344a7f5eSAndroid Build Coastguard Worker method public static void setAllocTrackerStackDepth(int); 1660*344a7f5eSAndroid Build Coastguard Worker method public static void startAllocCounting(); 1661*344a7f5eSAndroid Build Coastguard Worker method public static void startMethodTracing(String, int, int, boolean, int); 1662*344a7f5eSAndroid Build Coastguard Worker method public static void startMethodTracing(String, java.io.FileDescriptor, int, int, boolean, int, boolean); 1663*344a7f5eSAndroid Build Coastguard Worker method public static void startMethodTracingDdms(int, int, boolean, int); 1664*344a7f5eSAndroid Build Coastguard Worker method public static void stopAllocCounting(); 1665*344a7f5eSAndroid Build Coastguard Worker method public static void stopMethodTracing(); 1666*344a7f5eSAndroid Build Coastguard Worker method public static void suspendAllAndSendVmStart(); 1667*344a7f5eSAndroid Build Coastguard Worker method public static long threadCpuTimeNanos(); 1668*344a7f5eSAndroid Build Coastguard Worker field public static final int KIND_ALL_COUNTS = -1; // 0xffffffff 1669*344a7f5eSAndroid Build Coastguard Worker field public static final int KIND_GLOBAL_ALLOCATED_BYTES = 2; // 0x2 1670*344a7f5eSAndroid Build Coastguard Worker field public static final int KIND_GLOBAL_ALLOCATED_OBJECTS = 1; // 0x1 1671*344a7f5eSAndroid Build Coastguard Worker field public static final int KIND_GLOBAL_CLASS_INIT_COUNT = 32; // 0x20 1672*344a7f5eSAndroid Build Coastguard Worker field public static final int KIND_GLOBAL_CLASS_INIT_TIME = 64; // 0x40 1673*344a7f5eSAndroid Build Coastguard Worker field public static final int KIND_GLOBAL_FREED_BYTES = 8; // 0x8 1674*344a7f5eSAndroid Build Coastguard Worker field public static final int KIND_GLOBAL_FREED_OBJECTS = 4; // 0x4 1675*344a7f5eSAndroid Build Coastguard Worker field public static final int KIND_GLOBAL_GC_INVOCATIONS = 16; // 0x10 1676*344a7f5eSAndroid Build Coastguard Worker field public static final int KIND_THREAD_ALLOCATED_BYTES = 131072; // 0x20000 1677*344a7f5eSAndroid Build Coastguard Worker field public static final int KIND_THREAD_ALLOCATED_OBJECTS = 65536; // 0x10000 1678*344a7f5eSAndroid Build Coastguard Worker field public static final int KIND_THREAD_GC_INVOCATIONS = 1048576; // 0x100000 1679*344a7f5eSAndroid Build Coastguard Worker field public static final int TRACE_COUNT_ALLOCS = 1; // 0x1 1680*344a7f5eSAndroid Build Coastguard Worker } 1681*344a7f5eSAndroid Build Coastguard Worker 1682*344a7f5eSAndroid Build Coastguard Worker public final class VMRuntime { 1683*344a7f5eSAndroid Build Coastguard Worker method public long addressOf(Object); 1684*344a7f5eSAndroid Build Coastguard Worker method public static void bootCompleted(); 1685*344a7f5eSAndroid Build Coastguard Worker method public void clampGrowthLimit(); 1686*344a7f5eSAndroid Build Coastguard Worker method public void clearGrowthLimit(); 1687*344a7f5eSAndroid Build Coastguard Worker method public static String getCurrentInstructionSet(); 1688*344a7f5eSAndroid Build Coastguard Worker method public static String getInstructionSet(String); 1689*344a7f5eSAndroid Build Coastguard Worker method public static dalvik.system.VMRuntime getRuntime(); 1690*344a7f5eSAndroid Build Coastguard Worker method public int getTargetSdkVersion(); 1691*344a7f5eSAndroid Build Coastguard Worker method public boolean is64Bit(); 1692*344a7f5eSAndroid Build Coastguard Worker method public static boolean is64BitAbi(String); 1693*344a7f5eSAndroid Build Coastguard Worker method public static boolean is64BitInstructionSet(String); 1694*344a7f5eSAndroid Build Coastguard Worker method public boolean isCheckJniEnabled(); 1695*344a7f5eSAndroid Build Coastguard Worker method public boolean isNativeDebuggable(); 1696*344a7f5eSAndroid Build Coastguard Worker method public static boolean isValidClassLoaderContext(String); 1697*344a7f5eSAndroid Build Coastguard Worker method public Object newNonMovableArray(Class<?>, int); 1698*344a7f5eSAndroid Build Coastguard Worker method public Object newUnpaddedArray(Class<?>, int); 1699*344a7f5eSAndroid Build Coastguard Worker method public void notifyStartupCompleted(); 1700*344a7f5eSAndroid Build Coastguard Worker method public void preloadDexCaches(); 1701*344a7f5eSAndroid Build Coastguard Worker method public static void registerAppInfo(String, String, String, String[], int); 1702*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void registerNativeAllocation(int); 1703*344a7f5eSAndroid Build Coastguard Worker method public void registerNativeAllocation(long); 1704*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public void registerNativeFree(int); 1705*344a7f5eSAndroid Build Coastguard Worker method public void registerNativeFree(long); 1706*344a7f5eSAndroid Build Coastguard Worker method public static void registerSensitiveThread(); 1707*344a7f5eSAndroid Build Coastguard Worker method public void requestConcurrentGC(); 1708*344a7f5eSAndroid Build Coastguard Worker method public static void resetJitCounters(); 1709*344a7f5eSAndroid Build Coastguard Worker method public static void setDedupeHiddenApiWarnings(boolean); 1710*344a7f5eSAndroid Build Coastguard Worker method public void setDisabledCompatChanges(long[]); 1711*344a7f5eSAndroid Build Coastguard Worker method public void setHiddenApiAccessLogSamplingRate(int); 1712*344a7f5eSAndroid Build Coastguard Worker method public void setHiddenApiExemptions(String[]); 1713*344a7f5eSAndroid Build Coastguard Worker method public static void setHiddenApiUsageLogger(dalvik.system.VMRuntime.HiddenApiUsageLogger); 1714*344a7f5eSAndroid Build Coastguard Worker method public static void setNonSdkApiUsageConsumer(java.util.function.Consumer<java.lang.String>); 1715*344a7f5eSAndroid Build Coastguard Worker method public static void setProcessDataDirectory(String); 1716*344a7f5eSAndroid Build Coastguard Worker method public static void setProcessPackageName(String); 1717*344a7f5eSAndroid Build Coastguard Worker method public void setTargetSdkVersion(int); 1718*344a7f5eSAndroid Build Coastguard Worker method public void updateProcessState(int); 1719*344a7f5eSAndroid Build Coastguard Worker method public String vmInstructionSet(); 1720*344a7f5eSAndroid Build Coastguard Worker method public String vmLibrary(); 1721*344a7f5eSAndroid Build Coastguard Worker field public static final int CODE_PATH_TYPE_PRIMARY_APK = 1; // 0x1 1722*344a7f5eSAndroid Build Coastguard Worker field public static final int CODE_PATH_TYPE_SECONDARY_DEX = 4; // 0x4 1723*344a7f5eSAndroid Build Coastguard Worker field public static final int CODE_PATH_TYPE_SPLIT_APK = 2; // 0x2 1724*344a7f5eSAndroid Build Coastguard Worker field public static final int SDK_VERSION_CUR_DEVELOPMENT = 10000; // 0x2710 1725*344a7f5eSAndroid Build Coastguard Worker } 1726*344a7f5eSAndroid Build Coastguard Worker 1727*344a7f5eSAndroid Build Coastguard Worker public static interface VMRuntime.HiddenApiUsageLogger { 1728*344a7f5eSAndroid Build Coastguard Worker method public void hiddenApiUsed(int, String, String, int, boolean); 1729*344a7f5eSAndroid Build Coastguard Worker field public static final int ACCESS_METHOD_JNI = 2; // 0x2 1730*344a7f5eSAndroid Build Coastguard Worker field public static final int ACCESS_METHOD_LINKING = 3; // 0x3 1731*344a7f5eSAndroid Build Coastguard Worker field public static final int ACCESS_METHOD_NONE = 0; // 0x0 1732*344a7f5eSAndroid Build Coastguard Worker field public static final int ACCESS_METHOD_REFLECTION = 1; // 0x1 1733*344a7f5eSAndroid Build Coastguard Worker } 1734*344a7f5eSAndroid Build Coastguard Worker 1735*344a7f5eSAndroid Build Coastguard Worker public final class VMStack { 1736*344a7f5eSAndroid Build Coastguard Worker method @Nullable public static dalvik.system.AnnotatedStackTraceElement[] getAnnotatedThreadStackTrace(Thread); 1737*344a7f5eSAndroid Build Coastguard Worker } 1738*344a7f5eSAndroid Build Coastguard Worker 1739*344a7f5eSAndroid Build Coastguard Worker public final class ZygoteHooks { 1740*344a7f5eSAndroid Build Coastguard Worker method public static void gcAndFinalize(); 1741*344a7f5eSAndroid Build Coastguard Worker method public static boolean isIndefiniteThreadSuspensionSafe(); 1742*344a7f5eSAndroid Build Coastguard Worker method public static void onBeginPreload(); 1743*344a7f5eSAndroid Build Coastguard Worker method public static void onEndPreload(); 1744*344a7f5eSAndroid Build Coastguard Worker method public static void postForkChild(int, boolean, boolean, String); 1745*344a7f5eSAndroid Build Coastguard Worker method public static void postForkCommon(); 1746*344a7f5eSAndroid Build Coastguard Worker method public static void postForkSystemServer(int); 1747*344a7f5eSAndroid Build Coastguard Worker method public static void preFork(); 1748*344a7f5eSAndroid Build Coastguard Worker method public static void startZygoteNoThreadCreation(); 1749*344a7f5eSAndroid Build Coastguard Worker method public static void stopZygoteNoThreadCreation(); 1750*344a7f5eSAndroid Build Coastguard Worker } 1751*344a7f5eSAndroid Build Coastguard Worker 1752*344a7f5eSAndroid Build Coastguard Worker} 1753*344a7f5eSAndroid Build Coastguard Worker 1754*344a7f5eSAndroid Build Coastguard Workerpackage java.io { 1755*344a7f5eSAndroid Build Coastguard Worker 1756*344a7f5eSAndroid Build Coastguard Worker public final class FileDescriptor { 1757*344a7f5eSAndroid Build Coastguard Worker method public int getInt$(); 1758*344a7f5eSAndroid Build Coastguard Worker method public void setInt$(int); 1759*344a7f5eSAndroid Build Coastguard Worker } 1760*344a7f5eSAndroid Build Coastguard Worker 1761*344a7f5eSAndroid Build Coastguard Worker public class FileInputStream extends java.io.InputStream { 1762*344a7f5eSAndroid Build Coastguard Worker ctor public FileInputStream(java.io.FileDescriptor, boolean); 1763*344a7f5eSAndroid Build Coastguard Worker } 1764*344a7f5eSAndroid Build Coastguard Worker 1765*344a7f5eSAndroid Build Coastguard Worker} 1766*344a7f5eSAndroid Build Coastguard Worker 1767*344a7f5eSAndroid Build Coastguard Workerpackage java.lang { 1768*344a7f5eSAndroid Build Coastguard Worker 1769*344a7f5eSAndroid Build Coastguard Worker public class Thread implements java.lang.Runnable { 1770*344a7f5eSAndroid Build Coastguard Worker method public static java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionPreHandler(); 1771*344a7f5eSAndroid Build Coastguard Worker method public static void setUncaughtExceptionPreHandler(java.lang.Thread.UncaughtExceptionHandler); 1772*344a7f5eSAndroid Build Coastguard Worker } 1773*344a7f5eSAndroid Build Coastguard Worker 1774*344a7f5eSAndroid Build Coastguard Worker} 1775*344a7f5eSAndroid Build Coastguard Worker 1776*344a7f5eSAndroid Build Coastguard Workerpackage java.net { 1777*344a7f5eSAndroid Build Coastguard Worker 1778*344a7f5eSAndroid Build Coastguard Worker public class DatagramSocket implements java.io.Closeable { 1779*344a7f5eSAndroid Build Coastguard Worker method public java.io.FileDescriptor getFileDescriptor$(); 1780*344a7f5eSAndroid Build Coastguard Worker } 1781*344a7f5eSAndroid Build Coastguard Worker 1782*344a7f5eSAndroid Build Coastguard Worker public final class Inet4Address extends java.net.InetAddress { 1783*344a7f5eSAndroid Build Coastguard Worker field public static final java.net.InetAddress ALL; 1784*344a7f5eSAndroid Build Coastguard Worker field public static final java.net.InetAddress ANY; 1785*344a7f5eSAndroid Build Coastguard Worker field public static final java.net.InetAddress LOOPBACK; 1786*344a7f5eSAndroid Build Coastguard Worker } 1787*344a7f5eSAndroid Build Coastguard Worker 1788*344a7f5eSAndroid Build Coastguard Worker public final class Inet6Address extends java.net.InetAddress { 1789*344a7f5eSAndroid Build Coastguard Worker field public static final java.net.InetAddress ANY; 1790*344a7f5eSAndroid Build Coastguard Worker field public static final java.net.InetAddress LOOPBACK; 1791*344a7f5eSAndroid Build Coastguard Worker } 1792*344a7f5eSAndroid Build Coastguard Worker 1793*344a7f5eSAndroid Build Coastguard Worker public class InetAddress implements java.io.Serializable { 1794*344a7f5eSAndroid Build Coastguard Worker method public static void clearDnsCache(); 1795*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.net.InetAddress[] getAllByNameOnNet(@Nullable String, int) throws java.net.UnknownHostException; 1796*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.net.InetAddress getByNameOnNet(@Nullable String, int) throws java.net.UnknownHostException; 1797*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public static boolean isNumeric(String); 1798*344a7f5eSAndroid Build Coastguard Worker method @Deprecated public static java.net.InetAddress parseNumericAddress(String); 1799*344a7f5eSAndroid Build Coastguard Worker } 1800*344a7f5eSAndroid Build Coastguard Worker 1801*344a7f5eSAndroid Build Coastguard Worker public class InetSocketAddress extends java.net.SocketAddress { 1802*344a7f5eSAndroid Build Coastguard Worker ctor public InetSocketAddress(); 1803*344a7f5eSAndroid Build Coastguard Worker } 1804*344a7f5eSAndroid Build Coastguard Worker 1805*344a7f5eSAndroid Build Coastguard Worker public class ServerSocket implements java.io.Closeable { 1806*344a7f5eSAndroid Build Coastguard Worker method public java.net.SocketImpl getImpl() throws java.net.SocketException; 1807*344a7f5eSAndroid Build Coastguard Worker } 1808*344a7f5eSAndroid Build Coastguard Worker 1809*344a7f5eSAndroid Build Coastguard Worker public class Socket implements java.io.Closeable { 1810*344a7f5eSAndroid Build Coastguard Worker method public java.io.FileDescriptor getFileDescriptor$(); 1811*344a7f5eSAndroid Build Coastguard Worker } 1812*344a7f5eSAndroid Build Coastguard Worker 1813*344a7f5eSAndroid Build Coastguard Worker public abstract class SocketImpl implements java.net.SocketOptions { 1814*344a7f5eSAndroid Build Coastguard Worker method public java.io.FileDescriptor getFD$(); 1815*344a7f5eSAndroid Build Coastguard Worker } 1816*344a7f5eSAndroid Build Coastguard Worker 1817*344a7f5eSAndroid Build Coastguard Worker} 1818*344a7f5eSAndroid Build Coastguard Worker 1819*344a7f5eSAndroid Build Coastguard Workerpackage java.nio { 1820*344a7f5eSAndroid Build Coastguard Worker 1821*344a7f5eSAndroid Build Coastguard Worker public abstract class ByteBuffer extends java.nio.Buffer implements java.lang.Comparable<java.nio.ByteBuffer> { 1822*344a7f5eSAndroid Build Coastguard Worker method public void setAccessible(boolean); 1823*344a7f5eSAndroid Build Coastguard Worker } 1824*344a7f5eSAndroid Build Coastguard Worker 1825*344a7f5eSAndroid Build Coastguard Worker public class DirectByteBuffer extends java.nio.MappedByteBuffer { 1826*344a7f5eSAndroid Build Coastguard Worker ctor public DirectByteBuffer(int, long, java.io.FileDescriptor, Runnable, boolean); 1827*344a7f5eSAndroid Build Coastguard Worker method public final long address(); 1828*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.CharBuffer asCharBuffer(); 1829*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.DoubleBuffer asDoubleBuffer(); 1830*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.FloatBuffer asFloatBuffer(); 1831*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.IntBuffer asIntBuffer(); 1832*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.LongBuffer asLongBuffer(); 1833*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.ByteBuffer asReadOnlyBuffer(); 1834*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.ShortBuffer asShortBuffer(); 1835*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.ByteBuffer compact(); 1836*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.MappedByteBuffer duplicate(); 1837*344a7f5eSAndroid Build Coastguard Worker method public final byte get(); 1838*344a7f5eSAndroid Build Coastguard Worker method public final byte get(int); 1839*344a7f5eSAndroid Build Coastguard Worker method public final char getChar(); 1840*344a7f5eSAndroid Build Coastguard Worker method public final char getChar(int); 1841*344a7f5eSAndroid Build Coastguard Worker method public final double getDouble(); 1842*344a7f5eSAndroid Build Coastguard Worker method public final double getDouble(int); 1843*344a7f5eSAndroid Build Coastguard Worker method public final float getFloat(); 1844*344a7f5eSAndroid Build Coastguard Worker method public final float getFloat(int); 1845*344a7f5eSAndroid Build Coastguard Worker method public int getInt(); 1846*344a7f5eSAndroid Build Coastguard Worker method public int getInt(int); 1847*344a7f5eSAndroid Build Coastguard Worker method public final long getLong(); 1848*344a7f5eSAndroid Build Coastguard Worker method public final long getLong(int); 1849*344a7f5eSAndroid Build Coastguard Worker method public final short getShort(); 1850*344a7f5eSAndroid Build Coastguard Worker method public final short getShort(int); 1851*344a7f5eSAndroid Build Coastguard Worker method public final boolean isDirect(); 1852*344a7f5eSAndroid Build Coastguard Worker method public final boolean isReadOnly(); 1853*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.ByteBuffer put(byte); 1854*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.ByteBuffer put(int, byte); 1855*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.ByteBuffer putChar(char); 1856*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.ByteBuffer putChar(int, char); 1857*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.ByteBuffer putDouble(double); 1858*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.ByteBuffer putDouble(int, double); 1859*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.ByteBuffer putFloat(float); 1860*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.ByteBuffer putFloat(int, float); 1861*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.ByteBuffer putInt(int); 1862*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.ByteBuffer putInt(int, int); 1863*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.ByteBuffer putLong(int, long); 1864*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.ByteBuffer putLong(long); 1865*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.ByteBuffer putShort(int, short); 1866*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.ByteBuffer putShort(short); 1867*344a7f5eSAndroid Build Coastguard Worker method public final void setAccessible(boolean); 1868*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.MappedByteBuffer slice(); 1869*344a7f5eSAndroid Build Coastguard Worker method public final java.nio.MappedByteBuffer slice(int, int); 1870*344a7f5eSAndroid Build Coastguard Worker } 1871*344a7f5eSAndroid Build Coastguard Worker 1872*344a7f5eSAndroid Build Coastguard Worker public final class NIOAccess { 1873*344a7f5eSAndroid Build Coastguard Worker method public static Object getBaseArray(java.nio.Buffer); 1874*344a7f5eSAndroid Build Coastguard Worker method public static int getBaseArrayOffset(java.nio.Buffer); 1875*344a7f5eSAndroid Build Coastguard Worker } 1876*344a7f5eSAndroid Build Coastguard Worker 1877*344a7f5eSAndroid Build Coastguard Worker public final class NioUtils { 1878*344a7f5eSAndroid Build Coastguard Worker method public static void freeDirectBuffer(java.nio.ByteBuffer); 1879*344a7f5eSAndroid Build Coastguard Worker method public static byte[] unsafeArray(java.nio.ByteBuffer); 1880*344a7f5eSAndroid Build Coastguard Worker method public static int unsafeArrayOffset(java.nio.ByteBuffer); 1881*344a7f5eSAndroid Build Coastguard Worker } 1882*344a7f5eSAndroid Build Coastguard Worker 1883*344a7f5eSAndroid Build Coastguard Worker} 1884*344a7f5eSAndroid Build Coastguard Worker 1885*344a7f5eSAndroid Build Coastguard Workerpackage java.security { 1886*344a7f5eSAndroid Build Coastguard Worker 1887*344a7f5eSAndroid Build Coastguard Worker public abstract class Provider extends java.util.Properties { 1888*344a7f5eSAndroid Build Coastguard Worker method public void warmUpServiceProvision(); 1889*344a7f5eSAndroid Build Coastguard Worker } 1890*344a7f5eSAndroid Build Coastguard Worker 1891*344a7f5eSAndroid Build Coastguard Worker public abstract class Signature extends java.security.SignatureSpi { 1892*344a7f5eSAndroid Build Coastguard Worker method public java.security.SignatureSpi getCurrentSpi(); 1893*344a7f5eSAndroid Build Coastguard Worker } 1894*344a7f5eSAndroid Build Coastguard Worker 1895*344a7f5eSAndroid Build Coastguard Worker} 1896*344a7f5eSAndroid Build Coastguard Worker 1897*344a7f5eSAndroid Build Coastguard Workerpackage java.text { 1898*344a7f5eSAndroid Build Coastguard Worker 1899*344a7f5eSAndroid Build Coastguard Worker public abstract class DateFormat extends java.text.Format { 1900*344a7f5eSAndroid Build Coastguard Worker method public static final void set24HourTimePref(Boolean); 1901*344a7f5eSAndroid Build Coastguard Worker } 1902*344a7f5eSAndroid Build Coastguard Worker 1903*344a7f5eSAndroid Build Coastguard Worker} 1904*344a7f5eSAndroid Build Coastguard Worker 1905*344a7f5eSAndroid Build Coastguard Workerpackage java.util { 1906*344a7f5eSAndroid Build Coastguard Worker 1907*344a7f5eSAndroid Build Coastguard Worker public class LinkedHashMap<K, V> extends java.util.HashMap<K,V> implements java.util.Map<K,V> java.util.SequencedMap<K,V> { 1908*344a7f5eSAndroid Build Coastguard Worker method public java.util.Map.Entry<K,V> eldest(); 1909*344a7f5eSAndroid Build Coastguard Worker } 1910*344a7f5eSAndroid Build Coastguard Worker 1911*344a7f5eSAndroid Build Coastguard Worker} 1912*344a7f5eSAndroid Build Coastguard Worker 1913*344a7f5eSAndroid Build Coastguard Workerpackage java.util.zip { 1914*344a7f5eSAndroid Build Coastguard Worker 1915*344a7f5eSAndroid Build Coastguard Worker public class ZipEntry implements java.lang.Cloneable { 1916*344a7f5eSAndroid Build Coastguard Worker method public long getDataOffset(); 1917*344a7f5eSAndroid Build Coastguard Worker } 1918*344a7f5eSAndroid Build Coastguard Worker 1919*344a7f5eSAndroid Build Coastguard Worker} 1920*344a7f5eSAndroid Build Coastguard Worker 1921*344a7f5eSAndroid Build Coastguard Workerpackage javax.crypto { 1922*344a7f5eSAndroid Build Coastguard Worker 1923*344a7f5eSAndroid Build Coastguard Worker public class Cipher { 1924*344a7f5eSAndroid Build Coastguard Worker method public javax.crypto.CipherSpi getCurrentSpi(); 1925*344a7f5eSAndroid Build Coastguard Worker } 1926*344a7f5eSAndroid Build Coastguard Worker 1927*344a7f5eSAndroid Build Coastguard Worker public class KeyAgreement { 1928*344a7f5eSAndroid Build Coastguard Worker method public javax.crypto.KeyAgreementSpi getCurrentSpi(); 1929*344a7f5eSAndroid Build Coastguard Worker } 1930*344a7f5eSAndroid Build Coastguard Worker 1931*344a7f5eSAndroid Build Coastguard Worker public class Mac implements java.lang.Cloneable { 1932*344a7f5eSAndroid Build Coastguard Worker method public javax.crypto.MacSpi getCurrentSpi(); 1933*344a7f5eSAndroid Build Coastguard Worker } 1934*344a7f5eSAndroid Build Coastguard Worker 1935*344a7f5eSAndroid Build Coastguard Worker} 1936*344a7f5eSAndroid Build Coastguard Worker 1937*344a7f5eSAndroid Build Coastguard Workerpackage javax.net.ssl { 1938*344a7f5eSAndroid Build Coastguard Worker 1939*344a7f5eSAndroid Build Coastguard Worker public abstract class HttpsURLConnection extends java.net.HttpURLConnection { 1940*344a7f5eSAndroid Build Coastguard Worker method public static javax.net.ssl.HostnameVerifier getStrictHostnameVerifier(); 1941*344a7f5eSAndroid Build Coastguard Worker } 1942*344a7f5eSAndroid Build Coastguard Worker 1943*344a7f5eSAndroid Build Coastguard Worker} 1944*344a7f5eSAndroid Build Coastguard Worker 1945*344a7f5eSAndroid Build Coastguard Workerpackage libcore.content.type { 1946*344a7f5eSAndroid Build Coastguard Worker 1947*344a7f5eSAndroid Build Coastguard Worker public final class MimeMap { 1948*344a7f5eSAndroid Build Coastguard Worker method @NonNull public libcore.content.type.MimeMap.Builder buildUpon(); 1949*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static libcore.content.type.MimeMap.Builder builder(); 1950*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Set<java.lang.String> extensions(); 1951*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static libcore.content.type.MimeMap getDefault(); 1952*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String guessExtensionFromMimeType(@Nullable String); 1953*344a7f5eSAndroid Build Coastguard Worker method @Nullable public String guessMimeTypeFromExtension(@Nullable String); 1954*344a7f5eSAndroid Build Coastguard Worker method public boolean hasExtension(@Nullable String); 1955*344a7f5eSAndroid Build Coastguard Worker method public boolean hasMimeType(@Nullable String); 1956*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Set<java.lang.String> mimeTypes(); 1957*344a7f5eSAndroid Build Coastguard Worker method public static void setDefaultSupplier(@NonNull java.util.function.Supplier<libcore.content.type.MimeMap>); 1958*344a7f5eSAndroid Build Coastguard Worker } 1959*344a7f5eSAndroid Build Coastguard Worker 1960*344a7f5eSAndroid Build Coastguard Worker public static final class MimeMap.Builder { 1961*344a7f5eSAndroid Build Coastguard Worker method @NonNull public libcore.content.type.MimeMap.Builder addMimeMapping(@NonNull String, @NonNull java.util.List<java.lang.String>); 1962*344a7f5eSAndroid Build Coastguard Worker method @NonNull public libcore.content.type.MimeMap build(); 1963*344a7f5eSAndroid Build Coastguard Worker } 1964*344a7f5eSAndroid Build Coastguard Worker 1965*344a7f5eSAndroid Build Coastguard Worker} 1966*344a7f5eSAndroid Build Coastguard Worker 1967*344a7f5eSAndroid Build Coastguard Workerpackage libcore.io { 1968*344a7f5eSAndroid Build Coastguard Worker 1969*344a7f5eSAndroid Build Coastguard Worker public class ForwardingOs implements libcore.io.Os { 1970*344a7f5eSAndroid Build Coastguard Worker ctor protected ForwardingOs(@NonNull libcore.io.Os); 1971*344a7f5eSAndroid Build Coastguard Worker method public boolean access(@Nullable String, int) throws android.system.ErrnoException; 1972*344a7f5eSAndroid Build Coastguard Worker method public java.io.FileDescriptor open(@Nullable String, int, int) throws android.system.ErrnoException; 1973*344a7f5eSAndroid Build Coastguard Worker method public void remove(@Nullable String) throws android.system.ErrnoException; 1974*344a7f5eSAndroid Build Coastguard Worker method public void rename(@Nullable String, @Nullable String) throws android.system.ErrnoException; 1975*344a7f5eSAndroid Build Coastguard Worker method @Nullable public android.system.StructStat stat(@Nullable String) throws android.system.ErrnoException; 1976*344a7f5eSAndroid Build Coastguard Worker method public void unlink(@Nullable String) throws android.system.ErrnoException; 1977*344a7f5eSAndroid Build Coastguard Worker } 1978*344a7f5eSAndroid Build Coastguard Worker 1979*344a7f5eSAndroid Build Coastguard Worker public final class IoBridge { 1980*344a7f5eSAndroid Build Coastguard Worker method public static void closeAndSignalBlockedThreads(@NonNull java.io.FileDescriptor) throws java.io.IOException; 1981*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static java.io.FileDescriptor open(@NonNull String, int) throws java.io.FileNotFoundException; 1982*344a7f5eSAndroid Build Coastguard Worker method public static int read(@NonNull java.io.FileDescriptor, @NonNull byte[], int, int) throws java.io.IOException; 1983*344a7f5eSAndroid Build Coastguard Worker method public static void write(@NonNull java.io.FileDescriptor, @NonNull byte[], int, int) throws java.io.IOException; 1984*344a7f5eSAndroid Build Coastguard Worker } 1985*344a7f5eSAndroid Build Coastguard Worker 1986*344a7f5eSAndroid Build Coastguard Worker public final class IoUtils { 1987*344a7f5eSAndroid Build Coastguard Worker method public static int acquireRawFd(@NonNull java.io.FileDescriptor); 1988*344a7f5eSAndroid Build Coastguard Worker method public static void close(@Nullable java.io.FileDescriptor) throws java.io.IOException; 1989*344a7f5eSAndroid Build Coastguard Worker method public static void closeQuietly(@Nullable java.io.FileDescriptor); 1990*344a7f5eSAndroid Build Coastguard Worker method public static void closeQuietly(@Nullable AutoCloseable); 1991*344a7f5eSAndroid Build Coastguard Worker method public static void closeQuietly(@Nullable java.net.Socket); 1992*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static byte[] readFileAsByteArray(@NonNull String) throws java.io.IOException; 1993*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static String readFileAsString(@NonNull String) throws java.io.IOException; 1994*344a7f5eSAndroid Build Coastguard Worker method public static void setBlocking(@NonNull java.io.FileDescriptor, boolean) throws java.io.IOException; 1995*344a7f5eSAndroid Build Coastguard Worker method public static void setFdOwner(@NonNull java.io.FileDescriptor, @NonNull Object); 1996*344a7f5eSAndroid Build Coastguard Worker } 1997*344a7f5eSAndroid Build Coastguard Worker 1998*344a7f5eSAndroid Build Coastguard Worker public final class Memory { 1999*344a7f5eSAndroid Build Coastguard Worker method public static void memmove(@NonNull Object, int, @NonNull Object, int, long); 2000*344a7f5eSAndroid Build Coastguard Worker method public static int peekInt(@NonNull byte[], int, @NonNull java.nio.ByteOrder); 2001*344a7f5eSAndroid Build Coastguard Worker method public static short peekShort(@NonNull byte[], int, @NonNull java.nio.ByteOrder); 2002*344a7f5eSAndroid Build Coastguard Worker method public static void pokeInt(@NonNull byte[], int, int, @NonNull java.nio.ByteOrder); 2003*344a7f5eSAndroid Build Coastguard Worker method public static void pokeLong(@NonNull byte[], int, long, @NonNull java.nio.ByteOrder); 2004*344a7f5eSAndroid Build Coastguard Worker method public static void pokeShort(@NonNull byte[], int, short, @NonNull java.nio.ByteOrder); 2005*344a7f5eSAndroid Build Coastguard Worker } 2006*344a7f5eSAndroid Build Coastguard Worker 2007*344a7f5eSAndroid Build Coastguard Worker public interface Os { 2008*344a7f5eSAndroid Build Coastguard Worker method public static boolean compareAndSetDefault(libcore.io.Os, libcore.io.Os); 2009*344a7f5eSAndroid Build Coastguard Worker method public static libcore.io.Os getDefault(); 2010*344a7f5eSAndroid Build Coastguard Worker } 2011*344a7f5eSAndroid Build Coastguard Worker 2012*344a7f5eSAndroid Build Coastguard Worker public final class Streams { 2013*344a7f5eSAndroid Build Coastguard Worker method public static int copy(@NonNull java.io.InputStream, @NonNull java.io.OutputStream) throws java.io.IOException; 2014*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static byte[] readFully(@NonNull java.io.InputStream) throws java.io.IOException; 2015*344a7f5eSAndroid Build Coastguard Worker method public static void readFully(@NonNull java.io.InputStream, @NonNull byte[]) throws java.io.IOException; 2016*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static String readFully(@NonNull java.io.Reader) throws java.io.IOException; 2017*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static byte[] readFullyNoClose(@NonNull java.io.InputStream) throws java.io.IOException; 2018*344a7f5eSAndroid Build Coastguard Worker method public static int readSingleByte(@NonNull java.io.InputStream) throws java.io.IOException; 2019*344a7f5eSAndroid Build Coastguard Worker method public static long skipByReading(@NonNull java.io.InputStream, long) throws java.io.IOException; 2020*344a7f5eSAndroid Build Coastguard Worker method public static void writeSingleByte(@NonNull java.io.OutputStream, int) throws java.io.IOException; 2021*344a7f5eSAndroid Build Coastguard Worker } 2022*344a7f5eSAndroid Build Coastguard Worker 2023*344a7f5eSAndroid Build Coastguard Worker} 2024*344a7f5eSAndroid Build Coastguard Worker 2025*344a7f5eSAndroid Build Coastguard Workerpackage libcore.net { 2026*344a7f5eSAndroid Build Coastguard Worker 2027*344a7f5eSAndroid Build Coastguard Worker public class InetAddressUtils { 2028*344a7f5eSAndroid Build Coastguard Worker method public static boolean isNumericAddress(String); 2029*344a7f5eSAndroid Build Coastguard Worker method public static java.net.InetAddress parseNumericAddress(String); 2030*344a7f5eSAndroid Build Coastguard Worker } 2031*344a7f5eSAndroid Build Coastguard Worker 2032*344a7f5eSAndroid Build Coastguard Worker public abstract class NetworkSecurityPolicy { 2033*344a7f5eSAndroid Build Coastguard Worker ctor public NetworkSecurityPolicy(); 2034*344a7f5eSAndroid Build Coastguard Worker method public static libcore.net.NetworkSecurityPolicy getInstance(); 2035*344a7f5eSAndroid Build Coastguard Worker method public abstract boolean isCertificateTransparencyVerificationRequired(String); 2036*344a7f5eSAndroid Build Coastguard Worker method public abstract boolean isCleartextTrafficPermitted(); 2037*344a7f5eSAndroid Build Coastguard Worker method public abstract boolean isCleartextTrafficPermitted(String); 2038*344a7f5eSAndroid Build Coastguard Worker method public static void setInstance(libcore.net.NetworkSecurityPolicy); 2039*344a7f5eSAndroid Build Coastguard Worker } 2040*344a7f5eSAndroid Build Coastguard Worker 2041*344a7f5eSAndroid Build Coastguard Worker} 2042*344a7f5eSAndroid Build Coastguard Worker 2043*344a7f5eSAndroid Build Coastguard Workerpackage libcore.net.event { 2044*344a7f5eSAndroid Build Coastguard Worker 2045*344a7f5eSAndroid Build Coastguard Worker public final class NetworkEventDispatcher { 2046*344a7f5eSAndroid Build Coastguard Worker method public void dispatchNetworkConfigurationChange(); 2047*344a7f5eSAndroid Build Coastguard Worker method public static libcore.net.event.NetworkEventDispatcher getInstance(); 2048*344a7f5eSAndroid Build Coastguard Worker } 2049*344a7f5eSAndroid Build Coastguard Worker 2050*344a7f5eSAndroid Build Coastguard Worker} 2051*344a7f5eSAndroid Build Coastguard Worker 2052*344a7f5eSAndroid Build Coastguard Workerpackage libcore.net.http { 2053*344a7f5eSAndroid Build Coastguard Worker 2054*344a7f5eSAndroid Build Coastguard Worker public interface Dns { 2055*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.List<java.net.InetAddress> lookup(@Nullable String) throws java.net.UnknownHostException; 2056*344a7f5eSAndroid Build Coastguard Worker } 2057*344a7f5eSAndroid Build Coastguard Worker 2058*344a7f5eSAndroid Build Coastguard Worker public class HttpURLConnectionFactory { 2059*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static libcore.net.http.HttpURLConnectionFactory createInstance(); 2060*344a7f5eSAndroid Build Coastguard Worker method public java.net.URLConnection openConnection(@NonNull java.net.URL, @NonNull javax.net.SocketFactory, @NonNull java.net.Proxy) throws java.io.IOException; 2061*344a7f5eSAndroid Build Coastguard Worker method public void setDns(@NonNull libcore.net.http.Dns); 2062*344a7f5eSAndroid Build Coastguard Worker method public void setNewConnectionPool(int, long, @NonNull java.util.concurrent.TimeUnit); 2063*344a7f5eSAndroid Build Coastguard Worker } 2064*344a7f5eSAndroid Build Coastguard Worker 2065*344a7f5eSAndroid Build Coastguard Worker} 2066*344a7f5eSAndroid Build Coastguard Worker 2067*344a7f5eSAndroid Build Coastguard Workerpackage libcore.util { 2068*344a7f5eSAndroid Build Coastguard Worker 2069*344a7f5eSAndroid Build Coastguard Worker public final class EmptyArray { 2070*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final boolean[] BOOLEAN; 2071*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final byte[] BYTE; 2072*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final float[] FLOAT; 2073*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final int[] INT; 2074*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final long[] LONG; 2075*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final Object[] OBJECT; 2076*344a7f5eSAndroid Build Coastguard Worker field @NonNull public static final String[] STRING; 2077*344a7f5eSAndroid Build Coastguard Worker } 2078*344a7f5eSAndroid Build Coastguard Worker 2079*344a7f5eSAndroid Build Coastguard Worker public final class FP16 { 2080*344a7f5eSAndroid Build Coastguard Worker method public static short ceil(short); 2081*344a7f5eSAndroid Build Coastguard Worker method public static int compare(short, short); 2082*344a7f5eSAndroid Build Coastguard Worker method public static boolean equals(short, short); 2083*344a7f5eSAndroid Build Coastguard Worker method public static short floor(short); 2084*344a7f5eSAndroid Build Coastguard Worker method public static boolean greater(short, short); 2085*344a7f5eSAndroid Build Coastguard Worker method public static boolean greaterEquals(short, short); 2086*344a7f5eSAndroid Build Coastguard Worker method public static boolean isInfinite(short); 2087*344a7f5eSAndroid Build Coastguard Worker method public static boolean isNaN(short); 2088*344a7f5eSAndroid Build Coastguard Worker method public static boolean isNormalized(short); 2089*344a7f5eSAndroid Build Coastguard Worker method public static boolean less(short, short); 2090*344a7f5eSAndroid Build Coastguard Worker method public static boolean lessEquals(short, short); 2091*344a7f5eSAndroid Build Coastguard Worker method public static short max(short, short); 2092*344a7f5eSAndroid Build Coastguard Worker method public static short min(short, short); 2093*344a7f5eSAndroid Build Coastguard Worker method public static short rint(short); 2094*344a7f5eSAndroid Build Coastguard Worker method public static float toFloat(short); 2095*344a7f5eSAndroid Build Coastguard Worker method public static short toHalf(float); 2096*344a7f5eSAndroid Build Coastguard Worker method public static String toHexString(short); 2097*344a7f5eSAndroid Build Coastguard Worker method public static short trunc(short); 2098*344a7f5eSAndroid Build Coastguard Worker field public static final short EPSILON = 5120; // 0x1400 2099*344a7f5eSAndroid Build Coastguard Worker field public static final int EXPONENT_BIAS = 15; // 0xf 2100*344a7f5eSAndroid Build Coastguard Worker field public static final int EXPONENT_SHIFT = 10; // 0xa 2101*344a7f5eSAndroid Build Coastguard Worker field public static final int EXPONENT_SIGNIFICAND_MASK = 32767; // 0x7fff 2102*344a7f5eSAndroid Build Coastguard Worker field public static final short LOWEST_VALUE = -1025; // 0xfffffbff 2103*344a7f5eSAndroid Build Coastguard Worker field public static final int MAX_EXPONENT = 15; // 0xf 2104*344a7f5eSAndroid Build Coastguard Worker field public static final short MAX_VALUE = 31743; // 0x7bff 2105*344a7f5eSAndroid Build Coastguard Worker field public static final int MIN_EXPONENT = -14; // 0xfffffff2 2106*344a7f5eSAndroid Build Coastguard Worker field public static final short MIN_NORMAL = 1024; // 0x400 2107*344a7f5eSAndroid Build Coastguard Worker field public static final short MIN_VALUE = 1; // 0x1 2108*344a7f5eSAndroid Build Coastguard Worker field public static final short NEGATIVE_INFINITY = -1024; // 0xfffffc00 2109*344a7f5eSAndroid Build Coastguard Worker field public static final short NEGATIVE_ZERO = -32768; // 0xffff8000 2110*344a7f5eSAndroid Build Coastguard Worker field public static final short NaN = 32256; // 0x7e00 2111*344a7f5eSAndroid Build Coastguard Worker field public static final short POSITIVE_INFINITY = 31744; // 0x7c00 2112*344a7f5eSAndroid Build Coastguard Worker field public static final short POSITIVE_ZERO = 0; // 0x0 2113*344a7f5eSAndroid Build Coastguard Worker field public static final int SHIFTED_EXPONENT_MASK = 31; // 0x1f 2114*344a7f5eSAndroid Build Coastguard Worker field public static final int SIGNIFICAND_MASK = 1023; // 0x3ff 2115*344a7f5eSAndroid Build Coastguard Worker field public static final int SIGN_MASK = 32768; // 0x8000 2116*344a7f5eSAndroid Build Coastguard Worker field public static final int SIGN_SHIFT = 15; // 0xf 2117*344a7f5eSAndroid Build Coastguard Worker field public static final int SIZE = 16; // 0x10 2118*344a7f5eSAndroid Build Coastguard Worker } 2119*344a7f5eSAndroid Build Coastguard Worker 2120*344a7f5eSAndroid Build Coastguard Worker public class HexEncoding { 2121*344a7f5eSAndroid Build Coastguard Worker method public static byte[] decode(char[]) throws java.lang.IllegalArgumentException; 2122*344a7f5eSAndroid Build Coastguard Worker method public static byte[] decode(char[], boolean) throws java.lang.IllegalArgumentException; 2123*344a7f5eSAndroid Build Coastguard Worker method public static byte[] decode(String) throws java.lang.IllegalArgumentException; 2124*344a7f5eSAndroid Build Coastguard Worker method public static byte[] decode(String, boolean) throws java.lang.IllegalArgumentException; 2125*344a7f5eSAndroid Build Coastguard Worker method public static char[] encode(byte[]); 2126*344a7f5eSAndroid Build Coastguard Worker method public static char[] encode(byte[], boolean); 2127*344a7f5eSAndroid Build Coastguard Worker method public static char[] encode(byte[], int, int); 2128*344a7f5eSAndroid Build Coastguard Worker method public static String encodeToString(byte, boolean); 2129*344a7f5eSAndroid Build Coastguard Worker method public static String encodeToString(byte[]); 2130*344a7f5eSAndroid Build Coastguard Worker method public static String encodeToString(byte[], boolean); 2131*344a7f5eSAndroid Build Coastguard Worker } 2132*344a7f5eSAndroid Build Coastguard Worker 2133*344a7f5eSAndroid Build Coastguard Worker public class NativeAllocationRegistry { 2134*344a7f5eSAndroid Build Coastguard Worker ctor public NativeAllocationRegistry(@NonNull ClassLoader, long, long); 2135*344a7f5eSAndroid Build Coastguard Worker method public static void applyFreeFunction(long, long); 2136*344a7f5eSAndroid Build Coastguard Worker method public static libcore.util.NativeAllocationRegistry createMalloced(@NonNull ClassLoader, long); 2137*344a7f5eSAndroid Build Coastguard Worker method public static libcore.util.NativeAllocationRegistry createMalloced(@NonNull ClassLoader, long, long); 2138*344a7f5eSAndroid Build Coastguard Worker method public static libcore.util.NativeAllocationRegistry createNonmalloced(@NonNull ClassLoader, long, long); 2139*344a7f5eSAndroid Build Coastguard Worker method @NonNull public Runnable registerNativeAllocation(@NonNull Object, long); 2140*344a7f5eSAndroid Build Coastguard Worker } 2141*344a7f5eSAndroid Build Coastguard Worker 2142*344a7f5eSAndroid Build Coastguard Worker public class SneakyThrow { 2143*344a7f5eSAndroid Build Coastguard Worker method public static void sneakyThrow(@NonNull Throwable); 2144*344a7f5eSAndroid Build Coastguard Worker } 2145*344a7f5eSAndroid Build Coastguard Worker 2146*344a7f5eSAndroid Build Coastguard Worker public class XmlObjectFactory { 2147*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static org.xml.sax.XMLReader newXMLReader(); 2148*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static org.xmlpull.v1.XmlPullParser newXmlPullParser(); 2149*344a7f5eSAndroid Build Coastguard Worker method @NonNull public static org.xmlpull.v1.XmlSerializer newXmlSerializer(); 2150*344a7f5eSAndroid Build Coastguard Worker } 2151*344a7f5eSAndroid Build Coastguard Worker 2152*344a7f5eSAndroid Build Coastguard Worker} 2153*344a7f5eSAndroid Build Coastguard Worker 2154*344a7f5eSAndroid Build Coastguard Workerpackage org.apache.harmony.dalvik.ddmc { 2155*344a7f5eSAndroid Build Coastguard Worker 2156*344a7f5eSAndroid Build Coastguard Worker public class Chunk { 2157*344a7f5eSAndroid Build Coastguard Worker ctor public Chunk(int, byte[], int, int); 2158*344a7f5eSAndroid Build Coastguard Worker ctor public Chunk(int, java.nio.ByteBuffer); 2159*344a7f5eSAndroid Build Coastguard Worker field public int type; 2160*344a7f5eSAndroid Build Coastguard Worker } 2161*344a7f5eSAndroid Build Coastguard Worker 2162*344a7f5eSAndroid Build Coastguard Worker public abstract class ChunkHandler { 2163*344a7f5eSAndroid Build Coastguard Worker ctor public ChunkHandler(); 2164*344a7f5eSAndroid Build Coastguard Worker method public static org.apache.harmony.dalvik.ddmc.Chunk createFailChunk(int, String); 2165*344a7f5eSAndroid Build Coastguard Worker method public abstract org.apache.harmony.dalvik.ddmc.Chunk handleChunk(org.apache.harmony.dalvik.ddmc.Chunk); 2166*344a7f5eSAndroid Build Coastguard Worker method public static String name(int); 2167*344a7f5eSAndroid Build Coastguard Worker method public abstract void onConnected(); 2168*344a7f5eSAndroid Build Coastguard Worker method public abstract void onDisconnected(); 2169*344a7f5eSAndroid Build Coastguard Worker method public static int type(String); 2170*344a7f5eSAndroid Build Coastguard Worker method public static java.nio.ByteBuffer wrapChunk(org.apache.harmony.dalvik.ddmc.Chunk); 2171*344a7f5eSAndroid Build Coastguard Worker field public static final java.nio.ByteOrder CHUNK_ORDER; 2172*344a7f5eSAndroid Build Coastguard Worker } 2173*344a7f5eSAndroid Build Coastguard Worker 2174*344a7f5eSAndroid Build Coastguard Worker public final class DdmServer { 2175*344a7f5eSAndroid Build Coastguard Worker method public static void registerHandler(int, org.apache.harmony.dalvik.ddmc.ChunkHandler); 2176*344a7f5eSAndroid Build Coastguard Worker method public static void registrationComplete(); 2177*344a7f5eSAndroid Build Coastguard Worker method public static void sendChunk(org.apache.harmony.dalvik.ddmc.Chunk); 2178*344a7f5eSAndroid Build Coastguard Worker method public static org.apache.harmony.dalvik.ddmc.ChunkHandler unregisterHandler(int); 2179*344a7f5eSAndroid Build Coastguard Worker } 2180*344a7f5eSAndroid Build Coastguard Worker 2181*344a7f5eSAndroid Build Coastguard Worker public final class DdmVmInternal { 2182*344a7f5eSAndroid Build Coastguard Worker method public static void setRecentAllocationsTrackingEnabled(boolean); 2183*344a7f5eSAndroid Build Coastguard Worker method public static void setThreadNotifyEnabled(boolean); 2184*344a7f5eSAndroid Build Coastguard Worker } 2185*344a7f5eSAndroid Build Coastguard Worker 2186*344a7f5eSAndroid Build Coastguard Worker} 2187*344a7f5eSAndroid Build Coastguard Worker 2188*344a7f5eSAndroid Build Coastguard Workerpackage org.json { 2189*344a7f5eSAndroid Build Coastguard Worker 2190*344a7f5eSAndroid Build Coastguard Worker public class JSONObject { 2191*344a7f5eSAndroid Build Coastguard Worker method @NonNull public java.util.Set<java.lang.String> keySet(); 2192*344a7f5eSAndroid Build Coastguard Worker } 2193*344a7f5eSAndroid Build Coastguard Worker 2194*344a7f5eSAndroid Build Coastguard Worker} 2195*344a7f5eSAndroid Build Coastguard Worker 2196*344a7f5eSAndroid Build Coastguard Workerpackage sun.misc { 2197*344a7f5eSAndroid Build Coastguard Worker 2198*344a7f5eSAndroid Build Coastguard Worker public class Cleaner extends java.lang.ref.PhantomReference<java.lang.Object> { 2199*344a7f5eSAndroid Build Coastguard Worker method public void clean(); 2200*344a7f5eSAndroid Build Coastguard Worker method public static sun.misc.Cleaner create(Object, Runnable); 2201*344a7f5eSAndroid Build Coastguard Worker } 2202*344a7f5eSAndroid Build Coastguard Worker 2203*344a7f5eSAndroid Build Coastguard Worker public final class Unsafe { 2204*344a7f5eSAndroid Build Coastguard Worker method public int arrayBaseOffset(Class); 2205*344a7f5eSAndroid Build Coastguard Worker method public int arrayIndexScale(Class); 2206*344a7f5eSAndroid Build Coastguard Worker method public void copyMemory(long, long, long); 2207*344a7f5eSAndroid Build Coastguard Worker method public boolean getBoolean(Object, long); 2208*344a7f5eSAndroid Build Coastguard Worker method public byte getByte(Object, long); 2209*344a7f5eSAndroid Build Coastguard Worker method public byte getByte(long); 2210*344a7f5eSAndroid Build Coastguard Worker method public double getDouble(Object, long); 2211*344a7f5eSAndroid Build Coastguard Worker method public double getDouble(long); 2212*344a7f5eSAndroid Build Coastguard Worker method public float getFloat(Object, long); 2213*344a7f5eSAndroid Build Coastguard Worker method public float getFloat(long); 2214*344a7f5eSAndroid Build Coastguard Worker method public int getInt(Object, long); 2215*344a7f5eSAndroid Build Coastguard Worker method public int getInt(long); 2216*344a7f5eSAndroid Build Coastguard Worker method public long getLong(Object, long); 2217*344a7f5eSAndroid Build Coastguard Worker method public long getLong(long); 2218*344a7f5eSAndroid Build Coastguard Worker method public Object getObject(Object, long); 2219*344a7f5eSAndroid Build Coastguard Worker method public static sun.misc.Unsafe getUnsafe(); 2220*344a7f5eSAndroid Build Coastguard Worker method public long objectFieldOffset(java.lang.reflect.Field); 2221*344a7f5eSAndroid Build Coastguard Worker method public void putBoolean(Object, long, boolean); 2222*344a7f5eSAndroid Build Coastguard Worker method public void putByte(Object, long, byte); 2223*344a7f5eSAndroid Build Coastguard Worker method public void putByte(long, byte); 2224*344a7f5eSAndroid Build Coastguard Worker method public void putDouble(Object, long, double); 2225*344a7f5eSAndroid Build Coastguard Worker method public void putDouble(long, double); 2226*344a7f5eSAndroid Build Coastguard Worker method public void putFloat(Object, long, float); 2227*344a7f5eSAndroid Build Coastguard Worker method public void putFloat(long, float); 2228*344a7f5eSAndroid Build Coastguard Worker method public void putInt(Object, long, int); 2229*344a7f5eSAndroid Build Coastguard Worker method public void putInt(long, int); 2230*344a7f5eSAndroid Build Coastguard Worker method public void putLong(Object, long, long); 2231*344a7f5eSAndroid Build Coastguard Worker method public void putLong(long, long); 2232*344a7f5eSAndroid Build Coastguard Worker method public void putObject(Object, long, Object); 2233*344a7f5eSAndroid Build Coastguard Worker } 2234*344a7f5eSAndroid Build Coastguard Worker 2235*344a7f5eSAndroid Build Coastguard Worker} 2236*344a7f5eSAndroid Build Coastguard Worker 2237*344a7f5eSAndroid Build Coastguard Workerpackage sun.security.jca { 2238*344a7f5eSAndroid Build Coastguard Worker 2239*344a7f5eSAndroid Build Coastguard Worker public class Providers { 2240*344a7f5eSAndroid Build Coastguard Worker method public static Object startJarVerification(); 2241*344a7f5eSAndroid Build Coastguard Worker method public static void stopJarVerification(Object); 2242*344a7f5eSAndroid Build Coastguard Worker } 2243*344a7f5eSAndroid Build Coastguard Worker 2244*344a7f5eSAndroid Build Coastguard Worker} 2245*344a7f5eSAndroid Build Coastguard Worker 2246*344a7f5eSAndroid Build Coastguard Workerpackage sun.security.pkcs { 2247*344a7f5eSAndroid Build Coastguard Worker 2248*344a7f5eSAndroid Build Coastguard Worker public class PKCS7 { 2249*344a7f5eSAndroid Build Coastguard Worker ctor public PKCS7(byte[]) throws sun.security.pkcs.ParsingException; 2250*344a7f5eSAndroid Build Coastguard Worker ctor public PKCS7(java.io.InputStream) throws java.io.IOException, sun.security.pkcs.ParsingException; 2251*344a7f5eSAndroid Build Coastguard Worker method public java.security.cert.X509Certificate[] getCertificates(); 2252*344a7f5eSAndroid Build Coastguard Worker method public sun.security.pkcs.SignerInfo[] getSignerInfos(); 2253*344a7f5eSAndroid Build Coastguard Worker method public sun.security.pkcs.SignerInfo[] verify(byte[]) throws java.security.NoSuchAlgorithmException, java.security.SignatureException; 2254*344a7f5eSAndroid Build Coastguard Worker method public sun.security.pkcs.SignerInfo verify(sun.security.pkcs.SignerInfo, java.io.InputStream) throws java.io.IOException, java.security.NoSuchAlgorithmException, java.security.SignatureException; 2255*344a7f5eSAndroid Build Coastguard Worker } 2256*344a7f5eSAndroid Build Coastguard Worker 2257*344a7f5eSAndroid Build Coastguard Worker public class ParsingException extends java.io.IOException { 2258*344a7f5eSAndroid Build Coastguard Worker } 2259*344a7f5eSAndroid Build Coastguard Worker 2260*344a7f5eSAndroid Build Coastguard Worker public class SignerInfo { 2261*344a7f5eSAndroid Build Coastguard Worker ctor public SignerInfo(); 2262*344a7f5eSAndroid Build Coastguard Worker method public java.util.ArrayList<java.security.cert.X509Certificate> getCertificateChain(sun.security.pkcs.PKCS7) throws java.io.IOException; 2263*344a7f5eSAndroid Build Coastguard Worker } 2264*344a7f5eSAndroid Build Coastguard Worker 2265*344a7f5eSAndroid Build Coastguard Worker} 2266*344a7f5eSAndroid Build Coastguard Worker 2267*344a7f5eSAndroid Build Coastguard Workerpackage sun.security.util { 2268*344a7f5eSAndroid Build Coastguard Worker 2269*344a7f5eSAndroid Build Coastguard Worker public final class ObjectIdentifier implements java.io.Serializable { 2270*344a7f5eSAndroid Build Coastguard Worker ctor public ObjectIdentifier(String) throws java.io.IOException; 2271*344a7f5eSAndroid Build Coastguard Worker } 2272*344a7f5eSAndroid Build Coastguard Worker 2273*344a7f5eSAndroid Build Coastguard Worker} 2274*344a7f5eSAndroid Build Coastguard Worker 2275*344a7f5eSAndroid Build Coastguard Workerpackage sun.security.x509 { 2276*344a7f5eSAndroid Build Coastguard Worker 2277*344a7f5eSAndroid Build Coastguard Worker public class AlgorithmId implements java.io.Serializable { 2278*344a7f5eSAndroid Build Coastguard Worker ctor public AlgorithmId(sun.security.util.ObjectIdentifier); 2279*344a7f5eSAndroid Build Coastguard Worker method public String getName(); 2280*344a7f5eSAndroid Build Coastguard Worker } 2281*344a7f5eSAndroid Build Coastguard Worker 2282*344a7f5eSAndroid Build Coastguard Worker} 2283*344a7f5eSAndroid Build Coastguard Worker 2284