Test M_E_S can readdir anywhere on shared external storage
Adds a test case to ensure apps with M_E_S can readdir anywhere on
shared external storage, including the root directory /sdcard/.
Also, minor refactroing in FuseDaemonTest, including:
(*) Make sure all exception in FilePathAccessTestHelper are returned to
caller so that FilePathAccessTestHelper never crashes
(*) Delete ReaddirTestHelper, thus ensure we throw IOException when
necessary, instead of just returning an empty list
Also sort out some unused imports.
Test: atest FuseDaemonHostTest
Fix: 151207173
Fix: 146497700
Change-Id: I919c7e1084a6ff6072e3ace6b983031a1dc6b486
6 files changed