Searched refs:permState (Results 1 – 2 of 2) sorted by relevance
162 RuntimePermissionsState.PermissionState permState = permissions.get(i); in toLegacyPermissionStates() local163 legacyPermissions.put(permState.getName(), new LegacyPermissionState( in toLegacyPermissionStates()164 permState.isGranted(), permState.getFlags())); in toLegacyPermissionStates()
1820 PermissionState permState; in getPermissionState() local1822 permState = uidState.valueAt(permIdx); in getPermissionState()1827 if (!ArrayUtils.contains(permState.mPkgRequestingPerm.requestedPermissions, in getPermissionState()1830 permState.mPkgRequestingPerm = pkg; in getPermissionState()1833 permState = new PermissionState(permission, pkg, user); in getPermissionState()1834 uidState.put(permission, permState); in getPermissionState()1837 return permState; in getPermissionState()