summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-19liba2dp: Fix timeout computation in wait_for_start()HEADandroid-sdk-tools_r2android-sdk-1.6_r2android-sdk-1.6_r1android-sdk-1.6-docs_r1android-1.6_r2android-1.6_r1.5android-1.6_r1.4android-1.6_r1.3android-1.6_r1.2android-1.6_r1.1android-1.6_r1mastermaindonut-release2donut-releasedonutMike Lockwood
Also increase a2dp_write timeout from 100ms to 500 ms to avoid losing the first fraction of a second of a song when streaming starts. Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-14liba2dp: Move control logic to a separate thread to avoid blocking audio writes.Mike Lockwood
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-04-22merge cupcake into donutJean-Baptiste Queru
2009-04-13AI 145972: am: CL 145785 Don't close the A2DP data socket on data error - ↵Nick Pelly
prevents mediaserver from wedging on A2DP device poweroff. This prevents a race that occurs when an A2DP headset is powered down. If the data socket closes itself then mediaserver tries to recover the stream, while the control path in hcid tries to cleanup the disconnected stream. hcid cant handle this and wedges mediaserver. Instead let the control path code trigger all the cleanup (including eventually closing the data socket through bluetooth_close() or bluetooth_stop()). Original author: npelly Merged from: //branches/cupcake/... Automated import of CL 145972
2009-04-10AI 145785: Don't close the A2DP data socket on data error - prevents ↵android-sdk-1.5_r3android-sdk-1.5_r1android-1.5r4android-1.5r3android-1.5r2android-1.5cupcake-releasecupcakeNick Pelly
mediaserver from wedging on A2DP device poweroff. This prevents a race that occurs when an A2DP headset is powered down. If the data socket closes itself then mediaserver tries to recover the stream, while the control path in hcid tries to cleanup the disconnected stream. hcid cant handle this and wedges mediaserver. Instead let the control path code trigger all the cleanup (including eventually closing the data socket through bluetooth_close() or bluetooth_stop()). BUG=1774568 Automated import of CL 145785
2009-03-31AI 143826: am: CL 143774 Fix SIGSEGV attempting to make callback on freed ↵Nick Pelly
session. pid: 3290, tid: 3290 >>> /system/bin/hcid <<< signal 11 (SIGSEGV), fault addr 0000001a r0 00014c70 r1 00000000 r2 bea74a80 r3 00000014 r4 00000450 r5 00014c70 r6 0000001b r7 0000008a r8 000003e8 r9 00010a90 10 000135b0 fp 00000000 ip aed141c0 sp bea74a80 lr aed05611 pc 0000001a Stack Trace: RELADDR FUNCTION FILE:LINE 0000560e finalize_discovery external/bluez/utils/audio/avdtp.c:851 00006ee2 connection_lost external/bluez/utils/audio/avdtp.c:889 00007226 disconnect_timeout external/bluez/utils/audio/avdtp.c:594 00021804 timeout_handlers_check external/bluez/utils/eglib/gmain.c:456 000219d2 g_main_loop_run external/bluez/utils/eglib/gmain.c:557 v------> main external/bluez/utils/hcid/main.c:979 00019dc2 .text external/bluez/utils/hcid/main.c:979 0001fd22 __libc_init_common bionic/libc/bionic/libc_init_common.c:121 0000bcb2 __libc_init bionic/libc/bionic/libc_init_dynamic.c:65 v------> link_image bionic/linker/linker.c:1637 b000157e __dl_$t bionic/linker/linker.c:1637 Original author: npelly Merged from: //branches/cupcake/... Automated import of CL 143826
2009-03-31AI 143774: Fix SIGSEGV attempting to make callback on freed session.android-sdk-1.5-preNick Pelly
pid: 3290, tid: 3290 >>> /system/bin/hcid <<< signal 11 (SIGSEGV), fault addr 0000001a r0 00014c70 r1 00000000 r2 bea74a80 r3 00000014 r4 00000450 r5 00014c70 r6 0000001b r7 0000008a r8 000003e8 r9 00010a90 10 000135b0 fp 00000000 ip aed141c0 sp bea74a80 lr aed05611 pc 0000001a Stack Trace: RELADDR FUNCTION FILE:LINE 0000560e finalize_discovery external/bluez/utils/audio/avdtp.c:851 00006ee2 connection_lost external/bluez/utils/audio/avdtp.c:889 00007226 disconnect_timeout external/bluez/utils/audio/avdtp.c:594 00021804 timeout_handlers_check external/bluez/utils/eglib/gmain.c:456 000219d2 g_main_loop_run external/bluez/utils/eglib/gmain.c:557 v------> main external/bluez/utils/hcid/main.c:979 00019dc2 .text external/bluez/utils/hcid/main.c:979 0001fd22 __libc_init_common bionic/libc/bionic/libc_init_common.c:121 0000bcb2 __libc_init bionic/libc/bionic/libc_init_dynamic.c:65 v------> link_image bionic/linker/linker.c:1637 b000157e __dl_$t bionic/linker/linker.c:1637 BUG=1749718 Automated import of CL 143774
2009-03-31AI 143676: am: CL 143537 Sanity check to make sure the session still exists ↵Mike Lockwood
in auth_cb(). BUG=1744549 Original author: lockwood Merged from: //branches/cupcake/... Automated import of CL 143676
2009-03-30AI 143537: Sanity check to make sure the session still exists in auth_cb().Mike Lockwood
BUG=1744549 Automated import of CL 143537
2009-03-25Automated import from //branches/donutburger/...@142766,142766Nick Pelly
2009-03-25Automated import from //branches/cupcake/...@142761,142761Nick Pelly
2009-03-24Automated import from //branches/donutburger/...@141697,141697Nick Pelly
2009-03-24Automated import from //branches/donutburger/...@141219,141219Nick Pelly
2009-03-24Automated import from //branches/cupcake/...@141694,141694Nick Pelly
2009-03-19auto import from //branches/cupcake_rel/...@141571The Android Open Source Project
2009-03-18auto import from //branches/cupcake_rel/...@140373The Android Open Source Project
2009-03-13auto import from //branches/cupcake_rel/...@138607The Android Open Source Project
2009-03-11auto import from //branches/cupcake/...@137873The Android Open Source Project
2009-03-05auto import from //depot/cupcake/@136745The Android Open Source Project
2009-03-05auto import from //depot/cupcake/@136594The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@132589The Android Open Source Project
2009-03-02auto import from //depot/cupcake/@137055The Android Open Source Project
2009-02-20auto import from //branches/cupcake/...@132569The Android Open Source Project
2009-02-19auto import from //branches/cupcake/...@132276The Android Open Source Project
2009-02-13auto import from //branches/cupcake/...@131421The Android Open Source Project
2009-02-10auto import from //branches/cupcake/...@130745The Android Open Source Project
2009-01-22auto import from //branches/cupcake/...@127436The Android Open Source Project
2009-01-20auto import from //branches/cupcake/...@127101The Android Open Source Project
2009-01-15auto import from //branches/cupcake/...@126645The Android Open Source Project
2009-01-09auto import from //branches/cupcake/...@125939The Android Open Source Project
2008-12-17Code drop from //branches/cupcake/...@124589The Android Open Source Project
2008-10-21Initial Contributionandroid-1.0release-1.0cdma-importThe Android Open Source Project
1970-01-12external/bluez libs-3.35upstream/libs-3.35Upstream
1970-01-12external/bluez hcidump-1.41upstream/hcidump-1.41Upstream
1970-01-12external/bluez utils-3.35upstream/utils-3.35Upstream