Searched refs:sharedPackageNames (Results 1 – 2 of 2) sorted by relevance
154 final String[] sharedPackageNames = context.getPackageManager().getPackagesForUid(uid); in fromExternal() local155 if (sharedPackageNames == null || sharedPackageNames.length == 0) { in fromExternal()158 LocalCallingIdentity ident = fromExternal(context, userCache, uid, sharedPackageNames[0], in fromExternal()160 ident.sharedPackageNames = sharedPackageNames; in fromExternal()219 final String[] sharedPackageNames = context.getPackageManager().getPackagesForUid(uid); in forTest() local220 if (sharedPackageNames == null || sharedPackageNames.length == 0) { in forTest()224 Process.myUserHandle(), sharedPackageNames[0], null); in forTest()225 ident.sharedPackageNames = sharedPackageNames; in forTest()266 private volatile String[] sharedPackageNames; field in LocalCallingIdentity274 sharedPackageNames = getSharedPackageNamesListInternal(); in getSharedPackageNamesArray()[all …]
380 int uid, @NonNull String[] sharedPackageNames, @Nullable String attributionTag) { in checkAppOpRequestInstallPackagesForSharedUid() argument381 for (String packageName : sharedPackageNames) { in checkAppOpRequestInstallPackagesForSharedUid()