Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java805 final int pkgUid = intent.getIntExtra(Intent.EXTRA_UID, -1);
810 if (pkgName != null && pkgUid != -1) {
820 final int userId = UserHandle.getUserId(pkgUid);
829 cancelJobsForPackageAndUid(pkgName, pkgUid,
853 mControllers.get(c).reevaluateStateLocked(pkgUid);
858 Slog.w(TAG, "PACKAGE_CHANGED for " + pkgName + " / uid " + pkgUid);
871 mControllers.get(c).onAppRemovedLocked(pkgName, pkgUid);
889 if (pkgUid != -1) {
892 jobsForUid = mJobs.getJobsByUid(pkgUid);
898 + pkgUid + " has jobs");
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java2618 int pkgUid; in verifyAndGetIsPrivileged() local
2628 pkgUid = appInfo.uid; in verifyAndGetIsPrivileged()
2632 pkgUid = resolveUid(packageName); in verifyAndGetIsPrivileged()
2633 if (pkgUid >= 0) { in verifyAndGetIsPrivileged()
2637 if (pkgUid != uid) { in verifyAndGetIsPrivileged()
2639 + " but it is really " + pkgUid); in verifyAndGetIsPrivileged()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java4285 int pkgUid = -1; in forceStopPackage() local
4287 pkgUid = pm.getPackageUid(packageName, MATCH_DEBUG_TRIAGED_MISSING, in forceStopPackage()
4291 if (pkgUid == -1) { in forceStopPackage()
4303 forceStopPackageLocked(packageName, pkgUid, "from pid " + callingPid); in forceStopPackage()
4304 finishForceStopPackageLocked(packageName, pkgUid); in forceStopPackage()
17085 int pkgUid = -1; in makePackageIdle() local
17087 pkgUid = pm.getPackageUid(packageName, MATCH_UNINSTALLED_PACKAGES in makePackageIdle()
17091 if (pkgUid == -1) { in makePackageIdle()
17098 final int appId = UserHandle.getAppId(pkgUid); in makePackageIdle()
18803 int pkgUid = -1; in killPackageDependents() local
[all …]