Commit graph android_packages_modules_Co.../framework-t
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" am: 8b7896b51a
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2018880

Change-Id: Ibcc236d2807da26a9aeae3eab6d6b10361a58cb5

Lorenzo Colitti   authored and   Automerger Merge Worker   commited 2022-03-15 23:57:57 +00:00
cf9f545864
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 "[DU09-3]Modify the NetworkStatsCollection Builder API" am: 3f5703df80
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2010336

Change-Id: I70722dac5d4eb15deece4938a47b2d99fea04ec0

Frank Li   authored and   Automerger Merge Worker   commited 2022-03-14 02:59:58 +00:00
c36cb655e5
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" am: 481c0cd100
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1973859

Change-Id: I20538f9c3637fe2282b00ce426c14379fb7899ea

Frank Li   authored and   Automerger Merge Worker   commited 2022-03-03 02:53:23 +00:00
a301247810
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" am: 8039c85336
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1895196

Change-Id: Ifd74ecea09dda5ff534e05ca4bb293bbf32b788e

Frank Li   authored and   Automerger Merge Worker   commited 2022-03-02 12:53:11 +00:00
dfeea7208c
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
Merge "[DU03-4]Add NETWORK_STACK Permission check for NetworkStatsService API" am: 1b87cafbc1
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2004490

Change-Id: I6c29156646e99e93120def63394ab02778e754bb

Frank Li   authored and   Automerger Merge Worker   commited 2022-03-02 08:19:19 +00:00
0e9d604526
Merge "[DU03-4]Add NETWORK_STACK Permission check for NetworkStatsService API"
Frank Li   authored and   Gerrit Code Review   commited 2022-03-02 07:48:45 +00:00
1b87cafbc1
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
Rename framework-connectivity-tiramisu to framework-connectivity-t
Note: There is a difference on Tethering/apex/Android.bp because
      framework-connectivity-tiramisu has been marked on
      bootclasspath_fragment.

Bug: 215434166
Ignore-AOSP-First: Merge conflict. Will cherry-pick to AOSP afterwards.
Test: build, flash, device boot to home.
Merged-In: I9ebedf8813cbfa30d979bc35a3b2306715be682b
Change-Id: I9ebedf8813cbfa30d979bc35a3b2306715be682b
(cherry picked from commit 1d87cbdc88)

paulhu   authored and   Paul Hu   commited 2022-03-01 03:10:41 +00:00
e8054a8ad1
Rename framework-connectivity-tiramisu to framework-connectivity-t
Bug: 215434166
Test: build, flash, device boot to home.
Merged-In: I9ebedf8813cbfa30d979bc35a3b2306715be682b
Change-Id: I9ebedf8813cbfa30d979bc35a3b2306715be682b

paulhu   commited 2022-03-01 09:44:21 +08:00
537f72061a
Merge changes from topic "ms52-movenetstats" am: cebdfba1bb
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1987452

Change-Id: Ia7a6725b6cf8cdfa0ab712f5f2c4fe223892f39a

Lorenzo Colitti   authored and   Automerger Merge Worker   commited 2022-02-28 06:08:47 +00:00
0c0ab875e9
Add setPollForce to module API am: 73a61e7c28
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1987450

Change-Id: Ibec723d59eae973168b0c5715acfd5dff2c99164

Remi NGUYEN VAN   authored and   Automerger Merge Worker   commited 2022-02-28 06:08:44 +00:00
2fa0db3124
[MS54.3] Move NetworkStats to updatable sources am: eb6f4bef96
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1987447

Change-Id: I902a20e0c2304cae6e57a32c5b33403245116f7f

Junyu Lai   authored and   Automerger Merge Worker   commited 2022-02-28 06:08:37 +00:00
0a7c4c5659
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
Rename framework-connectivity-tiramisu to framework-connectivity-t
Bug: 215434166
Ignore-AOSP-First: Merge conflict. Will cherry-pick to AOSP afterwards.
Test: build, flash, device boot to home.
Merged-In: I9ebedf8813cbfa30d979bc35a3b2306715be682b
Change-Id: I9ebedf8813cbfa30d979bc35a3b2306715be682b

paulhu   authored and   Paul Hu   commited 2022-02-20 15:12:13 +00:00
699477a8f0
Merge "Fix tab by replacing it with spaces" am: d6751bd159 am: 893f5f39ac
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1981647

Change-Id: I399616eedc5159da5bac04b238d2c96fff380b38

Treehugger Robot   authored and   Automerger Merge Worker   commited 2022-02-11 09:53:39 +00:00
0f224ba602
Merge "Fix tab by replacing it with spaces" am: d6751bd159
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1981647

Change-Id: I2099c1f04159a8e32bd4f03ad8cfb78862916b2e

Treehugger Robot   authored and   Automerger Merge Worker   commited 2022-02-11 09:39:23 +00:00
893f5f39ac
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
Fix tab by replacing it with spaces
Test: no code changes
Change-Id: I3644c4914486189d58c8e59ac62c6856296cce08

Aaron Huang   commited 2022-02-11 13:52:29 +08:00
b5af0fe5dc
[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" am: baefbc3375
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1961307

Change-Id: I5b7c49c3d509a85ac0a351f1a0cd54ea5fd76694

Treehugger Robot   authored and   Automerger Merge Worker   commited 2022-02-10 12:09:04 +00:00
2166ac36e4
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 visibility for core tests" am: d54fcc49a7
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1978070

Change-Id: I31bcb348cd17bf27f66952f58eb901ae4fcd18f0

Junyu Lai   authored and   Automerger Merge Worker   commited 2022-02-10 09:51:20 +00:00
3009b9dfe9
Merge "Add visibility for core tests"
Junyu Lai   authored and   Gerrit Code Review   commited 2022-02-10 09:23:57 +00:00
d54fcc49a7
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 "Add OWNERS for Nearby code" am: bf9d21a6d2
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1976828

Change-Id: Ia5c6ef3db547e24725f6447268043e25c627b497

Lorenzo Colitti   authored and   Automerger Merge Worker   commited 2022-02-10 08:33:46 +00:00
09e6af2b37
Merge "Add OWNERS for Nearby code"
Lorenzo Colitti   authored and   Gerrit Code Review   commited 2022-02-10 08:16:55 +00:00
bf9d21a6d2
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
Merge "[MS55.2] Move NetworkStateSnapshot into module folder"
Treehugger Robot   authored and   Gerrit Code Review   commited 2022-02-10 05:02:45 +00:00
a8ae24410d