Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/firewall/
DSenderPackageFilter.java50 packageUid = pm.getPackageUid(mPackageName, PackageManager.MATCH_UNINSTALLED_PACKAGES, in matches()
/frameworks/base/services/core/java/com/android/server/
DHardwarePropertiesManagerService.java91 uid = pm.getPackageUid(callingPackage, 0); in enforceHardwarePropertiesRetrievalAllowed()
DAppOpsService.java274 curUid = AppGlobals.getPackageManager().getPackageUid(ops.packageName, in systemReady()
703 reqUid = AppGlobals.getPackageManager().getPackageUid( in resetAllModes()
1778 packageUid = AppGlobals.getPackageManager().getPackageUid(packageName, in parseUserPackageOp()
DMountService.java2417 final int packageUid = mPms.getPackageUid(packageName, in isUidOwnerOfPackageOrSystem()
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl66 int getPackageUid(String packageName, int flags, int userId); in getPackageUid() method
DPackageManager.java2742 public abstract int getPackageUid(String packageName, @PackageInfoFlags int flags) in getPackageUid() method in PackageManager
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java138 tempSourceUid = AppGlobals.getPackageManager().getPackageUid(sourcePackageName, 0, in JobStatus()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java104 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid() method in BridgePackageManager
/frameworks/base/test-runner/src/android/test/mock/
DMockPackageManager.java113 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid() method in MockPackageManager
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java120 public int getPackageUid() { in getPackageUid() method in ShortcutPackage
DPackageInstallerSession.java1038 final int uid = mPm.getPackageUid(PackageManagerService.DEFAULT_CONTAINER_PACKAGE, in finalizeAndFixContainer()
DPackageInstallerService.java385 final int installerUid = readIntAttribute(in, ATTR_INSTALLER_UID, mPm.getPackageUid( in readSessionLocked()
DPackageManagerService.java3294 public int getPackageUid(String packageName, int flags, int userId) {
4471 final int uid = getPackageUid(packageName, MATCH_DEBUG_TRIAGED_MISSING, userId);
12977 : getPackageUid(mRequiredVerifierPackage, MATCH_DEBUG_TRIAGED_MISSING,
13815 if (!PackageHelper.fixSdPermissions(cid, getPackageUid(DEFAULT_CONTAINER_PACKAGE,
15198 final int verifierUid = getPackageUid(
18374 pw.print(getPackageUid(mRequiredVerifierPackage, MATCH_DEBUG_TRIAGED_MISSING,
18380 pw.println(getPackageUid(mRequiredVerifierPackage, MATCH_DEBUG_TRIAGED_MISSING,
18396 pw.print(getPackageUid(verifierPackageName, MATCH_DEBUG_TRIAGED_MISSING,
18402 pw.println(getPackageUid(verifierPackageName, MATCH_DEBUG_TRIAGED_MISSING,
DShortcutService.java2078 return mIPackageManager.getPackageUid(packageName, PACKAGE_MATCH_FLAGS in injectGetPackageUid()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java1680 final int uid = AppGlobals.getPackageManager().getPackageUid(pkgName, 0, userId); in executeRunCommand()
1759 filterUid = getContext().getPackageManager().getPackageUid(pkg, in dumpInternal()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java929 final int uid = ActivityThread.getPackageManager().getPackageUid(packageName, in getVolumeList()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java235 public int getPackageUid(String packageName, int flags) throws NameNotFoundException { in getPackageUid() method in ApplicationPackageManager
248 int uid = mPM.getPackageUid(packageName, flags, userId); in getPackageUidAsUser()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java5432 pkgUid = pm.getPackageUid(packageName, MATCH_UNINSTALLED_PACKAGES, userId); in clearApplicationUserData()
5536 pm.getPackageUid(packageName, MATCH_DEBUG_TRIAGED_MISSING, userId)); in killBackgroundProcesses()
5672 pkgUid = pm.getPackageUid(packageName, MATCH_DEBUG_TRIAGED_MISSING, in forceStopPackage()
6081 .getPackageUid(packageName, MATCH_DEBUG_TRIAGED_MISSING, 0)); in forceStopPackageLocked()
7050 final int uid = AppGlobals.getPackageManager().getPackageUid(packageName, in getIntentSender()
7225 final int uid = AppGlobals.getPackageManager().getPackageUid(rec.key.packageName, in cancelIntentSender()
8009 targetUid = pm.getPackageUid(targetPkg, MATCH_DEBUG_TRIAGED_MISSING, in checkGrantUriPermissionLocked()
8149 targetUid = pm.getPackageUid(targetPkg, MATCH_DEBUG_TRIAGED_MISSING, targetUserId); in grantUriPermissionLocked()
8210 targetUid = pm.getPackageUid(targetPkg, MATCH_DEBUG_TRIAGED_MISSING, in checkGrantUriPermissionFromIntentLocked()
8683 targetUid = AppGlobals.getPackageManager().getPackageUid( in readGrantedUriPermissionsLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java3662 packageUid = AppGlobals.getPackageManager().getPackageUid( in getAccountsByTypeForPackage()
/frameworks/base/api/
Dcurrent.txt9716 …method public abstract int getPackageUid(java.lang.String, int) throws android.content.pm.PackageM…
37953 …method public int getPackageUid(java.lang.String, int) throws android.content.pm.PackageManager.Na…
Dtest-current.txt9729 …method public abstract int getPackageUid(java.lang.String, int) throws android.content.pm.PackageM…
38032 …method public int getPackageUid(java.lang.String, int) throws android.content.pm.PackageManager.Na…
Dsystem-current.txt10077 …method public abstract int getPackageUid(java.lang.String, int) throws android.content.pm.PackageM…
40947 …method public int getPackageUid(java.lang.String, int) throws android.content.pm.PackageManager.Na…