Skip to content
Snippets Groups Projects
  1. Jul 07, 2022
  2. Jun 22, 2022
    • William Escande's avatar
      Change Bluetooth apex mountpoint · 8e1ae018
      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
      8e1ae018
    • William Escande's avatar
      Move version in apex_manifest · fa4d1e3b
      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
      fa4d1e3b
  3. Jun 21, 2022
  4. Jun 17, 2022
    • Rahul Sabnis's avatar
      Remove the BT APK's dependency on the DUMP permission. · 0ac3961d
      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
      0ac3961d
  5. May 26, 2022
    • satayev's avatar
      Bump version codes in tm-dev to match tm-mainline-prod · a4b9dbeb
      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
      a4b9dbeb
  6. May 12, 2022
    • William Escande's avatar
      Load external library in the default namespace · 283a99ff
      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
      283a99ff
  7. May 11, 2022
  8. Apr 29, 2022
  9. Apr 28, 2022
    • William Escande's avatar
      Include Bluetooth config files in APEX prebuilts · b247faa4
      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
      b247faa4
    • William Escande's avatar
      Merge bluetooth apex default in it's only usage · bb37c5a4
      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
      bb37c5a4
  10. Apr 19, 2022
  11. Apr 14, 2022
  12. Apr 06, 2022
    • Andrei Onea's avatar
      Add allowlist for Bluetooth apk · f91afd6e
      Andrei Onea authored
      Bundle the allowlist for the Bluetooth apk-in-apex.
      
      Test: boots
      Bug: 220807590
      Change-Id: I855c0d8dce075c75166346b89a6023f0cd754c6a
      f91afd6e
  13. Mar 31, 2022
    • Paul Duffin's avatar
      Remove implementation details from bluetooth hidden api flags · 4f29e5f5
      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
      4f29e5f5
  14. Mar 25, 2022
  15. Mar 23, 2022
    • William Escande's avatar
      Add permission to load library from system_ext · 5b0b518c
      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
      5b0b518c
  16. Mar 14, 2022
    • Gurpreet Singh's avatar
      Using common apex_defaults for com.android.bluetooth module. · 35388400
      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
      35388400
  17. Mar 12, 2022
    • William Escande's avatar
      Revert^2 "check check, is anyone there? *static*" · ae01e9b3
      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
      ae01e9b3
  18. Mar 10, 2022
    • Gurpreet Singh's avatar
      Using common apex_defaults for com.android.bluetooth module. · 95b895cf
      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
      95b895cf
    • ahujapalash's avatar
      Updating min_sdk_version to Tiramisu · 5add3d54
      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
      5add3d54
    • Richard Gaywood's avatar
      Revert "check check, is anyone there? *static*" · e634b3db
      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
      e634b3db
  19. Mar 09, 2022
    • Zach Johnson's avatar
      check check, is anyone there? *static* · 81e644e9
      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
      81e644e9
  20. Feb 25, 2022
    • Roopa Sattiraju's avatar
      Enabling Apex in BT · 1e7b3815
      Roopa Sattiraju authored
      Bug: 217736913
      Test: Compile, bringup and test user journeys
      Change-Id: Ie9a1abd52d6219bc91779f7146ab9734cf5df4c0
      1e7b3815
  21. Dec 15, 2021
  22. Feb 14, 2021
    • Bob Badour's avatar
      [LSC] Add LOCAL_LICENSE_KINDS to system/bt · 92ecf7c4
      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
      92ecf7c4
  23. Dec 09, 2020
  24. Dec 04, 2020
  25. Dec 02, 2020
    • Zach Johnson's avatar
      rusty-gd: compile into libbluetooth · 5f626fd8
      Zach Johnson authored
      adds init flag entry point, currently prints flags
      
      disable the BT apex since it's not shipped yet (won't be for a while)
      and there are a bajillion rust libraries we'd need to add apex
      availibility to.
      
      Bug: 171749953
      Tag: #gd-refactor
      Test: gd/cert/run --rhost SimpleHalTest
      Change-Id: I54cffe93d5819ffdc8229aef7be23f260483ab66
      5f626fd8
  26. Apr 28, 2020
  27. Apr 17, 2020
    • Jiyong Park's avatar
      Revert "Mark updatable APEXes" · 14b77cb3
      Jiyong Park authored
      This reverts commit 6170f7a6.
      
      Reason for revert: the BT apex is not yet updatable
      Bug: 149805758
      Test: m
      Merged-In: I92cf6ac12f989726a797fec6a0c0f121346c188e
      
      (cherry picked from commit edf1918e)
      Change-Id: I92cf6ac12f989726a797fec6a0c0f121346c188e
      14b77cb3
    • Jiyong Park's avatar
      Revert "Mark updatable APEXes" · edf1918e
      Jiyong Park authored
      This reverts commit 6170f7a6.
      
      Reason for revert: the BT apex is not yet updatable
      Bug: 149805758
      Test: m
      Change-Id: I92cf6ac12f989726a797fec6a0c0f121346c188e
      edf1918e
  28. Apr 01, 2020
    • Jooyung Han's avatar
      Add min_sdk_version:R to updatable apexes · c4456a37
      Jooyung Han authored
      APEXes introduced in R need to set min_sdk_version to ensure that they
      are built against correct version(30 or R) of stubs (libc/liblog/...).
      
      Bug: 152655956
      Test: /vendor/google/build/build_mainline_modules.sh
      Change-Id: I055f46f574c7349f46b8c1cb6bb39a515ae69967
      c4456a37
  29. Feb 27, 2020
    • Jiyong Park's avatar
      Mark updatable APEXes · 283b24e0
      Jiyong Park authored
      Mark updatable APEXes as updatable: true so that they are opted-out from
      optimizations that make sense only for non-updatable modules; such as
      symlinking to the libs in the system partition.
      
      Bug: 149805758
      Test: m and check that there is no symlink from the APEX to the system
      partition.
      
      Exempt-From-Owner-Approval: cherry-pick from internal
      
      Merged-In: Id21fa176acce4800fb8e6c723007f6a4aa2d1bab
      (cherry picked from commit f3d123910b4c899b3aed8d82272fa5d24b6dc426)
      Change-Id: Id21fa176acce4800fb8e6c723007f6a4aa2d1bab
      283b24e0
  30. Feb 24, 2020
    • Jiyong Park's avatar
      Mark updatable APEXes · 6170f7a6
      Jiyong Park authored
      Mark updatable APEXes as updatable: true so that they are opted-out from
      optimizations that make sense only for non-updatable modules; such as
      symlinking to the libs in the system partition.
      
      Bug: 149805758
      Test: m and check that there is no symlink from the APEX to the system
      partition.
      
      Change-Id: Id21fa176acce4800fb8e6c723007f6a4aa2d1bab
      6170f7a6
  31. Dec 06, 2019
Loading