Commit Graph

2026 Commits

Author SHA1 Message Date
Anton Hansson
3187fca24f Merge "Fix typo in build file" 2022-01-14 09:41:52 +00:00
Anton Hansson
47ff71a902 Convert merged module lib stub to api.go
Bug: 169103987
Test: m framework-updatable-stubs-module_libs_api and diff intermediates
      folder before and after.
Change-Id: I6018791ae136bc764a6e846078c6bce59bcc123b
2022-01-13 15:07:09 +00:00
Anton Hansson
d968dc9453 Fix typo in build file
framework-all is only meant to contain impl libs, not stubs.

Bug: 208708734
Test: presubmit
Change-Id: I812a7de972ae582210e73b11eaa5d24b6dca9ea3
2022-01-12 14:55:51 +00:00
Xinyi Zhou
651507f9af Merge "Add nearby to java_library_with_nonpublic_deps" 2022-01-05 22:32:58 +00:00
Xinyi Zhou
358a2cde28 Add nearby to java_library_with_nonpublic_deps
Bug: 189954300
Test: Built
Change-Id: I2feaa1327f7d45a76ac918101bd6b33a86b3a065
2022-01-05 22:32:36 +00:00
Paul Hu
4090f0daba Merge "Split out the nsd API surface and use framework-connectivity-tiramisu" 2021-12-24 03:06:53 +00:00
William Escande
a76f95887c Merge "Remove allowBlocking from all BluetoothProfiles" 2021-12-17 00:15:40 +00:00
William Escande
33a146346b Remove allowBlocking from all BluetoothProfiles
Since Bluetooth is becoming a mainline module, it can no longer call the
allowBlocking hidden api.
Instead, all interface are moved to be oneway and use a synchronous data
to handle the return value.

Bug: 200200870
Test: Build + start Bt and play something on speaker
Tag: #refactor
Change-Id: I776a6322faadca1504bce24f2b6b041e756b6448
2021-12-16 19:28:02 +01:00
Neha Pattan
403eb57ae3 (2/4) Empty APIs for SupplementalApi module.
Bug: 208708734
Test: mmm -j packages/modules/SupplementalApi
Change-Id: Ia1094ba7f6461a5bc3dcf7ef8bb79b0046bf43ed
2021-12-15 21:57:50 +00:00
paulhu
f45fe96a54 Split out the nsd API surface and use framework-connectivity-tiramisu
- Split out nsd APIs and hidden APIs to Connectivity module.
- Keep the all files in f/b/packages/Connectivity-T and add
  framework-connectivity-tiramisu library on p/m/Connectivity.
  Then make framework to use this module library.
- Remove NsdService from SystemServer which will register from
  ConnectivityServiceInitializer

Bug: 206893064
Test: m online-sdk-dev-docs
Test: atest FrameworksNetTests CtsNetTestCases
CTS-Coverage-Bug: 207804007
Change-Id: I72c7de124b9cc53f2263bd452ecd5f39e88e485b
2021-12-15 02:10:38 +00:00
Krzysztof Kosiński
3fbeb6ee81 Merge "Revert "Empty APIs for SupplementalApi module."" 2021-12-13 17:33:42 +00:00
Krzysztof Kosiński
24245a5a29 Revert "Empty APIs for SupplementalApi module."
Revert "Empty APIs for SupplementalApi module."

Revert "Empty APIs for SupplementalApi module."

Revert submission 16439692-sapiskeleton

Reason for revert: broke T partner build
Reverted Changes:
I378536c7d:Empty APIs for SupplementalApi module.
Ic9c9ab95f:Empty APIs for SupplementalApi module.
I2f877d672:Empty APIs for SupplementalApi module.

Change-Id: Iff380bcf4021e93e61fce65ca9632fe5bc49918f
2021-12-11 03:34:21 +00:00
Neha Pattan
e0079de85b Merge "Empty APIs for SupplementalApi module." 2021-12-10 21:13:43 +00:00
Treehugger Robot
79779fcb69 Merge changes from topic "ms07-movestats" am: 942c713c9d am: 6d0a6803c9 am: f626e66561 am: 4e59f54c9e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1895044

Change-Id: Ie8b9eefca78493204ae2d83c1e051f4c2788b5c5
2021-12-10 19:43:44 +00:00
Treehugger Robot
4e59f54c9e Merge changes from topic "ms07-movestats" am: 942c713c9d am: 6d0a6803c9 am: f626e66561
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1895044

Change-Id: I05affe3c40f5d41e5c6e0bdab8f6d0581c90209e
2021-12-10 19:35:43 +00:00
Neha Pattan
a2efebf8e3 Empty APIs for SupplementalApi module.
Required for ag/16374377
Bug: 205850488
Test: mmm -j packages/modules/SupplementalApi

