commit | e1e7e3877a7ca37b20745774638d8b3a87feec2d | [log] [tgz] |
---|---|---|
author | Peng Xu <pengxu@google.com> | Fri Feb 24 01:30:16 2017 -0800 |
committer | Peng Xu <pengxu@google.com> | Fri Feb 24 16:49:56 2017 -0800 |
tree | 7042b1047a088b67e770dabb777774d56f39bc6d | |
parent | d41b8e6d9daff6d112b607fae88a0d77e341cf5e [diff] |
Define shared memory NDK API Added shared memory NDK API definition, including the following functions: * int ASharedMemory_create(const char *name, size_t size); * size_t ASharedMemory_getSize(int fd); * int ASharedMemory_setProt(int fd, int prot); Bug: 5995644 Bug: 30985702 Test: compiles Change-Id: I4da6741728b7963f0f1d356dd3d9429e706c88a4