Commit graph android_packages_modules_Co.../framework-t/api
Message SHA1
Merge "Rename setUidForeground to noteUidForeground" am: 8b7896b51a am: cf9f545864
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2018880

Change-Id: I8a3ac0a4dcf9201435ad227b36acf4e0f1889f22

Lorenzo Colitti   authored and   Automerger Merge Worker   commited 2022-03-16 00:37:29 +00:00
f2975db5a4
Merge "Rename setUidForeground to noteUidForeground"
Lorenzo Colitti   authored and   Gerrit Code Review   commited 2022-03-15 23:33:26 +00:00
8b7896b51a
Merge "Update system-current.txt and module-lib-current.txt to resolve API council comments" into tm-dev
Xinyi Zhou   authored and   Android (Google) Code Review   commited 2022-03-14 22:45:47 +00:00
74539fb52a
Merge "[DU09-3]Modify the NetworkStatsCollection Builder API" am: 3f5703df80 am: c36cb655e5
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2010336

Change-Id: Ibcafcd8e69e4179a984ebb0fdf5a211d11407c97

Frank Li   authored and   Automerger Merge Worker   commited 2022-03-14 03:32:29 +00:00
3f0e64da5a
Merge "API changes for addressing API Council comments." into tm-dev
TreeHugger Robot   authored and   Android (Google) Code Review   commited 2022-03-11 01:51:36 +00:00
1523bf7eb4
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

Chun Zhang   commited 2022-03-10 21:36:23 +00:00
ee379fd75a
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

Xiao Ma   commited 2022-03-10 20:57:38 +09:00
eaaf7d3a83
Rename setUidForeground to noteUidForeground
Addresses API review feedback. Both setUidForeground in
NetworkStatsManager and NetworkStatsService are renamed to
noteUidForeground. Thus, the caller in test should be also
modified.

Bug: 222291301
Test: atest FrameworksNetTests
Change-Id: Ifa1e1af3d9fd8b1dc75a8f37947a5958f60ed415

Aaron Huang   commited 2022-03-10 18:33:50 +08:00
5417280f17
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

Xinyi Zhou   commited 2022-03-10 02:41:19 +00:00
ff98750c70
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

Xinyi Zhou   commited 2022-03-08 19:24:41 +00:00
59b40a2405
[DU09-3]Modify the NetworkStatsCollection Builder API
1. Adding the bucketDuration with unit as bucketDurationmillis
2. make the Key class be final
3. The Key set parameter be marked with an IntDef

Bug: 220153505
Test: atest NetworkStatsCollectionTest
Change-Id: I8919ed595c2d339e8a5c0fc163b3c40edb4a2ad8

Frank   commited 2022-03-07 16:31:26 +08:00
349fadfa52
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

Wei Wang   commited 2022-03-06 14:44:00 -08:00
88c484422c
Merge "[MS68.4] Address comments at aosp/1958144"
Frank Li   authored and   Gerrit Code Review   commited 2022-03-03 02:26:53 +00:00
481c0cd100
Merge "[SUBID01-1]Grow NetworkIdentity to include a new mSubId field"
Frank Li   authored and   Gerrit Code Review   commited 2022-03-02 12:26:11 +00:00
8039c85336
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

Chun Zhang   commited 2022-03-01 19:43:45 +00:00
9c18dab11d
[MS68.4] Address comments at aosp/1958144
Test: atest TrafficStatsTest NetworkUsageStatsTest FrameworksNetTests
Bug: 204830222
Ignore-AOSP-First: merge conflict

(cherry-picked from ag/16811186)

Change-Id: I2578e13e2844591adac1d1902f2454ec7079ceea
Merged-In: I2578e13e2844591adac1d1902f2454ec7079ceea

