Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/permission/
DLegacyPermissionState.java224 private final ArrayMap<String, PermissionState> mPermissionStates = new ArrayMap<>(); field in LegacyPermissionState.UserState
229 final int permissionStatesSize = other.mPermissionStates.size(); in UserState()
231 mPermissionStates.put(other.mPermissionStates.keyAt(i), in UserState()
232 new PermissionState(other.mPermissionStates.valueAt(i))); in UserState()
238 return mPermissionStates.get(permissionName); in getPermissionState()
242 mPermissionStates.put(permissionState.getName(), permissionState); in putPermissionState()
247 return Collections.unmodifiableCollection(mPermissionStates.values()); in getPermissionStates()
DPermissionManagerServiceInternal.java343 private final ArrayMap<String, Integer> mPermissionStates; field in PermissionManagerServiceInternal.PackageInstalledParams
352 mPermissionStates = permissionStates; in PackageInstalledParams()
364 return mPermissionStates; in getPermissionStates()
391 private ArrayMap<String, Integer> mPermissionStates = null; field in PermissionManagerServiceInternal.PackageInstalledParams.Builder
405 mPermissionStates = permissionStates; in setPermissionStates()
451 mPermissionStates == null ? new ArrayMap<>() : mPermissionStates, in build()
/frameworks/base/services/core/java/com/android/server/pm/
DInstallArgs.java48 final ArrayMap<String, Integer> mPermissionStates; field in InstallArgs
89 mPermissionStates = permissionStates; in InstallArgs()
DInstallingSession.java79 final ArrayMap<String, Integer> mPermissionStates; field in InstallingSession
123 mPermissionStates = new ArrayMap<>(); in InstallingSession()
161 mPermissionStates = sessionParams.getPermissionStates(); in InstallingSession()
DInstallRequest.java178 params.mPackageAbiOverride, params.mPermissionStates, in InstallRequest()
464 return mInstallArgs == null ? null : mInstallArgs.mPermissionStates; in getPermissionStates()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java2803 private final ArrayMap<String, Integer> mPermissionStates; field in PackageInstaller.SessionParams
2814 mPermissionStates = new ArrayMap<>(); in SessionParams()
2833 mPermissionStates = new ArrayMap<>(); in SessionParams()
2834 source.readMap(mPermissionStates, null, String.class, Integer.class); in SessionParams()
2874 ret.mPermissionStates.putAll(mPermissionStates); in copy()
3014 mPermissionStates.clear(); in setGrantedRuntimePermissions()
3063 mPermissionStates.remove(permissionName); in setPermissionState()
3067 mPermissionStates.put(permissionName, state); in setPermissionState()
3080 mPermissionStates.put(grantPermission, PERMISSION_STATE_GRANTED); in setPermissionStates()
3083 mPermissionStates.put(denyPermission, PERMISSION_STATE_DENIED); in setPermissionStates()
[all …]