Home
last modified time | relevance | path

Searched refs:getSourceUserId (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java442 jobStatus.getSourcePackageName(), jobStatus.getSourceUserId(), in JobStatus()
494 rescheduling.getSourcePackageName(), rescheduling.getSourceUserId(), in JobStatus()
709 public int getSourceUserId() { in getSourceUserId() method in JobStatus
1450 pw.print(" user="); pw.print(getSourceUserId()); in dump()
1666 proto.write(JobStatusDumpProto.SOURCE_USER_ID, getSourceUserId()); in dump()
DContentObserverController.java256 final int sourceUserId = jobStatus.getSourceUserId(); in JobInstance()
267 obs = new ObserverInstance(mHandler, uri, jobStatus.getSourceUserId()); in JobInstance()
DQuotaController.java607 final int userId = jobStatus.getSourceUserId(); in maybeStartTrackingJobLocked()
647 final int userId = jobStatus.getSourceUserId(); in prepareForExecutionLocked()
661 Timer timer = mPkgTimers.get(jobStatus.getSourceUserId(), in maybeStopTrackingJobLocked()
666 ArraySet<JobStatus> jobs = mTrackedJobs.get(jobStatus.getSourceUserId(), in maybeStopTrackingJobLocked()
763 jobStatus.getSourceUserId(), jobStatus.getSourcePackageName(), standbyBucket); in isWithinQuotaLocked()
805 return getRemainingExecutionTimeLocked(jobStatus.getSourceUserId(), in getRemainingExecutionTimeLocked()
1314 final int userId = jobStatus.getSourceUserId(); in accept()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java236 assertEquals("Source user not equal.", loaded.getSourceUserId(), in testWritingTaskWithSourcePackage()
237 taskStatus.getSourceUserId()); in testWritingTaskWithSourcePackage()
/frameworks/base/services/core/java/com/android/server/job/
DJobServiceContext.java284 final int jobUserId = job.getSourceUserId(); in executeRunnableJob()
DJobStore.java483 out.attribute(null, "sourceUserId", String.valueOf(jobStatus.getSourceUserId()));
1140 job -> !ArrayUtils.contains(whitelist, job.getSourceUserId()); in removeJobsOfNonUsers()
DJobSchedulerService.java1764 return heartbeatWhenJobsLastRun(job.getSourcePackageName(), job.getSourceUserId()); in heartbeatWhenJobsLastRun()
2209 boolean sourceStarted = ArrayUtils.contains(mStartedUsers, job.getSourceUserId()); in areUsersStartedLocked()
2210 if (job.getUserId() == job.getSourceUserId()) { in areUsersStartedLocked()
3144 if (!ArrayUtils.contains(mStartedUsers, js.getSourceUserId())) { in getJobState()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java277 eq(job.getSourcePackageName()), eq(job.getSourceUserId()), anyLong())) in setStandbyBucket()