Reboot less in FuseDaemonHostTest
Previously, device used to reboot in between every test class.
Now, we use a target-preparer in order to ensure we reboot at most once
before running the entire module, and at most once in the end (to
restore the initial state). If the device is already in the expected
state (FUSE on) then no reboots are needed.
This is all done by moving the existing logic from
FuseDaemonBaseHostTest to the dedicated target-preparer.
Also fix 2 test cases that assumed legacy apps can access
Android/{media,data}/<other-pkg>. Legacy apps only have access to their
own directories.
Test: atest FuseDaemonHostTest #with FUSE both disable and enabled
Bug: 146361543
Change-Id: I5d4c8cc85982f933f0fef16dd71a4d0895c3881b
6 files changed