Home
last modified time | relevance | path

Searched refs:getPackageUid (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/core/java/com/android/server/firewall/
DSenderPackageFilter.java47 packageUid = pm.getPackageUid(mPackageName, UserHandle.USER_OWNER); in matches()
/frameworks/base/cmds/appops/src/com/android/commands/appops/
DAppOpsCommand.java171 final int uid = pm.getPackageUid(packageName, userId); in runSet()
214 final int uid = pm.getPackageUid(packageName, userId); in runGet()
/frameworks/base/services/core/java/com/android/server/
DPersistentDataBlockService.java95 allowedUid = pm.getPackageUid(allowedPackage, userHandle); in getAllowedUid()
DBluetoothManagerService.java248 sysUiUid = mContext.getPackageManager().getPackageUid("com.android.systemui", in BluetoothManagerService()
DAppOpsService.java225 curUid = mContext.getPackageManager().getPackageUid(ops.packageName, in systemReady()
DMountService.java2097 final int packageUid = mPms.getPackageUid(packageName, UserHandle.getUserId(callerUid)); in isUidOwnerOfPackageOrSystem()
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl61 int getPackageUid(String packageName, int userId); in getPackageUid() method
DPackageManager.java1812 public abstract int getPackageUid(String packageName, int userHandle) in getPackageUid() method in PackageManager
/frameworks/base/test-runner/src/android/test/mock/
DMockPackageManager.java97 public int getPackageUid(String packageName, int userHandle) in getPackageUid() method in MockPackageManager
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java877 reqUid = mContext.getPackageManager().getPackageUid(arg, in dump()
DActivityManagerService.java5128 pkgUid = pm.getPackageUid(packageName, userId); in clearApplicationUserData()
5208 appId = UserHandle.getAppId(pm.getPackageUid(packageName, 0)); in killBackgroundProcesses()
5294 pkgUid = pm.getPackageUid(packageName, user); in forceStopPackage()
5613 AppGlobals.getPackageManager().getPackageUid(name, 0)); in forceStopPackageLocked()
6474 .getPackageUid(packageName, UserHandle.getUserId(callingUid)); in getIntentSender()
6569 .getPackageUid(rec.key.packageName, UserHandle.getCallingUserId()); in cancelIntentSender()
7136 targetUid = pm.getPackageUid(targetPkg, UserHandle.getUserId(callingUid)); in checkGrantUriPermissionLocked()
7274 targetUid = pm.getPackageUid(targetPkg, targetUserId); in grantUriPermissionLocked()
7335 targetUid = pm.getPackageUid(targetPkg, targetUserId); in checkGrantUriPermissionFromIntentLocked()
7792 .getPackageUid(targetPkg, targetUserId); in readGrantedUriPermissionsLocked()
[all …]
DTaskPersister.java906 int uid = AppGlobals.getPackageManager().getPackageUid( in isPackageInstalled()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java197 public int getPackageUid(String packageName, int userHandle) in getPackageUid() method in ApplicationPackageManager
200 int uid = mPM.getPackageUid(packageName, userHandle); in getPackageUid()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java863 final int uid = mPm.getPackageUid(PackageManagerService.DEFAULT_CONTAINER_PACKAGE, in finalizeAndFixContainer()
DPackageInstallerService.java361 mPm.getPackageUid(installerPackageName, userId)); in readSessionLocked()
DPackageManagerService.java1988 public int getPackageUid(String packageName, int userId) { in getPackageUid() method in PackageManagerService
9093 : getPackageUid(mRequiredVerifierPackage, userIdentifier); in handleStartCopy()
9973 getPackageUid(DEFAULT_CONTAINER_PACKAGE, 0), RES_FILE_NAME)) { in doPreCopy()
12600 pw.print(getPackageUid(mRequiredVerifierPackage, 0)); in dump()
12604 pw.print(","); pw.println(getPackageUid(mRequiredVerifierPackage, 0)); in dump()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java332 result = pm.getPackageUid(app, userHandle); in getAppUid()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java2364 packageUid = AppGlobals.getPackageManager().getPackageUid( in getAccountsByTypeForPackage()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java3828 int uid = mContext.getPackageManager().getPackageUid(packageName, 0); in clearDeviceOwner()