diff options
| author | 2023-03-02 21:25:00 +0000 | |
|---|---|---|
| committer | 2023-03-02 21:25:00 +0000 | |
| commit | e2c31ef391e6ff46314fbdfff7971ff72020a917 (patch) | |
| tree | aa341c985881088f7cbcf6d90860e0fe8b93d00a /libs/androidfw/StringPool.cpp | |
| parent | 3521df06db71c084bb7c132b84e6ad45ca240f77 (diff) | |
Add timeouts for SurfaceSyncGroup
Ensure there are timeouts in case something goes wrong with each level
of the SurfaceSyncGroup. It's better to timeout and not blocking all
dependant SSGs.
The timeouts are the following:
1. VRI has a timeout when it has mPausedForSync > 0. If the timeout is
invoked, that means someone was holding the SurfaceSyncGroup for VRI
without adding it to any SurfaceSyncGroup.
2. If a SurfaceSyncGroup has been added as a child or a parent of
another SurfaceSyncGroup, it will get a timeout set. This is because
it can now affect other SSG and we don't want them blocking others.
If they are a standalone SSG, we don't care if they don't complete
since it only affects itself.
Test: SurfaceSyncGroupTest
Bug: 237804605
Change-Id: I1a7886f8d51764b82d8eb0408433f5d77d2299cc
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions