Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java1147 int pkgUid = -1; in getOpsRawLocked() local
1152 pkgUid = appInfo.uid; in getOpsRawLocked()
1157 pkgUid = Process.MEDIA_UID; in getOpsRawLocked()
1164 if (pkgUid != uid) { in getOpsRawLocked()
1168 + " under uid " + uid + " but it is really " + pkgUid); in getOpsRawLocked()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java5091 int pkgUid = -1; in clearApplicationUserData() local
5094 pkgUid = pm.getPackageUid(packageName, userId); in clearApplicationUserData()
5097 if (pkgUid == -1) { in clearApplicationUserData()
5108 if (uid == pkgUid || checkComponentPermission( in clearApplicationUserData()
5112 forceStopPackageLocked(packageName, pkgUid, "clear data"); in clearApplicationUserData()
5141 intent.putExtra(Intent.EXTRA_UID, pkgUid); in clearApplicationUserData()
5258 int pkgUid = -1; in forceStopPackage() local
5260 pkgUid = pm.getPackageUid(packageName, user); in forceStopPackage()
5263 if (pkgUid == -1) { in forceStopPackage()
5275 forceStopPackageLocked(packageName, pkgUid, "from pid " + callingPid); in forceStopPackage()