Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0105ea5e authored by Parth Sane's avatar Parth Sane
Browse files

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
parent 4811398e
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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",