Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DPrefetchController.java154 final int userId = jobStatus.getSourceUserId(); in maybeStartTrackingJobLocked()
174 final int userId = jobStatus.getSourceUserId(); in maybeStopTrackingJobLocked()
217 final int userId = jobStatus.getSourceUserId(); in getNextEstimatedLaunchTimeLocked()
338 final int userId = jobStatus.getSourceUserId(); in updateConstraintLocked()
DQuotaController.java589 final int userId = jobStatus.getSourceUserId(); in maybeStartTrackingJobLocked()
634 final int userId = jobStatus.getSourceUserId(); in prepareForExecutionLocked()
649 Timer timer = mPkgTimers.get(jobStatus.getSourceUserId(), jobStatus.getSourcePackageName()); in unprepareFromExecutionLocked()
654 timer = mEJPkgTimers.get(jobStatus.getSourceUserId(), jobStatus.getSourcePackageName()); in unprepareFromExecutionLocked()
667 final int userId = jobStatus.getSourceUserId(); in maybeStopTrackingJobLocked()
799 jobStatus.getSourceUserId(), jobStatus.getSourcePackageName()); in getMaxJobExecutionTimeMsLocked()
809 jobStatus.getSourceUserId(), jobStatus.getSourcePackageName())); in getMaxJobExecutionTimeMsLocked()
814 jobStatus.getSourceUserId(), jobStatus.getSourcePackageName())); in getMaxJobExecutionTimeMsLocked()
819 jobStatus.getSourceUserId(), jobStatus.getSourcePackageName())); in getMaxJobExecutionTimeMsLocked()
822 jobStatus.getSourceUserId(), jobStatus.getSourcePackageName()); in getMaxJobExecutionTimeMsLocked()
[all …]
DContentObserverController.java280 final int sourceUserId = jobStatus.getSourceUserId(); in JobInstance()
291 obs = new ObserverInstance(mHandler, uri, jobStatus.getSourceUserId()); in JobInstance()
DJobStatus.java734 jobStatus.getSourcePackageName(), jobStatus.getSourceUserId(), in JobStatus()
796 rescheduling.getSourcePackageName(), rescheduling.getSourceUserId(), in JobStatus()
1152 public int getSourceUserId() { in getSourceUserId() method in JobStatus
1767 getSourceUserId(), getSourcePackageName(), in getUserVisibleJobSummary()
2694 pw.print(" user="); pw.print(getSourceUserId()); in dump()
3013 proto.write(JobStatusDumpProto.SOURCE_USER_ID, getSourceUserId()); in dump()
DFlexibilityController.java501 js.getSourceUserId(), js.getSourcePackageName())) in isFlexibilitySatisfiedLocked()
640 js.getSourceUserId(), js.getSourcePackageName(), 0L); in getLifeCycleBeginningElapsedLocked()
969 return js.getSourceUserId() == userId; in isForUser()
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DUserVisibleJobSummary.java80 public int getSourceUserId() { in getSourceUserId() method in UserVisibleJobSummary
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java477 assertEquals("Source user not equal.", loaded.getSourceUserId(), in testWritingTaskWithSourcePackage()
478 taskStatus.getSourceUserId()); in testWritingTaskWithSourcePackage()
876 assertEquals("Source user not equal", expected.getSourceUserId(), actual.getSourceUserId()); in assertJobsEqual()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobConcurrencyManager.java1151 nextPending.getSourceUserId(), nextPending.getSourcePackageName()); in determineAssignmentsLocked()
1169 nextPending.getSourceUserId(), nextPending.getSourcePackageName(), in determineAssignmentsLocked()
1504 mActivePkgStats.get(jobStatus.getSourceUserId(), jobStatus.getSourcePackageName()); in isPkgConcurrencyLimitedLocked()
1536 jobStatus.getSourceUserId(), jobStatus.getSourcePackageName()); in startJobLocked()
1551 jobStatus.getSourceUserId(), jobStatus.getSourcePackageName(), in startJobLocked()
1577 mActivePkgStats.get(jobStatus.getSourceUserId(), jobStatus.getSourcePackageName()); in onJobCompletedLocked()
2239 int userId = job.getSourceUserId(); in shouldRunAsFgUserJob()
2970 getPackageStatsForTesting(job.getSourceUserId(), job.getSourcePackageName()); in addRunningJobForTesting()
DJobServiceContext.java555 final int jobUserId = job.getSourceUserId(); in executeRunnableJob()
1015 + mRunningJob.getSourceUserId() + ":" + name.getPackageName()); in onBindingDied()
1032 + mRunningJob.getSourceUserId() + ":" + name.getPackageName()); in onNullBinding()
DJobStore.java858 out.attribute(null, "sourceUserId", String.valueOf(jobStatus.getSourceUserId()));
1881 job -> !ArrayUtils.contains(keepUserIds, job.getSourceUserId()); in removeJobsOfUnlistedUsers()
DJobSchedulerService.java2208 (job) -> job.getUserId() == userHandle || job.getSourceUserId() == userHandle,
3951 (job) -> job.getSourceUserId() == userId
3966 boolean sourceStarted = ArrayUtils.contains(mStartedUsers, job.getSourceUserId());
3967 if (job.getUserId() == job.getSourceUserId()) {
5725 if (!ArrayUtils.contains(mStartedUsers, js.getSourceUserId())) {
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobConcurrencyManagerTest.java703 topJob.getSourceUserId(), topJob.getSourcePackageName()); in testIsPkgConcurrencyLimited_top()
768 testReg.getSourceUserId(), testReg.getSourcePackageName()); in testIsPkgConcurrencyLimited()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DFlexibilityControllerTest.java1776 .get(js.getSourceUserId(), js.getSourcePackageName())); in testOnPrefetchCacheUpdated()
1882 .getOrDefault(js.getSourceUserId(), js.getSourcePackageName(), 0L)); in testUidUpdatesLifeCycle()
1890 .mPrefetchLifeCycleStart.get(js.getSourceUserId(), js.getSourcePackageName())); in testUidUpdatesLifeCycle()
DQuotaControllerTest.java367 eq(job.getSourcePackageName()), eq(job.getSourceUserId()), anyLong())) in setStandbyBucket()
/frameworks/base/services/
Dart-profile1830 HSPLcom/android/server/job/controllers/JobStatus;->getSourceUserId()I
Dart-wear-profile13297 HPLcom/android/server/job/controllers/JobStatus;->getSourceUserId()I