Loading core/proto/android/server/jobscheduler.proto +1 −0 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ message JobSchedulerServiceDumpProto { repeated int32 next_heartbeat = 15; optional int64 last_heartbeat_time_millis = 16; optional int64 next_heartbeat_time_millis = 17; optional bool in_parole = 18; repeated int32 started_users = 2; Loading services/core/java/com/android/server/job/JobSchedulerService.java +4 −0 Original line number Diff line number Diff line Loading @@ -3036,6 +3036,9 @@ public class JobSchedulerService extends com.android.server.SystemService TimeUtils.formatDuration(mLastHeartbeatTime + mConstants.STANDBY_HEARTBEAT_TIME, nowElapsed, pw); pw.println(); pw.print(" In parole?: "); pw.print(mInParole); pw.println(); pw.println(); pw.println("Started users: " + Arrays.toString(mStartedUsers)); Loading Loading @@ -3210,6 +3213,7 @@ public class JobSchedulerService extends com.android.server.SystemService mLastHeartbeatTime - nowUptime); proto.write(JobSchedulerServiceDumpProto.NEXT_HEARTBEAT_TIME_MILLIS, mLastHeartbeatTime + mConstants.STANDBY_HEARTBEAT_TIME - nowUptime); proto.write(JobSchedulerServiceDumpProto.IN_PAROLE, mInParole); for (int u : mStartedUsers) { proto.write(JobSchedulerServiceDumpProto.STARTED_USERS, u); Loading Loading
core/proto/android/server/jobscheduler.proto +1 −0 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ message JobSchedulerServiceDumpProto { repeated int32 next_heartbeat = 15; optional int64 last_heartbeat_time_millis = 16; optional int64 next_heartbeat_time_millis = 17; optional bool in_parole = 18; repeated int32 started_users = 2; Loading
services/core/java/com/android/server/job/JobSchedulerService.java +4 −0 Original line number Diff line number Diff line Loading @@ -3036,6 +3036,9 @@ public class JobSchedulerService extends com.android.server.SystemService TimeUtils.formatDuration(mLastHeartbeatTime + mConstants.STANDBY_HEARTBEAT_TIME, nowElapsed, pw); pw.println(); pw.print(" In parole?: "); pw.print(mInParole); pw.println(); pw.println(); pw.println("Started users: " + Arrays.toString(mStartedUsers)); Loading Loading @@ -3210,6 +3213,7 @@ public class JobSchedulerService extends com.android.server.SystemService mLastHeartbeatTime - nowUptime); proto.write(JobSchedulerServiceDumpProto.NEXT_HEARTBEAT_TIME_MILLIS, mLastHeartbeatTime + mConstants.STANDBY_HEARTBEAT_TIME - nowUptime); proto.write(JobSchedulerServiceDumpProto.IN_PAROLE, mInParole); for (int u : mStartedUsers) { proto.write(JobSchedulerServiceDumpProto.STARTED_USERS, u); Loading