lifr
538f079d20
Cleanup the public API getActiveNetworkForUid on AOSP
...
In order to make ConnectivityService the mainline module in ANDROID 12,
The earliest ConnectivityService API getActiveNetworkForUid was exposed.
But after that public api getActiveNetworkForUid and all callers
(Outside the module) has been deleted or replaced in android 12
version. So we should delete the public API in AOSP to keep the APIs
of Android 12 & AOSP consistent and also avoid using it again in AOSP.
The commit is equivalent to ag/14029494, but done in a different repo.
Bug: 183465229
Test: atest ConnectivityControllerTest
Merged-In: I3c2563d4ae4e3715d0c6270344ba8f7ef067872f
Change-Id: I50a39d6391c88bbb914a63fdb17bae6851591c01
2021-07-14 21:13:45 +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
Cleanup the public API getActiveNetworkForUid on AOSP
2021-07-14 21:13:45 +08: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 new network capabilities to support automotive head unit via USB
2021-07-08 09:44:39 +09: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