commit | 0f56c5670985cd43b27f7487da9213fbd5729416 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Mon Apr 03 16:58:59 2023 -0700 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Tue Apr 04 16:45:28 2023 +0000 |
tree | c32dfac9d93f7d64059657afd284a7e551611155 | |
parent | c9fa6a8ef30704714ef1affda40e43187f7acda2 [diff] |
Camera: VTS: Wait for release fence before consuming buffers The camera HAL may signal release fence after processCaptureResult. If the VTS test waits for the release fence in the context of the capture result, there is possibility of deadlock. Rather, we should wait for the releaseFence in a different thread context to really emulate the real application behavior. Test: atest VtsAidlHalCameraProvider_TargetTest Bug: 241281568 Change-Id: Id1d92e901aae1cab084846d252ef090fcda182d7