diff options
author | Peng Xu <pengxu@google.com> | 2017-02-24 01:53:10 -0800 |
---|---|---|
committer | Peng Xu <pengxu@google.com> | 2017-02-24 02:42:51 -0800 |
commit | 5f88ac5ccef78203c62e32e0503f18dd46102c5e (patch) | |
tree | 1bd5f063160e2b605034a1347a5093aef2b3cd70 /native/android/sensor.cpp | |
parent | a722a2ea38f65eda5e7cfaaff29465d396e6f1a3 (diff) |
Added implementation of shared memory NDK API
Implemeneted the following APIs:
* int ASharedMemory_create(const char *name, size_t size);
* size_t ASharedMemory_getSize(int fd);
* int ASharedMemory_setProt(int fd, int prot);
Test: cts-tradefed run cts --module CtsSensorTestCases \
--test android.hardware.cts.SensorNativeTest
Bug: 5995644, 30985702
Change-Id: I645b35e67293673efce9bb90f042ec0d3b83aa42
Diffstat (limited to 'native/android/sensor.cpp')
0 files changed, 0 insertions, 0 deletions