diff options
author | Sudheer Shanka <sudheersai@google.com> | 2021-02-17 15:48:36 -0800 |
---|---|---|
committer | Sudheer Shanka <sudheersai@google.com> | 2021-02-24 17:17:55 -0800 |
commit | 6831749cb4e22ecb902b80eab67e5bff95bbfe50 (patch) | |
tree | 110f72bbda77037ed2ec9d7f7083e648737e163b /rs/java/android/renderscript/ProgramStore.java | |
parent | 3ea9673b742f8223ab225d9fe93265642c0d146a (diff) |
Allow EJs to obtain new network capability.
- Introduce new oom_adj score to be used for EJs so that they won't
be killed before normal jobs but before any FGS. Also, add a new
bind flag to instruct the OomAdjuster about when to use this
new oom_adj score.
- Unlike other capabilities, any app (regardless of it's proc_state)
with network capability will be able to transfer it's capability
to other app by binding to it.
Bug: 177641226
Test: atest ./tests/app/src/android/app/cts/ActivityManagerProcessStateTest.java
Test: atest ./tests/cts/hostside/src/com/android/cts/net/HostsideRestrictBackgroundNetworkTests.java
Test: atest ./services/tests/mockingservicestests/src/com/android/server/am/MockingOomAdjusterTests.java
Test: atest CtsJobSchedulerTestCases
Change-Id: I888764ff22fba92fe2cccf3d8442ed318a19ad2a
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions