xref: /aosp_15_r20/prebuilts/sdk/extensions/7/module-lib/api/art.txt (revision 344a7f5ef16c479e7a7f54ee6567a9d112f9e72b)
1*344a7f5eSAndroid Build Coastguard Worker// Signature format: 2.0
2*344a7f5eSAndroid Build Coastguard Workerpackage android.compat {
3*344a7f5eSAndroid Build Coastguard Worker
4*344a7f5eSAndroid Build Coastguard Worker  public final class Compatibility {
5*344a7f5eSAndroid Build Coastguard Worker    method public static void clearBehaviorChangeDelegate();
6*344a7f5eSAndroid Build Coastguard Worker    method public static void clearOverrides();
7*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isChangeEnabled(long);
8*344a7f5eSAndroid Build Coastguard Worker    method public static void reportUnconditionalChange(long);
9*344a7f5eSAndroid Build Coastguard Worker    method public static void setBehaviorChangeDelegate(android.compat.Compatibility.BehaviorChangeDelegate);
10*344a7f5eSAndroid Build Coastguard Worker    method public static void setOverrides(android.compat.Compatibility.ChangeConfig);
11*344a7f5eSAndroid Build Coastguard Worker  }
12*344a7f5eSAndroid Build Coastguard Worker
13*344a7f5eSAndroid Build Coastguard Worker  public static interface Compatibility.BehaviorChangeDelegate {
14*344a7f5eSAndroid Build Coastguard Worker    method public default boolean isChangeEnabled(long);
15*344a7f5eSAndroid Build Coastguard Worker    method public default void onChangeReported(long);
16*344a7f5eSAndroid Build Coastguard Worker  }
17*344a7f5eSAndroid Build Coastguard Worker
18*344a7f5eSAndroid Build Coastguard Worker  public static final class Compatibility.ChangeConfig {
19*344a7f5eSAndroid Build Coastguard Worker    ctor public Compatibility.ChangeConfig(@NonNull java.util.Set<java.lang.Long>, @NonNull java.util.Set<java.lang.Long>);
20*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public long[] getDisabledChangesArray();
21*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Set<java.lang.Long> getDisabledSet();
22*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public long[] getEnabledChangesArray();
23*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Set<java.lang.Long> getEnabledSet();
24*344a7f5eSAndroid Build Coastguard Worker    method public boolean isEmpty();
25*344a7f5eSAndroid Build Coastguard Worker    method public boolean isForceDisabled(long);
26*344a7f5eSAndroid Build Coastguard Worker    method public boolean isForceEnabled(long);
27*344a7f5eSAndroid Build Coastguard Worker  }
28*344a7f5eSAndroid Build Coastguard Worker
29*344a7f5eSAndroid Build Coastguard Worker}
30*344a7f5eSAndroid Build Coastguard Worker
31*344a7f5eSAndroid Build Coastguard Workerpackage android.system {
32*344a7f5eSAndroid Build Coastguard Worker
33*344a7f5eSAndroid Build Coastguard Worker  public final class NetlinkSocketAddress extends java.net.SocketAddress {
34*344a7f5eSAndroid Build Coastguard Worker    ctor public NetlinkSocketAddress(int, int);
35*344a7f5eSAndroid Build Coastguard Worker    method public int getGroupsMask();
36*344a7f5eSAndroid Build Coastguard Worker    method public int getPortId();
37*344a7f5eSAndroid Build Coastguard Worker  }
38*344a7f5eSAndroid Build Coastguard Worker
39*344a7f5eSAndroid Build Coastguard Worker  public final class Os {
40*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static android.system.StructCapUserData[] capget(@NonNull android.system.StructCapUserHeader) throws android.system.ErrnoException;
41*344a7f5eSAndroid Build Coastguard Worker    method public static void capset(@NonNull android.system.StructCapUserHeader, @NonNull android.system.StructCapUserData[]) throws android.system.ErrnoException;
42*344a7f5eSAndroid Build Coastguard Worker    method public static int getpgid(int) throws android.system.ErrnoException;
43*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static android.system.StructRlimit getrlimit(int) throws android.system.ErrnoException;
44*344a7f5eSAndroid Build Coastguard Worker    method public static int getsockoptInt(@NonNull java.io.FileDescriptor, int, int) throws android.system.ErrnoException;
45*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static android.system.StructLinger getsockoptLinger(@NonNull java.io.FileDescriptor, int, int) throws android.system.ErrnoException;
46*344a7f5eSAndroid Build Coastguard Worker    method public static int ioctlInt(@NonNull java.io.FileDescriptor, int) throws android.system.ErrnoException;
47*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static java.io.FileDescriptor[] pipe2(int) throws android.system.ErrnoException;
48*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static String realpath(@Nullable String) throws android.system.ErrnoException;
49*344a7f5eSAndroid Build Coastguard Worker    method public static void setpgid(int, int) throws android.system.ErrnoException;
50*344a7f5eSAndroid Build Coastguard Worker    method public static void setregid(int, int) throws android.system.ErrnoException;
51*344a7f5eSAndroid Build Coastguard Worker    method public static void setreuid(int, int) throws android.system.ErrnoException;
52*344a7f5eSAndroid Build Coastguard Worker    method public static void setsockoptIfreq(@NonNull java.io.FileDescriptor, int, int, @Nullable String) throws android.system.ErrnoException;
53*344a7f5eSAndroid Build Coastguard Worker    method public static void setsockoptLinger(@NonNull java.io.FileDescriptor, int, int, @NonNull android.system.StructLinger) throws android.system.ErrnoException;
54*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;
55*344a7f5eSAndroid Build Coastguard Worker    method public static void unlink(@Nullable String) throws android.system.ErrnoException;
56*344a7f5eSAndroid Build Coastguard Worker  }
57*344a7f5eSAndroid Build Coastguard Worker
58*344a7f5eSAndroid Build Coastguard Worker  public final class OsConstants {
59*344a7f5eSAndroid Build Coastguard Worker    method public static int CAP_TO_INDEX(int);
60*344a7f5eSAndroid Build Coastguard Worker    method public static int CAP_TO_MASK(int);
61*344a7f5eSAndroid Build Coastguard Worker    field public static final int ARPHRD_LOOPBACK;
62*344a7f5eSAndroid Build Coastguard Worker    field public static final int EUSERS;
63*344a7f5eSAndroid Build Coastguard Worker    field public static final int MAP_POPULATE;
64*344a7f5eSAndroid Build Coastguard Worker    field public static final int O_DIRECT;
65*344a7f5eSAndroid Build Coastguard Worker    field public static final int PR_CAP_AMBIENT;
66*344a7f5eSAndroid Build Coastguard Worker    field public static final int PR_CAP_AMBIENT_RAISE;
67*344a7f5eSAndroid Build Coastguard Worker    field public static final int RLIMIT_NOFILE;
68*344a7f5eSAndroid Build Coastguard Worker    field public static final int RTMGRP_IPV4_IFADDR;
69*344a7f5eSAndroid Build Coastguard Worker    field public static final int SPLICE_F_MORE;
70*344a7f5eSAndroid Build Coastguard Worker    field public static final int SPLICE_F_MOVE;
71*344a7f5eSAndroid Build Coastguard Worker    field public static final int TIOCOUTQ;
72*344a7f5eSAndroid Build Coastguard Worker    field public static final int UDP_ENCAP;
73*344a7f5eSAndroid Build Coastguard Worker    field public static final int UDP_ENCAP_ESPINUDP;
74*344a7f5eSAndroid Build Coastguard Worker    field public static final int XATTR_CREATE;
75*344a7f5eSAndroid Build Coastguard Worker    field public static final int XATTR_REPLACE;
76*344a7f5eSAndroid Build Coastguard Worker    field public static final int _LINUX_CAPABILITY_VERSION_3;
77*344a7f5eSAndroid Build Coastguard Worker  }
78*344a7f5eSAndroid Build Coastguard Worker
79*344a7f5eSAndroid Build Coastguard Worker  public final class PacketSocketAddress extends java.net.SocketAddress {
80*344a7f5eSAndroid Build Coastguard Worker    ctor public PacketSocketAddress(int, int, byte[]);
81*344a7f5eSAndroid Build Coastguard Worker  }
82*344a7f5eSAndroid Build Coastguard Worker
83*344a7f5eSAndroid Build Coastguard Worker  public final class StructCapUserData {
84*344a7f5eSAndroid Build Coastguard Worker    ctor public StructCapUserData(int, int, int);
85*344a7f5eSAndroid Build Coastguard Worker    field public final int effective;
86*344a7f5eSAndroid Build Coastguard Worker    field public final int inheritable;
87*344a7f5eSAndroid Build Coastguard Worker    field public final int permitted;
88*344a7f5eSAndroid Build Coastguard Worker  }
89*344a7f5eSAndroid Build Coastguard Worker
90*344a7f5eSAndroid Build Coastguard Worker  public final class StructCapUserHeader {
91*344a7f5eSAndroid Build Coastguard Worker    ctor public StructCapUserHeader(int, int);
92*344a7f5eSAndroid Build Coastguard Worker  }
93*344a7f5eSAndroid Build Coastguard Worker
94*344a7f5eSAndroid Build Coastguard Worker  public final class StructLinger {
95*344a7f5eSAndroid Build Coastguard Worker    ctor public StructLinger(int, int);
96*344a7f5eSAndroid Build Coastguard Worker    method public boolean isOn();
97*344a7f5eSAndroid Build Coastguard Worker    field public final int l_linger;
98*344a7f5eSAndroid Build Coastguard Worker  }
99*344a7f5eSAndroid Build Coastguard Worker
100*344a7f5eSAndroid Build Coastguard Worker  public final class StructRlimit {
101*344a7f5eSAndroid Build Coastguard Worker    field public final long rlim_cur;
102*344a7f5eSAndroid Build Coastguard Worker  }
103*344a7f5eSAndroid Build Coastguard Worker
104*344a7f5eSAndroid Build Coastguard Worker  public final class UnixSocketAddress extends java.net.SocketAddress {
105*344a7f5eSAndroid Build Coastguard Worker    method public static android.system.UnixSocketAddress createFileSystem(String);
106*344a7f5eSAndroid Build Coastguard Worker  }
107*344a7f5eSAndroid Build Coastguard Worker
108*344a7f5eSAndroid Build Coastguard Worker}
109*344a7f5eSAndroid Build Coastguard Worker
110*344a7f5eSAndroid Build Coastguard Workerpackage com.android.okhttp.internalandroidapi {
111*344a7f5eSAndroid Build Coastguard Worker
112*344a7f5eSAndroid Build Coastguard Worker  public final class AndroidResponseCacheAdapter {
113*344a7f5eSAndroid Build Coastguard Worker    ctor public AndroidResponseCacheAdapter(@NonNull com.android.okhttp.internalandroidapi.HasCacheHolder.CacheHolder);
114*344a7f5eSAndroid Build Coastguard Worker    method public void close() throws java.io.IOException;
115*344a7f5eSAndroid Build Coastguard Worker    method public void delete() throws java.io.IOException;
116*344a7f5eSAndroid Build Coastguard Worker    method public void flush() throws java.io.IOException;
117*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;
118*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public com.android.okhttp.internalandroidapi.HasCacheHolder.CacheHolder getCacheHolder();
119*344a7f5eSAndroid Build Coastguard Worker    method public int getHitCount();
120*344a7f5eSAndroid Build Coastguard Worker    method public long getMaxSize();
121*344a7f5eSAndroid Build Coastguard Worker    method public int getNetworkCount();
122*344a7f5eSAndroid Build Coastguard Worker    method public int getRequestCount();
123*344a7f5eSAndroid Build Coastguard Worker    method public long getSize() throws java.io.IOException;
124*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public java.net.CacheRequest put(@NonNull java.net.URI, @NonNull java.net.URLConnection) throws java.io.IOException;
125*344a7f5eSAndroid Build Coastguard Worker  }
126*344a7f5eSAndroid Build Coastguard Worker
127*344a7f5eSAndroid Build Coastguard Worker  public interface HasCacheHolder {
128*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public com.android.okhttp.internalandroidapi.HasCacheHolder.CacheHolder getCacheHolder();
129*344a7f5eSAndroid Build Coastguard Worker  }
130*344a7f5eSAndroid Build Coastguard Worker
131*344a7f5eSAndroid Build Coastguard Worker  public static final class HasCacheHolder.CacheHolder {
132*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static com.android.okhttp.internalandroidapi.HasCacheHolder.CacheHolder create(@NonNull java.io.File, long);
133*344a7f5eSAndroid Build Coastguard Worker    method public boolean isEquivalent(@NonNull java.io.File, long);
134*344a7f5eSAndroid Build Coastguard Worker  }
135*344a7f5eSAndroid Build Coastguard Worker
136*344a7f5eSAndroid Build Coastguard Worker}
137*344a7f5eSAndroid Build Coastguard Worker
138*344a7f5eSAndroid Build Coastguard Workerpackage dalvik.annotation.codegen {
139*344a7f5eSAndroid Build Coastguard Worker
140*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 {
141*344a7f5eSAndroid Build Coastguard Worker    method public abstract int presentAfter();
142*344a7f5eSAndroid Build Coastguard Worker    method public abstract Class<?> returnType();
143*344a7f5eSAndroid Build Coastguard Worker  }
144*344a7f5eSAndroid Build Coastguard Worker
145*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 {
146*344a7f5eSAndroid Build Coastguard Worker    method public abstract dalvik.annotation.codegen.CovariantReturnType[] value();
147*344a7f5eSAndroid Build Coastguard Worker  }
148*344a7f5eSAndroid Build Coastguard Worker
149*344a7f5eSAndroid Build Coastguard Worker}
150*344a7f5eSAndroid Build Coastguard Worker
151*344a7f5eSAndroid Build Coastguard Workerpackage dalvik.annotation.optimization {
152*344a7f5eSAndroid Build Coastguard Worker
153*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 {
154*344a7f5eSAndroid Build Coastguard Worker  }
155*344a7f5eSAndroid Build Coastguard Worker
156*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 {
157*344a7f5eSAndroid Build Coastguard Worker  }
158*344a7f5eSAndroid Build Coastguard Worker
159*344a7f5eSAndroid Build Coastguard Worker}
160*344a7f5eSAndroid Build Coastguard Worker
161*344a7f5eSAndroid Build Coastguard Workerpackage dalvik.system {
162*344a7f5eSAndroid Build Coastguard Worker
163*344a7f5eSAndroid Build Coastguard Worker  public final class AnnotatedStackTraceElement {
164*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public Object getBlockedOn();
165*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public Object[] getHeldLocks();
166*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public StackTraceElement getStackTraceElement();
167*344a7f5eSAndroid Build Coastguard Worker  }
168*344a7f5eSAndroid Build Coastguard Worker
169*344a7f5eSAndroid Build Coastguard Worker  public class AppSpecializationHooks {
170*344a7f5eSAndroid Build Coastguard Worker    method public static void handleCompatChangesBeforeBindingApplication();
171*344a7f5eSAndroid Build Coastguard Worker  }
172*344a7f5eSAndroid Build Coastguard Worker
173*344a7f5eSAndroid Build Coastguard Worker  public class BaseDexClassLoader extends java.lang.ClassLoader {
174*344a7f5eSAndroid Build Coastguard Worker    method public void addDexPath(@Nullable String);
175*344a7f5eSAndroid Build Coastguard Worker    method public void addNativePath(@NonNull java.util.Collection<java.lang.String>);
176*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getLdLibraryPath();
177*344a7f5eSAndroid Build Coastguard Worker    method public void reportClassLoaderChain();
178*344a7f5eSAndroid Build Coastguard Worker    method public static void setReporter(@Nullable dalvik.system.BaseDexClassLoader.Reporter);
179*344a7f5eSAndroid Build Coastguard Worker  }
180*344a7f5eSAndroid Build Coastguard Worker
181*344a7f5eSAndroid Build Coastguard Worker  public static interface BaseDexClassLoader.Reporter {
182*344a7f5eSAndroid Build Coastguard Worker    method public void report(@NonNull java.util.Map<java.lang.String,java.lang.String>);
183*344a7f5eSAndroid Build Coastguard Worker  }
184*344a7f5eSAndroid Build Coastguard Worker
185*344a7f5eSAndroid Build Coastguard Worker  public final class BlockGuard {
186*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static dalvik.system.BlockGuard.Policy getThreadPolicy();
187*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static dalvik.system.BlockGuard.VmPolicy getVmPolicy();
188*344a7f5eSAndroid Build Coastguard Worker    method public static void setThreadPolicy(@NonNull dalvik.system.BlockGuard.Policy);
189*344a7f5eSAndroid Build Coastguard Worker    method public static void setVmPolicy(@NonNull dalvik.system.BlockGuard.VmPolicy);
190*344a7f5eSAndroid Build Coastguard Worker    field public static final dalvik.system.BlockGuard.Policy LAX_POLICY;
191*344a7f5eSAndroid Build Coastguard Worker    field public static final dalvik.system.BlockGuard.VmPolicy LAX_VM_POLICY;
192*344a7f5eSAndroid Build Coastguard Worker  }
193*344a7f5eSAndroid Build Coastguard Worker
194*344a7f5eSAndroid Build Coastguard Worker  public static interface BlockGuard.Policy {
195*344a7f5eSAndroid Build Coastguard Worker    method public int getPolicyMask();
196*344a7f5eSAndroid Build Coastguard Worker    method public void onReadFromDisk();
197*344a7f5eSAndroid Build Coastguard Worker    method public void onUnbufferedIO();
198*344a7f5eSAndroid Build Coastguard Worker    method public void onWriteToDisk();
199*344a7f5eSAndroid Build Coastguard Worker  }
200*344a7f5eSAndroid Build Coastguard Worker
201*344a7f5eSAndroid Build Coastguard Worker  public static interface BlockGuard.VmPolicy {
202*344a7f5eSAndroid Build Coastguard Worker    method public void onPathAccess(@NonNull String);
203*344a7f5eSAndroid Build Coastguard Worker  }
204*344a7f5eSAndroid Build Coastguard Worker
205*344a7f5eSAndroid Build Coastguard Worker  public final class CloseGuard {
206*344a7f5eSAndroid Build Coastguard Worker    method public void close();
207*344a7f5eSAndroid Build Coastguard Worker    method public static dalvik.system.CloseGuard get();
208*344a7f5eSAndroid Build Coastguard Worker    method public static dalvik.system.CloseGuard.Reporter getReporter();
209*344a7f5eSAndroid Build Coastguard Worker    method public void open(String);
210*344a7f5eSAndroid Build Coastguard Worker    method public void openWithCallSite(String, String);
211*344a7f5eSAndroid Build Coastguard Worker    method public static void setEnabled(boolean);
212*344a7f5eSAndroid Build Coastguard Worker    method public static void setReporter(dalvik.system.CloseGuard.Reporter);
213*344a7f5eSAndroid Build Coastguard Worker    method public void warnIfOpen();
214*344a7f5eSAndroid Build Coastguard Worker  }
215*344a7f5eSAndroid Build Coastguard Worker
216*344a7f5eSAndroid Build Coastguard Worker  public static interface CloseGuard.Reporter {
217*344a7f5eSAndroid Build Coastguard Worker    method public void report(String, Throwable);
218*344a7f5eSAndroid Build Coastguard Worker    method public default void report(String);
219*344a7f5eSAndroid Build Coastguard Worker  }
220*344a7f5eSAndroid Build Coastguard Worker
221*344a7f5eSAndroid Build Coastguard Worker  public final class DelegateLastClassLoader extends dalvik.system.PathClassLoader {
222*344a7f5eSAndroid Build Coastguard Worker    ctor public DelegateLastClassLoader(String, String, ClassLoader, ClassLoader[]);
223*344a7f5eSAndroid Build Coastguard Worker    ctor public DelegateLastClassLoader(String, String, ClassLoader, ClassLoader[], ClassLoader[]);
224*344a7f5eSAndroid Build Coastguard Worker  }
225*344a7f5eSAndroid Build Coastguard Worker
226*344a7f5eSAndroid Build Coastguard Worker  public final class DexFile {
227*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public static dalvik.system.DexFile.OptimizationInfo getDexFileOptimizationInfo(@NonNull String, @NonNull String) throws java.io.FileNotFoundException;
228*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static String[] getDexFileOutputPaths(@NonNull String, @NonNull String) throws java.io.FileNotFoundException;
229*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;
230*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static String getSafeModeCompilerFilter(@NonNull String);
231*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isOptimizedCompilerFilter(@NonNull String);
232*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isProfileGuidedCompilerFilter(@NonNull String);
233*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isValidCompilerFilter(@NonNull String);
234*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isVerifiedCompilerFilter(@NonNull String);
235*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int DEX2OAT_FOR_FILTER = 3; // 0x3
236*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int NO_DEXOPT_NEEDED = 0; // 0x0
237*344a7f5eSAndroid Build Coastguard Worker  }
238*344a7f5eSAndroid Build Coastguard Worker
239*344a7f5eSAndroid Build Coastguard Worker  public static final class DexFile.OptimizationInfo {
240*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getReason();
241*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getStatus();
242*344a7f5eSAndroid Build Coastguard Worker  }
243*344a7f5eSAndroid Build Coastguard Worker
244*344a7f5eSAndroid Build Coastguard Worker  public class PathClassLoader extends dalvik.system.BaseDexClassLoader {
245*344a7f5eSAndroid Build Coastguard Worker    ctor public PathClassLoader(@NonNull String, @Nullable String, @Nullable ClassLoader, @Nullable ClassLoader[]);
246*344a7f5eSAndroid Build Coastguard Worker    ctor public PathClassLoader(@NonNull String, @Nullable String, @Nullable ClassLoader, @Nullable ClassLoader[], @Nullable ClassLoader[]);
247*344a7f5eSAndroid Build Coastguard Worker  }
248*344a7f5eSAndroid Build Coastguard Worker
249*344a7f5eSAndroid Build Coastguard Worker  public final class RuntimeHooks {
250*344a7f5eSAndroid Build Coastguard Worker    method public static void setTimeZoneIdSupplier(@NonNull java.util.function.Supplier<java.lang.String>);
251*344a7f5eSAndroid Build Coastguard Worker    method public static void setUncaughtExceptionPreHandler(@Nullable java.lang.Thread.UncaughtExceptionHandler);
252*344a7f5eSAndroid Build Coastguard Worker  }
253*344a7f5eSAndroid Build Coastguard Worker
254*344a7f5eSAndroid Build Coastguard Worker  public abstract class SocketTagger {
255*344a7f5eSAndroid Build Coastguard Worker    ctor public SocketTagger();
256*344a7f5eSAndroid Build Coastguard Worker    method public static dalvik.system.SocketTagger get();
257*344a7f5eSAndroid Build Coastguard Worker    method public static void set(dalvik.system.SocketTagger);
258*344a7f5eSAndroid Build Coastguard Worker    method public abstract void tag(java.io.FileDescriptor) throws java.net.SocketException;
259*344a7f5eSAndroid Build Coastguard Worker    method public final void tag(java.net.Socket) throws java.net.SocketException;
260*344a7f5eSAndroid Build Coastguard Worker    method public final void tag(java.net.DatagramSocket) throws java.net.SocketException;
261*344a7f5eSAndroid Build Coastguard Worker    method public abstract void untag(java.io.FileDescriptor) throws java.net.SocketException;
262*344a7f5eSAndroid Build Coastguard Worker    method public final void untag(java.net.Socket) throws java.net.SocketException;
263*344a7f5eSAndroid Build Coastguard Worker    method public final void untag(java.net.DatagramSocket) throws java.net.SocketException;
264*344a7f5eSAndroid Build Coastguard Worker  }
265*344a7f5eSAndroid Build Coastguard Worker
266*344a7f5eSAndroid Build Coastguard Worker  public final class VMDebug {
267*344a7f5eSAndroid Build Coastguard Worker    method public static void attachAgent(String, ClassLoader) throws java.io.IOException;
268*344a7f5eSAndroid Build Coastguard Worker    method public static long countInstancesOfClass(Class, boolean);
269*344a7f5eSAndroid Build Coastguard Worker    method public static long[] countInstancesOfClasses(Class[], boolean);
270*344a7f5eSAndroid Build Coastguard Worker    method public static void dumpHprofData(String) throws java.io.IOException;
271*344a7f5eSAndroid Build Coastguard Worker    method public static void dumpHprofData(String, java.io.FileDescriptor) throws java.io.IOException;
272*344a7f5eSAndroid Build Coastguard Worker    method public static void dumpHprofDataDdms();
273*344a7f5eSAndroid Build Coastguard Worker    method public static void dumpReferenceTables();
274*344a7f5eSAndroid Build Coastguard Worker    method public static int getAllocCount(int);
275*344a7f5eSAndroid Build Coastguard Worker    method public static int getLoadedClassCount();
276*344a7f5eSAndroid Build Coastguard Worker    method public static int getMethodTracingMode();
277*344a7f5eSAndroid Build Coastguard Worker    method public static String getRuntimeStat(String);
278*344a7f5eSAndroid Build Coastguard Worker    method public static java.util.Map<java.lang.String,java.lang.String> getRuntimeStats();
279*344a7f5eSAndroid Build Coastguard Worker    method public static String[] getVmFeatureList();
280*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isDebuggerConnected();
281*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isDebuggingEnabled();
282*344a7f5eSAndroid Build Coastguard Worker    method public static long lastDebuggerActivity();
283*344a7f5eSAndroid Build Coastguard Worker    method public static void printLoadedClasses(int);
284*344a7f5eSAndroid Build Coastguard Worker    method public static void resetAllocCount(int);
285*344a7f5eSAndroid Build Coastguard Worker    method public static void setAllocTrackerStackDepth(int);
286*344a7f5eSAndroid Build Coastguard Worker    method public static void startAllocCounting();
287*344a7f5eSAndroid Build Coastguard Worker    method public static void startMethodTracing(String, int, int, boolean, int);
288*344a7f5eSAndroid Build Coastguard Worker    method public static void startMethodTracing(String, java.io.FileDescriptor, int, int, boolean, int, boolean);
289*344a7f5eSAndroid Build Coastguard Worker    method public static void startMethodTracingDdms(int, int, boolean, int);
290*344a7f5eSAndroid Build Coastguard Worker    method public static void stopAllocCounting();
291*344a7f5eSAndroid Build Coastguard Worker    method public static void stopMethodTracing();
292*344a7f5eSAndroid Build Coastguard Worker    method public static void suspendAllAndSendVmStart();
293*344a7f5eSAndroid Build Coastguard Worker    method public static long threadCpuTimeNanos();
294*344a7f5eSAndroid Build Coastguard Worker    field public static final int KIND_ALL_COUNTS = -1; // 0xffffffff
295*344a7f5eSAndroid Build Coastguard Worker    field public static final int KIND_GLOBAL_ALLOCATED_BYTES = 2; // 0x2
296*344a7f5eSAndroid Build Coastguard Worker    field public static final int KIND_GLOBAL_ALLOCATED_OBJECTS = 1; // 0x1
297*344a7f5eSAndroid Build Coastguard Worker    field public static final int KIND_GLOBAL_CLASS_INIT_COUNT = 32; // 0x20
298*344a7f5eSAndroid Build Coastguard Worker    field public static final int KIND_GLOBAL_CLASS_INIT_TIME = 64; // 0x40
299*344a7f5eSAndroid Build Coastguard Worker    field public static final int KIND_GLOBAL_FREED_BYTES = 8; // 0x8
300*344a7f5eSAndroid Build Coastguard Worker    field public static final int KIND_GLOBAL_FREED_OBJECTS = 4; // 0x4
301*344a7f5eSAndroid Build Coastguard Worker    field public static final int KIND_GLOBAL_GC_INVOCATIONS = 16; // 0x10
302*344a7f5eSAndroid Build Coastguard Worker    field public static final int KIND_THREAD_ALLOCATED_BYTES = 131072; // 0x20000
303*344a7f5eSAndroid Build Coastguard Worker    field public static final int KIND_THREAD_ALLOCATED_OBJECTS = 65536; // 0x10000
304*344a7f5eSAndroid Build Coastguard Worker    field public static final int KIND_THREAD_GC_INVOCATIONS = 1048576; // 0x100000
305*344a7f5eSAndroid Build Coastguard Worker    field public static final int TRACE_COUNT_ALLOCS = 1; // 0x1
306*344a7f5eSAndroid Build Coastguard Worker  }
307*344a7f5eSAndroid Build Coastguard Worker
308*344a7f5eSAndroid Build Coastguard Worker  public final class VMRuntime {
309*344a7f5eSAndroid Build Coastguard Worker    method public long addressOf(Object);
310*344a7f5eSAndroid Build Coastguard Worker    method public static void bootCompleted();
311*344a7f5eSAndroid Build Coastguard Worker    method public void clampGrowthLimit();
312*344a7f5eSAndroid Build Coastguard Worker    method public void clearGrowthLimit();
313*344a7f5eSAndroid Build Coastguard Worker    method public static String getCurrentInstructionSet();
314*344a7f5eSAndroid Build Coastguard Worker    method public static String getInstructionSet(String);
315*344a7f5eSAndroid Build Coastguard Worker    method public static dalvik.system.VMRuntime getRuntime();
316*344a7f5eSAndroid Build Coastguard Worker    method public int getTargetSdkVersion();
317*344a7f5eSAndroid Build Coastguard Worker    method public boolean is64Bit();
318*344a7f5eSAndroid Build Coastguard Worker    method public static boolean is64BitAbi(String);
319*344a7f5eSAndroid Build Coastguard Worker    method public static boolean is64BitInstructionSet(String);
320*344a7f5eSAndroid Build Coastguard Worker    method public boolean isCheckJniEnabled();
321*344a7f5eSAndroid Build Coastguard Worker    method public boolean isNativeDebuggable();
322*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isValidClassLoaderContext(String);
323*344a7f5eSAndroid Build Coastguard Worker    method public Object newNonMovableArray(Class<?>, int);
324*344a7f5eSAndroid Build Coastguard Worker    method public Object newUnpaddedArray(Class<?>, int);
325*344a7f5eSAndroid Build Coastguard Worker    method public void notifyStartupCompleted();
326*344a7f5eSAndroid Build Coastguard Worker    method public void preloadDexCaches();
327*344a7f5eSAndroid Build Coastguard Worker    method public static void registerAppInfo(String, String, String, String[], int);
328*344a7f5eSAndroid Build Coastguard Worker    method public void registerNativeAllocation(long);
329*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void registerNativeAllocation(int);
330*344a7f5eSAndroid Build Coastguard Worker    method public void registerNativeFree(long);
331*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void registerNativeFree(int);
332*344a7f5eSAndroid Build Coastguard Worker    method public static void registerSensitiveThread();
333*344a7f5eSAndroid Build Coastguard Worker    method public void requestConcurrentGC();
334*344a7f5eSAndroid Build Coastguard Worker    method public static void resetJitCounters();
335*344a7f5eSAndroid Build Coastguard Worker    method public static void setDedupeHiddenApiWarnings(boolean);
336*344a7f5eSAndroid Build Coastguard Worker    method public void setDisabledCompatChanges(long[]);
337*344a7f5eSAndroid Build Coastguard Worker    method public void setHiddenApiAccessLogSamplingRate(int);
338*344a7f5eSAndroid Build Coastguard Worker    method public void setHiddenApiExemptions(String[]);
339*344a7f5eSAndroid Build Coastguard Worker    method public static void setHiddenApiUsageLogger(dalvik.system.VMRuntime.HiddenApiUsageLogger);
340*344a7f5eSAndroid Build Coastguard Worker    method public static void setNonSdkApiUsageConsumer(java.util.function.Consumer<java.lang.String>);
341*344a7f5eSAndroid Build Coastguard Worker    method public static void setProcessDataDirectory(String);
342*344a7f5eSAndroid Build Coastguard Worker    method public static void setProcessPackageName(String);
343*344a7f5eSAndroid Build Coastguard Worker    method public void setTargetSdkVersion(int);
344*344a7f5eSAndroid Build Coastguard Worker    method public void updateProcessState(int);
345*344a7f5eSAndroid Build Coastguard Worker    method public String vmInstructionSet();
346*344a7f5eSAndroid Build Coastguard Worker    method public String vmLibrary();
347*344a7f5eSAndroid Build Coastguard Worker    field public static final int CODE_PATH_TYPE_PRIMARY_APK = 1; // 0x1
348*344a7f5eSAndroid Build Coastguard Worker    field public static final int CODE_PATH_TYPE_SECONDARY_DEX = 4; // 0x4
349*344a7f5eSAndroid Build Coastguard Worker    field public static final int CODE_PATH_TYPE_SPLIT_APK = 2; // 0x2
350*344a7f5eSAndroid Build Coastguard Worker    field public static final int SDK_VERSION_CUR_DEVELOPMENT = 10000; // 0x2710
351*344a7f5eSAndroid Build Coastguard Worker  }
352*344a7f5eSAndroid Build Coastguard Worker
353*344a7f5eSAndroid Build Coastguard Worker  public static interface VMRuntime.HiddenApiUsageLogger {
354*344a7f5eSAndroid Build Coastguard Worker    method public void hiddenApiUsed(int, String, String, int, boolean);
355*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACCESS_METHOD_JNI = 2; // 0x2
356*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACCESS_METHOD_LINKING = 3; // 0x3
357*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACCESS_METHOD_NONE = 0; // 0x0
358*344a7f5eSAndroid Build Coastguard Worker    field public static final int ACCESS_METHOD_REFLECTION = 1; // 0x1
359*344a7f5eSAndroid Build Coastguard Worker  }
360*344a7f5eSAndroid Build Coastguard Worker
361*344a7f5eSAndroid Build Coastguard Worker  public final class VMStack {
362*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public static dalvik.system.AnnotatedStackTraceElement[] getAnnotatedThreadStackTrace(Thread);
363*344a7f5eSAndroid Build Coastguard Worker  }
364*344a7f5eSAndroid Build Coastguard Worker
365*344a7f5eSAndroid Build Coastguard Worker  public final class ZygoteHooks {
366*344a7f5eSAndroid Build Coastguard Worker    method public static void gcAndFinalize();
367*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isIndefiniteThreadSuspensionSafe();
368*344a7f5eSAndroid Build Coastguard Worker    method public static void onBeginPreload();
369*344a7f5eSAndroid Build Coastguard Worker    method public static void onEndPreload();
370*344a7f5eSAndroid Build Coastguard Worker    method public static void postForkChild(int, boolean, boolean, String);
371*344a7f5eSAndroid Build Coastguard Worker    method public static void postForkCommon();
372*344a7f5eSAndroid Build Coastguard Worker    method public static void postForkSystemServer(int);
373*344a7f5eSAndroid Build Coastguard Worker    method public static void preFork();
374*344a7f5eSAndroid Build Coastguard Worker    method public static void startZygoteNoThreadCreation();
375*344a7f5eSAndroid Build Coastguard Worker    method public static void stopZygoteNoThreadCreation();
376*344a7f5eSAndroid Build Coastguard Worker  }
377*344a7f5eSAndroid Build Coastguard Worker
378*344a7f5eSAndroid Build Coastguard Worker}
379*344a7f5eSAndroid Build Coastguard Worker
380*344a7f5eSAndroid Build Coastguard Workerpackage java.io {
381*344a7f5eSAndroid Build Coastguard Worker
382*344a7f5eSAndroid Build Coastguard Worker  public final class FileDescriptor {
383*344a7f5eSAndroid Build Coastguard Worker    method public int getInt$();
384*344a7f5eSAndroid Build Coastguard Worker    method public void setInt$(int);
385*344a7f5eSAndroid Build Coastguard Worker  }
386*344a7f5eSAndroid Build Coastguard Worker
387*344a7f5eSAndroid Build Coastguard Worker  public class FileInputStream extends java.io.InputStream {
388*344a7f5eSAndroid Build Coastguard Worker    ctor public FileInputStream(java.io.FileDescriptor, boolean);
389*344a7f5eSAndroid Build Coastguard Worker  }
390*344a7f5eSAndroid Build Coastguard Worker
391*344a7f5eSAndroid Build Coastguard Worker}
392*344a7f5eSAndroid Build Coastguard Worker
393*344a7f5eSAndroid Build Coastguard Workerpackage java.lang {
394*344a7f5eSAndroid Build Coastguard Worker
395*344a7f5eSAndroid Build Coastguard Worker  public class Thread implements java.lang.Runnable {
396*344a7f5eSAndroid Build Coastguard Worker    method public static java.lang.Thread.UncaughtExceptionHandler getUncaughtExceptionPreHandler();
397*344a7f5eSAndroid Build Coastguard Worker    method public static void setUncaughtExceptionPreHandler(java.lang.Thread.UncaughtExceptionHandler);
398*344a7f5eSAndroid Build Coastguard Worker  }
399*344a7f5eSAndroid Build Coastguard Worker
400*344a7f5eSAndroid Build Coastguard Worker}
401*344a7f5eSAndroid Build Coastguard Worker
402*344a7f5eSAndroid Build Coastguard Workerpackage java.net {
403*344a7f5eSAndroid Build Coastguard Worker
404*344a7f5eSAndroid Build Coastguard Worker  public class DatagramSocket implements java.io.Closeable {
405*344a7f5eSAndroid Build Coastguard Worker    method public java.io.FileDescriptor getFileDescriptor$();
406*344a7f5eSAndroid Build Coastguard Worker  }
407*344a7f5eSAndroid Build Coastguard Worker
408*344a7f5eSAndroid Build Coastguard Worker  public final class Inet4Address extends java.net.InetAddress {
409*344a7f5eSAndroid Build Coastguard Worker    field public static final java.net.InetAddress ALL;
410*344a7f5eSAndroid Build Coastguard Worker    field public static final java.net.InetAddress ANY;
411*344a7f5eSAndroid Build Coastguard Worker    field public static final java.net.InetAddress LOOPBACK;
412*344a7f5eSAndroid Build Coastguard Worker  }
413*344a7f5eSAndroid Build Coastguard Worker
414*344a7f5eSAndroid Build Coastguard Worker  public final class Inet6Address extends java.net.InetAddress {
415*344a7f5eSAndroid Build Coastguard Worker    field public static final java.net.InetAddress ANY;
416*344a7f5eSAndroid Build Coastguard Worker    field public static final java.net.InetAddress LOOPBACK;
417*344a7f5eSAndroid Build Coastguard Worker  }
418*344a7f5eSAndroid Build Coastguard Worker
419*344a7f5eSAndroid Build Coastguard Worker  public class InetAddress implements java.io.Serializable {
420*344a7f5eSAndroid Build Coastguard Worker    method public static void clearDnsCache();
421*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static java.net.InetAddress[] getAllByNameOnNet(@Nullable String, int) throws java.net.UnknownHostException;
422*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static java.net.InetAddress getByNameOnNet(@Nullable String, int) throws java.net.UnknownHostException;
423*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static boolean isNumeric(String);
424*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static java.net.InetAddress parseNumericAddress(String);
425*344a7f5eSAndroid Build Coastguard Worker  }
426*344a7f5eSAndroid Build Coastguard Worker
427*344a7f5eSAndroid Build Coastguard Worker  public class InetSocketAddress extends java.net.SocketAddress {
428*344a7f5eSAndroid Build Coastguard Worker    ctor public InetSocketAddress();
429*344a7f5eSAndroid Build Coastguard Worker  }
430*344a7f5eSAndroid Build Coastguard Worker
431*344a7f5eSAndroid Build Coastguard Worker  public class ServerSocket implements java.io.Closeable {
432*344a7f5eSAndroid Build Coastguard Worker    method public java.net.SocketImpl getImpl() throws java.net.SocketException;
433*344a7f5eSAndroid Build Coastguard Worker  }
434*344a7f5eSAndroid Build Coastguard Worker
435*344a7f5eSAndroid Build Coastguard Worker  public class Socket implements java.io.Closeable {
436*344a7f5eSAndroid Build Coastguard Worker    method public java.io.FileDescriptor getFileDescriptor$();
437*344a7f5eSAndroid Build Coastguard Worker  }
438*344a7f5eSAndroid Build Coastguard Worker
439*344a7f5eSAndroid Build Coastguard Worker  public abstract class SocketImpl implements java.net.SocketOptions {
440*344a7f5eSAndroid Build Coastguard Worker    method public java.io.FileDescriptor getFD$();
441*344a7f5eSAndroid Build Coastguard Worker  }
442*344a7f5eSAndroid Build Coastguard Worker
443*344a7f5eSAndroid Build Coastguard Worker}
444*344a7f5eSAndroid Build Coastguard Worker
445*344a7f5eSAndroid Build Coastguard Workerpackage java.nio {
446*344a7f5eSAndroid Build Coastguard Worker
447*344a7f5eSAndroid Build Coastguard Worker  public abstract class ByteBuffer extends java.nio.Buffer implements java.lang.Comparable<java.nio.ByteBuffer> {
448*344a7f5eSAndroid Build Coastguard Worker    method public void setAccessible(boolean);
449*344a7f5eSAndroid Build Coastguard Worker  }
450*344a7f5eSAndroid Build Coastguard Worker
451*344a7f5eSAndroid Build Coastguard Worker  public class DirectByteBuffer extends java.nio.MappedByteBuffer {
452*344a7f5eSAndroid Build Coastguard Worker    ctor public DirectByteBuffer(int, long, java.io.FileDescriptor, Runnable, boolean);
453*344a7f5eSAndroid Build Coastguard Worker    method public final long address();
454*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.CharBuffer asCharBuffer();
455*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.DoubleBuffer asDoubleBuffer();
456*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.FloatBuffer asFloatBuffer();
457*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.IntBuffer asIntBuffer();
458*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.LongBuffer asLongBuffer();
459*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.ByteBuffer asReadOnlyBuffer();
460*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.ShortBuffer asShortBuffer();
461*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.ByteBuffer compact();
462*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.MappedByteBuffer duplicate();
463*344a7f5eSAndroid Build Coastguard Worker    method public final byte get();
464*344a7f5eSAndroid Build Coastguard Worker    method public final byte get(int);
465*344a7f5eSAndroid Build Coastguard Worker    method public final char getChar();
466*344a7f5eSAndroid Build Coastguard Worker    method public final char getChar(int);
467*344a7f5eSAndroid Build Coastguard Worker    method public final double getDouble();
468*344a7f5eSAndroid Build Coastguard Worker    method public final double getDouble(int);
469*344a7f5eSAndroid Build Coastguard Worker    method public final float getFloat();
470*344a7f5eSAndroid Build Coastguard Worker    method public final float getFloat(int);
471*344a7f5eSAndroid Build Coastguard Worker    method public int getInt();
472*344a7f5eSAndroid Build Coastguard Worker    method public int getInt(int);
473*344a7f5eSAndroid Build Coastguard Worker    method public final long getLong();
474*344a7f5eSAndroid Build Coastguard Worker    method public final long getLong(int);
475*344a7f5eSAndroid Build Coastguard Worker    method public final short getShort();
476*344a7f5eSAndroid Build Coastguard Worker    method public final short getShort(int);
477*344a7f5eSAndroid Build Coastguard Worker    method public final boolean isDirect();
478*344a7f5eSAndroid Build Coastguard Worker    method public final boolean isReadOnly();
479*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.ByteBuffer put(byte);
480*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.ByteBuffer put(int, byte);
481*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.ByteBuffer putChar(char);
482*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.ByteBuffer putChar(int, char);
483*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.ByteBuffer putDouble(double);
484*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.ByteBuffer putDouble(int, double);
485*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.ByteBuffer putFloat(float);
486*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.ByteBuffer putFloat(int, float);
487*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.ByteBuffer putInt(int);
488*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.ByteBuffer putInt(int, int);
489*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.ByteBuffer putLong(long);
490*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.ByteBuffer putLong(int, long);
491*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.ByteBuffer putShort(short);
492*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.ByteBuffer putShort(int, short);
493*344a7f5eSAndroid Build Coastguard Worker    method public final void setAccessible(boolean);
494*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.MappedByteBuffer slice();
495*344a7f5eSAndroid Build Coastguard Worker    method public final java.nio.MappedByteBuffer slice(int, int);
496*344a7f5eSAndroid Build Coastguard Worker  }
497*344a7f5eSAndroid Build Coastguard Worker
498*344a7f5eSAndroid Build Coastguard Worker  public final class NIOAccess {
499*344a7f5eSAndroid Build Coastguard Worker    method public static Object getBaseArray(java.nio.Buffer);
500*344a7f5eSAndroid Build Coastguard Worker    method public static int getBaseArrayOffset(java.nio.Buffer);
501*344a7f5eSAndroid Build Coastguard Worker  }
502*344a7f5eSAndroid Build Coastguard Worker
503*344a7f5eSAndroid Build Coastguard Worker  public final class NioUtils {
504*344a7f5eSAndroid Build Coastguard Worker    method public static void freeDirectBuffer(java.nio.ByteBuffer);
505*344a7f5eSAndroid Build Coastguard Worker    method public static byte[] unsafeArray(java.nio.ByteBuffer);
506*344a7f5eSAndroid Build Coastguard Worker    method public static int unsafeArrayOffset(java.nio.ByteBuffer);
507*344a7f5eSAndroid Build Coastguard Worker  }
508*344a7f5eSAndroid Build Coastguard Worker
509*344a7f5eSAndroid Build Coastguard Worker}
510*344a7f5eSAndroid Build Coastguard Worker
511*344a7f5eSAndroid Build Coastguard Workerpackage java.security {
512*344a7f5eSAndroid Build Coastguard Worker
513*344a7f5eSAndroid Build Coastguard Worker  public abstract class Provider extends java.util.Properties {
514*344a7f5eSAndroid Build Coastguard Worker    method public void warmUpServiceProvision();
515*344a7f5eSAndroid Build Coastguard Worker  }
516*344a7f5eSAndroid Build Coastguard Worker
517*344a7f5eSAndroid Build Coastguard Worker  public abstract class Signature extends java.security.SignatureSpi {
518*344a7f5eSAndroid Build Coastguard Worker    method public java.security.SignatureSpi getCurrentSpi();
519*344a7f5eSAndroid Build Coastguard Worker  }
520*344a7f5eSAndroid Build Coastguard Worker
521*344a7f5eSAndroid Build Coastguard Worker}
522*344a7f5eSAndroid Build Coastguard Worker
523*344a7f5eSAndroid Build Coastguard Workerpackage java.text {
524*344a7f5eSAndroid Build Coastguard Worker
525*344a7f5eSAndroid Build Coastguard Worker  public abstract class DateFormat extends java.text.Format {
526*344a7f5eSAndroid Build Coastguard Worker    method public static final void set24HourTimePref(Boolean);
527*344a7f5eSAndroid Build Coastguard Worker  }
528*344a7f5eSAndroid Build Coastguard Worker
529*344a7f5eSAndroid Build Coastguard Worker}
530*344a7f5eSAndroid Build Coastguard Worker
531*344a7f5eSAndroid Build Coastguard Workerpackage java.util {
532*344a7f5eSAndroid Build Coastguard Worker
533*344a7f5eSAndroid Build Coastguard Worker  public class LinkedHashMap<K, V> extends java.util.HashMap<K,V> implements java.util.Map<K,V> {
534*344a7f5eSAndroid Build Coastguard Worker    method public java.util.Map.Entry<K,V> eldest();
535*344a7f5eSAndroid Build Coastguard Worker  }
536*344a7f5eSAndroid Build Coastguard Worker
537*344a7f5eSAndroid Build Coastguard Worker}
538*344a7f5eSAndroid Build Coastguard Worker
539*344a7f5eSAndroid Build Coastguard Workerpackage java.util.zip {
540*344a7f5eSAndroid Build Coastguard Worker
541*344a7f5eSAndroid Build Coastguard Worker  public class ZipEntry implements java.lang.Cloneable {
542*344a7f5eSAndroid Build Coastguard Worker    method public long getDataOffset();
543*344a7f5eSAndroid Build Coastguard Worker  }
544*344a7f5eSAndroid Build Coastguard Worker
545*344a7f5eSAndroid Build Coastguard Worker}
546*344a7f5eSAndroid Build Coastguard Worker
547*344a7f5eSAndroid Build Coastguard Workerpackage javax.crypto {
548*344a7f5eSAndroid Build Coastguard Worker
549*344a7f5eSAndroid Build Coastguard Worker  public class Cipher {
550*344a7f5eSAndroid Build Coastguard Worker    method public javax.crypto.CipherSpi getCurrentSpi();
551*344a7f5eSAndroid Build Coastguard Worker  }
552*344a7f5eSAndroid Build Coastguard Worker
553*344a7f5eSAndroid Build Coastguard Worker  public class Mac implements java.lang.Cloneable {
554*344a7f5eSAndroid Build Coastguard Worker    method public javax.crypto.MacSpi getCurrentSpi();
555*344a7f5eSAndroid Build Coastguard Worker  }
556*344a7f5eSAndroid Build Coastguard Worker
557*344a7f5eSAndroid Build Coastguard Worker}
558*344a7f5eSAndroid Build Coastguard Worker
559*344a7f5eSAndroid Build Coastguard Workerpackage javax.net.ssl {
560*344a7f5eSAndroid Build Coastguard Worker
561*344a7f5eSAndroid Build Coastguard Worker  public abstract class HttpsURLConnection extends java.net.HttpURLConnection {
562*344a7f5eSAndroid Build Coastguard Worker    method public static javax.net.ssl.HostnameVerifier getStrictHostnameVerifier();
563*344a7f5eSAndroid Build Coastguard Worker  }
564*344a7f5eSAndroid Build Coastguard Worker
565*344a7f5eSAndroid Build Coastguard Worker}
566*344a7f5eSAndroid Build Coastguard Worker
567*344a7f5eSAndroid Build Coastguard Workerpackage libcore.content.type {
568*344a7f5eSAndroid Build Coastguard Worker
569*344a7f5eSAndroid Build Coastguard Worker  public final class MimeMap {
570*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public libcore.content.type.MimeMap.Builder buildUpon();
571*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static libcore.content.type.MimeMap.Builder builder();
572*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Set<java.lang.String> extensions();
573*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static libcore.content.type.MimeMap getDefault();
574*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String guessExtensionFromMimeType(@Nullable String);
575*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String guessMimeTypeFromExtension(@Nullable String);
576*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasExtension(@Nullable String);
577*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasMimeType(@Nullable String);
578*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Set<java.lang.String> mimeTypes();
579*344a7f5eSAndroid Build Coastguard Worker    method public static void setDefaultSupplier(@NonNull java.util.function.Supplier<libcore.content.type.MimeMap>);
580*344a7f5eSAndroid Build Coastguard Worker  }
581*344a7f5eSAndroid Build Coastguard Worker
582*344a7f5eSAndroid Build Coastguard Worker  public static final class MimeMap.Builder {
583*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public libcore.content.type.MimeMap.Builder addMimeMapping(@NonNull String, @NonNull java.util.List<java.lang.String>);
584*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public libcore.content.type.MimeMap build();
585*344a7f5eSAndroid Build Coastguard Worker  }
586*344a7f5eSAndroid Build Coastguard Worker
587*344a7f5eSAndroid Build Coastguard Worker}
588*344a7f5eSAndroid Build Coastguard Worker
589*344a7f5eSAndroid Build Coastguard Workerpackage libcore.io {
590*344a7f5eSAndroid Build Coastguard Worker
591*344a7f5eSAndroid Build Coastguard Worker  public class ForwardingOs implements libcore.io.Os {
592*344a7f5eSAndroid Build Coastguard Worker    ctor protected ForwardingOs(@NonNull libcore.io.Os);
593*344a7f5eSAndroid Build Coastguard Worker    method public boolean access(@Nullable String, int) throws android.system.ErrnoException;
594*344a7f5eSAndroid Build Coastguard Worker    method public java.io.FileDescriptor open(@Nullable String, int, int) throws android.system.ErrnoException;
595*344a7f5eSAndroid Build Coastguard Worker    method public void remove(@Nullable String) throws android.system.ErrnoException;
596*344a7f5eSAndroid Build Coastguard Worker    method public void rename(@Nullable String, @Nullable String) throws android.system.ErrnoException;
597*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.system.StructStat stat(@Nullable String) throws android.system.ErrnoException;
598*344a7f5eSAndroid Build Coastguard Worker    method public void unlink(@Nullable String) throws android.system.ErrnoException;
599*344a7f5eSAndroid Build Coastguard Worker  }
600*344a7f5eSAndroid Build Coastguard Worker
601*344a7f5eSAndroid Build Coastguard Worker  public final class IoBridge {
602*344a7f5eSAndroid Build Coastguard Worker    method public static void closeAndSignalBlockedThreads(@NonNull java.io.FileDescriptor) throws java.io.IOException;
603*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static java.io.FileDescriptor open(@NonNull String, int) throws java.io.FileNotFoundException;
604*344a7f5eSAndroid Build Coastguard Worker    method public static int read(@NonNull java.io.FileDescriptor, @NonNull byte[], int, int) throws java.io.IOException;
605*344a7f5eSAndroid Build Coastguard Worker    method public static void write(@NonNull java.io.FileDescriptor, @NonNull byte[], int, int) throws java.io.IOException;
606*344a7f5eSAndroid Build Coastguard Worker  }
607*344a7f5eSAndroid Build Coastguard Worker
608*344a7f5eSAndroid Build Coastguard Worker  public final class IoUtils {
609*344a7f5eSAndroid Build Coastguard Worker    method public static int acquireRawFd(@NonNull java.io.FileDescriptor);
610*344a7f5eSAndroid Build Coastguard Worker    method public static void close(@Nullable java.io.FileDescriptor) throws java.io.IOException;
611*344a7f5eSAndroid Build Coastguard Worker    method public static void closeQuietly(@Nullable AutoCloseable);
612*344a7f5eSAndroid Build Coastguard Worker    method public static void closeQuietly(@Nullable java.io.FileDescriptor);
613*344a7f5eSAndroid Build Coastguard Worker    method public static void closeQuietly(@Nullable java.net.Socket);
614*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static byte[] readFileAsByteArray(@NonNull String) throws java.io.IOException;
615*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static String readFileAsString(@NonNull String) throws java.io.IOException;
616*344a7f5eSAndroid Build Coastguard Worker    method public static void setBlocking(@NonNull java.io.FileDescriptor, boolean) throws java.io.IOException;
617*344a7f5eSAndroid Build Coastguard Worker    method public static void setFdOwner(@NonNull java.io.FileDescriptor, @NonNull Object);
618*344a7f5eSAndroid Build Coastguard Worker  }
619*344a7f5eSAndroid Build Coastguard Worker
620*344a7f5eSAndroid Build Coastguard Worker  public final class Memory {
621*344a7f5eSAndroid Build Coastguard Worker    method public static void memmove(@NonNull Object, int, @NonNull Object, int, long);
622*344a7f5eSAndroid Build Coastguard Worker    method public static int peekInt(@NonNull byte[], int, @NonNull java.nio.ByteOrder);
623*344a7f5eSAndroid Build Coastguard Worker    method public static short peekShort(@NonNull byte[], int, @NonNull java.nio.ByteOrder);
624*344a7f5eSAndroid Build Coastguard Worker    method public static void pokeInt(@NonNull byte[], int, int, @NonNull java.nio.ByteOrder);
625*344a7f5eSAndroid Build Coastguard Worker    method public static void pokeLong(@NonNull byte[], int, long, @NonNull java.nio.ByteOrder);
626*344a7f5eSAndroid Build Coastguard Worker    method public static void pokeShort(@NonNull byte[], int, short, @NonNull java.nio.ByteOrder);
627*344a7f5eSAndroid Build Coastguard Worker  }
628*344a7f5eSAndroid Build Coastguard Worker
629*344a7f5eSAndroid Build Coastguard Worker  public interface Os {
630*344a7f5eSAndroid Build Coastguard Worker    method public static boolean compareAndSetDefault(libcore.io.Os, libcore.io.Os);
631*344a7f5eSAndroid Build Coastguard Worker    method public static libcore.io.Os getDefault();
632*344a7f5eSAndroid Build Coastguard Worker  }
633*344a7f5eSAndroid Build Coastguard Worker
634*344a7f5eSAndroid Build Coastguard Worker  public final class Streams {
635*344a7f5eSAndroid Build Coastguard Worker    method public static int copy(@NonNull java.io.InputStream, @NonNull java.io.OutputStream) throws java.io.IOException;
636*344a7f5eSAndroid Build Coastguard Worker    method public static void readFully(@NonNull java.io.InputStream, @NonNull byte[]) throws java.io.IOException;
637*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static byte[] readFully(@NonNull java.io.InputStream) throws java.io.IOException;
638*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static String readFully(@NonNull java.io.Reader) throws java.io.IOException;
639*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static byte[] readFullyNoClose(@NonNull java.io.InputStream) throws java.io.IOException;
640*344a7f5eSAndroid Build Coastguard Worker    method public static int readSingleByte(@NonNull java.io.InputStream) throws java.io.IOException;
641*344a7f5eSAndroid Build Coastguard Worker    method public static long skipByReading(@NonNull java.io.InputStream, long) throws java.io.IOException;
642*344a7f5eSAndroid Build Coastguard Worker    method public static void writeSingleByte(@NonNull java.io.OutputStream, int) throws java.io.IOException;
643*344a7f5eSAndroid Build Coastguard Worker  }
644*344a7f5eSAndroid Build Coastguard Worker
645*344a7f5eSAndroid Build Coastguard Worker}
646*344a7f5eSAndroid Build Coastguard Worker
647*344a7f5eSAndroid Build Coastguard Workerpackage libcore.net {
648*344a7f5eSAndroid Build Coastguard Worker
649*344a7f5eSAndroid Build Coastguard Worker  public class InetAddressUtils {
650*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isNumericAddress(String);
651*344a7f5eSAndroid Build Coastguard Worker    method public static java.net.InetAddress parseNumericAddress(String);
652*344a7f5eSAndroid Build Coastguard Worker  }
653*344a7f5eSAndroid Build Coastguard Worker
654*344a7f5eSAndroid Build Coastguard Worker  public abstract class NetworkSecurityPolicy {
655*344a7f5eSAndroid Build Coastguard Worker    ctor public NetworkSecurityPolicy();
656*344a7f5eSAndroid Build Coastguard Worker    method public static libcore.net.NetworkSecurityPolicy getInstance();
657*344a7f5eSAndroid Build Coastguard Worker    method public abstract boolean isCertificateTransparencyVerificationRequired(String);
658*344a7f5eSAndroid Build Coastguard Worker    method public abstract boolean isCleartextTrafficPermitted();
659*344a7f5eSAndroid Build Coastguard Worker    method public abstract boolean isCleartextTrafficPermitted(String);
660*344a7f5eSAndroid Build Coastguard Worker    method public static void setInstance(libcore.net.NetworkSecurityPolicy);
661*344a7f5eSAndroid Build Coastguard Worker  }
662*344a7f5eSAndroid Build Coastguard Worker
663*344a7f5eSAndroid Build Coastguard Worker}
664*344a7f5eSAndroid Build Coastguard Worker
665*344a7f5eSAndroid Build Coastguard Workerpackage libcore.net.event {
666*344a7f5eSAndroid Build Coastguard Worker
667*344a7f5eSAndroid Build Coastguard Worker  public final class NetworkEventDispatcher {
668*344a7f5eSAndroid Build Coastguard Worker    method public void dispatchNetworkConfigurationChange();
669*344a7f5eSAndroid Build Coastguard Worker    method public static libcore.net.event.NetworkEventDispatcher getInstance();
670*344a7f5eSAndroid Build Coastguard Worker  }
671*344a7f5eSAndroid Build Coastguard Worker
672*344a7f5eSAndroid Build Coastguard Worker}
673*344a7f5eSAndroid Build Coastguard Worker
674*344a7f5eSAndroid Build Coastguard Workerpackage libcore.net.http {
675*344a7f5eSAndroid Build Coastguard Worker
676*344a7f5eSAndroid Build Coastguard Worker  public interface Dns {
677*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<java.net.InetAddress> lookup(@Nullable String) throws java.net.UnknownHostException;
678*344a7f5eSAndroid Build Coastguard Worker  }
679*344a7f5eSAndroid Build Coastguard Worker
680*344a7f5eSAndroid Build Coastguard Worker  public class HttpURLConnectionFactory {
681*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static libcore.net.http.HttpURLConnectionFactory createInstance();
682*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;
683*344a7f5eSAndroid Build Coastguard Worker    method public void setDns(@NonNull libcore.net.http.Dns);
684*344a7f5eSAndroid Build Coastguard Worker    method public void setNewConnectionPool(int, long, @NonNull java.util.concurrent.TimeUnit);
685*344a7f5eSAndroid Build Coastguard Worker  }
686*344a7f5eSAndroid Build Coastguard Worker
687*344a7f5eSAndroid Build Coastguard Worker}
688*344a7f5eSAndroid Build Coastguard Worker
689*344a7f5eSAndroid Build Coastguard Workerpackage libcore.util {
690*344a7f5eSAndroid Build Coastguard Worker
691*344a7f5eSAndroid Build Coastguard Worker  public final class EmptyArray {
692*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final boolean[] BOOLEAN;
693*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final byte[] BYTE;
694*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final float[] FLOAT;
695*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final int[] INT;
696*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final long[] LONG;
697*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final Object[] OBJECT;
698*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final String[] STRING;
699*344a7f5eSAndroid Build Coastguard Worker  }
700*344a7f5eSAndroid Build Coastguard Worker
701*344a7f5eSAndroid Build Coastguard Worker  public final class FP16 {
702*344a7f5eSAndroid Build Coastguard Worker    method public static short ceil(short);
703*344a7f5eSAndroid Build Coastguard Worker    method public static int compare(short, short);
704*344a7f5eSAndroid Build Coastguard Worker    method public static boolean equals(short, short);
705*344a7f5eSAndroid Build Coastguard Worker    method public static short floor(short);
706*344a7f5eSAndroid Build Coastguard Worker    method public static boolean greater(short, short);
707*344a7f5eSAndroid Build Coastguard Worker    method public static boolean greaterEquals(short, short);
708*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isInfinite(short);
709*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isNaN(short);
710*344a7f5eSAndroid Build Coastguard Worker    method public static boolean isNormalized(short);
711*344a7f5eSAndroid Build Coastguard Worker    method public static boolean less(short, short);
712*344a7f5eSAndroid Build Coastguard Worker    method public static boolean lessEquals(short, short);
713*344a7f5eSAndroid Build Coastguard Worker    method public static short max(short, short);
714*344a7f5eSAndroid Build Coastguard Worker    method public static short min(short, short);
715*344a7f5eSAndroid Build Coastguard Worker    method public static short rint(short);
716*344a7f5eSAndroid Build Coastguard Worker    method public static float toFloat(short);
717*344a7f5eSAndroid Build Coastguard Worker    method public static short toHalf(float);
718*344a7f5eSAndroid Build Coastguard Worker    method public static String toHexString(short);
719*344a7f5eSAndroid Build Coastguard Worker    method public static short trunc(short);
720*344a7f5eSAndroid Build Coastguard Worker    field public static final short EPSILON = 5120; // 0x1400
721*344a7f5eSAndroid Build Coastguard Worker    field public static final int EXPONENT_BIAS = 15; // 0xf
722*344a7f5eSAndroid Build Coastguard Worker    field public static final int EXPONENT_SHIFT = 10; // 0xa
723*344a7f5eSAndroid Build Coastguard Worker    field public static final int EXPONENT_SIGNIFICAND_MASK = 32767; // 0x7fff
724*344a7f5eSAndroid Build Coastguard Worker    field public static final short LOWEST_VALUE = -1025; // 0xfffffbff
725*344a7f5eSAndroid Build Coastguard Worker    field public static final int MAX_EXPONENT = 15; // 0xf
726*344a7f5eSAndroid Build Coastguard Worker    field public static final short MAX_VALUE = 31743; // 0x7bff
727*344a7f5eSAndroid Build Coastguard Worker    field public static final int MIN_EXPONENT = -14; // 0xfffffff2
728*344a7f5eSAndroid Build Coastguard Worker    field public static final short MIN_NORMAL = 1024; // 0x400
729*344a7f5eSAndroid Build Coastguard Worker    field public static final short MIN_VALUE = 1; // 0x1
730*344a7f5eSAndroid Build Coastguard Worker    field public static final short NEGATIVE_INFINITY = -1024; // 0xfffffc00
731*344a7f5eSAndroid Build Coastguard Worker    field public static final short NEGATIVE_ZERO = -32768; // 0xffff8000
732*344a7f5eSAndroid Build Coastguard Worker    field public static final short NaN = 32256; // 0x7e00
733*344a7f5eSAndroid Build Coastguard Worker    field public static final short POSITIVE_INFINITY = 31744; // 0x7c00
734*344a7f5eSAndroid Build Coastguard Worker    field public static final short POSITIVE_ZERO = 0; // 0x0
735*344a7f5eSAndroid Build Coastguard Worker    field public static final int SHIFTED_EXPONENT_MASK = 31; // 0x1f
736*344a7f5eSAndroid Build Coastguard Worker    field public static final int SIGNIFICAND_MASK = 1023; // 0x3ff
737*344a7f5eSAndroid Build Coastguard Worker    field public static final int SIGN_MASK = 32768; // 0x8000
738*344a7f5eSAndroid Build Coastguard Worker    field public static final int SIGN_SHIFT = 15; // 0xf
739*344a7f5eSAndroid Build Coastguard Worker    field public static final int SIZE = 16; // 0x10
740*344a7f5eSAndroid Build Coastguard Worker  }
741*344a7f5eSAndroid Build Coastguard Worker
742*344a7f5eSAndroid Build Coastguard Worker  public class HexEncoding {
743*344a7f5eSAndroid Build Coastguard Worker    method public static byte[] decode(String) throws java.lang.IllegalArgumentException;
744*344a7f5eSAndroid Build Coastguard Worker    method public static byte[] decode(String, boolean) throws java.lang.IllegalArgumentException;
745*344a7f5eSAndroid Build Coastguard Worker    method public static byte[] decode(char[]) throws java.lang.IllegalArgumentException;
746*344a7f5eSAndroid Build Coastguard Worker    method public static byte[] decode(char[], boolean) throws java.lang.IllegalArgumentException;
747*344a7f5eSAndroid Build Coastguard Worker    method public static char[] encode(byte[]);
748*344a7f5eSAndroid Build Coastguard Worker    method public static char[] encode(byte[], boolean);
749*344a7f5eSAndroid Build Coastguard Worker    method public static char[] encode(byte[], int, int);
750*344a7f5eSAndroid Build Coastguard Worker    method public static String encodeToString(byte, boolean);
751*344a7f5eSAndroid Build Coastguard Worker    method public static String encodeToString(byte[]);
752*344a7f5eSAndroid Build Coastguard Worker    method public static String encodeToString(byte[], boolean);
753*344a7f5eSAndroid Build Coastguard Worker  }
754*344a7f5eSAndroid Build Coastguard Worker
755*344a7f5eSAndroid Build Coastguard Worker  public class NativeAllocationRegistry {
756*344a7f5eSAndroid Build Coastguard Worker    ctor public NativeAllocationRegistry(@NonNull ClassLoader, long, long);
757*344a7f5eSAndroid Build Coastguard Worker    method public static void applyFreeFunction(long, long);
758*344a7f5eSAndroid Build Coastguard Worker    method public static libcore.util.NativeAllocationRegistry createMalloced(@NonNull ClassLoader, long, long);
759*344a7f5eSAndroid Build Coastguard Worker    method public static libcore.util.NativeAllocationRegistry createMalloced(@NonNull ClassLoader, long);
760*344a7f5eSAndroid Build Coastguard Worker    method public static libcore.util.NativeAllocationRegistry createNonmalloced(@NonNull ClassLoader, long, long);
761*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public Runnable registerNativeAllocation(@NonNull Object, long);
762*344a7f5eSAndroid Build Coastguard Worker  }
763*344a7f5eSAndroid Build Coastguard Worker
764*344a7f5eSAndroid Build Coastguard Worker  public class SneakyThrow {
765*344a7f5eSAndroid Build Coastguard Worker    method public static void sneakyThrow(@NonNull Throwable);
766*344a7f5eSAndroid Build Coastguard Worker  }
767*344a7f5eSAndroid Build Coastguard Worker
768*344a7f5eSAndroid Build Coastguard Worker  public class XmlObjectFactory {
769*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static org.xml.sax.XMLReader newXMLReader();
770*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static org.xmlpull.v1.XmlPullParser newXmlPullParser();
771*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public static org.xmlpull.v1.XmlSerializer newXmlSerializer();
772*344a7f5eSAndroid Build Coastguard Worker  }
773*344a7f5eSAndroid Build Coastguard Worker
774*344a7f5eSAndroid Build Coastguard Worker}
775*344a7f5eSAndroid Build Coastguard Worker
776*344a7f5eSAndroid Build Coastguard Workerpackage org.apache.harmony.dalvik.ddmc {
777*344a7f5eSAndroid Build Coastguard Worker
778*344a7f5eSAndroid Build Coastguard Worker  public class Chunk {
779*344a7f5eSAndroid Build Coastguard Worker    ctor public Chunk(int, byte[], int, int);
780*344a7f5eSAndroid Build Coastguard Worker    ctor public Chunk(int, java.nio.ByteBuffer);
781*344a7f5eSAndroid Build Coastguard Worker    field public int type;
782*344a7f5eSAndroid Build Coastguard Worker  }
783*344a7f5eSAndroid Build Coastguard Worker
784*344a7f5eSAndroid Build Coastguard Worker  public abstract class ChunkHandler {
785*344a7f5eSAndroid Build Coastguard Worker    ctor public ChunkHandler();
786*344a7f5eSAndroid Build Coastguard Worker    method public static org.apache.harmony.dalvik.ddmc.Chunk createFailChunk(int, String);
787*344a7f5eSAndroid Build Coastguard Worker    method public abstract org.apache.harmony.dalvik.ddmc.Chunk handleChunk(org.apache.harmony.dalvik.ddmc.Chunk);
788*344a7f5eSAndroid Build Coastguard Worker    method public static String name(int);
789*344a7f5eSAndroid Build Coastguard Worker    method public abstract void onConnected();
790*344a7f5eSAndroid Build Coastguard Worker    method public abstract void onDisconnected();
791*344a7f5eSAndroid Build Coastguard Worker    method public static int type(String);
792*344a7f5eSAndroid Build Coastguard Worker    method public static java.nio.ByteBuffer wrapChunk(org.apache.harmony.dalvik.ddmc.Chunk);
793*344a7f5eSAndroid Build Coastguard Worker    field public static final java.nio.ByteOrder CHUNK_ORDER;
794*344a7f5eSAndroid Build Coastguard Worker  }
795*344a7f5eSAndroid Build Coastguard Worker
796*344a7f5eSAndroid Build Coastguard Worker  public final class DdmServer {
797*344a7f5eSAndroid Build Coastguard Worker    method public static void registerHandler(int, org.apache.harmony.dalvik.ddmc.ChunkHandler);
798*344a7f5eSAndroid Build Coastguard Worker    method public static void registrationComplete();
799*344a7f5eSAndroid Build Coastguard Worker    method public static void sendChunk(org.apache.harmony.dalvik.ddmc.Chunk);
800*344a7f5eSAndroid Build Coastguard Worker    method public static org.apache.harmony.dalvik.ddmc.ChunkHandler unregisterHandler(int);
801*344a7f5eSAndroid Build Coastguard Worker  }
802*344a7f5eSAndroid Build Coastguard Worker
803*344a7f5eSAndroid Build Coastguard Worker  public final class DdmVmInternal {
804*344a7f5eSAndroid Build Coastguard Worker    method public static void setRecentAllocationsTrackingEnabled(boolean);
805*344a7f5eSAndroid Build Coastguard Worker    method public static void setThreadNotifyEnabled(boolean);
806*344a7f5eSAndroid Build Coastguard Worker  }
807*344a7f5eSAndroid Build Coastguard Worker
808*344a7f5eSAndroid Build Coastguard Worker}
809*344a7f5eSAndroid Build Coastguard Worker
810*344a7f5eSAndroid Build Coastguard Workerpackage org.json {
811*344a7f5eSAndroid Build Coastguard Worker
812*344a7f5eSAndroid Build Coastguard Worker  public class JSONObject {
813*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.Set<java.lang.String> keySet();
814*344a7f5eSAndroid Build Coastguard Worker  }
815*344a7f5eSAndroid Build Coastguard Worker
816*344a7f5eSAndroid Build Coastguard Worker}
817*344a7f5eSAndroid Build Coastguard Worker
818*344a7f5eSAndroid Build Coastguard Workerpackage sun.misc {
819*344a7f5eSAndroid Build Coastguard Worker
820*344a7f5eSAndroid Build Coastguard Worker  public class Cleaner extends java.lang.ref.PhantomReference<java.lang.Object> {
821*344a7f5eSAndroid Build Coastguard Worker    method public void clean();
822*344a7f5eSAndroid Build Coastguard Worker    method public static sun.misc.Cleaner create(Object, Runnable);
823*344a7f5eSAndroid Build Coastguard Worker  }
824*344a7f5eSAndroid Build Coastguard Worker
825*344a7f5eSAndroid Build Coastguard Worker  public final class Unsafe {
826*344a7f5eSAndroid Build Coastguard Worker    method public int arrayBaseOffset(Class);
827*344a7f5eSAndroid Build Coastguard Worker    method public int arrayIndexScale(Class);
828*344a7f5eSAndroid Build Coastguard Worker    method public void copyMemory(long, long, long);
829*344a7f5eSAndroid Build Coastguard Worker    method public boolean getBoolean(Object, long);
830*344a7f5eSAndroid Build Coastguard Worker    method public byte getByte(Object, long);
831*344a7f5eSAndroid Build Coastguard Worker    method public byte getByte(long);
832*344a7f5eSAndroid Build Coastguard Worker    method public double getDouble(Object, long);
833*344a7f5eSAndroid Build Coastguard Worker    method public double getDouble(long);
834*344a7f5eSAndroid Build Coastguard Worker    method public float getFloat(Object, long);
835*344a7f5eSAndroid Build Coastguard Worker    method public float getFloat(long);
836*344a7f5eSAndroid Build Coastguard Worker    method public int getInt(Object, long);
837*344a7f5eSAndroid Build Coastguard Worker    method public int getInt(long);
838*344a7f5eSAndroid Build Coastguard Worker    method public long getLong(Object, long);
839*344a7f5eSAndroid Build Coastguard Worker    method public long getLong(long);
840*344a7f5eSAndroid Build Coastguard Worker    method public Object getObject(Object, long);
841*344a7f5eSAndroid Build Coastguard Worker    method public static sun.misc.Unsafe getUnsafe();
842*344a7f5eSAndroid Build Coastguard Worker    method public long objectFieldOffset(java.lang.reflect.Field);
843*344a7f5eSAndroid Build Coastguard Worker    method public void putBoolean(Object, long, boolean);
844*344a7f5eSAndroid Build Coastguard Worker    method public void putByte(Object, long, byte);
845*344a7f5eSAndroid Build Coastguard Worker    method public void putByte(long, byte);
846*344a7f5eSAndroid Build Coastguard Worker    method public void putDouble(Object, long, double);
847*344a7f5eSAndroid Build Coastguard Worker    method public void putDouble(long, double);
848*344a7f5eSAndroid Build Coastguard Worker    method public void putFloat(Object, long, float);
849*344a7f5eSAndroid Build Coastguard Worker    method public void putFloat(long, float);
850*344a7f5eSAndroid Build Coastguard Worker    method public void putInt(Object, long, int);
851*344a7f5eSAndroid Build Coastguard Worker    method public void putInt(long, int);
852*344a7f5eSAndroid Build Coastguard Worker    method public void putLong(Object, long, long);
853*344a7f5eSAndroid Build Coastguard Worker    method public void putLong(long, long);
854*344a7f5eSAndroid Build Coastguard Worker    method public void putObject(Object, long, Object);
855*344a7f5eSAndroid Build Coastguard Worker  }
856*344a7f5eSAndroid Build Coastguard Worker
857*344a7f5eSAndroid Build Coastguard Worker}
858*344a7f5eSAndroid Build Coastguard Worker
859*344a7f5eSAndroid Build Coastguard Workerpackage sun.security.jca {
860*344a7f5eSAndroid Build Coastguard Worker
861*344a7f5eSAndroid Build Coastguard Worker  public class Providers {
862*344a7f5eSAndroid Build Coastguard Worker    method public static Object startJarVerification();
863*344a7f5eSAndroid Build Coastguard Worker    method public static void stopJarVerification(Object);
864*344a7f5eSAndroid Build Coastguard Worker  }
865*344a7f5eSAndroid Build Coastguard Worker
866*344a7f5eSAndroid Build Coastguard Worker}
867*344a7f5eSAndroid Build Coastguard Worker
868*344a7f5eSAndroid Build Coastguard Workerpackage sun.security.pkcs {
869*344a7f5eSAndroid Build Coastguard Worker
870*344a7f5eSAndroid Build Coastguard Worker  public class PKCS7 {
871*344a7f5eSAndroid Build Coastguard Worker    ctor public PKCS7(java.io.InputStream) throws java.io.IOException, sun.security.pkcs.ParsingException;
872*344a7f5eSAndroid Build Coastguard Worker    ctor public PKCS7(byte[]) throws sun.security.pkcs.ParsingException;
873*344a7f5eSAndroid Build Coastguard Worker    method public java.security.cert.X509Certificate[] getCertificates();
874*344a7f5eSAndroid Build Coastguard Worker    method public sun.security.pkcs.SignerInfo[] getSignerInfos();
875*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;
876*344a7f5eSAndroid Build Coastguard Worker    method public sun.security.pkcs.SignerInfo[] verify(byte[]) throws java.security.NoSuchAlgorithmException, java.security.SignatureException;
877*344a7f5eSAndroid Build Coastguard Worker  }
878*344a7f5eSAndroid Build Coastguard Worker
879*344a7f5eSAndroid Build Coastguard Worker  public class ParsingException extends java.io.IOException {
880*344a7f5eSAndroid Build Coastguard Worker  }
881*344a7f5eSAndroid Build Coastguard Worker
882*344a7f5eSAndroid Build Coastguard Worker  public class SignerInfo {
883*344a7f5eSAndroid Build Coastguard Worker    ctor public SignerInfo();
884*344a7f5eSAndroid Build Coastguard Worker    method public java.util.ArrayList<java.security.cert.X509Certificate> getCertificateChain(sun.security.pkcs.PKCS7) throws java.io.IOException;
885*344a7f5eSAndroid Build Coastguard Worker  }
886*344a7f5eSAndroid Build Coastguard Worker
887*344a7f5eSAndroid Build Coastguard Worker}
888*344a7f5eSAndroid Build Coastguard Worker
889*344a7f5eSAndroid Build Coastguard Workerpackage sun.security.util {
890*344a7f5eSAndroid Build Coastguard Worker
891*344a7f5eSAndroid Build Coastguard Worker  public final class ObjectIdentifier implements java.io.Serializable {
892*344a7f5eSAndroid Build Coastguard Worker    ctor public ObjectIdentifier(String) throws java.io.IOException;
893*344a7f5eSAndroid Build Coastguard Worker  }
894*344a7f5eSAndroid Build Coastguard Worker
895*344a7f5eSAndroid Build Coastguard Worker}
896*344a7f5eSAndroid Build Coastguard Worker
897*344a7f5eSAndroid Build Coastguard Workerpackage sun.security.x509 {
898*344a7f5eSAndroid Build Coastguard Worker
899*344a7f5eSAndroid Build Coastguard Worker  public class AlgorithmId implements java.io.Serializable {
900*344a7f5eSAndroid Build Coastguard Worker    ctor public AlgorithmId(sun.security.util.ObjectIdentifier);
901*344a7f5eSAndroid Build Coastguard Worker    method public String getName();
902*344a7f5eSAndroid Build Coastguard Worker  }
903*344a7f5eSAndroid Build Coastguard Worker
904*344a7f5eSAndroid Build Coastguard Worker}
905*344a7f5eSAndroid Build Coastguard Worker
906