summaryrefslogtreecommitdiff
path: root/service-t/src/com/android/server/ConnectivityServiceInitializer.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove InterruptedException from NsdService#createpaulhu2022-04-111-6/+2
| | | | | | | | | | | | | - NsdService isn't using NativeDaemonConnector to connect to mdnsresponder after aosp/2049246, so NsdService#create won't throw InterruptedException. - Also no need to catch InterruptedException in ConnectivityServiceInitializer. Bug: 209894875 Test: atest FrameworksNetTests CtsNetTestCases Ignore-AOSP-First: BB on this branch when running TH on AOSP. Change-Id: I1d0b973f9dac0f1d4f9d4d03faef66f05edde3fc
* Vendor AIDL interface for port blocking via eBPFTyler Wear2022-03-251-0/+22
| | | | | | | | | New Connectivity Service exposed to vendor for restricting certain ports for use only in vendor. Bug: 179733303 Change-Id: Iad9aff6924498ede5a08cfa5482082f094c0a90b
* Fix the NPE thrown when starting Ethernet service in OS lower than T.Xiao Ma2022-03-161-3/+1
| | | | | | | | Bug: 210586283 Bug: 223993229 Test: m Merged-In: I5b61643cf99681e4db56468401e8670f90f9257e Change-Id: If2c74bd5ed53fc571697145041413cbb85482177
* Build ethernet framework source into framework-connectivity-tiramisuXiao Ma2022-03-141-0/+28
| | | | | | | | | | | | | | - move ethernet APIs, build it into framework-connectivity-tiramisu - start ethernet service from ConnectivityServiceInitializer - fix EthernetManager dependnecy in Tethering module - fix EthernetNetworkSpecifier dependency in framework-connectivity - fix the ethernet related config resource Bug: 210586283 Test: m Test: atest FrameworksNetTests EthernetServiceTests Change-Id: I54857b8517649048a343c72797668394d5225766 Merged-In: I54857b8517649048a343c72797668394d5225766
* Add try/catch, shim in Nearby initializationRemi NGUYEN VAN2022-03-081-3/+11
| | | | | | | | | | | | The try/catch allows using a stub NearbyService on branches that do not support it yet. Also update Context.NEARBY_SERVICE to ConstantsShim to be compatible with all branches. Bug: 189355156 Test: boots Change-Id: I7db0035b0d9ada79f00d6ef1ac5b54b2e98489d0
* Start Nearby from Connectivity ServiceInitializerRemi NGUYEN VAN2022-03-041-1/+23
| | | | | | | | | | On T+, start and register Nearby services from the initializer, and send proper callbacks. Bug: 189355156 Test: Booted, service started Merged-In: I7e280495f1eefada0939dad2ce7f47f45885ad66 Change-Id: Ieca032c80cb37e424d07c500257a844c8418fe3e
* Move IpSec APIs to Connectivity moduleAaron Huang2022-02-101-0/+17
| | | | | | | | (cherry picked from commit 68ca373929e17f9262585600fe6ddf03637415a7) Bug: 204153604 Test: TH Change-Id: If4afabdc65ed2ac3e918af1d4a03c4c9173c4a3c Merged-In: If4afabdc65ed2ac3e918af1d4a03c4c9173c4a3c
* Build framework-connectivity-tiramisu librarypaulhu2021-12-171-0/+62
- Move nsd APIs and build framework-connectivity-tiramisu library - Add nsd associated hidden apis - Build service-connectivity-tiramisu-pre-jarjar library for T+ services. - Move ConnectivityServiceInitialiizer to service-t directory to create S+ service instances which can avoid dependency on lower sdk library. Bug: 206893064 Test: atest FrameworksNetTests CtsNetTestCases CTS-Coverage-Bug: 207804007 Merged-In: I9628716f5c38047ff4ea2346b27589077259c436 Change-Id: I9628716f5c38047ff4ea2346b27589077259c436