Merge "Create StatsBootstrapAtomService" am: e9f913aee8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1885469 Change-Id: I9fe270fa5bffb2edd912ba59fbc6c002497e76b4
This commit is contained in:
@@ -264,6 +264,8 @@ public final class SystemServer implements Dumpable {
|
||||
"com.android.server.stats.StatsCompanion$Lifecycle";
|
||||
private static final String STATS_PULL_ATOM_SERVICE_CLASS =
|
||||
"com.android.server.stats.pull.StatsPullAtomService";
|
||||
private static final String STATS_BOOTSTRAP_ATOM_SERVICE_LIFECYCLE_CLASS =
|
||||
"com.android.server.stats.bootstrap.StatsBootstrapAtomService$Lifecycle";
|
||||
private static final String USB_SERVICE_CLASS =
|
||||
"com.android.server.usb.UsbService$Lifecycle";
|
||||
private static final String MIDI_SERVICE_CLASS =
|
||||
@@ -2483,6 +2485,11 @@ public final class SystemServer implements Dumpable {
|
||||
mSystemServiceManager.startService(STATS_PULL_ATOM_SERVICE_CLASS);
|
||||
t.traceEnd();
|
||||
|
||||
// Log atoms to statsd from bootstrap processes.
|
||||
t.traceBegin("StatsBootstrapAtomService");
|
||||
mSystemServiceManager.startService(STATS_BOOTSTRAP_ATOM_SERVICE_LIFECYCLE_CLASS);
|
||||
t.traceEnd();
|
||||
|
||||
// Incidentd and dumpstated helper
|
||||
t.traceBegin("StartIncidentCompanionService");
|
||||
mSystemServiceManager.startService(IncidentCompanionService.class);
|
||||
|
||||
Reference in New Issue
Block a user