Home
last modified time | relevance | path

Searched refs:getNetworkCapabilities (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java527 assertTrue(mDc.getNetworkCapabilities().hasCapability( in testConnectEventDuplicateContextIds()
552 assertTrue(mDc.getNetworkCapabilities().hasCapability( in testConnectEventNoDefaultData()
722 private NetworkCapabilities getNetworkCapabilities() throws Exception { in getNetworkCapabilities() method in DataConnectionTest
743 assertTrue("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability()
745 assertTrue("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability()
747 assertFalse("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability()
749 assertFalse("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability()
760 assertFalse("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability()
762 assertTrue("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability()
764 assertFalse("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability()
[all …]
DDcTrackerTest.java1104 .getNetworkCapabilities().hasCapability(NetworkCapabilities.NET_CAPABILITY_MMS)); in testTrySetupDataMmsAlwaysAllowedDataDisabled()
1106 .getNetworkCapabilities().hasCapability(NetworkCapabilities.NET_CAPABILITY_XCAP)); in testTrySetupDataMmsAlwaysAllowedDataDisabled()
1108 .getNetworkCapabilities().hasCapability( in testTrySetupDataMmsAlwaysAllowedDataDisabled()
1143 .getNetworkCapabilities().hasCapability(NetworkCapabilities.NET_CAPABILITY_MMS)); in testTrySetupDataMmsAlwaysAllowedDataDisabled()
1145 .getNetworkCapabilities().hasCapability(NetworkCapabilities.NET_CAPABILITY_XCAP)); in testTrySetupDataMmsAlwaysAllowedDataDisabled()
1147 .getNetworkCapabilities().hasCapability( in testTrySetupDataMmsAlwaysAllowedDataDisabled()
/frameworks/base/core/java/android/net/
DNetworkIdentity.java193 boolean roaming = !snapshot.getNetworkCapabilities().hasCapability( in buildNetworkIdentity()
195 boolean metered = !snapshot.getNetworkCapabilities().hasCapability( in buildNetworkIdentity()
198 final int oemManaged = getOemBitfield(snapshot.getNetworkCapabilities()); in buildNetworkIdentity()
201 networkId = snapshot.getNetworkCapabilities().getSsid(); in buildNetworkIdentity()
DNetworkStateSnapshot.java91 public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in NetworkStateSnapshot
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java1618 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), DataConnection.this); in updateLinkBandwidthsFromModem()
1643 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), DataConnection.this); in updateLinkBandwidthsFromBandwidthEstimator()
1827 public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in DataConnection
1987 .getNetworkCapabilities() in isVcnManaged()
1993 final NetworkCapabilities nc = getNetworkCapabilities(); in isValidationRequired()
2017 final NetworkCapabilities nc = getNetworkCapabilities(); in shouldSkip464Xlat()
2906 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), in enter()
2929 getNetworkCapabilities(), getLinkProperties()); in enter()
3009 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), in processMessage()
3043 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), in processMessage()
[all …]
DDcNetworkAgent.java106 dc.getNetworkCapabilities(), dc.getLinkProperties(), score, config, in DcNetworkAgent()
112 mNetworkCapabilities = dc.getNetworkCapabilities(); in DcNetworkAgent()
/frameworks/base/core/java/android/net/vcn/
DVcnUnderlyingNetworkPolicy.java71 return mVcnNetworkPolicyResult.getNetworkCapabilities(); in getMergedNetworkCapabilities()
DVcnNetworkPolicyResult.java71 public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in VcnNetworkPolicyResult
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DBaseWifiTracker.java176 mConnectivityManager.getNetworkCapabilities(network))) {
209 mConnectivityManager.getNetworkCapabilities(network))) {
338 .getNetworkCapabilities(mConnectivityManager.getActiveNetwork()); in onStart()
DStandardNetworkDetailsTracker.java134 mConnectivityManager.getNetworkCapabilities(currentNetwork)); in updateStartInfo()
DPasspointNetworkDetailsTracker.java151 mConnectivityManager.getNetworkCapabilities(currentNetwork)); in updateStartInfo()
DWifiPickerTracker.java221 mConnectivityManager.getNetworkCapabilities(currentNetwork)); in handleOnStart()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DProvisionObserver.java55 final NetworkCapabilities nc = connMgr.getNetworkCapabilities(nw); in onStartJob()
DCaptivePortalLoginActivity.java269 final NetworkCapabilities nc = mCm.getNetworkCapabilities(nw); in getNetworkForCaptivePortal()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java398 final NetworkCapabilities nc = mCallback.getNetworkCapabilities(netId); in getTransports()
451 public NetworkCapabilities getNetworkCapabilities(int netId) { in getNetworkCapabilities() method in NetdEventListenerService.TransportForNetIdNetworkCallback
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DConnectivityController.java852 private NetworkCapabilities getNetworkCapabilities(@Nullable Network network) { in getNetworkCapabilities() method in ConnectivityController
910 final NetworkCapabilities capabilities = getNetworkCapabilities(network); in updateConstraintsSatisfied()
981 final NetworkCapabilities netCap = getNetworkCapabilities(net); in updateTrackedJobsLocked()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java1307 getDisplayTransport(snapshot.getNetworkCapabilities().getTransportTypes());
1327 if (snapshot.getNetworkCapabilities().hasCapability(
1399 if (!state.getNetworkCapabilities().hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)) {
1403 final NetworkSpecifier spec = state.getNetworkCapabilities().getNetworkSpecifier();
1418 if (!state.getNetworkCapabilities().hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)) {
DNetworkPolicyManagerService.java2124 if (!snapshot.getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_METERED)) {
2168 if (!snapshot.getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_ROAMING)) {
5865 if (snapshot.getNetworkCapabilities().hasTransport(TRANSPORT_CELLULAR)) {
5866 NetworkSpecifier spec = snapshot.getNetworkCapabilities().getNetworkSpecifier();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java306 networkCapabilities = mConnectivityManager.getNetworkCapabilities( in updateStatusLabel()
DAccessPoint.java1684 NetworkCapabilities nc = cm.getNetworkCapabilities(wifiManager.getCurrentNetwork()); in getSummary()
/frameworks/layoutlib/bridge/src/android/net/
DConnectivityManager.java326 public NetworkCapabilities getNetworkCapabilities(@Nullable Network network) { in getNetworkCapabilities() method in ConnectivityManager
/frameworks/base/services/core/java/com/android/server/vcn/
DUnderlyingNetworkTracker.java735 private NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in UnderlyingNetworkTracker.Builder
/frameworks/base/services/core/java/com/android/server/locksettings/
DRebootEscrowManager.java258 connectivityManager.getNetworkCapabilities(activeNetwork); in isNetworkConnected()
/frameworks/base/core/api/
Dmodule-lib-current.txt199 method @NonNull public android.net.NetworkCapabilities getNetworkCapabilities();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhone.java3702 public NetworkCapabilities getNetworkCapabilities(String apnType) { in getNetworkCapabilities() method in Phone
3707 return getDcTracker(transportType).getNetworkCapabilities(apnType); in getNetworkCapabilities()

12