Home
last modified time | relevance | path

Searched refs:onCapabilitiesChanged (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiStatusTrackerTest.java100 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/
DConnectivityRepositoryImplTest.kt250 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/
DCellularNetworkValidatorTest.java120 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/
DMobileConnectionsRepositoryTest.kt517 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/
DNetworkControllerBaseTest.java340 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/
DUnderlyingNetworkControllerTest.java638 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/
DWifiPickerTrackerTest.java613 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 …]
DSavedNetworkTrackerTest.java515 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/
DDefaultNetworkMonitor.java51 public void onCapabilitiesChanged(@NonNull Network network, in onCapabilitiesChanged() method in DefaultNetworkMonitor.DefaultNetworkCallback
/frameworks/base/services/core/java/com/android/server/location/gnss/hal/
DGnssNative.java161 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/
DWifiStatusTracker.java83 public void onCapabilitiesChanged(
137 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) {
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java1069 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/
DVpnTest.java1775 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/
DBaseWifiTracker.java192 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/
DConnectivityRepository.kt144 override fun onCapabilitiesChanged( in <lambda>() method
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DCellularNetworkValidator.java400 public void onCapabilitiesChanged(@NonNull Network network,
/frameworks/base/services/tests/VpnTests/java/com/android/server/net/
DLockdownVpnTrackerTest.java174 callback.onCapabilitiesChanged(network, nc); in callCallbacksForNetworkConnect()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssManagerService.java336 public void onCapabilitiesChanged(GnssCapabilities oldCapabilities, in onCapabilitiesChanged() method in GnssManagerService.GnssCapabilitiesHalModule
DGnssNetworkConnectivityHandler.java378 public void onCapabilitiesChanged(Network network, in createNetworkConnectivityCallback() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogController.java1245 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/
DNetdEventListenerService.java472 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) { in onCapabilitiesChanged() method in NetdEventListenerService.TransportForNetIdNetworkCallback
DMultipathPolicyTracker.java478 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) { in registerTrackMobileCallback()
DVpnIkev2Utils.java414 public void onCapabilitiesChanged(@NonNull Network network, in onCapabilitiesChanged() method in VpnIkev2Utils.Ikev2VpnNetworkCallback
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java551 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) {
/frameworks/layoutlib/bridge/src/android/net/
DConnectivityManager.java711 public void onCapabilitiesChanged(@NonNull Network network, in onCapabilitiesChanged() method in ConnectivityManager.NetworkCallback

12