- Mar 04, 2021
-
-
Abhishek Pandit-Subedi authored
For ChromeOS/Linux, we want to build a static libbluetooth to make it easier to find build breakages earlier and to simplify some of the build issues. This change adds a compile time define to choose between using dlsym to load libbluetooth and using extern to access the symbols directly. Bug: 176847256 Tag: #floss Test: atest --host bluetooth_test_gd Change-Id: I818c0f4a7baf414e73dc6f6ae73bb3e3bc3f357f
-
Abhishek Pandit-Subedi authored
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 authored
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 authored
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 authored
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 authored
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 authored
Tag: #gd-refactor Bug: 180869951 Test: gd/cert/run Change-Id: Ia04aea10c686c8c4ec8985f2ba3f3424691ea825
-
Myles Watson authored
-
- Mar 03, 2021
-
-
Myles Watson authored
Bug: 181783722 Test: cert/run Tag: #gd-refactor Change-Id: I1e687b9177211385f62aff39db59c312db3c8c4a
-
Xin Li authored
-
Xin Li authored
Bug: 180401296 Merged-In: I70d48f04611d3bd380b8e29d21e590e69c6bfe0c Change-Id: If5621cce571c1e580be6a7949f945318482146aa
-
- Mar 02, 2021
-
-
Myles Watson authored
Bug: 181371297 Test: cert/run DirectHciTest Tag: #gd-refactor Change-Id: I8b795c2bb440f98fc840a837e2ab27ef35811558
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1609573 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I70d48f04611d3bd380b8e29d21e590e69c6bfe0c
-
Chris Manton authored
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1611602 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I1763a715405459240aa443c8ae39fcffe747e374
-
Myles Watson authored
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1603835 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I00bba233a0a92cd21a86f67d2dd7ca5bcbb4ef36
-
cheng_cai authored
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 authored
-
Chris Manton authored
* 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 authored
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1612799 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ia5bd05c3f8cb4c4786f416ac12fa13f303b52bb4
-
Grzegorz Kołodziejczyk authored
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1608413 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ic0b5391c74078e2c9407b49b59c41374356c5531
-
Chris Manton authored
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1610825 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I4d9ecde706384c0111156cf6d22aafb73101ef5b
-
Myles Watson authored
-
Hansong Zhang authored
Bug: 181590011 Tag: #refactor Test: compile Change-Id: Ic47d789dacabc2089f8d63bf9ab67cb480d1d6b7
-
Chris Manton authored
Bug: 180781174 Test: cert Tag: #refactor Change-Id: Ia032262c0e136ea7bc7b7bd7a2737b7d67439804
-
Chris Manton authored
Bug: 180781174 Test: cert Tag: #refactor Change-Id: Ic587965e57c87174cb39bd0b79321c22842dbbad
-
Chris Manton authored
Bug: 163134718 Test: cert Tag: #refactor Change-Id: I6dc0fcecc9abd8e29fafa1c60a92c471d394f49c
-
Chris Manton authored
Bug: 163134718 Test: cert Tag: #refactor Change-Id: I51913698328be8eaf096de890c558162d39e8cb2
-
Chris Manton authored
Bug: 163134718 Test: cert Tag: #refactor Change-Id: I17a8ef4f1794f23760cf480c161d82b621bbde46
-
Chris Manton authored
Bug: 163134718 Test: cert Tag: #refactor Change-Id: I7e7fe917cbf8b4695f2c209ace1bc0783e5adef9
-
Chris Manton authored
Bug: 163134718 Test: cert Tag: #refactor Change-Id: I02e2cd2064b387d42269b08fd178c74222cbf2d3
-
Chris Manton authored
Bug: 163134718 Test: cert Tag: #refactor Change-Id: I7dbfd0e27fee14ad0161fbe96b6f4a9412503cbb
-
Chris Manton authored
Bug: 163134718 Test: cert Tag: #refactor Change-Id: I9cec9a720ef56e5e73f5830884dcd12abdc875fb
-
Chris Manton authored
Bug: 163134718 Test: cert Tag: #refactor Change-Id: I5ee1f8e3f3ec1c1783dab96bd27693721608fdf2
-
Chris Manton authored
Bug: 163134718 Test: cert Tag: #refactor Change-Id: I9e233853056f4694d484212c9252fb3e0e9ab41b
-
Chris Manton authored
Bug: 163134718 Test: cert Tag: #refactor Change-Id: I7fca94e52935f0280e1e03d869a4711d7d843aab
-
Chris Manton authored
And unused #defs Bug: 163134718 Test: cert Tag: #refactor Change-Id: Ia1ff2588ee93c7df4f913dafb8a7ff8af31923a8
-
Chris Manton authored
And remove unused #defs Bug: 163134718 Test: cert Tag: #refactor Change-Id: I0842b2c97e08e1c29138f6c5cf9eecbd061a296b
-
Chris Manton authored
Bug: 180781174 Test: cert Tag: #refactor Change-Id: I5473b335da078b21b8e9cebf06c21da150473dd2
-
Chris Manton authored
Bug: 163134718 Test: cert Tag: #refactor Change-Id: I3c36cac4e582ff83e4ffe5a116c0dc0d750d3ea7
-
Chris Manton authored
Bug: 163134718 Test: cert Tag: #refactor Change-Id: Id7b934e9676e356d5f5580398c0268b42f557778
-