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