Home
last modified time | relevance | path

Searched refs:net (Results 1 – 25 of 2160) sorted by relevance

12345678910>>...87

/frameworks/base/packages/Tethering/common/TetheringLib/api/
Dmodule-lib-lint-baseline.txt2 ActionValue: android.net.TetheringConstants#EXTRA_ADD_TETHER_TYPE:
3 Inconsistent extra value; expected `android.net.extra.ADD_TETHER_TYPE`, was `extraAddTetherType`
4 ActionValue: android.net.TetheringConstants#EXTRA_PROVISION_CALLBACK:
5 …Inconsistent extra value; expected `android.net.extra.PROVISION_CALLBACK`, was `extraProvisionCall…
6 ActionValue: android.net.TetheringConstants#EXTRA_REM_TETHER_TYPE:
7 Inconsistent extra value; expected `android.net.extra.REM_TETHER_TYPE`, was `extraRemTetherType`
8 ActionValue: android.net.TetheringConstants#EXTRA_RUN_PROVISION:
9 Inconsistent extra value; expected `android.net.extra.RUN_PROVISION`, was `extraRunProvision`
10 ActionValue: android.net.TetheringConstants#EXTRA_SET_ALARM:
11 Inconsistent extra value; expected `android.net.extra.SET_ALARM`, was `extraSetAlarm`
[all …]
Dsystem-lint-baseline.txt2 ActionValue: android.net.TetheringManager#ACTION_TETHER_STATE_CHANGED:
3 …Inconsistent action value; expected `android.net.action.TETHER_STATE_CHANGED`, was `android.net.co…
4 ActionValue: android.net.TetheringManager#EXTRA_ACTIVE_TETHER:
5 Inconsistent extra value; expected `android.net.extra.ACTIVE_TETHER`, was `tetherArray`
6 ActionValue: android.net.TetheringManager#EXTRA_AVAILABLE_TETHER:
7 Inconsistent extra value; expected `android.net.extra.AVAILABLE_TETHER`, was `availableArray`
8 ActionValue: android.net.TetheringManager#EXTRA_ERRORED_TETHER:
9 Inconsistent extra value; expected `android.net.extra.ERRORED_TETHER`, was `erroredArray`
12 CallbackInterface: android.net.TetheringManager.StartTetheringCallback:
14 CallbackInterface: android.net.TetheringManager.TetheringEventCallback:
[all …]
Dsystem-current.txt2 package android.net {
5 …ctor public TetheredClient(@NonNull android.net.MacAddress, @NonNull java.util.Collection<android.
7 method @NonNull public java.util.List<android.net.TetheredClient.AddressInfo> getAddresses();
8 method @NonNull public android.net.MacAddress getMacAddress();
11 …field @NonNull public static final android.os.Parcelable.Creator<android.net.TetheredClient> CREAT…
16 method @NonNull public android.net.LinkAddress getAddress();
19 …field @NonNull public static final android.os.Parcelable.Creator<android.net.TetheredClient.Addres…
23 …ringEventCallback(@NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.Te…
24 …ult(int, boolean, @NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.On…
25 …Tethering(@NonNull android.net.TetheringManager.TetheringRequest, @NonNull java.util.concurrent.Ex…
[all …]
/frameworks/base/services/net/
DAndroid.bp2 name: "services.net-sources",
9 name: "services.net",
11 ":net-module-utils-srcs",
12 ":services.net-sources",
18 "net-utils-services-common",
22 // Version of services.net for usage by the wifi mainline module.
25 // with dependencies moved to frameworks/libs/net right.
27 name: "services.net-module-wifi",
29 ":framework-services-net-module-wifi-shared-srcs",
30 ":net-module-utils-srcs",
[all …]
/frameworks/base/api/
Dmodule-lib-lint-baseline.txt2 ActionValue: android.net.TetheringConstants#EXTRA_ADD_TETHER_TYPE:
3 Inconsistent extra value; expected `android.net.extra.ADD_TETHER_TYPE`, was `extraAddTetherType`
4 ActionValue: android.net.TetheringConstants#EXTRA_PROVISION_CALLBACK:
5 …Inconsistent extra value; expected `android.net.extra.PROVISION_CALLBACK`, was `extraProvisionCall…
6 ActionValue: android.net.TetheringConstants#EXTRA_REM_TETHER_TYPE:
7 Inconsistent extra value; expected `android.net.extra.REM_TETHER_TYPE`, was `extraRemTetherType`
8 ActionValue: android.net.TetheringConstants#EXTRA_RUN_PROVISION:
9 Inconsistent extra value; expected `android.net.extra.RUN_PROVISION`, was `extraRunProvision`
10 ActionValue: android.net.TetheringConstants#EXTRA_SET_ALARM:
11 Inconsistent extra value; expected `android.net.extra.SET_ALARM`, was `extraSetAlarm`
[all …]
/frameworks/base/tests/net/integration/util/com/android/server/
DConnectivityServiceTestUtils.kt19 import android.net.ConnectivityManager.TYPE_BLUETOOTH
20 import android.net.ConnectivityManager.TYPE_ETHERNET
21 import android.net.ConnectivityManager.TYPE_MOBILE
22 import android.net.ConnectivityManager.TYPE_NONE
23 import android.net.ConnectivityManager.TYPE_TEST
24 import android.net.ConnectivityManager.TYPE_VPN
25 import android.net.ConnectivityManager.TYPE_WIFI
26 import android.net.NetworkCapabilities.TRANSPORT_BLUETOOTH
27 import android.net.NetworkCapabilities.TRANSPORT_CELLULAR
28 import android.net.NetworkCapabilities.TRANSPORT_ETHERNET
[all …]
DNetworkAgentWrapper.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED;
20 import static android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN;
21 import static android.net.NetworkCapabilities.TRANSPORT_CELLULAR;
22 import static android.net.NetworkCapabilities.TRANSPORT_ETHERNET;
23 import static android.net.NetworkCapabilities.TRANSPORT_VPN;
24 import static android.net.NetworkCapabilities.TRANSPORT_WIFI;
25 import static android.net.NetworkCapabilities.TRANSPORT_WIFI_AWARE;
35 import android.net.ConnectivityManager;
36 import android.net.LinkProperties;
37 import android.net.Network;
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLastResortWatchdogTest.java25 import android.net.wifi.WifiConfiguration;
26 import android.net.wifi.WifiInfo;
27 import android.net.wifi.WifiSsid;
312 int net = 0; in testFailureCounting_countFailuresForSingleBssid() local
314 mLastResortWatchdog.noteConnectionFailureAndTriggerIfNeeded(mSsids[net], mBssids[net], in testFailureCounting_countFailuresForSingleBssid()
317 .get(mBssids[net]).associationRejection); in testFailureCounting_countFailuresForSingleBssid()
319 net = 1; in testFailureCounting_countFailuresForSingleBssid()
321 mLastResortWatchdog.noteConnectionFailureAndTriggerIfNeeded(mSsids[net], mBssids[net], in testFailureCounting_countFailuresForSingleBssid()
324 .get(mBssids[net]).authenticationFailure); in testFailureCounting_countFailuresForSingleBssid()
326 net = 2; in testFailureCounting_countFailuresForSingleBssid()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpnIkev2Utils.java19 import static android.net.ConnectivityManager.NetworkCallback;
20 import static android.net.ipsec.ike.SaProposal.DH_GROUP_2048_BIT_MODP;
21 import static android.net.ipsec.ike.SaProposal.ENCRYPTION_ALGORITHM_AES_CBC;
22 import static android.net.ipsec.ike.SaProposal.ENCRYPTION_ALGORITHM_AES_GCM_12;
23 import static android.net.ipsec.ike.SaProposal.ENCRYPTION_ALGORITHM_AES_GCM_16;
24 import static android.net.ipsec.ike.SaProposal.ENCRYPTION_ALGORITHM_AES_GCM_8;
25 import static android.net.ipsec.ike.SaProposal.INTEGRITY_ALGORITHM_AES_XCBC_96;
26 import static android.net.ipsec.ike.SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA2_256_128;
27 import static android.net.ipsec.ike.SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA2_384_192;
28 import static android.net.ipsec.ike.SaProposal.INTEGRITY_ALGORITHM_HMAC_SHA2_512_256;
[all …]
/frameworks/libs/net/common/
Djarjar-rules-shared.txt2 rule android.net.util.IpRange* com.android.net.module.util.IpRange@1
3 rule android.net.util.MacAddressUtils* com.android.net.module.util.MacAddressUtils@1
4 rule android.net.util.LinkPropertiesUtils* com.android.net.module.util.LinkPropertiesUtils@1
5 rule android.net.util.NetUtils* com.android.net.module.util.NetUtils@1
6 rule android.net.util.nsd.** com.android.net.module.util.nsd.@1
7 rule android.annotation.** com.android.net.module.annotation.@1
8 rule com.android.internal.annotations.** com.android.net.module.annotation.@1
DAndroid.bp15 // 1. The "net-utils-framework-common" library is also compiled into the framework and placed on the
18 // 2. The "net-utils-services-common" library is for use by modules and frameworks/base/services.
20 // 3. The "net-utils-telephony-common-srcs" filegroup is for use specifically by telephony, which
31 name: "net-utils-device-common",
48 "//frameworks/opt/net/ike",
49 "//frameworks/opt/net/wifi/service",
50 "//frameworks/opt/net/telephony",
53 "//frameworks/libs/net/common/tests:__subpackages__",
61 // Consider using net-tests-utils instead if writing device code.
64 name: "net-tests-utils-host-device-common",
[all …]
/frameworks/libs/net/common/tests/unit/
Djarjar-rules.txt2 rule android.net.util.IpRange* com.android.net.module.util.IpRange@1
3 rule android.net.util.MacAddressUtils* com.android.net.module.util.MacAddressUtils@1
4 rule android.net.util.LinkPropertiesUtils* com.android.net.module.util.LinkPropertiesUtils@1
5 rule android.net.util.NetUtils* com.android.net.module.util.NetUtils@1
6 rule android.net.util.nsd.** com.android.net.module.util.nsd.@1
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsBaseTest.java17 package com.android.server.net;
19 import static android.net.NetworkStats.DEFAULT_NETWORK_ALL;
20 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
21 import static android.net.NetworkStats.DEFAULT_NETWORK_YES;
22 import static android.net.NetworkStats.METERED_ALL;
23 import static android.net.NetworkStats.METERED_NO;
24 import static android.net.NetworkStats.METERED_YES;
25 import static android.net.NetworkStats.ROAMING_ALL;
26 import static android.net.NetworkStats.ROAMING_NO;
27 import static android.net.NetworkStats.ROAMING_YES;
[all …]
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java21 import android.net.INetworkStatsService;
22 import android.net.INetworkStatsSession;
23 import android.net.NetworkStatsHistory;
24 import android.net.NetworkTemplate;
25 import android.net.TrafficStats;
68 private int mTag = android.net.NetworkStats.TAG_NONE;
85 private android.net.NetworkStats mSummary = null;
100 private android.net.NetworkStats.Entry mRecycledSummaryEntry = null;
161 public static final int UID_ALL = android.net.NetworkStats.UID_ALL;
266 public static final int TAG_NONE = android.net.NetworkStats.TAG_NONE;
[all …]
/frameworks/base/core/java/android/net/
DINetworkStatsService.aidl17 package android.net;
19 import android.net.DataUsageRequest;
20 import android.net.INetworkStatsSession;
21 import android.net.Network;
22 import android.net.NetworkState;
23 import android.net.NetworkStats;
24 import android.net.NetworkStatsHistory;
25 import android.net.NetworkTemplate;
26 import android.net.netstats.provider.INetworkStatsProvider;
27 import android.net.netstats.provider.INetworkStatsProviderCallback;
[all …]
DPacProxySelector.java17 package android.net;
22 import com.android.net.IProxyService;
26 import java.net.InetSocketAddress;
27 import java.net.MalformedURLException;
28 import java.net.Proxy;
29 import java.net.Proxy.Type;
30 import java.net.ProxySelector;
31 import java.net.SocketAddress;
32 import java.net.URI;
33 import java.net.URISyntaxException;
[all …]
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkPolicyManagerTest.java17 package android.net;
19 import static android.net.NetworkPolicyManager.MASK_ALL_NETWORKS;
20 import static android.net.NetworkPolicyManager.MASK_METERED_NETWORKS;
21 import static android.net.NetworkPolicyManager.POLICY_ALLOW_METERED_BACKGROUND;
22 import static android.net.NetworkPolicyManager.POLICY_NONE;
23 import static android.net.NetworkPolicyManager.POLICY_REJECT_METERED_BACKGROUND;
24 import static android.net.NetworkPolicyManager.RULE_ALLOW_ALL;
25 import static android.net.NetworkPolicyManager.RULE_ALLOW_METERED;
26 import static android.net.NetworkPolicyManager.RULE_NONE;
27 import static android.net.NetworkPolicyManager.RULE_REJECT_ALL;
[all …]
DSSLSessionCacheTest.java17 package android.net;
29 import javax.net.ssl.KeyManager;
30 import javax.net.ssl.SSLContext;
31 import javax.net.ssl.SSLContextSpi;
32 import javax.net.ssl.SSLEngine;
33 import javax.net.ssl.SSLServerSocketFactory;
34 import javax.net.ssl.SSLSessionContext;
35 import javax.net.ssl.SSLSocketFactory;
36 import javax.net.ssl.TrustManager;
/frameworks/base/tests/net/java/android/app/usage/
DNetworkStatsManagerTest.java33 import android.net.ConnectivityManager;
34 import android.net.INetworkStatsService;
35 import android.net.INetworkStatsSession;
36 import android.net.NetworkStats.Entry;
37 import android.net.NetworkStatsHistory;
38 import android.net.NetworkTemplate;
80 android.net.NetworkStats.SET_DEFAULT, android.net.NetworkStats.TAG_NONE, in testQueryDetails()
85 android.net.NetworkStats.SET_DEFAULT, android.net.NetworkStats.TAG_NONE, in testQueryDetails()
89 android.net.NetworkStats.SET_DEFAULT, android.net.NetworkStats.TAG_NONE, in testQueryDetails()
94 android.net.NetworkStats.SET_DEFAULT, android.net.NetworkStats.TAG_NONE, in testQueryDetails()
[all …]
/frameworks/base/packages/Tethering/common/TetheringLib/
DAndroid.bp38 permitted_packages: ["android.net"],
44 "src/android/net/TetheredClient.aidl",
45 "src/android/net/TetheredClient.java",
46 "src/android/net/TetheringManager.java",
47 "src/android/net/TetheringConstants.java",
48 "src/android/net/IIntResultListener.aidl",
49 "src/android/net/ITetheringEventCallback.aidl",
50 "src/android/net/ITetheringConnector.aidl",
51 "src/android/net/TetheringCallbackStartedParcel.aidl",
52 "src/android/net/TetheringConfigurationParcel.aidl",
[all …]
/frameworks/base/services/core/java/com/android/server/
DTestNetworkService.java19 import static android.net.TestNetworkManager.TEST_TAP_PREFIX;
20 import static android.net.TestNetworkManager.TEST_TUN_PREFIX;
25 import android.net.ConnectivityManager;
26 import android.net.INetd;
27 import android.net.ITestNetworkManager;
28 import android.net.IpPrefix;
29 import android.net.LinkAddress;
30 import android.net.LinkProperties;
31 import android.net.NetworkAgent;
32 import android.net.NetworkCapabilities;
[all …]
/frameworks/libs/net/common/devicetests/com/android/testutils/
DTestableNetworkCallback.kt19 import android.net.ConnectivityManager.NetworkCallback
20 import android.net.LinkProperties
21 import android.net.Network
22 import android.net.NetworkCapabilities
23 import android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED
24 import com.android.net.module.util.ArrayTrackRecord
216 net: Network, in expectCapabilitiesThat()
220 return expectCallback<CapabilitiesChanged>(net, tmt).also { in expectCapabilitiesThat()
226 net: Network, in expectLinkPropertiesThat()
230 return expectCallback<LinkPropertiesChanged>(net, tmt).also { in expectLinkPropertiesThat()
[all …]
DTestNetworkTracker.kt20 import android.net.ConnectivityManager
21 import android.net.ConnectivityManager.NetworkCallback
22 import android.net.LinkAddress
23 import android.net.Network
24 import android.net.NetworkCapabilities
25 import android.net.NetworkRequest
26 import android.net.StringNetworkSpecifier
27 import android.net.TestNetworkInterface
28 import android.net.TestNetworkManager
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl17 package android.net.wifi;
21 import android.net.wifi.hotspot2.OsuProvider;
22 import android.net.wifi.hotspot2.PasspointConfiguration;
23 import android.net.wifi.hotspot2.IProvisioningCallback;
25 import android.net.DhcpInfo;
26 import android.net.Network;
27 import android.net.wifi.IDppCallback;
28 import android.net.wifi.INetworkRequestMatchCallback;
29 import android.net.wifi.ISoftApCallback;
30 import android.net.wifi.ITrafficStateCallback;
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java13 import static android.net.NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL;
14 import static android.net.NetworkCapabilities.NET_CAPABILITY_PARTIAL_CONNECTIVITY;
15 import static android.net.NetworkCapabilities.NET_CAPABILITY_VALIDATED;
19 import android.net.ConnectivityManager;
20 import android.net.Network;
21 import android.net.NetworkCapabilities;
22 import android.net.NetworkInfo;
23 import android.net.NetworkKey;
24 import android.net.NetworkRequest;
25 import android.net.NetworkScoreManager;
[all …]

12345678910>>...87