Permission support for diagnostics.

This creates two permissions for access to diagnostic data:
 - DIAGNOSTIC_READ, for read-only access to live and freeze frame data;
 - DIAGNOSTIC_CLEAR, for deleting DTC data from the car.

It also extends the meaning of PERMISSION_VENDOR_EXTENSION to mean being allowed to read vendor-specific diagnostic sensor data.

Test: build
Bug: 35435164
For O-MR1.

Change-Id: I046bf6ae4a7aa2b2570ea5657bff9e1ce86edbce
10 files changed