Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java503 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/
DDataConnection.java1165 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 …]
DDcNetworkAgent.java74 dc.getNetworkCapabilities(), dc.getLinkProperties(), score, misc, in DcNetworkAgent()
78 mNetworkCapabilities = dc.getNetworkCapabilities(); in DcNetworkAgent()
DDcTracker.java1064 public NetworkCapabilities getNetworkCapabilities(String apnType) { in getNetworkCapabilities() method in DcTracker
1072 return dataConnection.getNetworkCapabilities(); in getNetworkCapabilities()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DProvisionObserver.java56 final NetworkCapabilities nc = connMgr.getNetworkCapabilities(nw); in onStartJob()
DCaptivePortalLoginActivity.java271 final NetworkCapabilities nc = mCm.getNetworkCapabilities(nw); in getNetworkForCaptivePortal()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java436 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/
DConnectivityController.java162 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/
DIpConnectivityMetricsTest.java255 when(mCm.getNetworkCapabilities(new Network(100))).thenReturn(ncWifi); in testEndToEndLogging()
256 when(mCm.getNetworkCapabilities(new Network(101))).thenReturn(ncCell); in testEndToEndLogging()
DNetdEventListenerServiceTest.java72 when(mCm.getNetworkCapabilities(new Network(100))).thenReturn(ncWifi); in setUp()
73 when(mCm.getNetworkCapabilities(new Network(101))).thenReturn(ncCell); in setUp()
DVpnTest.java709 }).when(mConnectivityManager).getNetworkCapabilities(any()); in setMockedNetworks()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java157 = mConnectivityManager.getNetworkCapabilities(mWifiManager.getCurrentNetwork()); in updateStatusLabel()
DAccessPoint.java1560 nc = cm.getNetworkCapabilities(wifiManager.getCurrentNetwork()); in getSummary()
/frameworks/base/packages/OsuLogin/src/com/android/hotspot2/osu/
DOsuLoginActivity.java124 final NetworkCapabilities networkCapabilities = mCm.getNetworkCapabilities(mNetwork); in onCreate()
/frameworks/base/core/java/android/net/
DIConnectivityManager.aidl70 NetworkCapabilities getNetworkCapabilities(in Network network); in getNetworkCapabilities() method
DConnectivityManager.java1342 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/
DDefaultPhoneNotifier.java184 networkCapabilities = sender.getNetworkCapabilities(apnType); in doNotifyDataConnection()
DPhoneSwitcher.java262 if (mConnectivityManager.getNetworkCapabilities(network)
DPhone.java3061 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/
DNetdEventListenerService.java383 NetworkCapabilities nc = mCm.getNetworkCapabilities(new Network(netId)); in getTransports()
DVpn.java322 final NetworkCapabilities underlyingCaps = cm.getNetworkCapabilities(underlying); in applyUnderlyingCapabilities()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1204 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/
DPhoneMock.java799 public NetworkCapabilities getNetworkCapabilities(String apnType) { in getNetworkCapabilities() method in PhoneMock
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java544 when(mConnManager.getNetworkCapabilities(eq(net))).thenReturn(caps); in answerNetwork()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1566 public NetworkCapabilities getNetworkCapabilities(Network network) { in getNetworkCapabilities() method in ConnectivityService
1627 final NetworkCapabilities caps = getNetworkCapabilities(getActiveNetwork()); in isActiveNetworkMetered()

12