Add virtualization.balloon.adj.<pkg>.<vm>

It is just to adjust the memory balloon adjustment for a VM named <vm>
created from package <pkg>. The value is expected to be
<percent1>,<percent2>,<percent3>. The balloon is inflated to the
percentage of the entire VM memory when the owning app's trim memory
level is (1) under TRIM_MEMORY_UI_HIDDEN, (2) under
TRIM_MEMORY_BACKGROUND, and (3) above.

If this is not set for the pacakge/vm pair, the default adjustements of
10,30,50 is used.

Bug: 409382650
Flag: EXEMPT add a knob for fine tuning
Test: run MicrodroidDemoApp
adb root && adb shell setprop
virtualization.balloon.adj.com.android.microdroid.demo.demo_vm 97,98,99
and check the memory usage of the VM

Change-Id: Ife3f5852bbc479501c32ae2f51b3ce6c60f808da
1 file changed
tree: 38c96ea37c4b4a02b5a866ea3f17aac09ae60879
  1. android/
  2. build/
  3. docs/
  4. guest/
  5. libs/
  6. microfuchsia/
  7. tests/
  8. .clang-format
  9. .gitignore
  10. Android.bp
  11. dice_for_avf_guest.cddl
  12. OWNERS
  13. PREUPLOAD.cfg
  14. README.md
  15. rustfmt.toml
  16. TEST_MAPPING
README.md

Android Virtualization Framework (AVF)

Android Virtualization Framework (AVF) provides secure and private execution environments for executing code. AVF is ideal for security-oriented use cases that require stronger isolation assurances over those offered by Android’s app sandbox.

Visit our public doc site to learn more about what AVF is, what it is for, and how it is structured. This repository contains source code for userspace components of AVF.

If you want a quick start, see the getting started guideline and follow the steps there.

For in-depth explanations about individual topics and components, visit the following links.

AVF components:

AVF APIs:

How-Tos: