• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

examples/25-Apr-2025-463288

include/25-Apr-2025-11347

src/25-Apr-2025-1,458998

test/25-Apr-2025-225138

.clang-formatD25-Apr-2025685 2519

Android.bpD25-Apr-2025147 65

LICENSED25-Apr-202511.1 KiB202169

MODULE_LICENSE_APACHE2D25-Apr-20250

PREUPLOAD.cfgD25-Apr-2025203 86

README.mdD25-Apr-20251.2 KiB3122

manifest.jsonD25-Apr-2025103 65

rules.mkD25-Apr-20251.9 KiB6638

usertests-inc.mkD25-Apr-2025724 204

README.md

1# ConfirmationUI Trusted App
2
3This is an implementation of the ConfirmationUI trusted application for Trusty.
4It is meant as a reference implementation for OEMs who want to implement ConfirmationUI or
5"Android Protected Confirmation" and use Trusty as TEE OS.
6
7## Dependencies
8
9 * Android platform/system/teeui
10 * libcxx
11 * freetype
12
13## Additional integration work
14
15You will need a touch controller driver or another trusted input method for the targeted platform.
16
17Included in this package is a sample layout as used by Pixel3(+) phones. For phones that use button
18on the right side of the phone this layout can be adjusted by configuring the context parameters.
19E.g.: (see TrustyConfirmationUI.cpp)
20    conv.setParam<RightEdgeOfScreen>(1440_px);
21    conv.setParam<BottomOfScreen>(2960_px);
22    conv.setParam<PowerButtonTop>(34.146_mm);
23    conv.setParam<PowerButtonBottom>(44.146_mm);
24    conv.setParam<VolUpButtonTop>(54.146_mm);
25    conv.setParam<VolUpButtonBottom>(64.146_mm);
26
27## Layouts
28
29A default example layout is provided in examples/layouts/. To override the layout with a vendor specific
30one, define CONFIRMATIONUI_LAYOUTS to point to the layouts library you want to link against.
31