191940036b
This service manager is registered by Keystore 2.0 to lookup legacy wrapper services. Keystore 2.0 is now written in rust. We have AIDL binding for rust but no HIDL binding. Keystore 2.0 has to support legacy HIDL based interfaces. So we implement the AIDL KeyMint interface in terms of the legacy HIDL Keymaster <= V4.1 devices in C++. This wrapper is linked into the Keystore 2.0 process but it cannot be called directly but must be treated like a remote binder instead. However, we cannot register these wrappers directly, because a) we are not a vendor component, and b) it would conflict with genuine KeyMint devices on newer devices. So Instead we register Keystore 2.0 itself as a legacy service provider. Which it can query itself for the legacy wrappers if it does not find a genuine KeyMint implementation to connect to. Bug: 171351607 Test: Keystore 2.0 can register this Service and lookup legacy wrapper services. Change-Id: I935f23837721ce126531236f4920dba469a47be4 |
||
---|---|---|
.. | ||
26.0 | ||
27.0 | ||
28.0 | ||
29.0 | ||
30.0 |