/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | DataNetworkTest.java | 547 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 …]
|
D | DataNetworkControllerTest.java | 1250 .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 …]
|
D | DataRetryManagerTest.java | 191 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/ |
D | ConnectivityRepositoryImplTest.kt | 512 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/ |
D | TelephonyNetworkAgent.java | 160 new NetworkCapabilities.Builder(dataNetwork.getNetworkCapabilities()) in TelephonyNetworkAgent() 172 + new NetworkCapabilities.Builder(dataNetwork.getNetworkCapabilities()) in TelephonyNetworkAgent()
|
D | DataNetworkController.java | 1401 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 …]
|
D | DataNetwork.java | 1116 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/ |
D | VcnUnderlyingNetworkPolicy.java | 71 return mVcnNetworkPolicyResult.getNetworkCapabilities(); in getMergedNetworkCapabilities()
|
D | VcnNetworkPolicyResult.java | 71 public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in VcnNetworkPolicyResult
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | DefaultNetworkMonitor.java | 87 @Nullable public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in DefaultNetworkMonitor
|
D | DataCallSessionStats.java | 77 NetworkCapabilities nc = mDefaultNetworkMonitor.getNetworkCapabilities(); in isSystemDefaultNetworkMobile()
|
D | DataStallRecoveryStats.java | 346 NetworkCapabilities networkCapabilities = dataNetwork.getNetworkCapabilities(); in updateBandwidths()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | ProvisionObserver.java | 55 final NetworkCapabilities nc = connMgr.getNetworkCapabilities(nw); in onStartJob()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 179 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/ |
D | UnderlyingNetworkRecord.java | 116 NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in UnderlyingNetworkRecord.Builder
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiStatusTrackerTest.java | 205 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/ |
D | HotspotNetworkDetailsTracker.java | 151 mConnectivityManager.getNetworkCapabilities(currentNetwork); in updateStartInfo()
|
D | StandardNetworkDetailsTracker.java | 144 mConnectivityManager.getNetworkCapabilities(currentNetwork); in updateStartInfo()
|
D | WifiPickerTracker.java | 305 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()
|
D | PasspointNetworkDetailsTracker.java | 168 mConnectivityManager.getNetworkCapabilities(currentNetwork); in updateStartInfo()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | DataCallSessionStatsTest.java | 155 .when(mDefaultNetworkMonitor).getNetworkCapabilities(); in testSetupDataCallOnCrossSimCalling_success() 241 .when(mDefaultNetworkMonitor).getNetworkCapabilities(); in testHandoverFromCellularToCrossSimCalling_success()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 311 networkCapabilities = mConnectivityManager.getNetworkCapabilities( in updateStatusLabel() 374 mConnectivityManager.getNetworkCapabilities(underlyingNetwork); in getMainOrUnderlyingWifiInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/data/repository/ |
D | ConnectivityRepository.kt | 263 connectivityManager.getNetworkCapabilities(underlyingNetwork)?.getMainWifiInfo() in getMainOrUnderlyingWifiInfo()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | ConnectivityController.java | 881 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/ |
D | TelephonyCountryDetector.java | 539 mConnectivityManager.getNetworkCapabilities(activeNetwork); in isWifiNetworkConnected()
|