Add BinaryTransparencyService as new SystemService.

Bug: 197684182

Created a new system service that aggregates information about:
1) signed partitions on device
2) APEXs installed on device
3) Modules installed on device

Introduces new adb shell commands as below:
adb shell cmd transparency get image_info [-a]
adb shell cmd transparency get apex_info [-v]
adb shell cmd transparency get module_info [-v]

Test: Built and tested locally on a bramble - the device boots.
Issuing adb shell commands as above provides correct outputs.

Change-Id: I2cae1bd794456688779c70c65b3f5ec8bcd7c6b3
This commit is contained in:
Billy Lau
2022-01-20 15:42:17 -08:00
parent 5a6ec22676
commit d1fb08be0a
10 changed files with 676 additions and 0 deletions

View File

@@ -28,6 +28,11 @@ filegroup {
srcs: ["com/android/internal/os/IDropBoxManagerService.aidl"],
}
filegroup {
name: "IBinaryTransparencyService.aidl",
srcs: ["com/android/internal/os/IBinaryTransparencyService.aidl"],
}
filegroup {
name: "ITracingServiceProxy.aidl",
srcs: ["android/tracing/ITracingServiceProxy.aidl"],