Searched refs:usesPermission (Results 1 – 6 of 6) sorted by relevance
34 boolean usesPermission(String packageName, String requiredPermissionName) in usesPermission() method
91 public boolean usesPermission(String packageName, String requiredPermissionName) in usesPermission() method in PackageTrackerHelperImpl
493 if (!mPackageManagerHelper.usesPermission( in validateUpdaterAppManifest()
275 final ParsedUsesPermission usesPermission = usesPermissions.get(i); in generateWithoutComponentsUnchecked() local276 pi.requestedPermissions[i] = usesPermission.name; in generateWithoutComponentsUnchecked()281 && grantedPermissions.contains(usesPermission.name)) { in generateWithoutComponentsUnchecked()285 if ((usesPermission.usesPermissionFlags in generateWithoutComponentsUnchecked()
1299 final ParsedUsesPermission usesPermission = usesPermissions.get(i); in parseUsesPermission() local1300 if (Objects.equals(usesPermission.name, name)) { in parseUsesPermission()1301 if (usesPermission.usesPermissionFlags != usesPermissionFlags) { in parseUsesPermission()
1300 when(mMockPackageManagerHelper.usesPermission( in configureUpdateAppManifestOk()1312 when(mMockPackageManagerHelper.usesPermission( in configureUpdateAppManifestBad()