Commit Graph

261 Commits

Author SHA1 Message Date
William Escande
bc0f5470c4 Migrate NetworkStack modules to use modules-utils
```
Dependency path: NetworkStack{os:android,arch:common}
           via tag java.dependencyTag: { name:staticlib}
    -> NetworkStackApiStableLib{os:android,arch:common}
           via tag java.dependencyTag: { name:staticlib}
    -> modules-utils-preconditions{os:android,arch:common,apex:}

Consider adding 'min_sdk_version: "29"' to "modules-utils-preconditions"
````

Bug: 198418216
Tag: #refactor
Test: Build
Change-Id: Ie646f5d54bdd3b101a70677ebe28eb3205dd88cc
2021-11-05 14:40:40 +01:00
satayev
51133ffa60 Add mainline_modules_sdks to packages/modules/common/.
Change the list of modules to match AOSP list.

Bug: 205100626
Test: atest mainline_modules_sdks_test
Change-Id: I250c4aafcda5c3c1d636dac27ff5ffaa78b69b2a
2021-11-04 14:48:39 +00:00
Remi NGUYEN VAN
150a2a0ad9 Merge "Add networkstack-aidl-latest to allowed_deps" am: d1e683a867 am: 831c7337ee
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1876688

Change-Id: I934897cbd321dab1c1109aa9d9eeca2003915e7e
2021-11-04 06:44:13 +00:00
Remi NGUYEN VAN
d1e683a867 Merge "Add networkstack-aidl-latest to allowed_deps" 2021-11-04 06:19:17 +00:00
Martin Stjernholm
5f9017e483 Add prebuilt dependencies for the ART module. am: 2ea2ff81e0 am: 74ad317579
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1873617

Change-Id: Id974be76aa2666cfdff5f9a76f33e2d57722a9f0
2021-11-01 19:51:28 +00:00
Remi NGUYEN VAN
df1b52b7f3 Add networkstack-aidl-latest to allowed_deps
networkstack-aidl-latest is just the combination of
ipmemorystore-aidl-interfaces-V10-java and
networkstack-aidl-interfaces-V12-java, which were already included by
the module.

Apex-Size-Increase: 0
Previous-Platform-Support: As before
Aosp-First: YES
Test-Info: As before (code is part of NetworkStack codebase)

Test: m
Change-Id: I2c5b68652b6c600a659d355bc70b34b3db2d3b99
2021-11-01 12:55:00 +09:00
Martin Stjernholm
2ea2ff81e0 Add prebuilt dependencies for the ART module.
All these dependencies already exist in allowed_deps.txt, but without
"prebuilt_" prefixes. They are used only when the ART module is built
from prebuilts of its dependencies, i.e. with the master-art thin
manifest.

Test: env TARGET_BUILD_APPS=com.google.android.art \
        vendor/google/build/mainline_modules_sdks.sh
  using the thin master-art manifest
Bug: 202192894
Change-Id: I4b70e3dbdb30cdc9d25b92866b40f6f05babed20
2021-10-29 18:21:35 +01:00
Martin Stjernholm
908d5fc7d8 Switching ART libs to set min_sdk_version by number.
Test: m droid
Bug: 204364566
Change-Id: I7478c6cf2fabe57e39cbfe36ef288c8f892965ea
2021-10-28 19:34:33 +01:00
Martin Stjernholm
07d11b2b36 Merge "Remove UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true setting (reland)." am: bc31e5108b am: ac5c23c286
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1869977

Change-Id: I46cc3e9c2c4e0f42f66663b305d832f2175850f7
2021-10-28 10:45:50 +00:00
Martin Stjernholm
bc31e5108b Merge "Remove UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true setting (reland)." 2021-10-28 09:50:28 +00:00
Martin Stjernholm
2aed427c97 Remove UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true setting (reland).
It needs to be controlled by build instead:

- Prebuilt SDKs should be used for unbundled Mainline module builds, and
  is necessary on thin module branches to avoid dependencies on
  frameworks/base (e.g. framework-doc-stubs used by lint-check).

- Source SDKs are needed on master which can otherwise get problems
  with out of date prebuilts (see e.g. b/140162931).

This relands https://r.android.com/1862861 after (temporarily)
overriding the flag to true in Mainline builds (cl/405889455), until
b/204189791 is fixed.

Test: env TARGET_BUILD_APPS=com.android.art \
        packages/modules/common/build/build_unbundled_mainline_module.sh \
        --product module_arm --dist_dir out/dist
  using the thin master-art manifest
Bug: 202192894
Change-Id: I974be07cfcc5a02611b465cc402178985d8decd8
2021-10-27 20:48:03 +01:00
Matthew Maurer
869de271e5 Merge "Allow thiserror for use in DoH" am: e8ef57b3db am: 54fbea087d
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1870837

Change-Id: I979a9a4133294beb722a59af1613984591539766
2021-10-27 19:31:36 +00:00
Matthew Maurer
e8ef57b3db Merge "Allow thiserror for use in DoH" 2021-10-27 18:20:24 +00:00
Hui Wang
e3d2d328df Apply new settings widget lib for cbr roaming feature support
Added deps: SettingsLibTopIntroPreference
Apex-Size-Increase: 24k
Aosp-First: No
Ignore-AOSP-First: changes in topics with internal-first projects
Previous-Platform-Support: Yes
Test-Info: manaul test for the settings UI

Bug: 198618350
Test: make, manual
Change-Id: If84ddef126b0ab5687e3dd5b00a2fc9bf09ef169
2021-10-27 18:15:20 +00:00
markchien
439fdaf7f9 Add libbpfmapjni to allowed_deps.txt am: 8c3cb8f180 am: affae29c01
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1869334

Change-Id: Iee6bda5fae1f8c303f6f2a38790b08f1b6b4c77e
2021-10-27 10:32:08 +00:00
Matthew Maurer
f144f37289 Allow thiserror for use in DoH
This is a macro+instance-only crate, so it adds no weight by itself.

Test: DoH throughput test
Apex-Size-Increase: 0k
Previous-Platform-Support: No platform dependencies
Aosp-First: AOSP-first
Test-Info: Unit tests run in TEST_MAPPING on project updates
Bug: 202081046

Change-Id: Id558a6729814bf4d0229dd53a4cf277b887a9e31
2021-10-26 18:25:17 -07:00
markchien
8c3cb8f180 Add libbpfmapjni to allowed_deps.txt
Apex-Size-Increase: 4096 B
before:
$ ls -al out/target/product/vsoc_x86_64/system/apex/com.android.tethering.apex
-rw-r----- 1 markchien primarygroup 2879488 Oct 26 19:07 out/target/product/vsoc_x86_64/system/apex/com.android.tethering.apex
after:
$ ls -al out/target/product/vsoc_x86_64/system/apex/com.android.tethering.apex
-rw-r----- 1 markchien primarygroup 2875392 Oct 26 19:14 out/target/product/vsoc_x86_64/system/apex/com.android.tethering.apex

Previous-Platform-Support:
There is no behavior change for the module. The new dependencies
libbpfmapjni is separate from tethering module code for other module to
easily use bpf map.

Aosp-First: yes

Test-Info: there is no behavior change for tethering module.
libbpfmapjni is tested by TetheringPrivilegedTests which is setup in
postsubmit currently (may move to presubmit).

Bug: 179733303
Test: TH

Change-Id: Idb629e6e07fcd6c2f25217af172126fd2499a301
2021-10-26 11:47:32 +00:00
Michael Butler
509e6391aa Revert "Add neuralnetworks_utils_hal_aidl_v2 to allowed_deps.txt" am: 539ebcd77e am: 3220f257f8
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1869529

Change-Id: Icd637e812c5d8baa863931e62c2b9d4512a7a017
2021-10-26 05:11:45 +00:00
Michael Butler
539ebcd77e Revert "Add neuralnetworks_utils_hal_aidl_v2 to allowed_deps.txt"
Revert "Provide explicitly version NNAPI AIDL utils lib -- runtime."

Revert submission 16007539-nnapi-experimental-aidl-feature

Reason for revert: The cherry-pick of this CL breaks the build
Reverted Changes:
Ieb2da3461:Add neuralnetworks_utils_hal_aidl_v2 to allowed_de...
I8ae01e3c6:Provide explicitly version NNAPI AIDL utils lib --...
I74f1798e8:Provide explicitly versioned NNAPI AIDL utils libs...
I2362464e8:Use explicitly versioned NNAPI HAL util libs in da...

No-Allowed-Deps-Check: This CL is a revert
Test: mma

Change-Id: Ia7df07ab9b2b1b96be2cccf53d87ade8323b3abe
Merged-In: Ia7df07ab9b2b1b96be2cccf53d87ade8323b3abe
(cherry picked from commit 1792be2e01)
2021-10-25 21:12:43 -07:00
Xusong Wang
9c339126f5 Add neuralnetworks_utils_hal_aidl_v2 to allowed_deps.txt am: 363e6a3e5f am: 89055c91e1
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1869905

Change-Id: Iadc433611b06a87f4b84fe89c5b7373508293432
2021-10-26 00:01:09 +00:00
Xusong Wang
363e6a3e5f Add neuralnetworks_utils_hal_aidl_v2 to allowed_deps.txt
No-Allowed-Deps-Check: This is just a module rename:
neuralnetworks_utils_hal_aidl is renamed to
neuralnetworks_utils_hal_aidl_v2.

Ignore-AOSP-First: This CL is to be submitted in the same topic with
an internal only project.

Bug: 202405342
Test: build
Test: NNAPI CTS/VTS
Change-Id: Ieb2da3461ac0e1e24e441e670da065f92479bf26
Merged-In: Ieb2da3461ac0e1e24e441e670da065f92479bf26
(cherry picked from commit 014d386a7e)
2021-10-25 14:13:41 -07:00
Makoto Onuki
c035a98b7e Merge "Revert "Remove UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true setting."" am: aabc6e2ac5 am: 115be1f084
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1867044

Change-Id: I4a585437c0888d4ead488df1d5f8597adb345eef
2021-10-21 17:54:58 +00:00
Makoto Onuki
aabc6e2ac5 Merge "Revert "Remove UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true setting."" 2021-10-21 17:01:45 +00:00
Makoto Onuki
84b8ab1756 Revert "Remove UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true setting."
This reverts commit 4927b9431a.

Reason for revert: DroidMonitor: Potential culprit for Bug 203782007 - verifying through Forrest before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: Icdaec49345ef916f2e8e06b14dffea8608375d53
2021-10-21 16:50:52 +00:00
Martin Stjernholm
d2705953de Merge "Remove UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true setting." am: 86b437d2e9 am: 8e4e60f4ac
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1862861

Change-Id: Ic2a8f6d42c9ef49b37fe91d4b1c4d1ae7c6646a3
2021-10-21 15:41:00 +00:00
Martin Stjernholm
86b437d2e9 Merge "Remove UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true setting." 2021-10-21 15:08:41 +00:00
Martin Stjernholm
4927b9431a Remove UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true setting.
It needs to be controlled by build instead:

- Prebuilt SDKs should be used for unbundled Mainline module builds, and
  is necessary on thin module branches to avoid dependencies on
  frameworks/base (e.g. framework-doc-stubs used by lint-check).

- Source SDKs are needed on master which can otherwise get problems
  with out of date prebuilts (see e.g. b/140162931).

Test: env TARGET_BUILD_APPS=com.android.art \
        packages/modules/common/build/build_unbundled_mainline_module.sh \
        --product module_arm --dist_dir out/dist
  using the thin master-art manifest
Bug: 202192894
Change-Id: Ia73ccc6e694caec64c7dd0d86246a258e2bb9239
2021-10-20 14:07:15 +01:00
Ian Hua
9a1d4739fa Merge "Add android.hardware.neuralnetworks-V2-ndk to allowed_deps." am: 0e2804463f am: 722f286c0b
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1859254

Change-Id: I5b24e3585ff91d5a61175ff432b94c97bc4b9764
2021-10-18 20:34:26 +00:00
Ian Hua
0e2804463f Merge "Add android.hardware.neuralnetworks-V2-ndk to allowed_deps." 2021-10-18 20:03:59 +00:00
Ian Hua
7a1f0be713 Add android.hardware.neuralnetworks-V2-ndk to allowed_deps.
Apex-Size-Increase: N/A
Previous-Platform-Support: 30
Aosp-First: Yes
Test-Info: NeuralNetworksTest_static,VtsHalNeuralnetworksTargetTest

Bug: 193012662
Test: mm

Change-Id: I553b8b93a046225526234e141d20e6370b1cb82a
Merged-In: I553b8b93a046225526234e141d20e6370b1cb82a
2021-10-18 11:37:50 +01:00
Treehugger Robot
d474aaa968 Merge "Add Exoplayer to allowed_deps" am: e0120a1ad3 am: 893eb30db0
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1856106

Change-Id: I28740015a61d1f635642926ed34ecc03f5cdc20c
2021-10-18 04:45:18 +00:00
Treehugger Robot
e0120a1ad3 Merge "Add Exoplayer to allowed_deps" 2021-10-18 04:18:57 +00:00
Abhijeet Kaur
799af527c3 Add Exoplayer to allowed_deps
> How big is the binary size increase for affected APEXes?
315392 bytes. (0.31 MB)

> Is the new dependency committed to support previous platform releases?
> note that you have to support all the releases starting from the
> minSdkVersion value you are declaring
Yes

> Is the new dependency being developed AOSP-first or internal?
Exoplayer dependency is AOSP-first, using the dependency to develop an
internal project.

> What’s the testing strategy for the new dependency? Does it have its
> own tests, and are you adding integration tests?
We will be adding unit tests and integration tests for motion photo
detection.

Bug: 202396821
Test: builds
Change-Id: I726e03b4e8642900559ddfc698eede375ab1c318
2021-10-13 16:07:31 +01:00
TreeHugger Robot
11fc3d09a2 Merge "Add dependency for version 4.12.0 of glide" into sc-mainline-prod 2021-10-12 11:43:51 +00:00
Treehugger Robot
d02274af13 Merge "Add support of Wifi supplicant AIDL interface." am: 9dfd1f0705 am: 240f275faa
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1845618

Change-Id: Ib12a9c5bdaa516be095e8b0310b6c978986f3a4e
2021-10-11 23:33:30 +00:00
Treehugger Robot
9dfd1f0705 Merge "Add support of Wifi supplicant AIDL interface." 2021-10-11 23:13:06 +00:00
Ivan Chiang
b2f4a16f1d Add dependency for version 4.12.0 of glide
glide 4.12.0 needs androidx.exifinterface_exifinterface.

Apex-Size-Increase: 46850 bytes
Previous-Platform-Support: Yes
Aosp-First: Yes
Ignore-AOSP-First: Glide dependency was merged on ag/15715926. It need this
dependency. The updating dependency in AOSP would be done by a separate change.
Test-Info: We will be adding integration and manual tests for the image loading
experience. m -j and manual test.

Test: m. manual
Bug: 198565743
Change-Id: I14455d0ca153139842224cf489965173d0d6491a
Merged-In: I14455d0ca153139842224cf489965173d0d6491a
(cherry picked from commit 62ac8d0142)
2021-10-11 10:27:09 +00:00
Chris Ye
6db0f6344b Add support of Wifi supplicant AIDL interface.
Add Wifi supplicant java backend AIDL library as dependency.

Apex-Size-Increase: 30KB
Aosp-First: Yes
Previous-Platform-Support: N/A
Test-Info: Wifi STA/P2P functional tests.

Bug: 194806512
Test: Built

Change-Id: I3cf6e2093bc7c60995885b1e499857407dc82507
2021-10-07 13:04:09 -07:00
Biswarup Pal
465af23c87 Add glide prebuilt dependencies to allowed_deps
Apex-Size-Increase: 4292 bytes
Previous-Platform-Support: Yes
Aosp-First: Glide dependency is AOSP-first, using the dependency to develop an
internal project.
Ignore-AOSP-First: There are changes in topic which cannot be made in AOSP. The updating of
glide dependency in AOSP would be done by a separate change.
Test-Info: We will be adding integration and manual tests for the image loading
experience.
Test: m
Bug: 195008673

Change-Id: I35641941b972ab87fe4091c36a6fded1c2c54705
Merged-In: I35641941b972ab87fe4091c36a6fded1c2c54705
2021-10-06 17:08:25 +00:00
Aurimas Liutikas
73e09b282a Update apex allowed list
Test: N/A
Change-Id: Ib5f548e177d3a484dee64f368d566bbbc3076bab
Merged-In: Ib5f548e177d3a484dee64f368d566bbbc3076bab
(cherry picked from commit 0b577f961f)
2021-09-09 14:41:17 -07:00
Anton Hansson
6d6909abeb Update allowed_deps for library split am: 9549fd75b9
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1821755

Change-Id: I17d44671b6ff8c4cbdcdaccb00def8d4815f03f5
2021-09-09 16:29:19 +00:00
Anton Hansson
9549fd75b9 Update allowed_deps for library split
No-Allowed-Deps-Check: These were already allowed via modules-utils-os.

Test: m apex-allowed-deps-check
Change-Id: Id0a211c23ea8acbd417956b06bb18ee74960cc34
2021-09-09 15:58:11 +01:00
Chris Ye
49bdded9ec Add support of Wifi hostapd AIDL interface. am: 7ff1014bb0
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1819980

Change-Id: I825ddca7c86e88041df91a086f75b8b5322db2f4
2021-09-08 17:30:10 +00:00
Chris Ye
7ff1014bb0 Add support of Wifi hostapd AIDL interface.
Add Wifi hostapd java backend AIDL library as dependency.

Bug: 194806512
Test: Built
Change-Id: Id6c40df22614a2154a11b8b7e8cc4eea3f151691
2021-09-07 13:35:37 -07:00
William Escande
c05814a268 Dependency update for StateMachine am: 0c90b22fb5
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1818147

Change-Id: Ic80077d1be8d591270872768cd3e9d599c6ae934
2021-09-07 14:00:18 +00:00
William Escande
f42cb3a287 Dependency update for BackgroundThread HandlerExecutor am: c0bf47b634
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1800999

Change-Id: Idab9c6c6a069f3cd71c4061f7e2f7b0302381d3c
2021-09-06 12:57:48 +00:00
William Escande
0c90b22fb5 Dependency update for StateMachine
Bug: 198418216
Tag: #refactor
Test: Build
Change-Id: I5a5944155a72e5e4468a8e213109725051f9ef18
2021-09-04 08:07:09 +00:00
William Escande
c0bf47b634 Dependency update for BackgroundThread HandlerExecutor
Bug: 198418216
Tag: #refactor
Test: Build
Change-Id: Ic79a258436329ba56f9890dec1400464df253d83
2021-09-03 17:47:24 +00:00
Treehugger Robot
d9e6e82a5d Merge "Split basic audio types from audioclient-types-aidl-cpp" am: f2c1a31a02
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1809141

Change-Id: I34dc925c84d13cd6a50d2f23668e2cc8dd09aac9
2021-08-30 09:37:54 +00:00
Treehugger Robot
f2c1a31a02 Merge "Split basic audio types from audioclient-types-aidl-cpp" 2021-08-30 08:41:52 +00:00