Chiachang Wang
f1e09ef031
Trigger the network score update after setting test allow bad wifi
...
Avoid bad wifi design has to apply in both wifi and cellular
networks. Cellular network should contain POLICY_YIELD_TO_BAD_WIFI
policy, then system default network could stay in the wifi after
wifi becomes unvalidated.
The testing API only update the value but not trigger the avoid
bad wifi callback to update the score in the existing cellular
network. Thus, if the cellular network is connected before
setting the overridden value, the yield to bad wifi policy will
not updated to cellular network. The system default network will
still switch from unvalidated wifi network to cellular network
even wifi network is connected with the avoid bad wifi policy.
Update to trigger a reevaluation to update the score in each
NetworkAgent in the ConnectivityService.
Bug: 192149168
Test: atest CtsNetTestCases:android.net.cts.ConnectivityManagerTest\
#testSetAvoidUnvalidated --rerun-until-failure 100
Change-Id: Ie0f777d0030b66dd306332496192c74f6c183284
2021-06-30 16:41:59 +08:00
..
apf
Move config_apf* resources to NetworkStack
2021-05-13 14:40:10 +00:00
util
Trigger the network score update after setting test allow bad wifi
2021-06-30 16:41:59 +08:00
CaptivePortal.java
[CS05]Remove the hidden API usage of MetricsLogger
2021-03-03 10:17:52 +00:00
CaptivePortalData.java
Use String in CaptivePortalData underlying types
2021-04-08 08:23:20 +00:00
ConnectionInfo.aidl
Move module sources to packages/Connectivity
2021-02-01 11:52:14 +09:00
ConnectionInfo.java
Move module sources to packages/Connectivity
2021-02-01 11:52:14 +09:00
ConnectivityDiagnosticsManager.java
Check location permission for ConnDiags last.
2021-05-17 19:36:47 -07:00
ConnectivityFrameworkInitializer.java
Don't expose raw IBinder APIs.
2021-04-15 18:47:21 +09:00
ConnectivityManager.java
Merge "Provide a way to override the avoid bad wifi configuration"
2021-06-23 00:48:17 +00:00
ConnectivityResources.java
Migrate framework-connectivity internal resources
2021-03-20 22:35:16 +09:00
ConnectivitySettingsManager.java
Add ConnectivitySettingsManagerTest
2021-06-22 03:00:51 +00:00
ConnectivityThread.java
Move module sources to packages/Connectivity
2021-02-01 11:52:14 +09:00
DhcpInfo.java
Move module sources to packages/Connectivity
2021-02-01 11:52:14 +09:00
DnsResolver.java
Downgrade DNS fail message from Error to Warning
2021-04-06 02:30:56 +00:00
DnsResolverServiceManager.java
Don't expose raw IBinder APIs.
2021-04-15 18:47:21 +09:00
ICaptivePortal.aidl
[CS05]Remove the hidden API usage of MetricsLogger
2021-03-03 10:17:52 +00:00
IConnectivityDiagnosticsCallback.aidl
Move module sources to packages/Connectivity
2021-02-01 11:52:14 +09:00
IConnectivityManager.aidl
Provide a way to override the avoid bad wifi configuration
2021-06-22 14:54:02 +08:00
InetAddressCompat.java
Fix InetAddressCompat exception handling
2021-03-19 23:56:27 +09:00
InetAddresses.java
Move module sources to packages/Connectivity
2021-02-01 11:52:14 +09:00
INetworkActivityListener.aidl
[IT06]Move INetworkActivityListener into connectivity module
2021-02-18 12:03:21 +08:00
INetworkAgent.aidl
Add a setTeardownDelayMs API to NetworkAgent.
2021-03-29 21:33:08 +09:00
INetworkAgentRegistry.aidl
Allow network providers to set the linger duration.
2021-06-08 00:17:37 +00:00
INetworkOfferCallback.aidl
[NS05] Feed network offer callbacks
2021-06-07 10:57:48 +00:00
InvalidPacketException.java
Move module sources to packages/Connectivity
2021-02-01 11:52:14 +09:00
IOnCompleteListener.aidl
Move network selection utils to Connectivity
2021-03-18 23:57:26 +09:00
IpConfiguration.java
Add @Nullable to Object#equals()
2021-02-05 07:28:44 +00:00
IpPrefix.java
Replace InetAddress#parseNumericAddress
2021-03-12 19:57:40 +08:00
IQosCallback.aidl
Add 5G/NR QOS support
2021-03-23 19:14:21 -07:00
ISocketKeepaliveCallback.aidl
Move module sources to packages/Connectivity
2021-02-01 11:52:14 +09:00
ITestNetworkManager.aidl
Move module sources to packages/Connectivity
2021-02-01 11:52:14 +09:00
KeepalivePacketData.java
Move module sources to packages/Connectivity
2021-02-01 11:52:14 +09:00
LinkAddress.java
Replace InetAddress#parseNumericAddress
2021-03-12 19:57:40 +08:00
LinkProperties.java
Remove hidden method link in public addRoute API
2021-04-15 16:21:00 +08:00
MacAddress.java
Revert "Revert "Remove connectivity dependency on Preconditions""
2021-03-22 00:01:43 +00:00
NattKeepalivePacketData.java
Move module sources to packages/Connectivity
2021-02-01 11:52:14 +09:00
NattSocketKeepalive.java
Move module sources to packages/Connectivity
2021-02-01 11:52:14 +09:00
Network.java
Remove dependency on libnetd_client
2021-06-01 18:40:06 +09:00
NetworkAgent.java
Allow network providers to set the linger duration.
2021-06-08 00:17:37 +00:00
NetworkAgentConfig.java
Rename APIs in NetworkAgentConfig.Builder
2021-04-12 17:27:47 +08:00
NetworkCapabilities.java
Merge "Send a proxy broadcast when apps moved from/to a VPN"
2021-06-15 09:26:21 +00:00
NetworkConfig.java
Move module sources to packages/Connectivity
2021-02-01 11:52:14 +09:00
NetworkInfo.java
Remove hidden @NetworkType in NetworkInfo
2021-03-11 20:29:10 +09:00
NetworkProvider.java
Add documentation
2021-06-08 00:17:37 +00:00
NetworkReleasedException.java
Move QoS API classes to Connectivity
2021-03-01 18:09:30 +09:00
NetworkRequest.java
[VCN21] Do not add NOT_VCN_MANAGED capability if specifier is present
2021-05-17 07:04:13 +00:00
NetworkScore.java
Add documentation
2021-06-08 00:17:37 +00:00
NetworkState.java
Remove Slog usage in NetworkState
2021-03-11 21:01:30 +09:00
NetworkUtils.java
Remove dependency on libnetd_client
2021-06-01 18:40:06 +09:00
OemNetworkPreferences.java
Adding OEM Network Preferences for testing
2021-04-05 21:51:09 -07:00
ParseException.java
Set ParseException constructors as public
2021-04-08 15:57:31 +09:00
ProxyInfo.java
Make PacProxyService be a system service
2021-03-15 14:40:58 +08:00
QosCallback.java
Move QoS API classes to Connectivity
2021-03-01 18:09:30 +09:00
QosCallbackConnection.java
Add 5G/NR QOS support
2021-03-23 19:14:21 -07:00
QosCallbackException.java
Move QoS API classes to Connectivity
2021-03-01 18:09:30 +09:00
QosFilter.java
QOS filter matching support based on remote address and port number for connected sockets
2021-05-13 09:50:13 -07:00
QosFilterParcelable.java
Move QoS API classes to Connectivity
2021-03-01 18:09:30 +09:00
QosSession.java
Add 5G/NR QOS support
2021-03-23 19:14:21 -07:00
QosSessionAttributes.java
Move QoS API classes to Connectivity
2021-03-01 18:09:30 +09:00
QosSocketFilter.java
QOS filter matching support based on remote address and port number for connected sockets
2021-05-13 09:50:13 -07:00
QosSocketInfo.java
QOS filter matching support based on remote address and port number for connected sockets
2021-05-13 09:50:13 -07:00
RouteInfo.java
Replace Inet[4|6]Address#ANY
2021-03-08 07:18:31 +00:00
SocketKeepalive.java
[TL02]Remove hidden API usage of NetworkAgent
2021-03-29 15:33:44 +08:00
SocketLocalAddressChangedException.java
Move QoS API classes to Connectivity
2021-03-01 18:09:30 +09:00
SocketNotBoundException.java
Move QoS API classes to Connectivity
2021-03-01 18:09:30 +09:00
StaticIpConfiguration.java
Revert "Revert "Remove connectivity dependency on Preconditions""
2021-03-22 00:01:43 +00:00
TcpKeepalivePacketData.java
Replace fields with getters in keepalive API
2021-04-08 14:06:53 +09:00
TcpRepairWindow.java
Remove TcpRepairWindow from module-lib API
2021-04-12 14:26:55 +08:00
TcpSocketKeepalive.java
Move module sources to packages/Connectivity
2021-02-01 11:52:14 +09:00
TestNetworkInterface.java
Move module sources to packages/Connectivity
2021-02-01 11:52:14 +09:00
TestNetworkManager.java
Add RequiresPermission to TestNetworkManager
2021-04-08 16:12:23 +09:00
TestNetworkSpecifier.java
Remove Preconditions usage in TestNetworkSpecifier
2021-03-22 00:02:10 +00:00
TransportInfo.java
TransportInfo: Add a generic redaction mechanism
2021-03-19 20:15:21 +00:00
UidRange.aidl
Move UidRange to connectivity
2021-03-02 15:35:36 +09:00
UidRange.java
Make getUid a method on UserHandle itself instead of static
2021-04-09 08:33:07 +08:00
VpnTransportInfo.java
Address API review feedback
2021-04-23 02:46:05 +00:00