No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Paul Duffin f9a0c868c4 Enable tethering to perform its own hidden API processing
Previously, the hidden API encoding of the tethering boot dex jars,
i.e. those dex jars that tethering contributes to the bootclasspath
were done as part of the monolithic hidden API processing. This change
causes the encoding to be done by the tethering's
bootclasspath_fragment.

This change involves the following:
* Addition of the fragments property to the tethering's
  bootclasspath_fragment module to list all the other
  bootclasspath_fragment modules on which this depends.
* Addition of the additional_stubs property to add stubs for APIs that
  are not provided by another bootclasspath_fragment.

The build automatically checks that the hidden API flags which are
computed by tethering and encoded into its boot dex jars match those
that are generated by the monolithic processing so this is guaranteed
to be safe.

Bug: 179354495
Test: m com.android.tethering
      - ensure that the generated APEX is byte-for-byte identical
        before and after these changes.
      m out/soong/hiddenapi/hiddenapi-flags.csv
      - make sure that they are not changed by this.
(cherry picked from b28cb44e4b)

Merged-In: I4d9621325c7fcea5043cbca4c577ba2ac6125c0c
Change-Id: I4d9621325c7fcea5043cbca4c577ba2ac6125c0c
2021-06-30 00:00:41 +01:00
core am 558aeb90: Merge "Make NetworkCapabilities publicly immutable." into lmp-preview-dev 2014-06-12 18:49:07 +00:00
framework Merge "Add ConnectivitySettingsManagerTest" 2021-06-23 01:36:16 +00:00
service Merge "Fix null PendingIntent in network listens" 2021-06-28 07:11:31 +00:00
services am 558aeb90: Merge "Make NetworkCapabilities publicly immutable." into lmp-preview-dev 2014-06-12 18:49:07 +00:00
tests Merge "Revert "Skip connectivity unit tests before S"" 2021-06-29 08:14:26 +00:00
Tethering Enable tethering to perform its own hidden API processing 2021-06-30 00:00:41 +01:00
.gitignore Add a .gitignore in packages/modules/Connectivity. 2020-11-27 18:09:21 +09:00
OWNERS Revert "Add owners block for migration" 2021-05-31 10:34:04 +00:00
PREUPLOAD.cfg Add repo hooks for packages/modules/Connectivity. 2020-11-27 18:09:24 +09:00
TEST_MAPPING Merge "Add ConnectivityCoverageTests to postsubmit" 2021-06-24 06:32:36 +00:00