Age | Commit message (Collapse) | Author |
|
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>
|
|
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
|
|
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
|
|
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
|
|
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
|
|
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
|
|
in auth_cb().
BUG=1744549
Original author: lockwood
Merged from: //branches/cupcake/...
Automated import of CL 143676
|
|
BUG=1744549
Automated import of CL 143537
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|