Commit Graph

32757 Commits

Author SHA1 Message Date
Amos Bianchi
62e8cf3a70 Add Device Lock service to system server.
Bug: b/241442337
Bug: b/228907574
Test: service successfully starts
Test: atest DeviceLockUnitTests
Test: cts-tradefed run cts -m CtsDeviceLockTestCases

Change-Id: I928d697c4040168955090712547c973a9e7ff61c
2022-10-20 22:50:42 -07:00
Cole Faust
d1ff29e235 Merge "Add lint api database files for module and system server sdks" am: 1291b83a2f am: 874a97ea01 am: fc3e0b2251
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2241594

Change-Id: If4a3d8e26684c2b104ed98bf2fc5de454f7a8cca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-13 00:16:29 +00:00
Cole Faust
dcda370025 Add lint api database files for module and system server sdks
Soong modules compiled against the module or system server sdks
should use the api_versions.xml for their respective sdk, but
currently they use the public-filtered api database. Add module
and system server sdk build targets to be used later.

Right now they're unused. I'm adding them first so that they
can be built on the build server, and then we can import them
into prebuilts/sdk, as some builds require the api files to be
prebuilt.

Bug: 193460475
Test: m api-versions-xml-module-filtered api-versions-xml-system-server-filtered
Change-Id: I668a878a470125ed3ecf79435713c27c4dd92b0a
2022-10-12 10:17:12 -07:00
Hassan Ali
482f91c8e3 Add configinfrastructure to platform_bootclasspath
Test: m configinfrastructure-sdk
Bug: 248552678
Change-Id: Ic7c7f18c281b376eb84e07114343fd8eb719c52e
2022-10-05 13:20:10 +00:00
Qiao Li
70e4135166 Merge "Add federatedcompute stubs and bootclasspath fragment" 2022-09-30 16:46:00 +00:00
Anna Zhuravleva
5bdd56de55 Add HealthConnect system service scaffold.
Setup scaffold for the Health Connect system service.
This service will provide system APIs to read and write
health data.

Bug: 249321392
CTS-Coverage-Bug: 248508112
Test: atest android.healthconnect.cts
Change-Id: I503c24a039c37d09895fc4f73a1de1a13eeb72b0
2022-09-29 16:03:25 +00:00
qiaoli
8d1d87d286 Add federatedcompute stubs and bootclasspath fragment
Test: TH
Bug: 244640209
Change-Id: I364cbe5303333f1e70585840c1bda178135fe22d
2022-09-28 16:22:32 +00:00
Anton Hansson
603d9aa01b Merge "Run additional compat checks for checkapi" am: 6196e669fb am: 335f3fc4d6 am: 151ac18420 am: ac18d1ab5f am: 153037dbfe
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2223378

Change-Id: Icb3148b6558528403cf55a976e879e19fd0b86b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-22 00:14:33 +00:00
Anton Hansson
de68fb13a6 Run additional compat checks for checkapi
They're already triggered by some other dependency for "full"
builds, but checkapi is expected to check all the APIs.

Test: m checkapi (with breaking change)
Change-Id: Ib9378bd6b6c43c7166309901f516c22e25e9ff4a
2022-09-21 09:43:47 +00:00
Treehugger Robot
c7fa453c81 Merge "Remove Python enables identical to global defaults." am: 3fd51ff02a am: a728156a2d am: 1c9e3b6c5a am: 3a47e2f6e9 am: 37453749d9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2220474

Change-Id: Id0bf0939a6418299b1ec81a4e88ff6d2a50e9bdc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 16:10:55 +00:00
Krzysztof Kosiński
3fb6fc6b11 Remove Python enables identical to global defaults.
Bug: 245854393
Test: presubmit
Change-Id: I7c4a9faa4919d01a751d607b32c184618f2ebefc
2022-09-18 01:52:09 +00:00
Treehugger Robot
fa0d96c86d Merge "Update OWNERS files to not suggest Soong owners" am: cfd590f9fa am: fd20b2ef6f am: cc7f77e406 am: 2f3e528984 am: 76952b0421
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1950385

Change-Id: I93ed7afaea2af2abb2fb7fd2d66e0dccf20ecc39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-24 05:49:55 +00:00
Liz Kammer
3ec39ccddb Update OWNERS files to not suggest Soong owners
Test: n/a
Change-Id: I210e4c6c5caf5e9a232b17af0504b4ef416cf4bd
2022-08-23 10:57:31 -04:00
Xin Li
14543d1ec7 Merge tm-dev-plus-aosp-without-vendor@8763363
Bug: 236760014
Merged-In: I5705ac7586cb73b7bc2bd60bb792d0a0a951ed74
Change-Id: I59a4fd917c95c8c9e258cd743cee2d950a46d9cd
2022-06-28 21:24:28 +00:00
Anton Hansson
58963eb774 Merge "Add a system variant of the merged annotations" am: 16d142849e am: 035a929561 am: b103f0d765 am: 160df6f35f am: 4d140b4023
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2132126

