Home
last modified time | relevance | path

Searched defs:job (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DJobStatusTest.java123 final JobStatus job = createJobStatus( in testWouldBeReadyWithConstraint_NonRequestedConstraints() local
153 final JobStatus job = createJobStatus(jobInfo); in testWouldBeReadyWithConstraint_RequestedCharging() local
174 final JobStatus job = createJobStatus(jobInfo); in testWouldBeReadyWithConstraint_RequestedDeviceIdle() local
195 final JobStatus job = createJobStatus(jobInfo); in testWouldBeReadyWithConstraint_RequestedBatteryNotLow() local
216 final JobStatus job = createJobStatus(jobInfo); in testWouldBeReadyWithConstraint_RequestedStorageNotLow() local
237 final JobStatus job = createJobStatus(jobInfo); in testWouldBeReadyWithConstraint_RequestedTimingDelay() local
258 final JobStatus job = createJobStatus(jobInfo); in testWouldBeReadyWithConstraint_RequestedOverrideDeadline() local
279 final JobStatus job = createJobStatus(jobInfo); in testWouldBeReadyWithConstraint_RequestedConnectivity() local
302 final JobStatus job = createJobStatus(jobInfo); in testWouldBeReadyWithConstraint_RequestedContentTrigger() local
327 final JobStatus job = createJobStatus(jobInfo); in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline() local
[all …]
DConnectivityControllerTest.java136 final JobInfo.Builder job = createJob() in testInsane() local
153 final JobInfo.Builder job = createJob() in testCongestion() local
180 final JobInfo.Builder job = createJob() in testRelaxed() local
565 private static JobStatus createJobStatus(JobInfo.Builder job) { in createJobStatus()
569 private static JobStatus createJobStatus(JobInfo.Builder job, int uid) { in createJobStatus()
573 private static JobStatus createJobStatus(JobInfo.Builder job, in createJobStatus()
579 private static JobStatus createJobStatus(JobInfo.Builder job, int uid, in createJobStatus()
DTimeControllerTest.java138 private JobStatus createJobStatus(String testTag, JobInfo.Builder job) { in createJobStatus()
536 JobStatus job = createJobStatus( in testJobDelayWakeupAlarmToggling() local
802 JobStatus job = createJobStatus("testEvaluateStateLocked_SkippingOff", in testEvaluateStateLocked_SkippingOff() local
DStateControllerTest.java146 JobStatus job = spy(createJobStatus("testWouldBeReadyWithConstraintLocked", 1)); in testWouldBeReadyWithConstraintLocked() local
DQuotaControllerTest.java2537 JobStatus job = createJobStatus("testStartAlarmScheduled_JobCount_AllowedTime", i); in testStartAlarmScheduled_JobCount_RateLimitingWindow() local
2592 JobStatus job = createJobStatus( in testStartAlarmScheduled_TimingSessionCount_RateLimitingWindow() local
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobSchedulerServiceTest.java172 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_insideWindow", in testGetRescheduleJobForPeriodic_minPeriod() local
201 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_insideWindow", in testGetRescheduleJobForPeriodic_largePeriod() local
222 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_insideWindow", in testGetRescheduleJobForPeriodic_insideWindow() local
430 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_insideWindow_flex", in testGetRescheduleJobForPeriodic_insideWindow_flex() local
471 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_insideWindow_failedJob", in testGetRescheduleJobForPeriodic_insideWindow_failedJob() local
515 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_outsideWindow", in testGetRescheduleJobForPeriodic_outsideWindow() local
548 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_outsideWindow_flex", in testGetRescheduleJobForPeriodic_outsideWindow_flex() local
592 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_outsideWindow_failedJob", in testGetRescheduleJobForPeriodic_outsideWindow_failedJob() local
627 JobStatus job = createJobStatus( in testGetRescheduleJobForPeriodic_outsideWindow_flex_failedJob() local
/frameworks/base/core/java/android/app/job/
DIJobScheduler.aidl29 int schedule(in JobInfo job); in schedule()
30 int enqueue(in JobInfo job, in JobWorkItem work); in enqueue()
31 int scheduleAsPackage(in JobInfo job, String packageName, int userId, String tag); in scheduleAsPackage()
DJobScheduler.java91 public abstract @Result int schedule(@NonNull JobInfo job); in schedule()
128 public abstract @Result int enqueue(@NonNull JobInfo job, @NonNull JobWorkItem work); in enqueue()
141 public abstract @Result int scheduleAsPackage(@NonNull JobInfo job, @NonNull String packageName, in scheduleAsPackage()
/frameworks/base/core/java/android/app/
DJobSchedulerImpl.java41 public int schedule(JobInfo job) { in schedule()
50 public int enqueue(JobInfo job, JobWorkItem work) { in enqueue()
59 public int scheduleAsPackage(JobInfo job, String packageName, int userId, String tag) { in scheduleAsPackage()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DDispatchThread.java50 public void runJob(Runnable job) { in runJob()
73 public void runJobSync(final Runnable job, Object waitLock, long timeoutMs, String jobMsg) { in runJobSync()
112 Runnable job = null; in run() local
/frameworks/base/services/core/java/com/android/server/job/controllers/
DTimeController.java99 public void maybeStartTrackingJobLocked(JobStatus job, JobStatus lastJob) { in maybeStartTrackingJobLocked()
159 public void maybeStopTrackingJobLocked(JobStatus job, JobStatus incomingJob, in maybeStopTrackingJobLocked()
170 public void evaluateStateLocked(JobStatus job) { in evaluateStateLocked()
224 private boolean canStopTrackingJobLocked(JobStatus job) { in canStopTrackingJobLocked()
251 JobStatus job = it.next(); in checkExpiredDeadlinesAndResetAlarm() local
285 private boolean evaluateDeadlineConstraint(JobStatus job, long nowElapsedMillis) { in evaluateDeadlineConstraint()
312 final JobStatus job = it.next(); in checkExpiredDelaysAndResetAlarm() local
363 private boolean evaluateTimingDelayConstraint(JobStatus job, long nowElapsedMillis) { in evaluateTimingDelayConstraint()
DDeviceIdleJobsController.java193 boolean isWhitelistedLocked(JobStatus job) { in isWhitelistedLocked()
201 boolean isTempWhitelistedLocked(JobStatus job) { in isTempWhitelistedLocked()
DConnectivityController.java158 public boolean isNetworkAvailable(JobStatus job) { in isNetworkAvailable()
183 void requestStandbyExceptionLocked(JobStatus job) { in requestStandbyExceptionLocked()
273 void maybeRevokeStandbyExceptionLocked(final JobStatus job) { in maybeRevokeStandbyExceptionLocked()
DJobStatus.java127 final JobInfo job; field in JobStatus
365 private JobStatus(JobInfo job, int callingUid, int targetSdkVersion, String sourcePackageName, in JobStatus()
464 public JobStatus(JobInfo job, int callingUid, String sourcePkgName, int sourceUserId, in JobStatus()
509 public static JobStatus createFromJobInfo(JobInfo job, int callingUid, String sourcePkg, in createFromJobInfo()
1439 private static int resolveTargetSdkVersion(JobInfo job) { in resolveTargetSdkVersion()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java995 public int scheduleAsPackage(JobInfo job, JobWorkItem work, int uId, String packageName, in scheduleAsPackage()
1090 JobStatus job = jobs.get(i); in getPendingJobs() local
1101 JobStatus job = jobs.get(i); in getPendingJob() local
1135 final JobStatus job = jobsForUid.get(i); in cancelJobsForPackageAndUid() local
1268 final JobStatus job = jsc.getRunningJobLocked(); in reportActiveLocked() local
1462 mJobs.forEachJob((job) -> { in onBootPhase() argument
1516 private boolean stopJobOnServiceContextLocked(JobStatus job, int reason, String debugReason) { in stopJobOnServiceContextLocked()
1533 private boolean isCurrentlyActiveLocked(JobStatus job) { in isCurrentlyActiveLocked()
1546 JobStatus job = jobs.get(i); in noteJobsPending() local
1553 JobStatus job = jobs.get(i); in noteJobsNonpending() local
[all …]
DJobPackageTracker.java453 public void notePending(JobStatus job) { in notePending()
460 public void noteNonpending(JobStatus job) { in noteNonpending()
466 public void noteActive(JobStatus job) { in noteActive()
479 public void noteInactive(JobStatus job, int stopReason, String debugReason) { in noteInactive()
501 public float getLoadFactor(JobStatus job) { in getLoadFactor()
DJobStore.java1087 public boolean add(JobStatus job) { in add()
1109 public boolean remove(JobStatus job) { in remove()
1171 public boolean contains(JobStatus job) { in contains()
1181 JobStatus job = jobs.valueAt(i); in get() local
1227 JobStatus job = jobs.valueAt(i); in countJobsForUid() local
DJobConcurrencyManager.java207 private boolean isFgJob(JobStatus job) { in isFgJob()
348 JobStatus job = contextIdToJobMap[j]; in assignJobsToContextsInternalLocked() local
DJobServiceContext.java199 boolean executeRunnableJob(JobStatus job) { in executeRunnableJob()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DProvisionObserver.java103 final JobInfo job = new JobInfo.Builder(jobId, in isDeferredForProvision() local
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/
DTestJobService.java121 public void scheduleJob(JobInfo job) { in scheduleJob()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobSetTest.java138 final JobStatus job = jobs.valueAt(j); in dump() local
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupManagerServiceTest.java1081 FullBackupJob job = new FullBackupJob(); in testBeginFullBackup_onRegisteredUser_callsMethodForUser() local
1092 FullBackupJob job = new FullBackupJob(); in testBeginFullBackup_onUnknownUser_doesNotPropagateCall() local
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp574 status_t CCodec::tryAndReportOnError(std::function<status_t()> job) { in tryAndReportOnError()
/frameworks/base/core/proto/android/server/
Djobscheduler.proto129 oneof job { oneof