276758dab8
There may be evidence of ashmem_valid(fd) reporting that the file descriptor is an ashmem node. Increase testing of ashmem_valid(fd), reporting that the node _is_ ashmem, to inspire confidence in the positive result. Scan all file descriptors in the system, and for those that pass ashmem_valid, get a non-zero size reference back. Some clang-format-isms applied. Test: libcutils-test --gtest_filter=AshmemTest.* Bug: 72021458 Change-Id: I77d746b57a89a6afa1b829dddfdc4dd319f6b684 |
||
---|---|---|
.. | ||
Android.bp | ||
android_get_control_file_test.cpp | ||
android_get_control_socket_test.cpp | ||
AndroidTest.xml | ||
AshmemTest.cpp | ||
fs_config.cpp | ||
MemsetTest.cpp | ||
multiuser_test.cpp | ||
PropertiesTest.cpp | ||
sched_policy_test.cpp | ||
sockets_test.cpp | ||
test_str_parms.cpp | ||
trace-dev_test.cpp |