public class TimeController extends StateController
DEBUG, mContext, mLock, mStateChangedListener
Modifier and Type | Method and Description |
---|---|
void |
dumpControllerStateLocked(PrintWriter pw,
int filterUid) |
static TimeController |
get(JobSchedulerService jms) |
void |
maybeStartTrackingJobLocked(JobStatus job,
JobStatus lastJob)
Check if the job has a timing constraint, and if so determine where to insert it in our
list.
|
void |
maybeStopTrackingJobLocked(JobStatus job,
JobStatus incomingJob,
boolean forUpdate)
When we stop tracking a job, we only need to update our alarms if the job we're no longer
tracking was the one our alarms were based off of.
|
prepareForExecutionLocked, rescheduleForFailure
public static TimeController get(JobSchedulerService jms)
public void maybeStartTrackingJobLocked(JobStatus job, JobStatus lastJob)
maybeStartTrackingJobLocked
in class StateController
public void maybeStopTrackingJobLocked(JobStatus job, JobStatus incomingJob, boolean forUpdate)
maybeStopTrackingJobLocked
in class StateController
public void dumpControllerStateLocked(PrintWriter pw, int filterUid)
dumpControllerStateLocked
in class StateController