summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Austin Borger <borgera@google.com> 2023-04-21 20:07:32 -0700
committer Austin Borger <borgera@google.com> 2023-05-05 14:34:17 -0700
commit2464010764b2dcf5b116f1499db9659c0a64dd0f (patch)
treec83dd49761f3ade5e5fffd3502541f590b72db90 /libs/androidfw/ZipFileRO.cpp
parent151d62e5eaaa484e055a3936e844e52eabc567b6 (diff)
Camera / UidObserver: Add the ability to subscribe to specific UIDs
UidObserver sends updates about the state of all packages installed on the system. In the case of the cameraserver, we only care about a handful of them. The current status quo is to filter out these callbacks but there is a significant IPC cost that is not addressed by that approach. This patch adds new entrypoints to ActivityManagerService to listen only to specified UIDs. This set of uids can be updated dynamically. Change-Id: Ic699526588a3f9157ca7d38b905f898876d86847 Bug: 274486653 Test: -- on physical device: -- testCamera2AccessCallbackInSplitMode x10 -- ActivityManagerServiceTest -- ActivityManagerProcessStateTest -- ActivityManagerFgsBgStartTest -- UidObserverControllerTest -- Alternate focus in split screen between Camera2 + GCA x20
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions