commit | d65dc06ddc44d82e664ea19dc28b7d44d46aa656 | [log] [tgz] |
---|---|---|
author | Michael Butler <butlermichael@google.com> | Wed Feb 23 20:56:56 2022 -0800 |
committer | Michael Butler <butlermichael@google.com> | Tue Mar 01 16:16:26 2022 -0800 |
tree | 8cd7ae7c74dcb9f92afe904c511b31f7022bbdc8 | |
parent | 795f758780045821e87675c6abde99f59d0f13f0 [diff] |
Make NN canonical->HIDL adapter execute* methods synchronous This change alters the asynchronous execute* methods to be handled synchronously (from the same thread) for three reasons: 1) To remove the need to use IPreparedModel::getUnderlyingResource 2) To simplify the code 3) To make the code more performant Bug: N/A Test: mma Test: presubmit Change-Id: I2c37deb03d1b1c34b0173bd741e55fce4de757f7