Searched refs:perm (Results 1 – 4 of 4) sorted by relevance
44 int perm = pm.checkPermission(mPermissionInfo.name, mPkg, currentUser); in injectEvent() local45 boolean grant = perm == PackageManager.PERMISSION_DENIED; in injectEvent()
131 for (String perm : info.requestedPermissions) { in populatePermissionsMapping()132 PermissionInfo pi = mPm.getPermissionInfo(perm, "shell", 0); in populatePermissionsMapping()
141 public void checkPermission(Permission perm) { in test()144 public void checkPermission(Permission perm, Object context) { in test()
164 for (String perm : pkg.requestedPermissions) { in getAppsUsingPerm()165 if (perm.equalsIgnoreCase(pInfo.name)) { in getAppsUsingPerm()