summaryrefslogtreecommitdiffstats
path: root/libmemtrack/memtrack.cpp
Commit message (Collapse)AuthorAgeFilesLines
* libmemtrack: check return value for getMemory()Connor O'Brien2017-02-271-2/+3
| | | | | | | | | | | | libmemtrack does not report an error when the binderized memtrack service dies during a call to getMemory, so a crash in the memtrack service can result in the calling process (e.g. system_server) crashing as well. Add an error check to avoid this problem. Bug: 35728498 Test: adb shell kill -9 $(adb shell pidof android.hardware.memtrack@1.0-service) Change-Id: I852d8dfcbc1c92a95f8fe249b607dea8eb01f06a Signed-off-by: Connor O'Brien <connoro@google.com>
* memtrack HAL uses "default" service nameChris Phoenix2017-01-231-1/+1
| | | | | | | | | | | | The getService() and registerAsService() methods of interface objects now have default parameters of "default" for the service name. HALs will not have to use any service name unless they want to register more than one service. Test: builds; verify HAL still works Bug: 33844934 Change-Id: I6cf3f24500228985ddf581ad5a98886585a3fcfe
* liblog: use log/log.h when utilizing ALOG macrosMark Salyzyn2017-01-111-1/+1
| | | | | | Test: compile Bug: 30465923 Change-Id: Id6d76510819ebd88c3f5003d00d73a0dbe85e943
* Update to use the correct logging library.Yifan Hong2016-12-031-0/+2
| | | | | Test: compiles Change-Id: I0e51e7e7866d2d01f04a05c63c9e1d1846b51f71
* libmemtrack: Add HIDL support for MemtrackRuchi Kandoi2016-10-101-0/+170
Bug: 31180823 Change-Id: I9be61e17028baa218e7b4aea9383109360687a30 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>