/frameworks/base/core/java/com/android/internal/infra/ |
D | ServiceConnector.java | 73 boolean run(@NonNull VoidJob<I> job); in run() 97 AndroidFuture<Void> post(@NonNull VoidJob<I> job); in post() 108 <R> AndroidFuture<R> postForResult(@NonNull Job<I, R> job); in postForResult() 125 <R> AndroidFuture<R> postAsync(@NonNull Job<I, CompletableFuture<R>> job); in postAsync() 339 public boolean run(@NonNull VoidJob<I> job) { in run() 348 public AndroidFuture<Void> post(@NonNull VoidJob<I> job) { in post() 353 public <R> CompletionAwareJob<I, R> postForResult(@NonNull Job<I, R> job) { in postForResult() 361 public <R> AndroidFuture<R> postAsync(@NonNull Job<I, CompletableFuture<R>> job) { in postAsync() 392 private boolean enqueue(@NonNull Job<I, ?> job) { in enqueue() 397 void enqueueJobThread(@NonNull Job<I, ?> job) { in enqueueJobThread() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobSchedulerServiceTest.java | 213 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_insideWindow", in testGetRescheduleJobForPeriodic_minPeriod() local 242 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_insideWindow", in testGetRescheduleJobForPeriodic_largePeriod() local 263 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_insideWindow", in testGetRescheduleJobForPeriodic_insideWindow() local 471 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_insideWindow_flex", in testGetRescheduleJobForPeriodic_insideWindow_flex() local 512 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_insideWindow_failedJob", in testGetRescheduleJobForPeriodic_insideWindow_failedJob() local 556 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_outsideWindow", in testGetRescheduleJobForPeriodic_outsideWindow() local 589 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_outsideWindow_flex", in testGetRescheduleJobForPeriodic_outsideWindow_flex() local 633 JobStatus job = createJobStatus("testGetRescheduleJobForPeriodic_outsideWindow_failedJob", in testGetRescheduleJobForPeriodic_outsideWindow_failedJob() local 668 JobStatus job = createJobStatus( in testGetRescheduleJobForPeriodic_outsideWindow_flex_failedJob() local 721 JobStatus job = createJobStatus( in testRareJobBatching() local [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | JobStatusTest.java | 232 final JobStatus job = createJobStatus( in testWouldBeReadyWithConstraint_NonRequestedConstraints() local 262 final JobStatus job = createJobStatus(jobInfo); in testWouldBeReadyWithConstraint_RequestedCharging() local 283 final JobStatus job = createJobStatus(jobInfo); in testWouldBeReadyWithConstraint_RequestedDeviceIdle() local 304 final JobStatus job = createJobStatus(jobInfo); in testWouldBeReadyWithConstraint_RequestedBatteryNotLow() local 325 final JobStatus job = createJobStatus(jobInfo); in testWouldBeReadyWithConstraint_RequestedStorageNotLow() local 346 final JobStatus job = createJobStatus(jobInfo); in testWouldBeReadyWithConstraint_RequestedTimingDelay() local 367 final JobStatus job = createJobStatus(jobInfo); in testWouldBeReadyWithConstraint_RequestedOverrideDeadline() local 388 final JobStatus job = createJobStatus(jobInfo); in testWouldBeReadyWithConstraint_RequestedConnectivity() local 411 final JobStatus job = createJobStatus(jobInfo); in testWouldBeReadyWithConstraint_RequestedContentTrigger() local 436 final JobStatus job = createJobStatus(jobInfo); in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline() local [all …]
|
D | ConnectivityControllerTest.java | 151 final JobInfo.Builder job = createJob() in testUsable() local 236 final JobInfo.Builder job = createJob() in testInsane() local 261 final JobInfo.Builder job = createJob() in testCongestion() local 291 final JobInfo.Builder job = createJob() in testRelaxed() local 721 private static JobStatus createJobStatus(JobInfo.Builder job) { in createJobStatus() 725 private static JobStatus createJobStatus(JobInfo.Builder job, int uid) { in createJobStatus() 729 private static JobStatus createJobStatus(JobInfo.Builder job, in createJobStatus() 735 private static JobStatus createJobStatus(JobInfo.Builder job, int uid, in createJobStatus()
|
D | StateControllerTest.java | 146 JobStatus job = spy(createJobStatus("testWouldBeReadyWithConstraintLocked", 1)); in testWouldBeReadyWithConstraintLocked() local
|
D | QuotaControllerTest.java | 1310 JobStatus job = createJobStatus("testGetMaxJobExecutionTimeLocked", 0); in testGetMaxJobExecutionTimeLocked_Regular() local 1348 JobStatus job = createJobStatus("testGetMaxJobExecutionTimeLocked_Regular_Active", 0); in testGetMaxJobExecutionTimeLocked_Regular_Active() local 1392 JobStatus job = createExpeditedJobStatus("testGetMaxJobExecutionTimeLocked_EJ", 0); in testGetMaxJobExecutionTimeLocked_EJ() local 3833 JobStatus job = createJobStatus("testStartAlarmScheduled_JobCount_AllowedTime", i); in testStartAlarmScheduled_JobCount_RateLimitingWindow() local 3899 JobStatus job = createJobStatus( in testStartAlarmScheduled_TimingSessionCount_RateLimitingWindow() local
|
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/ |
D | IJobScheduler.aidl | 29 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()
|
D | JobScheduler.java | 127 public abstract @Result int schedule(@NonNull JobInfo job); in schedule() 174 public abstract @Result int enqueue(@NonNull JobInfo job, @NonNull JobWorkItem work); in enqueue() 188 public abstract @Result int scheduleAsPackage(@NonNull JobInfo job, @NonNull String packageName, in scheduleAsPackage()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | TimeController.java | 84 public void maybeStartTrackingJobLocked(JobStatus job, JobStatus lastJob) { in maybeStartTrackingJobLocked() 140 public void maybeStopTrackingJobLocked(JobStatus job, JobStatus incomingJob, in maybeStopTrackingJobLocked() 151 public void evaluateStateLocked(JobStatus job) { in evaluateStateLocked() 197 private boolean canStopTrackingJobLocked(JobStatus job) { in canStopTrackingJobLocked() 224 JobStatus job = it.next(); in checkExpiredDeadlinesAndResetAlarm() local 256 private boolean evaluateDeadlineConstraint(JobStatus job, long nowElapsedMillis) { in evaluateDeadlineConstraint() 283 final JobStatus job = it.next(); in checkExpiredDelaysAndResetAlarm() local 332 private boolean evaluateTimingDelayConstraint(JobStatus job, long nowElapsedMillis) { in evaluateTimingDelayConstraint()
|
D | DeviceIdleJobsController.java | 195 boolean isWhitelistedLocked(JobStatus job) { in isWhitelistedLocked() 203 boolean isTempWhitelistedLocked(JobStatus job) { in isTempWhitelistedLocked()
|
D | ConnectivityController.java | 347 public boolean isNetworkAvailable(JobStatus job) { in isNetworkAvailable() 371 void requestStandbyExceptionLocked(JobStatus job) { in requestStandbyExceptionLocked() 464 void maybeRevokeStandbyExceptionLocked(final JobStatus job) { in maybeRevokeStandbyExceptionLocked() 769 JobStatus job = jobs.valueAt(j); in maybeAdjustRegisteredCallbacksLocked() local
|
D | JobStatus.java | 178 final JobInfo job; field in JobStatus 456 private JobStatus(JobInfo job, int callingUid, String sourcePackageName, in JobStatus() 580 public JobStatus(JobInfo job, int callingUid, String sourcePkgName, int sourceUserId, in JobStatus() 626 public static JobStatus createFromJobInfo(JobInfo job, int callingUid, String sourcePkg, in createFromJobInfo()
|
/frameworks/base/apex/jobscheduler/framework/java/android/app/ |
D | JobSchedulerImpl.java | 45 public int schedule(JobInfo job) { in schedule() 54 public int enqueue(JobInfo job, JobWorkItem work) { in enqueue() 63 public int scheduleAsPackage(JobInfo job, String packageName, int userId, String tag) { in scheduleAsPackage()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | DispatchThread.java | 50 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/tests/servicestests/src/com/android/server/job/ |
D | PrioritySchedulingTest.java | 61 JobInfo job = new JobInfo.Builder(100 + i, kJobServiceComponent) in testLowerPriorityJobPreempted() local 92 JobInfo job = new JobInfo.Builder(100 + i, kJobServiceComponent) in testHigherPriorityJobNotPreempted() local
|
D | JobSetTest.java | 138 final JobStatus job = jobs.valueAt(j); in dump() local
|
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/ |
D | BlobStoreIdleJobService.java | 60 final JobInfo job = new JobInfo.Builder(IDLE_JOB_ID, in schedule() local
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/restrictions/ |
D | ThermalStatusRestriction.java | 61 public boolean isJobRestricted(JobStatus job) { in isJobRestricted()
|
D | JobRestriction.java | 63 public abstract boolean isJobRestricted(JobStatus job); in isJobRestricted()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | ProvisionObserver.java | 103 final JobInfo job = new JobInfo.Builder(jobId, in isDeferredForProvision() local
|
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/ |
D | TestJobService.java | 121 public void scheduleJob(JobInfo job) { in scheduleJob()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobPackageTracker.java | 467 public void notePending(JobStatus job) { in notePending() 474 public void noteNonpending(JobStatus job) { in noteNonpending() 480 public void noteActive(JobStatus job) { in noteActive() 493 public void noteInactive(JobStatus job, int stopReason, String debugReason) { in noteInactive() 515 public float getLoadFactor(JobStatus job) { in getLoadFactor()
|
D | JobStore.java | 1204 public boolean add(JobStatus job) { in add() 1226 public boolean remove(JobStatus job) { in remove() 1279 public boolean contains(JobStatus job) { in contains() 1289 JobStatus job = jobs.valueAt(i); in get() local 1335 JobStatus job = jobs.valueAt(i); in countJobsForUid() local
|
D | JobConcurrencyManager.java | 474 boolean isJobRunningLocked(JobStatus job) { in isJobRunningLocked() 612 JobStatus job = contextIdToJobMap[j]; in assignJobsToContextsInternalLocked() local 1216 boolean shouldRunAsFgUserJob(JobStatus job) { in shouldRunAsFgUserJob()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleDataRepository.kt | 47 private var job: Job? = null in <lambda>() variable
|