diff options
author | 2024-10-11 11:41:16 +0000 | |
---|---|---|
committer | 2024-10-17 09:45:48 +0000 | |
commit | 0105ea5ed15c283c496c3d8c035f338527a0ef45 (patch) | |
tree | 8c8721b0875d08e70fdf3fb11a7d353b6a502494 /libs/binder/BackendUnifiedServiceManager.cpp | |
parent | 4811398ed12aff7cc9f0d3a78e44a6796a860d23 (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.cpp | 9 |
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", |