Age | Commit message (Collapse) | Author |
|
Bug: 179821440
Tag: #floss
Test: None
Change-Id: I9114fb825a88b69fb8017943ed24a9cf169c9a09
|
|
|
|
To build Fluoride on Linux, there are dependencies that are not usually
provided by Linux package managers. This patch adds libchrome and
modp_b64 package generators to make building them easier on Debian-based
distros.
Bug: 179821440
Tag: #floss
Test: None
Change-Id: I93c6583d58635c65dbfbeea2ff556f09585225d5
|
|
Test: m
Bug: 184799689
Tag: #refactor
Change-Id: I93c7c2e8f754501771fe13c9f30408940dfe66a6
|
|
* changes:
Change libbt-platform-protos dependency
Update the readme to use build.py and explain Rust
Add build.py to simplify building locally
Build support for Rust via Cargo
Add option to build libbluetooth as staticlib
Prevent building some codecs when not supported
Build support and abstractions for Linux build
Add source_root parameter to bluetooth_packetgen
Fix bison 3.7 incompatability
Host tools support
|
|
Bug: 181293964
Test: atest BluetoothInstrumentationTests
Tag: #feature
Change-Id: I92deb21350f9ec963d7d5985aed31563b7384bbd
|
|
Bug: 181590011
Tag: #refactor
Test: compile
Change-Id: I247a300c3ba35715b5ddb8c06523e71189ba0ab5
|
|
Updated the README to build using build.py and explain how the Rust
portion is built on Linux.
Bug: 179821440
Tag: #floss
Test: atest --host bluetooth_test_gd
Change-Id: Ibb58fae9b9ca8aaaf1dcce7c5d33204c46fd9678
|
|
Because ISO support is coming
Bug: 177907117
Tag: #feature
Test: run GD stack on device supporting 1.1HAL, verify it's choosen
Change-Id: I5c8ad512b93be443e09c02a435f9fd08179e4367
|
|
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
|
|
rust_library modules now bundle their static lib dependencies. As a
result, many of these static_lib listings are no longer necessary.
This CL also includes libcxxbridge05 in libbt_common_sys_prop_cxx and
libbt_shim_ffi in libbluetooth_rust_interop, both static libraries,
to avoid having to add these to dependencies.
Test: mma
Bug: 175886967
Bug: 179122837
Change-Id: I77c53e62d19bcda7a8ace81d7c576eed383b7c87
|
|
|
|
Soong does not propagate dependencies through static targets, which
can cause linker errors. Until this is fixed, add the dependencies
explicitly.
Test: Build with and without coverage locally
Test: Will run TreeHugger and Forrest
Change-Id: Icab6568f3cc0783bf2a550ecd15b08f57c0d77b2
|
|
the rust code runs in a single threaded environment.
since the main thread is now implicitly running in this environment too,
this means we no longer need to transfer contexts in the shim
Bug: 171749953
Tag: #gd-refactor
Test: gd/cert/run
Change-Id: I05ec50c525184c29627e1eaff2b62bac0b879416
|
|
Bug: 171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost SimpleHalTest
Change-Id: If1e078bdb64a41ee0a77e352617f39a0ab3155d5
|
|
Revert submission 1518559-revert-1512686-LIHRZNOOWL
Reason for revert: build system fixed
Reverted Changes:
I760eea76d:Revert "rusty-gd: add stack start stubs, define sh...
I5740575cf:Revert "rusty-gd: move init_flag parsing to rust"
I0cfbe779c:Revert "rusty-gd: compile into libbluetooth"
Change-Id: I5f0f76450889d7906e9a763a4ebc5a46daf673b7
|
|
126ad36e2b8cd19d41cd60d056e704d7a5042f71
Change-Id: I93a7ee9a2fb6afda535f25348a7f94fac1a1d116
|
|
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: I5740575cf7790ed1ab43cc3f521e86f4ef6966e6
|
|
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: I760eea76d21b768acb76b8b9dd7f58c2519e0723
|
|
to avoid duplicate symbols, all CXX FFI integrated into the native code
needs to be from a single library. Move init_flags FFI into libbt_shim
too.
Bug: 171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost SimpleHalTest
Change-Id: I5207f4df903cf434b470be84133179b04d5c9483
|
|
all that macro goodness comes to life
Bug: 171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost SimpleHalTest
Change-Id: I163111bc87267d8d35ed454c2d9a100f9290f274
|
|
libbinder doesn't support mac.
Bug: 172023026
Test: N/A
Change-Id: Ib39fa195b9313d9d75ce903f2a871a5110abde68
|
|
master -> central
MASTER -> CENTRAL
Master -> Central
BYPASS_INCLUSIVE_LANGUAGE_REASON=required to explain the update
Bug: 170342881
Tag: #refactor
Test: cert/run --host
Test: atest --host bluetooth_test_common
Test: atest --host bluetooth_test_gd
Test: atest net_test_btif
Change-Id: I861ca756f04c06547ee9cb580029404308c678f2
Merged-In: I861ca756f04c06547ee9cb580029404308c678f2
|
|
* Three flags:
- INIT_logging_debug_enabled_for_all
- INIT_logging_debug_enabled_for_tags
- INIT_logging_debug_disabled_for_tags
* If a tag is explicitly disabled or enabled, we will follow that
setting. Otherwise, we check the global enable flag
* This setup allows us to enable/disable individual tags as well as
enable or disable debug logging for all tags
* This affects only DEBUG and VERBOSE level logs
Bug: 170163727
Test: atest bluetooth_test_gd
Tag: #gd-refactor
Change-Id: Idb99ef1ca0a2d14c73069fcba396ac76a61ee39d
|
|
Bug: 156858180
Test: cert/run --host
Tag: #gd-refactor
Change-Id: I45ab86f366316246f14b24dd83f66684badf22e0
|
|
Test: m checkbuild
Change-Id: I21076e0f2070c5085e008af796c1851289e9192c
|
|
python3 yapf -p -i $(git ls-tree --name-only -r aosp/master | grep "\.py")
Bug: 146016811
Test: run Python tests
Change-Id: Ic5fe6a21151d1abc8eb013f8c8070ba8238a5249
|
|
This fuzz target exercises the avrcp bluetooth packet parser. Callbacks
are basic fakes that do nothing (as generally this is an interaction
layer with the JNI).
Bug: N/A
Test: m avrcp_device_fuzz
Change-Id: Ib78ea8cacf2c3ca18f8a515c8b37db2f976930bd
|
|
|
|
This reverts commit 4dd3d1c50abfbfa8bec174f88b2513f27606b7fd.
The updated compiler has fixed the issue that new PM and
-fprofile-instr-generate cannot work together.
Change-Id: I1668afe65f633fddb71ac1a0c94c563cb94f1327
Test: presubmit
Bug: 131132095
|
|
* changes:
Fix mac build
bpfmt -w $(find . -name Android.bp)
|
|
Test: none
Change-Id: If38ad50d848c9e40f07c6598272a354312d9efea
|
|
The new pass manager crashes if `-fprofile-instr-generat` cflag is set
on the current stable Android compiler. Turn it off until we roll past
the revision with the fix.
Test: build
Bug: 131855431
Bug: 131132095
Change-Id: I92f36b73747cca898e104118a2721a4796511282
|
|
Bug: 129421924
Test: run code coverage
Change-Id: I1dc681c72d8af29e43ccb1441ffd218059b8056c
|
|
* Logs when there is an event affecting Bluetooth device's link
layer connection. Triggerred when there is a related HCI command
or event
* Users of this metrics can deduce Bluetooth device's connection state
from these events
* HCI commands are logged before the command is sent, after receiving,
command status, and after receiving command complete
event comes back
* HCI events are logged when they arrive
* Simplifies logic in btu_hcif_hdl_command_status() since p_cmd is never
null and we always ignore parameter total length field
* Call btm_identity_addr_to_random_pseudo() when parsing command status
packet for LE create connection, extended create connection,
add/remove/clear whitelist commands
DETAILS:
* Bluetooth classic commands:
- CMD_CREATE_CONNECTION
- CMD_DISCONNECT
- CMD_CREATE_CONNECTION_CANCEL
- CMD_ACCEPT_CONNECTION_REQUEST
- CMD_REJECT_CONNECTION_REQUEST
- CMD_SETUP_ESCO_CONNECTION
- CMD_ACCEPT_ESCO_CONNECTION
- CMD_REJECT_ESCO_CONNECTION
- CMD_ENH_SETUP_ESCO_CONNECTION
- CMD_ENH_ACCEPT_ESCO_CONNECTION
* Bluetooth low energy commands:
- CMD_BLE_CREATE_LL_CONN [Only logged when there is an error or initiator filter policy is 0x00]
- CMD_BLE_CREATE_CONN_CANCEL [Only logged when there is an error]
- CMD_BLE_EXTENDED_CREATE_CONNECTION [Only logged on error or when initiator filter policy is 0x00]
- CMD_BLE_CLEAR_WHITE_LIST
- CMD_BLE_ADD_WHITE_LIST
- CMD_BLE_REMOVE_WHITE_LIST
* Bluetooth classic events:
- EVT_CONNECTION_COMP
- EVT_CONNECTION_REQUEST
- EVT_DISCONNECTION_COMP
- EVT_ESCO_CONNECTION_COMP
- EVT_ESCO_CONNECTION_CHANGED
* Bluetooth low energy meta events:
- BLE_EVT_CONN_COMPLETE_EVT
- BLE_EVT_ENHANCED_CONN_COMPLETE_EVT
Bug: 112969790
Test: make and test drive statsd
Change-Id: Ib843dfa95bb6448c41dac261dabcf17947efda06
|
|
This allows host side test config to be auto-generated from the right
template.
Bug: 120993548
Test: m -j net_test_avrcp && atest net_test_avrcp --host
Change-Id: I003713ea3c1c4c1c0686551828d817227ec19019
|
|
This enables UBSan bounds sanitization in our bluetooth modules.
This adds run-time bounds checks where the compiler can statically
determine the array bounds.
Bug: 116517182
Test: Pairing devices, playing audio, sharing files.
Change-Id: I9a3ac98aaa6092ac0ad8d1ba080a76b3203bdb26
|
|
Allow the generation of code coverage reports for any code that has
native tests.
In order to add coverage support to code do the following steps.
1. Add "clang_file_coverage" as a default to the source library(s) you
want statistics for.
2. Add "clang_coverage_bin" as a default to the host supported test.
3. Add the test name and the files you want covered to "gen_coverage.py"
- The files covered can either be a directory or files.
- Avoid using / at the beginning of a covered file/dir as this
breaks how the coverage generator resolves filenames.
Bug: 114751344
Test: run ./gen_coverage.py and test arguments manually
Change-Id: I9dd04f6ee2fd642531e301e3bfd52713f862cd4b
|
|
Move metrics_linux.cc into common/, where the metrics live now.
Add btif_avrcp_audio_track_linux.cc
Fix BUILD.gn files.
Define FALLTHROUGH_INTENDED for linux, to fix build error.
Test: build with ninja and run on linux
Change-Id: I117d19ed25828389c385f09ad731e8bd61b38030
|
|
Test: build with ninja on Linux
Change-Id: Ibb5bdde117732556b5b7f0fa6fba8a57c2912782
|
|
This patch brings the latest and greatest features of libchrome to
android. It contains ~2600 patches.
Reason for uprev: libbluetooth want to use some of the most recent
features avaliable.
Test: libchrome_test
Change-Id: I5f8d5931b404767d3b86cb3bd8df2a05dd67a768
Merged-In: I5f8d5931b404767d3b86cb3bd8df2a05dd67a768
|
|
* Add "postsubmit" test group to TEST_MAPPING in system/bt
* Developer can run tests mannually in system/bt via:
system/bt$ atest :postsubmit
* Remove legacy configuration files spread across system/bt
* Created unified configuration file system/bt/AndroidTestTemplate.xml
and add it to the default build config so that developers don't have
to configure it
Bug: 113359343
Test: atest :postsubmit
Change-Id: I0fdd55b47ef176b5c4ce3d2cd217ffa67cf9bc23
|
|
C++ 17 has a bunch of features that will help us refactor the Bluetooth
stack to be much more safe and stable.
Bug: 115895445
Test: Compile and testtracker/201115
Change-Id: Ia1e8e179fa1df116969606d119cb8abe11f44761
|
|
Add empty android_errorWriteLog implementation for Linux
Add missing license headers
Fix BUILD.gn files
Test: compile using ninja
Change-Id: I9be297d5847b4c0856786738eac2c30424593919
|
|
Test: compile on linux
Change-Id: I831df72da8bdec17c4d9c87ebdfb333024eb964c
|
|
Disable Mac support for host binaries in one place, since
the dependency is based on libchrome support.
Test: build
Change-Id: I6641e18deffdff5205da181ad97e8b2892073a8f
|
|
* According to libchrome documentation, DCHECK_ALWAYS_ON must be set or
unset on both our library and libchrome. Flag mis-match may cause
hard-to-debug segfaults which we experience when using base::Thread
Change-Id: If3740196340b02d2d0bb41e08f0b551d47f49864
Fixes: 73147157
Test: make
|
|
* Move disable darwin (mac) options to "fluoride_defaults".
* mac-host target is disabled across fluoride, but developer can still
build for non-mac targets on a mac host.
* Remove vendor_libs/Android.mk that is no longer used.
Bug: 72618679
Test: make
Change-Id: Ibad9fad3df169e9c4e418a4511c42066fcb10fdc
|
|
This reverts commit 862095819ffac9e5e543c114b6f0d4a7d89f6938.
The result audio.a2dp.default.so shared library is only 64-bit,
and it can't be used by the audioserver which is still 32-bit only
Bug: 68127690
Change-Id: I60b15c32425db3b2ada687fa8d0dcb728cf1812f
Test: A2DP streaming
|
|
Test: Comment changes only; still compiles...
Change-Id: Id699a8170112f06e4a2c9f2e0f0834d1817ace4e
|