diff options
| author | 2024-09-23 19:36:30 +0000 | |
|---|---|---|
| committer | 2024-09-23 19:36:30 +0000 | |
| commit | 1dc3b4635c6ff343444bf0f5466c7db22c980825 (patch) | |
| tree | 69948be22170fb971243ac8f4d417c7b25c8d844 /libs/binder/BackendUnifiedServiceManager.cpp | |
| parent | bff90ed1ee9ff8f59788e31a59346c458d39b042 (diff) | |
| parent | 32e4866b670477903d753be14476f737170299b3 (diff) | |
Merge "Add more cachable service to libbinder cache" into main am: f5edc0b259 am: 32e4866b67
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3271892
Change-Id: I6291c0ebf0a2391c10bb380560978fcc429d0193
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'libs/binder/BackendUnifiedServiceManager.cpp')
| -rw-r--r-- | libs/binder/BackendUnifiedServiceManager.cpp | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/libs/binder/BackendUnifiedServiceManager.cpp b/libs/binder/BackendUnifiedServiceManager.cpp index 5680798d0d..52b485a6f6 100644 --- a/libs/binder/BackendUnifiedServiceManager.cpp +++ b/libs/binder/BackendUnifiedServiceManager.cpp @@ -34,37 +34,47 @@ using AidlServiceManager = android::os::IServiceManager; using IAccessor = android::os::IAccessor; static const char* kStaticCachableList[] = { + // go/keep-sorted start + "accessibility", + "account", "activity", - "android.hardware.thermal.IThermal/default", - "android.hardware.power.IPower/default", - "android.frameworks.stats.IStats/default", - "android.system.suspend.ISystemSuspend/default", + "alarm", + "android.system.keystore2.IKeystoreService/default", "appops", "audio", "batterystats", "carrier_config", "connectivity", + "content", "content_capture", "device_policy", "display", "dropbox", "econtroller", + "graphicsstats", + "input", + "input_method", "isub", + "jobscheduler", "legacy_permission", "location", "media.extractor", "media.metrics", "media.player", "media.resource_manager", + "media_resource_monitor", + "mount", "netd_listener", "netstats", "network_management", "nfc", + "notification", + "package", "package_native", "performance_hint", "permission", - "permissionmgr", "permission_checker", + "permissionmgr", "phone", "platform_compat", "power", @@ -76,9 +86,12 @@ static const char* kStaticCachableList[] = { "time_detector", "trust", "uimode", + "user", "virtualdevice", "virtualdevice_native", "webviewupdate", + "window", + // go/keep-sorted end }; bool BinderCacheWithInvalidation::isClientSideCachingEnabled(const std::string& serviceName) { |