Frank   commited 2022-03-02 03:09:09 +08:00
eeeb76d3bb
[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

Frank   commited 2022-03-02 02:23:33 +08:00
d8990c334a
[SUBID01-1]Grow NetworkIdentity to include a new mSubId field
In the previous design of NSS and NPMS, those only had IMSI to identify
the cell network. Now the telephony has created the "subId" handle,
which is the preferred mechanism for identifying subscribers.

This commit adds NetworkStats support for subscriberId as a part of
the network identity key

Bug: 80526261
Test: atest NetworkTemplateTest NetworkStatsCollectionTest
            NetworkStatsServiceTest NetworkIdentityTest
Ignore-AOSP-First: merge conflict resolutions

(cherry-picked from ag/16826535)

Change-Id: I8549b11d0fcfc5a9426724d6b90de27b707cb77c
Merged-In: I8549b11d0fcfc5a9426724d6b90de27b707cb77c

lifr   authored and   Frank   commited 2022-03-01 16:43:28 +08:00
8ba46d804f
Update API files to unhide MATCH_PROXY.
Bug: 204830222
Test: m
Ignore-AOSP-First: part of topic with internal-only code
  (cherry-picked from ag/16786006)
Change-Id: I9e11eea30ea9c988498e005c33f173ba2d0a32ec
Merged-In: I9e11eea30ea9c988498e005c33f173ba2d0a32ec

Lorenzo Colitti   authored and   Junyu Lai   commited 2022-02-28 04:17:19 +00:00
9e066c9faf
Add setPollForce to module API
The API was test API in S, but this is not supported in module API
surfaces. Make it module API instead.

Ignore-AOSP-First: Avoiding merge conflicts. Cherry-pick will follow
Bug: 197717846
Test: Tests already using this API
  (cherry-picked from ag/16780903)
Change-Id: I53959f0ad4c7a41950e9349d539be82b9166b707
Merged-In: I53959f0ad4c7a41950e9349d539be82b9166b707

Remi NGUYEN VAN   authored and   Junyu Lai   commited 2022-02-28 04:17:06 +00:00
73a61e7c28
[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

Junyu Lai   commited 2022-02-28 03:24:19 +00:00
eb6f4bef96
Merge "[SUBID01-1]Grow NetworkIdentity to include a new mSubId field"
Frank Li   authored and   Android (Google) Code Review   commited 2022-02-11 06:19:49 +00:00
9fd3ef39af
[SUBID01-1]Grow NetworkIdentity to include a new mSubId field
In the previous design of NSS and NPMS, those only had IMSI to identify
the cell network. Now the telephony has created the "subId" handle,
which is the preferred mechanism for identifying subscribers.

This commit adds NetworkStats support for subscriberId as a part of
the network identity key

Bug: 80526261
Test: atest NetworkTemplateTest NetworkStatsCollectionTest
            NetworkStatsServiceTest NetworkIdentityTest
Ignore-AOSP-First: merge conflict resolutions
Change-Id: I8549b11d0fcfc5a9426724d6b90de27b707cb77c

lifr   authored and   Frank   commited 2022-02-10 22:51:56 +08:00
1f788606a0
Merge "Move IpSec APIs to Connectivity module"
Treehugger Robot   authored and   Gerrit Code Review   commited 2022-02-10 11:45:21 +00:00
baefbc3375
Merge "Add OWNERS for Nearby code" am: bf9d21a6d2 am: 09e6af2b37
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1976828

Change-Id: Ie31d7aec5015cd3ff94b7b113ae367ebfc86d178

Lorenzo Colitti   authored and   Automerger Merge Worker   commited 2022-02-10 08:52:46 +00:00
2d15fee6b1
Merge "[DU03-4]Add NETWORK_STACK Permission check for NetworkStatsService API"
Frank Li   authored and   Android (Google) Code Review   commited 2022-02-10 07:11:59 +00:00
455bdef02e
Merge "Expose Presence System APIs for scan offload."
TreeHugger Robot   authored and   Android (Google) Code Review   commited 2022-02-10 06:45:44 +00:00
64640e09a4
Add OWNERS for Nearby code
Add owners to Nearby members for the nearby directory and framework-t
API directory.

Test: m
Change-Id: I1095064de389ab5f035d8750c0106195d1c167ac

Remi NGUYEN VAN   commited 2022-02-10 15:27:29 +09:00
d8965edd3d
Move IpSec APIs to Connectivity module
(cherry picked from commit 68ca373929)
Bug: 204153604
Test: TH
Change-Id: If4afabdc65ed2ac3e918af1d4a03c4c9173c4a3c
Merged-In: If4afabdc65ed2ac3e918af1d4a03c4c9173c4a3c

Aaron Huang   commited 2022-02-10 14:25:04 +08:00
2e778ee46b
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

Wei Wang   commited 2022-02-09 19:39:33 -08:00
b15b5a83ce
Merge "Add name to FastPairDeviceMetadata."
Chun Zhang   authored and   Android (Google) Code Review   commited 2022-02-09 19:35:46 +00:00
b6e49a9cb4
Merge "Un-finalize IpSecManager"
Yan Yan   authored and   Android (Google) Code Review   commited 2022-02-09 18:19:31 +00:00
f144222810
[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

Frank   commited 2022-02-09 22:13:13 +08:00
098c517dda
Add name to FastPairDeviceMetadata.
Test: atest CtsNearbyFastPairTestCases
Bug: 205591293
Change-Id: I43027d5f61068a59f5a8f68c1f3e10cfd135f2b5
Ignore-AOSP-First: nearby_not_in_aosp_yet
CTS-Coverage-Bug: 205591293

Chun Zhang   commited 2022-02-09 06:38:55 +00:00
f639ce09eb
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

Yan Yan   commited 2022-02-08 19:29:50 -08:00
f8063e3de6
[MS68.4] Address comments at aosp/1958144
Test: atest TrafficStatsTest NetworkUsageStatsTest FrameworksNetTests
Bug: 204830222
Ignore-AOSP-First: merge conflict
Change-Id: I2578e13e2844591adac1d1902f2454ec7079ceea

Frank   commited 2022-02-08 16:23:51 +08:00
21d9760250
Update API files to unhide MATCH_PROXY.
Bug: 204830222
Test: m
Ignore-AOSP-First: part of topic with internal-only code
Change-Id: I9e11eea30ea9c988498e005c33f173ba2d0a32ec

Lorenzo Colitti   authored and   Remi NGUYEN VAN   commited 2022-02-07 05:47:55 +00:00
2d869d52a4
Add setPollForce to module API
The API was test API in S, but this is not supported in module API
surfaces. Make it module API instead.

Ignore-AOSP-First: Avoiding merge conflicts. Cherry-pick will follow
Bug: 197717846
Test: Tests already using this API
Change-Id: I53959f0ad4c7a41950e9349d539be82b9166b707

Remi NGUYEN VAN   commited 2022-02-07 10:11:40 +09:00
0046059c6f
[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

Junyu Lai   authored and   Remi NGUYEN VAN   commited 2022-02-07 10:11:40 +09:00
2ef865e0fd
Merge "Add APIs for discovery with a network request" am: 9335a56282 am: 6367c37dec
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1952112

Change-Id: Iecd4038860f77c88db669e4994a9c178ff6bd480

Remi NGUYEN VAN   authored and   Automerger Merge Worker   commited 2022-02-04 12:55:44 +00:00
92204f9470
Merge "Add APIs for discover/resolve on specific networks" am: d61719c422 am: 5baa9f74ca
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1944726

Change-Id: Iad6b5fab7501ec18dc3946194f1a26af5fd7b627

Remi NGUYEN VAN   authored and   Automerger Merge Worker   commited 2022-02-04 12:54:02 +00:00
69ed144d84
Add APIs for discovery with a network request
Verify that services will be found / lost when underlying networks
change.

Bug: 190249673
Test: atest NsdManagerTest
Change-Id: If62b18a729c6d7b8e2c8701eda6f860ecea4cbaf

Remi NGUYEN VAN   commited 2022-02-03 18:39:34 +09:00
792947307e
Add APIs for discover/resolve on specific networks
Test that NsdManager specifies the correct network when a service is
discovered, and that services can be resolved on a specified network.
Also test that service discovery can be started on a specific network.

Bug: 190249673
Test: atest NsdManagerTest

Change-Id: Ie8b551ce9e33e3adf35f75508f91bbd0df71f837

Remi NGUYEN VAN   commited 2022-02-03 16:05:02 +09:00
06bdcec9fa
Move IpSec APIs to Connectivity module
Bug: 204153604
Test: TH
Change-Id: If4afabdc65ed2ac3e918af1d4a03c4c9173c4a3c

Aaron Huang   authored and   Lorenzo Colitti   commited 2022-02-03 09:47:54 +09:00
68ca373929
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

Remi NGUYEN VAN   commited 2022-01-26 18:03:22 +09:00
51935fc21e
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

paulhu   commited 2021-12-16 16:08:18 +00:00
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
CTS-Coverage-Bug: 207804007
Merged-In: I9628716f5c38047ff4ea2346b27589077259c436
Change-Id: I9628716f5c38047ff4ea2346b27589077259c436

paulhu   commited 2021-12-17 00:04:24 +08:00
802ab9760f