commit | 9b8bc0f7c1fd4565572a894d4f5380e9ae0905b9 | [log] [tgz] |
---|---|---|
author | Erik Staats <estaats@google.com> | Fri Apr 01 11:04:54 2022 -0700 |
committer | Erik Staats <estaats@google.com> | Wed Apr 06 12:42:06 2022 +0000 |
tree | ac491505b1efb8dbd98cbffc486c3ae573b79397 | |
parent | 97fa686b5d91c85570d550e4b0f9eb13967dcd2f [diff] |
dynamic_sensor: Support timing out sensor operations. Bug: 226012902 Test: Used uhid-sample to add a dynamic sensor and verified it can be sampled. Test: Simulated start sampling ioctl timeout and verified operation completes with a timeout and eventually cleans up. Test: Simulated start sampling ioctl timeout with device removal before completion and verified operation completes with a timeout and eventually cleans up. Change-Id: I9a957bc1e4000b2c587278146ecbe6e903010616