summaryrefslogtreecommitdiff
path: root/framework/src/android/net/ConnectivityFrameworkInitializer.java
Commit message (Collapse)AuthorAgeFilesLines
* Don't expose raw IBinder APIs.Lorenzo Colitti2021-04-151-0/+6
| | | | | | | | | | APIs should not expose raw IBinder objects. Fix: 184735751 Test: builds, boots Test: atest CtsNetTestCases:android.net.cts.ConnectivityManagerTest Test: atest CtsNetTestCases:android.net.cts.DnsResolverTest Change-Id: Ia0c4170def31123f0b79318fec2cfe02e4fcd3bf
* Move VPN code from ConnectivityService to VpnManagerService.Lorenzo Colitti2021-02-121-11/+0
| | | | | | | | | | | | | | | | | | | | | | ConnectivityService itself does not depend on mVpns or the Vpn class any more. Most of this CL is simply moving code from one class to another: - Move the AIDL calls from IConnectivityManager to IVpnManager. - Move the implementation from ConnectivityService to the new VpnManagerService. - Move the APIs from ConnectivityManager to VpnManager, but temporarily maintain some shims in ConnectivityManager for the moved calls so that existing callers do not have to be modified in this CL. - Update VpnService to call IVpnManager instead of IConnectivityManager. - Move the code that registers the VpnManager service from ConnectivityFrameworkInitializer to SystemServiceRegistry. Bug: 173331190 Test: atest HostsideVpnTests FrameworksNetTests CtsNetTestCases Change-Id: I4911e2144df721a94fa00da9edf0dc372a7091c2
* Have connectivity self-register manager classesRemi NGUYEN VAN2021-02-011-0/+83
As connectivity services are planned to move to a separate module, move the manager classes registration from SystemServiceRegistry to ConnectivityServicesRegistrar, using the registerContextAwareService APIs. This follows patterns and naming in WifiFrameworkInitializer. Bug: 171540887 Test: device boots, connectivity working Change-Id: I62ced1275750c73f209bac8ec3a3204b95695b83