mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
This CL moves the remaining response logic from Worker to be done by the decoder or encoder Device. Currently Worker matches on the returned responses from Device's process_cmd and process_event_fd, and adds additional responses when the Device already knows the responses to send. This allows the encoder and decoder to send different responses when the same AsyncCmdTag is returned, and to remove the `take_resource_id_to_notify_eos` Device trait function. BUG=b:161774071 BUG=b:161782360 TEST=USE=test emerge-$BOARD crosvm TEST=play multiple YouTube videos to completion Change-Id: I3b210b59f528df473a03657af76b5b8df488f7f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2352269 Tested-by: Alex Lau <alexlau@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Alex Lau <alexlau@chromium.org> Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |