Check fs-verity status in app process.

- When serializing font map in system-server, record fs-verity status.
- When loading font file lazily in app process,
  - check if fs-verity should be enabled based on serialized font map.
  - if fs-verity should be enabled:
    - verify fs-verity bit of the file.
    - verify font revision from the OTF metadata.
    - verify PostScript name from the OTF metadata.

Bug: 176939176
Test: atest FrameworksCoreTests:TypefaceTest
Change-Id: I679918442094d66a1dbc4b1480b8e6fe26528a06
1 file changed