Home
last modified time | relevance | path

Searched refs:getSourceUid (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/job/controllers/
DConnectivityController.java117 ArraySet<JobStatus> jobs = mTrackedJobs.get(jobStatus.getSourceUid()); in maybeStartTrackingJobLocked()
120 mTrackedJobs.put(jobStatus.getSourceUid(), jobs); in maybeStartTrackingJobLocked()
132 ArraySet<JobStatus> jobs = mTrackedJobs.get(jobStatus.getSourceUid()); in maybeStopTrackingJobLocked()
184 final int uid = job.getSourceUid(); in requestStandbyExceptionLocked()
274 final int uid = job.getSourceUid(); in maybeRevokeStandbyExceptionLocked()
413 final Network network = mConnManager.getActiveNetworkForUid(jobStatus.getSourceUid()); in updateConstraintsSatisfied()
424 jobStatus.getSourceUid(), ignoreBlocked); in updateConstraintsSatisfied()
481 final Network network = mConnManager.getActiveNetworkForUid(jobs.valueAt(0).getSourceUid()); in updateTrackedJobsLocked()
628 UserHandle.formatUid(pw, js.getSourceUid()); in dumpControllerStateLocked()
655 js.getSourceUid()); in dumpControllerStateLocked()
DDeviceIdleJobsController.java195 UserHandle.getAppId(job.getSourceUid())) >= 0; in isWhitelistedLocked()
203 UserHandle.getAppId(job.getSourceUid())); in isTempWhitelistedLocked()
208 && (mForegroundUids.get(task.getSourceUid()) || isTempWhitelistedLocked(task)); in updateTaskStateLocked()
240 UserHandle.formatUid(pw, jobStatus.getSourceUid()); in dumpControllerStateLocked()
269 proto.write(TrackedJob.SOURCE_UID, jobStatus.getSourceUid()); in dumpControllerStateLocked()
DBackgroundJobsController.java84 final int uid = jobStatus.getSourceUid(); in dumpControllerStateLocked()
126 final int sourceUid = jobStatus.getSourceUid(); in dumpControllerStateLocked()
191 final int uid = jobStatus.getSourceUid(); in updateSingleJobRestrictionLocked()
DIdleController.java111 UserHandle.formatUid(pw, js.getSourceUid()); in dumpControllerStateLocked()
132 js.getSourceUid()); in dumpControllerStateLocked()
DStorageController.java169 UserHandle.formatUid(pw, js.getSourceUid()); in dumpControllerStateLocked()
193 js.getSourceUid()); in dumpControllerStateLocked()
DTimeController.java135 WorkSource ws = deriveWorkSource(job.getSourceUid(), job.getSourcePackageName()); in maybeStartTrackingJobLocked()
274 nextExpiryUid = job.getSourceUid(); in checkExpiredDeadlinesAndResetAlarm()
337 nextDelayUid = job.getSourceUid(); in checkExpiredDelaysAndResetAlarm()
579 UserHandle.formatUid(pw, ts.getSourceUid()); in dumpControllerStateLocked()
DContentObserverController.java366 UserHandle.formatUid(pw, js.getSourceUid()); in dumpControllerStateLocked()
409 UserHandle.formatUid(pw, inst.mJobStatus.getSourceUid()); in dumpControllerStateLocked()
461 js.getSourceUid()); in dumpControllerStateLocked()
506 inst.mJobStatus.getSourceUid()); in dumpControllerStateLocked()
DBatteryController.java246 UserHandle.formatUid(pw, js.getSourceUid()); in dumpControllerStateLocked()
275 js.getSourceUid()); in dumpControllerStateLocked()
DJobStatus.java705 public int getSourceUid() { in getSourceUid() method in JobStatus
784 if (uidForegroundChecker.test(getSourceUid())) { in maybeAddForegroundExemption()
1177 sb.append(getSourceUid()); in toString()
1449 pw.print("Source: uid="); UserHandle.formatUid(pw, getSourceUid()); in dump()
1661 proto.write(JobStatusDumpProto.SOURCE_UID, getSourceUid()); in dump()
DQuotaController.java637 final int uid = jobStatus.getSourceUid(); in prepareForExecutionLocked()
761 || isUidInForeground(jobStatus.getSourceUid()) in isWithinQuotaLocked()
2579 UserHandle.formatUid(pw, js.getSourceUid()); in dumpControllerStateLocked()
2695 js.getSourceUid()); in dumpControllerStateLocked()
/frameworks/base/services/core/java/com/android/server/job/
DJobPackageTracker.java457 mCurDataSet.incPending(job.getSourceUid(), job.getSourcePackageName(), now); in notePending()
462 mCurDataSet.decPending(job.getSourceUid(), job.getSourcePackageName(), now); in noteNonpending()
471 mCurDataSet.incActiveTop(job.getSourceUid(), job.getSourcePackageName(), now); in noteActive()
473 mCurDataSet.incActive(job.getSourceUid(), job.getSourcePackageName(), now); in noteActive()
476 job.getSourceUid(), job.getBatteryName(), job.getJobId(), 0, null); in noteActive()
482 mCurDataSet.decActiveTop(job.getSourceUid(), job.getSourcePackageName(), now, in noteInactive()
485 mCurDataSet.decActive(job.getSourceUid(), job.getSourcePackageName(), now, stopReason); in noteInactive()
489 job.getSourceUid(), job.getBatteryName(), job.getJobId(), stopReason, debugReason); in noteInactive()
502 final int uid = job.getSourceUid(); in getLoadFactor()
DJobServiceContext.java278 mBatteryStats.noteJobStart(job.getBatteryName(), job.getSourceUid(), in executeRunnableJob()
448 final int jobUid = runningJob.getSourceUid(); in deriveWorkSource()
788 mRunningJob.getSourceUid(), mParams.getStopReason(), in closeAndCleanupJobLocked()
DJobStore.java1089 final int sourceUid = job.getSourceUid(); in add()
1112 final int sourceUid = job.getSourceUid(); in remove()
1228 if (job.getUid() == job.getSourceUid()) { in countJobsForUid()
DJobSchedulerService.java2430 int override = mUidPriorityOverride.get(job.getSourceUid(), 0); in evaluateJobPriorityLocked()
3151 if (mBackingUpUids.indexOfKey(js.getSourceUid()) >= 0) { in getJobState()
3250 || UserHandle.getAppId(js.getSourceUid()) == filterUidFinal; in dumpInternal()
3315 pw.print(!(mBackingUpUids.indexOfKey(job.getSourceUid()) >= 0)); in dumpInternal()
3445 || UserHandle.getAppId(js.getSourceUid()) == filterUidFinal; in dumpInternalProto()
3495 mBackingUpUids.indexOfKey(job.getSourceUid()) >= 0); in dumpInternalProto()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobSetTest.java139 str.append("(s=" + job.getSourceUid() + ", c=" + job.getUid() + "), "); in dump()