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/
DBackgroundJobsController.java88 final int pkgUid = intent.getIntExtra(Intent.EXTRA_UID, -1);
90 if (pkgUid == -1) {
96 Slog.d(TAG, "Got " + action + " for " + pkgUid + "/" + pkgName);
105 mPackageStoppedState.delete(pkgUid, pkgName);
106 updateJobRestrictionsForUidLocked(pkgUid, false);
113 mPackageStoppedState.add(pkgUid, pkgName, Boolean.FALSE);
114 updateJobRestrictionsLocked(pkgUid, UNKNOWN);
DComponentController.java70 final int pkgUid = intent.getIntExtra(Intent.EXTRA_UID, -1);
71 final int userId = UserHandle.getUserId(pkgUid);
82 final int pkgUid = intent.getIntExtra(Intent.EXTRA_UID, -1);
83 final int userId = UserHandle.getUserId(pkgUid);
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java1387 final int pkgUid = intent.getIntExtra(Intent.EXTRA_UID, -1);
1392 mPermissionCache.remove(pkgUid);
1396 if (pkgName != null && pkgUid != -1) {
1406 final int userId = UserHandle.getUserId(pkgUid);
1421 cancelJobsForPackageAndUidLocked(pkgName, pkgUid,
1450 mControllers.get(c).reevaluateStateLocked(pkgUid);
1455 Slog.w(TAG, "PACKAGE_CHANGED for " + pkgName + " / uid " + pkgUid);
1460 mPermissionCache.remove(pkgUid);
1464 mUidToPackageCache.remove(pkgUid);
1469 mPermissionCache.remove(pkgUid);
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java4591 int pkgUid; in verifyAndGetBypass() local
4595 pkgUid = Process.SHELL_UID; in verifyAndGetBypass()
4597 pkgUid = resolveUid(packageName); in verifyAndGetBypass()
4599 if (pkgUid != Process.INVALID_UID) { in verifyAndGetBypass()
4600 if (pkgUid != UserHandle.getAppId(uid)) { in verifyAndGetBypass()
4606 String otherUidMessage = DEBUG ? " but it is really " + pkgUid : " but it is not"; in verifyAndGetBypass()
4625 pkgUid = UserHandle.getUid(userId, pkgState.getAppId()); in verifyAndGetBypass()
4662 if (pkgUid != uid) { in verifyAndGetBypass()
4667 String otherUidMessage = DEBUG ? " but it is really " + pkgUid : " but it is not"; in verifyAndGetBypass()