summaryrefslogtreecommitdiff
path: root/services/memtrackproxy/test
AgeCommit message (Collapse)Author
2021-08-04Remove ndk_platform backend. Use the ndk backend. Jiyong Park
The ndk_platform backend will soon be deprecated because the ndk backend can serve the same purpose. This is to eliminate the confusion about having two variants (ndk and ndk_platform) for the same ndk backend. Bug: 161456198 Test: m Change-Id: I1e84945fcfef3b2a300811f27ef57059eaf08553
2021-04-06[LSC] Add LOCAL_LICENSE_KINDS to frameworks/native Bob Badour
Added SPDX-license-identifier-Apache-2.0 to: services/memtrackproxy/Android.bp services/memtrackproxy/test/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I68a5e491cd059d97ac81153f1349081c95a5569d
2021-04-05libmemtrackproxy Kalesh Singh
Helper library that implements memtrack proxy service. The service forwards requests to the appropriate AIDL or HIDL memtrack HAL if the following access control requirements are met: - Only AID_SYSTEM, AID_ROOT or AID_SHELL can request getMemory() for other processes, otherwise the requested PID must match the calling PID. - Only AID_SYSTEM, AID_ROOT or AID_SHELL can request getGpuDeviceInfo() If the above conditions are not met, the request is not forwarded to the memtrack HAL and a status with exception code EX_SECURITY is returned. Bug: 177664629 Test: memtrackproxy_test Change-Id: Icf3e0fa0500b2961b0945e800899881c9a3c86cf