summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorMikhail Naganov <mnaganov@google.com>2019-09-03 17:16:05 -0700
committerMikhail Naganov <mnaganov@google.com>2019-09-06 17:32:59 -0700
commit26f868bb02a7264912435bde4ea21020577c1593 (patch)
treef65430b90c445cb2c4a31526d00abd043bd227f5 /identity/support/src/cppbor_parse.cpp
parent56e9dd901e4aee80be23929938a1eb80edb05f8a (diff)
Audio: Ensure input stream gets closed on the audio HAL server side
As IStream::close only releases internal resources of the stream, deferring actual stream closing to IStream server object destruction, which is delivered to the audio HAL server asynchronously, there is a possibility for a race condition when streams gets opened and closed in a tight loop as in the VTS test. Work around this problem by flushing RPC messages between the client and the server, and inserting a delay before opening a new stream. Bug: 139329877 Test: VtsHalAudioV5_0TargetTest#AudioPrimaryHidlTest.GetMicrophonesTest Change-Id: Id8744f6f21fd3bfa607f489364925eccbab17b5e
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions