- Nov 08, 2022
-
-
William Escande authored
Statically link the encoder lib in order to provide them into the apex Remove the apex external loading rule Bug: 226572369 Test: manual testing Tag: #refactor Change-Id: I45adfe7ca51c304b8fc09ee30ce6e810bf9f0e3e
-
- Sep 22, 2022
-
-
Rubin Xu authored
As required by NIAP certification, log various Bluetooth connection and disconnection events to security log. Bug: 232283779 Test: manual Change-Id: Iff04258a7ca1c19deb1e692c30724f2491fd4ed6
-
- Sep 09, 2022
-
-
William Escande authored
I noticed others modules like Wifi / connectivity put this safeguard here to prevent modifications Test: no Change-Id: I1f377d7c9c5a37864e30a4414dc8883056e89ed6
-
- Sep 08, 2022
-
-
William Escande authored
Bug: 243054261 Test: build + TH Change-Id: I75cecfcd432e6446687134489bb66527bb32eeb4
-
- Aug 30, 2022
-
-
Abhishek Pandit-Subedi authored
Downstream repos of Bluetooth get broken whenever "set noparent" are used. Bug: 244347299 Tag: #floss Test: None (Owners change) Change-Id: Iadd47b7a754440f21a651131d94a4084eb12dd08
-
- Aug 27, 2022
-
-
William Escande authored
Ordering stuff is my passion Test: Build Change-Id: I8533ea48b3fc7294841b828377489be86a965386
-
- Aug 25, 2022
-
-
William Escande authored
Bug: 229914434 Test: Build + start bt + connect a device Change-Id: Ie47cce2bfb9c00cf41c093baba726ea1c0421701
-
- Aug 22, 2022
-
-
William Escande authored
The Bluetooth apex name is now called com.android.btservices Bug: 243054261 Test: Build Change-Id: I4d48b875c254b8381c982a633e3132b6de6178aa
-
- Jul 16, 2022
-
-
Paul Duffin authored
Previously, both the sdk and apex had to specify the same *fragments property to ensure that building a system image from a prebuilt version of the module (both APEX and sdk snapshots) would work. This change avoids the duplication by adding the apex to the sdk which allows the sdk to automatically export any APIs and related information provided by the APEX. At the moment that just includes information from *fragments properties but may expand in future. Ignore-AOSP-First: sdk is not present in AOSP Bug: 232401814 Test: # Build snapshots with a fixed build number BUILD_NUMBER=fixed packages/modules/common/build/mainline_modules_sdks.sh # Remove api diff files as they contain file stamps of generated files so # differ every time they are generated. find out/dist/mainline-sdks -name \*txt | xargs rm # Save the snapshots away. mv out/dist/mainline-sdks before-changes # Apply this change. # Repeat the first two steps above and then run the following to verify # that this change had no effect on the generated snapshot contents. meld before-changes out/dist/mainline-sdks Change-Id: I875b16f4deddda08295caaa97e00c7b01501566d
-
- Jul 11, 2022
-
-
Alexei Nicoara authored
When the apex version is set to 0, the version number will be replaced by the build system to the default value for the current branch. The default value for mainline module manifest version is stored in the defaultManifestVersion constant: https://android.googlesource.com/platform/build/soong/+/refs/heads/master/apex/constants.go#36 The version should not be changed manually in the manifest. Release tooling will set this version to the release version on the release branches. Test: presubmit Bug: 231691643 Change-Id: I30b5b486bca521ebdeed17dba7afc61f2c529ab8 Merged-In: I30b5b486bca521ebdeed17dba7afc61f2c529ab8 Ignore-AOSP-First: fixing merge conflicts (cherry picked from commit 6173f6a3) Merged-In: I30b5b486bca521ebdeed17dba7afc61f2c529ab8
-
- Jul 08, 2022
-
-
Etienne Ruffieux authored
Bug: 232351962 Tag: #feature Test: atest CtsBluetoothTests Ignore-AOSP-First: change only in internal Change-Id: I66c0a83554d81f8a6a6956ec0a8a324be6b11033 (cherry picked from commit a82b0872) Merged-In: I66c0a83554d81f8a6a6956ec0a8a324be6b11033
-
- Jul 07, 2022
-
-
Alexei Nicoara authored
When the apex version is set to 0, the version number will be replaced by the build system to the default value for the current branch. The default value for mainline module manifest version is stored in the defaultManifestVersion constant: https://android.googlesource.com/platform/build/soong/+/refs/heads/master/apex/constants.go#36 The version should not be changed manually in the manifest. Release tooling will set this version to the release version on the release branches. Test: presubmit Bug: 231691643 Change-Id: I30b5b486bca521ebdeed17dba7afc61f2c529ab8 Merged-In: I30b5b486bca521ebdeed17dba7afc61f2c529ab8
-
- Jun 23, 2022
-
-
Etienne Ruffieux authored
Test: No test Change-Id: I153f9e8d6812b1597ccd51138a6945da47610d0d
-
- Jun 22, 2022
-
-
William Escande authored
Apex name has been changed to com.android.btservices Changing mount point accordingly Bug: 235892590 Test: Flash / boot bt / look logs & pair a device Ignore-AOSP-First: Apex only on tm-dev Change-Id: Id4e3410c00a9afd4c3c99af18c55e34bc89b4a30
-
William Escande authored
This is creating merge_conflict for wider incoming change. By moving the version to the top and adding emptyline comment in the json, we aim to facilitate the incoming topic to merge Bug: 235892590 Ignore-AOSP-First: apex on internal only Test: Build + TH Merged-In: Ib198d65c7c653c6185120ec179f6c937b20ab51b Change-Id: Ib198d65c7c653c6185120ec179f6c937b20ab51b
-
- Jun 21, 2022
-
-
Oriol Prieto Gasco authored
Test: TH Bug: 236187653 Bug: 236192423 Ignore-AOSP-First: LSC Change-Id: I2bd7d146b25f5f63779dc5c26602b5c227ebff20
-
- Jun 17, 2022
-
-
Rahul Sabnis authored
The permission enforcement was moved to the binder and therefore it is not required when dumpsys is directly invoked on the AdapterService Tag: #feature Bug: 232437658 Test: Manual Ignore-AOSP-First: Missing some APEX-related files in AOSP Change-Id: Id39d7fdd9c1ee7e363d99458b0de6349a791d1af
-
- May 26, 2022
-
-
satayev authored
T FRC signals cannot be gathered from tm-frc-<module>-release branches and instead tm-release is being used. tm-release uses default source based version codes which are lower than prebuilts now. Bump them to allow installation on tm-release based system images. Bug: 233587299 Test: presubmit Merged-In: Ibad07f10fe8c82b014cea0004f604c5854fdfde5 Change-Id: I204c56d1194f6ea6f7cdcc8a5cbe59b875bef89f
-
- May 12, 2022
-
-
William Escande authored
Aptx and aptx-Hd are both loaded from system_ext. In order to load their dependencies from a compatible environement we need to set the lib as a requirredLibs in the manifest Fix: 231967310 Test: atest net_test_stack_a2dp_native Test: Log analyze after bluetooth boot Tag: #refactor Ignore-AOSP-First: Apex only on tm and below Merged-In: I084536b137adde5754eb98d80012bc7fdad1af74 Change-Id: I084536b137adde5754eb98d80012bc7fdad1af74
-
- May 11, 2022
-
-
Alexei Nicoara authored
Test: presubmit Bug: 231691162 Ignore-AOSP-First: overriding version code from aosp Change-Id: I61fe93d603053da70c7ebcb6bfddc746185e95f0 Merged-In: I61fe93d603053da70c7ebcb6bfddc746185e95f0
-
- Apr 29, 2022
-
-
Andrei Onea authored
This ensures it cannot accidentally be duplicated in the system partition. Ignore-AOSP-First: will cherry-pick separately Test: boots Bug: 230449777 Change-Id: I269f3a7a1541f7c3484938053444d271871846b5
-
- Apr 28, 2022
-
-
William Escande authored
* So that it is included in the apex directory and can be updated when loading a new APEX Bug: 230359868 Test: adb install <apex>; and check the files on phone Tag: #refactor Ignore-AOSP-First: No apex on aosp Change-Id: I592190be9eea3d341bfcadd2ffbec2f9762509b6
-
William Escande authored
This is to avoid confusion on witch value is apply, the one from default or the one from the apex or the one from the vendor override if any. Rules are: * module `apex` and module `apex_default` are merged (like in this CL) * module `override_apex` keep all existing values as long as the key is not repeated inside the `override_apex`. If it is, discard all change in the base apex (or its default) Bug: 230359868 Test: adb install <apex>; and check the files on phone Tag: #refactor Ignore-AOSP-First: No apex on aosp Change-Id: Ie9adfc04dbe0920db8ce8d6aa756ca91a3101865
-
- Apr 19, 2022
-
-
satayev authored
Bug: 229359315 Test: m && launch_cvd; presubmit Change-Id: If792b465a567d53a58d8fdc6b3fee69b00202837
-
- Apr 14, 2022
-
-
William Escande authored
Test: no test Change-Id: I91553ab04a93a7604a63eec50dd454f19ff31b08
-
- Apr 06, 2022
-
-
Andrei Onea authored
Bundle the allowlist for the Bluetooth apk-in-apex. Test: boots Bug: 220807590 Change-Id: I855c0d8dce075c75166346b89a6023f0cd754c6a
-
- Mar 31, 2022
-
-
Paul Duffin authored
Ran the following to compute the set of split_packages and package_prefixes properties. m analyze_bcpf && analyze_bcpf --bcpf com.android.bluetooth-bootclasspath-fragment --fix Ignore-AOSP-First: com.android.bluetooth-bootclasspath-fragment is not present in AOSP. Bug: 194063708 Test: m out/soong/hiddenapi/hiddenapi-flags.csv Change-Id: Icb1c8a6732971dfb35394c09cc8923dd37ab7207
-
- Mar 25, 2022
-
-
Etienne Ruffieux authored
Bug: 223839432 Test: build Tag: #feature Ignore-AOSP-First: Updatable is only on internal for now Change-Id: I9a7f5f76f98c3b328eb8dcda174eb662a4cb84db
-
- Mar 23, 2022
-
-
William Escande authored
Bluetooth a2dp vendor codec are manage by the presence (or absence) of the corresponding `.so`. Since we moved as an apex, the `.so` cannot be found in the current directory. This CL try to load each `.so` from various location. This CL add the `/system_ext/${LIB}` to the list of permitted_paths, to allow dlopen of aptx & aptxHD library. We ensure we don't load a 32 lib in a 64 module thanks to the permitted_paths. Test: build + start bt and watch log Fix: 223532240 Tag: #refactor Ignore-AOSP-First: No apex on aosp Change-Id: Ie1dd9877edc905230a4f6d05b991e26c9908f8c7
-
- Mar 14, 2022
-
-
Gurpreet Singh authored
In /packages/modules/common/sdk/ModuleDefaults.bp file, some apex_defaults are added to provide common parameters corresponding to Q, R, S, and T releases. (Refer to CL link for above mentioned change - https://android-review.googlesource.com/c/platform/packages/modules/common/+/2005890?forceReload=true) This CL is using the apex_default corresponding to T release for the com.google.android.bluetooth module. Note - currently the updatable field is overriden as false as multiple allowed_deps changes are required to set it true. For more info, a bug has been filed - b/223839432 Bug: 172589606 Test: USE_RBE=true m Since there are no runtime changes, successful code build is enough for testing. Ignore-AOSP-First: AOSP gives merge-conflict presubmit errors corresponding to tm-dev branch. Change-Id: Ieec62f971632cb57ba998b9d61ff25f669cfa8ef
-
- Mar 12, 2022
-
-
William Escande authored
check check, is anyone there? *static* * statically link libbluetooth into libbluetooth_jni * clean up some build rule defaults * statically link libchrome * stop using whole static libs, to increase ability to prune unused code * remove required libbluetooth * statically link libstatlog_bt in a few location :party: :party: Still some issue on local test. I suppose they should only be run in the test suite. Test are: * bluetooth-test-audio-hal-interface * bluetooth_flatbuffer_bundler_test * net_test_rfcomm_suite * net_test_stack_rfcomm Bug: 220805766 Test: compile, verify BT boots & basic use cases work Testeted with all cc_test in packages/modules/Bluetooth: `atest $(grep -w cc_test -A 1 $(find packages/modules/Bluetooth -name Android.bp) | grep name | cut -d '"' -f 2)` Test: m bluetoothtbd Test: atest bluetoothtbd_test Test: m libstatslog_bt bt_headless libbluetooth_gd libbtif libbt-common bluetooth_stack_with_facade bluetooth_test_gd_unit bluetooth_gd_fuzz_test libbt_audio_hal_a2dp_encoding_fuzzer Ignore-AOSP-First: apex changes not in AOSP yet e634b3db Change-Id: I99ea709fe591ca362208547051d7fd5810ed42ed
-
- Mar 10, 2022
-
-
Gurpreet Singh authored
In /packages/modules/common/sdk/ModuleDefaults.bp file, some apex_defaults are added to provide common parameters corresponding to Q, R, S, and T releases. (Refer to CL link for above mentioned change - https://android-review.googlesource.com/c/platform/packages/modules/common/+/2005890?forceReload=true) This CL is using the apex_default corresponding to T release for the com.google.android.bluetooth module. Bug: 172589606 Test: USE_RBE=true m Since there are no runtime changes, successful code build is enough for testing. Merged-In: Ieec62f971632cb57ba998b9d61ff25f669cfa8ef Change-Id: Ieec62f971632cb57ba998b9d61ff25f669cfa8ef
-
ahujapalash authored
Ignore-AOSP-First: Updating it for apex which is on tm-dev Test: make a full build with m -j64 Bug: 220216883 Change-Id: I171d904e4b811cfd114be05e4329669e965a7599
-
Richard Gaywood authored
Revert submission 17016040-change-17016040 Reason for revert: DroidMonitor-triggered revert due to breakage , bug b/223737148 BUG: 223737148 Reverted Changes: I6cdcee15a:Fix bluetooth and aac dependency I0d232c8bc:check check, is anyone there? *static* Change-Id: I76a03e2b2d54e27e590a97001e9ef0ef6c98a374 Test: N/A, this is a rollback
-
- Mar 09, 2022
-
-
Zach Johnson authored
* statically link libbluetooth into libbluetooth_jni * clean up some build rule defaults * statically link libchrome * stop using whole static libs, to increase ability to prune unused code :party: :party: Still some issue on local test. I suppose they should only be run in the test suite. Test are: * bluetooth-test-audio-hal-interface * bluetooth_flatbuffer_bundler_test * net_test_rfcomm_suite * net_test_stack_rfcomm Bug: 220805766 Test: compile, verify BT boots & basic use cases work Testeted with all cc_test in packages/modules/Bluetooth: atest $(grep -w cc_test -A 1 $(find packages/modules/Bluetooth -name Android.bp) | grep name | cut -d '"' -f 2) Test: m bluetoothtbd Test: atest bluetoothtbd_test Ignore-AOSP-First: apex changes not in AOSP yet Change-Id: I0d232c8bcbe1f9065c6e6caa75021a6cd627c78f
-
- Feb 25, 2022
-
-
Roopa Sattiraju authored
Bug: 217736913 Test: Compile, bringup and test user journeys Change-Id: Ie9a1abd52d6219bc91779f7146ab9734cf5df4c0
-
- Dec 15, 2021
-
-
Etienne Ruffieux authored
Tag: #feature Bug: 206614050 Test: Compiles Change-Id: I62f801dc04713afe53cc6a56be8b7dad36061a36
-
- Feb 14, 2021
-
-
Bob Badour authored
Added SPDX-license-identifier-Apache-2.0 to: apex/Android.bp audio_a2dp_hw/Android.bp audio_bluetooth_hw/Android.bp audio_hal_interface/Android.bp audio_hearing_aid_hw/Android.bp binder/Android.bp bta/Android.bp btcore/Android.bp btif/Android.bp build/Android.bp common/Android.bp conf/Android.bp device/Android.bp embdrv/g722/fuzzer/Android.bp embdrv/sbc/Android.bp embdrv/sbc/decoder/Android.bp embdrv/sbc/encoder/Android.bp gd/att/Android.bp gd/common/Android.bp gd/dumpsys/Android.bp gd/dumpsys/bundler/Android.bp gd/fuzz/Android.bp gd/hal/Android.bp gd/hci/Android.bp gd/iso/Android.bp gd/l2cap/Android.bp gd/l2cap/fuzz/Android.bp gd/neighbor/Android.bp gd/os/Android.bp gd/packet/Android.bp gd/packet/parser/Android.bp gd/packet/parser/test/Android.bp gd/proto/Android.bp gd/rust/common/Android.bp gd/rust/facade/Android.bp gd/rust/gddi/Android.bp gd/rust/hal/Android.bp gd/rust/hci/Android.bp gd/rust/link/Android.bp gd/rust/main/Android.bp gd/rust/shim/Android.bp gd/security/Android.bp gd/security/channel/Android.bp gd/security/pairing/Android.bp gd/security/record/Android.bp gd/shim/Android.bp gd/storage/Android.bp hci/Android.bp include/Android.bp internal_include/Android.bp main/Android.bp main/shim/Android.bp osi/test/fuzzers/Android.bp osi/test/fuzzers/alarm/Android.bp osi/test/fuzzers/allocation_tracker/Android.bp osi/test/fuzzers/allocator/Android.bp osi/test/fuzzers/array/Android.bp osi/test/fuzzers/buffer/Android.bp osi/test/fuzzers/compat/Android.bp osi/test/fuzzers/fixed_queue/Android.bp osi/test/fuzzers/future/Android.bp osi/test/fuzzers/list/Android.bp osi/test/fuzzers/ringbuffer/Android.bp packet/Android.bp packet/avrcp/Android.bp packet/base/Android.bp packet/tests/fuzzers/Android.bp profile/avrcp/Android.bp profile/sdp/Android.bp service/Android.bp service/common/Android.bp stack/test/fuzzers/Android.bp stack/test/fuzzers/a2dp/Android.bp stack/test/fuzzers/a2dp/codec/Android.bp stack/test/fuzzers/sdp/Android.bp test/Android.bp test/headless/Android.bp test/rootcanal/Android.bp test/suite/Android.bp types/Android.bp udrv/Android.bp utils/Android.bp vendor_libs/Android.bp vendor_libs/linux/Android.bp vendor_libs/linux/interface/Android.bp vendor_libs/test_vendor_lib/Android.bp vendor_libs/test_vendor_lib/types/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: gd/Android.bp gd/crypto_toolbox/Android.bp stack/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-MIT legacy_unencumbered to: Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_unencumbered to: embdrv/g722/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT to: osi/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I883bd6b68223a5bc77fdac89e0280993f617d6d0
-
- Dec 09, 2020
-
-
Zach Johnson authored
ca4841e4 Change-Id: I56860a238c483b55b5eb728eb8cd6cfb6ada4d28
-
- Dec 04, 2020
-
-
Jeff DeCew authored
Revert submission 1512686 Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=aosp-master&target=mainline_modules&lkgb=7010703&lkbb=7011903&fkbb=7010786, bug b/174815635 Bug: 174815635 Reverted Changes: I163111bc8:rusty-gd: move init_flag parsing to rust I54cffe93d:rusty-gd: compile into libbluetooth I5207f4df9:rusty-gd: add stack start stubs, define shim libra... Change-Id: I0cfbe779c4cad43f92cbf0ffb1a4b9ed75205c72
-