am skip reason: Change-Id Idb1067e757d4abadb2142627b88f775a685d0c02 with SHA-1 6d586607cd is in history
Change-Id: I1333b536711dc735091dddb4fa7498e2f3313e75
am skip reason: Change-Id I866fe1388a64a36372f90c60fef340d2fe4c8682 with SHA-1 b642700c7f is in history
Change-Id: I6584558b01316c4431806f74bc4f0a452f25a303
am skip reason: Change-Id I0096a2fc2e579d39a2d59a605a4217d53a381691 with SHA-1 6a222a3eec is in history
Change-Id: Id0cd607d090f65a6a5c7c9a9448e8abbc8cb68fb
on_ring_buffer_data_callback callback is invoked on getting the
corresponding driver/firmware ringbuffer logs. This callback further
stores the ringbuffer data locally in cur_buffer. While the data is
getting updated through this callback, writeRingbufferFilesInternal
can get triggered from a different context which accesses the same buffer
-cur_buffer.
Synchronization is missing between these two contexts while accessing the
buffer and this commit attempts the same.
Bug: 153970986
Test: Manual - collect the bugreport and check the ring buffer logs.
Change-Id: Id99a517f4d72872b84b48c3df75dd29743f3e9b2
am skip reason: Change-Id Id7fb72c42dc67f89ceef93d937241e1584b853e7 with SHA-1 279a5ae37e is in history
Change-Id: I4eda96985cbb75ef6e51d4e5c372b0e0cba520de
am skip reason: Change-Id I3d2b1328693b18cd4a51da6795228ef3b5d2b473 with SHA-1 2aa757432a is in history
Change-Id: I634f9616de693a163e0e4f933a23a02ec89bade9
am skip reason: Change-Id Iab38ef29ebf6d1f5c0a408436b3d564e45e537a0 with SHA-1 077c0339d4 is in history
Change-Id: Ib99423b88f8104fe12aa0aa2ae2f51cbeddfe447
am skip reason: Change-Id I85b66ab5940d09b2786ecb14bff5bc1c1dee894a with SHA-1 f161cc74a1 is in history
Change-Id: I40f6a46ca64fca86f8e94a9dcc3856c57ae4b0b9
The sensor reading thread continues producing
event and refers to the already destroyed
callback object which causes a crash in
SensorsHidlEnvironmentBase::addEvent.
Bug: 153754380
Test: atest VtsHalSensorsV2_0TargetTest
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I3017afe670e5a53d0d7444b3d5b34ba34f3567e3
Merged-In: Id7fb72c42dc67f89ceef93d937241e1584b853e7
am skip reason: Change-Id Id08cfe41af59bb336889f9edeaf35dc484892997 with SHA-1 fca5d95ce6 is in history
Change-Id: I821b8d878d69421eb2125035708d11178e8725fd
The sensor reading thread continues producing
event and refers to the already destroyed
callback object which causes a crash in
SensorsHidlEnvironmentBase::addEvent.
Bug: 153754380
Test: atest VtsHalSensorsV2_0TargetTest
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: Id7fb72c42dc67f89ceef93d937241e1584b853e7
The list of possible paths for the audio configuration
files is now retrieved using audio_get_configuration_paths()
function. All duplicated lists of known configuration
directories have been removed.
Bug: 153680356
Test: atest VtsHalAudioV5_0TargetTest \
VtsHalAudioPolicyV1_0TargetTest \
VtsHalAudioEffectV5_0TargetTest
Change-Id: I1e40fdf8d6e3a5ac339f7f138f62063bb87bd3da