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.java94 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.java2435 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.java2754 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/job/
DJobSchedulerService.java1750 final int uid = AppGlobals.getPackageManager().getPackageUid(pkgName, 0, userId); in executeRunCommand()
1829 filterUid = getContext().getPackageManager().getPackageUid(pkg, in dumpInternal()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java976 final int uid = ActivityThread.getPackageManager().getPackageUid(packageName, in getVolumeList()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java277 final int uid = mPm.getPackageUid(PackageManagerService.DEFAULT_CONTAINER_PACKAGE, in PackageInstallerSession()
DPackageInstallerService.java390 final int installerUid = readIntAttribute(in, ATTR_INSTALLER_UID, mPm.getPackageUid( in readSessionLocked()
DShortcutPackage.java143 public int getPackageUid() { in getPackageUid() method in ShortcutPackage
DPackageManagerService.java3207 public int getPackageUid(String packageName, int flags, int userId) {
4393 final int uid = getPackageUid(packageName, MATCH_DEBUG_TRIAGED_MISSING, userId);
13106 : getPackageUid(mRequiredVerifierPackage, MATCH_DEBUG_TRIAGED_MISSING, in handleStartCopy()
13944 if (!PackageHelper.fixSdPermissions(cid, getPackageUid(DEFAULT_CONTAINER_PACKAGE, in doPreCopy()
15342 final int verifierUid = getPackageUid( in startIntentFilterVerifications()
15653 if (callingUid == getPackageUid(getInstallerPackageName(pkgName), 0, callingUserId)) { in isCallerAllowedToSilentlyUninstall()
15659 callingUid == getPackageUid(mRequiredVerifierPackage, 0, callingUserId)) { in isCallerAllowedToSilentlyUninstall()
15665 callingUid == getPackageUid(mRequiredUninstallerPackage, 0, callingUserId)) { in isCallerAllowedToSilentlyUninstall()
15671 callingUid == getPackageUid(mStorageManagerPackage, 0, callingUserId)) { in isCallerAllowedToSilentlyUninstall()
18624 pw.print(getPackageUid(mRequiredVerifierPackage, MATCH_DEBUG_TRIAGED_MISSING, in dump()
[all …]
DShortcutService.java2786 return mIPackageManager.getPackageUid(packageName, PACKAGE_MATCH_FLAGS, userId); in injectGetPackageUid()
/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.java5505 pkgUid = pm.getPackageUid(packageName, MATCH_UNINSTALLED_PACKAGES, userId); in clearApplicationUserData()
5609 pm.getPackageUid(packageName, MATCH_DEBUG_TRIAGED_MISSING, userId)); in killBackgroundProcesses()
5745 pkgUid = pm.getPackageUid(packageName, MATCH_DEBUG_TRIAGED_MISSING, in forceStopPackage()
6154 .getPackageUid(packageName, MATCH_DEBUG_TRIAGED_MISSING, 0)); in forceStopPackageLocked()
7144 final int uid = AppGlobals.getPackageManager().getPackageUid(packageName, in getIntentSender()
7319 final int uid = AppGlobals.getPackageManager().getPackageUid(rec.key.packageName, in cancelIntentSender()
8103 targetUid = pm.getPackageUid(targetPkg, MATCH_DEBUG_TRIAGED_MISSING, in checkGrantUriPermissionLocked()
8243 targetUid = pm.getPackageUid(targetPkg, MATCH_DEBUG_TRIAGED_MISSING, targetUserId); in grantUriPermissionLocked()
8304 targetUid = pm.getPackageUid(targetPkg, MATCH_DEBUG_TRIAGED_MISSING, in checkGrantUriPermissionFromIntentLocked()
8784 targetUid = AppGlobals.getPackageManager().getPackageUid( in readGrantedUriPermissionsLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java3976 packageUid = AppGlobals.getPackageManager().getPackageUid(
/frameworks/base/api/
Dcurrent.txt9755 …method public abstract int getPackageUid(java.lang.String, int) throws android.content.pm.PackageM…
38114 …method public int getPackageUid(java.lang.String, int) throws android.content.pm.PackageManager.Na…
Dsystem-current.txt10125 …method public abstract int getPackageUid(java.lang.String, int) throws android.content.pm.PackageM…
41285 …method public int getPackageUid(java.lang.String, int) throws android.content.pm.PackageManager.Na…
Dtest-current.txt9771 …method public abstract int getPackageUid(java.lang.String, int) throws android.content.pm.PackageM…
38199 …method public int getPackageUid(java.lang.String, int) throws android.content.pm.PackageManager.Na…