Home
last modified time | relevance | path

Searched refs:sourcePackage (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DLabeledIntent.java43 public LabeledIntent(Intent origIntent, String sourcePackage, in LabeledIntent() argument
46 mSourcePackage = sourcePackage; in LabeledIntent()
61 public LabeledIntent(Intent origIntent, String sourcePackage, in LabeledIntent() argument
64 mSourcePackage = sourcePackage; in LabeledIntent()
78 public LabeledIntent(String sourcePackage, int labelRes, int icon) { in LabeledIntent() argument
79 mSourcePackage = sourcePackage; in LabeledIntent()
93 public LabeledIntent(String sourcePackage, in LabeledIntent() argument
95 mSourcePackage = sourcePackage; in LabeledIntent()
/frameworks/base/services/core/java/com/android/server/pm/
DBasePermission.java31 String sourcePackage; field in BasePermission
49 sourcePackage = _sourcePackage; in BasePermission()
DSettings.java451 if (origPkg.equals(bp.sourcePackage)) { in transferPermissionsLPw()
454 + " from pkg " + bp.sourcePackage in transferPermissionsLPw()
456 bp.sourcePackage = newPkg; in transferPermissionsLPw()
1905 if (bp.type != BasePermission.TYPE_BUILTIN && bp.sourcePackage != null) { in writePermissionLPr()
1908 serializer.attribute(null, "package", bp.sourcePackage); in writePermissionLPr()
2535 final String sourcePackage = parser.getAttributeValue(null, "package"); in readPermissionsLPw() local
2537 if (name != null && sourcePackage != null) { in readPermissionsLPw()
2539 final BasePermission bp = new BasePermission(name, sourcePackage, in readPermissionsLPw()
2546 pi.packageName = sourcePackage.intern(); in readPermissionsLPw()
3593 if (packageName != null && !packageName.equals(p.sourcePackage)) { in dumpPermissionsLPr()
[all …]
DPackageManagerService.java2029 pi.packageName = bp.sourcePackage; in generatePermissionInfo()
2547 bp = new BasePermission(info.name, tree.sourcePackage, in addPermissionLocked()
6258 if (bp != null && !Objects.equals(bp.sourcePackage, p.info.packageName)) { in scanPackageDirtyLI()
6267 bp.sourcePackage = p.info.packageName; in scanPackageDirtyLI()
6270 … + p.info.name + " is system; overriding " + bp.sourcePackage; in scanPackageDirtyLI()
6284 if (bp.sourcePackage == null in scanPackageDirtyLI()
6285 || bp.sourcePackage.equals(p.info.packageName)) { in scanPackageDirtyLI()
6288 || tree.sourcePackage.equals(p.info.packageName)) { in scanPackageDirtyLI()
6292 bp.sourcePackage = p.info.packageName; in scanPackageDirtyLI()
6305 + tree.sourcePackage); in scanPackageDirtyLI()
[all …]