Lines Matching refs:android
2 package android.net {
9 …method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.net.Networ…
10 …android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_ST…
11 method @Nullable public android.net.ProxyInfo getGlobalProxy();
12 method @NonNull public static android.util.Range<java.lang.Integer> getIpSecNetIdRange();
13 …android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SE…
14 …android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SE…
15 …android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK, android.n…
17 …android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD, an…
18 …android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD, an…
19 …android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD, an…
20 …method @RequiresPermission(android.Manifest.permission.NETWORK_STACK) public void setGlobalProxy(@…
21 …resPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.…
22 …method @RequiresPermission(android.Manifest.permission.NETWORK_STACK) public void setProfileNetwor…
23 …android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_ST…
24 …android.Manifest.permission.MANAGE_TEST_NETWORKS, android.Manifest.permission.NETWORK_STACK}) publ…
25 …android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_STACK, android.n…
27 field public static final String ACTION_CLEAR_DNS_CACHE = "android.net.action.CLEAR_DNS_CACHE";
28 …field public static final String ACTION_PROMPT_LOST_VALIDATION = "android.net.action.PROMPT_LOST_V…
29 …field public static final String ACTION_PROMPT_PARTIAL_CONNECTIVITY = "android.net.action.PROMPT_P…
30 …field public static final String ACTION_PROMPT_UNVALIDATED = "android.net.action.PROMPT_UNVALIDATE…
46 method public void onBlockedStatusChanged(@NonNull android.net.Network, int);
50 method public static void clearGlobalProxy(@NonNull android.content.Context);
51 method @Nullable public static String getCaptivePortalHttpUrl(@NonNull android.content.Context);
52 method public static int getCaptivePortalMode(@NonNull android.content.Context, int);
53 …tic java.time.Duration getConnectivityKeepPendingIntentDuration(@NonNull android.content.Context, …
54 …method @NonNull public static android.util.Range<java.lang.Integer> getDnsResolverSampleRanges(@No…
55 … static java.time.Duration getDnsResolverSampleValidityDuration(@NonNull android.content.Context, …
56 …method public static int getDnsResolverSuccessThresholdPercent(@NonNull android.content.Context, i…
57 …method @Nullable public static android.net.ProxyInfo getGlobalProxy(@NonNull android.content.Conte…
58 …method @NonNull public static java.time.Duration getMobileDataActivityTimeout(@NonNull android.con…
59 method public static boolean getMobileDataAlwaysOn(@NonNull android.content.Context, boolean);
60 …atic java.util.Set<java.lang.Integer> getMobileDataPreferredUids(@NonNull android.content.Context);
61 method public static int getNetworkAvoidBadWifi(@NonNull android.content.Context);
62 …method @Nullable public static String getNetworkMeteredMultipathPreference(@NonNull android.conten…
63 …method public static int getNetworkSwitchNotificationMaximumDailyCount(@NonNull android.content.Co…
64 …tic java.time.Duration getNetworkSwitchNotificationRateDuration(@NonNull android.content.Context, …
65 method @NonNull public static String getPrivateDnsDefaultMode(@NonNull android.content.Context);
66 method @Nullable public static String getPrivateDnsHostname(@NonNull android.content.Context);
67 method public static int getPrivateDnsMode(@NonNull android.content.Context);
68 …a.util.Set<java.lang.Integer> getUidsAllowedOnRestrictedNetworks(@NonNull android.content.Context);
69 method public static boolean getWifiAlwaysRequested(@NonNull android.content.Context, boolean);
70 …method @NonNull public static java.time.Duration getWifiDataActivityTimeout(@NonNull android.conte…
71 …method public static void setCaptivePortalHttpUrl(@NonNull android.content.Context, @Nullable Stri…
72 method public static void setCaptivePortalMode(@NonNull android.content.Context, int);
73 …method public static void setConnectivityKeepPendingIntentDuration(@NonNull android.content.Contex…
74 … public static void setDnsResolverSampleRanges(@NonNull android.content.Context, @NonNull android.…
75 …method public static void setDnsResolverSampleValidityDuration(@NonNull android.content.Context, @…
76 …method public static void setDnsResolverSuccessThresholdPercent(@NonNull android.content.Context, …
77 …method public static void setGlobalProxy(@NonNull android.content.Context, @NonNull android.net.Pr…
78 …method public static void setMobileDataActivityTimeout(@NonNull android.content.Context, @NonNull …
79 method public static void setMobileDataAlwaysOn(@NonNull android.content.Context, boolean);
80 …method public static void setMobileDataPreferredUids(@NonNull android.content.Context, @NonNull ja…
81 method public static void setNetworkAvoidBadWifi(@NonNull android.content.Context, int);
82 …method public static void setNetworkMeteredMultipathPreference(@NonNull android.content.Context, @…
83 …method public static void setNetworkSwitchNotificationMaximumDailyCount(@NonNull android.content.C…
84 …method public static void setNetworkSwitchNotificationRateDuration(@NonNull android.content.Contex…
85 …method public static void setPrivateDnsDefaultMode(@NonNull android.content.Context, @NonNull int);
86 …method public static void setPrivateDnsHostname(@NonNull android.content.Context, @Nullable String…
87 method public static void setPrivateDnsMode(@NonNull android.content.Context, int);
88 …method public static void setUidsAllowedOnRestrictedNetworks(@NonNull android.content.Context, @No…
89 method public static void setWifiAlwaysRequested(@NonNull android.content.Context, boolean);
90 …method public static void setWifiDataActivityTimeout(@NonNull android.content.Context, @NonNull ja…
102 public final class NetworkAgentConfig implements android.os.Parcelable {
108 method @NonNull public android.net.NetworkAgentConfig.Builder setBypassableVpn(boolean);
109 method @NonNull public android.net.NetworkAgentConfig.Builder setSubscriberId(@Nullable String);
112 public final class NetworkCapabilities implements android.os.Parcelable {
113 method @Nullable public java.util.Set<android.util.Range<java.lang.Integer>> getUids();
124 …method @NonNull public android.net.NetworkCapabilities.Builder setUids(@Nullable java.util.Set<and…
127 public class NetworkRequest implements android.os.Parcelable {
133 method @NonNull public android.net.NetworkRequest.Builder addForbiddenCapability(int);
134 method @NonNull public android.net.NetworkRequest.Builder removeForbiddenCapability(int);
135 …method @NonNull public android.net.NetworkRequest.Builder setUids(@Nullable java.util.Set<android.…
138 public final class TestNetworkInterface implements android.os.Parcelable {
139 ctor public TestNetworkInterface(@NonNull android.os.ParcelFileDescriptor, @NonNull String);
141 method @NonNull public android.os.ParcelFileDescriptor getFileDescriptor();
143 method public void writeToParcel(@NonNull android.os.Parcel, int);
144 …field @NonNull public static final android.os.Parcelable.Creator<android.net.TestNetworkInterface>…
148 …method @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_TEST_NETWORKS) public andro…
149 …on(android.Manifest.permission.MANAGE_TEST_NETWORKS) public android.net.TestNetworkInterface creat…
150 …@RequiresPermission(android.Manifest.permission.MANAGE_TEST_NETWORKS) public void setupTestNetwork…
151 …method @RequiresPermission(android.Manifest.permission.MANAGE_TEST_NETWORKS) public void teardownT…
155 …public final class TestNetworkSpecifier extends android.net.NetworkSpecifier implements android.os…
159 method public void writeToParcel(@NonNull android.os.Parcel, int);
160 …field @NonNull public static final android.os.Parcelable.Creator<android.net.TestNetworkSpecifier>…
165 method @NonNull public default android.net.TransportInfo makeCopy(long);
168 public final class VpnTransportInfo implements android.os.Parcelable android.net.TransportInfo {
173 method @NonNull public android.net.VpnTransportInfo makeCopy(long);
174 method public void writeToParcel(@NonNull android.os.Parcel, int);
175 …field @NonNull public static final android.os.Parcelable.Creator<android.net.VpnTransportInfo> CRE…