Commit Graph

561016 Commits

Author SHA1 Message Date
Lucas Lin
67ba0bc206 Merge changes I06ab0f2d,I8b146aa1
* changes:
  Use UserHandle#getIdentifier to get the userid
  Add test for getStartUser(), getEndUser() and createForUser()
2021-03-02 04:13:32 +00:00
Lucas Lin
51510ea705 Merge changes I35ed84fc,Ie6cfd77b,I4e4f929f,I751526e8
* changes:
  Fix comments left on aosp/1547454 and aosp/1556106
  Remove INetworkManagementService from ConnectivityService
  Remove unused INetworkManagementService
  Remove BaseNetworkObserver from Nat464Xlat
2021-03-02 04:07:35 +00:00
lucaslin
6e09f2a6ce Use UserHandle#getIdentifier to get the userid
UidRange uses PER_USER_RANGE to calculate and get the userid,
but PER_USER_RANGE is a hidden API, so use getIdentifier to get
the userid instead.

Bug: 170598012
Test: atest FrameworksNetTests:UidRangeTest
Change-Id: I06ab0f2da8a33d2b718bbc3a609d3d6a5fe0a095
2021-03-02 02:21:39 +00:00
Remi NGUYEN VAN
32a606fe54 Merge "Move QoS API classes to Connectivity" 2021-03-02 00:36:47 +00:00
Yan Yan
6a6a6349a7 Merge "Support converting IkeTrafficSelector to/from PersistableBundle" 2021-03-01 22:31:24 +00:00
Shuo Qian
b7cc3c6106 Merge "Companion InCallService API review" 2021-03-01 16:46:36 +00:00
Treehugger Robot
19f7526c3e Merge "[LSC] Add LOCAL_LICENSE_KINDS to frameworks/base" 2021-03-01 16:25:43 +00:00
Bob Badour
a830943f6c [LSC] Add LOCAL_LICENSE_KINDS to frameworks/base
Added SPDX-license-identifier-Apache-2.0 to:
  location/tests/Android.bp
  services/api/Android.bp
  services/tests/servicestests/test-apps/PackageParsingTestManifests/Android.bp
  tests/FlickerTests/test-apps/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I823e093d400903202e5535188639dddd1a1f78a9
Merged-in: I823e093d400903202e5535188639dddd1a1f78a9
2021-03-01 15:25:02 +00:00
Remi NGUYEN VAN
3550d4bab5 Move QoS API classes to Connectivity
The classes were added in S and are used to back ConnectivityManager
APIs. Add them to the connectivity boundary as they belong together with
ConnectivityManager.

Bug: 181512874
Test: m
Change-Id: I03b5978949b200a72813d1ebc4812d851fe3df37
2021-03-01 18:09:30 +09:00
Lorenzo Colitti
6a01b8d23b Merge "Delete the last remaining user of TestNetworkStackLib." 2021-03-01 07:47:47 +00:00
Lorenzo Colitti
55d9c5a693 Delete the last remaining user of TestNetworkStackLib.
FrameworksNetIntegrationTests is the last user of this target.
It is not really necessary since it can trivially be replaced by
NetworkStackApiStableLib.

Bug: 167645754
Test: atest FrameworksNetIntegrationTests
Change-Id: Id5e8eb3f58590f4b3cfbcbef66b00acbba77a7a7
2021-03-01 15:12:53 +09:00
Remi NGUYEN VAN
3d31f1ead0 Merge "Split out the connectivity API surface" 2021-03-01 01:07:19 +00:00
Rajeev Kumar
8596c6e90e Merge "Add basic dumping to AppHibernationService" 2021-02-28 16:04:10 +00:00
Julien Desprez
f9e2a9c55a Merge "attempt to run protologtool-tests as unit tests" 2021-02-27 00:41:48 +00:00
Connor O'Brien
a0bbd188e4 Merge "Revert "Revert "Clear BPF data in KernelCpuUidTimeReader.removeUid()""" 2021-02-27 00:04:47 +00:00
Christian Wailes
76348ffadf Merge "Add LocalManagerRegistry inside system server." 2021-02-26 23:26:38 +00:00
Brad Ebinger
44d6bdc332 Merge "[RCS UCE] Define a new ACCESS_RCS_USER_CAPABILITY_EXCHANGE permission for associated RCS UCE APIs" 2021-02-26 20:45:18 +00:00
Evgenii Stepanov
d600f5067a Merge "Implement memtagMode and nativeHeapZeroInit manifest attrs." 2021-02-26 20:11:10 +00:00
Suren Baghdasaryan
d061730dae Merge "Fix total memtrack Graphics and GL calculations" 2021-02-26 18:59:10 +00:00
Suren Baghdasaryan
1ec9894cd6 Fix total memtrack Graphics and GL calculations
Some execution paths do not account memtrack reported Graphics and GL
values in the calculations of memtrack total memory consumption.
Fix this by adding the missing parts.

Bug: 174546244
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I77f06322fbb06ffa33115c1469aba80e59247904
Merged-In: I77f06322fbb06ffa33115c1469aba80e59247904
2021-02-26 18:59:01 +00:00
Treehugger Robot
5cc4c3ff91 Merge "Rename the font file with PostScript name based file name" 2021-02-26 18:38:22 +00:00
Hunter Knepshield
39742a519c Merge "[API review] Additional detail in BugreportCallback javadoc." 2021-02-26 18:31:22 +00:00
Winson Chiu
1736ad8bfe Merge "Add OWNERS for pm.verify.domain" 2021-02-26 17:49:47 +00:00
Andrei-Valentin Onea
eaf3fd59ff Merge "Fix deadlock on CompatConfig.mChanges" 2021-02-26 16:26:21 +00:00
Vladimir Marko
523e3b9b79 Merge "Change dirty-image-objects file format." 2021-02-26 11:08:46 +00:00
Junyu Lai
702ca13a66 Merge "[FUI08] Create NeworkStateSnapshot" 2021-02-26 10:53:36 +00:00
Remi NGUYEN VAN
c15d99e6ff Split out the connectivity API surface
Split out connectivity APIs to connectivity module directories. This
prepares future move of the connectivity code into a mainline module,
but still keeps it implemented by framework-minus-apex for now: the API
stubs are moved to framework-connectivity.stubs, but the implementation
on device remains in the same place.

This allows moving the connectivity code in/out of APEX with minimal
changes.

BYPASS_INCLUSIVE_LANGUAGE_REASON=Moving files, can't modify released API

Bug: 171540887
Test: device boots, connectivity working

Merged-In: I21c42f032efa6c10e36c749df3183ce9679303a7
(cherry-pick from internal branch with API files conflicts)

Change-Id: I21c42f032efa6c10e36c749df3183ce9679303a7
2021-02-26 19:23:25 +09:00
James Lin
a2d03f9eec Merge "Update the UCE OPTIONS API" 2021-02-26 09:49:57 +00:00
Zoey Chen
c8057ecd1c Merge "[Telephony] Implement onDataEnabled callback" 2021-02-26 09:30:44 +00:00
Almaz Mingaleev
112cd8df86 Merge "Re-throw system server exception." 2021-02-26 08:42:36 +00:00
Dmitry Dementyev
dbf8a7c1bd Merge "Migrate recoverablekeystore to KeyStore V2." 2021-02-26 06:13:35 +00:00
junyulai
c6ddf7afbc [FUI08] Create NeworkStateSnapshot
Since NetworkState has UnsupportedAppUsage APIs that cannot
be changed, create another class for follow-up patches
to expose as system API.

