Merge "Create StatsBootstrapAtomService" am: e9f913aee8 am: c2566e6582 am: c74d9d6911
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1885469 Change-Id: Ia2fa8a3d576b41a0b55cbdd6dc29a3d3126e9cfa
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 =
|
||||
@@ -2488,6 +2490,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