Change-Id: I378536c7d5d8bd8e74c42c9cbfe52f28de8351e3
2021-12-10 17:20:47 +00:00
Junyu Lai
d82296cf33 [MS08] Move NetworkStats files to f/b/package/ConnectivityT
NetworkStatsService is going to be moved into ConnectivityService
module. Move all related files to packages/ConnectivityT so that
it can be easily migrate these files to connectivity module
after clearing the hidden API usages.

Bug: 197717846
Test: TH
Change-Id: Iead00832b5eb7b1dc40a92027c5a14ae8316b16c
2021-12-10 16:11:08 +00:00
Paul Hu
0ebac1f535 Merge "Centralize nsd associated files" am: 32942299d3 am: 9238a7c49e am: 80425b7eeb am: 29bccff63b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1895244

Change-Id: Ic43cd5dc4ab9f0b98af3750d610cc48dd8860423
2021-12-02 18:48:56 +00:00
Paul Hu
29bccff63b Merge "Centralize nsd associated files" am: 32942299d3 am: 9238a7c49e am: 80425b7eeb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1895244

Change-Id: I034a8fb021c06e0a46b0baa55f6484624f843acd
2021-12-02 10:21:49 +00:00
paulhu
4e690dd40d Centralize nsd associated files
Move all nsd associated files include framework, service and test
to package/Nsd first. After clear all hidden API dependencies, we
can easily migrate these files into connectivity mainline module.

Bug: 206893064
Test: atest FrameworksNetTests CtsNetTestCases
Change-Id: Id26f471a10fe7882e31ccc2dbb73219461f00dbd
2021-11-29 23:08:06 +08:00
Bernardo Rufino
2b7e591f32 Run AndroidFrameworkLintChecker in frameworks-minus-apex
And add existing lint-baseline.xml to not break the build.

Test: Verify m out/soong/.intermediates/frameworks/base/framework-minus-apex/android_common/lint/lint-report.html doesn't fail
Change-Id: Iaff8801ffa9ce06d505e672c070253fd0f97b1aa
2021-11-29 13:17:10 +00:00
Marin Shalamanov
eb867fdea9 Merge "Add default display config for television" 2021-11-24 15:44:58 +00:00
Marin Shalamanov
1104725732 Add default display config for television
Fixes: 207331094
Ignore-AOSP-First: Owners file aded for a new folder
    which doesn't exist on AOSP
Test: adb shell dumpsys display | grep DensityMap
Change-Id: Ia46004fa8e41bb24b16a660f12873c9f9a93b6a4
2021-11-24 14:17:51 +01:00
Rajesh Nyamagoud
f3f8c926cb Support for OMAPI Vendor stable interface am: 4fe64fb471 am: 611e7da7ae am: c9c0e2fcc5 am: 6c690ba336
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1826552

Change-Id: Ibc20151a27fe37d28b939c32d52865d0f157405f
2021-11-23 06:00:30 +00:00
Rajesh Nyamagoud
6c690ba336 Support for OMAPI Vendor stable interface am: 4fe64fb471 am: 611e7da7ae am: c9c0e2fcc5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1826552

Change-Id: I8e10c56a2a901646fa1469a3ed22d1c8d9025cd0
2021-11-23 05:41:55 +00:00
Rajesh Nyamagoud
611e7da7ae Support for OMAPI Vendor stable interface am: 4fe64fb471
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1826552

Change-Id: Id6050e4686e15a0f65424069415397e6b39292c0
2021-11-23 05:13:42 +00:00
Jack Yu
f7a480d824 Merge changes from topic "OMAPI_VNTF"
* changes:
  replaced android.se.omapi-V1-ndk_platform library with android.se.omapi-V1-ndk
  VTS tests added for OMAPI Vendor stable interface
  Support for OMAPI Vendor stable interface
2021-11-23 04:54:02 +00:00
Marcus Hagerott
f8d93132e1 Merge "Allow ContactsProvider to use compat change framework" am: 911df4f515 am: 36f5ca1920 am: fa2c7f2eb1 am: e143499017
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1894075

Change-Id: I9ba64b458e2dee813afd57cae0fcc3c4420b78e6
2021-11-17 22:59:10 +00:00
Marcus Hagerott
e143499017 Merge "Allow ContactsProvider to use compat change framework" am: 911df4f515 am: 36f5ca1920 am: fa2c7f2eb1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1894075

