| commit | b56e62ade135ae844425edaa09e127005af51f38 | [log] [tgz] |
|---|---|---|
| author | Jiyong Park <jiyong@google.com> | Fri Apr 11 17:06:40 2025 +0900 |
| committer | Jiyong Park <jiyong@google.com> | Fri Apr 11 17:27:00 2025 +0900 |
| tree | 38c96ea37c4b4a02b5a866ea3f17aac09ae60879 | |
| parent | 8f4eb5d4d6a3207b1f565637d3f8c345bcbbcd90 [diff] |
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
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: