public class IdleController extends StateController
DEBUG, mContext, mLock, mStateChangedListener
Modifier and Type | Method and Description |
---|---|
void |
dumpControllerStateLocked(PrintWriter pw,
int filterUid) |
static IdleController |
get(JobSchedulerService service) |
void |
maybeStartTrackingJobLocked(JobStatus taskStatus,
JobStatus lastJob)
StateController interface
|
void |
maybeStopTrackingJobLocked(JobStatus taskStatus,
JobStatus incomingJob,
boolean forUpdate)
Remove task - this will happen if the task is cancelled, completed, etc.
|
prepareForExecutionLocked, rescheduleForFailure
public static IdleController get(JobSchedulerService service)
public void maybeStartTrackingJobLocked(JobStatus taskStatus, JobStatus lastJob)
maybeStartTrackingJobLocked
in class StateController
public void maybeStopTrackingJobLocked(JobStatus taskStatus, JobStatus incomingJob, boolean forUpdate)
StateController
maybeStopTrackingJobLocked
in class StateController
public void dumpControllerStateLocked(PrintWriter pw, int filterUid)
dumpControllerStateLocked
in class StateController