platform_system_core/libprocinfo
Christopher Ferris 3bae40b279 Add ReadMapFileAsyncSafe function.
This is a function designed so that it doesn't do any allocations.
It's purpose is for testing allocation related code where doing an
allocation can disturb the test.

Added unit tests for the new code that disable memory allocations
before running.

Also, made the tests run in isolation mode since I added a bunch of
tests and this will keep the total runtime about the same as
before.

Bug: 137795072

Test: All unit tests pass.
Change-Id: I7645f1e9f88cdfbc57c8eebce80199b9cfae64c1
2019-08-23 10:07:44 -07:00
..
include/procinfo Add ReadMapFileAsyncSafe function. 2019-08-23 10:07:44 -07:00
testdata Remove ashmem from system/core 2018-08-24 12:30:09 -07:00
.clang-format
Android.bp Add ReadMapFileAsyncSafe function. 2019-08-23 10:07:44 -07:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
process.cpp libprocinfo: return error msg instead of printing it. 2018-07-24 14:34:06 -07:00
process_map.cpp Add ReadMapFileAsyncSafe function. 2019-08-23 10:07:44 -07:00
process_map_benchmark.cpp procinfo: Read inode number from /proc/<pid>/maps 2019-02-11 01:38:08 +00:00
process_map_test.cpp Add ReadMapFileAsyncSafe function. 2019-08-23 10:07:44 -07:00
process_test.cpp libprocinfo: add support for parsing process state. 2017-06-27 15:06:27 -07:00