diff options
author | Jeff Sharkey <jsharkey@android.com> | 2018-07-30 21:08:22 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2018-08-01 17:23:58 -0600 |
commit | 6f30fa75d42c810a0c80801bf0521d99ff408f25 (patch) | |
tree | 2d5fd3a69a6c741bbd49fdb4177bb74cfa391395 /include/ScopedJavaUnicodeString.h | |
parent | a0ad8273c26b04a601b500246686bc34a1324bc3 (diff) |
Open FIS/FOS through common IoBridge code.
To support legacy apps that are using "_data" columns via public APIs,
we're looking at a design that requires hooking of all open(2) calls
performed in Java.
Upstream FileInputStream and FileOutputStream use their own native
code to open files, so this change modifies them to instead use
IoBridge to open their FileDescriptors, which enables the hooking
described above.
Since IoBridge indirectly applies BlockGuard policy, we no longer
need to trigger it explicitly in FIS/FOS.
Bug: 111268862, 111960973
Test: cts-tradefed run singleCommand cts -a arm64-v8a -m CtsLibcoreTestCases
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: Id139b650980c9e81fc18a012d993b7a43441e9d1
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions