OSDN Git Service
Abhishek Pandit-Subedi [Tue, 2 Mar 2021 22:33:14 +0000 (22:33 +0000)]
Prevent building some codecs when not supported
When building outside Android, we may not have support for the non
Bluetooth standard codecs (i.e. everything except SBC). So put all
references to aptx, ldac, aac and vendor codecs inside the
EXCLUDE_NONSTANDARD_CODECS ifdef.
Bug:
176847256
Tag: #floss
Test: atest --host bluetooth_test_gd
Change-Id: I80914f2944b5466b88e221ba10ceae4dd30c16cf
Abhishek Pandit-Subedi [Tue, 2 Mar 2021 22:33:10 +0000 (22:33 +0000)]
Build support and abstractions for Linux build
This has a large number of fixes to build on Linux/ChromeOS. In general,
it is making sure the BUILD.gn and Android.bp for a directory structure
match and it has all the configs + deps needed to build.
Besides a number of simple fixups (missing headers), there are also
a few abstractions that need to be noted:
* All of audio HAL is stubbed out (using the host implementation)
* Parameter provider and system_properties (under gd/os) now have
a linux variant that changes where configuration files are kept. The
current location for linux is now /etc/systembt. This implementation
was copied from the host versions (which seems to be used for host
testing).
Bug:
176847256
Tag: #floss
Test: atest --host bluetooth_test_gd
Change-Id: I1a6b3b362cedbe5f675794a115a330cc7f85f9c1
Abhishek Pandit-Subedi [Tue, 2 Mar 2021 22:33:07 +0000 (22:33 +0000)]
Add source_root parameter to bluetooth_packetgen
In packetgen, add a source-root parameter that we use to rebase paths
from. This was necessary to get the same directory output structure on
Linux builds with GN.
Bug:
176847256
Tag: #floss
Test: atest --host bluetooth_test_gd
Change-Id: I75cdb1693655356ad1470d29a8a45440c775df8f
Abhishek Pandit-Subedi [Tue, 2 Mar 2021 22:33:03 +0000 (22:33 +0000)]
Fix bison 3.7 incompatability
On bison 3.7, YYSTYPE and YYLTYPE don't get defined in the header so
define them directly in the lexer
Bug:
176847256
Tag: #floss
Test: atest --host bluetooth_test_gd
Change-Id: I02b9b615dc6d013efdace733491e7a73c3e1eb69
Abhishek Pandit-Subedi [Tue, 2 Mar 2021 22:32:58 +0000 (22:32 +0000)]
Host tools support
This adds support for the dumpsys bundler tool (which combines multiple
flatbuffer schemas) and the packetgen tool (which converts pdls to
a language parser).
Bug:
176847256
Tag: #floss
Test: atest --host bluetooth_test_gd
Change-Id: I1315979093668f60a476b85f41bb1d707995b2a7
Chienyuan [Thu, 4 Mar 2021 13:36:50 +0000 (21:36 +0800)]
gd: Fix address manager bug
Tag: #gd-refactor
Bug:
180869951
Test: gd/cert/run
Change-Id: Ia04aea10c686c8c4ec8985f2ba3f3424691ea825
Myles Watson [Thu, 4 Mar 2021 01:20:12 +0000 (01:20 +0000)]
Merge "RootCanal: Disable LeExtendedAdvertising"
Myles Watson [Wed, 3 Mar 2021 23:23:33 +0000 (15:23 -0800)]
RootCanal: Disable LeExtendedAdvertising
Bug:
181783722
Test: cert/run
Tag: #gd-refactor
Change-Id: I1e687b9177211385f62aff39db59c312db3c8c4a
Xin Li [Wed, 3 Mar 2021 21:41:36 +0000 (21:41 +0000)]
Merge "Merge RQ2A.210305.007"
Xin Li [Tue, 2 Mar 2021 23:49:59 +0000 (15:49 -0800)]
Merge RQ2A.210305.007
Bug:
180401296
Merged-In: I70d48f04611d3bd380b8e29d21e590e69c6bfe0c
Change-Id: If5621cce571c1e580be6a7949f945318482146aa
Myles Watson [Tue, 2 Mar 2021 21:46:14 +0000 (13:46 -0800)]
RootCanal: Send LeReadRemoteFeatures to LE address
Bug:
181371297
Test: cert/run DirectHciTest
Tag: #gd-refactor
Change-Id: I8b795c2bb440f98fc840a837e2ab27ef35811558
Treehugger Robot [Tue, 2 Mar 2021 22:09:33 +0000 (22:09 +0000)]
Merge "Shim Scanning: Update device property" am:
b2613c875f
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1609573
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I70d48f04611d3bd380b8e29d21e590e69c6bfe0c
Chris Manton [Tue, 2 Mar 2021 21:36:52 +0000 (21:36 +0000)]
Merge changes Ia032262c,Ic587965e,I6dc0fcec,I51913698,I17a8ef4f, ... am:
8bc9c37d89
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1611602
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1763a715405459240aa443c8ae39fcffe747e374
Myles Watson [Tue, 2 Mar 2021 21:27:45 +0000 (21:27 +0000)]
Merge "RootCanal: Report actual supported commands" am:
e0f6c7a008
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1603835
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I00bba233a0a92cd21a86f67d2dd7ca5bcbb4ef36
cheng_cai [Fri, 17 Apr 2020 12:12:25 +0000 (20:12 +0800)]
Fix discover service process using wrong transport
Application may use createBond by transport API to bond with a dual mode
device. If the stack doesn’t get a name from the adv packet, the
stack will start to discover remote name before discovering remote
service. As stack will clear the bta_dm_search_cb.transport flag after
searching remote name, the sdp protocol will be used to discover remote
services, but actually it should use gatt protocol.
Bug:
154299225
Test: Create bond with a dual mode device using le transport
Tag: #compatibility
Sponsor: optedoblivion@
Change-Id: I05b9fa9cf9801cf681e195d490d77d61f77e43a3
Treehugger Robot [Tue, 2 Mar 2021 20:34:38 +0000 (20:34 +0000)]
Merge "Shim Scanning: Update device property"
Chris Manton [Tue, 2 Mar 2021 20:26:56 +0000 (20:26 +0000)]
Merge changes Ia032262c,Ic587965e,I6dc0fcec,I51913698,I17a8ef4f, ...
* changes:
Use API ignore_auto_connect_after_disconnect
Add API ignore_auto_connect_after_disconnect
Streamline stack/btm/btm_sec::btm_sec_disconnected
Streamline stack/btm/btm_sec::btm_sec_send_hci_disconnect
Stat-ify bta/hh/bta_hh_le::bta_hh_le_deregister_input_notif
Streamline bta/hh/bta_hh_le::bta_hh_le_remove_dev_bg_conn
Streamline bta/hh/bta_hh_le::bta_hh_gatt_close
Streamline bta/gatt/bta_gattc_act::bta_gattc_process_api_open_cancel
Streamline stack/hid/hidh_conn::hidh_conn_disconnect
Streamline stack/hid/hidh_conn::hidh_l2cif_disconnect
Canonicalize stack/hid/hidh_conn.cc
Streamline bta/hh/bta_hh_act::bta_hh_api_disc_act
Remove unnecessary declarations btif/src/btif_hh
Streamline btif/src/btif_hh::btif_hh_disconnect
Add le acceptlist size to dumpsys
Remove unnecessary #def guard bta/hh/bta_hh_main::BTA_HH_DEBUG
Explicitly name stack/acl::tACL_CONN
Enum-ify stack/include/hiddefs::tHID_STATUS
Hansong Zhang [Tue, 2 Mar 2021 20:09:51 +0000 (20:09 +0000)]
Add host support for audio_hal_interface/ am:
0435ab0c27
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1612799
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia5bd05c3f8cb4c4786f416ac12fa13f303b52bb4
Grzegorz Kołodziejczyk [Tue, 2 Mar 2021 20:05:50 +0000 (20:05 +0000)]
BluetoothAudioHAL: Avoid deadlock for get Providers Factory 2.1 am:
6315e27778
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1608413
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic0b5391c74078e2c9407b49b59c41374356c5531
Chris Manton [Tue, 2 Mar 2021 19:02:43 +0000 (19:02 +0000)]
Pull up ACL_AcceptLeConnectionFrom stack am:
7252648c47
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1610825
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I4d9ecde706384c0111156cf6d22aafb73101ef5b
Myles Watson [Tue, 2 Mar 2021 19:00:33 +0000 (19:00 +0000)]
Merge "RootCanal: Report actual supported commands"
Hansong Zhang [Tue, 2 Mar 2021 01:46:12 +0000 (17:46 -0800)]
Add host support for audio_hal_interface/
Bug:
181590011
Tag: #refactor
Test: compile
Change-Id: Ic47d789dacabc2089f8d63bf9ab67cb480d1d6b7
Chris Manton [Sat, 27 Feb 2021 17:20:48 +0000 (09:20 -0800)]
Use API ignore_auto_connect_after_disconnect
Bug:
180781174
Test: cert
Tag: #refactor
Change-Id: Ia032262c0e136ea7bc7b7bd7a2737b7d67439804
Chris Manton [Sat, 27 Feb 2021 17:19:55 +0000 (09:19 -0800)]
Add API ignore_auto_connect_after_disconnect
Bug:
180781174
Test: cert
Tag: #refactor
Change-Id: Ic587965e57c87174cb39bd0b79321c22842dbbad
Chris Manton [Fri, 26 Feb 2021 20:46:17 +0000 (12:46 -0800)]
Streamline stack/btm/btm_sec::btm_sec_disconnected
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I6dc0fcecc9abd8e29fafa1c60a92c471d394f49c
Chris Manton [Fri, 26 Feb 2021 18:08:40 +0000 (10:08 -0800)]
Streamline stack/btm/btm_sec::btm_sec_send_hci_disconnect
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I51913698328be8eaf096de890c558162d39e8cb2
Chris Manton [Fri, 26 Feb 2021 18:08:27 +0000 (10:08 -0800)]
Stat-ify bta/hh/bta_hh_le::bta_hh_le_deregister_input_notif
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I17a8ef4f1794f23760cf480c161d82b621bbde46
Chris Manton [Fri, 26 Feb 2021 03:16:37 +0000 (19:16 -0800)]
Streamline bta/hh/bta_hh_le::bta_hh_le_remove_dev_bg_conn
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I7e7fe917cbf8b4695f2c209ace1bc0783e5adef9
Chris Manton [Fri, 26 Feb 2021 03:16:26 +0000 (19:16 -0800)]
Streamline bta/hh/bta_hh_le::bta_hh_gatt_close
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I02e2cd2064b387d42269b08fd178c74222cbf2d3
Chris Manton [Fri, 26 Feb 2021 03:15:54 +0000 (19:15 -0800)]
Streamline bta/gatt/bta_gattc_act::bta_gattc_process_api_open_cancel
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I7dbfd0e27fee14ad0161fbe96b6f4a9412503cbb
Chris Manton [Fri, 26 Feb 2021 03:02:54 +0000 (19:02 -0800)]
Streamline stack/hid/hidh_conn::hidh_conn_disconnect
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I9cec9a720ef56e5e73f5830884dcd12abdc875fb
Chris Manton [Fri, 26 Feb 2021 03:02:40 +0000 (19:02 -0800)]
Streamline stack/hid/hidh_conn::hidh_l2cif_disconnect
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I5ee1f8e3f3ec1c1783dab96bd27693721608fdf2
Chris Manton [Fri, 26 Feb 2021 02:53:38 +0000 (18:53 -0800)]
Canonicalize stack/hid/hidh_conn.cc
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I9e233853056f4694d484212c9252fb3e0e9ab41b
Chris Manton [Fri, 26 Feb 2021 02:31:51 +0000 (18:31 -0800)]
Streamline bta/hh/bta_hh_act::bta_hh_api_disc_act
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I7fca94e52935f0280e1e03d869a4711d7d843aab
Chris Manton [Fri, 26 Feb 2021 21:01:31 +0000 (13:01 -0800)]
Remove unnecessary declarations btif/src/btif_hh
And unused #defs
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: Ia1ff2588ee93c7df4f913dafb8a7ff8af31923a8
Chris Manton [Fri, 26 Feb 2021 02:04:39 +0000 (18:04 -0800)]
Streamline btif/src/btif_hh::btif_hh_disconnect
And remove unused #defs
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I0842b2c97e08e1c29138f6c5cf9eecbd061a296b
Chris Manton [Sat, 27 Feb 2021 00:29:30 +0000 (16:29 -0800)]
Add le acceptlist size to dumpsys
Bug:
180781174
Test: cert
Tag: #refactor
Change-Id: I5473b335da078b21b8e9cebf06c21da150473dd2
Chris Manton [Fri, 26 Feb 2021 02:04:27 +0000 (18:04 -0800)]
Remove unnecessary #def guard bta/hh/bta_hh_main::BTA_HH_DEBUG
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I3c36cac4e582ff83e4ffe5a116c0dc0d750d3ea7
Chris Manton [Fri, 26 Feb 2021 23:12:03 +0000 (15:12 -0800)]
Explicitly name stack/acl::tACL_CONN
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: Id7b934e9676e356d5f5580398c0268b42f557778
Chris Manton [Fri, 26 Feb 2021 02:39:13 +0000 (18:39 -0800)]
Enum-ify stack/include/hiddefs::tHID_STATUS
Also add tHID_STATUS::_text and CASE_RETURN_TEXT cleanup
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I3f9189f01907ef9e6e7253a5d1b4a2a55534d05c
Chienyuan [Tue, 2 Mar 2021 09:29:48 +0000 (17:29 +0800)]
Shim Scanning: Update device property
Tag: #gd-refactor
Bug:
181078056
Test: gd/cert/run
Test: manual, pair fitbit watch vai fitbit app
Change-Id: I4c5873bd0bf4727b9c455b11a0a4dca5d850288c
Grzegorz Kołodziejczyk [Thu, 25 Feb 2021 17:11:15 +0000 (17:11 +0000)]
BluetoothAudioHAL: Avoid deadlock for get Providers Factory 2.1
Single instance of mutex is used for getting all Providers Factories.
Calling GetProvidersFactory 2.0 but having 2.1 instance can cause dead
lock scenario.
Bug:
173538746
Tag: #feature
Test: start Bluetooth with set vinf ProvidersFactory set to 2.1
Sponsor: jpawlowski@
Change-Id: I642adb779391196296dfe8db2a352ebdcf711070
Chris Manton [Fri, 26 Feb 2021 20:43:12 +0000 (12:43 -0800)]
Pull up ACL_AcceptLeConnectionFrom stack
A more appropriate stack level for this conditional
Bug:
180781174
Test: cert
Tag: #refactor
Change-Id: I3dd5ad22d96a5ac785b63ce28351631c0b1a9537
Treehugger Robot [Tue, 2 Mar 2021 04:08:50 +0000 (04:08 +0000)]
Merge "HFPClient: HF Indicators support" am:
d546e7ef9d
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1536315
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie87b5cb0bfcb6370020e9ef8b2bc49f24af3ee1e
Treehugger Robot [Tue, 2 Mar 2021 04:07:53 +0000 (04:07 +0000)]
Merge "export async_fd_watcher" am:
96665b0602
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1605335
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I36f6d5575c304402f35437679cf7a0ddc6760cd7
Treehugger Robot [Tue, 2 Mar 2021 03:56:14 +0000 (03:56 +0000)]
Merge "HFPClient: HF Indicators support"
Treehugger Robot [Tue, 2 Mar 2021 03:21:14 +0000 (03:21 +0000)]
Merge "export async_fd_watcher"
TreeHugger Robot [Tue, 2 Mar 2021 01:09:13 +0000 (01:09 +0000)]
Merge "Merge RQ2A.210305.007 into stage." into stage-aosp-master
Hansong Zhang [Tue, 2 Mar 2021 01:07:46 +0000 (01:07 +0000)]
Add host support for btif/ am:
58accc1b51
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1612599
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id9aeabd3e816e188163531ae17f21ce401a11365
Hansong Zhang [Mon, 1 Mar 2021 20:55:37 +0000 (12:55 -0800)]
Add host support for btif/
Move some dependencies to Android only.
Bug:
181590011
Tag: #refactor
Test: compile
Change-Id: I37812378210e822d1d36fcf24aaadbcf9f4a5084
Treehugger Robot [Mon, 1 Mar 2021 23:26:41 +0000 (23:26 +0000)]
Merge "Remove additional handle mapping between C++ and Python" am:
94b1656518
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1611872
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I4b491223760aa702ef87cf507113da27be3c4de7
Treehugger Robot [Mon, 1 Mar 2021 22:58:55 +0000 (22:58 +0000)]
Merge "Remove additional handle mapping between C++ and Python"
Jakub Pawlowski [Mon, 1 Mar 2021 14:52:06 +0000 (15:52 +0100)]
Remove additional handle mapping between C++ and Python
We must be able to access ACL handle from upcoming ISO module.
Tag: #feature
Bug:
177907117
Test: cert/run LeL2capTest
Change-Id: I3124bff551930158ae80c43166dd9d95201ce6a2
Treehugger Robot [Mon, 1 Mar 2021 19:48:23 +0000 (19:48 +0000)]
Merge changes I0d082b14,I868d5eb4,I32c5931e am:
f46a087a5d
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1610822
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7d6df2c0e3400bee9ef8e472a0c19a1cbbc27d13
Treehugger Robot [Mon, 1 Mar 2021 19:31:29 +0000 (19:31 +0000)]
Merge changes I0d082b14,I868d5eb4,I32c5931e
* changes:
PyLeAclManager: Implement connection cancel
RootCanal: Send ConnectionComplete after Cancel
RootCanal: Disallow configuring ongoing scans
Grzegorz Kołodziejczyk [Mon, 1 Mar 2021 19:29:35 +0000 (19:29 +0000)]
hal: Add input port for bluetooth audio HAL am:
11b83404fa
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1589740
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I06281bdd73cf7e876a2ff2e3ae9bd27279a99861
Myles Watson [Wed, 24 Feb 2021 15:52:02 +0000 (07:52 -0800)]
RootCanal: Report actual supported commands
Bug:
180860482
Test: cert/run
Tag: #root-canal
Change-Id: I2a856eccc6b5d1f3f9769ac635f1e163b12053d6
Grzegorz Kołodziejczyk [Tue, 9 Feb 2021 14:48:25 +0000 (14:48 +0000)]
hal: Add input port for bluetooth audio HAL
Patch adds input port for bluetooth audio HAL.
Bug:
150670922
Tag: #feature
Test: atest bluetooth-test-audio-hal-interface
Sponsor: jpawlowski@
Change-Id: I7f9a12bcf13d7ce44f1f9a73d8b8a9bf4c764f92
Xin Li [Mon, 1 Mar 2021 08:53:15 +0000 (00:53 -0800)]
Merge RQ2A.210305.007 into stage.
Bug:
180401296
Merged-In: I1d014a7b793bb1b66e26652f6696499ea36a6510
Change-Id: I026f7700ab9b9547ab06de795ed1b84a658368fd
Xin Li [Mon, 1 Mar 2021 08:43:24 +0000 (00:43 -0800)]
DO NOT MERGE - Mark RQ2A.210105.001 as merged.
Bug:
180401296
Merged-In: Iad6ec9f3b83feae19d631c5d0499da4ba5885f40
Change-Id: I0756e13d93f10431ef56fce434c9da0cd9d43b5c
Treehugger Robot [Mon, 1 Mar 2021 04:59:39 +0000 (04:59 +0000)]
Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/bt" am:
a349f37dfd
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1609823
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iad6ec9f3b83feae19d631c5d0499da4ba5885f40
Treehugger Robot [Mon, 1 Mar 2021 03:58:55 +0000 (03:58 +0000)]
Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/bt"
Hansong Zhang [Sun, 28 Feb 2021 22:12:57 +0000 (22:12 +0000)]
Remove unused AIDL API am:
f7b2fad0d2
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1611153
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ibe12418f475a1afebdb42bf9a8032c731a3cb76e
Hansong Zhang [Sun, 28 Feb 2021 22:12:54 +0000 (22:12 +0000)]
Add host support for bta/ am:
6aebf4c109
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1604853
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie21af17729a7119175990746e3c670f24f74dc35
Hansong Zhang [Sun, 28 Feb 2021 22:12:51 +0000 (22:12 +0000)]
Add host support for udrv/ am:
d480df840b
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1610005
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9b9f73e6b9d94ea857abf19406ab39dc25ba7d4d
Hansong Zhang [Fri, 26 Feb 2021 23:06:23 +0000 (15:06 -0800)]
Remove unused AIDL API
Test: compile
Change-Id: Ia7bfd2d6f8bbedc17b54e6d3c56581cb28945e0e
Hansong Zhang [Tue, 23 Feb 2021 23:52:11 +0000 (15:52 -0800)]
Add host support for bta/
Test: compile
Change-Id: Ife3e7c386b4384907c1b39f921812c337becab52
Hansong Zhang [Thu, 25 Feb 2021 23:46:09 +0000 (15:46 -0800)]
Add host support for udrv/
Test: compile
Change-Id: I04394268d6259ccd08e5b5964cbcadb89209da91
Chris Manton [Sun, 28 Feb 2021 05:34:09 +0000 (05:34 +0000)]
Re-include stack/gatt/gatt_utils am:
6509949af2
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1610824
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I93e3cab753a4dfedb5bfaea2416a468096f79702
Chris Manton [Fri, 26 Feb 2021 23:34:30 +0000 (15:34 -0800)]
Re-include stack/gatt/gatt_utils
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I732e977ead70a48031e5cee3d7a9a06be3ce49bb
Jakub Pawlowski [Sat, 27 Feb 2021 10:59:57 +0000 (10:59 +0000)]
GD HCI packets: add LeCisParametersTestConfig am:
c2ae150871
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1608973
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I15bf0f8ff1127b6393b36fd8467e1f9b4ee132c8
Jakub Pawlowski [Fri, 26 Feb 2021 09:04:50 +0000 (10:04 +0100)]
GD HCI packets: add LeCisParametersTestConfig
Tag: #feature
Test: Added LeIsoTest
Bug:
177907117
Change-Id: I2ab56dc30bf02a9ea07cd0ea11135c06a77cb018
Myles Watson [Sat, 27 Feb 2021 00:05:23 +0000 (16:05 -0800)]
PyLeAclManager: Implement connection cancel
Bug:
181371297
Test: cert/run LeAclManagerTest
Tag: #gd-refactor
Change-Id: I0d082b143f4a0638695af9eeb20337f185d89af2
Myles Watson [Fri, 26 Feb 2021 23:44:30 +0000 (15:44 -0800)]
RootCanal: Send ConnectionComplete after Cancel
Bug:
181371297
Test: cert/run LeAclManagerTest
Tag: #gd-refactor
Change-Id: I868d5eb48ec7eca7f0ecf10ad3014f8c57634d85
Myles Watson [Fri, 26 Feb 2021 23:06:41 +0000 (15:06 -0800)]
RootCanal: Disallow configuring ongoing scans
Bug:
181371297
Test: cert/run LeAclManagerTest
Tag: #gd-refactor
Change-Id: I32c5931e69b7ab64e4d2c2f9558efa69ea9c34fb
Christopher Di Bella [Sat, 27 Feb 2021 00:59:39 +0000 (00:59 +0000)]
Merge "follows the advice of -Wsign-compare" am:
bfed8fbddb
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1607001
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3804de7f155a73fa6eb4f99b56ce979a04bd7fc4
Christopher Di Bella [Sat, 27 Feb 2021 00:20:29 +0000 (00:20 +0000)]
Merge "follows the advice of -Wsign-compare"
Hansong Zhang [Fri, 26 Feb 2021 23:34:36 +0000 (23:34 +0000)]
Simplify build target am:
3ee67fc2d4
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1597155
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Idc984110ce2321f401743700f2d269ec56aea929
Hansong Zhang [Fri, 26 Feb 2021 23:34:33 +0000 (23:34 +0000)]
Add host support for embdrv/ am:
7640ab5ca9
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1606555
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie606f53f425a95667f48fe4feaab0e8b92f91725
Hansong Zhang [Fri, 26 Feb 2021 23:33:41 +0000 (23:33 +0000)]
Add host support for stack/ am:
cd0d091634
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1603701
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8b748e1faac7b8345956fe923fb6133b500a504c
Hansong Zhang [Tue, 23 Feb 2021 23:31:20 +0000 (15:31 -0800)]
Simplify build target
Test: compile
Change-Id: Icf7a2665bf9b4b0dee651fe99d4763ab013834f3
Hansong Zhang [Wed, 24 Feb 2021 01:22:26 +0000 (17:22 -0800)]
Add host support for embdrv/
Test: compile
Change-Id: I2b52c3012c37dfa19e49812c3b217b8716765437
Hansong Zhang [Wed, 24 Feb 2021 00:35:31 +0000 (16:35 -0800)]
Add host support for stack/
Test: compile
Change-Id: Ie3c4f7c7625a50863200930c71f2e66a1cb77a9b
Christopher Di Bella [Thu, 25 Feb 2021 02:16:59 +0000 (02:16 +0000)]
follows the advice of -Wsign-compare
Bug:
181177782
Test: #stability #security
Change-Id: Icf11ac28caf05e1bdfcb9453153723f40d147090
Qasim Javed [Fri, 26 Feb 2021 18:52:39 +0000 (18:52 +0000)]
Merge "rusty-gd: Use spawn instead of block_on" am:
e472f2ba55
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1608414
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5b062bb4f02fa86e8921b2b6be6810928d760474
Treehugger Robot [Fri, 26 Feb 2021 18:50:51 +0000 (18:50 +0000)]
Merge "GD Scanning: Always disable scan before set parameter" am:
58c75b9c01
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1607314
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ibadb760ed72cf5c2ffff7c6de27af87db4f25dfa
Qasim Javed [Fri, 26 Feb 2021 18:45:33 +0000 (18:45 +0000)]
Merge "rusty-gd: Use spawn instead of block_on"
Treehugger Robot [Fri, 26 Feb 2021 17:59:20 +0000 (17:59 +0000)]
Merge "GD Scanning: Always disable scan before set parameter"
Jakub Pawlowski [Fri, 26 Feb 2021 13:39:12 +0000 (13:39 +0000)]
Add HCI ISO tests for GD am:
efad454aae
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1602354
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iaf1afdb1f507099da425a286143072c5d023eb38
Jakub Pawlowski [Tue, 23 Feb 2021 17:39:51 +0000 (18:39 +0100)]
Add HCI ISO tests for GD
Bug:
177907117
Tag: #feature
Test: atest bluetooth_test_gd --gtest_filter=HciTest.receiveMultiple* --gtest_repeat=100
Change-Id: I1baa6406bd9f51c002c73039a09a4a0da9439bfc
Bob Badour [Fri, 26 Feb 2021 11:40:36 +0000 (03:40 -0800)]
[LSC] Add LOCAL_LICENSE_KINDS to system/bt
Added SPDX-license-identifier-Apache-2.0 to:
gd/btaa/Android.bp
Bug:
68860345
Bug:
151177513
Bug:
151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ic6943c23145d418527f3e3d5abc152a3d211402a
Treehugger Robot [Fri, 26 Feb 2021 11:35:15 +0000 (11:35 +0000)]
Merge "Shim ACL: Implement OnLocalAddressUpdate" am:
2f667ebfbf
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1607876
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I41f60901ccf316b5c84d9e607bfd0aaba9a49e9e
Treehugger Robot [Fri, 26 Feb 2021 10:44:48 +0000 (10:44 +0000)]
Merge "Shim ACL: Implement OnLocalAddressUpdate"
Treehugger Robot [Fri, 26 Feb 2021 09:29:27 +0000 (09:29 +0000)]
Merge "Controller: Debug message for unuspported opcodes" am:
fd7b7ffd29
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1602457
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I4dc629b6bc6931247ebf574a59e907b91cb2049d
Treehugger Robot [Fri, 26 Feb 2021 07:33:07 +0000 (07:33 +0000)]
Merge "Controller: Debug message for unuspported opcodes"
Chienyuan [Thu, 25 Feb 2021 07:20:59 +0000 (15:20 +0800)]
GD Scanning: Always disable scan before set parameter
Tag: #gd-refactor
Bug:
181184816
Test: gd/cert/run
Test: manual, start scan from settings then start scan via other app
Change-Id: I7971d0ec674312b2cdc8b17c3532071377255ff7
Treehugger Robot [Fri, 26 Feb 2021 06:04:12 +0000 (06:04 +0000)]
Merge "Properly include bta when BTA_PAN_INCLUDED != TRUE" am:
a7b42b7090
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1608299
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0d83d867c6c1a0984b880b03ecf1d21c24e752a9
Treehugger Robot [Fri, 26 Feb 2021 05:01:01 +0000 (05:01 +0000)]
Merge "Properly include bta when BTA_PAN_INCLUDED != TRUE"
Jizheng Chu [Fri, 26 Feb 2021 00:56:18 +0000 (00:56 +0000)]
Merge "Unbind gd_base_test from ACTS" am:
50725066e3
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1601055
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I420f15787d78cb266b7f6e3d31e8be2438ae65a0
Jizheng Chu [Thu, 25 Feb 2021 23:34:54 +0000 (23:34 +0000)]
Merge "Unbind gd_base_test from ACTS"