commit | 001ac51d61ad7443ba518bf2cf7e086efe698c6d | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Wed Feb 27 18:07:26 2019 -0700 |
committer | Jeff Sharkey <jsharkey@google.com> | Thu Feb 28 11:06:09 2019 -0700 |
tree | 6d9d83d96b55d5853be56bde1a955f7231ddeca5 | |
parent | f8f01f05ca2c8fed7ad35f6f3be96e92efedf420 [diff] |
Enable interception of more filesystem APIs. Previous changes have let us open() and stat() paths, but we also discovered that we need to support rename(), unlink(), and remove(). Also change UnixFileSystem to perform operations through Libcore.os to give ForwardingOs a chance to intercept them. Bug: 124349250 Test: atest CtsLibcoreTestCases Test: atest android.appsecurity.cts.ExternalStorageHostTest#testExternalStorageRename Change-Id: I289a710880063057a908a593294a37d7231f08ff