Home
last modified time | relevance | path

Searched refs:pkgUid (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DComponentController.java69 final int pkgUid = intent.getIntExtra(Intent.EXTRA_UID, -1);
70 final int userId = UserHandle.getUserId(pkgUid);
81 final int pkgUid = intent.getIntExtra(Intent.EXTRA_UID, -1);
82 final int userId = UserHandle.getUserId(pkgUid);
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java796 final int pkgUid = intent.getIntExtra(Intent.EXTRA_UID, -1);
801 if (pkgName != null && pkgUid != -1) {
811 final int userId = UserHandle.getUserId(pkgUid);
825 cancelJobsForPackageAndUidLocked(pkgName, pkgUid,
852 mControllers.get(c).reevaluateStateLocked(pkgUid);
857 Slog.w(TAG, "PACKAGE_CHANGED for " + pkgName + " / uid " + pkgUid);
880 mControllers.get(c).onAppRemovedLocked(pkgName, pkgUid);
883 mConcurrencyManager.onAppRemovedLocked(pkgName, pkgUid);
908 if (pkgUid != -1) {
911 jobsForUid = mJobs.getJobsByUid(pkgUid);
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java4555 int pkgUid; in verifyAndGetBypass() local
4559 pkgUid = Process.SHELL_UID; in verifyAndGetBypass()
4561 pkgUid = resolveUid(packageName); in verifyAndGetBypass()
4563 if (pkgUid != Process.INVALID_UID) { in verifyAndGetBypass()
4564 if (pkgUid != UserHandle.getAppId(uid)) { in verifyAndGetBypass()
4565 String otherUidMessage = DEBUG ? " but it is really " + pkgUid : " but it is not"; in verifyAndGetBypass()
4583 pkgUid = UserHandle.getUid(userId, UserHandle.getAppId(pkg.getUid())); in verifyAndGetBypass()
4620 if (pkgUid != uid) { in verifyAndGetBypass()
4621 String otherUidMessage = DEBUG ? " but it is really " + pkgUid : " but it is not"; in verifyAndGetBypass()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java3715 int pkgUid = -1; in forceStopPackage() local
3717 pkgUid = pm.getPackageUid(packageName, MATCH_DEBUG_TRIAGED_MISSING, in forceStopPackage()
3721 if (pkgUid == -1) { in forceStopPackage()
3733 forceStopPackageLocked(packageName, pkgUid, "from pid " + callingPid); in forceStopPackage()
3734 finishForceStopPackageLocked(packageName, pkgUid); in forceStopPackage()
14582 int pkgUid = -1; in makePackageIdle() local
14584 pkgUid = pm.getPackageUid(packageName, MATCH_UNINSTALLED_PACKAGES in makePackageIdle()
14588 if (pkgUid == -1) { in makePackageIdle()
14597 final int appId = UserHandle.getAppId(pkgUid); in makePackageIdle()
16539 int pkgUid = -1;
[all …]