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)
committerBryan Ferris <bferris@google.com>
Thu, 3 Jan 2019 20:09:16 +0000 (20:09 +0000)
commit31a8d44075f37f75d5912d79a43d777587b2d695
tree273c79fba567eb970ccc5a8c29cbf08dcc347148
parentd1fc53ca84b3d8d074fb27e192dea8204c1fb221
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
media/libaaudio/tests/Android.mk
media/libaaudio/tests/test_atomic_fifo.cpp [new file with mode: 0644]