Lines Matching refs:net
2 package android.net {
19 method @Nullable public android.net.Uri getUserPortalUrl();
22 method @Nullable public android.net.Uri getVenueInfoUrl();
29 …field @NonNull public static final android.os.Parcelable.Creator<android.net.CaptivePortalData> CR…
34 ctor public CaptivePortalData.Builder(@Nullable android.net.CaptivePortalData);
35 method @NonNull public android.net.CaptivePortalData build();
36 method @NonNull public android.net.CaptivePortalData.Builder setBytesRemaining(long);
37 method @NonNull public android.net.CaptivePortalData.Builder setCaptive(boolean);
38 method @NonNull public android.net.CaptivePortalData.Builder setExpiryTime(long);
39 method @NonNull public android.net.CaptivePortalData.Builder setRefreshTime(long);
40 method @NonNull public android.net.CaptivePortalData.Builder setSessionExtendable(boolean);
41 …method @NonNull public android.net.CaptivePortalData.Builder setUserPortalUrl(@Nullable android.ne…
42 …method @NonNull public android.net.CaptivePortalData.Builder setUserPortalUrl(@Nullable android.ne…
43 …method @NonNull public android.net.CaptivePortalData.Builder setVenueFriendlyName(@Nullable CharSe…
44 …method @NonNull public android.net.CaptivePortalData.Builder setVenueInfoUrl(@Nullable android.net…
45 …method @NonNull public android.net.CaptivePortalData.Builder setVenueInfoUrl(@Nullable android.net…
49 …net.SocketKeepalive createNattKeepalive(@NonNull android.net.Network, @NonNull android.os.ParcelFi…
50 …net.SocketKeepalive createSocketKeepalive(@NonNull android.net.Network, @NonNull java.net.Socket, …
52 …ult(int, boolean, @NonNull java.util.concurrent.Executor, @NonNull android.net.ConnectivityManager…
54 …net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_FACTORY}) …
55 …registerQosCallback(@NonNull android.net.QosSocketInfo, @NonNull java.util.concurrent.Executor, @N…
56 …ringEventCallback(@NonNull java.util.concurrent.Executor, @NonNull android.net.ConnectivityManager…
57 …net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public void requestNetwork(@NonNull android.ne…
59 …D_NETWORK_PREFERENCE) public void setOemNetworkPreference(@NonNull android.net.OemNetworkPreferenc…
60 …method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, andr…
61 …iresPermission(android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK) public void startCaptiv…
62 …ission.TETHER_PRIVILEGED) public void startTethering(int, boolean, android.net.ConnectivityManager…
63 …ission.TETHER_PRIVILEGED) public void startTethering(int, boolean, android.net.ConnectivityManager…
65 …net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_FACTORY}) …
66 method public void unregisterQosCallback(@NonNull android.net.QosCallback);
67 …_PRIVILEGED) public void unregisterTetheringEventCallback(@NonNull android.net.ConnectivityManager…
68 …field public static final String EXTRA_CAPTIVE_PORTAL_PROBE_SPEC = "android.net.extra.CAPTIVE_PORT…
69 …field public static final String EXTRA_CAPTIVE_PORTAL_USER_AGENT = "android.net.extra.CAPTIVE_PORT…
93 method @Deprecated public void onUpstreamChanged(@Nullable android.net.Network);
98 method @Nullable public java.net.InetAddress getDestinationAddress();
103 method @Nullable public java.net.InetAddress getSourceAddress();
106 … field @NonNull public static final android.os.Parcelable.Creator<android.net.DscpPolicy> CREATOR;
113 method @NonNull public android.net.DscpPolicy build();
114 …method @NonNull public android.net.DscpPolicy.Builder setDestinationAddress(@NonNull java.net.Inet…
115 …method @NonNull public android.net.DscpPolicy.Builder setDestinationPortRange(@NonNull android.uti…
116 method @NonNull public android.net.DscpPolicy.Builder setProtocol(int);
117 …method @NonNull public android.net.DscpPolicy.Builder setSourceAddress(@NonNull java.net.InetAddre…
118 method @NonNull public android.net.DscpPolicy.Builder setSourcePort(int);
131 ctor public IpConfiguration(@NonNull android.net.IpConfiguration);
132 method @NonNull public android.net.IpConfiguration.IpAssignment getIpAssignment();
133 method @NonNull public android.net.IpConfiguration.ProxySettings getProxySettings();
134 method public void setHttpProxy(@Nullable android.net.ProxyInfo);
135 method public void setIpAssignment(@NonNull android.net.IpConfiguration.IpAssignment);
136 method public void setProxySettings(@NonNull android.net.IpConfiguration.ProxySettings);
137 method public void setStaticIpConfiguration(@Nullable android.net.StaticIpConfiguration);
141 enum_constant public static final android.net.IpConfiguration.IpAssignment DHCP;
142 enum_constant public static final android.net.IpConfiguration.IpAssignment STATIC;
143 enum_constant public static final android.net.IpConfiguration.IpAssignment UNASSIGNED;
147 enum_constant public static final android.net.IpConfiguration.ProxySettings NONE;
148 enum_constant public static final android.net.IpConfiguration.ProxySettings PAC;
149 enum_constant public static final android.net.IpConfiguration.ProxySettings STATIC;
150 enum_constant public static final android.net.IpConfiguration.ProxySettings UNASSIGNED;
158 …a.net.InetAddress, @IntRange(from=0, to=65535) int, @NonNull java.net.InetAddress, @IntRange(from=…
159 method @NonNull public java.net.InetAddress getDstAddress();
162 method @NonNull public java.net.InetAddress getSrcAddress();
167 ctor public LinkAddress(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int, int, int);
168 …ctor public LinkAddress(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int, int, int, lo…
169 ctor public LinkAddress(@NonNull java.net.InetAddress, @IntRange(from=0, to=128) int);
177 method public boolean isSameAddressAs(@Nullable android.net.LinkAddress);
183 ctor public LinkProperties(@Nullable android.net.LinkProperties);
184 ctor public LinkProperties(@Nullable android.net.LinkProperties, boolean);
185 method public boolean addDnsServer(@NonNull java.net.InetAddress);
186 method public boolean addLinkAddress(@NonNull android.net.LinkAddress);
187 method public boolean addPcscfServer(@NonNull java.net.InetAddress);
188 method @NonNull public java.util.List<java.net.InetAddress> getAddresses();
190 method @NonNull public java.util.List<android.net.LinkAddress> getAllLinkAddresses();
191 method @NonNull public java.util.List<android.net.RouteInfo> getAllRoutes();
192 method @Nullable public android.net.Uri getCaptivePortalApiUrl();
193 method @Nullable public android.net.CaptivePortalData getCaptivePortalData();
194 method @NonNull public java.util.List<java.net.InetAddress> getPcscfServers();
196 method @NonNull public java.util.List<java.net.InetAddress> getValidatedPrivateDnsServers();
206 method public boolean isReachable(@NonNull java.net.InetAddress);
207 method public boolean removeDnsServer(@NonNull java.net.InetAddress);
208 method public boolean removeLinkAddress(@NonNull android.net.LinkAddress);
209 method public boolean removeRoute(@NonNull android.net.RouteInfo);
210 method public void setCaptivePortalApiUrl(@Nullable android.net.Uri);
211 method public void setCaptivePortalData(@Nullable android.net.CaptivePortalData);
212 method public void setPcscfServers(@NonNull java.util.Collection<java.net.InetAddress>);
216 …method public void setValidatedPrivateDnsServers(@NonNull java.util.Collection<java.net.InetAddres…
219 …public final class NattKeepalivePacketData extends android.net.KeepalivePacketData implements andr…
220 …alivePacketData(@NonNull java.net.InetAddress, int, @NonNull java.net.InetAddress, int, @NonNull b…
223 …field @NonNull public static final android.os.Parcelable.Creator<android.net.NattKeepalivePacketDa…
227 ctor public Network(@NonNull android.net.Network);
229 method @NonNull public android.net.Network getPrivateDnsBypassingCopy();
233 …ull android.net.NetworkCapabilities, @NonNull android.net.LinkProperties, int, @NonNull android.ne…
234 …net.NetworkCapabilities, @NonNull android.net.LinkProperties, @NonNull android.net.NetworkScore, @…
235 method @Nullable public android.net.Network getNetwork();
237 method public void onAddKeepalivePacketFilter(int, @NonNull android.net.KeepalivePacketData);
244 method public void onQosCallbackRegistered(int, @NonNull android.net.QosFilter);
249 … onStartSocketKeepalive(int, @NonNull java.time.Duration, @NonNull android.net.KeepalivePacketData…
251 method public void onValidationStatus(int, @Nullable android.net.Uri);
252 method @NonNull public android.net.Network register();
253 method public void sendAddDscpPolicy(@NonNull android.net.DscpPolicy);
254 method public void sendLinkProperties(@NonNull android.net.LinkProperties);
255 method public void sendNetworkCapabilities(@NonNull android.net.NetworkCapabilities);
256 method public void sendNetworkScore(@NonNull android.net.NetworkScore);
259 …method public final void sendQosSessionAvailable(int, int, @NonNull android.net.QosSessionAttribut…
267 method public void setUnderlyingNetworks(@Nullable java.util.List<android.net.Network>);
288 …field @NonNull public static final android.os.Parcelable.Creator<android.net.NetworkAgentConfig> C…
293 method @NonNull public android.net.NetworkAgentConfig build();
294 method @NonNull public android.net.NetworkAgentConfig.Builder setExplicitlySelected(boolean);
295 … method @NonNull public android.net.NetworkAgentConfig.Builder setLegacyExtraInfo(@NonNull String);
296 method @NonNull public android.net.NetworkAgentConfig.Builder setLegacySubType(int);
297 …method @NonNull public android.net.NetworkAgentConfig.Builder setLegacySubTypeName(@NonNull String…
298 method @NonNull public android.net.NetworkAgentConfig.Builder setLegacyType(int);
299 … method @NonNull public android.net.NetworkAgentConfig.Builder setLegacyTypeName(@NonNull String);
300 method @NonNull public android.net.NetworkAgentConfig.Builder setNat64DetectionEnabled(boolean);
301 …method @NonNull public android.net.NetworkAgentConfig.Builder setPartialConnectivityAcceptable(boo…
302 …method @NonNull public android.net.NetworkAgentConfig.Builder setProvisioningNotificationEnabled(b…
303 …method @NonNull public android.net.NetworkAgentConfig.Builder setUnvalidatedConnectivityAcceptable…
311 method @Nullable public java.util.List<android.net.Network> getUnderlyingNetworks();
313 method public boolean satisfiedByNetworkCapabilities(@Nullable android.net.NetworkCapabilities);
325 ctor public NetworkCapabilities.Builder(@NonNull android.net.NetworkCapabilities);
326 method @NonNull public android.net.NetworkCapabilities.Builder addCapability(int);
327 method @NonNull public android.net.NetworkCapabilities.Builder addEnterpriseId(int);
328 method @NonNull public android.net.NetworkCapabilities.Builder addTransportType(int);
329 method @NonNull public android.net.NetworkCapabilities build();
330 method @NonNull public android.net.NetworkCapabilities.Builder removeCapability(int);
331 method @NonNull public android.net.NetworkCapabilities.Builder removeEnterpriseId(int);
332 method @NonNull public android.net.NetworkCapabilities.Builder removeTransportType(int);
333 …iresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities…
334 …method @NonNull public android.net.NetworkCapabilities.Builder setLinkDownstreamBandwidthKbps(int);
335 … method @NonNull public android.net.NetworkCapabilities.Builder setLinkUpstreamBandwidthKbps(int);
336 …method @NonNull public android.net.NetworkCapabilities.Builder setNetworkSpecifier(@Nullable andro…
337 …iresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities…
338 …iresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities…
339 …iresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities…
340 …android.Manifest.permission.NETWORK_SIGNAL_STRENGTH_WAKEUP) public android.net.NetworkCapabilities…
341 …iresPermission(android.Manifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities…
342 …method @NonNull public android.net.NetworkCapabilities.Builder setSubscriptionIds(@NonNull java.ut…
343 …method @NonNull public android.net.NetworkCapabilities.Builder setTransportInfo(@Nullable android.…
344 …ETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setUnderlyingNetworks(@Nullable jav…
345 …method @NonNull public static android.net.NetworkCapabilities.Builder withoutDefaultCapabilities();
350 …TWORK_FACTORY) public void declareNetworkRequestUnfulfillable(@NonNull android.net.NetworkRequest);
352 method public void onNetworkRequestWithdrawn(@NonNull android.net.NetworkRequest);
353 …method public void onNetworkRequested(@NonNull android.net.NetworkRequest, @IntRange(from=0, to=99…
354 …NonNull android.net.NetworkScore, @NonNull android.net.NetworkCapabilities, @NonNull java.util.con…
355 …ssion.NETWORK_FACTORY) public void unregisterNetworkOffer(@NonNull android.net.NetworkProvider.Net…
360 method public void onNetworkNeeded(@NonNull android.net.NetworkRequest);
361 method public void onNetworkUnneeded(@NonNull android.net.NetworkRequest);
374 …android.Manifest.permission.NETWORK_SIGNAL_STRENGTH_WAKEUP) public android.net.NetworkRequest.Buil…
384 …field @NonNull public static final android.os.Parcelable.Creator<android.net.NetworkScore> CREATOR;
391 method @NonNull public android.net.NetworkScore build();
392 method @NonNull public android.net.NetworkScore.Builder setExiting(boolean);
393 method @NonNull public android.net.NetworkScore.Builder setKeepConnectedReason(int);
394 method @NonNull public android.net.NetworkScore.Builder setLegacyInt(int);
395 method @NonNull public android.net.NetworkScore.Builder setTransportPrimary(boolean);
402 …field @NonNull public static final android.os.Parcelable.Creator<android.net.OemNetworkPreferences…
412 ctor public OemNetworkPreferences.Builder(@NonNull android.net.OemNetworkPreferences);
413 …method @NonNull public android.net.OemNetworkPreferences.Builder addNetworkPreference(@NonNull Str…
414 method @NonNull public android.net.OemNetworkPreferences build();
415 …method @NonNull public android.net.OemNetworkPreferences.Builder clearNetworkPreference(@NonNull S…
420 method public void onError(@NonNull android.net.QosCallbackException);
421 …method public void onQosSessionAvailable(@NonNull android.net.QosSession, @NonNull android.net.Qos…
422 method public void onQosSessionLost(@NonNull android.net.QosSession);
434 method @NonNull public abstract android.net.Network getNetwork();
435 method public abstract boolean matchesLocalAddress(@NonNull java.net.InetAddress, int, int);
437 method public abstract boolean matchesRemoteAddress(@NonNull java.net.InetAddress, int, int);
447 … field @NonNull public static final android.os.Parcelable.Creator<android.net.QosSession> CREATOR;
456 …ctor public QosSocketInfo(@NonNull android.net.Network, @NonNull java.net.Socket) throws java.io.I…
457 …ctor public QosSocketInfo(@NonNull android.net.Network, @NonNull java.net.DatagramSocket) throws j…
459 method @NonNull public java.net.InetSocketAddress getLocalSocketAddress();
460 method @NonNull public android.net.Network getNetwork();
461 method @Nullable public java.net.InetSocketAddress getRemoteSocketAddress();
463 …field @NonNull public static final android.os.Parcelable.Creator<android.net.QosSocketInfo> CREATO…
467 …ctor public RouteInfo(@Nullable android.net.IpPrefix, @Nullable java.net.InetAddress, @Nullable St…
468 …ctor public RouteInfo(@Nullable android.net.IpPrefix, @Nullable java.net.InetAddress, @Nullable St…
473 …method public final void start(@IntRange(from=0xa, to=0xe10) int, int, @Nullable android.net.Netwo…
497 ctor public StaticIpConfiguration(@Nullable android.net.StaticIpConfiguration);
498 method public void addDnsServer(@NonNull java.net.InetAddress);
500 method @NonNull public java.util.List<android.net.RouteInfo> getRoutes(@Nullable String);
503 …public final class TcpKeepalivePacketData extends android.net.KeepalivePacketData implements andro…
504 …(@NonNull java.net.InetAddress, int, @NonNull java.net.InetAddress, int, @NonNull byte[], int, int…
513 …field @NonNull public static final android.os.Parcelable.Creator<android.net.TcpKeepalivePacketDat…
516 public final class VpnTransportInfo implements android.os.Parcelable android.net.TransportInfo {
523 …field @NonNull public static final android.os.Parcelable.Creator<android.net.VpnTransportInfo> CRE…
528 package android.net.apf {
537 … field public static final android.os.Parcelable.Creator<android.net.apf.ApfCapabilities> CREATOR;