Searched refs:callerPackages (Results 1 – 3 of 3) sorted by relevance
382 String[] callerPackages = context().getPackageManager().getPackagesForUid(caller); in getCallingPackage_() local383 if (callerPackages == null || callerPackages.length == 0) { in getCallingPackage_()386 if (callerPackages.length == 1) { in getCallingPackage_()387 return callerPackages[0]; in getCallingPackage_()392 String bestSoFar = callerPackages[0]; in getCallingPackage_()393 for (String callerPackage : callerPackages) { in getCallingPackage_()
5716 final String[] callerPackages = pm.getPackagesForUid(callingUid); in exceptionMessage() local5717 if (callerPackages != null && callerPackages.length > 0) { in exceptionMessage()5718 if (callerPackages.length == 1) { in exceptionMessage()5720 sb.append(callerPackages[0]); in exceptionMessage()5723 for (int i = 0; i < callerPackages.length; i++) { in exceptionMessage()5727 sb.append(callerPackages[i]); in exceptionMessage()
4271 final String[] callerPackages = pm.getPackagesForUid(callingUid); in scanPackagesByUid() local4272 if (callerPackages != null) { in scanPackagesByUid()4273 for (int i = 0; i < callerPackages.length; i++) { in scanPackagesByUid()4274 onPackageChanged(callerPackages[i]); in scanPackagesByUid()