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:
@@ -1456,6 +1456,10 @@ public final class SystemServer implements Dumpable {
|
||||
mSystemServiceManager.startService(KeyChainSystemService.class);
|
||||
t.traceEnd();
|
||||
|
||||
t.traceBegin("StartBinaryTransparencyService");
|
||||
mSystemServiceManager.startService(BinaryTransparencyService.class);
|
||||
t.traceEnd();
|
||||
|
||||
t.traceBegin("StartSchedulingPolicyService");
|
||||
ServiceManager.addService("scheduling_policy", new SchedulingPolicyService());
|
||||
t.traceEnd();
|
||||
|
||||
Reference in New Issue
Block a user