commit | 54cfc5a102845d560e151e9f091a90faebaaff97 | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Tue Oct 26 15:22:28 2021 -0700 |
committer | Yu Shan <shanyu@google.com> | Fri Jan 14 14:12:16 2022 -0800 |
tree | 817f890ac190bc0da8c01119b17618e587c5a83c | |
parent | eac016a771252e3729e48ebfbd6eee4e1743d888 [diff] |
Add PendingRequestPool to handle pending requests. PendingRequestPool would store all pending requests that we have not yet got responses from hardware. If a request has been pending for too long, the timout callback would be called and the request would be removed. Test: atest DefaultVehicleHalTest Bug: 203713317 Change-Id: I4d7ae2c72b960347be70ac4cc8ce3d66eb8128f9