Reland r267170 "Use DiscardableMemoryManager on Android."

This allows userspace (DiscardableMemoryManager) to control eviction of
unlocked DiscardableMemory instances to prevent the process from running out of
address space in cases of heavy use of unlocked DiscardableMemory.

This also removes all the occurences of 'Android' from the ashmem allocator to
allow it to be later used on ChromeOS.

BUG=327516, 334996
TBR=willchan@chromium.org

Review URL: https://codereview.chromium.org/253323002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267211 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: be467e454acfd0ac9dfca010e880bf5945e4c5b8
18 files changed
tree: ab710328745ded4e4e0ddf770b306647a7206aae
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/