summaryrefslogtreecommitdiff
path: root/include/ScopedJavaUnicodeString.h
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2018-07-30 21:08:22 -0600
committerJeff Sharkey <jsharkey@android.com>2018-08-02 15:21:04 -0600
commit6bdde6640f29cc5a446676ad0bebf07df671652b (patch)
tree7f77d14abe76cb6efbfe3f876f9285bbdc1302ba /include/ScopedJavaUnicodeString.h
parent837780ea2517645add41f17e5954050c32497bf4 (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. Update tests to reflect BlockGuard violations, with notes about why each is triggered. Also add tests for RandomAccessFile. Bug: 111268862, 111960973 Test: cts-tradefed run singleCommand cts-dev -a arm64-v8a -m CtsLibcoreTestCases -t libcore.dalvik.system.BlockGuardTest Change-Id: I018a50950d37385470574ff312bdd12d4f0c3525
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions