Searched refs:packagesForUid (Results 1 – 4 of 4) sorted by relevance
217 String[] packagesForUid = mPm.getPackagesForUid(sourceUid); in getPackageNameForUid() local218 if (packagesForUid == null) { in getPackageNameForUid()221 if (packagesForUid.length > 1) { in getPackageNameForUid()223 for (String packageName : packagesForUid) { in getPackageNameForUid()231 return packagesForUid[0]; in getPackageNameForUid()
392 String[] packagesForUid = getPackageManager().getPackagesForUid(sourceUid); in getPackageNameForUid() local393 if (packagesForUid == null) { in getPackageNameForUid()396 return packagesForUid[0]; in getPackageNameForUid()
1213 final String[] packagesForUid = packageManager.getPackagesForUid(uid); in isExternalStorageLegacy() local1214 for (String packageName : packagesForUid) { in isExternalStorageLegacy()
3634 final String[] packagesForUid = mIPackageManager.getPackagesForUid(uid); in getMountModeInternal() local3635 if (ArrayUtils.isEmpty(packagesForUid)) { in getMountModeInternal()3640 packageName = packagesForUid[0]; in getMountModeInternal()3670 for (String uidPackageName : packagesForUid) { in getMountModeInternal()3946 final String[] packagesForUid = mIPackageManager.getPackagesForUid(uid); in getExternalStorageMountMode() local3947 packageName = packagesForUid[0]; in getExternalStorageMountMode()