summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/NetworkCapabilitiesTest.java
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2021-05-26 10:46:20 +0100
committerPaul Duffin <paulduffin@google.com>2021-06-30 00:00:41 +0100
commitf9a0c868c427e48dc618808ab9322bb039dbfca8 (patch)
tree8f659e4e85465bd6a9cc65b67630a7e0a1ac0e3e /tests/common/java/android/net/NetworkCapabilitiesTest.java
parente7dff2f95593b012db7dc0902303183a34cfab8e (diff)
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 b28cb44e4b80061e909802c476cfc8d46fa3577c) Merged-In: I4d9621325c7fcea5043cbca4c577ba2ac6125c0c Change-Id: I4d9621325c7fcea5043cbca4c577ba2ac6125c0c
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions