summaryrefslogtreecommitdiff
path: root/native/android/libandroid.map.txt
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2017-08-07 11:17:06 -0700
committer John Reck <jreck@google.com> 2017-08-07 15:36:10 -0700
commite4f60cce8552a565efacf4907242574b9e00492d (patch)
tree8bc59ea68022818524035e6269e13bd9db1bb40e /native/android/libandroid.map.txt
parentcbf16572eb8121a40ecba67ae15796b40f7bc346 (diff)
SharedMemory API changes
Hides getFd & getFileDescriptor due to lifecycle concenrs. Adds ASharedMemory_dupFromJava to allow sharing a shared memory region between Java & Native as safe as possible. Mis-use results in an FD leak instead of double-close. Bug: 64394076 Test: SharedMemory CTS tests Change-Id: I01a5eb978fc4e99559a79baac75754c32f13bdc4
Diffstat (limited to 'native/android/libandroid.map.txt')
-rw-r--r--native/android/libandroid.map.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/native/android/libandroid.map.txt b/native/android/libandroid.map.txt
index c82a1f6a646a..bbd27839d551 100644
--- a/native/android/libandroid.map.txt
+++ b/native/android/libandroid.map.txt
@@ -198,6 +198,7 @@ LIBANDROID {
ASharedMemory_create; # introduced=26
ASharedMemory_getSize; # introduced=26
ASharedMemory_setProt; # introduced=26
+ ASharedMemory_dupFromJava; # introduced=27
AStorageManager_delete;
AStorageManager_getMountedObbPath;
AStorageManager_isObbMounted;