Home
last modified time | relevance | path

Searched refs:getSourcePackageName (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/job/controllers/
DBackgroundJobsController.java85 final String sourcePkg = jobStatus.getSourcePackageName(); in dumpControllerStateLocked()
128 final String sourcePkg = jobStatus.getSourcePackageName(); in dumpControllerStateLocked()
192 final String packageName = jobStatus.getSourcePackageName(); in updateSingleJobRestrictionLocked()
DTimeController.java117 deriveWorkSource(job.getSourceUid(), job.getSourcePackageName())); in maybeStartTrackingJobLocked()
179 nextExpiryPackageName = job.getSourcePackageName(); in checkExpiredDeadlinesAndResetAlarm()
232 nextDelayPackageName = job.getSourcePackageName(); in checkExpiredDelaysAndResetAlarm()
DDeviceIdleJobsController.java242 pw.print(jobStatus.getSourcePackageName()); in dumpControllerStateLocked()
270 proto.write(TrackedJob.SOURCE_PACKAGE_NAME, jobStatus.getSourcePackageName()); in dumpControllerStateLocked()
DJobStatus.java372 jobStatus.getSourcePackageName(), jobStatus.getSourceUserId(), in JobStatus()
424 rescheduling.getSourcePackageName(), rescheduling.getSourceUserId(), in JobStatus()
626 public String getSourcePackageName() { in getSourcePackageName() method in JobStatus
1225 pw.print(" pkg="); pw.println(getSourcePackageName()); in dump()
1421 proto.write(JobStatusDumpProto.SOURCE_PACKAGE_NAME, getSourcePackageName()); in dump()
/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()
482 mCurDataSet.decActiveTop(job.getSourceUid(), job.getSourcePackageName(), now, in noteInactive()
485 mCurDataSet.decActive(job.getSourceUid(), job.getSourcePackageName(), now, stopReason); in noteInactive()
503 final String pkg = job.getSourcePackageName(); in getLoadFactor()
DJobServiceContext.java271 final String jobPackage = job.getSourcePackageName(); in executeRunnableJob()
332 && (pkgName == null || pkgName.equals(executing.getSourcePackageName())) in timeoutIfExecutingLocked()
DJobSchedulerService.java736 if (jobsForUid.get(i).getSourcePackageName().equals(pkgName)) {
963 if (job.getSourcePackageName().equals(pkgName)) { in cancelJobsForPackageAndUid()
1491 return heartbeatWhenJobsLastRun(job.getSourcePackageName(), job.getSourceUserId()); in heartbeatWhenJobsLastRun()
1932 if (job.getSourcePackageName().equals("android.jobscheduler.cts.jobtestapp")) { in isReadyToBeExecutedLocked()
2376 if (packageName.equals(job.getSourcePackageName())) { in onAppIdleStateChanged()
DJobStore.java426 if (jobStatus.getSourcePackageName() != null) {
427 out.attribute(null, "sourcePackageName", jobStatus.getSourcePackageName());
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java622 bp = new BasePermission(info.name, tree.getSourcePackageName(), in addDynamicPermission()
887 if (PLATFORM_PACKAGE_NAME.equals(bp.getSourcePackageName())) { in grantPermissions()
1044 boolean platformPermission = PLATFORM_PACKAGE_NAME.equals(bp.getSourcePackageName()); in grantSignaturePermission()
1769 if (packageName != null && packageName.equals(bp.getSourcePackageName()) in updatePermissions()
1772 + " from package " + bp.getSourcePackageName()); in updatePermissions()
1787 mPackageManagerInt.getPackage(bp.getSourcePackageName()); in updatePermissions()
1797 + " from package " + bp.getSourcePackageName()); in updatePermissions()
1813 if (packageName != null && packageName.equals(bp.getSourcePackageName()) in updatePermissionTrees()
1816 + " from package " + bp.getSourcePackageName()); in updatePermissionTrees()
1831 mPackageManagerInt.getPackage(bp.getSourcePackageName()); in updatePermissionTrees()
[all …]
DBasePermission.java127 public String getSourcePackageName() { in getSourcePackageName() method in BasePermission
269 + getName() + " pkg=" + getSourcePackageName() in updateDynamicPermission()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java236 assertEquals("Source package not equal.", loaded.getSourcePackageName(), in testWritingTaskWithSourcePackage()
237 taskStatus.getSourcePackageName()); in testWritingTaskWithSourcePackage()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java17331 final String sourcePackageName = bp.getSourcePackageName();