Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataNetworkTest.java547 assertThat(mDataNetworkUT.getNetworkCapabilities()).isEqualTo( in testCreateDataNetwork()
549 assertThat(mDataNetworkUT.getNetworkCapabilities().hasCapability( in testCreateDataNetwork()
551 assertThat(mDataNetworkUT.getNetworkCapabilities().hasCapability( in testCreateDataNetwork()
553 assertThat(mDataNetworkUT.getNetworkCapabilities().hasCapability( in testCreateDataNetwork()
555 assertThat(mDataNetworkUT.getNetworkCapabilities().hasCapability( in testCreateDataNetwork()
606 assertThat(mDataNetworkUT.getNetworkCapabilities().hasCapability( in testCreateDataNetworkWhenOos()
671 assertThat(mDataNetworkUT.getNetworkCapabilities().hasCapability( in testRecreateAgentWhenOos()
767 assertThat(mDataNetworkUT.getNetworkCapabilities()).isEqualTo( in testCreateImsDataNetwork()
769 assertThat(mDataNetworkUT.getNetworkCapabilities().hasCapability( in testCreateImsDataNetwork()
771 assertThat(mDataNetworkUT.getNetworkCapabilities().hasCapability( in testCreateImsDataNetwork()
[all …]
DDataNetworkControllerTest.java1250 .allMatch(dataNetwork.getNetworkCapabilities()::hasCapability)) { in verifyConnectedNetworkHasCapabilities()
1262 .that(dataNetwork.isConnected() && dataNetwork.getNetworkCapabilities() in verifyNoConnectedNetworkHasCapability()
2476 assertTrue(dataNetwork.getNetworkCapabilities().hasCapability( in testIsNetworkTypeCongested()
2485 assertFalse(dataNetwork.getNetworkCapabilities().hasCapability( in testIsNetworkTypeCongested()
2496 assertTrue(dataNetwork.getNetworkCapabilities().hasCapability( in testIsNetworkTypeCongested()
2518 assertFalse(dataNetwork.getNetworkCapabilities().hasCapability( in testIsNetworkTypeUnmeteredViaSubscriptionOverride()
2528 assertTrue(dataNetwork.getNetworkCapabilities().hasCapability( in testIsNetworkTypeUnmeteredViaSubscriptionOverride()
2540 assertFalse(dataNetwork.getNetworkCapabilities().hasCapability( in testIsNetworkTypeUnmeteredViaSubscriptionOverride()
2573 assertFalse(dataNetwork.getNetworkCapabilities().hasCapability( in testIsNetworkTypeUnmeteredViaSubscriptionPlans()
2584 assertTrue(dataNetwork.getNetworkCapabilities().hasCapability( in testIsNetworkTypeUnmeteredViaSubscriptionPlans()
[all …]
DDataRetryManagerTest.java191 assertThat(rule.getNetworkCapabilities()).containsExactly( in testDataSetupRetryRulesParsingFromString()
200 assertThat(rule.getNetworkCapabilities()).isEmpty(); in testDataSetupRetryRulesParsingFromString()
209 assertThat(rule.getNetworkCapabilities()).containsExactly( in testDataSetupRetryRulesParsingFromString()
224 assertThat(rule.getNetworkCapabilities()).containsExactly( in testDataSetupRetryRulesParsingFromString()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/data/repository/
DConnectivityRepositoryImplTest.kt512 whenever(connectivityManager.getNetworkCapabilities(underlyingNetworkWithNull)) in defaultConnections_underlyingInfoHasNullCapabilities_noError()
543 whenever(connectivityManager.getNetworkCapabilities(underlyingCarrierMergedNetwork)) in defaultConnections_cellular_underlyingCarrierMergedViaWifi_allDefault()
580 whenever(connectivityManager.getNetworkCapabilities(underlyingCarrierMergedNetwork)) in defaultConnections_cellular_underlyingCarrierMergedViaMobileWithVcnTransport_allDefault()
844 whenever(connectivityManager.getNetworkCapabilities(underlyingNetwork)) in getMainOrUnderlyingWifiInfo_cellular_underlyingWifi_hasInfo()
870 whenever(connectivityManager.getNetworkCapabilities(underlyingNetwork)) in getMainOrUnderlyingWifiInfo_notCellular_underlyingWifi_noInfo()
898 whenever(connectivityManager.getNetworkCapabilities(underlyingNetwork)) in getMainOrUnderlyingWifiInfo_cellular_underlyingVcnWithWifi_hasInfo()
924 whenever(connectivityManager.getNetworkCapabilities(underlyingNetwork)) in getMainOrUnderlyingWifiInfo_notCellular_underlyingVcnWithWifi_noInfo()
953 whenever(connectivityManager.getNetworkCapabilities(underlyingCarrierMergedNetwork)) in getMainOrUnderlyingWifiInfo_cellular_underlyingCellularWithCarrierMerged_hasInfo()
979 whenever(connectivityManager.getNetworkCapabilities(underlyingNotWifiNetwork)) in getMainOrUnderlyingWifiInfo_multipleUnderlying_usesFirstNonNull()
990 whenever(connectivityManager.getNetworkCapabilities(underlyingWifiNetwork1)) in getMainOrUnderlyingWifiInfo_multipleUnderlying_usesFirstNonNull()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DTelephonyNetworkAgent.java160 new NetworkCapabilities.Builder(dataNetwork.getNetworkCapabilities()) in TelephonyNetworkAgent()
172 + new NetworkCapabilities.Builder(dataNetwork.getNetworkCapabilities()) in TelephonyNetworkAgent()
DDataNetworkController.java1401 dataNetwork.getNetworkCapabilities())) in findCompatibleDataNetworkAndAttach()
1508 dataNetwork.getNetworkCapabilities()))) { in getInternetEvaluation()
1537 .allMatch(dataNetwork -> dataNetwork.getNetworkCapabilities() in isInternetUnmetered()
1539 || dataNetwork.getNetworkCapabilities() in isInternetUnmetered()
1706 dataNetwork.getNetworkCapabilities().getCapabilities()))) { in evaluateNetworkRequest()
1930 if (dataNetwork.getNetworkCapabilities().hasCapability( in evaluateDataNetwork()
1982 dataNetwork.getNetworkCapabilities().getCapabilities())) { in evaluateDataNetwork()
2110 } else if (!dataNetwork.getNetworkCapabilities().hasCapability( in evaluateDataNetwork()
2122 dataNetwork.getNetworkCapabilities() in evaluateDataNetwork()
2335 NetworkCapabilities capabilities = dataNetwork.getNetworkCapabilities(); in evaluateDataNetworkHandover()
[all …]
DDataNetwork.java1116 final NetworkCapabilities nc = getNetworkCapabilities(); in shouldSkip464Xlat()
2077 } else if (!networkRequest.canBeSatisfiedBy(getNetworkCapabilities())) {
2415 if (vcnPolicy != null && !vcnPolicy.getNetworkCapabilities()
2521 || (vcnPolicy != null && !vcnPolicy.getNetworkCapabilities()
2596 public NetworkCapabilities getNetworkCapabilities() {
3364 return Arrays.stream(getNetworkCapabilities().getCapabilities()).boxed()
3390 return Arrays.stream(getNetworkCapabilities().getCapabilities()).boxed()
/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/telephony/src/java/com/android/internal/telephony/metrics/
DDefaultNetworkMonitor.java87 @Nullable public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in DefaultNetworkMonitor
DDataCallSessionStats.java77 NetworkCapabilities nc = mDefaultNetworkMonitor.getNetworkCapabilities(); in isSystemDefaultNetworkMobile()
DDataStallRecoveryStats.java346 NetworkCapabilities networkCapabilities = dataNetwork.getNetworkCapabilities(); in updateBandwidths()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DProvisionObserver.java55 final NetworkCapabilities nc = connMgr.getNetworkCapabilities(nw); in onStartJob()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java179 final NetworkCapabilities nc = mCallback.getNetworkCapabilities(netId); in getMetricsForNetwork()
283 final NetworkCapabilities nc = mCm.getNetworkCapabilities(network); in hasWifiTransport()
486 public NetworkCapabilities getNetworkCapabilities(int netId) { in getNetworkCapabilities() method in NetdEventListenerService.TransportForNetIdNetworkCallback
/frameworks/base/services/core/java/com/android/server/vcn/routeselection/
DUnderlyingNetworkRecord.java116 NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in UnderlyingNetworkRecord.Builder
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiStatusTrackerTest.java205 when(mConnectivityManager.getNetworkCapabilities(underlyingNetwork)) in isCarrierMerged_cellularWithUnderlyingCarrierMergedWifi_true()
289 when(mConnectivityManager.getNetworkCapabilities(underlyingNetwork)) in isDefaultNetwork_cellularWithUnderlyingCarrierMergedWifi_true()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DHotspotNetworkDetailsTracker.java151 mConnectivityManager.getNetworkCapabilities(currentNetwork); in updateStartInfo()
DStandardNetworkDetailsTracker.java144 mConnectivityManager.getNetworkCapabilities(currentNetwork); in updateStartInfo()
DWifiPickerTracker.java305 mConnectivityManager.getNetworkCapabilities(currentNetwork); in handleOnStart()
711 mConnectivityManager.getNetworkCapabilities(currentNetwork); in updateMergedCarrierEntry()
970 capabilities = mConnectivityManager.getNetworkCapabilities(network); in updateKnownNetworkEntryScans()
1033 capabilities = mConnectivityManager.getNetworkCapabilities(network); in updateHotspotNetworkEntries()
DPasspointNetworkDetailsTracker.java168 mConnectivityManager.getNetworkCapabilities(currentNetwork); in updateStartInfo()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DDataCallSessionStatsTest.java155 .when(mDefaultNetworkMonitor).getNetworkCapabilities(); in testSetupDataCallOnCrossSimCalling_success()
241 .when(mDefaultNetworkMonitor).getNetworkCapabilities(); in testHandoverFromCellularToCrossSimCalling_success()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java311 networkCapabilities = mConnectivityManager.getNetworkCapabilities( in updateStatusLabel()
374 mConnectivityManager.getNetworkCapabilities(underlyingNetwork); in getMainOrUnderlyingWifiInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/data/repository/
DConnectivityRepository.kt263 connectivityManager.getNetworkCapabilities(underlyingNetwork)?.getMainWifiInfo() in getMainOrUnderlyingWifiInfo()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DConnectivityController.java881 NetworkCapabilities capabilities = getNetworkCapabilities(jobStatus.network); in getEstimatedTransferTimeMs()
1330 public NetworkCapabilities getNetworkCapabilities(@Nullable Network network) { in getNetworkCapabilities() method in ConnectivityController
1414 getNetworkCapabilities(jobStatus.network), mConstants)) { in updateConstraintsSatisfied()
1941 getNetworkCapabilities(js.network);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyCountryDetector.java539 mConnectivityManager.getNetworkCapabilities(activeNetwork); in isWifiNetworkConnected()

12