1// Signature format: 2.0 2package android.compat { 3 4 @libcore.api.IntraCoreApi public final class Compatibility { 5 method @libcore.api.IntraCoreApi public static boolean isChangeEnabled(long); 6 method @libcore.api.IntraCoreApi public static void reportUnconditionalChange(long); 7 } 8 9 @libcore.api.IntraCoreApi public static final class Compatibility.ChangeConfig { 10 ctor @libcore.api.IntraCoreApi public Compatibility.ChangeConfig(@NonNull java.util.Set<java.lang.Long>, @NonNull java.util.Set<java.lang.Long>); 11 method @NonNull @libcore.api.IntraCoreApi public long[] getDisabledChangesArray(); 12 method @NonNull @libcore.api.IntraCoreApi public java.util.Set<java.lang.Long> getDisabledSet(); 13 method @NonNull @libcore.api.IntraCoreApi public long[] getEnabledChangesArray(); 14 method @NonNull @libcore.api.IntraCoreApi public java.util.Set<java.lang.Long> getEnabledSet(); 15 method @libcore.api.IntraCoreApi public boolean isEmpty(); 16 method @libcore.api.IntraCoreApi public boolean isForceDisabled(long); 17 method @libcore.api.IntraCoreApi public boolean isForceEnabled(long); 18 } 19 20} 21 22package android.system { 23 24 public final class Os { 25 method @Nullable @libcore.api.IntraCoreApi public static String realpath(@Nullable String) throws android.system.ErrnoException; 26 } 27 28} 29 30package dalvik.annotation.compat { 31 32 @libcore.api.IntraCoreApi public class VersionCodes { 33 field @libcore.api.IntraCoreApi public static final int CUR_DEVELOPMENT = 10000; // 0x2710 34 field @libcore.api.IntraCoreApi public static final int O = 26; // 0x1a 35 field @libcore.api.IntraCoreApi public static final int P = 28; // 0x1c 36 field @libcore.api.IntraCoreApi public static final int Q = 29; // 0x1d 37 field @libcore.api.IntraCoreApi public static final int R = 30; // 0x1e 38 field @libcore.api.IntraCoreApi public static final int S = 31; // 0x1f 39 field @libcore.api.IntraCoreApi public static final int S_V2 = 32; // 0x20 40 field @libcore.api.IntraCoreApi public static final int TIRAMISU = 33; // 0x21 41 field @libcore.api.IntraCoreApi public static final int UPSIDE_DOWN_CAKE = 34; // 0x22 42 field @libcore.api.IntraCoreApi public static final int VANILLA_ICE_CREAM = 35; // 0x23 43 } 44 45} 46 47package dalvik.annotation.optimization { 48 49 @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target({java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD}) @libcore.api.IntraCoreApi public @interface ReachabilitySensitive { 50 } 51 52} 53 54package dalvik.system { 55 56 @libcore.api.IntraCoreApi public final class BlockGuard { 57 method @NonNull @libcore.api.IntraCoreApi public static dalvik.system.BlockGuard.Policy getThreadPolicy(); 58 } 59 60 @libcore.api.IntraCoreApi public static interface BlockGuard.Policy { 61 method @libcore.api.IntraCoreApi public void onNetwork(); 62 } 63 64 @libcore.api.IntraCoreApi public final class CloseGuard { 65 method @libcore.api.IntraCoreApi public void close(); 66 method @libcore.api.IntraCoreApi public static dalvik.system.CloseGuard get(); 67 method @libcore.api.IntraCoreApi public void open(String); 68 method @libcore.api.IntraCoreApi public void warnIfOpen(); 69 } 70 71 @libcore.api.IntraCoreApi public final class VMRuntime { 72 method @libcore.api.IntraCoreApi public long addressOf(Object); 73 method @libcore.api.IntraCoreApi public static dalvik.system.VMRuntime getRuntime(); 74 method @libcore.api.IntraCoreApi public Object newNonMovableArray(Class<?>, int); 75 } 76 77} 78 79package java.net { 80 81 public class Socket implements java.io.Closeable { 82 method @libcore.api.IntraCoreApi public java.io.FileDescriptor getFileDescriptor$(); 83 } 84 85} 86 87package java.nio.charset { 88 89 public abstract class CharsetEncoder { 90 ctor @libcore.api.IntraCoreApi protected CharsetEncoder(java.nio.charset.Charset, float, float, byte[], boolean); 91 } 92 93} 94 95package java.security.spec { 96 97 public class ECParameterSpec implements java.security.spec.AlgorithmParameterSpec { 98 method @libcore.api.IntraCoreApi public String getCurveName(); 99 method @libcore.api.IntraCoreApi public void setCurveName(String); 100 } 101 102} 103 104package libcore.api { 105 106 @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target({java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.CONSTRUCTOR, java.lang.annotation.ElementType.ANNOTATION_TYPE}) @libcore.api.IntraCoreApi public @interface CorePlatformApi { 107 method @libcore.api.IntraCoreApi public abstract libcore.api.CorePlatformApi.Status status() default libcore.api.CorePlatformApi.Status.LEGACY_ONLY; 108 } 109 110 @libcore.api.IntraCoreApi public enum CorePlatformApi.Status { 111 enum_constant @libcore.api.IntraCoreApi public static final libcore.api.CorePlatformApi.Status LEGACY_ONLY; 112 enum_constant @libcore.api.IntraCoreApi public static final libcore.api.CorePlatformApi.Status STABLE; 113 } 114 115 @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target({java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.CONSTRUCTOR, java.lang.annotation.ElementType.ANNOTATION_TYPE}) @libcore.api.IntraCoreApi public @interface IntraCoreApi { 116 } 117 118} 119 120package libcore.io { 121 122 @libcore.api.IntraCoreApi public final class AsynchronousCloseMonitor { 123 method @libcore.api.IntraCoreApi public static void signalBlockedThreads(java.io.FileDescriptor); 124 } 125 126} 127 128package libcore.net { 129 130 @libcore.api.IntraCoreApi public abstract class NetworkSecurityPolicy { 131 method @libcore.api.IntraCoreApi public static libcore.net.NetworkSecurityPolicy getInstance(); 132 method @libcore.api.IntraCoreApi public abstract boolean isCertificateTransparencyVerificationRequired(String); 133 } 134 135} 136 137package libcore.util { 138 139 @libcore.api.IntraCoreApi public class NativeAllocationRegistry { 140 method @libcore.api.IntraCoreApi public static libcore.util.NativeAllocationRegistry createMalloced(@NonNull ClassLoader, long); 141 method @NonNull @libcore.api.IntraCoreApi public Runnable registerNativeAllocation(@NonNull Object, long); 142 } 143 144 @java.lang.annotation.Documented @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target({java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PARAMETER, java.lang.annotation.ElementType.TYPE_USE}) @libcore.api.IntraCoreApi public @interface NonNull { 145 } 146 147 @java.lang.annotation.Documented @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) @java.lang.annotation.Target({java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PARAMETER, java.lang.annotation.ElementType.TYPE_USE}) @libcore.api.IntraCoreApi public @interface Nullable { 148 } 149 150} 151 152package sun.security.util { 153 154 @libcore.api.IntraCoreApi public interface DerEncoder { 155 method @libcore.api.IntraCoreApi public void derEncode(java.io.OutputStream) throws java.io.IOException; 156 } 157 158} 159 160package sun.security.x509 { 161 162 @libcore.api.IntraCoreApi public class AlgorithmId implements sun.security.util.DerEncoder java.io.Serializable { 163 method @libcore.api.IntraCoreApi public void derEncode(java.io.OutputStream) throws java.io.IOException; 164 method @libcore.api.IntraCoreApi public static sun.security.x509.AlgorithmId get(String) throws java.security.NoSuchAlgorithmException; 165 method @libcore.api.IntraCoreApi public String getName(); 166 } 167 168} 169 170