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