Name Description Size
lib.rs Provides a wrapper around Android's ASharedMemory API. ashmem has existed in Android as a non-public API for some time. Originally accessed via ioctl, it was later available via libcutils as ashmem_create_region etc. ASharedMemory is the new public API, but it isn't available until API 26 (Android 8). Builds targeting Android 10 (API 29) are no longer permitted to access ashmem via the ioctl interface. This makes life for a portable program difficult - you can't reliably use the old or new interface during this transition period. We try to dynamically load the new API first, then fall back to the ioctl interface. References: - [ASharedMemory documentation](https://developer.android.com/ndk/reference/group/memory) - [Linux ashmem.h definitions](https://elixir.bootlin.com/linux/v5.11.8/source/drivers/staging/android/uapi/ashmem.h) 5710