Skip to content

Commit 0105ea5

Browse files
committed
Add processes to cacheable list
Based on metrics, these are the processes which have a getService binder spam in the field Added vibrator service as we intend to remove it from Java Cache Bug: 333854840 Test: atest binderCacheUnitTest Change-Id: I6142c1502f35320791d5e77c64273abdbe8bd46a
1 parent 4811398 commit 0105ea5

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

libs/binder/BackendUnifiedServiceManager.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,14 @@ static const char* kStaticCachableList[] = {
3939
"account",
4040
"activity",
4141
"alarm",
42+
"android.frameworks.stats.IStats/default",
4243
"android.system.keystore2.IKeystoreService/default",
4344
"appops",
4445
"audio",
46+
"autofill",
47+
"batteryproperties",
4548
"batterystats",
49+
"biometic",
4650
"carrier_config",
4751
"connectivity",
4852
"content",
@@ -58,6 +62,7 @@ static const char* kStaticCachableList[] = {
5862
"jobscheduler",
5963
"legacy_permission",
6064
"location",
65+
"lock_settings",
6166
"media.extractor",
6267
"media.metrics",
6368
"media.player",
@@ -78,15 +83,19 @@ static const char* kStaticCachableList[] = {
7883
"phone",
7984
"platform_compat",
8085
"power",
86+
"processinfo",
8187
"role",
88+
"sensitive_content_protection_service",
8289
"sensorservice",
8390
"statscompanion",
8491
"telephony.registry",
8592
"thermalservice",
8693
"time_detector",
94+
"tracing.proxy",
8795
"trust",
8896
"uimode",
8997
"user",
98+
"vibrator",
9099
"virtualdevice",
91100
"virtualdevice_native",
92101
"webviewupdate",

0 commit comments

Comments
 (0)