Change-Id: I5ea66c24d1f50c128c6ff483f4e543970114376c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-27 20:16:01 +00:00
Anton Hansson
e7edf5d7e3 Merge "Refactor merged annotations creation" am: 24f473395d am: 6ca396706d am: d4b424edeb am: 4a658e1f97 am: e18de8858f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2132125

Change-Id: I0b87e7a697a625daa135dde421a353d152411c45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-27 20:13:58 +00:00
Anton Hansson
b103f0d765 Merge "Add a system variant of the merged annotations" am: 16d142849e am: 035a929561
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2132126

Change-Id: I1069faa26c031375b8ffb3700c9c8ceb156cbfa2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-24 19:36:58 +00:00
Anton Hansson
d4b424edeb Merge "Refactor merged annotations creation" am: 24f473395d am: 6ca396706d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2132125

Change-Id: I42b2f8b7e4bfbee7077a658753304af0debbf4b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-24 19:33:38 +00:00
Anton Hansson
74b1564144 Add a system variant of the merged annotations
This is going to be disted instead of the monolithic one being
used currently.

Bug: 235140934
Test: m sdk-annotations{,-system}.zip and diff; manual spot checking
Test: m sdk dist && diff out/dist/system-data/annotations.zip with this
Change-Id: I9874f88e933a8b804a73638e6bac7a9d312c7c9f
2022-06-23 10:15:29 +00:00
Anton Hansson
0c5d9ab598 Refactor merged annotations creation
It's clearer to define the module in Android.bp, and keep
our custom Go code to the minimal. The only thing the go
code really needs to do is create a "all module annotations"
module. This matches the pattern of the other modules here (the
pattern was invented after sdk-annotations.zip was first
migrated).

Bug: 235140934
Test: m sdk-annotations.zip before/after (no diffs)
Change-Id: Iae246081bcf4e5177d1da98c2e01c702fb349a22
2022-06-23 08:04:55 +00:00
Jiakai Zhang
1489e0da35 Add service-art to Android SDK.
Bug: 235330409
Test: Presubmit
Change-Id: I1f398cbe77c5a1cba78daa47e17f40ccd709c8a4
2022-06-17 12:17:40 +01:00
Anton Hansson
79d883b7ac Merge "Use lint database from api_version_public" am: 39ebb3b0c0 am: d708548986
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2092243

Change-Id: Ic7554fcb2a7ce3708354ac934b2e636d36e0e23e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-11 20:48:08 +00:00
Anton Hansson
247c5f26ec Use lint database from api_version_public
These two databases are (nearly) identical but the latter is generated
in a much more efficient way.

The diffs are very minor and it's not clear to me which versions is more
correct than the other, though I'm fairly confident they don't matter.

https://paste.googleplex.com/5567994005553152

Droidstubs now support using the api-versions.xml from another
droidstubs module, so reuse the one from api_versions_public
in framework-doc-stubs.

Bug: 187398174
Test: diff api-versions.xml
Test: diff stubs of framework-doc-stubs
Change-Id: I774be9097e97d6b180fe54d799c94515780be6ec
2022-05-09 12:18:46 +00:00
Paul Duffin
365021f866 Remove unnecessary work around for updatable-media
Bug: 190807367
Bug: 229932396
Test: m framework-all
Change-Id: I70590910144141a534b926f884e9f08e4e3af5ca
2022-04-28 22:35:53 +00:00
Anton Hansson
dc3afbe3ca Merge "Fix mistake in disting of api txt" am: 89ee3e6394 am: fc4d75a149 am: 26554faaf2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2059568

Change-Id: I15e56be28fe46471aa63aa123c757bce6512d3f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 18:54:06 +00:00
Anton Hansson
09a9c4e3c5 Fix mistake in disting of api txt
When disting into the apistubs/... dir (the "new" path),
the merged api txts are called android.txt rather than
current.txt, to align with all the other <module>.txt.

Also add a new dist goal to build just these files into a
convenient location.

Test: m api_txt dist
Change-Id: I762763cc42b497e00277a8871ef62b0a11423e35
2022-04-08 12:23:51 +01:00
Neha Pattan
2edfc48cb6 Remove *nonpublic_deps which was added pre-Rb announcement.
Bug: 221855066
     21090328
Test: build
      mmm -j packages/modules/Auxiliary
      mmm -j packages/modules/SupplementalApi
Change-Id: If84b882f8bdaee62cfb107c6a079fbc55a012876
2022-03-02 17:40:52 +00:00
Neha Pattan
c62f49fbb2 Merge "(2/3) Remove SupplementalApi from BCP." into tm-dev 2022-03-02 16:22:57 +00:00
Nikita Ioffe
c04cf3c4b9 Merge "Rename supplementalprocess->sdksandbox jars" into tm-dev 2022-03-01 17:08:45 +00:00
paulhu
2a8c2c3601 Rename framework-connectivity-tiramisu to framework-connectivity-t
Bug: 215434166
Test: build, flash, device boot to home.
Merged-In: I44653ab7be117cf08cb3b8d3086ad76b43bf15e1
Change-Id: I44653ab7be117cf08cb3b8d3086ad76b43bf15e1
2022-03-01 09:41:12 +08:00
Neha Pattan
b091e1e3a7 (2/3) Remove SupplementalApi from BCP.
Bug: 221855066
Test: build
      mmm -j packages/modules/SupplementalProcess
