Remi NGUYEN VAN | f15fc7f | 2021-01-28 13:37:03 +0900 | [diff] [blame^] | 1 | // Signature format: 2.0 |
| 2 | package android.net { |
| 3 | |
| 4 | public final class ConnectivityFrameworkInitializer { |
| 5 | method public static void registerServiceWrappers(); |
| 6 | } |
| 7 | |
| 8 | public class ConnectivityManager { |
| 9 | method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void registerSystemDefaultNetworkCallback(@NonNull android.net.ConnectivityManager.NetworkCallback, @NonNull android.os.Handler); |
| 10 | 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, @Nullable android.os.Handler, @NonNull android.net.ConnectivityManager.NetworkCallback); |
| 11 | 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); |
| 12 | } |
| 13 | |
| 14 | public final class NetworkAgentConfig implements android.os.Parcelable { |
| 15 | method @Nullable public String getSubscriberId(); |
| 16 | } |
| 17 | |
| 18 | public static final class NetworkAgentConfig.Builder { |
| 19 | method @NonNull public android.net.NetworkAgentConfig.Builder setSubscriberId(@Nullable String); |
| 20 | } |
| 21 | |
| 22 | public final class NetworkCapabilities implements android.os.Parcelable { |
| 23 | field public static final int TRANSPORT_TEST = 7; // 0x7 |
| 24 | } |
| 25 | |
| 26 | public final class Proxy { |
| 27 | method public static void setHttpProxyConfiguration(@Nullable android.net.ProxyInfo); |
| 28 | } |
| 29 | |
| 30 | public final class TcpRepairWindow { |
| 31 | ctor public TcpRepairWindow(int, int, int, int, int, int); |
| 32 | field public final int maxWindow; |
| 33 | field public final int rcvWnd; |
| 34 | field public final int rcvWndScale; |
| 35 | field public final int rcvWup; |
| 36 | field public final int sndWl1; |
| 37 | field public final int sndWnd; |
| 38 | } |
| 39 | |
| 40 | public final class TestNetworkInterface implements android.os.Parcelable { |
| 41 | ctor public TestNetworkInterface(@NonNull android.os.ParcelFileDescriptor, @NonNull String); |
| 42 | method public int describeContents(); |
| 43 | method @NonNull public android.os.ParcelFileDescriptor getFileDescriptor(); |
| 44 | method @NonNull public String getInterfaceName(); |
| 45 | method public void writeToParcel(@NonNull android.os.Parcel, int); |
| 46 | field @NonNull public static final android.os.Parcelable.Creator<android.net.TestNetworkInterface> CREATOR; |
| 47 | } |
| 48 | |
| 49 | public class TestNetworkManager { |
| 50 | method @NonNull public android.net.TestNetworkInterface createTapInterface(); |
| 51 | method @NonNull public android.net.TestNetworkInterface createTunInterface(@NonNull java.util.Collection<android.net.LinkAddress>); |
| 52 | method public void setupTestNetwork(@NonNull String, @NonNull android.os.IBinder); |
| 53 | method public void teardownTestNetwork(@NonNull android.net.Network); |
| 54 | field public static final String TEST_TAP_PREFIX = "testtap"; |
| 55 | } |
| 56 | |
| 57 | public final class VpnTransportInfo implements android.os.Parcelable android.net.TransportInfo { |
| 58 | ctor public VpnTransportInfo(int); |
| 59 | method public int describeContents(); |
| 60 | method public void writeToParcel(@NonNull android.os.Parcel, int); |
| 61 | field @NonNull public static final android.os.Parcelable.Creator<android.net.VpnTransportInfo> CREATOR; |
| 62 | field public final int type; |
| 63 | } |
| 64 | |
| 65 | } |
| 66 | |