| 74c4fd02 |
tools/rctest: Remove dead code
Since do_listen() never returns remove hanging code |
Andrei Emeltchenko |
11 years ago |
1 file, +2, -3 |
| 7426a030 |
tools/rctest: Remove unneeded return
Code is unreachable since we use exit() before |
Andrei Emeltchenko |
11 years ago |
1 file, +0, -2 |
| 30556512 |
android/core: Use g_clear_error instead of free and assignment
g_clear_error() frees err and set it to NULL. This fixes dead code
warnings from analyzers. |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -2 |
| 8a8f26c3 |
core: Remove unneeded assignment
Variable rfcomm is never used after assignment |
Andrei Emeltchenko |
11 years ago |
1 file, +0, -1 |
| d886b081 |
emulator: Add support for Read Clock Offset |
Johan Hedberg |
11 years ago |
1 file, +33, -0 |
| f63a73cc |
core: Fix code style |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| c4577090 |
android: Include avctp.c in build source for btmon |
Marcel Holtmann |
11 years ago |
1 file, +1, -0 |
| a08763da |
android/pts: Update MPS test results with PTS 5.2 |
Szymon Janc |
11 years ago |
3 files, +8, -8 |
| 99f16dc7 |
audio/avrcp: Fix not continuing from the correct index
The first valid index is 0 not 1. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| 67ec26fa |
audio/avrcp: Fix not accounting all items when listing
The total number of items should account that the start and end index are
included so end - start index is incorrect. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| 3b8d6b19 |
monitor: Add mode and channel to struct l2cap_frame
This make it simpler to pass it around. |
Luiz Augusto von Dentz |
11 years ago |
4 files, +28, -25 |
| 5f432163 |
monitor: Add AVCTP support to btmon
Support for decoding AVCTP packets added in Bluetooth monitor. |
Vikrampal Yadav |
11 years ago |
5 files, +107, -0 |
| 0961618e |
shared/queue: Fix not allowing to remove NULL entries
queue_remove should not check the data pointer since both queue_push_head
and queue_push_tail don't check it is possible to have NULL pointers in
the queue therefore queue_remove shall be able to remove them. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| d520f7aa |
android/hog: Add support for UHID_FEATURE event |
Luiz Augusto von Dentz |
11 years ago |
1 file, +37, -0 |
| 6bc6b668 |
android/hog: Cache report value
Report value will be used for implementing support for UHID_FEATURE
event. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +14, -1 |
| 0aef311e |
shared/gatt: Use iterator based discovery result structure.
This patch changes the GATT specific linked list structure in gatt-helpers to
bt_gatt_result and bt_gatt_iter. bt_gatt_result internally stores a linked list
of ATT response PDUs, which get decoded on-demand by the iterator functions.
Each iterator function operates on a specific ATT response PDU. |
Arman Uguray |
11 years ago |
2 files, +306, -289 |
| 68ba4bc9 |
android/pts: Update GATT TC_GAW_CL_BV_02 with errata number |
Szymon Janc |
11 years ago |
1 file, +2, -1 |
| 094cc29f |
android/README: Add tethering fix to recommened Android patch list
This fix random failures when remote is connecting to NAP. |
Szymon Janc |
11 years ago |
1 file, +1, -1 |
| 05a3cfee |
doc: Update mgmt-tester test count |
Johan Hedberg |
11 years ago |
1 file, +2, -2 |
| 5e5709f7 |
tools/mgmt-tester: Add MITM Pair Device tests with IO cap checks |
Johan Hedberg |
11 years ago |
1 file, +42, -0 |
| 7a5037cc |
mgmt-tester: Renumber Pair Device tests |
Johan Hedberg |
11 years ago |
1 file, +20, -20 |
| ef9e550d |
tools/mgmt-tester: Add just-works Pair Device tests with IO cap checks |
Johan Hedberg |
11 years ago |
1 file, +56, -0 |
| 8ac9dbd2 |
doc: Update mgmt-tester test count |
Johan Hedberg |
11 years ago |
1 file, +2, -2 |
| dc229d90 |
mgmt-tester: Add LE Remove Device test case |
Johan Hedberg |
11 years ago |
1 file, +36, -4 |
| 4ccabeb9 |
mgmt-tester: Add powered on Remove Device test case |
Johan Hedberg |
11 years ago |
1 file, +19, -0 |
| 85a85e00 |
mgmt-tester: Add basic Remove Device success test |
Johan Hedberg |
11 years ago |
1 file, +17, -6 |
| 7385bbe1 |
mgmt-tester: Add basic Remove Device invalid params tests |
Johan Hedberg |
11 years ago |
1 file, +37, -0 |
| 8308ad0b |
mgmt-tester: Add connectable off test case with added device |
Johan Hedberg |
11 years ago |
1 file, +34, -0 |
| 05236fa2 |
android/bluetooth: Fix loading LTKs |
Marcin Kraglak |
11 years ago |
1 file, +1, -1 |
| c1902726 |
android/gatt: Always connect with BT_SEC_LOW security
Set BT_SEC_LOW for all LE connections. Only specific profiles need
higher security, now it is possible to elevate security with public
GATT API. |
Marcin Kraglak |
11 years ago |
1 file, +1, -5 |
| e2705e6d |
anroid/hidhost: Set security to MEDIUM after connect
According to spec connection with HoG device should always be
encrypted. |
Marcin Kraglak |
11 years ago |
1 file, +5, -0 |
| 28e71a12 |
android/gatt: Expose API to elevate security level
It will allow to change security from external profile,
for example in hog implementation. |
Marcin Kraglak |
11 years ago |
2 files, +12, -0 |
| 4838d3b5 |
android/gatt: Split set_security() function
Split function to set_security() and set_auth_type(). Set_security()
will be used in public API. |
Marcin Kraglak |
11 years ago |
1 file, +29, -22 |
| e33cfea4 |
android/avrcp: Fix crash while discovering records
If the device is removed before SDP discovery is completed the following
crash can happen:
Invalid read of size 4
at 0x11CA6A: avrcp_device_free (avrcp.c:472)
by 0x11D70F: search_cb (avrcp.c:944)
by 0x13749D: search_completed_cb (sdp-client.c:176)
by 0x134E0F: sdp_process (sdp.c:4345)
by 0x1374F5: search_process_cb (sdp-client.c:201)
by 0x48BD9C7: g_io_unix_dispatch (giounix.c:166)
by 0x48C2CCB: g_main_context_dispatch (gmain.c:2539)
by 0x48C2ED9: g_main_context_iterate.isra.19 (gmain.c:3146)
by 0x48C3167: g_main_loop_run (gmain.c:3340)
by 0x10D00D: main (main.c:538)
Address 0x4bcb904 is 20 bytes inside a block of size 24 free'd
at 0x4897E6C: free (in /system/lib/valgrind/vgpreload_memcheck-arm-linux.so)
by 0x48C5E2B: g_free (gmem.c:252)
by 0x11A52F: bt_a2dp_notify_state (a2dp.c:238)
by 0x1172C1: process_disconnect (avdtp.c:1005)
by 0x48C146B: g_list_foreach (gslist.c:840)
by 0x48CD869: g_slist_free_full (gslist.c:177)
by 0x117CAB: connection_lost (avdtp.c:1021)
by 0x11A02F: session_cb (avdtp.c:2081)
by 0x48BD9C7: g_io_unix_dispatch (giounix.c:166)
by 0x48C2CCB: g_main_context_dispatch (gmain.c:2539)
by 0x48C2ED9: g_main_context_iterate.isra.19 (gmain.c:3146)
by 0x48C3167: g_main_loop_run (gmain.c:3340) |
Luiz Augusto von Dentz |
11 years ago |
1 file, +3, -0 |
| 1dee0975 |
mgmt-tester: Add powered on LE Add Device success test case |
Johan Hedberg |
11 years ago |
1 file, +20, -0 |
| a9d3f953 |
mgmt-tester: Add powered on Add Device success test case |
Johan Hedberg |
11 years ago |
1 file, +19, -0 |
| 51be5d34 |
mgmt-tester: Fix up Add Device success tests |
Johan Hedberg |
11 years ago |
1 file, +3, -3 |
| 385c0a22 |
android/tester: Fix memory leak
Fixes valgrind report.
==26707== HEAP SUMMARY:
==26707== in use at exit: 4,943 bytes in 41 blocks
==26707== total heap usage: 25,702 allocs, 25,661 frees, 1,379,978 bytes allocated
==26707==
==26707== 8 bytes in 2 blocks are definitely lost in loss record 6 of 39
==26707== at 0x4C2AB80: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==26707== by 0x5089610: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==26707== by 0x50A0B57: g_memdup (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==26707== by 0x40E57E: create_property (tester-main.c:623)
==26707== by 0x40F49C: pin_request_cb (tester-main.c:713)
==26707== by 0x5F70E7A: notification_handler (hal-ipc.c:125)
==26707== by 0x534B181: start_thread (pthread_create.c:312)
==26707== by 0x565C30C: clone (clone.S:111)
==26707==
==26707== 12 bytes in 2 blocks are definitely lost in loss record 7 of 39
==26707== at 0x4C2AB80: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==26707== by 0x5089610: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==26707== by 0x50A0B57: g_memdup (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==26707== by 0x40E57E: create_property (tester-main.c:623)
==26707== by 0x40F467: pin_request_cb (tester-main.c:709)
==26707== by 0x5F70E7A: notification_handler (hal-ipc.c:125)
==26707== by 0x534B181: start_thread (pthread_create.c:312)
==26707== by 0x565C30C: clone (clone.S:111)
==26707==
==26707== LEAK SUMMARY:
==26707== definitely lost: 20 bytes in 4 blocks
==26707== indirectly lost: 0 bytes in 0 blocks
==26707== possibly lost: 0 bytes in 0 blocks
==26707== still reachable: 4,923 bytes in 37 blocks
==26707== suppressed: 0 bytes in 0 blocks |
Ravi kumar Veeramally |
11 years ago |
1 file, +3, -0 |
| 9afec681 |
android/tester: Remove controller type from test name
This was not allowing to run specific group of tests. Also it is
test implementaion detail whenever emulated device is dual or not
and doesn't need to be reported. |
Szymon Janc |
11 years ago |
1 file, +2, -2 |
| 574a6a13 |
android/tester: Remove old android-tester
All test cases has already been ported to newer framework.
Old tester was removed and new one now uses its old name. |
Jakub Tyszkowski |
11 years ago |
3 files, +3, -1959 |
| db952874 |
android/tester: Remove old HIDHost test cases |
Jakub Tyszkowski |
11 years ago |
1 file, +0, -881 |
| 30976009 |
android/tester-ng: Add HIDHost send data case |
Jakub Tyszkowski |
11 years ago |
1 file, +43, -1 |
| 998e8325 |
android/tester-ng: Add HIDHost set report case |
Jakub Tyszkowski |
11 years ago |
1 file, +45, -1 |
| 6709918e |
android/tester-ng: Add HIDHost get report case |
Jakub Tyszkowski |
11 years ago |
3 files, +66, -1 |
| ae023e0b |
android/tester-ng: Add HIDHost set protocol mode case |
Jakub Tyszkowski |
11 years ago |
1 file, +32, -0 |
| 4f017e1b |
android/tester-ng: Add HIDHost get protocol mode case |
Jakub Tyszkowski |
11 years ago |
3 files, +71, -1 |
| 37556c98 |
android/tester-ng: Add HIDHost virtual unplug test case |
Jakub Tyszkowski |
11 years ago |
3 files, +57, -2 |
| 36627842 |
android/tester-ng: Add HIDHost connect, disconnect cases |
Jakub Tyszkowski |
11 years ago |
2 files, +322, -2 |
| 0083731c |
android/pts: RFCOMM PTS update
Number of issues on PTS 5.2 for RFCOMM found. Problems with Credits
(PTS issue #12421), Channel disconnect (PTS issue #12414), accepting
UIH and UA frames (PTS issue #12397). |
Sebastian Chlad |
11 years ago |
1 file, +11, -7 |
| 0f36ef27 |
doc: Update mgmt-tester test count |
Johan Hedberg |
11 years ago |
1 file, +2, -2 |