commit | 0a1435d7b0278a080d108e1e7e34a24e849443b4 | [log] [tgz] |
---|---|---|
author | Dominik Laskowski <domlaskowski@google.com> | Tue Apr 21 00:27:31 2020 -0700 |
committer | Dominik Laskowski <domlaskowski@google.com> | Thu May 14 14:46:08 2020 -0700 |
tree | 22ddab1d09d829d6b0532333b51e357a72500ed7 | |
parent | 6a04962ecabf62b75d3565cc4e35a02db3f04c95 [diff] |
SF: Enforce thread safety for SurfaceFlinger class Add thread annotations to display state and accessors. Add macros and RAII helpers as escape hatches that are stricter and more meaningful than NO_THREAD_SAFETY_ANALYSIS, and emit error on use of the latter. Bug: 123715322 Test: Build Change-Id: Ibada81998d70c940c7406ef292b2d487fb02189d (cherry picked from commit 6c2c907548d66c699c5f51d21070c4508b30b669)