Chalard Jean
0702f98edc
Add a mode for cell radios unable to time share
...
Upon changing the default SIM card, the radio will create a
new connection to the new subscription. If that subscription
works correctly, the stack will prefer it to the old one as
the new subscription will be marked with a Primary policy
flag it its score.
Normally, at this point the old network lingers to give apps
an opportunity to gracefully migrate their connections. But
with some radios, this may have a dramatic effect on the
performance of the new connection.
This patch introduces a flag so that devices with such radios
can be marked. In this case the stack will move to a degraded
mode and eschew the grace delay for apps and give them a hard
break instead, so that the new network can reach a good
performance immediately. Apps with existing connections will
suffer a worse experience.
If there is a request that can only be served by the old
connection, still keep it, as arguably the user still
expects their MMS be sent on the old connection, even if the
new connection doesn't work well until it's done.
Test: new test in this patch, and add relevant tests in both modes
also manually change the value of the flag and run
FrameworksNetTests and CtsNetTestCasesLatestSdk
Bug: 200226979
Change-Id: I4ace82f90e873bf06298cc689bb1d794ed5124bd
2021-09-18 04:03:13 +00:00
..
apf
Move config_apf* resources to NetworkStack
2021-05-13 14:40:10 +00:00
util
Correct log
2021-07-20 13:16:57 +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
Correct the calling method in removeDefaultNetworkActiveListener
2021-09-16 02:25:48 +00:00
ConnectivityResources.java
Migrate framework-connectivity internal resources
2021-03-20 22:35:16 +09:00
ConnectivitySettingsManager.java
Force only system uid can set uids allowed on restricted networks
2021-07-02 20:04:50 +08: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
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 workarounds to use core platform API
2021-07-02 10:05:07 +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
Add a mode for cell radios unable to time share
2021-09-18 04:03:13 +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