commit | 74c2a1f474341798e2be6e3356a616a69334a8c3 | [log] [tgz] |
---|---|---|
author | Tri Vo <[email protected]> | Tue Feb 16 11:44:42 2021 -0800 |
committer | Tri Vo <[email protected]> | Thu Feb 18 15:58:30 2021 -0800 |
tree | 502fc99fea587cfced427f1d7b6599c80e73851f | |
parent | 83c1ee7392d501a013d5a02241cd2c03d16d246f [diff] |
[confirmationui] NS IPC using shared memory This simplifies the interace and removes packetization logic. Also, refactor event loop to use lib/tipc. Bug: 148421469 Test: VtsHalConfirmationUIV1_0TargetTest Change-Id: I33463acc7f280bf46b76e78fcbfeb8947a57c811
This is an implementation of the ConfirmationUI trusted application for Trusty. It is meant as a reference implementation for OEMs who want to implement ConfirmationUI or “Android Protected Confirmation” and use Trusty as TEE OS.
You will need a touch controller driver or another trusted input method for the targeted platform.
Included in this package is a sample layout as used by Pixel3(+) phones. For phones that use button on the right side of the phone this layout can be adjusted by configuring the context parameters. E.g.: (see TrustyConfirmationUI.cpp) conv.setParam(1440_px); conv.setParam(2960_px); conv.setParam(34.146_mm); conv.setParam(44.146_mm); conv.setParam(54.146_mm); conv.setParam(64.146_mm);
A default example layout is provided in examples/layouts/. To override the layout with a vendor specific one, define CONFIRMATIONUI_LAYOUTS to point to the layouts library you want to link against.