root/tools/android/memconsumer/

[..]
  1. java/
  2. memconsumer_hook.cc
[..]