Commit Graph

16998 Commits

Author SHA1 Message Date
Johan Hedberg
fa8aa7b269 tools/mgmt-tester: Add simple pairing acceptor test case 2014-01-15 14:48:37 +02:00
Johan Hedberg
3b7d6cae7b tools/mgmt-tester: Include PIN callback as a necessary test condition 2014-01-15 14:48:12 +02:00
Johan Hedberg
3c08f44715 emulator/bthost: Fix requesting encryption if authentication failed 2014-01-15 14:38:04 +02:00
Johan Hedberg
f072c7573b emulator/bthost: Add API to request authentication 2014-01-15 14:34:01 +02:00
Johan Hedberg
7dfc7e9614 emulator/bthost: Add basic support for link key requests 2014-01-15 14:33:38 +02:00
Johan Hedberg
126be2509f tools/mgmt-tester: Fix BR/EDR disable callback if it's the last setting changed 2014-01-15 12:27:30 +02:00
Andrzej Kaczmarek
e21b24d825 android/a2dp: Fix freeing preset on SEP close
In case SEP was opened from local side, corresponding a2dp_setup
structure has just reference to a2dp_preset which is stored on presets
list. As a result, when closing SEP such preset will be freed leaving
dangling pointer on presets list.
2014-01-15 11:32:51 +02:00
Andrzej Kaczmarek
63ffbe33a5 android/a2dp: Fix IPC response length calculation
struct audio_rsp_open_stream has only zero-length array member thus its
size equals to 0. We need to explicitly specify size of array element
type here.
2014-01-15 11:10:13 +02:00
Marcel Holtmann
e41b156cae android: Actually btmon does not need GLib includes 2014-01-14 20:40:29 -08:00
Marcel Holtmann
5b1724b1ae android: Fix typo in referenced source file 2014-01-14 20:37:13 -08:00
Marcel Holtmann
79700f68d4 android: Include btproxy utility in distribution 2014-01-14 20:31:55 -08:00
Marcel Holtmann
c99f14615e tools: Do not modify the available features 2014-01-14 13:43:12 -08:00
Johan Hedberg
50c18bb197 doc: Update l2cap-tester coverage statistics 2014-01-14 22:42:21 +02:00
Johan Hedberg
8bede3f15b doc: Fix minor whitespace issue 2014-01-14 22:41:10 +02:00
Johan Hedberg
98830020d0 doc: Update mgmt-tester coverage statistics 2014-01-14 22:40:55 +02:00
Marcel Holtmann
3cccbe0549 android: The property_set wrapper is actually written by Intel 2014-01-14 12:35:42 -08:00
Szymon Janc
c436bdc8a9 doc: Update android-tester summary in test-coverage.txt 2014-01-14 19:37:16 +01:00
Grzegorz Kolodziejczyk
9ccd058b71 android/tester: Add get device FRIENDLY_NAME prop fail test case
This adds device FRIENDLY NAME property fail test case.
2014-01-14 19:31:00 +01:00
Grzegorz Kolodziejczyk
9d18cce59e android/tester: Add get device VERINFO property fail test case
This adds device VERSION INFO property fail test case.
2014-01-14 19:31:00 +01:00
Grzegorz Kolodziejczyk
7675a308cb android/tester: Add get device DISCTIMEOUT prop fail test case
This adds device DISCOVERY TIMEOUT property fail test case.
2014-01-14 19:31:00 +01:00
Grzegorz Kolodziejczyk
739dfcaa86 android/tester: Add get device BONDED_DEV property fail test case
This adds device BONDED DEVICES property fail test case.
2014-01-14 19:30:59 +01:00
Grzegorz Kolodziejczyk
d69ac36ae7 android/tester: Add get device SCAN_MODE property fail test case
This adds device SCAN MODE property fail test case.
2014-01-14 19:30:59 +01:00
Grzegorz Kolodziejczyk
8b2a398f5f android/tester: Add get device SERVREC property fail test case
This adds device SERVICE RECORD property fail test case.
2014-01-14 19:30:59 +01:00
Grzegorz Kolodziejczyk
6dbd4d7a63 android/tester: Add get device BDADDR property fail test case
This adds device BDADDR property fail test case.
2014-01-14 19:30:59 +01:00
Grzegorz Kolodziejczyk
aea28763f3 android/tester: Add get device TIMESTAMP prop success test case
This adds device TIMESTAMP property success test case.
2014-01-14 19:30:59 +01:00
Grzegorz Kolodziejczyk
9019405d76 android/tester: Add get device RSSI property success test case
This adds device RSSI property success test case.
2014-01-14 19:30:59 +01:00
Grzegorz Kolodziejczyk
a129b4ed94 android/tester: Add get device TOD property success test case
This adds device TOD property success test case.
2014-01-14 19:30:59 +01:00
Grzegorz Kolodziejczyk
1b95da7678 android/tester: Add get device COD property success test case
This adds device COD property success test case.
2014-01-14 19:30:59 +01:00
Grzegorz Kolodziejczyk
f67ba852ae android/tester: Add get device UUIDS property success test case
This adds device UUIDS property success test case.
2014-01-14 19:30:59 +01:00
Grzegorz Kolodziejczyk
d81c0f3f57 android/tester: Add get device BDNAME property success test case
This adds device BDNAME property success test case.
2014-01-14 19:30:59 +01:00
Grzegorz Kolodziejczyk
9e093223c1 android/tester: Add get device properties success test case
This adds device properties success test case.
2014-01-14 19:30:59 +01:00
Grzegorz Kolodziejczyk
9f5ccde335 android/tester: Fix for asynchronous test case condition check
This patch fixes checking the state of test case. Due to asynchronous of
callbacks during state check of every single condition, state can be
checked double time by callback condition check with pass status already
set in meantime. Now state is kept as one decremented int.
To pass it must be equal zero and cannot be checked set again.
2014-01-14 19:30:51 +01:00
Szymon Janc
97ee2aa4b9 android: Fix host build if libcap headers are not present 2014-01-14 13:26:46 +01:00
Szymon Janc
8622810347 android: Remove support for old Android versions
This removes compatibility with Android 4.3 and older. Android 4.4 is
current target. Due to bug in Audio HAL in 4.2 build was failing on
that version anyway.
2014-01-14 12:57:18 +01:00
Szymon Janc
988bfaeac2 android/README: Update documentation with AOSP 4.4
This includes:
 - sample repository to AOSP 4.4 based repository with support for
   Nexus 4 and Nexus 7 2013 devices.
 - adds info about snoop service
 - other random additions
