/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataConnectionTest.java | 503 private NetworkCapabilities getNetworkCapabilities() throws Exception { in getNetworkCapabilities() method in DataConnectionTest 518 assertTrue("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability() 520 assertTrue("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability() 522 assertFalse("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability() 531 assertFalse("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability() 533 assertTrue("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability() 535 assertTrue("capabilities: " + getNetworkCapabilities(), getNetworkCapabilities() in testNetworkCapability() 549 assertFalse(getNetworkCapabilities() in testMeteredCapability() 564 assertTrue(getNetworkCapabilities() in testNonMeteredCapability() 575 assertFalse(getNetworkCapabilities().hasCapability(NET_CAPABILITY_NOT_METERED)); in testOverrideUnmetered() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataConnection.java | 1165 public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in DataConnection 1312 final NetworkCapabilities nc = getNetworkCapabilities(); in shouldSkip464Xlat() 1572 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), in processMessage() 1583 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), in processMessage() 1961 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), in enter() 2041 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), in processMessage() 2074 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), in processMessage() 2115 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), in processMessage() 2128 NetworkCapabilities nc = getNetworkCapabilities(); in processMessage() 2144 mNetworkAgent.sendNetworkCapabilities(getNetworkCapabilities(), in processMessage() [all …]
|
D | DcNetworkAgent.java | 74 dc.getNetworkCapabilities(), dc.getLinkProperties(), score, misc, in DcNetworkAgent() 78 mNetworkCapabilities = dc.getNetworkCapabilities(); in DcNetworkAgent()
|
D | DcTracker.java | 1064 public NetworkCapabilities getNetworkCapabilities(String apnType) { in getNetworkCapabilities() method in DcTracker 1072 return dataConnection.getNetworkCapabilities(); in getNetworkCapabilities()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | ProvisionObserver.java | 56 final NetworkCapabilities nc = connMgr.getNetworkCapabilities(nw); in onStartJob()
|
D | CaptivePortalLoginActivity.java | 271 final NetworkCapabilities nc = mCm.getNetworkCapabilities(nw); in getNetworkForCaptivePortal()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 436 assertEquals(i, mCm.getNetworkCapabilities(n).getSignalStrength()); in testWaitForIdle() 456 if (i != mCm.getNetworkCapabilities(n).getSignalStrength()) { in verifyThatNotWaitingForIdleCausesRaceConditions() 819 public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in ConnectivityServiceTest.MockNetworkAgent 1010 mNetworkCapabilities.set(agent.getNetworkCapabilities()); in setNetworkAgent() 1037 mNetworkCapabilities.set(mMockNetworkAgent.getNetworkCapabilities()); in connect() 1406 assertNotNull(mCm.getNetworkCapabilities(mCm.getActiveNetwork())); in verifyActiveNetwork() 1407 assertTrue(mCm.getNetworkCapabilities(mCm.getActiveNetwork()).hasTransport(transport)); in verifyActiveNetwork() 1565 assertFalse(mCm.getNetworkCapabilities(mWiFiNetworkAgent.getNetwork()).hasCapability( in testUnlingeringDoesNotValidate() 1573 assertFalse(mCm.getNetworkCapabilities(mWiFiNetworkAgent.getNetwork()).hasCapability( in testUnlingeringDoesNotValidate() 1581 assertFalse(mCm.getNetworkCapabilities(mWiFiNetworkAgent.getNetwork()).hasCapability( in testUnlingeringDoesNotValidate() [all …]
|
/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 | 72 when(mCm.getNetworkCapabilities(new Network(100))).thenReturn(ncWifi); in setUp() 73 when(mCm.getNetworkCapabilities(new Network(101))).thenReturn(ncCell); in setUp()
|
D | VpnTest.java | 709 }).when(mConnectivityManager).getNetworkCapabilities(any()); in setMockedNetworks()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 157 = mConnectivityManager.getNetworkCapabilities(mWifiManager.getCurrentNetwork()); in updateStatusLabel()
|
D | AccessPoint.java | 1560 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/core/java/android/net/ |
D | IConnectivityManager.aidl | 70 NetworkCapabilities getNetworkCapabilities(in Network network); in getNetworkCapabilities() method
|
D | ConnectivityManager.java | 1342 public NetworkCapabilities getNetworkCapabilities(@Nullable Network network) { in getNetworkCapabilities() method in ConnectivityManager 1344 return mService.getNetworkCapabilities(network); in getNetworkCapabilities()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | DefaultPhoneNotifier.java | 184 networkCapabilities = sender.getNetworkCapabilities(apnType); in doNotifyDataConnection()
|
D | PhoneSwitcher.java | 262 if (mConnectivityManager.getNetworkCapabilities(network)
|
D | Phone.java | 3061 public NetworkCapabilities getNetworkCapabilities(String apnType) { in getNetworkCapabilities() method in Phone 3066 return getDcTracker(transportType).getNetworkCapabilities(apnType); in getNetworkCapabilities()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 383 NetworkCapabilities nc = mCm.getNetworkCapabilities(new Network(netId)); in getTransports()
|
D | Vpn.java | 322 final NetworkCapabilities underlyingCaps = cm.getNetworkCapabilities(underlying); in applyUnderlyingCapabilities()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 1204 networkAgent.sendNetworkCapabilities(getNetworkCapabilities()); in updateToSupportNewRequest() 1217 private NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in WifiAwareDataPathStateManager.AwareNetworkRequestInformation
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | PhoneMock.java | 799 public NetworkCapabilities getNetworkCapabilities(String apnType) { in getNetworkCapabilities() method in PhoneMock
|
/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/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 1566 public NetworkCapabilities getNetworkCapabilities(Network network) { in getNetworkCapabilities() method in ConnectivityService 1627 final NetworkCapabilities caps = getNetworkCapabilities(getActiveNetwork()); in isActiveNetworkMetered()
|