| 24fc2b63 |
android/AVDTP: Fix not removing start_timer source
It is possible that stream->start_timer can be set on stream_free which
should then should take care of remove it properly otherwise it can
trigger which would very likely cause a crash.
Thanks to Hannu Mallat <hannu.mallat@jolla.com> for reporting it. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +3, -0 |
| eb220d8d |
android/tester: Add bluetooth HAL test case - name prefix
This add prefix for bluetooth HAL test case names. Bluetooth HAL test
cases now can be easily distinguished. Now Bluetooth HAL test cases
can be run separately. |
Grzegorz Kolodziejczyk |
12 years ago |
1 file, +14, -14 |
| 394b243e |
android/tester: Move Bluetooth HAL functions before socket HAL
This patch move bluetooth HAL test functions before socket
HAL functions. This make it more readable for future test cases growth. |
Grzegorz Kolodziejczyk |
12 years ago |
1 file, +136, -136 |
| 08340f7f |
android/tester: Fix expected_property_len value for bdname test |
Johan Hedberg |
12 years ago |
1 file, +4, -2 |
| 27c4ddc3 |
android/tester: Fix whitespace wrt braces |
Johan Hedberg |
12 years ago |
1 file, +18, -16 |
| 1006b785 |
android/tester: Enable bthost after device is enabled
This puts bthost to connectible mode allowing us to use powered setup
for connect to emulated device. |
Andrei Emeltchenko |
12 years ago |
1 file, +42, -1 |
| 0dc41e57 |
android/tester: Check return status for enable()
Use check_expected_status helper for test for returned status in
enable() HAL call. |
Andrei Emeltchenko |
12 years ago |
1 file, +5, -2 |
| 4a60ca79 |
android/tester: Check status returned from HAL calls
In test setup phase check status returned from enable() call. |
Andrei Emeltchenko |
12 years ago |
1 file, +4, -1 |
| fa245049 |
android/tester: Add SERVICE_RECORD set prop fail test case
This adds SERVICE_RECORD set property fail test case due to only
get possibility. |
Grzegorz Kolodziejczyk |
12 years ago |
1 file, +33, -0 |
| 7dcbb651 |
android/tester: Add RSSI set prop fail test case
This adds RSSI set property fail test case due to be only remote device
property. |
Grzegorz Kolodziejczyk |
12 years ago |
1 file, +28, -0 |
| a326f437 |
android/tester: Add TOD set prop fail test case
This adds TYPE_OF_DEVICE set property fail test case due to only
get possibility. |
Grzegorz Kolodziejczyk |
12 years ago |
1 file, +28, -0 |
| 0ce90dca |
android/tester: Add COD set prop fail test case
This adds CLASS_OF_DEVICE set property fail test case due to only
get possibility. |
Grzegorz Kolodziejczyk |
12 years ago |
1 file, +28, -0 |
| 82a12efe |
android/tester: Add UUIDS set prop fail test case
This adds UUIDS set property fail test case due to only get
possibility. |
Grzegorz Kolodziejczyk |
12 years ago |
1 file, +30, -0 |
| d8534439 |
unit/AVDTP: Add /TP/SIG/FRA/BV-02-C test
Verify ithat the IUT (SNK) is able to receive streaming media data on an
established stream. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +48, -1 |
| 1a564b5b |
unit/AVDTP: Add /TP/SIG/FRA/BV-01-C test
Verify that the IUT (INT and ACP) fragments the signaling messages that
cannot fit in a single L2CAP packet. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +105, -4 |
| efe7bd03 |
android/tester: Fix not returning in failure |
Andrei Emeltchenko |
12 years ago |
1 file, +3, -1 |
| 9a706710 |
bluetooth/hidhost: Fix using feature event as output event
Rename handle_uhid_event to handle_uhid_output and make it handle only
output events. |
Szymon Janc |
12 years ago |
1 file, +8, -6 |
| 004ea089 |
android/tester: Check adapter cb irrespective of receiving order
This patch change checking of expected callbacks from static order to
dynamic. For example properties can be received in different order
than now. |
Grzegorz Kolodziejczyk |
12 years ago |
1 file, +38, -61 |
| 2eec96c4 |
android/tester: Fix enum and define coding style
This changes all enums values and defines to uppercase instead of
lowercase according to coding style. |
Grzegorz Kolodziejczyk |
12 years ago |
1 file, +43, -43 |
| dadc54aa |
android/pts: Add PTS test results for MAP
Stock Bluedroid PTS results. |
Jakub Tyszkowski |
12 years ago |
2 files, +94, -1 |
| 4b3820cc |
android/pts: Add PTS PICS and PIXIT for MAP
Add PICS and PIXIT targetting Android 4.4 and PTS version 5.0. |
Jakub Tyszkowski |
12 years ago |
3 files, +222, -1 |
| de7ad8b4 |
tools/smp-tester: Prefer tester_warn() over fprintf |
Johan Hedberg |
12 years ago |
1 file, +2, -2 |
| ea8657a9 |
android/tester: Add missing break |
Andrei Emeltchenko |
12 years ago |
1 file, +1, -0 |
| 2c2a56f5 |
android/audio: Add audio-hal initial skeleton
This patch adds audio module for A2DP.
Also adds empty callbacks for stream_out, stream_in and hw_device
methods. |
Lukasz Rymanowski |
12 years ago |
3 files, +469, -0 |
| e47bb633 |
android/audio: Add kitkat audio headers
This patch add audio headers required to implement A2DP audio module
Note that from all of these files #include <cutils/bitops.h> has been
removed. The only function used from this include is popcount() and it
is used in system/audio.h. Instead of this function we can use GCC
builtin function __builtin_popcount() which does what is needed. |
Lukasz Rymanowski |
12 years ago |
3 files, +2182, -0 |
| b8b68119 |
android: Add initial Android Bluetooth Audio protocol API doc
This IPC is used to communicate Android BlueZ daemon and AudioFlinger
plugin. |
Luiz Augusto von Dentz |
12 years ago |
2 files, +87, -1 |
| 3e17e3ad |
hciemu: Print error in case hci_vhci is not loaded
Error message should indicate that module is not loaded:
Opening /dev/vhci failed: No such file or directory |
Andrei Emeltchenko |
12 years ago |
1 file, +2, -0 |
| 0ed99fa0 |
hciemu: Make code consistent
It is enough to check for zero in __sync_sub_and_fetch(). This makes
code consistent like shown below:
./src/shared/mgmt.c: if (__sync_sub_and_fetch(&mgmt->ref_count, 1))
./src/shared/pcap.c: if (__sync_sub_and_fetch(&pcap->ref_count, 1))
./src/shared/btsnoop.c: if (__sync_sub_and_fetch(&btsnoop->ref_count, 1))
./src/shared/hciemu.c: if (__sync_sub_and_fetch(&hciemu->ref_count, 1)) |
Andrei Emeltchenko |
12 years ago |
1 file, +1, -1 |
| 63840f38 |
btmgmt: Remove unneeded code |
Andrei Emeltchenko |
12 years ago |
1 file, +1, -3 |
| 2a1ad0fc |
android/tester: Add Socket test invalid bdaddr
Test for zero bluetooth address in connect(). |
Andrei Emeltchenko |
12 years ago |
1 file, +14, -0 |
| c58b4096 |
android/tester: Add Socket test invalid chan and uuid
At least one of parameters: channel or uuid shouldn't be zero. |
Andrei Emeltchenko |
12 years ago |
1 file, +5, -0 |
| 77f9ecc7 |
android/tester: Add Socket test read channel number after listen
After listen() call Bluedroid sends channel number as (int) through file
descriptor. |
Andrei Emeltchenko |
12 years ago |
1 file, +27, -0 |
| b3749d58 |
android/tester: Fix syntax of test cases
Remove "Test" from every test message print and correct typo. |
Andrei Emeltchenko |
12 years ago |
1 file, +18, -18 |
| 1f917781 |
emulator/bthost: Fix use after free in bthost_destroy
cmd was dereferenced after free. Use temp pointer for freeing. |
Szymon Janc |
12 years ago |
1 file, +5, -3 |
| 42744b42 |
build: Add missing test scripts to Makefile.tools |
Sebastian Chlad |
12 years ago |
1 file, +2, -1 |
| c1a0601a |
android/bluetooth: Add support for getting remote device UUIDs property
This allows to query for remote device UUIDs property. |
Szymon Janc |
12 years ago |
1 file, +45, -46 |
| c83b8159 |
android/tester: Add bdname get prop success test case
This adds bdname set property success test case. First bdname is set and
then is read. |
Grzegorz Kolodziejczyk |
12 years ago |
1 file, +30, -0 |
| 8c8def53 |
android/tester: Add bdaddr get prop success test case
This adds bdaddr set property success test case. |
Grzegorz Kolodziejczyk |
12 years ago |
1 file, +26, -0 |
| 9d3896c1 |
android/tester: Add discovery timeout set prop success test case
This adds discovery timeout set property success test case. |
Grzegorz Kolodziejczyk |
12 years ago |
1 file, +27, -0 |
| c9d60db5 |
android/tester: Add scan mode set prop success test case
This adds scan mode set property success test case. |
Grzegorz Kolodziejczyk |
12 years ago |
1 file, +30, -0 |
| cc103e18 |
android/tester: Add property check and bdname set success test case
This adds handling of property check, bdname set property success. |
Grzegorz Kolodziejczyk |
12 years ago |
1 file, +75, -0 |
| c85aa9d1 |
android/bluetooth: Fix missing property change notification
After setting new discoverable timeout property change notification
with new value should be send. |
Szymon Janc |
12 years ago |
1 file, +4, -0 |
| c01268ce |
android/hal-sock: Fix returning incorrect error code
For socket type 0 we shall return BT_STATUS_PARM_INVALID. |
Andrei Emeltchenko |
12 years ago |
1 file, +1, -1 |
| 4e19041e |
android/tester: Add Socket test connect invalid sock_type L2CAP |
Andrei Emeltchenko |
12 years ago |
1 file, +5, -0 |
| 5128fb7e |
android/tester: Add Socket test connect() invalid sock_type |
Andrei Emeltchenko |
12 years ago |
1 file, +38, -0 |
| 6a9ed0d6 |
android/socket: Do not close fd on unref
We close file descriptors in cleanup_rfsock() and leaving the default
value gives us glib warnings if we close fd already and got G_IO_NVAL in
server_cb from bt_io. |
Andrei Emeltchenko |
12 years ago |
1 file, +1, -0 |
| 1c796532 |
android/tester: Add Socket test success with valid fd
Check that Socket listen() returns valid file descriptor |
Andrei Emeltchenko |
12 years ago |
1 file, +13, -0 |
| a1bbc9f0 |
android/tester: trivial: Make test cases prints look nice |
Andrei Emeltchenko |
12 years ago |
1 file, +2, -2 |
| a8c66bba |
android/tester: Check that fd is valid for Success case
For the successful test case check that file descriptor is valid through
fcntl which is cheap way. |
Andrei Emeltchenko |
12 years ago |
1 file, +7, -0 |
| c318d0e0 |
android/tester: Add Socket test invalid params: chan and uuid
For the socket listen() call parameters channel and uuid cannot be both
zeroes. |
Andrei Emeltchenko |
12 years ago |
1 file, +14, -0 |