summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-01-16android: Fix distcheck buildHEADmasterSzymon Janc1-0/+1
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"
2014-01-16doc: Add rfcomm-tester to coverage listMarcel Holtmann1-1/+2
2014-01-16emulator/bthost: More RFCOMM code cleanupsJohan Hedberg1-38/+42
2014-01-16tools/rfcomm-tester: Clean up coding styleJohan Hedberg1-18/+17
2014-01-16tools/rfcomm-tester: Don't enable SSP (as it's not necessary)Johan Hedberg1-5/+0
2014-01-16emulator/bthost: Further cleanups to the RFCOMM codeJohan Hedberg1-38/+36
2014-01-16tools/rfcomm-tester: Only BR/EDR is relevant for RFCOMMJohan Hedberg1-7/+1
2014-01-16emulator/bthost: Clean up RFCOMM related codeJohan Hedberg1-27/+20
2014-01-16tools/rfcomm-tester: Update callback to match new APIJohan Hedberg1-3/+2
2014-01-16tools/bthost: Remove useless channel parameter from RFCOMM callbackJohan Hedberg2-7/+5
2014-01-16tools/rfcomm-tester: Add RFCOMM server negative test caseMarcin Kraglak1-0/+8
This test case create RFCOMM server and reject incoming connection from bthost.
2014-01-16tools/rfcomm-tester: Add RFCOMM server test caseMarcin Kraglak1-0/+144
This test case create RFCOMM server and accept incoming connection from client bthost.
2014-01-16emulator/bthost: Call rfcomm_connect_cb when connectedMarcin Kraglak1-0/+22
This will call connect callback when connected or failed to connect.
2014-01-16emulator/bthost: Add implementation to PN RSPMarcin Kraglak1-0/+3
This will send sabm command if PN_RSP will be received.
2014-01-16emulator/bthost: Ad implementation of rfcomm_ua_recvMarcin Kraglak1-0/+35
This will handle ua responses in bthost.
2014-01-16emulator/bthost: Implement bthost_connect_rfcommMarcin Kraglak2-0/+66
This method will start L2CAP connection on RFCOMM PSM and continue connecting to rfcomm server. User can specify callback to be called after connection.
2014-01-16tools/rfcomm-tester: Add Connection refused client test caseMarcin Kraglak1-0/+8
This will test RFCOMM client connection to wrong server channel.
2014-01-16tools/rfcomm-tester: Implement client test caseMarcin Kraglak1-0/+119
This will test RFCOMM client connection.
2014-01-16emulator/bthost: Implement recv_disc rfcomm frame in bthostMarcin Kraglak1-0/+4
2014-01-16emulator/bthost: Service msc framesMarcin Kraglak1-0/+28
2014-01-16emulator/bthost: Add recv_pn implementationMarcin Kraglak1-0/+53
2014-01-16emulator/bthost: Add rfcomm_mcc_recv stubMarcin Kraglak1-0/+19
It will handle mcc frames in bthost.
2014-01-16monitor: Add mcc structs and types to rfcomm.hMarcin Kraglak1-0/+32
2014-01-16emulator/bthost: Add recv_sabm imnplementationMarcin Kraglak1-0/+111
This will handle sabm frames and send ua or dm frame.
2014-01-16emulator/bthost: Add method to create rfcomm serverMarcin Kraglak2-0/+39
It allows user to create rfcomm server on bthost.
2014-01-16emulator/bthost: Add initial rfcomm handlingMarcin Kraglak1-1/+66
This is initial rfcomm handling in bthost.
2014-01-16monitor: Add rfcomm.h to treeMarcin Kraglak1-0/+47
Add initial rfcomm structs and defines to rfcomm.h.
2014-01-16tools/rfcomm-tester: Add basic rfcomm test caseMarcin Kraglak2-2/+258
This test case verifies creating rfcomm socket.
2014-01-16tools/rfcomm-tester: Initial version of rfcomm-testerMarcin Kraglak3-1/+43
Add rfcomm-tester to tree.
2014-01-16tools: Remove --smd option from proxy utilityMarcel Holtmann1-220/+240
2014-01-16android/pics: Add PICS and PIXIT for AVCTPJakub Tyszkowski3-0/+115
Add PICS/PIXIT for AVCTP, targeting Android 4.4.
2014-01-16android/a2dp: Fix memory leakAndrzej Kaczmarek1-0/+2
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)
2014-01-16android/a2dp: Fix memory leakAndrzej Kaczmarek1-0/+2
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)
2014-01-16android: Add simple rotation of snoop fileAndrzej Kaczmarek1-0/+3
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.
2014-01-16android: Fix typo in bluetoothd-snoop.cAndrzej Kaczmarek1-2/+2
2014-01-15doc: Update mgmt-tester and hci-tester coverage statisticsMarcel Holtmann1-3/+3
2014-01-15tools/mgmt-tester: Add auth failure mgmt event to pair_device test conditionsJohan Hedberg1-0/+10
2014-01-15tools/mgmt-tester: Add new link key mgmt event to pair_device test conditionsJohan Hedberg1-0/+8
2014-01-15doc: Update android-tester coverage statisticsSzymon Janc1-2/+2
2014-01-15android/tester: Add set device DISCTIMEOUT prop fail test caseGrzegorz Kolodziejczyk1-0/+32
This adds set device DISCOVERY TIMEOUT property fail test case.
2014-01-15android/tester: Add set device BONDED_DEV prop fail test caseGrzegorz Kolodziejczyk1-0/+35
This adds set device BONDED DEVICES property fail test case.
2014-01-15android/tester: Add set device SCAN_MODE prop fail test caseGrzegorz Kolodziejczyk1-0/+33
This adds set device SCAN MODE property fail test case.
2014-01-15android/tester: Add set device SERVICE_RECORD prop fail test caseGrzegorz Kolodziejczyk1-0/+37
This adds set device SERVICE RECORD property fail test case.
2014-01-15android/tester: Add set device BDADDR prop fail test caseGrzegorz Kolodziejczyk1-0/+35
This adds set device BDADDR property fail test case.
2014-01-15android/tester: Add set device TIMESTAMP prop fail test caseGrzegorz Kolodziejczyk1-0/+33
This adds set device TIMESTAMP property fail test case.
2014-01-15android/tester: Add set device RSSI prop fail test caseGrzegorz Kolodziejczyk1-0/+33
This adds set device RSSI property fail test case.
2014-01-15android/tester: Add set device TOD prop fail test caseGrzegorz Kolodziejczyk1-0/+33
This adds set device TYPE OF DEVICE property fail test case.
2014-01-15android/tester: Add set device COD prop fail test caseGrzegorz Kolodziejczyk1-0/+33
This adds set device CLASS OF DEVICE property fail test case.
2014-01-15android/tester: Add set device UUIDS prop fail test caseGrzegorz Kolodziejczyk1-0/+31
This adds set device UUIDS property fail test case.
2014-01-15android/tester: Add set device BDNAME prop fail test caseGrzegorz Kolodziejczyk1-0/+54
This adds set device BDNAME property fail test case.