Test: NetworkStateSnapshotTest
Bug: 174123988
Change-Id: I54ef872847f34166aa34a79f6178c90ac12b6c72
2021-02-26 11:57:06 +08:00
Junyu Lai
594e8def4c Merge "Fix copyright license of VpnTransportInfo" 2021-02-26 03:38:59 +00:00
Janis Danisevskis
a51a74a8c5 Merge "Keystore 2.0: Clear Uid/Namesapce" 2021-02-26 03:04:30 +00:00
Daniel Bright
cc318221a5 Merge "Revert^2 "Add CAPABILITY_ALLOWED_NETWORK_TYPES_USED"" 2021-02-26 02:34:42 +00:00
Remi NGUYEN VAN
fada307ddf Merge "Fix CaptivePortalDataTest on R" 2021-02-26 01:51:14 +00:00
Remi NGUYEN VAN
2c49d21ce1 Merge "Add public alternative for protectFromVpn" 2021-02-26 01:50:32 +00:00
Dmitry Dementyev
16491e1316 Migrate recoverablekeystore to KeyStore V2.
Test: manual
Bug: 171305545
Change-Id: Id415be48cab6852df155b5b2dbaf941ef54cd5a4
2021-02-25 16:42:15 -08:00
Hai Zhang
aee41a9ac9 Add LocalManagerRegistry inside system server.
This is similar to LocalServices, but dedicated to module API in the
same process.

Bug: 158736025
Test: presubmit
Merged-In: Ib9f14070a665ebd8c582376d7ea044d9b945b6b0
Change-Id: Ib9f14070a665ebd8c582376d7ea044d9b945b6b0
2021-02-25 15:55:58 -08:00
Calin Juravle
41207e284c Merge "Migrate deleteOdex functionality to DexManager" 2021-02-25 23:42:53 +00:00
Evgenii Stepanov
15cce113f7 Implement memtagMode and nativeHeapZeroInit manifest attrs.
memtagMode allows an app to opt in to MTE in either sync or async mode.

nativeHeapZeroInit enables automatic initialization of heap memory.

Both attributes default to off and can be specified at either
application or process level.

Bug: 135772972
Bug: 177438394
Bug: 178038272
Test: CtsTaggingHostTestCases

Change-Id: I6a481a9d2363997bf954f248d08224c79f0c2afb
Merged-In: I6a481a9d2363997bf954f248d08224c79f0c2afb
2021-02-25 23:38:33 +00:00
Hunter Knepshield
433d357604 [API review] Additional detail in BugreportCallback javadoc.
This covers edge cases left out of the previous generalization.

Bug: 180015324
Test: make
Change-Id: I309d17cd09434469b5d88275cd59e864f4830c3a
2021-02-25 23:16:20 +00:00
Tianjie Xu
5c9ebe31ab Merge "Fix a typo for the server blob timeout" 2021-02-25 22:20:05 +00:00
Chris Weir
b1cba34bfd Merge "Update tests for PANS network usage metrics" 2021-02-25 21:37:42 +00:00
Chris Weir
90261da202 Merge "Add support for tracking PANS data usage" 2021-02-25 21:37:42 +00:00
Collin Fijalkovich
d43c415293 Merge "Avoid TransferPipe for local dumpCacheInfo calls" 2021-02-25 21:03:15 +00:00
sqian
7a2b711b00 Companion InCallService API review
Test: atest; make docs
Bug: 179116441
Change-Id: Id75e727f6c3fc42132a80f7258bf790be79acf19
Merged-In: Id75e727f6c3fc42132a80f7258bf790be79acf19
(cherry picked from commit d30bd60beb)
2021-02-25 20:40:12 +00:00
Brian Stack
752aee7e04 Merge "Remove unnecessary UWB functions" 2021-02-25 19:16:03 +00:00
Daniel Bright
c018a8ce65 Revert^2 "Add CAPABILITY_ALLOWED_NETWORK_TYPES_USED"
0acda00463

Change-Id: Ia55b965fc43efa239ec6d502f37fc8ef6b6bb916
Merged-In: Ie31d32a08b10b8c125f27832e81a3e65b6d8767a
2021-02-25 18:50:56 +00:00
Jeff Sharkey
ff07d10d0f Merge "update owner for shortcut related test cases" 2021-02-25 17:32:54 +00:00