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/java/com/android/server/pm/
DBasePermission.java31 String sourcePackage; field in BasePermission
49 sourcePackage = _sourcePackage; in BasePermission()
DSettings.java374 if (origPkg.equals(bp.sourcePackage)) { in transferPermissionsLPw()
377 + " from pkg " + bp.sourcePackage in transferPermissionsLPw()
379 bp.sourcePackage = newPkg; in transferPermissionsLPw()
1605 if (bp.type != BasePermission.TYPE_BUILTIN && bp.sourcePackage != null) { in writePermissionLPr()
1608 serializer.attribute(null, "package", bp.sourcePackage); in writePermissionLPr()
2186 final String sourcePackage = parser.getAttributeValue(null, "package"); in readPermissionsLPw() local
2188 if (name != null && sourcePackage != null) { in readPermissionsLPw()
2190 final BasePermission bp = new BasePermission(name, sourcePackage, in readPermissionsLPw()
2197 pi.packageName = sourcePackage.intern(); in readPermissionsLPw()
3162 if (packageName != null && !packageName.equals(p.sourcePackage)) { in dumpPermissionsLPr()
[all …]
DPackageManagerService.java1878 pi.packageName = bp.sourcePackage; in generatePermissionInfo()
2313 bp = new BasePermission(info.name, tree.sourcePackage, in addPermissionLocked()
4994 if (bp.sourcePackage != null in scanPackageLI()
4995 && !bp.sourcePackage.equals(p.info.packageName)) { in scanPackageLI()
5003 bp.sourcePackage = null; in scanPackageLI()
5006 if (bp.sourcePackage == null in scanPackageLI()
5007 || bp.sourcePackage.equals(p.info.packageName)) { in scanPackageLI()
5010 || tree.sourcePackage.equals(p.info.packageName)) { in scanPackageLI()
5026 + tree.sourcePackage); in scanPackageLI()
5031 + bp.sourcePackage); in scanPackageLI()
[all …]