| 49f69d54 |
android: Avoid using src include path for btmgmt tool |
Marcel Holtmann |
12 years ago |
1 file, +2, -3 |
| 857421a6 |
tools: Use direct include from shared files in src directory |
Marcel Holtmann |
12 years ago |
1 file, +2, -2 |
| cb7f2809 |
android: No need to use special include for src/shared headers |
Marcel Holtmann |
12 years ago |
1 file, +0, -3 |
| 30e947cb |
shared: Use full include path for shared headers |
Marcel Holtmann |
12 years ago |
7 files, +15, -18 |
| cf4715cd |
android: Remove the unneeded include path for libsbc |
Marcel Holtmann |
12 years ago |
1 file, +1, -2 |
| a057e825 |
android: Enable SBC_HIGH_PRECISION build for libsbc |
Marcel Holtmann |
12 years ago |
1 file, +1, -0 |
| 5622a292 |
shared: Define MIN() macro if not present |
Marcel Holtmann |
12 years ago |
1 file, +4, -0 |
| 14bb94a4 |
android: Compile with ring buffer and HFP framework |
Marcel Holtmann |
12 years ago |
1 file, +2, -0 |
| 31bcaff5 |
tools/l2cap-tester: Add MTU checks after successful connections |
Johan Hedberg |
12 years ago |
2 files, +61, -5 |
| 36547e6a |
tools/l2cap-tester: Fix error message for setsockopt failure |
Johan Hedberg |
12 years ago |
1 file, +1, -1 |
| e34d1c04 |
tools/l2cap-tester: Test setsockopt(BT_SECURITY) on LE client
Although setting a security level using setsockopt(BT_SECURITY) is
optional for LE sockets (it will default to doing
unencrypted/unauthenticated connection), it is a common operation and it
is done by BlueZ daemon and some tools. |
Anderson Lizardo |
12 years ago |
1 file, +1, -0 |
| ccbbb8dd |
emulator: Add simple HFP emulator for testing |
Marcel Holtmann |
12 years ago |
3 files, +128, -1 |
| 8ddda035 |
shared: Add simple framework for HFP command processing |
Marcel Holtmann |
12 years ago |
2 files, +481, -0 |
| 611f14de |
unit: Add basic unit test for queue handling |
Marcel Holtmann |
12 years ago |
4 files, +77, -2 |
| 27afdad8 |
shared: Include stdint.h for uintptr_t handling |
Marcel Holtmann |
12 years ago |
1 file, +1, -0 |
| 96f1f8d7 |
doc: Add test case numbers from ring buffer unit tests |
Marcel Holtmann |
12 years ago |
1 file, +2, -1 |
| b83e92de |
unit: Add basic tests for simple ring buffer support |
Marcel Holtmann |
12 years ago |
3 files, +157, -0 |
| 84aa99e5 |
shared: Add simple generic ring buffer support |
Marcel Holtmann |
12 years ago |
2 files, +346, -0 |
| 0119d256 |
monitor: Avoid using bdaddr_t and ba2str in packet handling |
Marcel Holtmann |
12 years ago |
1 file, +12, -8 |
| 7261d9f1 |
shared: Add macros for unaligned access |
Marcel Holtmann |
12 years ago |
1 file, +16, -0 |
| 75cfe39f |
unit: Check ntoh64 and htob64 against shared conversion functions |
Marcel Holtmann |
12 years ago |
1 file, +4, -0 |
| 51c41639 |
shared: Add conversion function for big endian data types |
Marcel Holtmann |
12 years ago |
1 file, +12, -0 |
| 44e30afc |
shared: Avoid using GLib allocation functions for tester |
Marcel Holtmann |
12 years ago |
1 file, +17, -8 |
| ae0292ee |
doc: Update unit test coverage numbers |
Marcel Holtmann |
12 years ago |
1 file, +2, -2 |
| 007ad371 |
tools: Use be32toh, htobe32, be64toh and htobe64 functions |
Marcel Holtmann |
12 years ago |
1 file, +16, -16 |
| 231301ca |
hcidump: Use be32toh, htobe32, be64toh and htobe64 functions |
Marcel Holtmann |
12 years ago |
1 file, +19, -19 |
| 83afd2d1 |
shared: Use be32toh, htobe32 and htobe64 functions |
Marcel Holtmann |
12 years ago |
1 file, +9, -22 |
| ac9f1cd1 |
monitor: Use be32toh, htob32, be64toh and htobe64 functions |
Marcel Holtmann |
12 years ago |
1 file, +15, -15 |
| 0c0c6422 |
health: Remove useless define for hton64 |
Marcel Holtmann |
12 years ago |
1 file, +0, -2 |
| dfa18f7d |
unit: Add simple test case for ntoh64 hton64 functions |
Marcel Holtmann |
12 years ago |
1 file, +17, -0 |
| c7fb97e9 |
android: Update Audio IPC documentation
Open Stream commands now also returns outoging MTU for returned socket. |
Andrzej Kaczmarek |
12 years ago |
1 file, +2, -1 |
| 26a78aee |
android/pts: Add PTS test results for PBAP |
Sebastian Chlad |
12 years ago |
1 file, +3, -3 |
| 861d2b76 |
android/pts: Add PTS test results for A2DP |
Sebastian Chlad |
12 years ago |
1 file, +7, -7 |
| 77ff405a |
android/a2dp: Fix audio resume on started stream
In case stream is started from remote we'll receive Resume Stream IPC
when audio is already considered as started (i.e. on first write from
AudioFlinger). In such case we should not try to send AVDTP_START since
this will fail but just reply success over IPC instead. |
Andrzej Kaczmarek |
12 years ago |
1 file, +6, -4 |
| ca90266d |
android/hal-audio: Remove DBG from SBC functions
These are redundant since callers will always print some information
which can be used to see what was actually called so no need to flood
output. |
Andrzej Kaczmarek |
12 years ago |
1 file, +0, -12 |
| 349fd052 |
android/hal-audio: Refactor error messages |
Andrzej Kaczmarek |
12 years ago |
1 file, +8, -8 |
| b4543a01 |
attrib: Fix crash if g_attrib_new() fails
If g_attrib_new() fails for some reason (e.g. bt_io_get() fails), it
will return NULL.
Crash reported by Valgrind:
==2845== Invalid read of size 4
==2845== at 0x40C6CC4: g_io_channel_unix_get_fd (giounix.c:655)
==2845== Address 0x3c is not stack'd, malloc'd or (recently) free'd |
Anderson Lizardo |
12 years ago |
1 file, +3, -0 |
| 3be8272d |
android/bluetooth: Handle device unpaired mgmt event |
Szymon Janc |
12 years ago |
1 file, +12, -0 |
| 90fb3a75 |
android/bluetooth: Check event length in mgmt_auth_failed_event |
Szymon Janc |
12 years ago |
1 file, +5, -0 |
| f5512018 |
android/bluetooth: Fix removing bonded device if connection failed |
Szymon Janc |
12 years ago |
1 file, +13, -2 |
| 509b120a |
android/bluetooth: Check not paired status in unpair_device_complete
This is needed to make sure framework is updated with proper bond state
of device. |
Szymon Janc |
12 years ago |
1 file, +1, -1 |
| b8207d38 |
android/bluetooth: Rename devices list to cached_devices
This makes it clear what is the purpose of this list. |
Szymon Janc |
12 years ago |
1 file, +14, -14 |
| a7fc3970 |
android/bluetooth: Add support for loading caches devices from storage
Info is now stored for all devices and bond state depends on file.
Based on that devices loaded from storage are put either to cache
or to bonded_devices list. |
Szymon Janc |
12 years ago |
1 file, +55, -6 |
| 3c12dc59 |
android/bluetooth: Add support for caching remote device info
Cache is limited to DEVICES_CACHE_MAX. Devices are sorted with
timestamp so if cache is full olderst device is removed. |
Szymon Janc |
12 years ago |
1 file, +82, -33 |
| 579e1af7 |
android/bluetooth: Use defines for settings and devices files paths |
Szymon Janc |
12 years ago |
1 file, +11, -13 |
| 429f9eb7 |
android/bluetooth: Split devices list to devices and bonded_devices
Bonded devices are permament until unbondedn. Non-bonded devices will
be held in (size limited) cache based on timestamp property so split
list to ease separation. |
Szymon Janc |
12 years ago |
1 file, +36, -12 |
| 7468c32f |
avrcp: Use NULL for zero pointers |
Andrei Emeltchenko |
12 years ago |
1 file, +46, -46 |
| 9dc257e9 |
android/hal-audio: Workaround AudioFlinger issues
Audio HAL code calculates accurate input stream buffer size which
allows to fill media packets with as much data as possible. However,
in most cases calculated buffer size does not work well with Android
audio code which causes glitches when playing simultaneously to
different audio output (like notification) or crashes mediaserver
when disconnecting with headset.
This patch changes input buffer size to fixed magic value 20*512 which
is used in Bluedroid Audio HAL. Such change requires that we need to
drop assumption that each input buffer can be used to fill exactly one
media packet and need to use it to fill multiple media packets. To
avoid buffering in Audio HAL, we allow that last media packet can be
filled in non-optimal way, i.e. has less data that can fit. |
Andrzej Kaczmarek |
12 years ago |
1 file, +56, -30 |
| 089c397d |
doc: Update Android ipc-tester coverage statistics |
Szymon Janc |
12 years ago |
1 file, +2, -2 |
| f1c4969f |
android/hidhost: Verify set info command correctness
Although it is not implemented verify command correctness for IPC
completeness. |
Szymon Janc |
12 years ago |
1 file, +8, -0 |