| df1e83cd |
android/client: Add AVRCP get_element_attr_cb support |
Ravi kumar Veeramally |
11 years ago |
1 file, +11, -0 |
| 4a63fb22 |
android/client: Add AVRCP get_play_status_cb support |
Ravi kumar Veeramally |
11 years ago |
1 file, +6, -0 |
| ebbac58e |
android/client: Add AVRCP set_volume support |
Ravi kumar Veeramally |
11 years ago |
1 file, +24, -0 |
| f6f71246 |
android/client: Add AVRCP get_element_attr_rsp support |
Ravi kumar Veeramally |
11 years ago |
1 file, +46, -0 |
| 90e1ca93 |
android/client: Add AVRCP get_play_status_rsp support |
Ravi kumar Veeramally |
11 years ago |
1 file, +58, -0 |
| d1ada8ce |
android/avrcp: Bump version to 1.3 |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| c656e955 |
android/avrcp: Add handler for RegisterNotification command |
Luiz Augusto von Dentz |
11 years ago |
1 file, +81, -1 |
| f50ec3da |
android/avrcp-lib: Add avrcp_register_notification_rsp function
This function can be used to generate RegisterNotification response PDUs. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +12, -0 |
| 9a192476 |
android/avrcp: Add handler for GetElementAttributes command |
Luiz Augusto von Dentz |
11 years ago |
1 file, +111, -1 |
| bcc37289 |
android/avrcp-lib: Add avrcp_get_element_attrs_rsp function
This function can be used to generate GetElementAttributes response PDUs. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +10, -0 |
| dc049cf3 |
android/avrcp: Add handler for GetPlayStatus command |
Luiz Augusto von Dentz |
11 years ago |
1 file, +97, -1 |
| 5dce69dd |
android/avrcp-lib: Add avrcp_get_play_status_rsp function
This function can be used to generate GetPlayStatus response PDUs. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +19, -0 |
| fb079ff5 |
android/avrcp: Add handler for GetCapabilities command |
Luiz Augusto von Dentz |
11 years ago |
2 files, +40, -0 |
| 44b0c9f1 |
android/avrcp-lib: Make IEEEID_BTSIG public |
Luiz Augusto von Dentz |
11 years ago |
3 files, +4, -5 |
| ccebe1ff |
android/avrcp-lib: Make hton24 and ntoh24 public
This avoids duplicating those function everytime. |
Luiz Augusto von Dentz |
11 years ago |
3 files, +12, -19 |
| 44019b88 |
android/avrcp: Add passthrough handler for rewind
Rewind should be send via HAL not handled directly by uinput otherwise
Android media player might not interpret it correctly. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +17, -0 |
| 611c2ca3 |
android/avrcp: Add passthrough handler for fast forward
Fast forward should be send via HAL not handled directly by uinput
otherwise Android media player might not interpret it correctly. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +23, -0 |
| b82332a0 |
android/avrcp-lib: Add pressed status to passthrough handler callback
This adds pressed status to passthrough handler callback which is
required by Android HAL for certain keys such as fast forward and rewind. |
Luiz Augusto von Dentz |
11 years ago |
3 files, +8, -10 |
| 67270583 |
android/avrcp-lib: Fix not passing user data of passthrough callback |
Luiz Augusto von Dentz |
11 years ago |
3 files, +6, -6 |
| 9350da3d |
android/avrcp-lib: Embed response code into handler table
This makes the handlers code simpler as they don't need to care about
the response or reject opcode. |
Luiz Augusto von Dentz |
11 years ago |
3 files, +35, -26 |
| 024b631a |
android/avrcp-lib: Rework handler callback parameters
This rework handler callback parameters to make it able to return
proper error such as -EAGAIN to implement asynchronous responses. |
Luiz Augusto von Dentz |
11 years ago |
3 files, +33, -26 |
| 7efeeb01 |
android/avctp: Make handler return ssize_t
This makes possible to return errors such as -EAGAIN to indicate the
request would block and a response will be sent asynchronously. |
Luiz Augusto von Dentz |
11 years ago |
4 files, +15, -8 |
| ec6e9a9e |
android/avrcp-lib: Add avrcp_send function
This adds avrcp_send function which can be used to response to
outstanding requests. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +30, -1 |
| 3eb9a5f6 |
android/hal-audio: Provide better audio synchronization
Instead of waiting some fixed amount of useconds before next media
packet is encoded we use absolute time to wait precisely for a moment
when next packet is expected to be produced. This greatly improves flow
as is can compensate for time spent on encoding and writing data. |
Andrzej Kaczmarek |
11 years ago |
1 file, +49, -42 |
| fe16c25b |
android/hal-audio: Use payload length for codec init
It makes more sense to pass maximum payload length to codec since this
is actually used for calculations. MTU value is used only to allocate
proper buffer. |
Andrzej Kaczmarek |
11 years ago |
1 file, +11, -7 |
| 97293ba7 |
android/hal-audio: Write and sync in common code
There's no need for codec abstraction to take care of writing and
synchronizing actual media stream since this is something that common
code can do regardless of codec used.
Data are synchronized based on number of samples consumed from input
stream instead of frames encoded to output stream which is also more
reliable since it's not affected by encoder errors. |
Andrzej Kaczmarek |
11 years ago |
1 file, +91, -97 |
| 7f2fc02e |
android/hal-audio: Add encode_mediapacket function
This patch moves code which encodes data for media packet into single
function. It will simply try to put as much encoded frames as will fit
in provided media packet buffer. This is first step to make common code
responsible for media stream write and synchronizarion instead of codec
abstraction code as it is handled now. |
Andrzej Kaczmarek |
11 years ago |
1 file, +57, -45 |
| 4fe71a03 |
android/hal-audio: Add open/close_endpoint helpers |
Andrzej Kaczmarek |
11 years ago |
1 file, +66, -51 |
| c088a0f5 |
android/handsfree: Add support for disabling HSP or HFP AGs
This allows to tune what profiles are supported by handsfree HAL. |
Szymon Janc |
11 years ago |
4 files, +26, -3 |
| a6b131fb |
android/handsfree: Allow to connect to HSP or HFP handsfree unit
This allows to connect to HSP (it HFP is not enabled) or fallback to
HSP if HFP is not supported by remote device. |
Szymon Janc |
11 years ago |
1 file, +106, -7 |
| c0d112b1 |
android/handsfree: Add support for HSP AG |
Szymon Janc |
11 years ago |
1 file, +135, -1 |
| 51072c06 |
android/socket: Reserve channel for HSP AG |
Szymon Janc |
11 years ago |
1 file, +12, -2 |
| 09c05aae |
android/handsfree: Factor out HFP AG enable code
This is in preparation for support to not enable HFP AG when
initializing HAL. |
Szymon Janc |
11 years ago |
1 file, +49, -28 |
| 14fc3c54 |
android: Pass mode parameter to registered services |
Szymon Janc |
11 years ago |
15 files, +21, -21 |
| 412f8932 |
android/hal: Update services register commands with mode parameter |
Szymon Janc |
11 years ago |
7 files, +9, -0 |
| 68cc1c56 |
android/ipc: Add Mode parameter to register service command
This will allow to run daemon services in non-default mode. |
Szymon Janc |
11 years ago |
1 file, +6, -0 |
| b720a063 |
android/bluetooth: Remove leftover function declaration |
Szymon Janc |
11 years ago |
1 file, +0, -2 |
| 93952616 |
android: Fix build under Android |
Szymon Janc |
11 years ago |
1 file, +1, -1 |
| 90ce3b7b |
android/hal-gatt: Add skeleton for GATT HAL
This adds skeleton with stubs and proper build system entries. |
Jakub Tyszkowski |
11 years ago |
5 files, +578, -0 |
| 1def0ca3 |
android/gatt: Add stubs for GATT commands handlers
Add empty handlers for GATT IPC commands. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +416, -1 |
| 319245da |
android/gatt: Add initial files
This adds initial daemon code for GATT profile. |
Grzegorz Kolodziejczyk |
11 years ago |
5 files, +85, -0 |
| c93c7c95 |
tools/ibeacon: Fix using uninitialized value
Fixes warning:
tools/ibeacon.c:150:14: warning: The left expression of the compound
assignment is an uninitialized value. The computed value will also be
garbage
cmd.data[2] |= 0x02; /* LE General Discoverable Mode
*/
~~~~~~~~~~~ ^
1 warning generated. |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -1 |
| 4262d6e1 |
android/avrcp-lib: Fix destroy callback handling
AVRCP destroy callback was directly passed as AVCTP destroy callback
resulting in struct avrcp not being freed on remote disconnect.
This fix following Valgrind report:
931 (36 direct, 895 indirect) bytes in 1 blocks are definitely lost in
loss record 53 of 55
at 0x4896DC8: calloc (in /system/lib/valgrind/
vgpreload_memcheck-arm-linux.so)
by 0x48C5DB7: g_malloc0 (gmem.c:189)
by 0x118671: avrcp_new (avrcp-lib.c:219)
by 0x117D4F: connect_cb (avrcp.c:346)
by 0x12068B: connect_cb (btio.c:232)
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 0x10BA03: main (main.c:490) |
Szymon Janc |
11 years ago |
1 file, +22, -1 |
| aee3b712 |
doc: Update android-tester coverage statistics |
Szymon Janc |
11 years ago |
1 file, +2, -2 |
| 1c4a20bc |
android/tester: Add remove bond success test case
This adds remove bond success test case. SSP as pairing mode. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +49, -0 |
| f745b613 |
android/tester: Add cancel bond success test case
This adds cancel bond success test case. SSP as pairing mode. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +44, -0 |
| 52b27253 |
android/tester: Add create bond with bad addr fail test case
This adds create bond with bad addr fail test case. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +25, -0 |
| 5d53e707 |
android/tester: Add create bond with no discovery test case
This adds create bond with no discovery before create bond as NFC does.
SSP with confirm as authentication mode. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +32, -0 |
| b3e574e1 |
android/tester: Add create bond with SSP fail test case
This adds create bond with SSP fail test case. Confirm is set as SSP
pairing mode. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +41, -0 |
| 75babd85 |
android/tester: Add create bond with SSP sucess test case
This adds create bond with SSP succes test case. Confirm is set as SSP
pairing mode. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +85, -1 |