Allow Android to override access(2) and stat(2).

We recently added support to intercept open(2), and we discovered that
we also need to intercept access(2) and stat(2) for the same
filesystem paths.

Bug: 111268862, 111960973
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: Idce7e1217bb01e8051bb09aa523763f77d4c65e4
3 files changed