Commits

Commit Message Author Age Changes
73613fe0 android/bluetooth: Fix discovering new devices Device found events should be send also for known devices if this is new discovery session. Otherwise Android will ignore those devices. Szymon Janc 12 years ago 1 file, +23, -4
b6659c9c android/hal-audio: Implement set_parameters for device Andrzej Kaczmarek 12 years ago 1 file, +9, -1
8b845a3f android/hal-audio: Fix AudioFlinger crash We need to return some valid values for buffer size and latency so AudioFlinger does not crash. For now just use some dummy values until codec implementation is in place. Andrzej Kaczmarek 12 years ago 1 file, +2, -2
7efff001 android/hal-audio: Fix module loading Andrzej Kaczmarek 12 years ago 1 file, +2, -1
51ca1c6c android/hal-audio: Handle audio preset from stream This patch adds handling of audio preset received after stream is opened. Preset is used to initialize codec and then to set input configuration so audio subsystem can write data in a format that codec can handle later. Andrzej Kaczmarek 12 years ago 1 file, +102, -6
068c5e3f android/hal-audio: Add support to suspend output stream This patch adds support to suspend output stream via Audio IPC. >From HAL perspective stream can be either in standby or suspended - the former is default one and can be auto-resumed on write while the latter cannot be resumed only after explicitly going into standby on audio code request. Andrzej Kaczmarek 12 years ago 1 file, +70, -3
eb2c8e6a android/hal-audio: Add support to resume output stream This patch adds support to resume output stream via Audio IPC. Stream is automatically resumed on first write when stream is in standby state. Andrzej Kaczmarek 12 years ago 1 file, +35, -2
454371df android/hal-audio: Add support to close output stream Andrzej Kaczmarek 12 years ago 1 file, +20, -0
ddc558fb android/hal-audio: Add support to open output stream This patch adds support to open output stream via Audio IPC. Since only SBC is supported, we always try to open stream for first endpoint only which is enough. Andrzej Kaczmarek 12 years ago 1 file, +88, -21
141bbc02 android/hal-audio: Add support to unregister audio endpoints Andrzej Kaczmarek 12 years ago 1 file, +33, -0
87353f52 android/hal-audio: Add support to register audio endpoints This patch adds support to register audio enpoints via Audio IPC. Endpoints are registered based on predefined codecs table and for each defined codec one endpoint is registered. By default, only SBC will be supported. Andrzej Kaczmarek 12 years ago 1 file, +167, -0
987fae95 android/hal-audio: Add audio_ipc_cmd Add function to handle send/receive on audio_sk. Lukasz Rymanowski 12 years ago 2 files, +150, -0
b270a8cb android/A2DP: Add timeout to setup stream if remote becomes idle If remote initiate the connection but do not setup any stream take over the role and initiate the stream setup procedure. Luiz Augusto von Dentz 12 years ago 1 file, +30, -1
b4d7dd43 android/A2DP: Send stream fd in open stream response This adds support of sending stream fd within open stream response. Luiz Augusto von Dentz 12 years ago 1 file, +8, -1
484fba70 android/A2DP: Fix selecting invalid bitpool range for SBC For SBC bitpool range may not strictly match with presets so it needs to be adjusted to fit within remote capabilities otherwise the remote device may reject the configuration. Luiz Augusto von Dentz 12 years ago 1 file, +59, -2
1a8dba38 android/A2DP: Change to connected state when a transport open This changes the connected state to be only sent once a transport is open, before this was done right after the signalling was connected but this reflect in the audio HAL side attempting to open a stream while with possible no transport available. Luiz Augusto von Dentz 12 years ago 1 file, +2, -2
944a2828 android: Fix distcheck build Add missing monitor/rfcomm.h to android-tester sources. This fix following build error on make distcheck: CC emulator/android_android_tester-bthost.o ../emulator/bthost.c:40:28: fatal error: monitor/rfcomm.h: No such file or directory #include "monitor/rfcomm.h" Szymon Janc 12 years ago 1 file, +1, -0
4631198a doc: Add rfcomm-tester to coverage list Marcel Holtmann 12 years ago 1 file, +2, -1
dee79b46 emulator/bthost: More RFCOMM code cleanups Johan Hedberg 12 years ago 1 file, +42, -38
472cc0a9 tools/rfcomm-tester: Clean up coding style Johan Hedberg 12 years ago 1 file, +17, -18
dda90d07 tools/rfcomm-tester: Don't enable SSP (as it's not necessary) Johan Hedberg 12 years ago 1 file, +0, -5
d11ac83a emulator/bthost: Further cleanups to the RFCOMM code Johan Hedberg 12 years ago 1 file, +36, -38
809b0c24 tools/rfcomm-tester: Only BR/EDR is relevant for RFCOMM Johan Hedberg 12 years ago 1 file, +1, -7
bce8cc01 emulator/bthost: Clean up RFCOMM related code Johan Hedberg 12 years ago 1 file, +20, -27
33dcb461 tools/rfcomm-tester: Update callback to match new API Johan Hedberg 12 years ago 1 file, +2, -3
a48b4912 tools/bthost: Remove useless channel parameter from RFCOMM callback Johan Hedberg 12 years ago 2 files, +5, -7
55745906 tools/rfcomm-tester: Add RFCOMM server negative test case This test case create RFCOMM server and reject incoming connection from bthost. Marcin Kraglak 12 years ago 1 file, +8, -0
b0fee95e tools/rfcomm-tester: Add RFCOMM server test case This test case create RFCOMM server and accept incoming connection from client bthost. Marcin Kraglak 12 years ago 1 file, +144, -0
c64b9baa emulator/bthost: Call rfcomm_connect_cb when connected This will call connect callback when connected or failed to connect. Marcin Kraglak 12 years ago 1 file, +22, -0
37a1b0fa emulator/bthost: Add implementation to PN RSP This will send sabm command if PN_RSP will be received. Marcin Kraglak 12 years ago 1 file, +3, -0
287c0759 emulator/bthost: Ad implementation of rfcomm_ua_recv This will handle ua responses in bthost. Marcin Kraglak 12 years ago 1 file, +35, -0
90fd2a2f emulator/bthost: Implement bthost_connect_rfcomm This method will start L2CAP connection on RFCOMM PSM and continue connecting to rfcomm server. User can specify callback to be called after connection. Marcin Kraglak 12 years ago 2 files, +66, -0
96283b9a tools/rfcomm-tester: Add Connection refused client test case This will test RFCOMM client connection to wrong server channel. Marcin Kraglak 12 years ago 1 file, +8, -0
292cd050 tools/rfcomm-tester: Implement client test case This will test RFCOMM client connection. Marcin Kraglak 12 years ago 1 file, +119, -0
3fbe3147 emulator/bthost: Implement recv_disc rfcomm frame in bthost Marcin Kraglak 12 years ago 1 file, +4, -0
662c1990 emulator/bthost: Service msc frames Marcin Kraglak 12 years ago 1 file, +28, -0
f167df0e emulator/bthost: Add recv_pn implementation Marcin Kraglak 12 years ago 1 file, +53, -0
cbc1720d emulator/bthost: Add rfcomm_mcc_recv stub It will handle mcc frames in bthost. Marcin Kraglak 12 years ago 1 file, +19, -0
27ae6d57 monitor: Add mcc structs and types to rfcomm.h Marcin Kraglak 12 years ago 1 file, +32, -0
983ecc30 emulator/bthost: Add recv_sabm imnplementation This will handle sabm frames and send ua or dm frame. Marcin Kraglak 12 years ago 1 file, +111, -0
75c7ab2d emulator/bthost: Add method to create rfcomm server It allows user to create rfcomm server on bthost. Marcin Kraglak 12 years ago 2 files, +39, -0
0c27ca7f emulator/bthost: Add initial rfcomm handling This is initial rfcomm handling in bthost. Marcin Kraglak 12 years ago 1 file, +66, -1
d5439202 monitor: Add rfcomm.h to tree Add initial rfcomm structs and defines to rfcomm.h. Marcin Kraglak 12 years ago 1 file, +47, -0
9b36ebbd tools/rfcomm-tester: Add basic rfcomm test case This test case verifies creating rfcomm socket. Marcin Kraglak 12 years ago 2 files, +258, -2
11bd593f tools/rfcomm-tester: Initial version of rfcomm-tester Add rfcomm-tester to tree. Marcin Kraglak 12 years ago 3 files, +43, -1
81294e5f tools: Remove --smd option from proxy utility Marcel Holtmann 12 years ago 1 file, +240, -220
1d6fbfb1 android/pics: Add PICS and PIXIT for AVCTP Add PICS/PIXIT for AVCTP, targeting Android 4.4. Jakub Tyszkowski 12 years ago 3 files, +115, -0
c838bfcb android/a2dp: Fix memory leak audio_ipc_send_rsp_full() does not free buffer passed as parameter thus it should be freed by caller. This fixes following Valgrind report: ==1238== 5 bytes in 1 blocks are definitely lost in loss record 22 of 54 ==1238== at 0x4896DC8: calloc (in /system/lib/valgrind/vgpreload_memcheck-arm-linux.so) ==1238== by 0x48C5DB7: g_malloc0 (gmem.c:189) ==1238== by 0x1150EF: bt_stream_open (a2dp.c:1177) ==1238== by 0x1116A7: ipc_handle_msg (ipc.c:95) ==1238== by 0x111C11: audio_watch_cb (audio-ipc.c:66) ==1238== by 0x48BD9C7: g_io_unix_dispatch (giounix.c:166) ==1238== by 0x48C2CCB: g_main_context_dispatch (gmain.c:2539) ==1238== by 0x48C2ED9: g_main_context_iterate.isra.19 (gmain.c:3146) ==1238== by 0x48C3167: g_main_loop_run (gmain.c:3340) ==1238== by 0x10B207: main (main.c:436) Andrzej Kaczmarek 12 years ago 1 file, +2, -0
6bbd5c17 android/a2dp: Fix memory leak avdtp_service_cap_new() makes own copy of data stored in "codec" thus it should be freed by caller. This fixes following Valgrind report: ==1238== 6 bytes in 1 blocks are definitely lost in loss record 27 of 54 ==1238== at 0x4896DC8: calloc (in /system/lib/valgrind/vgpreload_memcheck-arm-linux.so) ==1238== by 0x48C5DB7: g_malloc0 (gmem.c:189) ==1238== by 0x115B4B: discover_cb (a2dp.c:303) ==1238== by 0x111DE7: finalize_discovery (avdtp.c:933) ==1238== by 0x114441: session_cb (avdtp.c:2556) ==1238== by 0x48BD9C7: g_io_unix_dispatch (giounix.c:166) ==1238== by 0x48C2CCB: g_main_context_dispatch (gmain.c:2539) ==1238== by 0x48C2ED9: g_main_context_iterate.isra.19 (gmain.c:3146) ==1238== by 0x48C3167: g_main_loop_run (gmain.c:3340) ==1238== by 0x10B207: main (main.c:436) Andrzej Kaczmarek 12 years ago 1 file, +2, -0
1ff2c288 android: Add simple rotation of snoop file Already existing snoop file is renamed by adding ".old" suffix before new one is created. This is useful in case phone is restarted so logs are not overwritten and for this reason it's only applied in case default snoop file name is used. Andrzej Kaczmarek 12 years ago 1 file, +3, -0
Previous Next