Searched refs:perm (Results 1 – 4 of 4) sorted by relevance
46 int perm = packageManager.checkPermission(mPermissionInfo.name, mPkg, currentUser); in injectEvent() local47 boolean grant = perm == PackageManager.PERMISSION_DENIED; in injectEvent()
135 for (String perm : info.requestedPermissions) { in populatePermissionsMapping()136 PermissionInfo pi = mPermManager.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()