Commit Graph

73 Commits

Author SHA1 Message Date
Wei Wang
24e2cb207b API changes for resolving API council comments.
Bug:222291473
Bug:222291491
Bug:222291420
Bug:222291565

Test: atest CtsNearbyFastPairTestCases
Test: atest NearbyUnitTests
Ignore-AOSP-First: new project
CTS-Coverage-Bug: 217565373
Change-Id: I653c58216cb789df80699eef5c6e0c693f9296fc
2022-03-12 21:16:36 -08:00
TreeHugger Robot
1523bf7eb4 Merge "API changes for addressing API Council comments." into tm-dev 2022-03-11 01:51:36 +00:00
Chun Zhang
ee379fd75a Address API feedback: rename to AntispoofKey
[Antispoofkey and AntiSpoofkey should be AntispoofKey]
Bug: 218682005
Test: Unit Test
Ignore-AOSP-First: nearby_not_in_aosp_yet

Change-Id: I5124094005d446293cc6cf980a60628e93080631
2022-03-10 21:36:23 +00:00
Xiao Ma
eaaf7d3a83 Build ethernet framework source into framework-connectivity-tiramisu
- 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
Ignore-AOSP-First: Topic of Ethernet Mainline has merge conflict with
                   master, merge this CL first and cherry-pick it back.
Change-Id: I54857b8517649048a343c72797668394d5225766
2022-03-10 20:57:38 +09:00
Xinyi Zhou
ff98750c70 Update system-current.txt and module-lib-current.txt to resolve API council comments
Bug: 216294721
Test: Compiled
Ignore-AOSP-First: nearby_not_in_aosp_yet
CTS-Coverage-Bug: 213364287
Change-Id: Ic01a517eb8d6cf4f193bf40e84cb33189f6c80d2
2022-03-10 02:41:19 +00:00
Xinyi Zhou
59b40a2405 Change system-current.txt and module-lib-current.txt for changing API
according to council feedbacks

Bug: 216590902
Test: Flashed and confirmed logs
Ignore-AOSP-First: nearby_not_in_aosp_yet
CTS-Coverage-Bug: 213364287
Change-Id: Iea331d9d8b3425498f921104e946dc259710ae94
2022-03-08 19:24:41 +00:00
Wei Wang
88c484422c API changes for addressing API Council comments.
Bug:222291418
Bug:222291433
Bug:222291394
Bug:222291470
Bug:222291434
Bug:222291543
Bug:222291565

Test: atest CtsNearbyFastPairTestCases
Ignore-AOSP-First: new project
Change-Id: If85c8071503a79b8057d5703d4276adba4403c00
2022-03-06 14:44:00 -08:00
Chun Zhang
9c18dab11d Add AccountKeys to FastPairAccountDevicesMetadataRequest
Test: CTS test.
Bug: 204780849
Change-Id: I57a529a476f04c78d95763562e61ae55fb774fa9
Merged-In: I57a529a476f04c78d95763562e61ae55fb774fa9
Ignore-AOSP-First: nearby_not_in_aosp_yet
CTS-Coverage-Bug: 205591293
2022-03-01 19:43:45 +00:00
Frank
d8990c334a [DU03-4]Add NETWORK_STACK Permission check for NetworkStatsService API
1. getUidStatsForTransport API

Bug: 210066922
Test: atest BatteryStatsImplTest WifiPowerCalculatorTest
            MobileRadioPowerCalculatorTest NetworkStatsServiceTest
Ignore-AOSP-First: merge conflict resolutions

(cherry-picked from ag/16822075)

Change-Id: I2d4d79e5bce648b9937311f5039619ba191728fd
Merged-In: I2d4d79e5bce648b9937311f5039619ba191728fd
2022-03-02 02:23:33 +08:00
Junyu Lai
eb6f4bef96 [MS54.3] Move NetworkStats to updatable sources
This CL builds NetworkStats related codes with the
connectivity module instead of platform.

