summaryrefslogtreecommitdiffstats
path: root/libmemtrack
Commit message (Collapse)AuthorAgeFilesLines
* Add OWNERS.Elliott Hughes2017-12-071-0/+1
| | | | | | Bug: N/A Test: N/A Change-Id: Ie785058c0f5eb9b4086c98ccba6e63e3ed411b65
* Mark libmemtrack as VNDK in Android.bpJustin Yun2017-09-141-0/+4
| | | | | | | | | | | | | | | | | | | As a VNDK module, Android.bp must have 'vndk' tag as well as 'vendor_available: true'. The 'vndk' tag for VNDK module is formated as below: vndk: { enabled: true, }, VNDK modules will be installed both in system/lib(64) as normal and in system/lib(64)/vndk as a vendor variant. Bug: 63866913 Test: build and boot with BOARD_VNDK_VERSION=current Merged-In: I4b9e560ca6d4751889a7b14f205e678b68c20008 Change-Id: I4b9e560ca6d4751889a7b14f205e678b68c20008 (cherry picked from commit 7aeb5bb86cae4d13f3459cb7fc344d1a1aaf779f)
* 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
* Split libhidl into base and transport.Yifan Hong2016-11-171-1/+2
| | | | | | | Bug: 32756130 Test: mma Change-Id: I1b897d3984b0faf636d40b862b14872ce5d5aa9b
* libmemtrack: Add HIDL support for MemtrackRuchi Kandoi2016-10-105-220/+176
| | | | | | Bug: 31180823 Change-Id: I9be61e17028baa218e7b4aea9383109360687a30 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
* system/core Replace log/log.h with android/log.hMark Salyzyn2016-09-301-3/+2
| | | | | | | | | | | Should use android/log.h instead of log/log.h as a good example to all others. Adjust header order to comply with Android Coding standards. Test: Compile Bug: 26552300 Bug: 31289077 Change-Id: I33a8fb4e754d2dc4754d335660c450e0a67190fc
* Convert more Android.mk files to Android.bpDan Willemsen2016-07-132-20/+30
| | | | | | | These modules have their dependencies satisfied, and aren't doing anything strange. Change-Id: I72039a15256cbd5e5eee0d79a15d66d74a6c087d
* Fix misc-macro-parentheses warnings in libion, libsparse, libmem*Chih-Hung Hsieh2016-05-181-1/+1
| | | | | Bug: 28705665 Change-Id: I3dd5c086787f5e48ab100a71a42109ea0e417bf9
* Remove unnecessary #include from <memtrack/memtrack.h>.Elliott Hughes2016-02-161-1/+0
| | | | Change-Id: I933bc75ffa8a612fd6f572e6ee76cf9a24a35562
* Move libmemtrack headers into libmemtrack.Elliott Hughes2016-02-122-0/+149
| | | | Change-Id: I6f695b4a965e924331d1a07fc45e9d8b6bc43d92
* Remove a hack for getting libpagerank's headers.Elliott Hughes2015-09-221-1/+0
| | | | Change-Id: I0976af738734337fb6b2ec5e89a9f568a6d3d4cb
* Add missing <malloc.h> and <string.h> includes.Elliott Hughes2015-01-281-0/+3
| | | | Change-Id: Ia41756e607663d056e7d2fdd7ecbec7e5841a913
* Fix missing #includes in system/core.Elliott Hughes2014-12-291-0/+1
| | | | Change-Id: I4736e8c4f7bb8bb03640d26d58243efaa67dc75c
* system/core 64-bit cleanup.Elliott Hughes2014-01-161-1/+1
| | | | | | | | | This cleans up most of the size-related problems in system/core. There are still a few changes needed for a clean 64-bit build, but they look like they might require changes to things like the fastboot protocol. Change-Id: I1560425a289fa158e13e2e3173cc3e71976f92c0
* Moves libmemtrack header to standard locationAdam Lesinski2013-09-234-142/+3
| | | | Change-Id: If8c80003bc2f042c67ffdf38469407de3c2fda2c
* Initial libmemtrackColin Cross2013-09-064-0/+503
libmemtrack is an interface to a device-specific Memory Tracker HAL to account for memory that may not show up in the normal memory usage tools that walk /proc/pid/maps. Bug: 10294768 Change-Id: I436f6799898df0bf8bf29747be3bc9dea5721185