Change-Id: I243ccaa963902351f357c379dd59a6193bee2899
2022-02-28 20:31:31 +00:00
Nikita Ioffe
59029ad151 Rename supplementalprocess->sdksandbox jars
Bug: 220320098
Test: m
Test: presubmit
Test: flashed device, checked BCP and SSCP
Change-Id: Ie1d2aac422f9ffe332f9622b168e908dee874c9e
2022-02-28 18:32:17 +00:00
Roopa Sattiraju
82c71dd74d Merge "Enabling Apex in BT" into tm-dev 2022-02-25 06:30:19 +00:00
Neha Pattan
724e51d9b9 Merge "(1/6) AdServices setup." into tm-dev 2022-02-24 23:49:59 +00:00
Roopa Sattiraju
293ed88b2f Enabling Apex in BT
Bug: 217736913
Test: Compile, bringup and test user journeys
Change-Id: I3e796e3618ad9a077fa5e8ac387e314e896d1051
2022-02-24 20:42:33 +00:00
Neha Pattan
fa46dd2aae (1/6) AdServices setup.
Bug: 219953633
Test: build
      mmm -j packages/modules/AdServices
      mmm -j packages/modules/SupplementalApi
Change-Id: I2fe660daf8f90b41526d946fb66e83aaf9fd1ed0
2022-02-24 16:28:26 +00:00
Anton Hansson
5f6988d7c2 Merge "Expand comment about using a merge api base" am: 0cf86f5a44 am: c36460bc4c am: 4bd4bdf3a7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1997110

Change-Id: I688d3d23734c9af40502cf3f9e528c7541c0255d
2022-02-24 11:53:01 +00:00
Anton Hansson
0cf86f5a44 Merge "Expand comment about using a merge api base" 2022-02-24 10:32:00 +00:00
Anton Hansson
1e48ea5c6c Merge "Revert "Disable ChangedThrows"" am: ea2c2589ab am: 1f453c7572 am: b75c50107c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1994710

Change-Id: I4bda26d3e4d678253f4277fa70544adace07553f
2022-02-23 17:26:48 +00:00
Anton Hansson
ea2c2589ab Merge "Revert "Disable ChangedThrows"" 2022-02-23 15:06:46 +00:00
Anton Hansson
9d34e31877 Expand comment about using a merge api base
A bit more context for the next person looking into improving this
check (it's not straightforward).

Test: No
Change-Id: Ie389bc10dcc307a996dc3a7fad55405fe12a09b9
2022-02-23 11:24:00 +00:00
Anton Hansson
9eadc4611f Revert "Disable ChangedThrows"
This reverts commit 4d6f55f9c1.

Reason for revert: No longer needed
Bug: 217545629

Change-Id: I51978bf3a27a48bec890e044b9989ea46991a9be
2022-02-22 14:08:18 +00:00
paulhu
e074dd2e34 Rename framework-connectivity-tiramisu to framework-connectivity-t
Bug: 215434166
Test: build, flash, device boot to home.
Merged-In: I44653ab7be117cf08cb3b8d3086ad76b43bf15e1
Change-Id: I44653ab7be117cf08cb3b8d3086ad76b43bf15e1
2022-02-20 15:10:27 +00:00
Sam Gilbert
871a4532d9 Merge "Disable ChangedThrows" am: 65ef5b4d8c am: 2c146ef569 am: 3a23cbc378
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1988627

Change-Id: I157a3cec90ab9994d5a45fd17a8429bc7ac35b7a
2022-02-18 05:53:59 +00:00
Sam Gilbert
65ef5b4d8c Merge "Disable ChangedThrows" 2022-02-17 19:04:02 +00:00
Sam Gilbert
4d6f55f9c1 Disable ChangedThrows
Bug: 217545629
Test: build passes
Change-Id: I6cf1fe48f81c414f9709ddf7b117108de4028f22
2022-02-17 10:36:16 -05:00
Frank Wang
e97ff9ebfe Add ondevicepersonalization stubs and bootclasspath fragment
Test: Build
Bug: b/218749359
Change-Id: I651ca865a3215fa2a541636c3af495fdcd4ba8f9
2022-02-13 07:06:31 +00:00
Aurimas Liutikas
0a99c8b1fd Merge "Adding metalava team to OWNERS to be able to disable metalava checks that will break platform build." am: bb3df0c09a am: 99109bf95e am: 85b8a067bf am: 168c7aa892
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1973024

Change-Id: I77648762fa1520022e420779e2f76bbbd20f8350
2022-02-08 22:32:11 +00:00
Aurimas Liutikas
bb3df0c09a Merge "Adding metalava team to OWNERS to be able to disable metalava checks that will break platform build." 2022-02-08 21:35:17 +00:00
Sam Gilbert
93fdf4dd29 Adding metalava team to OWNERS to be able to disable metalava checks that will break platform build.
Change-Id: Ie9b32cc3b59eb4059203fed6ade40a2ca0cfee5a
2022-02-07 15:35:03 +00:00