Change-Id: I5d52b1cc825246e1a3a39d8a277aa02aa5c4b00c
2021-11-17 20:18:16 +00:00
Gavin Corkery
dd95addf34 Merge "Revert "Revert "Add SupplementalProcess stubs and bootclasspath ..."" 2021-11-17 18:53:55 +00:00
Gavin Corkery
bc0064491a Revert "Revert "Add SupplementalProcess stubs and bootclasspath ..."
Revert "Revert "Add framework-supplementalprocess to PRODUCT_APE..."

Revert^2 "Add framework-supplementalprocess prebuilts"

e0c2a4dea0d0e27abad0cd3e4d440ab8f82752e4

Change-Id: I98366465906bb6b78ecf75a9a2319f64feb25beb
2021-11-16 22:33:10 +00:00
Marcus Hagerott
6c681056bb Allow ContactsProvider to use compat change framework
BUG=188347648
Test: m droid

Change-Id: Ifb6675777c76ca1c44af96ceb02a6207d28bd045
2021-11-16 13:40:41 -08:00
Gavin Corkery
f8f18346c1 Merge "Revert "Add SupplementalProcess stubs and bootclasspath fragment"" 2021-11-15 20:51:41 +00:00
Gavin Corkery
bddffaa432 Revert "Add SupplementalProcess stubs and bootclasspath fragment"
Revert "Add framework-supplementalprocess to PRODUCT_APEX_BOOT_JARS"

Revert "Add framework-supplementalprocess prebuilts"

Revert submission 16194363-supplementalprocess-stubs

Reason for revert: PDK build break
Reverted Changes:
Ie1d3605d2:Add SupplementalProcess stubs and bootclasspath fr...
I1ea34faba:Add framework-supplementalprocess to PRODUCT_APEX_...
I8ef2a4c0f:Add jars and fragment to SupplementalProcess apex
Ibf9444f89:Add framework-supplementalprocess prebuilts

Change-Id: Ic569389a4b3a54323c283e9573590686ce27f491
2021-11-15 20:39:32 +00:00
Mark Chien
1731cd2d4e Merge "Compile android-non-updatable with framework-tethering module-lib stub" am: 1176dd4409 am: 9a542a9799 am: e95587d1ca am: e2e27a8063
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1885796

Change-Id: I98d51b1595bed95f181f903781dacabaa90c0d00
2021-11-15 14:37:35 +00:00
Mark Chien
e2e27a8063 Merge "Compile android-non-updatable with framework-tethering module-lib stub" am: 1176dd4409 am: 9a542a9799 am: e95587d1ca
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1885796

Change-Id: I050c42b46b475e058796ea483df27f644b5ab16f
2021-11-15 14:25:12 +00:00
Mark Chien
1176dd4409 Merge "Compile android-non-updatable with framework-tethering module-lib stub" 2021-11-15 13:36:51 +00:00
markchien
cd813a30ed Compile android-non-updatable with framework-tethering module-lib stub
To resolve framework-tethering's module-lib for android-non-updatable
API, compile android-non-updatable with
sdk_module-lib_current_framework-tethering.

Bug: 205658040
Test: make update-api && make

Change-Id: Ib4bd0312f6c621ba19552a2608e47f9158b0fe25
2021-11-12 23:13:18 +08:00
Gavin Corkery
8ddee731e8 Merge "Add SupplementalProcess stubs and bootclasspath fragment" 2021-11-11 15:59:13 +00:00
Treehugger Robot
1f8fa98f54 Merge "Migrate NetworkStack modules to use modules-utils" am: 8aa04b89e0 am: 205306681d am: 6a005ce583 am: c297f2c86c am: 0926394011
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1834519

Change-Id: I1fd4cf75e9a90d55cc35c14c49e2b8bcc97be5c3
2021-11-11 14:58:54 +00:00
Treehugger Robot
0926394011 Merge "Migrate NetworkStack modules to use modules-utils" am: 8aa04b89e0 am: 205306681d am: 6a005ce583 am: c297f2c86c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1834519

Change-Id: I5a16d23f38e726e865432e38f8b01941de5d3c8c
2021-11-11 14:58:04 +00:00
Treehugger Robot
8aa04b89e0 Merge "Migrate NetworkStack modules to use modules-utils" 2021-11-11 13:56:26 +00:00
Gavin Corkery
1ed8ac994d Add SupplementalProcess stubs and bootclasspath fragment
Test: Builds
Bug: 204989700
Change-Id: Ie1d3605d2991fa0402db8238ca01e4aa6bad3fdb
2021-11-09 11:11:18 +00:00
Treehugger Robot
92e4b728c7 Merge "Fix RRO loading from inside APEXes." am: de3baffb29 am: 23cd20c926 am: 09341a5ec4 am: c1ceac41b8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1830600

