Skip to content

Commit f5edc0b

Browse files
parthsaneGerrit Code Review
authored andcommitted
Merge "Add more cachable service to libbinder cache" into main
2 parents daa348c + ac49270 commit f5edc0b

1 file changed

Lines changed: 18 additions & 5 deletions

File tree

libs/binder/BackendUnifiedServiceManager.cpp

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,37 +34,47 @@ using AidlServiceManager = android::os::IServiceManager;
3434
using IAccessor = android::os::IAccessor;
3535

3636
static const char* kStaticCachableList[] = {
37+
// go/keep-sorted start
38+
"accessibility",
39+
"account",
3740
"activity",
38-
"android.hardware.thermal.IThermal/default",
39-
"android.hardware.power.IPower/default",
40-
"android.frameworks.stats.IStats/default",
41-
"android.system.suspend.ISystemSuspend/default",
41+
"alarm",
42+
"android.system.keystore2.IKeystoreService/default",
4243
"appops",
4344
"audio",
4445
"batterystats",
4546
"carrier_config",
4647
"connectivity",
48+
"content",
4749
"content_capture",
4850
"device_policy",
4951
"display",
5052
"dropbox",
5153
"econtroller",
54+
"graphicsstats",
55+
"input",
56+
"input_method",
5257
"isub",
58+
"jobscheduler",
5359
"legacy_permission",
5460
"location",
5561
"media.extractor",
5662
"media.metrics",
5763
"media.player",
5864
"media.resource_manager",
65+
"media_resource_monitor",
66+
"mount",
5967
"netd_listener",
6068
"netstats",
6169
"network_management",
6270
"nfc",
71+
"notification",
72+
"package",
6373
"package_native",
6474
"performance_hint",
6575
"permission",
66-
"permissionmgr",
6776
"permission_checker",
77+
"permissionmgr",
6878
"phone",
6979
"platform_compat",
7080
"power",
@@ -76,9 +86,12 @@ static const char* kStaticCachableList[] = {
7686
"time_detector",
7787
"trust",
7888
"uimode",
89+
"user",
7990
"virtualdevice",
8091
"virtualdevice_native",
8192
"webviewupdate",
93+
"window",
94+
// go/keep-sorted end
8295
};
8396

8497
bool BinderCacheWithInvalidation::isClientSideCachingEnabled(const std::string& serviceName) {

0 commit comments

Comments
 (0)