/frameworks/base/services/core/java/com/android/server/job/controllers/ |
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...] |
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...] |
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...] |
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...] |
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...] |
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...] |
/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]; 473 List<JobStatus> jobsForUid; 564 JobStatus jobStatus = JobStatus.createFromJobInfo(job, uId, packageName, userId, tag); 574 if (DEBUG) Slog.d(TAG, "SCHEDULE: " + jobStatus.toShortString()) [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...] |
/hardware/qcom/camera/QCamera2/HAL/ |
QCamera2HWI.h | 730 uint32_t dequeueDeferredWork(DefWork* dw, int32_t jobStatus);
|
QCamera2HWI.cpp | [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.p2.ui.sdk.scheduler_1.0.0.v20100507-1815.jar | |
/hardware/qcom/camera/msmcobalt/QCamera2/HAL/ |
QCamera2HWI.h | 749 uint32_t dequeueDeferredWork(DefWork* dw, int32_t jobStatus); [all...] |
QCamera2HWI.cpp | [all...] |