/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobCountTrackerTest.java | 85 private void startPendingJobs(Jobs jobs, int totalMax, int maxBg, int minBg) { in startPendingJobs() argument 88 for (int i = 0; i < jobs.runningFg; i++) { in startPendingJobs() 91 for (int i = 0; i < jobs.runningBg; i++) { in startPendingJobs() 95 for (int i = 0; i < jobs.pendingFg; i++) { in startPendingJobs() 98 for (int i = 0; i < jobs.pendingBg; i++) { in startPendingJobs() 104 while ((jobs.pendingFg > 0 && mJobCountTracker.canJobStart(true)) in startPendingJobs() 105 || (jobs.pendingBg > 0 && mJobCountTracker.canJobStart(false))) { in startPendingJobs() 109 if (jobs.pendingFg > 0 && mJobCountTracker.canJobStart(true)) { in startPendingJobs() 110 jobs.pendingFg--; in startPendingJobs() 111 jobs.runningFg++; in startPendingJobs() [all …]
|
D | JobSetTest.java | 113 final ArraySet<JobStatus> jobs = map1.valueAt(i); in assertHaveSameJobs() local 114 if (jobs == null) return; in assertHaveSameJobs() 115 size1 += jobs.size(); in assertHaveSameJobs() 116 set1.addAll(jobs); in assertHaveSameJobs() 119 final ArraySet<JobStatus> jobs = map2.valueAt(i); in assertHaveSameJobs() local 120 if (jobs == null) return; in assertHaveSameJobs() 121 size1 -= jobs.size(); in assertHaveSameJobs() 122 set2.addAll(jobs); in assertHaveSameJobs() 134 final ArraySet<JobStatus> jobs = jobMap.valueAt(i); in dump() local 135 if (jobs == null) return; in dump() [all …]
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | ConnectivityController.java | 117 ArraySet<JobStatus> jobs = mTrackedJobs.get(jobStatus.getSourceUid()); in maybeStartTrackingJobLocked() local 118 if (jobs == null) { in maybeStartTrackingJobLocked() 119 jobs = new ArraySet<>(); in maybeStartTrackingJobLocked() 120 mTrackedJobs.put(jobStatus.getSourceUid(), jobs); in maybeStartTrackingJobLocked() local 122 jobs.add(jobStatus); in maybeStartTrackingJobLocked() 132 ArraySet<JobStatus> jobs = mTrackedJobs.get(jobStatus.getSourceUid()); in maybeStopTrackingJobLocked() local 133 if (jobs != null) { in maybeStopTrackingJobLocked() 134 jobs.remove(jobStatus); in maybeStopTrackingJobLocked() 187 ArraySet<JobStatus> jobs = mRequestedWhitelistJobs.get(uid); in requestStandbyExceptionLocked() local 188 if (jobs == null) { in requestStandbyExceptionLocked() [all …]
|
D | QuotaController.java | 611 ArraySet<JobStatus> jobs = mTrackedJobs.get(userId, pkgName); in maybeStartTrackingJobLocked() local 612 if (jobs == null) { in maybeStartTrackingJobLocked() 613 jobs = new ArraySet<>(); in maybeStartTrackingJobLocked() 614 mTrackedJobs.add(userId, pkgName, jobs); in maybeStartTrackingJobLocked() 616 jobs.add(jobStatus); in maybeStartTrackingJobLocked() 666 ArraySet<JobStatus> jobs = mTrackedJobs.get(jobStatus.getSourceUserId(), in maybeStopTrackingJobLocked() local 668 if (jobs != null) { in maybeStopTrackingJobLocked() 669 jobs.remove(jobStatus); in maybeStopTrackingJobLocked() 1265 ArraySet<JobStatus> jobs = mTrackedJobs.get(userId, packageName); in maybeUpdateConstraintForPkgLocked() local 1266 if (jobs == null || jobs.size() == 0) { in maybeUpdateConstraintForPkgLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobStore.java | 650 List<JobStatus> jobs; in run() local 653 jobs = readJobMapImpl(fis, rtcGood); in run() 654 if (jobs != null) { in run() 657 for (int i=0; i<jobs.size(); i++) { in run() 658 JobStatus js = jobs.get(i); in run() 710 final List<JobStatus> jobs = new ArrayList<JobStatus>(); in readJobMapImpl() local 734 jobs.add(persistedJob); in readJobMapImpl() 742 return jobs; in readJobMapImpl() 1066 ArraySet<JobStatus> jobs = mJobs.get(uid); in getJobsByUid() local 1067 if (jobs != null) { in getJobsByUid() [all …]
|
D | JobSchedulerService.java | 1087 List<JobStatus> jobs = mJobs.getJobsByUid(uid); in getPendingJobs() local 1088 ArrayList<JobInfo> outList = new ArrayList<JobInfo>(jobs.size()); in getPendingJobs() 1089 for (int i = jobs.size() - 1; i >= 0; i--) { in getPendingJobs() 1090 JobStatus job = jobs.get(i); in getPendingJobs() 1099 List<JobStatus> jobs = mJobs.getJobsByUid(uid); in getPendingJob() local 1100 for (int i = jobs.size() - 1; i >= 0; i--) { in getPendingJob() 1101 JobStatus job = jobs.get(i); in getPendingJob() 1544 void noteJobsPending(List<JobStatus> jobs) { in noteJobsPending() argument 1545 for (int i = jobs.size() - 1; i >= 0; i--) { in noteJobsPending() 1546 JobStatus job = jobs.get(i); in noteJobsPending() [all …]
|
/frameworks/base/core/proto/android/server/ |
D | jobscheduler.proto | 84 // UIDs that are currently performing backups, so their jobs won't be 102 // From a service that has currently active or pending jobs. 154 // Minimum # of idle jobs that must be ready in order to force the JMS to 157 // Minimum # of charging jobs that must be ready in order to force the JMS 160 // Minimum # of "battery not low" jobs that must be ready in order to force 163 // Minimum # of "storage not low" jobs that must be ready in order to force 166 // Minimum # of connectivity jobs that must be ready in order to force the 167 // JMS to schedule things early. 1 == Run connectivity jobs as soon as 170 // Minimum # of content trigger jobs that must be ready in order to force 173 // Minimum # of jobs (with no particular constraints) for which the JMS will [all …]
|
/frameworks/av/media/codec2/sfplugin/ |
D | C2OMXNode.cpp | 64 Mutexed<Jobs>::Locked jobs(mJobs); in queue() local 65 auto it = jobs->queues.try_emplace(comp, comp, systemTime()).first; in queue() 68 jobs->cond.broadcast(); in queue() 76 Mutexed<Jobs>::Locked jobs(mJobs); in threadLoop() local 79 for (auto it = jobs->queues.begin(); it != jobs->queues.end(); ) { in threadLoop() 88 it = jobs->queues.erase(it); in threadLoop() 102 jobs.unlock(); in threadLoop() 111 jobs.lock(); in threadLoop() 113 it = jobs->queues.upper_bound(comp); in threadLoop() 120 jobs.waitForConditionRelative(jobs->cond, kWaitNs); in threadLoop()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/jenkins/ |
D | make_test_output.py | 32 with open(basedir + "/joblog") as jobs: 33 firstline = next(jobs) 34 for line in jobs:
|
/frameworks/base/core/proto/android/service/ |
D | print.proto | 48 // The cached print jobs 74 // Print jobs 77 // Files used by these print jobs. These are auto-generated UUIDs that are 199 // Has the active service a active print jobs 344 // The print jobs is created, it is ready to be printed and should be processed
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsBackgroundStatsTest.java | 316 final ArrayMap<String, ? extends BatteryStats.Timer> jobs = in testJob() local 318 assertEquals(1, jobs.size()); in testJob() 319 BatteryStats.Timer timer = jobs.valueAt(0); in testJob()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 272 private void setStandbyBucket(int bucketIndex, JobStatus... jobs) { in setStandbyBucket() argument 274 for (JobStatus job : jobs) { in setStandbyBucket() 282 private void trackJobs(JobStatus... jobs) { in trackJobs() argument 283 for (JobStatus job : jobs) { in trackJobs()
|
/frameworks/base/core/proto/android/os/ |
D | batterystats.proto | 634 repeated Job jobs = 15; field
|
/frameworks/base/ |
D | Android.bp | 1440 // Since there's cron jobs that fetch offline-sdk-referenceonly-docs-docs.zip periodically. 1459 … // Since there's cron jobs that fetch offline-system-sdk-referenceonly-docs-docs.zip periodically.
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 740 // Number of jobs deferred.
|