summaryrefslogtreecommitdiff
path: root/services/coverage/java
diff options
context:
space:
mode:
author Martijn Coenen <maco@google.com> 2022-12-12 11:11:27 +0100
committer Martijn Coenen <maco@google.com> 2023-01-11 20:22:04 +0000
commit78c258ce98475d85a37f68a104f7e3c97ede3245 (patch)
treec957182bf8bc00f5bb44b63873e32f82e9646360 /services/coverage/java
parentd5c4fe4bee162cfcd410528170bb0bf16c6849e1 (diff)
Support attributing a service binding to a different process.
By default, the process that initiates a service binding is the process that will be used for attribution and computing the OOM priority of the process hosting the service. In cases like the SDK sandbox, the system binds to a service on behalf of another application, and we'd like to OOM priority to be a function of the priority of that other application. Since we need some way to lookup the corresponding ProcessRecord, pass in the process name of the SDK sandbox, and store the corresponding ProcessRecord in AppBindRecord. This will allow the OomAdjuster to determine its policy based on the attributed ProcessRecord in AppBindRecord. Bug: 253399592 API-Coverage-Bug: 265180182 Test: SdkSandbox TEST_MAPPING Change-Id: Iab4555975aec52bbc3c42ba339b01c1ffbff36d4
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions