1// Signature format: 2.0 2package android.compat { 3 4 @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public final class Compatibility { 5 method @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public static boolean isChangeEnabled(long); 6 method @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public static void reportChange(long); 7 } 8 9 @libcore.api.CorePlatformApi @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 dalvik.annotation.compat { 23 24 @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public class VersionCodes { 25 field @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public static final int O = 26; // 0x1a 26 field @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public static final int P = 28; // 0x1c 27 field @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public static final int Q = 29; // 0x1d 28 } 29 30} 31 32package dalvik.annotation.optimization { 33 34 @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 { 35 } 36 37} 38 39package dalvik.system { 40 41 @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public final class BlockGuard { 42 method @NonNull @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public static dalvik.system.BlockGuard.Policy getThreadPolicy(); 43 } 44 45 @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public static interface BlockGuard.Policy { 46 method @libcore.api.IntraCoreApi public void onNetwork(); 47 } 48 49 @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public final class CloseGuard { 50 method @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public void close(); 51 method @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public static dalvik.system.CloseGuard get(); 52 method @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public void open(String); 53 method @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public void warnIfOpen(); 54 } 55 56} 57 58package java.net { 59 60 public class Socket implements java.io.Closeable { 61 method public java.io.FileDescriptor getFileDescriptor$(); 62 } 63 64} 65 66package java.nio.charset { 67 68 public abstract class Charset implements java.lang.Comparable<java.nio.charset.Charset> { 69 ctor @libcore.api.IntraCoreApi protected Charset(String, String[]); 70 } 71 72 public abstract class CharsetDecoder { 73 ctor protected CharsetDecoder(java.nio.charset.Charset, float, float); 74 } 75 76 public abstract class CharsetEncoder { 77 ctor protected CharsetEncoder(java.nio.charset.Charset, float, float, byte[], boolean); 78 } 79 80} 81 82package java.security.spec { 83 84 public class ECParameterSpec implements java.security.spec.AlgorithmParameterSpec { 85 method public String getCurveName(); 86 method public void setCurveName(String); 87 } 88 89} 90 91package libcore.api { 92 93 @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 { 94 } 95 96 @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 { 97 } 98 99} 100 101package libcore.io { 102 103 @libcore.api.IntraCoreApi public final class AsynchronousCloseMonitor { 104 method @libcore.api.IntraCoreApi public static void signalBlockedThreads(java.io.FileDescriptor); 105 } 106 107} 108 109package libcore.net { 110 111 @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public abstract class NetworkSecurityPolicy { 112 ctor @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public NetworkSecurityPolicy(); 113 method @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public static libcore.net.NetworkSecurityPolicy getInstance(); 114 method @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public abstract boolean isCertificateTransparencyVerificationRequired(String); 115 } 116 117} 118 119package libcore.util { 120 121 @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public class NativeAllocationRegistry { 122 method @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public static libcore.util.NativeAllocationRegistry createMalloced(ClassLoader, long); 123 method @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public Runnable registerNativeAllocation(Object, long); 124 } 125 126 @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 { 127 } 128 129 @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 { 130 } 131 132} 133 134package sun.security.util { 135 136 public interface DerEncoder { 137 method public void derEncode(java.io.OutputStream) throws java.io.IOException; 138 } 139 140} 141 142package sun.security.x509 { 143 144 public class AlgorithmId implements sun.security.util.DerEncoder java.io.Serializable { 145 method public void derEncode(java.io.OutputStream) throws java.io.IOException; 146 method public static sun.security.x509.AlgorithmId get(String) throws java.security.NoSuchAlgorithmException; 147 method public String getName(); 148 } 149 150} 151 152