Use a pipe instead of tmp for debugDump tests.
authorTri Vo <trong@google.com>
Thu, 12 Oct 2017 22:47:32 +0000 (15:47 -0700)
committerTri Vo <trong@google.com>
Thu, 12 Oct 2017 22:47:34 +0000 (15:47 -0700)
commit6c00ac31bbdd5ff85b0446bd89805f50dac4b78f
tree37d1101192abb26d2a1cf7aabbdeeeb160f64c0d
parent3f4e982fbc283b8611211c188cf607323945efc2
Use a pipe instead of tmp for debugDump tests.

Audio hal does not have selinux permissions to files under
/data/locat/tmp. We pass an fd to a pipe to the HAL instead.

Bug: 67665722
Test: VtsHalAudioV2_0Target
Change-Id: I695917be1816ba007f48afab5e978ab31024ffba
audio/2.0/vts/functional/AudioPrimaryHidlHalTest.cpp