/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiStatusTrackerTest.java | 100 mNetworkCallbackCaptor.getValue().onCapabilitiesChanged(primaryNetwork, primaryCap); in testWifiInfoClearedOnPrimaryNetworkLost() 120 mNetworkCallbackCaptor.getValue().onCapabilitiesChanged(nonPrimaryNetwork, nonPrimaryCap); in testWifiInfoClearedOnPrimaryNetworkLost() 153 mNetworkCallbackCaptor.getValue().onCapabilitiesChanged(primaryNetwork, primaryCap); in isCarrierMerged_typicalWifi_false() 167 mNetworkCallbackCaptor.getValue().onCapabilitiesChanged(primaryNetwork, primaryCap); in isCarrierMerged_typicalCellular_false() 186 mNetworkCallbackCaptor.getValue().onCapabilitiesChanged(primaryNetwork, primaryCap); in isCarrierMerged_cellularCarrierMergedWifi_true() 219 mNetworkCallbackCaptor.getValue().onCapabilitiesChanged(primaryNetwork, mainCapabilities); in isCarrierMerged_cellularWithUnderlyingCarrierMergedWifi_true() 237 mDefaultNetworkCallbackCaptor.getValue().onCapabilitiesChanged(primaryNetwork, primaryCap); in isDefaultNetwork_typicalWifi_true() 251 mDefaultNetworkCallbackCaptor.getValue().onCapabilitiesChanged(primaryNetwork, primaryCap); in isDefaultNetwork_typicalCellular_false() 270 mDefaultNetworkCallbackCaptor.getValue().onCapabilitiesChanged(primaryNetwork, primaryCap); in isDefaultNetwork_cellularCarrierMergedWifi_true() 304 .onCapabilitiesChanged(primaryNetwork, mainCapabilities); in isDefaultNetwork_cellularWithUnderlyingCarrierMergedWifi_true() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/data/repository/ |
D | ConnectivityRepositoryImplTest.kt | 250 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, capabilities) in defaultConnections_noTransports_nothingIsDefault() 273 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, capabilities) in defaultConnections_cellularTransport_mobileIsDefault() 296 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, capabilities) in defaultConnections_wifiTransport_wifiIsDefault() 319 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, capabilities) in defaultConnections_ethernetTransport_ethernetIsDefault() 345 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, capabilities) in defaultConnections_carrierMergedViaWifi_wifiAndCarrierMergedDefault() 370 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, capabilities) in defaultConnections_carrierMergedViaMobile_mobileCarrierMergedWifiDefault() 395 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, capabilities) in defaultConnections_carrierMergedViaWifiWithVcnTransport_wifiAndCarrierMergedDefault() 420 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, capabilities) in defaultConnections_carrierMergedViaMobileWithVcnTransport_mobileCarrierMergedWifiDefault() 445 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, capabilities) in defaultConnections_notCarrierMergedViaWifi_carrierMergedNotDefault() 468 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, capabilities) in defaultConnections_notCarrierMergedViaMobile_carrierMergedNotDefault() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | CellularNetworkValidatorTest.java | 120 mValidatorUT.mNetworkCallback.onCapabilitiesChanged(null, new NetworkCapabilities() in testValidateSuccess() 257 mValidatorUT.mNetworkCallback.onCapabilitiesChanged(null, new NetworkCapabilities() in testNetworkCachingOfMultipleSub() 264 mValidatorUT.mNetworkCallback.onCapabilitiesChanged(null, new NetworkCapabilities() in testNetworkCachingOfMultipleSub() 268 mValidatorUT.mNetworkCallback.onCapabilitiesChanged(null, new NetworkCapabilities() in testNetworkCachingOfMultipleSub() 310 mValidatorUT.mNetworkCallback.onCapabilitiesChanged(null, new NetworkCapabilities() in testNetworkCachingOfMultipleNetworks() 341 mValidatorUT.mNetworkCallback.onCapabilitiesChanged(null, new NetworkCapabilities() in testNetworkCachingOverflow() 375 mValidatorUT.mNetworkCallback.onCapabilitiesChanged(null, new NetworkCapabilities() in testReleaseRequestAfterValidation_shouldReleaseImmediately() 386 mValidatorUT.mNetworkCallback.onCapabilitiesChanged(null, new NetworkCapabilities() in testDoNotReleaseRequestAfterValidation_shouldReleaseLater() 423 mValidatorUT.mNetworkCallback.onCapabilitiesChanged(null, new NetworkCapabilities() in testDoNotReleaseRequestAfterValidation_BackToBackRequest() 432 mValidatorUT.mNetworkCallback.onCapabilitiesChanged(null, new NetworkCapabilities() in testDoNotReleaseRequestAfterValidation_BackToBackRequest()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | MobileConnectionsRepositoryTest.kt | 517 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, WIFI_NETWORK_CAPS_CM) in <lambda>() 534 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, WIFI_NETWORK_CAPS_CM) in <lambda>() 551 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, WIFI_NETWORK_CAPS_CM) in <lambda>() 563 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, WIFI_NETWORK_CAPS_ACTIVE) in <lambda>() 579 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, WIFI_NETWORK_CAPS_ACTIVE) in <lambda>() 592 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, WIFI_NETWORK_CAPS_CM) in <lambda>() 679 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, WIFI_NETWORK_CAPS_CM) in <lambda>() 877 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, caps) in <lambda>() 892 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, caps) in <lambda>() 910 getDefaultNetworkCallback().onCapabilitiesChanged(NETWORK, caps) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
D | NetworkControllerBaseTest.java | 340 mDefaultCallbackInNetworkController.onCapabilitiesChanged( in setConnectivityViaCallbackInNetworkControllerForVcn() 346 mDefaultCallbackInNetworkController.onCapabilitiesChanged(network, networkCapabilities); in setConnectivityViaCallbackInNetworkController() 357 mDefaultCallbackInNetworkController.onCapabilitiesChanged( in setConnectivityViaCallbackInNetworkController() 364 mNetworkCallback.onCapabilitiesChanged(network, networkCapabilities); in setConnectivityViaDefaultAndNormalCallbackInWifiTracker() 365 mDefaultCallbackInWifiTracker.onCapabilitiesChanged(network, networkCapabilities); in setConnectivityViaDefaultAndNormalCallbackInWifiTracker() 380 mNetworkCallback.onCapabilitiesChanged(mock(Network.class), newCap); in setConnectivityViaCallbackInWifiTracker() 397 mNetworkCallback.onCapabilitiesChanged(mock(Network.class), newCap); in setConnectivityViaCallbackInWifiTrackerForVcn() 398 mDefaultCallbackInWifiTracker.onCapabilitiesChanged(mock(Network.class), newCap); in setConnectivityViaCallbackInWifiTrackerForVcn() 413 mDefaultCallbackInWifiTracker.onCapabilitiesChanged( in setConnectivityViaDefaultCallbackInWifiTracker()
|
/frameworks/base/tests/vcn/java/com/android/server/vcn/routeselection/ |
D | UnderlyingNetworkControllerTest.java | 638 cb.onCapabilitiesChanged(mNetwork, responseNetworkCaps); in verifyRegistrationOnAvailableAndGetCallback() 659 cb.onCapabilitiesChanged(mNetwork, responseNetworkCaps); in testRecordTrackerCallbackNotifiedForNetworkCapabilitiesChange() 691 cb.onCapabilitiesChanged(mNetwork, responseNetworkCaps); in testRecordTrackerCallbackNotifiedForNetworkSuspended() 702 cb.onCapabilitiesChanged(mNetwork, responseNetworkCaps); in testRecordTrackerCallbackNotifiedForNetworkSuspended() 713 cb.onCapabilitiesChanged(mNetwork, responseNetworkCaps); in testRecordTrackerCallbackNotifiedForNetworkResumed() 724 cb.onCapabilitiesChanged(mNetwork, responseNetworkCaps); in testRecordTrackerCallbackNotifiedForNetworkResumed() 751 cb.onCapabilitiesChanged( in testRecordTrackerCallbackIgnoresDuplicateRecord() 764 cb.onCapabilitiesChanged( in testRecordTrackerCallbackNotifiedAfterTeardown() 815 cb.onCapabilitiesChanged(network, responseNetworkCaps); in bringupNetworkAndGetEvaluator()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | WifiPickerTrackerTest.java | 613 mNetworkCallbackCaptor.getValue().onCapabilitiesChanged( in testGetConnectedEntry_connectToNetwork_returnsConnectedEntry() 725 mNetworkCallbackCaptor.getValue().onCapabilitiesChanged( in testGetConnectedEntry_connectToNetworkWithoutConfigs_returnsConnectedEntry() 830 mNetworkCallbackCaptor.getValue().onCapabilitiesChanged( in testCaptivePortal_activityStopsAndStartsBeforeConnection_captivePortalAutoOpens() 898 mDefaultNetworkCallbackCaptor.getValue().onCapabilitiesChanged(mock(Network.class), in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges() 912 mDefaultNetworkCallbackCaptor.getValue().onCapabilitiesChanged(otherWifiNetwork, in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges() 917 mDefaultNetworkCallbackCaptor.getValue().onCapabilitiesChanged(mMockNetwork, in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges() 962 mDefaultNetworkCallbackCaptor.getValue().onCapabilitiesChanged(vpnNetwork, vpnCaps); in testGetConnectedEntry_defaultNetworkHasUnderlyingWifi_becomesDefaultNetwork() 963 mNetworkCallbackCaptor.getValue().onCapabilitiesChanged( in testGetConnectedEntry_defaultNetworkHasUnderlyingWifi_becomesDefaultNetwork() 970 mNetworkCallbackCaptor.getValue().onCapabilitiesChanged( in testGetConnectedEntry_defaultNetworkHasUnderlyingWifi_becomesDefaultNetwork() 1011 mDefaultNetworkCallbackCaptor.getValue().onCapabilitiesChanged(Mockito.mock(Network.class), in testGetConnectedEntry_wifiValidatedCellDefault_isLowQuality() [all …]
|
D | SavedNetworkTrackerTest.java | 515 mNetworkCallbackCaptor.getValue().onCapabilitiesChanged( in testDisconnectedEntry_connectToNetwork_becomesConnected() 634 .onCapabilitiesChanged(mbbNetwork, mbbNetworkCapabilities); in testConnectedEntry_mbbFlow_matchesNewPrimary() 644 .onCapabilitiesChanged(mMockNetwork, mMockNetworkCapabilities); in testConnectedEntry_mbbFlow_matchesNewPrimary() 647 .onCapabilitiesChanged(mbbNetwork, mbbNetworkCapabilities); in testConnectedEntry_mbbFlow_matchesNewPrimary() 724 mDefaultNetworkCallbackCaptor.getValue().onCapabilitiesChanged(Mockito.mock(Network.class), in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges() 737 mDefaultNetworkCallbackCaptor.getValue().onCapabilitiesChanged(otherWifiNetwork, in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges() 742 mDefaultNetworkCallbackCaptor.getValue().onCapabilitiesChanged(mMockNetwork, in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | DefaultNetworkMonitor.java | 51 public void onCapabilitiesChanged(@NonNull Network network, in onCapabilitiesChanged() method in DefaultNetworkMonitor.DefaultNetworkCallback
|
/frameworks/base/services/core/java/com/android/server/location/gnss/hal/ |
D | GnssNative.java | 161 default void onCapabilitiesChanged(GnssCapabilities oldCapabilities, in onCapabilitiesChanged() method 1194 onCapabilitiesChanged(oldCapabilities, mCapabilities); in setTopHalCapabilities() 1202 onCapabilitiesChanged(oldCapabilities, mCapabilities); in setSubHalMeasurementCorrectionsCapabilities() 1210 onCapabilitiesChanged(oldCapabilities, mCapabilities); in setSubHalPowerIndicationCapabilities() 1217 onCapabilitiesChanged(oldCapabilities, mCapabilities); in setSignalTypeCapabilities() 1220 private void onCapabilitiesChanged(GnssCapabilities oldCapabilities, in onCapabilitiesChanged() method in GnssNative 1230 mBaseCallbacks[i].onCapabilitiesChanged(oldCapabilities, newCapabilities); in onCapabilitiesChanged()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 83 public void onCapabilitiesChanged( 137 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) {
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | ConnectivityControllerTest.java | 1069 generalCallback.onCapabilitiesChanged(meteredNet, meteredCaps); in testUpdates() 1100 generalCallback.onCapabilitiesChanged(unmeteredNet, unmeteredCaps); in testUpdates() 1149 generalCallback.onCapabilitiesChanged(unmeteredNet, unmeteredCaps); in testUpdates() 1164 generalCallback.onCapabilitiesChanged(meteredNet, meteredWifiCaps); in testUpdates() 1197 generalCallback.onCapabilitiesChanged(unmeteredNet, unmeteredCelullarCaps); in testUpdates() 1226 generalCallback.onCapabilitiesChanged(meteredNet, meteredCaps); in testUpdates() 1243 generalCallback.onCapabilitiesChanged(unmeteredNet, unmeteredTestCaps); in testUpdates() 1744 allNetworkCallback.onCapabilitiesChanged( in testIsNetworkInStateForJobRunLocked_Network() 1746 allNetworkCallback.onCapabilitiesChanged(otherNetwork, mock(NetworkCapabilities.class)); in testIsNetworkInStateForJobRunLocked_Network() 1802 generalCallback.onCapabilitiesChanged(net, caps); in answerNetwork() [all …]
|
/frameworks/base/services/tests/VpnTests/java/com/android/server/connectivity/ |
D | VpnTest.java | 1775 cb.onCapabilitiesChanged(TEST_NETWORK, caps); in triggerOnAvailableAndGetCallback() 2418 vpnSnapShot.nwCb.onCapabilitiesChanged(TEST_NETWORK_2, caps); in doTestMigrateIkeSession() 2459 vpnSnapShot.nwCb.onCapabilitiesChanged( in testLinkPropertiesUpdateTriggerReevaluation() 2646 vpnSnapShot.nwCb.onCapabilitiesChanged(TEST_NETWORK_2, nc); in doTestReadCarrierConfig() 2693 vpnSnapShot.nwCb.onCapabilitiesChanged(TEST_NETWORK, in testStartPlatformVpn_underlyingNetworkNotChange() 2706 vpnSnapShot.nwCb.onCapabilitiesChanged(TEST_NETWORK_2, in testStartPlatformVpn_underlyingNetworkNotChange() 2737 vpnSnapShot.nwCb.onCapabilitiesChanged(TEST_NETWORK_2, in testStartPlatformVpnMobility_mobikeEnabled() 2782 vpnSnapShot.nwCb.onCapabilitiesChanged(TEST_NETWORK_2, in testStartPlatformVpnMobility_mobikeEnabledMtuDoesNotSupportIpv6() 2847 vpnSnapShot.nwCb.onCapabilitiesChanged( in testStartPlatformVpnReestablishes_mobikeDisabled() 2926 vpnSnapShot.nwCb.onCapabilitiesChanged(TEST_NETWORK, ncBuilder.build()); in testNCEventChanges() [all …]
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | BaseWifiTracker.java | 192 public void onCapabilitiesChanged(@NonNull Network network, 209 public void onCapabilitiesChanged(@NonNull Network network,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/data/repository/ |
D | ConnectivityRepository.kt | 144 override fun onCapabilitiesChanged( in <lambda>() method
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | CellularNetworkValidator.java | 400 public void onCapabilitiesChanged(@NonNull Network network,
|
/frameworks/base/services/tests/VpnTests/java/com/android/server/net/ |
D | LockdownVpnTrackerTest.java | 174 callback.onCapabilitiesChanged(network, nc); in callCallbacksForNetworkConnect()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssManagerService.java | 336 public void onCapabilitiesChanged(GnssCapabilities oldCapabilities, in onCapabilitiesChanged() method in GnssManagerService.GnssCapabilitiesHalModule
|
D | GnssNetworkConnectivityHandler.java | 378 public void onCapabilitiesChanged(Network network, in createNetworkConnectivityCallback() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/ |
D | InternetDialogController.java | 1245 public void onCapabilitiesChanged(@NonNull Network network, 1254 mCallback.onCapabilitiesChanged(network, capabilities); 1391 void onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 472 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) { in onCapabilitiesChanged() method in NetdEventListenerService.TransportForNetIdNetworkCallback
|
D | MultipathPolicyTracker.java | 478 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) { in registerTrackMobileCallback()
|
D | VpnIkev2Utils.java | 414 public void onCapabilitiesChanged(@NonNull Network network, in onCapabilitiesChanged() method in VpnIkev2Utils.Ikev2VpnNetworkCallback
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 551 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) {
|
/frameworks/layoutlib/bridge/src/android/net/ |
D | ConnectivityManager.java | 711 public void onCapabilitiesChanged(@NonNull Network network, in onCapabilitiesChanged() method in ConnectivityManager.NetworkCallback
|