Home
last modified time | relevance | path

Searched refs:usesPermission (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/timezone/
DPackageManagerHelper.java34 boolean usesPermission(String packageName, String requiredPermissionName) in usesPermission() method
DPackageTrackerHelperImpl.java91 public boolean usesPermission(String packageName, String requiredPermissionName) in usesPermission() method in PackageTrackerHelperImpl
DPackageTracker.java493 if (!mPackageManagerHelper.usesPermission( in validateUpdaterAppManifest()
/frameworks/base/core/java/android/content/pm/parsing/
DPackageInfoWithoutStateUtils.java275 final ParsedUsesPermission usesPermission = usesPermissions.get(i); in generateWithoutComponentsUnchecked() local
276 pi.requestedPermissions[i] = usesPermission.name; in generateWithoutComponentsUnchecked()
281 && grantedPermissions.contains(usesPermission.name)) { in generateWithoutComponentsUnchecked()
285 if ((usesPermission.usesPermissionFlags in generateWithoutComponentsUnchecked()
DParsingPackageUtils.java1299 final ParsedUsesPermission usesPermission = usesPermissions.get(i); in parseUsesPermission() local
1300 if (Objects.equals(usesPermission.name, name)) { in parseUsesPermission()
1301 if (usesPermission.usesPermissionFlags != usesPermissionFlags) { in parseUsesPermission()
/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/
DPackageTrackerTest.java1300 when(mMockPackageManagerHelper.usesPermission( in configureUpdateAppManifestOk()
1312 when(mMockPackageManagerHelper.usesPermission( in configureUpdateAppManifestBad()