2014-01-14 13:26:24 +02:00
Andrei Emeltchenko
6edaf7105e l2test: Use correct buffer size 2014-01-14 13:25:21 +02:00
Andrei Emeltchenko
605739bdb5 scotest: Use correct buffer size 2014-01-14 13:25:21 +02:00
Marcel Holtmann
251b47e7c0 monitor: Print vendor command status and complete as Vendor 2014-01-14 03:22:15 -08:00
Johan Hedberg
4110e841dd tools/l2cap-tester: Add server side security block test case
Note that this test will currently fail part of the time due to a race
on the kernel side. This is because the kernel doesn't wait for remote
feature resolution before processing incoming L2CAP signaling packets.
2014-01-14 13:19:22 +02:00
Marcel Holtmann
6f10ace263 tools: Add support activating/deactivating traces 2014-01-14 03:14:38 -08:00
Marcel Holtmann
696645cef6 monitor: Print status for unknown command complete events 2014-01-14 03:11:37 -08:00
Marcel Holtmann
0796d17886 monitor: Print status only command complete for unknown commands 2014-01-14 03:08:22 -08:00
Marcel Holtmann
15073f0e29 monitor: Print vendor commands as Vendor and not as Unknown 2014-01-14 02:57:11 -08:00
Luiz Augusto von Dentz
5903b4f510 android/AVDTP: Fix invalid free of struct discover
If callback releases the last reference it can cause the following:
Invalid free() / delete / delete[] / realloc()
   at 0x4A07577: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x386244EF7E: g_free (in /usr/lib64/libglib-2.0.so.0.3800.2)
   by 0x410356: finalize_discovery (avdtp.c:933)
   by 0x414462: session_cb (avdtp.c:2555)
   by 0x38624492A5: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3800.2)
   by 0x3862449627: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
   by 0x3862449A39: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3800.2)
   by 0x403A95: main (main.c:439)
 Address 0x4cf7af0 is 0 bytes inside a block of size 24 free'd
   at 0x4A07577: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0x386244EF7E: g_free (in /usr/lib64/libglib-2.0.so.0.3800.2)
   by 0x410356: finalize_discovery (avdtp.c:933)
   by 0x4110BC: avdtp_unref (avdtp.c:1026)
   by 0x416491: a2dp_device_free (a2dp.c:122)
   by 0x4165DF: bt_a2dp_notify_state (a2dp.c:166)
   by 0x417170: discover_cb (a2dp.c:333)
   by 0x41034E: finalize_discovery (avdtp.c:931)
   by 0x414462: session_cb (avdtp.c:2555)
   by 0x38624492A5: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3800.2)
   by 0x3862449627: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
   by 0x3862449A39: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3800.2)
2014-01-14 11:53:00 +01:00
Luiz Augusto von Dentz
d2ba4c96ac audio/A2DP: Add implemention of SEP abort confirmation 2014-01-14 11:53:00 +01:00
Luiz Augusto von Dentz
b0b5ef76f8 audio/A2DP: Add implemention of SEP close confirmation 2014-01-14 11:53:00 +01:00
Luiz Augusto von Dentz
f0552102b4 audio/A2DP: Add implemention of SEP suspend confirmation 2014-01-14 11:52:59 +01:00
Luiz Augusto von Dentz
85dfe54a9e audio/A2DP: Add implemention of SEP start confirmation 2014-01-14 11:52:59 +01:00
Luiz Augusto von Dentz
a7e6f93477 audio/A2DP: Add implemention of SEP open confirmation 2014-01-14 11:52:59 +01:00
Luiz Augusto von Dentz
54ed16806e audio/A2DP: Add implemention of SEP set_configuration confirmation 2014-01-14 11:52:59 +01:00