As required by vts.
It mimics trusty keymaster hal on the guest side.
i.e., to pass everything to host through pipe;
host will do all the real work.
If the host side does not support keymaster3,
it will fallback to software keymaster in the guest.
(bootable, but won't pass all the vts)
Test: Boot emulator image to home screen with KeymasterService3
working property in the guest. In addition, pass all
the keymaster VTS test
vts-tradefed run vts -m VtsHalKeymasterV3_0Target
(cherry picked from commit 264d7b77eb246b7db443fc994866afd3ef367ab5)
9 files changed