OSDN Git Service

RESTRICT AUTOMERGE: aaudio: improve test_atomic_fifo
authorPhil Burk <philburk@google.com>
Mon, 3 Dec 2018 18:10:21 +0000 (10:10 -0800)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Wed, 16 Jan 2019 18:55:42 +0000 (18:55 +0000)
commit33f089b3b49fe9bffebb496b688f23df35e1ad7a
treec18d39b7bc7762ffae15ff8d6113877edf993074
parentd276f99c058aac847fef056c0bd65d91c9081912
RESTRICT AUTOMERGE: aaudio: improve test_atomic_fifo

Check for the effects of setting a bogus counter.
Check for writes to memory surrounding the FIFO.
Check for negative array indices.

Bug: 120789744
Test: this is a test
Change-Id: Ia30cdef7f9d60f0a98b9af964cb3b3159df37dc9
(cherry picked from commit 31a8d44075f37f75d5912d79a43d777587b2d695)
media/libaaudio/tests/Android.mk
media/libaaudio/tests/test_atomic_fifo.cpp [new file with mode: 0644]