Searched refs:packagesForUid (Results 1 – 6 of 6) sorted by relevance
163 String[] packagesForUid = getPackageManager().getPackagesForUid(sourceUid); in getPackageNameForUid() local164 if (packagesForUid == null) { in getPackageNameForUid()167 return packagesForUid[0]; in getPackageNameForUid()
287 String[] packagesForUid = mPm.getPackagesForUid(sourceUid); in getPackageNameForUid() local288 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()
437 String[] packagesForUid = getPackageManager().getPackagesForUid(sourceUid); in getPackageNameForUid() local438 if (packagesForUid == null) { in getPackageNameForUid()441 return packagesForUid[0]; in getPackageNameForUid()
378 val packagesForUid = pm.getPackagesForUid(sourceUid) ?: return null in getPackageNameForUid() constant379 if (packagesForUid.size > 1) { in getPackageNameForUid()381 for (packageName in packagesForUid) { in getPackageNameForUid()389 return packagesForUid[0] in getPackageNameForUid()
723 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()
4523 final String[] packagesForUid = mIPackageManager.getPackagesForUid(uid); in getMountModeInternal() local4524 if (ArrayUtils.isEmpty(packagesForUid)) { in getMountModeInternal()4529 packageName = packagesForUid[0]; in getMountModeInternal()4576 for (String uidPackageName : packagesForUid) { in getMountModeInternal()