diff options
author | Keun young Park <keunyoung@google.com> | 2021-07-27 16:36:23 -0700 |
---|---|---|
committer | Keun-young Park <keunyoung@google.com> | 2021-08-13 22:52:32 +0000 |
commit | 8e8bc5bf8c8f609f31818d278d6ac8b8e16a9345 (patch) | |
tree | b5726e6c4c557cb29318921b8578e0a0177e86c9 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 158824fe783058425f8ee4800c803398004fdbf7 (diff) |
unite all locks under BroadcastRadio
- Each layer having separate a lock and making calls to other layers
while holding lock leads into deadlock.
- Change all of them to use a single lock from the service to avoid
deadlock.
- Performance impact should be minimal as there are not that many
players for radio (one app, HAL, and system server) and the amount
of calls are not that frequent.
Bug: 194818704
Test: atest BroadcastRadioTests
Change-Id: I5f51c0e0a04ae10428f721be508d5579dc1dd837
(cherry picked from commit 2cdb566acb733815063e3c2f4651112cadfc4189)
Merged-In: I5f51c0e0a04ae10428f721be508d5579dc1dd837
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions