/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataConnectionTest.java | 567 private NetworkCapabilities getNetworkCapabilities() throws Exception { in getNetworkCapabilities() method in DataConnectionTest 588 assertTrue("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability() 590 assertTrue("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability() 592 assertFalse("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability() 605 assertFalse("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability() 607 assertTrue("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability() 609 assertFalse("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability() 623 assertFalse(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_METERED)); in testMeteredCapability() 624 assertFalse(getNetworkCapabilities().hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED)); in testMeteredCapability() 638 assertTrue(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_METERED)); in testNonMeteredCapability() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataConnection.java | 1216 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), DataConnection.this); in updateLinkBandwidthsFromModem() 1340 public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in DataConnection 1466 final NetworkCapabilities nc = getNetworkCapabilities(); in isValidationRequired() 1490 final NetworkCapabilities nc = getNetworkCapabilities(); in shouldSkip464Xlat() 2205 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), in enter() 2296 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), in processMessage() 2329 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), in processMessage() 2381 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), in processMessage() 2396 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), in processMessage() 2414 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), in processMessage() [all …]
|
D | DcNetworkAgent.java | 89 dc.getNetworkCapabilities(), dc.getLinkProperties(), score, config, in DcNetworkAgent() 95 mNetworkCapabilities = dc.getNetworkCapabilities(); in DcNetworkAgent()
|
D | DcTracker.java | 1065 public NetworkCapabilities getNetworkCapabilities(String apnType) { in getNetworkCapabilities() method in DcTracker 1073 return dataConnection.getNetworkCapabilities(); in getNetworkCapabilities()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | ProvisionObserver.java | 55 final NetworkCapabilities nc = connMgr.getNetworkCapabilities(nw); in onStartJob()
|
D | CaptivePortalLoginActivity.java | 270 final NetworkCapabilities nc = mCm.getNetworkCapabilities(nw); in getNetworkForCaptivePortal()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 557 assertEquals(i, mCm.getNetworkCapabilities(n).getSignalStrength()); in testWaitForIdle() 577 if (i != mCm.getNetworkCapabilities(n).getSignalStrength()) { in verifyThatNotWaitingForIdleCausesRaceConditions() 702 assertFalse(getNetworkCapabilities().hasCapability(NET_CAPABILITY_INTERNET)); in connect() 709 .addTransportType(getNetworkCapabilities().getTransportTypes()[0]) in connect() 1041 mNetworkCapabilities.set(agent.getNetworkCapabilities()); in setNetworkAgent() 1077 mNetworkCapabilities.set(mMockNetworkAgent.getNetworkCapabilities()); in connect() 1374 assertNotNull(mCm.getNetworkCapabilities(mCm.getActiveNetwork())); in verifyActiveNetwork() 1375 assertTrue(mCm.getNetworkCapabilities(mCm.getActiveNetwork()).hasTransport(transport)); in verifyActiveNetwork() 1582 assertFalse(mCm.getNetworkCapabilities(mWiFiNetworkAgent.getNetwork()).hasCapability( in testUnlingeringDoesNotValidate() 1590 assertFalse(mCm.getNetworkCapabilities(mWiFiNetworkAgent.getNetwork()).hasCapability( in testUnlingeringDoesNotValidate() [all …]
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityDiagnosticsManager.java | 295 public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in ConnectivityDiagnosticsManager.ConnectivityReport 526 public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in ConnectivityDiagnosticsManager.DataStallReport
|
D | IConnectivityManager.aidl | 74 NetworkCapabilities getNetworkCapabilities(in Network network, String callingPackageName); in getNetworkCapabilities() method
|
D | ConnectivityManager.java | 1383 public NetworkCapabilities getNetworkCapabilities(@Nullable Network network) { in getNetworkCapabilities() method in ConnectivityManager 1385 return mService.getNetworkCapabilities(network, mContext.getOpPackageName()); in getNetworkCapabilities()
|
/frameworks/base/tests/net/java/android/net/ |
D | ConnectivityDiagnosticsManagerTest.java | 155 final NetworkCapabilities networkCapabilities = sampleReport.getNetworkCapabilities(); in testConnectivityReportEquals() 242 final NetworkCapabilities networkCapabilities = sampleReport.getNetworkCapabilities(); in testDataStallReportEquals()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | ConnectivityController.java | 162 final NetworkCapabilities capabilities = mConnManager.getNetworkCapabilities( in isNetworkAvailable() 414 final NetworkCapabilities capabilities = mConnManager.getNetworkCapabilities(network); in updateConstraintsSatisfied() 485 capabilities = mConnManager.getNetworkCapabilities(network); in updateTrackedJobsLocked()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | IpConnectivityMetricsTest.java | 255 when(mCm.getNetworkCapabilities(new Network(100))).thenReturn(ncWifi); in testEndToEndLogging() 256 when(mCm.getNetworkCapabilities(new Network(101))).thenReturn(ncCell); in testEndToEndLogging()
|
D | NetdEventListenerServiceTest.java | 73 when(mCm.getNetworkCapabilities(new Network(100))).thenReturn(ncWifi); in setUp() 74 when(mCm.getNetworkCapabilities(new Network(101))).thenReturn(ncCell); in setUp()
|
D | VpnTest.java | 1111 }).when(mConnectivityManager).getNetworkCapabilities(any()); in setMockedNetworks()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 158 = mConnectivityManager.getNetworkCapabilities(mWifiManager.getCurrentNetwork()); in updateStatusLabel()
|
D | AccessPoint.java | 1637 nc = cm.getNetworkCapabilities(wifiManager.getCurrentNetwork()); in getSummary()
|
/frameworks/base/packages/OsuLogin/src/com/android/hotspot2/osu/ |
D | OsuLoginActivity.java | 124 final NetworkCapabilities networkCapabilities = mCm.getNetworkCapabilities(mNetwork); in onCreate()
|
/frameworks/base/tests/net/integration/util/com/android/server/ |
D | NetworkAgentWrapper.java | 263 public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in NetworkAgentWrapper
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 388 NetworkCapabilities nc = mCm.getNetworkCapabilities(new Network(netId)); in getTransports()
|
D | Vpn.java | 363 final NetworkCapabilities underlyingCaps = cm.getNetworkCapabilities(underlying); in applyUnderlyingCapabilities()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 1198 networkAgent.sendNetworkCapabilities(getNetworkCapabilities()); in updateToSupportNewRequest() 1211 private NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in WifiAwareDataPathStateManager.AwareNetworkRequestInformation
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | ConnectivityControllerTest.java | 544 when(mConnManager.getNetworkCapabilities(eq(net))).thenReturn(caps); in answerNetwork()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | Phone.java | 3361 public NetworkCapabilities getNetworkCapabilities(String apnType) { in getNetworkCapabilities() method in Phone 3366 return getDcTracker(transportType).getNetworkCapabilities(apnType); in getNetworkCapabilities()
|
D | ServiceStateTracker.java | 2033 if (dc != null && dc.getNetworkCapabilities().hasCapability( in updateNrFrequencyRangeFromPhysicalChannelConfigs()
|