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.java567 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/
DDataConnection.java1216 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 …]
DDcNetworkAgent.java89 dc.getNetworkCapabilities(), dc.getLinkProperties(), score, config, in DcNetworkAgent()
95 mNetworkCapabilities = dc.getNetworkCapabilities(); in DcNetworkAgent()
DDcTracker.java1065 public NetworkCapabilities getNetworkCapabilities(String apnType) { in getNetworkCapabilities() method in DcTracker
1073 return dataConnection.getNetworkCapabilities(); in getNetworkCapabilities()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DProvisionObserver.java55 final NetworkCapabilities nc = connMgr.getNetworkCapabilities(nw); in onStartJob()
DCaptivePortalLoginActivity.java270 final NetworkCapabilities nc = mCm.getNetworkCapabilities(nw); in getNetworkForCaptivePortal()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java557 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/
DConnectivityDiagnosticsManager.java295 public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in ConnectivityDiagnosticsManager.ConnectivityReport
526 public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in ConnectivityDiagnosticsManager.DataStallReport
DIConnectivityManager.aidl74 NetworkCapabilities getNetworkCapabilities(in Network network, String callingPackageName); in getNetworkCapabilities() method
DConnectivityManager.java1383 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/
DConnectivityDiagnosticsManagerTest.java155 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/
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.java73 when(mCm.getNetworkCapabilities(new Network(100))).thenReturn(ncWifi); in setUp()
74 when(mCm.getNetworkCapabilities(new Network(101))).thenReturn(ncCell); in setUp()
DVpnTest.java1111 }).when(mConnectivityManager).getNetworkCapabilities(any()); in setMockedNetworks()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java158 = mConnectivityManager.getNetworkCapabilities(mWifiManager.getCurrentNetwork()); in updateStatusLabel()
DAccessPoint.java1637 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/tests/net/integration/util/com/android/server/
DNetworkAgentWrapper.java263 public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in NetworkAgentWrapper
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java388 NetworkCapabilities nc = mCm.getNetworkCapabilities(new Network(netId)); in getTransports()
DVpn.java363 final NetworkCapabilities underlyingCaps = cm.getNetworkCapabilities(underlying); in applyUnderlyingCapabilities()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1198 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/
DConnectivityControllerTest.java544 when(mConnManager.getNetworkCapabilities(eq(net))).thenReturn(caps); in answerNetwork()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhone.java3361 public NetworkCapabilities getNetworkCapabilities(String apnType) { in getNetworkCapabilities() method in Phone
3366 return getDcTracker(transportType).getNetworkCapabilities(apnType); in getNetworkCapabilities()
DServiceStateTracker.java2033 if (dc != null && dc.getNetworkCapabilities().hasCapability( in updateNrFrequencyRangeFromPhysicalChannelConfigs()

12