summaryrefslogtreecommitdiffstats
path: root/Android.bp
Commit message (Collapse)AuthorAgeFilesLines
* ashmemd_test: require rootHEADmasterTri Vo2019-09-191-0/+1
| | | | | | Bug: 141272654 Test: n/a Change-Id: I7cc77f3504f96fd5f41e1c8a251e0547260c10c8
* Remove libhwbinder/libhidltransport depsSteven Moreland2019-09-051-1/+0
| | | | | | | | Since these were combined into libhidlbase. Bug: 135686713 Test: build only (libhwbinder/libhidltransport are empty) Change-Id: I0077e9e7ac9a7da9f841a02dc4783abff68752f2
* Ashmemd HIDL Client LibKalesh Singh2019-06-051-3/+35
| | | | | | | | | libashmemd_hidl_client.so is used to communicate with ashmemd from libcutils, using dlopen/dlsym to avoid shared library depandencies. Change-Id: I3625e85d3df9486fa73192ec0ef98b909892facb Bug: 134161662 Test: ashmemd_test
* Ashmem HIDL Interface ImplementationKalesh Singh2019-05-291-0/+5
| | | | | | | | | | | IAshmem interface is implemented by the Ashmem class in ashmemd. open passes a hidl_handle containing the open fd to /dev/ashmem to a call back function. The calling process can copy this handle to take ownership of the fd. Change-Id: I73b0466246b0a0b8503abf291ced11fb2673687a Bug: 133319042 Test: ashmemd_test
* ashmemd: add TEST_MAPPINGTri Vo2019-03-221-0/+1
| | | | | | Bug: n/a Test: presubmit Change-Id: I21a805bddf5ae356b5c2dcd4814651f6b3ad2130
* ashmemd: daemon that provides /dev/ashmem fdsTri Vo2019-02-041-0/+60
Motivation: we want to replace /dev/ashmem with memfd. To do so we need all usage of /dev/ashmem to go through libcutils. Once that happens, we migrate libcutils to use memfd. ashmemd is our way to enforce that apps are using the existing ASharedMemory_create API and not bypassing it to go directly to /dev/ashmem. ashmemd serves opened file descriptors. The following way should be the only way for apps to open an fd to /dev/ashmem: app -> ASharedMemory_create -> libcutils -> ashmemd -> /dev/ashmem Bug: 113362644 Test: ashmemd_test Change-Id: I9068cefa950f91dba0f1b75daca23f02d933b1c8