Lines Matching refs:final

9 …field @NonNull public static final android.os.Parcelable.Creator<android.net.CaptivePortal> CREATO…
24 …public static final class ConnectivityDiagnosticsManager.ConnectivityReport implements android.os.…
33 …field @NonNull public static final android.os.Parcelable.Creator<android.net.ConnectivityDiagnosti…
34 … field public static final String KEY_NETWORK_PROBES_ATTEMPTED_BITMASK = "networkProbesAttempted";
35 … field public static final String KEY_NETWORK_PROBES_SUCCEEDED_BITMASK = "networkProbesSucceeded";
36 field public static final String KEY_NETWORK_VALIDATION_RESULT = "networkValidationResult";
37 field public static final int NETWORK_PROBE_DNS = 4; // 0x4
38 field public static final int NETWORK_PROBE_FALLBACK = 32; // 0x20
39 field public static final int NETWORK_PROBE_HTTP = 8; // 0x8
40 field public static final int NETWORK_PROBE_HTTPS = 16; // 0x10
41 field public static final int NETWORK_PROBE_PRIVATE_DNS = 64; // 0x40
42 field public static final int NETWORK_VALIDATION_RESULT_INVALID = 0; // 0x0
43 field public static final int NETWORK_VALIDATION_RESULT_PARTIALLY_VALID = 2; // 0x2
44 field public static final int NETWORK_VALIDATION_RESULT_SKIPPED = 3; // 0x3
45 field public static final int NETWORK_VALIDATION_RESULT_VALID = 1; // 0x1
48 …public static final class ConnectivityDiagnosticsManager.DataStallReport implements android.os.Par…
58 …field @NonNull public static final android.os.Parcelable.Creator<android.net.ConnectivityDiagnosti…
59 field public static final int DETECTION_METHOD_DNS_EVENTS = 1; // 0x1
60 field public static final int DETECTION_METHOD_TCP_METRICS = 2; // 0x2
61 field public static final String KEY_DNS_CONSECUTIVE_TIMEOUTS = "dnsConsecutiveTimeouts";
62 …field public static final String KEY_TCP_METRICS_COLLECTION_PERIOD_MILLIS = "tcpMetricsCollectionP…
63 field public static final String KEY_TCP_PACKET_FAIL_RATE = "tcpPacketFailRate";
110 …field @Deprecated public static final String ACTION_BACKGROUND_DATA_SETTING_CHANGED = "android.net…
111 …field public static final String ACTION_CAPTIVE_PORTAL_SIGN_IN = "android.net.conn.CAPTIVE_PORTAL";
112 …field public static final String ACTION_RESTRICT_BACKGROUND_CHANGED = "android.net.conn.RESTRICT_B…
113 …field @Deprecated public static final String CONNECTIVITY_ACTION = "android.net.conn.CONNECTIVITY_…
114 field @Deprecated public static final int DEFAULT_NETWORK_PREFERENCE = 1; // 0x1
115 field public static final String EXTRA_CAPTIVE_PORTAL = "android.net.extra.CAPTIVE_PORTAL";
116 …field public static final String EXTRA_CAPTIVE_PORTAL_URL = "android.net.extra.CAPTIVE_PORTAL_URL";
117 field @Deprecated public static final String EXTRA_EXTRA_INFO = "extraInfo";
118 field @Deprecated public static final String EXTRA_IS_FAILOVER = "isFailover";
119 field public static final String EXTRA_NETWORK = "android.net.extra.NETWORK";
120 field @Deprecated public static final String EXTRA_NETWORK_INFO = "networkInfo";
121 field public static final String EXTRA_NETWORK_REQUEST = "android.net.extra.NETWORK_REQUEST";
122 field @Deprecated public static final String EXTRA_NETWORK_TYPE = "networkType";
123 field public static final String EXTRA_NO_CONNECTIVITY = "noConnectivity";
124 field @Deprecated public static final String EXTRA_OTHER_NETWORK_INFO = "otherNetwork";
125 field public static final String EXTRA_REASON = "reason";
126 field public static final int MULTIPATH_PREFERENCE_HANDOVER = 1; // 0x1
127 field public static final int MULTIPATH_PREFERENCE_PERFORMANCE = 4; // 0x4
128 field public static final int MULTIPATH_PREFERENCE_RELIABILITY = 2; // 0x2
129 field public static final int RESTRICT_BACKGROUND_STATUS_DISABLED = 1; // 0x1
130 field public static final int RESTRICT_BACKGROUND_STATUS_ENABLED = 3; // 0x3
131 field public static final int RESTRICT_BACKGROUND_STATUS_WHITELISTED = 2; // 0x2
132 field @Deprecated public static final int TYPE_BLUETOOTH = 7; // 0x7
133 field @Deprecated public static final int TYPE_DUMMY = 8; // 0x8
134 field @Deprecated public static final int TYPE_ETHERNET = 9; // 0x9
135 field @Deprecated public static final int TYPE_MOBILE = 0; // 0x0
136 field @Deprecated public static final int TYPE_MOBILE_DUN = 4; // 0x4
137 field @Deprecated public static final int TYPE_MOBILE_HIPRI = 5; // 0x5
138 field @Deprecated public static final int TYPE_MOBILE_MMS = 2; // 0x2
139 field @Deprecated public static final int TYPE_MOBILE_SUPL = 3; // 0x3
140 field @Deprecated public static final int TYPE_VPN = 17; // 0x11
141 field @Deprecated public static final int TYPE_WIFI = 1; // 0x1
142 field @Deprecated public static final int TYPE_WIMAX = 6; // 0x6
155 field public static final int FLAG_INCLUDE_LOCATION_INFO = 1; // 0x1
166 field @NonNull public static final android.os.Parcelable.Creator<android.net.DhcpInfo> CREATOR;
176 public final class DnsResolver {
182 field public static final int CLASS_IN = 1; // 0x1
183 field public static final int ERROR_PARSE = 0; // 0x0
184 field public static final int ERROR_SYSTEM = 1; // 0x1
185 field public static final int FLAG_EMPTY = 0; // 0x0
186 field public static final int FLAG_NO_CACHE_LOOKUP = 4; // 0x4
187 field public static final int FLAG_NO_CACHE_STORE = 2; // 0x2
188 field public static final int FLAG_NO_RETRY = 1; // 0x1
189 field public static final int TYPE_A = 1; // 0x1
190 field public static final int TYPE_AAAA = 28; // 0x1c
200 field public final int code;
208 public final class IpConfiguration implements android.os.Parcelable {
213 …field @NonNull public static final android.os.Parcelable.Creator<android.net.IpConfiguration> CREA…
216 public static final class IpConfiguration.Builder {
223 public final class IpPrefix implements android.os.Parcelable {
231 field @NonNull public static final android.os.Parcelable.Creator<android.net.IpPrefix> CREATOR;
241 … field @NonNull public static final android.os.Parcelable.Creator<android.net.LinkAddress> CREATOR;
244 public final class LinkProperties implements android.os.Parcelable {
270 …field @NonNull public static final android.os.Parcelable.Creator<android.net.LinkProperties> CREAT…
273 public final class MacAddress implements android.os.Parcelable {
284 field public static final android.net.MacAddress BROADCAST_ADDRESS;
285 … field @NonNull public static final android.os.Parcelable.Creator<android.net.MacAddress> CREATOR;
286 field public static final int TYPE_BROADCAST = 3; // 0x3
287 field public static final int TYPE_MULTICAST = 2; // 0x2
288 field public static final int TYPE_UNICAST = 1; // 0x1
304 field @NonNull public static final android.os.Parcelable.Creator<android.net.Network> CREATOR;
307 public final class NetworkCapabilities implements android.os.Parcelable {
324 …field @NonNull public static final android.os.Parcelable.Creator<android.net.NetworkCapabilities> …
325 field public static final int NET_CAPABILITY_CAPTIVE_PORTAL = 17; // 0x11
326 field public static final int NET_CAPABILITY_CBS = 5; // 0x5
327 field public static final int NET_CAPABILITY_DUN = 2; // 0x2
328 field public static final int NET_CAPABILITY_EIMS = 10; // 0xa
329 field public static final int NET_CAPABILITY_ENTERPRISE = 29; // 0x1d
330 field public static final int NET_CAPABILITY_FOREGROUND = 19; // 0x13
331 field public static final int NET_CAPABILITY_FOTA = 3; // 0x3
332 field public static final int NET_CAPABILITY_HEAD_UNIT = 32; // 0x20
333 field public static final int NET_CAPABILITY_IA = 7; // 0x7
334 field public static final int NET_CAPABILITY_IMS = 4; // 0x4
335 field public static final int NET_CAPABILITY_INTERNET = 12; // 0xc
336 …field @FlaggedApi("com.android.net.flags.net_capability_local_network") public static final int NE…
337 field public static final int NET_CAPABILITY_MCX = 23; // 0x17
338 field public static final int NET_CAPABILITY_MMS = 0; // 0x0
339 field public static final int NET_CAPABILITY_MMTEL = 33; // 0x21
340 …ndroid.net.flags.net_capability_not_bandwidth_constrained") public static final int NET_CAPABILITY…
341 field public static final int NET_CAPABILITY_NOT_CONGESTED = 20; // 0x14
342 field public static final int NET_CAPABILITY_NOT_METERED = 11; // 0xb
343 field public static final int NET_CAPABILITY_NOT_RESTRICTED = 13; // 0xd
344 field public static final int NET_CAPABILITY_NOT_ROAMING = 18; // 0x12
345 field public static final int NET_CAPABILITY_NOT_SUSPENDED = 21; // 0x15
346 field public static final int NET_CAPABILITY_NOT_VPN = 15; // 0xf
347 field public static final int NET_CAPABILITY_PRIORITIZE_BANDWIDTH = 35; // 0x23
348 field public static final int NET_CAPABILITY_PRIORITIZE_LATENCY = 34; // 0x22
349 field public static final int NET_CAPABILITY_RCS = 8; // 0x8
350 field public static final int NET_CAPABILITY_SUPL = 1; // 0x1
351 field public static final int NET_CAPABILITY_TEMPORARILY_NOT_METERED = 25; // 0x19
352 field public static final int NET_CAPABILITY_TRUSTED = 14; // 0xe
353 field public static final int NET_CAPABILITY_VALIDATED = 16; // 0x10
354 field public static final int NET_CAPABILITY_WIFI_P2P = 6; // 0x6
355 field public static final int NET_CAPABILITY_XCAP = 9; // 0x9
356 field public static final int NET_ENTERPRISE_ID_1 = 1; // 0x1
357 field public static final int NET_ENTERPRISE_ID_2 = 2; // 0x2
358 field public static final int NET_ENTERPRISE_ID_3 = 3; // 0x3
359 field public static final int NET_ENTERPRISE_ID_4 = 4; // 0x4
360 field public static final int NET_ENTERPRISE_ID_5 = 5; // 0x5
361 field public static final int SIGNAL_STRENGTH_UNSPECIFIED = -2147483648; // 0x80000000
362 field public static final int TRANSPORT_BLUETOOTH = 2; // 0x2
363 field public static final int TRANSPORT_CELLULAR = 0; // 0x0
364 field public static final int TRANSPORT_ETHERNET = 3; // 0x3
365 field public static final int TRANSPORT_LOWPAN = 6; // 0x6
366 …field @FlaggedApi("com.android.net.flags.support_transport_satellite") public static final int TRA…
367 field public static final int TRANSPORT_THREAD = 9; // 0x9
368 field public static final int TRANSPORT_USB = 8; // 0x8
369 field public static final int TRANSPORT_VPN = 4; // 0x4
370 field public static final int TRANSPORT_WIFI = 1; // 0x1
371 field public static final int TRANSPORT_WIFI_AWARE = 5; // 0x5
392 …field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.net.NetworkIn…
396 …enum_constant @Deprecated public static final android.net.NetworkInfo.DetailedState AUTHENTICATING;
397 enum_constant @Deprecated public static final android.net.NetworkInfo.DetailedState BLOCKED;
398 …enum_constant @Deprecated public static final android.net.NetworkInfo.DetailedState CAPTIVE_PORTAL…
399 enum_constant @Deprecated public static final android.net.NetworkInfo.DetailedState CONNECTED;
400 enum_constant @Deprecated public static final android.net.NetworkInfo.DetailedState CONNECTING;
401 … enum_constant @Deprecated public static final android.net.NetworkInfo.DetailedState DISCONNECTED;
402 … enum_constant @Deprecated public static final android.net.NetworkInfo.DetailedState DISCONNECTING;
403 enum_constant @Deprecated public static final android.net.NetworkInfo.DetailedState FAILED;
404 enum_constant @Deprecated public static final android.net.NetworkInfo.DetailedState IDLE;
405 …enum_constant @Deprecated public static final android.net.NetworkInfo.DetailedState OBTAINING_IPAD…
406 enum_constant @Deprecated public static final android.net.NetworkInfo.DetailedState SCANNING;
407 enum_constant @Deprecated public static final android.net.NetworkInfo.DetailedState SUSPENDED;
408 …enum_constant @Deprecated public static final android.net.NetworkInfo.DetailedState VERIFYING_POOR…
412 enum_constant @Deprecated public static final android.net.NetworkInfo.State CONNECTED;
413 enum_constant @Deprecated public static final android.net.NetworkInfo.State CONNECTING;
414 enum_constant @Deprecated public static final android.net.NetworkInfo.State DISCONNECTED;
415 enum_constant @Deprecated public static final android.net.NetworkInfo.State DISCONNECTING;
416 enum_constant @Deprecated public static final android.net.NetworkInfo.State SUSPENDED;
417 enum_constant @Deprecated public static final android.net.NetworkInfo.State UNKNOWN;
430 …field @NonNull public static final android.os.Parcelable.Creator<android.net.NetworkRequest> CREAT…
467 field @NonNull public static final android.os.Parcelable.Creator<android.net.ProxyInfo> CREATOR;
470 public final class RouteInfo implements android.os.Parcelable {
480 field @NonNull public static final android.os.Parcelable.Creator<android.net.RouteInfo> CREATOR;
481 field public static final int RTN_THROW = 9; // 0x9
482 field public static final int RTN_UNICAST = 1; // 0x1
483 field public static final int RTN_UNREACHABLE = 7; // 0x7
487 method public final void close();
488 method public final void start(@IntRange(from=0xa, to=0xe10) int);
489 method public final void stop();
490 field public static final int ERROR_HARDWARE_ERROR = -31; // 0xffffffe1
491 field public static final int ERROR_INSUFFICIENT_RESOURCES = -32; // 0xffffffe0
492 field public static final int ERROR_INVALID_INTERVAL = -24; // 0xffffffe8
493 field public static final int ERROR_INVALID_IP_ADDRESS = -21; // 0xffffffeb
494 field public static final int ERROR_INVALID_LENGTH = -23; // 0xffffffe9
495 field public static final int ERROR_INVALID_NETWORK = -20; // 0xffffffec
496 field public static final int ERROR_INVALID_PORT = -22; // 0xffffffea
497 field public static final int ERROR_INVALID_SOCKET = -25; // 0xffffffe7
498 field public static final int ERROR_SOCKET_NOT_IDLE = -26; // 0xffffffe6
499 field public static final int ERROR_UNSUPPORTED = -30; // 0xffffffe2
510 public final class StaticIpConfiguration implements android.os.Parcelable {
517 …field @NonNull public static final android.os.Parcelable.Creator<android.net.StaticIpConfiguration…
520 public static final class StaticIpConfiguration.Builder {
552 field public static final int STREAM_PRIORITY_HIGHEST = 4; // 0x4
553 field public static final int STREAM_PRIORITY_IDLE = 0; // 0x0
554 field public static final int STREAM_PRIORITY_LOW = 2; // 0x2
555 field public static final int STREAM_PRIORITY_LOWEST = 1; // 0x1
556 field public static final int STREAM_PRIORITY_MEDIUM = 3; // 0x3
589 field public static final int MIGRATION_OPTION_DISABLED = 2; // 0x2
590 field public static final int MIGRATION_OPTION_ENABLED = 1; // 0x1
591 field public static final int MIGRATION_OPTION_UNSPECIFIED = 0; // 0x0
594 public static final class ConnectionMigrationOptions.Builder {
602 public final class DnsOptions {
609 field public static final int DNS_OPTION_DISABLED = 2; // 0x2
610 field public static final int DNS_OPTION_ENABLED = 1; // 0x1
611 field public static final int DNS_OPTION_UNSPECIFIED = 0; // 0x0
614 public static final class DnsOptions.Builder {
632 public static final class DnsOptions.StaleDnsOptions.Builder {
673 field public static final int HTTP_CACHE_DISABLED = 0; // 0x0
674 field public static final int HTTP_CACHE_DISK = 3; // 0x3
675 field public static final int HTTP_CACHE_DISK_NO_HTTP = 2; // 0x2
676 field public static final int HTTP_CACHE_IN_MEMORY = 1; // 0x1
683 …public final class InlineExecutionProhibitedException extends java.util.concurrent.RejectedExecuti…
691 field public static final int ERROR_ADDRESS_UNREACHABLE = 9; // 0x9
692 field public static final int ERROR_CONNECTION_CLOSED = 5; // 0x5
693 field public static final int ERROR_CONNECTION_REFUSED = 7; // 0x7
694 field public static final int ERROR_CONNECTION_RESET = 8; // 0x8
695 field public static final int ERROR_CONNECTION_TIMED_OUT = 6; // 0x6
696 field public static final int ERROR_HOSTNAME_NOT_RESOLVED = 1; // 0x1
697 field public static final int ERROR_INTERNET_DISCONNECTED = 2; // 0x2
698 field public static final int ERROR_NETWORK_CHANGED = 3; // 0x3
699 field public static final int ERROR_OTHER = 11; // 0xb
700 field public static final int ERROR_QUIC_PROTOCOL_FAILED = 10; // 0xa
701 field public static final int ERROR_TIMED_OUT = 4; // 0x4
716 public static final class QuicOptions.Builder {
757 field public static final int REQUEST_PRIORITY_HIGHEST = 4; // 0x4
758 field public static final int REQUEST_PRIORITY_IDLE = 0; // 0x0
759 field public static final int REQUEST_PRIORITY_LOW = 2; // 0x2
760 field public static final int REQUEST_PRIORITY_LOWEST = 1; // 0x1
761 field public static final int REQUEST_PRIORITY_MEDIUM = 3; // 0x3
787 field public static final int CONNECTING = 10; // 0xa
788 field public static final int DOWNLOADING_PAC_FILE = 5; // 0x5
789 field public static final int ESTABLISHING_PROXY_TUNNEL = 8; // 0x8
790 field public static final int IDLE = 0; // 0x0
791 field public static final int INVALID = -1; // 0xffffffff
792 field public static final int READING_RESPONSE = 14; // 0xe
793 field public static final int RESOLVING_HOST = 9; // 0x9
794 field public static final int RESOLVING_HOST_IN_PAC_FILE = 7; // 0x7
795 field public static final int RESOLVING_PROXY_FOR_URL = 6; // 0x6
796 field public static final int SENDING_REQUEST = 12; // 0xc
797 field public static final int SSL_HANDSHAKE = 11; // 0xb
798 field public static final int WAITING_FOR_AVAILABLE_SOCKET = 2; // 0x2
799 field public static final int WAITING_FOR_CACHE = 4; // 0x4
800 field public static final int WAITING_FOR_DELEGATE = 3; // 0x3
801 field public static final int WAITING_FOR_RESPONSE = 13; // 0xd
802 field public static final int WAITING_FOR_STALLED_SOCKET_POOL = 1; // 0x1