Age | Commit message (Collapse) | Author |
|
Implement the btaa shim layer to connect gd with btif.
Tag: #feature
Bug: 172501038
Test: m
Change-Id: I8f6ec9d0b74425184ca19128167ed4ae554b4197
|
|
|
|
|
|
|
|
Introduce the btaa module skeleton implementation in gd.
Tag: #feature
Bug: 172501038
Test: mmma -j system/bt
Change-Id: I7fa28e8ef5eb25ff08b96ab7b43a2526359450f8
|
|
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
|
|
Bug: 178232343
Test: manually test the function and check log
tag: #feature
Change-Id: I3ae1db6ab670bacb06380a532f39841f6fa07994
|
|
This movess us off of a hardcoded value for number of connected devices
and allows Java, through the JNI, to have input on the maximum number of
audio devices it would like to have connected. This moves A2DP Sink in
linne with A2DP Source. It will also enable easily configurable
multi-a2dp sink and avrcp controller experiences.
Tag: #refactor
Bug: 180039146
Test: atest BluetoothInstrumentationTests
Change-Id: I98b7d55d8aa53c07af6451f3d5dca529b96739fc
|
|
Android uses a very old version of libchrome and there are several
breaking changes in the latest libchrome. Using BASE_VER defined in the
libchrome provided by ChromeOS, we add a few abstractions:
* AbstractMessageLoop to replace MessageLoop
* AbstractObserverList to replace ObserverList
* Work around ExportedObject::ResponseSender changing from
base::RepeatingCallback to base::OnceCallback
Also add a few more workarounds for libchrome differences (missing
includes, unresolved symbols, etc).
Bug: 177961465
Tag: #refactor
Test: run --host bluetooth_test_gd
Test: run --host bluetooth_test_common
Change-Id: I94bc3dd4cd86bd357d869f23e95de9e53184696d
|
|
Fix up all the .gn files so that they will compile on Linux. In order to
compile with GN, there is a new dependency on common-mk (currently part
of chromiumos/platform2) and most third-party libraries now use
pkg-config to include and link. As a result, all build paths are
prefixed with //bt now.
In addition, also disable building non standard codecs temporarily (i.e.
ldac, aptx, aac). We will add a way to enable them via build flags later
but we're disabling them entirely for now.
Bug: 176847216
Bug: 176846220
Tag: #refactor
Test: run --host bluetooth_test_gd
Test: run --host bluetooth_test_common
Change-Id: I85e5f8bd64c9ad074537cdd1393d373d5644aca0
|
|
Include what you use
Bug: 163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I14572835b8db117eb745cc5cbd85064aa27693f3
|
|
BYPASS_INCLUSIVE_LANGUAGE_REASON=None
Tag: #refactor
Bug: 170342881
Test: atest BluetoothInstrumentationTests
Change-Id: I63e6e1ef003558433c51061bc2781c8f60f8a037
|
|
|
|
Tag: #gd-refactor
Bug: 177044452
Test: gd/cert/run --host
Test: run CTS test
Change-Id: I0409629991894e1a7a94243d82e005a64b59af01
|
|
Handle the dynamic audio buffer in the BT stack:
1. Send HCI VSC command to the controller.
2. Receive HCI VSC event from the controller.
3. Communicate with framework.
Bug: 163968696
Tag: #feature
Test: Run dynamic audio buffer test
Change-Id: I6a699c2c24b714ce76d1fad858574f2438b64262
|
|
* changes:
Add tests for the AVRCP Target Cover Art feature
Pass BIP client status down and use it to decide to send image handles
Add a path to add the PSM of the BIP OBEX server to the SDP record
Allow NewAvrcp to manage its own SDP record
|
|
The new avrcp architecture has the design such that all requests to Java
are agnostic of which device is asking for them. However, image handles
are not meant to be sent if there is no BIP connection with that device.
Rather than invalidate the previous design assumption, this patch sends
that status down to the connection handler and device objects to use
when building response packets. The image handles, if included, will be
automatically removed if there is no client connection. If no image
handles are sent, none will be included.
Tag: #feature
Bug: 153076316
Test: Build, flash, make sure existing metadata isn't impacted and is
still sent when requested. Make sure imge handles are sent, when they
exist, if and only if we've connected a client on the Java side BIP OBEX
server.
Change-Id: If252abe120188df2bcdabed22382fba070d17f32
|
|
Tag: #feature
Bug: 153076316
Test: Build, flash, make sure everything still works as no one is using
this code path yet
Change-Id: I672be8c341c453f862a50a9b3cfb4150b9588b2e
|
|
Tag: #feature
Test: manually verified against device supporting EATT
Bug: 159786353
Sponsor: jpawlowski@
Change-Id: Ib128308b08fcb047b123480434009b45a65f8e1f
|
|
* changes:
Use Bluetooth UUID definitions of header file
DIP: Implement API to get device identification information
|
|
voice recognition as well as echo cancellation and/or noise reduction
Tag: #feature
Bug: 172960943
Test: Manual
Change-Id: I5e78b05f1bc5e4a44c506e02fe5fc79fdf3aebfd
|
|
Tag: #refactor
Bug: 169390539
Test: gd/cert/run --host
Test: test/run_unit_tests.sh bluetoothtbd_test
Change-Id: I95478172ae83028e377a0bc195fd90dd64e455b3
|
|
Towards loggable code
Bug: 163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I2a39853ff6000ae78ce48476ec408991cade3876
|
|
Bug: 141666056
Test: atest net_test_bta
Sponsor: alainv@
Tag: #feature
Change-Id: I236e6f79a6d8bde640e47f9e30812c19bbcc4a40
|
|
Most of this code is copy-paste from Hearing Aid Profile
Bug: 150670922
Test: compilation
Sponsor: jpawlowski@
Change-Id: Ia532485cb1d71c2ca9755709fb14ea9ed6aec799
|
|
Move Activity enum inside ActivityAttributionCallbacks class as this
include file will not cross boundary and be available for the btaa
module within the gd. Rename the Init() function, as btaa within gd
will be modularized, hence the stack will be responsible for the
initialization.
Tag: #feature
Bug: 172501038
Test: m
Change-Id: I371de5399abbfb0929baff0695ea1608e2341347
|
|
Add new includes files for JNI and btif interfaces development of
activity attribution (BTAA). This change only defines the skeleton of
BTAA interface and its callback structures, more implementation will
follow.
Tag: #feature
Bug: 172501038
Test: m
Change-Id: I1ae48561ec6ce91ed5df1aba6a8d72fe737a7ef0
|
|
|
|
Follow the Android HCI requirement for the 'Start A2DP Offload' cmd, it
should bring the SCMS-T header in the 'SCMS-T Enable' field as SCMS-T is
enabled. Get the SCMS-T active status of the peer devices as building
the offload start req cmd, and fill the SCMS-T header based the active
status.
Bug: 170785181
Tag: #feature
Test: connect with Sony WH-1000XM4, check the SCMS-T_Enable correctness
Test: atest --test-mapping system/bt
Change-Id: I6003b50a09f010942b37436497b06e06180b2069
|
|
|
|
Tag: #refactor
Bug: 169390539
Test: all sl4a tests for BLE advertising
Change-Id: If16058fa2ca07d27bf3a340b0aaff51e0f7ec232
|
|
Bug: 170342881
Tag: #refactor
Test: atest --host bluetooth_test_common
Test: atest --host bluetooth_test_gd
Test: atest net_test_btif
BYPASS_INCLUSIVE_LANGUAGE_REASON=required to explain the update
Ignore-AOSP-First: Conflict with git_master.
Need to merge in internal first
Merged-In: I6707def7cca06068fbbf25f1f403bb5fd31eb215
Change-Id: I6707def7cca06068fbbf25f1f403bb5fd31eb215
|
|
Bug: 170342881
Tag: #refactor
Test: atest --host bluetooth_test_common
Test: atest --host bluetooth_test_gd
Test: atest net_test_btif
Merged-In: I6707def7cca06068fbbf25f1f403bb5fd31eb215
BYPASS_INCLUSIVE_LANGUAGE_REASON=required to explain the update
Change-Id: I6707def7cca06068fbbf25f1f403bb5fd31eb215
|
|
Bug: 167233921
Merged-In: Ica51249d82f7539afac3ded4db5e946730a59f27
Change-Id: Id2e099b0be7df9831b5b6bf6c8c7ef86a72d184b
|
|
The marked library(ies) were available to the APEXes via the
hand-written allowlist in build/soong/apex/apex.go. Trying to remove
the list by adding apex_available property to the Android.bp of
the libraries.
Bug: 150999716
Test: m
Change-Id: I8dad3cdd017fb128e7e17313ed20756c093009a2
|
|
1. Add onServiceChanged() into IBluetoothGattCallback (AIDL)
2. Define tBTA_GATTC_SERVICE_CHANGED data type
3. Modify the event caller in bta_gatt_act.cc by using new data type
4. Modify the related usages for BTA_GATTC_SRVC_CHG_EVT
5. Handle BTA_GATTC_SRVC_CHG_EVT in btif_gatt_client.cc
6. Add service_change_cb into btgatt_client_callbacks_t
7. Modify the related usages for btgatt_client_callbacks_t
Bug: 154056389
Tag: #feature
Test: test service changed scenario
Change-Id: Ib5f5dac52973e39b22c9e66ee08030d8db768624
|
|
Test: sl4a GattExtendedPropertiesTest
Bug: 110864501
Change-Id: If04b28f1b90c1f7b5a6f53673f6bd2c4791f28bb
|
|
Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I5f9a8ff41e9905298fc955c1fcf5fb0018f52760
|
|
Revert submission 1402170
Bug: 165329887
Reason for revert: Breaking target docs on branch git_qt-qpr1-dev-plus-aosp
Reverted Changes:
Ifc81bd221:Unused def include/hardware/bt_gatt_types::btgatt_...
I59785ec5a:Removed unused file include/hardware/bt_gatt_types...
Change-Id: Ie89181741bad772b14d722ff0cb6823fc9c71860
|
|
Revert submission 1402170
Bug: 165329887
Reason for revert: Breaking target docs on branch git_qt-qpr1-dev-plus-aosp
Reverted Changes:
Ifc81bd221:Unused def include/hardware/bt_gatt_types::btgatt_...
I59785ec5a:Removed unused file include/hardware/bt_gatt_types...
Change-Id: I41b9ac4ffae51adb0b62599320a5a568eaf81b36
|
|
Towards proper interfaces
Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I59785ec5ac43deb591c08248d912bf1c94d2c45e
|
|
Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Ifc81bd221b3f59e09bac02f7b08b972583399213
|
|
consent dialog for BLE pairing in JUSTWORKS and ENCRYPTION_ONLY mode
Tag: #feature
Bug: 157038281
Test: Manual
Merged-In: I6d06f5996da71e5a1407e544b0023d82924aa56f
Change-Id: I6d06f5996da71e5a1407e544b0023d82924aa56f
|
|
Bug: 156757711
Test: atest bluetooth_test_gd:InitFlags
Tag: #gd-refactor
Change-Id: Ib496b9fbe52b7ac43f9f01014a943c96f442a860
Merged-In: Ib496b9fbe52b7ac43f9f01014a943c96f442a860
|
|
Bug: 156757711
Test: atest bluetooth_test_gd:InitFlags
Tag: #gd-refactor
Change-Id: Ib496b9fbe52b7ac43f9f01014a943c96f442a860
Merged-In: Ib496b9fbe52b7ac43f9f01014a943c96f442a860
|
|
When do pairing, the set_encrypt_key_or_remove_key will be later than
get_key due to they are in different thread. Use a map to store them and
will check whether the key exist in map. If no, will get the key from
the JAVA bluetoothKeystore.
Bug: 148758680
Test: m
Change-Id: I044b11a231c6f65978019ce6092657c1bdd814d1
Merged-In: I044b11a231c6f65978019ce6092657c1bdd814d1
|
|
Bug: 148758680
Test: m
Change-Id: I89f782039123d1deac173d13670de4d9dae5252a
Merged-In: I89f782039123d1deac173d13670de4d9dae5252a
|
|
Bug: 148758680
Test: m
Change-Id: I07eb90a144e172212c7a1a55ef200111efd297e0
Merged-In: I07eb90a144e172212c7a1a55ef200111efd297e0
|
|
When do pairing, the set_encrypt_key_or_remove_key will be later than
get_key due to they are in different thread. Use a map to store them and
will check whether the key exist in map. If no, will get the key from
the JAVA bluetoothKeystore.
Bug: 148758680
Test: m
Change-Id: I044b11a231c6f65978019ce6092657c1bdd814d1
|
|
Bug: 148758680
Test: m
Change-Id: I89f782039123d1deac173d13670de4d9dae5252a
|