| a712b5cb |
android/tester: Make tester debug logs verbose
This adds additional logs to match function. In case if compared values
don't match, tester will print those values. |
Grzegorz Kolodziejczyk |
11 years ago |
2 files, +132, -19 |
| 9f3b61d5 |
android/tester: Reverse condition check
This allows to avoid extra indentation. |
Szymon Janc |
11 years ago |
1 file, +128, -133 |
| 152b7c3c |
android/tester: Add GATT Server basic test cases
This adds basic tests for server register, unregister. |
Grzegorz Kolodziejczyk |
11 years ago |
2 files, +55, -1 |
| c9ddc13a |
android/tester: Make client and server id unified
This makes unified id numers for both gatt server and client defined
as application id. |
Grzegorz Kolodziejczyk |
11 years ago |
3 files, +173, -173 |
| 16dffece |
android/tester: Coding style fixes |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +5, -7 |
| 2ac4e7cc |
tools: Request LE remote version information as well |
Marcel Holtmann |
11 years ago |
1 file, +14, -0 |
| 9838cb51 |
tools: Add comment for retrieving LE remote features |
Marcel Holtmann |
11 years ago |
1 file, +85, -0 |
| 212245a0 |
tools: Increase timeout for sending LE scan command |
Marcel Holtmann |
11 years ago |
1 file, +3, -3 |
| 67656f8e |
lib: Add function for reading remote LE features |
Marcel Holtmann |
11 years ago |
2 files, +34, -1 |
| 3e7a93b7 |
tools: Fix wrong number for LE_LINK connection type |
Marcel Holtmann |
11 years ago |
1 file, +1, -1 |
| cc91d165 |
emulator/hciemu: Fix not handling failed read correctly
If read failed due to signal or blocking watch was removed resulting
in closing /dev/vhci and emulated adapter being removed.
This was affecting android-tester since premature removal of adapter
is considered error on android daemon. |
Szymon Janc |
11 years ago |
1 file, +7, -0 |
| 7a964f0b |
android/avdtp: Fix crash on disconnect
Last reference to session may be dropped while calling connection_lost
so move watch ID clean before that.
external/bluetooth/bluez/android/avdtp.c:session_cb()
external/bluetooth/bluez/android/avdtp.c:avdtp_parse_resp() CLOSE
request succeeded
external/bluetooth/bluez/android/avdtp.c:avdtp_sep_set_state() stream
state changed: OPEN -> CLOSING
external/bluetooth/bluez/android/a2dp.c:sep_close_cfm()
external/bluetooth/bluez/android/avdtp.c:avdtp_sep_set_state() stream
state changed: CLOSING -> IDLE
external/bluetooth/bluez/android/avdtp.c:session_cb()
external/bluetooth/bluez/android/avdtp.c:connection_lost()
Disconnected: I/O error (5)
external/bluetooth/bluez/android/avdtp.c:avdtp_ref() 0x4a27fc8: ref=2
external/bluetooth/bluez/android/a2dp.c:bt_a2dp_notify_state() device
00:1E:DE:21:85:6A state 0
external/bluetooth/bluez/android/avrcp.c:bt_avrcp_disconnect()
external/bluetooth/bluez/android/avctp.c:avctp_shutdown() AVCTP:
closing uinput
external/bluetooth/bluez/android/avrcp.c:disconnect_cb()
external/bluetooth/bluez/android/avdtp.c:avdtp_unref() 0x4a27fc8: ref=1
external/bluetooth/bluez/android/avdtp.c:avdtp_unref() 0x4a27fc8: ref=0
external/bluetooth/bluez/android/avdtp.c:avdtp_free() 0x4a27fc8
==1225== Invalid write of size 4
==1225== at 0x11ABDE: session_cb (avdtp.c:2084)
==1225== by 0x48BD9C7: g_io_unix_dispatch (giounix.c:166)
==1225== by 0x48C2CCB: g_main_context_dispatch (gmain.c:2539)
==1225== by 0x48C2ED9: g_main_context_iterate.isra.19 (gmain.c:3146)
==1225== by 0x48C3167: g_main_loop_run (gmain.c:3340)
==1225== by 0x10D379: main (main.c:628)
==1225== Address 0x4a27fdc is 20 bytes inside a block of size 1,104 free'd
==1225== at 0x4897E6C: free (in /system/lib/valgrind/
vgpreload_memcheck-arm-linux.so)
==1225== by 0x48C5E2B: g_free (gmem.c:252)
==1225== by 0x11ABDB: session_cb (avdtp.c:2082)
==1225== by 0x48BD9C7: g_io_unix_dispatch (giounix.c:166)
==1225== by 0x48C2CCB: g_main_context_dispatch (gmain.c:2539)
==1225== by 0x48C2ED9: g_main_context_iterate.isra.19 (gmain.c:3146)
==1225== by 0x48C3167: g_main_loop_run (gmain.c:3340)
==1225== by 0x10D379: main (main.c:628)
==1225== |
Szymon Janc |
11 years ago |
1 file, +1, -2 |
| 741c656a |
doc: Update Android tests coverage |
Szymon Janc |
11 years ago |
1 file, +2, -2 |
| ba1e1810 |
android/handsfree-client: Verify variable length data received from IPC
Dial uses variable length data, check if we received as much as was
declared. This fixes two negative ipc-tester cases for hfp-client dial
api call not passing. |
Jakub Tyszkowski |
11 years ago |
1 file, +9, -0 |
| 64d769db |
android/ipc-tester: Add cases for the handsfree client interface |
Jakub Tyszkowski |
11 years ago |
1 file, +210, -0 |
| b791e471 |
android/client: Add handsfree client api calls |
Jakub Tyszkowski |
11 years ago |
1 file, +141, -0 |
| 04864599 |
android/client: Handle more callbacks for the handsfree client |
Jakub Tyszkowski |
11 years ago |
1 file, +119, -18 |
| 9f038ce8 |
android/client: Handle handsfree client audio state change callback |
Jakub Tyszkowski |
11 years ago |
1 file, +10, -1 |
| b31ac7ea |
android/client: Handle handsfree client connecton state callback |
Jakub Tyszkowski |
11 years ago |
1 file, +68, -1 |
| 9ed3185b |
android/client: Add skeleton for handsfree client interface |
Jakub Tyszkowski |
11 years ago |
6 files, +371, -1 |
| 42de5f47 |
android/core: Fix extra assignment
prop is assigned in the beginning of for() loop. Fixes warning:
...
android/main.c:336:3: warning: Value stored to 'prop' is never read
prop = buf;
^ ~~~
... |
Andrei Emeltchenko |
11 years ago |
1 file, +0, -1 |
| db20dc7e |
doc/obex-api: Split FilterBy into FilterAll and FilterAny
This makes a simpler API and document the fact that they cannot be used
together. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +11, -6 |
| 8f87c53b |
Monitor: Add AVRCP AddToNowPlaying support
Support for decoding AVRCP AddToNowPlaying added in Bluetooth
monitor. |
Vikrampal Yadav |
11 years ago |
1 file, +43, -0 |
| adbe760e |
Monitor: Add AVRCP PlayItem support
Support for decoding AVRCP PlayItem added in Bluetooth monitor. |
Vikrampal Yadav |
11 years ago |
1 file, +64, -0 |
| dae15aae |
Monitor: Add AVRCP SetAddressedPlayer support
Support for decoding AVRCP SetAddressedPlayer added in Bluetooth
monitor. |
Vikrampal Yadav |
11 years ago |
1 file, +29, -0 |
| ab0a30b6 |
Monitor: Add AVRCP SetAbsoluteVolume support
Support for decoding AVRCP SetAbsoluteVolume added in Bluetooth
monitor. |
Vikrampal Yadav |
11 years ago |
1 file, +18, -0 |
| 51da5a96 |
Monitor: Add AVRCP RegisterNotification support
Support for decoding AVRCP RegisterNotification added in Bluetooth
monitor. |
Vikrampal Yadav |
11 years ago |
1 file, +161, -0 |
| 17335408 |
Monitor: Add AVRCP GetPlayStatus support
Support for decoding AVRCP GetPlayStatus added in Bluetooth
monitor. |
Vikrampal Yadav |
11 years ago |
1 file, +61, -0 |
| 7d7f743a |
android: Fix btmgmt build on Android
target Executable: btmgmt (out/target/product/mako/obj/EXECUTABLES/
btmgmt_intermediates/LINKED/btmgmt)
external/bluetooth/bluez/tools/btmgmt.c:2970: error: undefined
reference to 'bt_gap_new'
external/bluetooth/bluez/tools/btmgmt.c:2972: error: undefined
reference to 'bt_gap_set_ready_handler'
external/bluetooth/bluez/tools/btmgmt.c:3039: error: undefined
reference to 'bt_gap_unref'
collect2: error: ld returned 1 exit status |
Szymon Janc |
11 years ago |
1 file, +1, -0 |
| 419bd56a |
shared: Add helper functions for HCI based crypto |
Marcel Holtmann |
11 years ago |
3 files, +224, -0 |
| 858f8e5d |
android/build: Fix missing linking to libbluetooth |
Szymon Janc |
11 years ago |
1 file, +2, -1 |
| b116b6ba |
tools: For testing purposes also initialize shared GAP support |
Marcel Holtmann |
11 years ago |
1 file, +12, -0 |
| d4faea36 |
build: Add initial code for shared GAP handling |
Marcel Holtmann |
11 years ago |
3 files, +245, -1 |
| 43e4419a |
android: Replace new0 with malloc call |
Marcel Holtmann |
11 years ago |
1 file, +2, -2 |
| 508e129d |
build: Move hciemu.c and hciemu.h into emulator directory |
Marcel Holtmann |
11 years ago |
15 files, +588, -581 |
| 9b912ea9 |
build: Use internal libshared-glib and libshared-mainloop libraries |
Marcel Holtmann |
11 years ago |
4 files, +136, -287 |
| e4424b2a |
android/client: Use release version for tool version |
Szymon Janc |
11 years ago |
1 file, +5, -4 |
| 37da13b3 |
doc: Update Android tests coverage |
Szymon Janc |
11 years ago |
1 file, +2, -2 |
| 70f90876 |
android/tester: Improve GATT tests names |
Szymon Janc |
11 years ago |
1 file, +4, -3 |
| 6a246e93 |
android/tester: Add GATT Write Characteristic Wrong params
Test calling write characteristic with wrong params. |
Marcin Kraglak |
11 years ago |
1 file, +29, -0 |
| 1e036605 |
android/tester: Add GATT Write Characteristic Ins. Auth.
Test write characteristic with Insufficient Authorization error. |
Marcin Kraglak |
11 years ago |
1 file, +53, -0 |
| 2a6c6abd |
android/tester: Add GATT Characteristic Write Req Success
Test Characteristic write request. |
Marcin Kraglak |
11 years ago |
1 file, +56, -0 |
| f3c0faab |
android/tester: Add GATT Characteristic Write Cmd Success
Test Characteristic write command. |
Marcin Kraglak |
11 years ago |
1 file, +134, -0 |
| ed3f0dff |
android/tester: Add GATT Descriptor Read Wrong params
Test reading descriptor with wrong params. |
Marcin Kraglak |
11 years ago |
1 file, +51, -0 |
| 51c54c94 |
android/tester: Add GATT Descriptor Read Ins. Auth.
Test reading descriptor's value while Insufficient Authorization
is returned. |
Marcin Kraglak |
11 years ago |
1 file, +62, -0 |
| 64e55541 |
android/tester: Add GATT Descriptor Read Success
Test Reading Descriptor Value. |
Marcin Kraglak |
11 years ago |
1 file, +98, -0 |
| 8a4f784e |
android/tester: Add GATT Characteristic Read Wrong Params
Test Reading Characteristic value with wrog parameters. |
Marcin Kraglak |
11 years ago |
1 file, +45, -0 |
| 44b35fd9 |
android/tester: Add GATT Characteristic Read Ins. Auth.
Test reading Characteristing while Insufficient Authorization
is returned. |
Marcin Kraglak |
11 years ago |
1 file, +54, -0 |
| 21c12570 |
android/tester: Add GATT Characteristic Read Success
Test Characteristic Read request. |
Marcin Kraglak |
11 years ago |
1 file, +136, -0 |
| 2bed3e84 |
android/tester: Add support for GATT Client Read/Write callbacks
It will service GATT Client read/write callbacks. |
Marcin Kraglak |
11 years ago |
2 files, +111, -4 |