Test: TH
Bug: 197717846
Change-Id: I4eeb7ea9cfc3139991caf0fc22474e0052a0391c
Merged-In: I4eeb7ea9cfc3139991caf0fc22474e0052a0391c
2022-02-28 03:24:19 +00:00
Frank Li
455bdef02e Merge "[DU03-4]Add NETWORK_STACK Permission check for NetworkStatsService API" 2022-02-10 07:11:59 +00:00
TreeHugger Robot
64640e09a4 Merge "Expose Presence System APIs for scan offload." 2022-02-10 06:45:44 +00:00
Aaron Huang
2e778ee46b Move IpSec APIs to Connectivity module
(cherry picked from commit 68ca373929)
Bug: 204153604
Test: TH
Change-Id: If4afabdc65ed2ac3e918af1d4a03c4c9173c4a3c
Merged-In: If4afabdc65ed2ac3e918af1d4a03c4c9173c4a3c
2022-02-10 14:25:04 +08:00
Wei Wang
b15b5a83ce Expose Presence System APIs for scan offload.
These APIs are needed for CHRE nanoapp development.

Bug: 217466265
Bug: 217462253
Test: atest CtsNearbyFastPairTestCases
Ignore-AOSP-First: nearby_not_in_aosp_yet
CTS-Coverage-Bug: 217565373
Change-Id: Ie6a8970159ab4f8d41ed5e8249f71c59df20b329
2022-02-09 19:39:33 -08:00
Chun Zhang
b6e49a9cb4 Merge "Add name to FastPairDeviceMetadata." 2022-02-09 19:35:46 +00:00
Frank
098c517dda [DU03-4]Add NETWORK_STACK Permission check for NetworkStatsService API
1. getUidStatsForTransport API

Bug: 210066922
Test: atest BatteryStatsImplTest WifiPowerCalculatorTest
            MobileRadioPowerCalculatorTest NetworkStatsServiceTest
Ignore-AOSP-First: merge conflict resolutions
Change-Id: I2d4d79e5bce648b9937311f5039619ba191728fd
2022-02-09 22:13:13 +08:00
Chun Zhang
f639ce09eb Add name to FastPairDeviceMetadata.
Test: atest CtsNearbyFastPairTestCases
Bug: 205591293
Change-Id: I43027d5f61068a59f5a8f68c1f3e10cfd135f2b5
Ignore-AOSP-First: nearby_not_in_aosp_yet
CTS-Coverage-Bug: 205591293
2022-02-09 06:38:55 +00:00
Yan Yan
f8063e3de6 Un-finalize IpSecManager
Allows VCN and IKE unit tests to mock IpSecManager and thus stop
depending on the hidden APIs in the Connectivity module
(e.g. IpSecService binder interface). Otherwise, any changes on
these related hidden APIs will require topic changes across multiple
projects.

Ignore-AOSP-First: Avoiding conflicts; cherry-pick will follow
Bug: 217572993
Test: make update-api
Test: atest IpSecManagerTest, IpSecManagerTunnelTest
Change-Id: I417e243d9d2650e3d977a9e2bb70824652ccbf28
2022-02-08 19:29:50 -08:00
Junyu Lai
2ef865e0fd [MS54.3] Move NetworkStats to updatable sources
This CL builds NetworkStats related codes with the
connectivity module instead of platform.

Ignore-AOSP-First: Avoiding conflicts; cherry-pick will follow
Test: TH
Bug: 197717846
Change-Id: I4eeb7ea9cfc3139991caf0fc22474e0052a0391c
2022-02-07 10:11:40 +09:00
Aaron Huang
68ca373929 Move IpSec APIs to Connectivity module
Bug: 204153604
Test: TH
Change-Id: If4afabdc65ed2ac3e918af1d4a03c4c9173c4a3c
2022-02-03 09:47:54 +09:00
Remi NGUYEN VAN
51935fc21e Add nearby to tethering apex
Nearby will be merged together with the tethering/connectivity APEX, so
that module maintenance efforts can be reduced, and the two codebases
can evolve the interfaces that they expose to each other over time.

Bug: 189355156
Test: m
Ignore-AOSP-First: Nearby is not yet in AOSP. This introduces minimal
                   unavoidable merge conflicts until it is merged there.
Change-Id: If4b40689a257d2806f895cd2dded97fc699adc5f
2022-01-26 18:03:22 +09:00
paulhu
667e8fb176 Build framework-connectivity-tiramisu library
- 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
Ignore-AOSP-First: Other commits has merged conflict.
CTS-Coverage-Bug: 207804007
Change-Id: I9628716f5c38047ff4ea2346b27589077259c436
2021-12-16 16:08:18 +00:00
paulhu
802ab9760f Build framework-connectivity-tiramisu library
- 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
2021-12-17 00:04:24 +08:00