summaryrefslogtreecommitdiff
path: root/api/coverage/tools
diff options
context:
space:
mode:
author Brett Chabot <brettchabot@google.com> 2024-10-18 21:32:46 +0000
committer Brett Chabot <brettchabot@google.com> 2024-10-23 16:38:59 +0000
commit9729118333e2caf254c83c34ae941f0a7328378f (patch)
treea1f9b2df4f27a4c7cc9c9f27de1c08db5d93a919 /api/coverage/tools
parentda55b812c0c6d4146e3fbb1b1584ff48322f25b1 (diff)
Cross platform native resources support.
This commit unlocks mac and windows host support for the AssetManager and ApkAssets JNI bindings. Included in this change is: - remove obsolete references to linux only headers like signal.h and linux/capability - use the DupFdCloExec wrapper instead of fcntl calls directly - Instead of using ParcelFileDescritor#adoptFd, create FileDescriptors via the constructor. This is not strictly necessary but it avoids use of the android-only FileDescriptor#setInt$ method. - Also set the FileDescriptor.handle when on windows Flag: NONE host-only change Test: atest CtsResourcesTestCasesRavenwood Change-Id: Ifd4090ca2c5cb746f88280f675b31642aec35769
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions