Searched refs:getSourceUserId (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | JobStatus.java | 442 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()
|
D | ContentObserverController.java | 256 final int sourceUserId = jobStatus.getSourceUserId(); in JobInstance() 267 obs = new ObserverInstance(mHandler, uri, jobStatus.getSourceUserId()); in JobInstance()
|
D | QuotaController.java | 607 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/ |
D | JobStoreTest.java | 236 assertEquals("Source user not equal.", loaded.getSourceUserId(), in testWritingTaskWithSourcePackage() 237 taskStatus.getSourceUserId()); in testWritingTaskWithSourcePackage()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobServiceContext.java | 284 final int jobUserId = job.getSourceUserId(); in executeRunnableJob()
|
D | JobStore.java | 483 out.attribute(null, "sourceUserId", String.valueOf(jobStatus.getSourceUserId())); 1140 job -> !ArrayUtils.contains(whitelist, job.getSourceUserId()); in removeJobsOfNonUsers()
|
D | JobSchedulerService.java | 1764 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/ |
D | QuotaControllerTest.java | 277 eq(job.getSourcePackageName()), eq(job.getSourceUserId()), anyLong())) in setStandbyBucket()
|