Change-Id: Ie51639568f0d24c90c1e10284de0536238ab1778
2021-10-26 23:36:17 +00:00
Daniel Norman
653a1c1a28 Fix RRO loading from inside APEXes.
APEXes can already contain RRO APKs by using the 'rro' apex Soong
module field. However, these RROs were not being loaded properly by
Zygote or PackageManagerService.

For all RROs inside APEXes, the RRO uses the same overlay config that
is used for other RROs on the APEX's preinstalled partition.

For RROs targeting 'android', which are installed by Zygote
using AssetManager:
1. OverlayConfig looks for active APEXes in the apex-info-list file,
   which is already accessible to Zygote.
2. OverlayConfig passes the APEX module names to OverlayConfigParser,
   for each preinstalled-partition.
3. OverlayConfigParser uses OverlayScanner to scan the
   each /apex/<APEX>/overlay directory.

For other RROs:
1. PackageManagerService already parses and provides RROs inside APEXes
   to OverlayConfig.
2. RROs inside APEXes used to have no config rule applied because their
   path prefix (/apex/) did not match any partition rule. Now, their
   preinstalled path is used instead.

Bug: 199200417
Test: Define a static RRO targeting 'android' inside a /vendor APEX.
      Define a static RRO for settings provider inside a /vendor APEX.
      Observe APEXes are enabled by default.
Test: Make a change to an RRO inside a /vendor APEX.
      m <apex>; adb install <apex artifact>; adb reboot;
      Observe change has taken effect.
Change-Id: I2bce9bc704789329b8c6aac6d476f17ff6718e0f
Merged-In: I2bce9bc704789329b8c6aac6d476f17ff6718e0f
2021-10-25 13:04:24 -07:00
Daniel Norman
66ebced16e Fix RRO loading from inside APEXes.
APEXes can already contain RRO APKs by using the 'rro' apex Soong
module field. However, these RROs were not being loaded properly by
Zygote or PackageManagerService.

For all RROs inside APEXes, the RRO uses the same overlay config that
is used for other RROs on the APEX's preinstalled partition.

For RROs targeting 'android', which are installed by Zygote
using AssetManager:
1. OverlayConfig looks for active APEXes in the apex-info-list file,
   which is already accessible to Zygote.
2. OverlayConfig passes the APEX module names to OverlayConfigParser,
   for each preinstalled-partition.
3. OverlayConfigParser uses OverlayScanner to scan the
   each /apex/<APEX>/overlay directory.

For other RROs:
1. PackageManagerService already parses and provides RROs inside APEXes
   to OverlayConfig.
2. RROs inside APEXes used to have no config rule applied because their
   path prefix (/apex/) did not match any partition rule. Now, their
   preinstalled path is used instead.

Bug: 199200417
Test: Define a static RRO targeting 'android' inside a /vendor APEX.
      Define a static RRO for settings provider inside a /vendor APEX.
      Observe APEXes are enabled by default.
Test: Make a change to an RRO inside a /vendor APEX.
      m <apex>; adb install <apex artifact>; adb reboot;
      Observe change has taken effect.
Change-Id: I2bce9bc704789329b8c6aac6d476f17ff6718e0f
2021-10-21 12:47:16 -07:00
Rajesh Nyamagoud
4fe64fb471 Support for OMAPI Vendor stable interface
Changes are made to existing OMAPI inteface to make it as Vendor Stable
Interface.

Bug: b/180639372
Test: Run OMAPI CTS and VTS tests

Change-Id: Ibfd23215ad180d78af843c0d0b394b42ba8e9daa
2021-10-11 15:51:58 +00:00
Sarah Chin
bddea712b2 Merge "Update constructors for IRadioData classes" into stage-aosp-master am: 958f299826 am: 209163b6f0 am: ae220e938b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15961170

Change-Id: I11fc62932992949d16444f32dbffaff4e9efa9cf
2021-10-06 17:23:44 +00:00
Sarah Chin
80b8c7f128 Update constructors for IRadioData classes
Test: atest FrameworksTelephonyTests
Bug: 198331673
Change-Id: I8480df1164548dde491c6ae6251bbc2725c3eadf
Merged-In: I8480df1164548dde491c6ae6251bbc2725c3eadf
2021-10-06 10:14:30 +00:00
Sarah Chin
3101c0be77 Update constructors for IRadioData classes
Test: atest FrameworksTelephonyTests
Bug: 198331673
Change-Id: I8480df1164548dde491c6ae6251bbc2725c3eadf
2021-10-05 14:01:14 -07:00