Home
last modified time | relevance | path

Searched refs:executingWork (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java473 public ArrayList<JobWorkItem> executingWork; field in JobStatus
747 if (jobStatus.executingWork != null && jobStatus.executingWork.size() > 0) { in JobStatus()
748 executingWork = new ArrayList<>(jobStatus.executingWork); in JobStatus()
920 if (executingWork == null) { in dequeueWorkLocked()
921 executingWork = new ArrayList<>(); in dequeueWorkLocked()
923 executingWork.add(work); in dequeueWorkLocked()
934 final int executingCount = executingWork == null ? 0 : executingWork.size(); in getWorkCount()
943 return executingWork != null && executingWork.size() > 0; in hasExecutingWorkLocked()
957 if (executingWork != null) { in completeWorkLocked()
958 final int N = executingWork.size(); in completeWorkLocked()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java842 jobStatus.executingWork = new ArrayList<>(List.of(item1, item2)); in testJobWorkItems()
897 if (expected.executingWork != null) { in assertJobsEqual()
898 allWork.addAll(expected.executingWork); in assertJobsEqual()
905 assertTrue(ArrayUtils.isEmpty(actual.executingWork)); in assertJobsEqual()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobStore.java1020 writeJobWorkItemListToXml(out, jobStatus.executingWork);