| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
When the HCI Snoop logs wraparound, the Hearing Aid Audio Control
Command "Start" is lost. For the case, we can enable No Start Cmd
feature to set a fake "Start" to extract audio data.
Bug: 127745964
Test: ./dump_hearingaid_audio.py -c1 1 -c2 3 -ns true btsnoop_hci.log
Change-Id: Id7f67da0d5476faf38352ab57339fed8e358bac6
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 121005659
Test: ./dump_hearingaid_audio.py btsnoop_hci.log
./dump_hearingaid_audio.py -f folder btsnoop_hci.log
./dump_hearingaid_audio.py -f folder -c1 1 -c2 3 btsnoop_hci.log
./dump_hearingaid_audio.py -f folder -a 121 btsnoop_hci.log
Change-Id: I304531ecb5c5bd6cfc264130176d26acc60a64c2
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
* Health Device Profile (HDP) and MCAP protocol has been largely
replaced by BLE. New applications should use Bluetooth Low Energy
instead of legacy Bluetooth Health Device Profile
Bug: 111562841
Test: make, unit test, use Bluetooth
Change-Id: I3da1173a8a928af4b26a29e71746241c22af2236
Merged-In: I3da1173a8a928af4b26a29e71746241c22af2236
(cherry picked from commit dc13609b58b2f6c6185951f650036f5098e19e92)
|
| |
|
|
|
|
| |
Test: make,
./dump_metrics_ascii.py proto/bluetooth/metrics/bluetooth.proto
Change-Id: Ie671fa2c2ceb9f93ed62495b592a2cf9d69ff41b
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The tags property is (and has always been) unused by Soong. The property has
been defined as a list of strings, and the `androidmk` converted any
LOCAL_MODULE_TAGS entries over to it, but we've never done anything with it.
In preparation for removing the definition from Soong, I'm removing it from all
Android.bp files in the tree.
Since this has never done anything, this is a no-op, but if you really did want
the Android.mk behavior, the proper way to define a module to be installed in
userdebug / eng builds is to use PRODUCT_PACKAGES_DEBUG or PRODUCT_PACKAGES_ENG
in the appropriate product makefile.
Change-Id: I48cba711acbc030a98aea674016a0d53f8b5e4aa
Exempt-From-Owner-Approval: global no-op build change
Test: remove `tags` from Soong, see errors go away.
|
| |
|
|
|
| |
Test: Comment changes only; still compiles...
Change-Id: Id699a8170112f06e4a2c9f2e0f0834d1817ace4e
|
| |
|
|
|
|
| |
Bug: 67853426
Test: run Bluetooth
Change-Id: I75748d29a35d10d377d39e0441116dbfd04c82e9
|
| |
|
|
|
| |
Bug: 67853426
Test: run Bluetooth
|
| |
|
|
| |
Test: compile using ninja
|
| |
|
|
| |
Change-Id: If351c7d51a380c33ec9bae3b3f240ed53639f3c9
|
| |
|
|
|
|
|
| |
Bug: 67853426
Test: run Bluetooth
Merged-In: Ia3808552137d1f770f2c0305aaa01181f383d064
Change-Id: Ia3808552137d1f770f2c0305aaa01181f383d064
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, we have few different representations for UUID in stack:
tBT_UUID, tSDP_UUID, bt_uuid_t, bluetooth:UUID, or uint8_t*.
Additionally, tBT_UUID and bt_uuid_t are used to hold UUID as 128bit
as Little Endian or Big Endian, depending on which part of stack (GATT
or SDP) is using it.
This patch is creating one type, bluetooth::Uuid, that will replace all
other types.
Bug: 66912853
Test: all sl4a tests for GATT and RFCOMM
Merged-In: Ia42d3233146db0488728ed6f878f99b368fe8838
Change-Id: Ia42d3233146db0488728ed6f878f99b368fe8838
|
| |
|
|
|
| |
Test: build on linux using ninja
Change-Id: I3b0102814433ca88611fbc863271fe065d443c68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add libbluetooth-types - library containing types implementation, that
is common between stystem/bt and packages/apps/Bluetooth. It must be
included in every project using btif interface.
* Put Raw Address implementation into libbluetooth-types
* Unify all "to/from string" helper methods into ToString and FromString
* bd_addr_empty -> RawAddress::kEmpty
* bd_addr_any -> RawAddress::kAny
Also fix leaks in jni str2addr by adding ReleaseStringUTFChars
Test: types_unittest
Change-Id: Ie0694843ad5fbd2a80b310c5f532e5e5a9548043
Merged-In: Ie0694843ad5fbd2a80b310c5f532e5e5a9548043
|
| |
|
|
|
| |
Test: compilation test
Change-Id: I4571721a0c6165a66450ee157a53d8d15bfc45d0
|
| |
|
|
|
| |
Test: compilation test
Change-Id: I37f17bfb3826b59797373645691c61bfbaefdbfd
|
| |
|
|
|
|
|
|
| |
This are now implemented by the "==" and copy operator
Test: compilation test
Change-Id: I4438c54a9238ad9f3083f7f8a8159d1b7f0f9b32
|
| |
|
|
| |
Change-Id: I2850577447a605877a8bc12f5ad852cacf4e0b3e
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Add a command line tool for MCAP related tests
* This tool can access the Bluetooth stack via a command line program
* Type "help" to obtain a list of available console commands in this
Bluetooth
* Bluetooth must be disabled when this tool is running
Bug: 37867299
Test: make, PTS MCAP test
Change-Id: I106e6625ee8a29b7fdad88cdfeb99419054ef771
|
| |
|
|
|
|
|
|
|
| |
Script erroronously modifies UINT8_TO_BE_STREAM() to
uint8_t_TO_BE_STREAM(). Modidy the script to prevent that.
Test: Manual; Run the script on system/nfc
Change-Id: I9e130b8eb79e400282233fad7da206b4bb1301af
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
|
| |
|
|
|
|
|
| |
find * | grep "\.[ch]" | xargs clang-format --style=file -i
Test: mma -j32
Change-Id: I6fcc9862bb7bc07c2a367ca58fef2b3cd27a6f05
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Renamed A2DP-related function names, types, constants and fields.
Also, move some of those functions to a better location.
- tAVDT_DATA_CBACK -> tAVDT_SINK_DATA_CBACK
- tAVDT_MEDIA_CBACK -> tAVDT_SINK_MEDIA_CBACK
- p_data_cback -> p_sink_data_cback
- p_media_cback -> p_sink_media_cback
- p_app_data_cback -> p_app_sink_data_cback
- tBTA_AV_DATA_CBACK -> tBTA_AV_SINK_DATA_CBACK
- BTA_AV_MEDIA_SINK_CFG_EVT -> BTA_AV_SINK_MEDIA_CFG_EVT
- BTA_AV_MEDIA_DATA_EVT -> BTA_AV_SINK_MEDIA_DATA_EVT
- bta_av_stream_data_cback() -> bta_av_sink_data_cback()
- bte_av_media_callback() -> bte_av_sink_media_callback()
- tBTA_AV_CODEC -> tA2D_CODEC
- btif_a2dp_get_track_frequency() -> A2D_sbc_get_track_frequency()
- btif_a2dp_get_track_channel_count() -> A2D_sbc_get_track_channel_count()
- dump_codec_info() -> A2D_sbc_dump_codec_info()
* Misc. other cleanup:
- log messages cleanup
- normalize usage of "+=" in Android.mk files
Change-Id: Ida1528fb5d75cc322533f921daefb65be44562f1
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the typedefs in stack/include/bt_types.h
Use standard types everywhere.
Use standard style for #if statements:
- #if (VAR_NAME == TRUE)
- #if (VAR_NAME1 == TRUE && VAR_NAME2 == TRUE)
Use __func__ instead of __FUNCTION__
Fix some debug statements to use __func__
Update script to be less disruptive to aligned assignment blocks.
Change-Id: I8f8f068e6c26ce74fd3b3707e1e31fd0b919cdd0
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In number of places we don't handle properly system calls failures
when the errno is EINTR (i.e., the system call was interrupted
by a signal). In all our use cases, the system calls should be
restarted. The handling of the following system calls (as used in the code)
has been updated/fixed:
poll, send, recv, sendmsg, nanosleep, epoll_wait
read - mostly (e.g., socket-like fds)
write - mostly (e.g., socket-like fds)
select, accept, connect
Bug: 28471477
Bug: 28658141
Change-Id: I03e6f0f67e33876780fb6d02c33eb84547ba8f95
|
| |
|
|
| |
Change-Id: Ie915c52d8a7eada10f68999c40a2b50b35f640e2
|
| |
|
|
|
|
|
|
|
| |
In the bugreport in b/27274486 comment #11, the line indicating the
beginning of BTSNOOP LOGS was slightly indented thus causing btsnooz
to not find the beginning of the log.
Bug: 27419027
Change-Id: I3b88e6a3f6f2d6c4d3cbbadb0a93cbd7965f56c8
|
| |
|
|
|
|
| |
Incorrect usage of memset
Change-Id: I7d96c560c4b462c2794b63eb66c7272b1280ba23
|
| |
|
|
| |
Change-Id: I3893d094a1b1dd7853016d1f539f8998cdc84833
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cleanup the setting of C and C++ compiler flags:
* (Almost) all compiler flags are set uniformly
in the system/bt/Android.mk file.
* Enable by default breaking the compilation if there is a
compilation warning: -Werror
* Enable most compilation warnings: -Wall -Wextra
* Renamed Android.mk related flags:
- bdroid_C_INCLUDES -> bluetooth_C_INCLUDES
- bdroid_CFLAGS -> bluetooth_CFLAGS
* Introduce variables for C-only and C++ only compiler:
- bluetooth_CFLAGS: common C and C++ compiler flags
- bluetooth_CONLYFLAGS: C only compiler flags
- bluetooth_CPPFLAGS: C++ only compiler flags
* Disable warnings for existing issues - to be removed as issues are
resolved
* Add a workaround for libchrome and -DNDEBUG usage.
Bug: 26879229
Change-Id: Ie7595965ca0c8ead0e95e983e76c327e7891b2c3
|
| |
|
|
| |
Change-Id: I54bd137e67eb1fc959663189bcdaac4690c2c645
|
| |
|
|
| |
Change-Id: I8368820b5ed9325d2c3b82885b9fe934c6bc87ca
|
| |
|
|
|
|
|
|
| |
Records network traffic going over bluetooth sockets. This patch adds support
for L2CAP and RFCOMM.
Bug: 26039657
Change-Id: Id30d69e4cd648f0e88ab23517e3b94f29b393995
|
| |
|
|
|
|
|
| |
Please see source code for usage information and application.
Bug: 22948224
Change-Id: Ia2dbd618ddcdf13abf3c63d4649147f400e00cfe
|
| |
|
|
|
|
|
|
| |
For re-factoring purposes, the dependencies are broken. Need to
re-evaluate tool usage and port to new bluetoothtbd HAL layer if
necessary.
Change-Id: I27b2ad3d78c67a12c67d8db9f506f94888bea70f
|
| |
|
|
|
|
|
|
| |
Removed libpower-related references, because those are not
needed anymore. Now, the wakelock-related calls and references
are implemented within osi/src/alarm.c
Change-Id: Ifdb232b9724af216b9b414f8b65e85cd713c20d3
|
| |
|
|
|
|
| |
Bug: 23902077
Change-Id: Icc7119a2b3199310e2210d46f599da00261fdff6
|
| |
|
|
|
|
| |
This reverts commit 5997f91a5224ac6072eff11c89b7b9658d3d7df0.
Change-Id: If682757bca55ecc0057bdd058b654ecbdcc7e50a
|
| |
|
|
| |
Change-Id: I26e8b27077a6bd016198b90c5aabb2b2d7cdcaa2
|
| |
|
|
|
|
|
| |
This allows us to change the SCO routing parameters at runtime while
debugging / doing device bringup.
Change-Id: I8bafb7c7fb7ad7470d378cd14a7ee4aad63f3b9b
|
| |
|
|
|
|
|
|
|
| |
This change adds the liblog library in the
make file for bdtool to provide for separate
compilation of the tool without causing link
errors while importing libosi
Change-Id: I87752ef7e1026080bd56fb377c73b457775f12a3
|
| |
|
|
|
|
|
|
|
|
| |
This change uses generic format specifier for logging the
pointers which can be 64 bit or 32 bit depending upon the
system used for compilation.
Also address of operator is used before casting a int variable
to void pointer.
Change-Id: Ie9dec408f3a5f674079f77c047d8192f65a004ca
|
| |
|
|
| |
Change-Id: I389acc5c5034e1b232da0307f77577b939af68ac
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
This is a great way to run controlled audio quality experiments for
the Handsfree profile.
|
| | |
|
| | |
|