android_packages_modules_Co.../Tethering
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
..
apex Enable tethering to perform its own hidden API processing 2021-06-30 00:00:41 +01:00
apishim Clear IPv4 offload rules when tethering stopped 2021-06-23 15:41:27 +08:00
bpf_progs import copy of bpf_net_helpers.h from system/netd/bpf_progs 2021-06-09 19:53:13 -07:00
common/TetheringLib Add connectivity coverage tests 2021-06-16 19:45:20 +09:00
jni Fix memory access violation in NetworkStack 2021-05-24 06:12:56 +00:00
res Allow to use ncm function for usb tethering 2021-06-18 11:20:26 +08:00
src Dump the unused IPv4 BPF rule age correctly 2021-06-29 16:21:49 +08:00
tests Merge "Fix OffloadControllerTest on R" 2021-06-29 05:02:47 +00:00
Android.bp Merge "[SP32] Try to get 1.1 OffloadControl hardware if available" 2021-06-22 20:31:18 +00:00
AndroidManifest.xml Update language to comply with Android's inclusive language guidance 2020-07-29 12:05:04 +08:00
AndroidManifest_InProcess.xml Change tethering file structure to respect its package name 2020-04-14 14:33:45 +08:00
AndroidManifestBase.xml Add usesCleartextTraffic to Tethering 2020-08-18 09:00:58 +00:00
jarjar-rules.txt Update sources of Tethering module since it is renamed 2021-03-11 07:36:55 +00:00
OWNERS Revert "Add owners block for migration" 2021-05-31 10:34:04 +00:00
proguard.flags Fix proguard rules for Struct in NetworkStack 2021-04-14 01:30:59 +00:00