HomeSort by relevance Sort by last modified time
    Searched refs:JobStatus (Results 1 - 21 of 21) sorted by null

  /frameworks/base/services/core/java/com/android/server/job/
JobCompletedListener.java 19 import com.android.server.job.controllers.JobStatus;
30 void onJobCompleted(JobStatus jobStatus, boolean needsReschedule);
StateChangedListener.java 19 import com.android.server.job.controllers.JobStatus;
36 * @param jobStatus The state of the task which is to be run immediately. <strong>null
39 public void onRunJobNow(JobStatus jobStatus);
JobStore.java 38 import com.android.server.job.controllers.JobStatus;
124 * Add a job to the master list, persisting it if necessary. If the JobStatus already exists,
126 * @param jobStatus Job to add.
127 * @return Whether or not an equivalent JobStatus was replaced by this operation.
129 public boolean add(JobStatus jobStatus) {
130 boolean replaced = mJobSet.remove(jobStatus);
131 mJobSet.add(jobStatus);
132 if (jobStatus.isPersisted()) {
136 Slog.d(TAG, "Added job status to store: " + jobStatus);
    [all...]
JobSchedulerService.java 86 import com.android.server.job.controllers.JobStatus;
131 * {@link JobStatus#getServiceToken()}
140 final ArrayList<JobStatus> mPendingJobs = new ArrayList<>();
180 JobStatus[] mTmpAssignContextIdToJobMap = new JobStatus[MAX_JOB_CONTEXTS_COUNT];
462 List<JobStatus> jobsForUid;
553 JobStatus jobStatus = JobStatus.createFromJobInfo(job, uId, packageName, userId, tag);
563 if (DEBUG) Slog.d(TAG, "SCHEDULE: " + jobStatus.toShortString())
    [all...]
JobServiceContext.java 44 import com.android.server.job.controllers.JobStatus;
122 * Writes can only be done from the handler thread, or {@link #executeRunnableJob(JobStatus)}.
124 private JobStatus mRunningJob;
165 boolean executeRunnableJob(JobStatus job) {
225 JobStatus getRunningJob() {
226 final JobStatus job;
230 return job == null ? null : new JobStatus(job);
295 JobStatus runningJob;
582 final JobStatus completedJob;
JobPackageTracker.java 27 import com.android.server.job.controllers.JobStatus;
346 public void notePending(JobStatus job) {
352 public void noteNonpending(JobStatus job) {
358 public void noteActive(JobStatus job) {
369 public void noteInactive(JobStatus job) {
389 public float getLoadFactor(JobStatus job) {
  /frameworks/base/services/core/java/com/android/server/job/controllers/
StateController.java 50 public abstract void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob);
54 public void prepareForExecutionLocked(JobStatus jobStatus) {
59 public abstract void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob,
64 public void rescheduleForFailure(JobStatus newJob, JobStatus failureToReschedule)
    [all...]
TimeController.java 54 private final List<JobStatus> mTrackedJobs = new LinkedList<JobStatus>();
78 public void maybeStartTrackingJobLocked(JobStatus job, JobStatus lastJob) {
82 ListIterator<JobStatus> it = mTrackedJobs.listIterator(mTrackedJobs.size());
84 JobStatus ts = it.previous();
108 public void maybeStopTrackingJobLocked(JobStatus job, JobStatus incomingJob, boolean forUpdate) {
121 private boolean canStopTrackingJobLocked(JobStatus job) {
123 (job.satisfiedConstraints&JobStatus.CONSTRAINT_TIMING_DELAY) != 0) &
    [all...]
DeviceIdleJobsController.java 60 @Override public void process(JobStatus jobStatus) {
61 updateTaskStateLocked(jobStatus);
150 boolean isWhitelistedLocked(JobStatus job) {
159 private void updateTaskStateLocked(JobStatus task) {
166 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) {
168 updateTaskStateLocked(jobStatus);
173 public void maybeStopTrackingJobLocked(JobStatus jobStatus, JobStatus incomingJob, boolean forUpdate)
    [all...]
AppIdleController.java 52 @Override public void process(JobStatus jobStatus) {
53 String packageName = jobStatus.getSourcePackageName();
55 jobStatus.getSourceUid(), jobStatus.getSourceUserId());
59 if (jobStatus.setAppNotIdleConstraintSatisfied(!appIdle)) {
77 @Override public void process(JobStatus jobStatus) {
78 if (jobStatus.getSourcePackageName().equals(mPackage)
79 && jobStatus.getSourceUserId() == mUserId)
    [all...]
ConnectivityController.java 53 private final ArrayList<JobStatus> mTrackedJobs = new ArrayList<JobStatus>();
83 public void maybeStartTrackingJobLocked(JobStatus jobStatus, JobStatus lastJob) {
84 if (jobStatus.hasConnectivityConstraint() || jobStatus.hasUnmeteredConstraint()
85 || jobStatus.hasNotRoamingConstraint()) {
86 updateConstraintsSatisfied(jobStatus);
87 mTrackedJobs.add(jobStatus);
    [all...]
BatteryController.java 50 private List<JobStatus> mTrackedTasks = new ArrayList<JobStatus>();
82 public void maybeStartTrackingJobLocked(JobStatus taskStatus, JobStatus lastJob) {
91 public void maybeStopTrackingJobLocked(JobStatus taskStatus, JobStatus incomingJob, boolean forUpdate) {
104 for (JobStatus ts : mTrackedTasks) {
205 final JobStatus js = mTrackedTasks.get(i);
IdleController.java 43 final ArrayList<JobStatus> mTrackedTasks = new ArrayList<JobStatus>();
69 public void maybeStartTrackingJobLocked(JobStatus taskStatus, JobStatus lastJob) {
77 public void maybeStopTrackingJobLocked(JobStatus taskStatus, JobStatus incomingJob, boolean forUpdate) {
86 for (JobStatus task : mTrackedTasks) {
199 final JobStatus js = mTrackedTasks.get(i);
ContentObserverController.java 64 final private List<JobStatus> mTrackedTasks = new ArrayList<JobStatus>();
95 public void maybeStartTrackingJobLocked(JobStatus taskStatus, JobStatus lastJob) {
144 public void prepareForExecutionLocked(JobStatus taskStatus) {
157 public void maybeStopTrackingJobLocked(JobStatus taskStatus, JobStatus incomingJob,
198 public void rescheduleForFailure(JobStatus newJob, JobStatus failureToReschedule) {
263 final JobStatus mJobStatus
    [all...]
JobStatus.java 44 public final class JobStatus {
129 private JobStatus(JobInfo job, int callingUid, String sourcePackageName,
194 public JobStatus(JobStatus jobStatus) {
195 this(jobStatus.getJob(), jobStatus.getUid(),
196 jobStatus.getSourcePackageName(), jobStatus.getSourceUserId(),
197 jobStatus.getSourceTag(), jobStatus.getNumFailures()
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/job/
JobStoreTest.java 16 import com.android.server.job.controllers.JobStatus;
62 final JobStatus ts = JobStatus.createFromJobInfo(task, SOME_UID, null, -1, null);
70 final JobStatus loadedTaskStatus = jobStatusSet.getAllJobs().get(0);
95 final JobStatus taskStatus1 = JobStatus.createFromJobInfo(task1, SOME_UID, null, -1, null);
96 final JobStatus taskStatus2 = JobStatus.createFromJobInfo(task2, SOME_UID, null, -1, null);
104 Iterator<JobStatus> it = jobStatusSet.getAllJobs().iterator();
105 JobStatus loaded1 = it.next()
    [all...]
  /external/autotest/server/
frontend.py 307 job_statuses = [JobStatus(self, e) for e in entries]
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.core.jobs_3.5.1.R36x_v20100824.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.core.jobs_3.5.300.v20130429-1813.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.core.jobs_3.5.300.v20130429-1813.jar 
  /external/icu/tools/srcgen/currysrc/libs/
org.eclipse.core.jobs_3.7.0.v20150330-2103.jar 

Completed in 1979 milliseconds