Home
last modified time | relevance | path

Searched refs:sharedPackageNames (Results 1 – 2 of 2) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/
DLocalCallingIdentity.java154 final String[] sharedPackageNames = context.getPackageManager().getPackagesForUid(uid); in fromExternal() local
155 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() local
220 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 LocalCallingIdentity
274 sharedPackageNames = getSharedPackageNamesListInternal(); in getSharedPackageNamesArray()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DPermissionUtils.java380 int uid, @NonNull String[] sharedPackageNames, @Nullable String attributionTag) { in checkAppOpRequestInstallPackagesForSharedUid() argument
381 for (String packageName : sharedPackageNames) { in checkAppOpRequestInstallPackagesForSharedUid()