Commit Graph

10 Commits

Author SHA1 Message Date
duqunbo 41dc9560be The callback list is released asynchronously.
rootcause:Releasing the callback list synchronously will cause the
zeroing of the callback list to be blocked, resulting in the problem of
the callback list pointer being used after the release.

Signed-off-by: duqunbo <duqunbo@xiaomi.com>
2026-04-20 14:51:16 +08:00
duqunbo 9b62886c8e Handles cllbacks free work in the client thread.
rootcause: The callbacks list itself is not Locked protection and concurrent access
is incorrect, so releasing it must be done in the client thread.

Signed-off-by: duqunbo <duqunbo@xiaomi.com>
2026-04-20 14:51:14 +08:00
Haishen Zhang 19bc307ac2 Clang-format: Update format of all files based on new .clang-format
1. Update format of all files based on new .clang-format

Signed-off-by: Haishen Zhang <zhanghaishen@xiaomi.com>
2026-04-20 14:50:50 +08:00
gaozihao 41546100bb Bluetooth: set pointer to NULL after free.
Signed-off-by: gaozihao <gaozihao@xiaomi.com>
2026-04-20 14:50:21 +08:00
gaozihao 5ab4dc6f8c Bluetooth: Code formatted without head file sorted.
Signed-off-by: gaozihao <gaozihao@xiaomi.com>
2026-04-20 14:50:21 +08:00
fangzhenwei 1db4b91dd5 add ipc instance check
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2026-04-20 14:50:15 +08:00
fangzhenwei 5a08c3e9b4 support repeat callbacks register on client
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2026-04-20 14:50:11 +08:00
fangzhenwei d4e67e2059 fix crash && memory leak && build issue
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2026-04-20 14:50:07 +08:00
duqunbo fb55301e79 add socket IPC interfaces for A2DP sink and A2DP SOURCE
Signed-off-by: duqunbo <duqunbo@xiaomi.com>
2026-04-20 14:50:06 +08:00
chao an 08eef4e8fe service/socket: add lightweight socket ipc layer
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
Signed-off-by: chao an <anchao@xiaomi.com>
2026-04-20 14:50:05 +08:00