summaryrefslogtreecommitdiff
path: root/libs/binder/BackendUnifiedServiceManager.cpp
diff options
context:
space:
mode:
author Parth Sane <parthsane@google.com> 2024-10-11 11:41:16 +0000
committer Parth Sane <parthsane@google.com> 2024-10-17 09:45:48 +0000
commit0105ea5ed15c283c496c3d8c035f338527a0ef45 (patch)
tree8c8721b0875d08e70fdf3fb11a7d353b6a502494 /libs/binder/BackendUnifiedServiceManager.cpp
parent4811398ed12aff7cc9f0d3a78e44a6796a860d23 (diff)
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
Diffstat (limited to 'libs/binder/BackendUnifiedServiceManager.cpp')
-rw-r--r--libs/binder/BackendUnifiedServiceManager.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/binder/BackendUnifiedServiceManager.cpp b/libs/binder/BackendUnifiedServiceManager.cpp
index 52b485a6f6..1f8e8eba4c 100644
--- a/libs/binder/BackendUnifiedServiceManager.cpp
+++ b/libs/binder/BackendUnifiedServiceManager.cpp
@@ -39,10 +39,14 @@ static const char* kStaticCachableList[] = {
"account",
"activity",
"alarm",
+ "android.frameworks.stats.IStats/default",
"android.system.keystore2.IKeystoreService/default",
"appops",
"audio",
+ "autofill",
+ "batteryproperties",
"batterystats",
+ "biometic",
"carrier_config",
"connectivity",
"content",
@@ -58,6 +62,7 @@ static const char* kStaticCachableList[] = {
"jobscheduler",
"legacy_permission",
"location",
+ "lock_settings",
"media.extractor",
"media.metrics",
"media.player",
@@ -78,15 +83,19 @@ static const char* kStaticCachableList[] = {
"phone",
"platform_compat",
"power",
+ "processinfo",
"role",
+ "sensitive_content_protection_service",
"sensorservice",
"statscompanion",
"telephony.registry",
"thermalservice",
"time_detector",
+ "tracing.proxy",
"trust",
"uimode",
"user",
+ "vibrator",
"virtualdevice",
"virtualdevice_native",
"webviewupdate",