summaryrefslogtreecommitdiff
path: root/framework-t/src/android/net/ConnectivityFrameworkInitializerTiramisu.java
Commit message (Collapse)AuthorAgeFilesLines
* Add MDnsManagerpaulhu2022-04-041-0/+11
| | | | | | | | | | | | - Have MDnsManager to manage mdns native service binder call. - Register it as a system service for NsdService. - NsdService will use aidl to communicate with mdns, so add the relevant lib to framework-connectivity - Add jarjar rule for mdns-aidl-interface classes. Bug: 209894875 Test: atest FrameworksNetTests CtsNetTestCases Change-Id: Ibc8b726c01a15015b450caf94d0afed570117b7f
* Split out the ethernet API surface and use framework-connectivity-tXiao Ma2022-03-141-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | Ethernet framework and service source code is going to be moved to Connectivity mainline module, this CL contains below corresponding changes to adapt the migration in f/b side: 1. Split out ethernet module-lib APIs to Connectivity module. Add the ethernet resource filegroup to tiramisu-updatable-sources filegroup as well, build them together. Also update the module-lib and system api txt to reflect the APIs change. Remove the hidden APIs which are moved to Connectivity module. This removal fixes the api inconsistent issue with Tethering/apex/hidden/. 2. Remove EthernetService from SystemServer which will be registered from ConnectivityServiceInitializer. 3. Replace the BackgroundThread class(imported from f/b/core/java) with the one in the modules-utils-backgroundthread lib, which is visible to Connectivity module. Bug: 210586283 Test: m Test: atest FrameworksNetTests EthernetServiceTests Change-Id: I3e13cb9c0e348333af295c2537d459aa6700ff17 Merged-In: I1956848d3248cc56e9841d221e5e4c160bed65a4
* [MS62.1] Start NetworkStatsService from the moduleJunyu Lai2022-02-181-0/+11
| | | | | | | | | | | | | | | | | | | | NetworkStatsService is going to be moved into Connectivity mainlne module and it will be not visible to SystemServiceResistry after migration done. Thus: 1. Register service in NetworkStatsServiceInitialalizer, a separate initializer is needed because the service needs to be created before NetworkPolicyManagerService's initialization. 2. Call SystemReady at PHASE_ACTIVITY_MANAGER_READY phase where it needs to be ready before StatsPullAtomService pulls at PHASE_THIRD_PARTY_APPS_CAN_START. 3. Register manager in ConnectivityFrameworkInitializerTiramisu instead of SystemServiceRegistery. Test: atest FrameworksNetTests CtsNetTestCases NetworkUsageStatsTest Bug: 204830222 (cherry-picked from ag/16688794) Change-Id: I95020d816ed613ce3480a0720a5b71dcdc7fab72 Merged-In: I95020d816ed613ce3480a0720a5b71dcdc7fab72
* Split out the ipsec API surface and use framework-connectivity-tiramisuAaron Huang2022-02-101-0/+9
| | | | | | | | (cherry picked from commit 1dad7aa006492035293e68080aeaf606df02618a) Bug: 204153604 Test: TH Change-Id: I6cc8aef6a0ab9ce4bcef2797196b1d1b3687acca Merged-In: I6cc8aef6a0ab9ce4bcef2797196b1d1b3687acca
* Register NSD service from ConnectivityFrameworkInitializerTiramisupaulhu2021-12-131-0/+52
INsdManager is going to move into connectivity mainline module and it will be not visible to SystemServiceRegistry after migration done. Thus, use ConnectivityFrameworkInitializerTiramisu to register NSD service instead. ConnectivityFrameworkInitializerTiramisu will be implemented in the framework-connectivity-tiramisu bootclasspath JAR, which need to be separated from the S+ framework-connectivity bootclasspath JAR to be only loaded by the module on T+. So its methods cannot be in the same class as ConnectivityFrameworkInitializer. Bug: 206702844 Test: atest FrameworksNetTests CtsNetTestCases Merged-In: Ibf89ab9a35e35dac4978ba70c7ab306b6155a4a3 Change-Id: Ibf89ab9a35e35dac4978ba70c7ab306b6155a4a3