Home
last modified time | relevance | path

Searched refs:packagesForUid (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUnarchiveActivity.java163 String[] packagesForUid = getPackageManager().getPackagesForUid(sourceUid); in getPackageNameForUid() local
164 if (packagesForUid == null) { in getPackageNameForUid()
167 return packagesForUid[0]; in getPackageNameForUid()
DPackageInstallerActivity.java287 String[] packagesForUid = mPm.getPackagesForUid(sourceUid); in getPackageNameForUid() local
288 if (packagesForUid == null) { in getPackageNameForUid()
291 if (packagesForUid.length > 1) { in getPackageNameForUid()
293 for (String packageName : packagesForUid) { in getPackageNameForUid()
301 return packagesForUid[0]; in getPackageNameForUid()
DUninstallerActivity.java437 String[] packagesForUid = getPackageManager().getPackagesForUid(sourceUid); in getPackageNameForUid() local
438 if (packagesForUid == null) { in getPackageNameForUid()
441 return packagesForUid[0]; in getPackageNameForUid()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DPackageUtil.kt378 val packagesForUid = pm.getPackagesForUid(sourceUid) ?: return null in getPackageNameForUid() constant
379 if (packagesForUid.size > 1) { in getPackageNameForUid()
381 for (packageName in packagesForUid) { in getPackageNameForUid()
389 return packagesForUid[0] in getPackageNameForUid()
/frameworks/base/services/core/java/com/android/server/pm/
DAppsFilterBase.java723 String[] packagesForUid = null; in dumpQueries()
724 for (int i = 0, size = users.length; packagesForUid == null && i < size; i++) { in dumpQueries()
725 packagesForUid = getPackagesForUid.apply(callingUid, users[i], appId, in dumpQueries()
728 if (packagesForUid == null) { in dumpQueries()
731 cachedValue = packagesForUid.length == 1 ? packagesForUid[0] in dumpQueries()
732 : "[" + TextUtils.join(",", packagesForUid) + "]"; in dumpQueries()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java4523 final String[] packagesForUid = mIPackageManager.getPackagesForUid(uid); in getMountModeInternal() local
4524 if (ArrayUtils.isEmpty(packagesForUid)) { in getMountModeInternal()
4529 packageName = packagesForUid[0]; in getMountModeInternal()
4576 for (String uidPackageName : packagesForUid) { in getMountModeInternal()