Home
last modified time | relevance | path

Searched refs:PermissionState (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/permission/
DUidPermissionState.java39 private ArrayMap<String, PermissionState> mPermissions;
51 final PermissionState permissionState = other.mPermissions.valueAt(i); in UidPermissionState()
52 mPermissions.put(name, new PermissionState(permissionState)); in UidPermissionState()
120 public PermissionState getPermissionState(@NonNull String name) { in getPermissionState()
128 private PermissionState getOrCreatePermissionState(@NonNull Permission permission) { in getOrCreatePermissionState()
133 PermissionState permissionState = mPermissions.get(name); in getOrCreatePermissionState()
135 permissionState = new PermissionState(permission); in getOrCreatePermissionState()
147 public List<PermissionState> getPermissionStates() { in getPermissionStates()
168 final PermissionState permissionState = new PermissionState(permission); in putPermissionState()
200 final PermissionState permissionState = getPermissionState(name); in isPermissionGranted()
[all …]
DLegacyPermissionState.java116 public PermissionState getPermissionState(@NonNull String permissionName, in getPermissionState()
132 public void putPermissionState(@NonNull PermissionState permissionState, in putPermissionState()
171 public Collection<PermissionState> getPermissionStates(@UserIdInt int userId) { in getPermissionStates()
224 private final ArrayMap<String, PermissionState> mPermissionStates = new ArrayMap<>();
232 new PermissionState(other.mPermissionStates.valueAt(i))); in UserState()
237 public PermissionState getPermissionState(@NonNull String permissionName) { in getPermissionState()
241 public void putPermissionState(@NonNull PermissionState permissionState) { in putPermissionState()
246 public Collection<PermissionState> getPermissionStates() { in getPermissionStates()
254 public static final class PermissionState { class in LegacyPermissionState
272 public PermissionState(@NonNull String name, boolean runtime, boolean granted, int flags) { in PermissionState() method in LegacyPermissionState.PermissionState
[all …]
DPermissionState.java27 public final class PermissionState { class
40 public PermissionState(@NonNull Permission permission) { in PermissionState() method in PermissionState
44 public PermissionState(@NonNull PermissionState other) { in PermissionState() method in PermissionState
DPermissionMigrationHelperImpl.java157 List<RuntimePermissionsState.PermissionState> permissions) { in toLegacyPermissionStates()
162 RuntimePermissionsState.PermissionState permState = permissions.get(i); in toLegacyPermissionStates()
DPermissionManagerServiceInterface.java28 import android.permission.PermissionManager.PermissionState;
422 Map<String, PermissionState> getAllPermissionStates(@NonNull String packageName, in getAllPermissionStates()
DDefaultPermissionGrantPolicy.java1758 private final SparseArray<ArrayMap<String, PermissionState>> mDelayedPermissionState =
1804 private @NonNull PermissionState getPermissionState(@NonNull String permission, in getPermissionState()
1810 ArrayMap<String, PermissionState> uidState; in getPermissionState()
1820 PermissionState permState; in getPermissionState()
1833 permState = new PermissionState(permission, pkg, user); in getPermissionState()
1843 PermissionState state = getPermissionState(permission, pkg, user); in getPermissionFlags()
1851 PermissionState state = getPermissionState(permission, pkg, user); in updatePermissionFlags()
1867 PermissionState state = getPermissionState(permission, pkg, user); in grantPermission()
1875 PermissionState state = getPermissionState(permission, pkg, user); in revokePermission()
1883 PermissionState state = getPermissionState(permission, pkg, user); in isGranted()
[all …]
DPermissionManagerServiceImpl.java1017 public Map<String, PermissionManager.PermissionState> getAllPermissionStates( in getAllPermissionStates()
2807 PermissionState origPermState = origState.getPermissionState(perm);
2820 PermissionState origPermState = origState.getPermissionState(perm);
3885 final List<PermissionState> permissionStates = uidState.getPermissionStates();
3888 PermissionState permissionState = permissionStates.get(i);
4511 @NonNull Collection<LegacyPermissionState.PermissionState> permissionStates) {
4512 for (final LegacyPermissionState.PermissionState permissionState : permissionStates) {
4567 final List<PermissionState> permissionStates = uidState.getPermissionStates();
4570 final PermissionState permissionState = permissionStates.get(i);
4572 final LegacyPermissionState.PermissionState legacyPermissionState =
[all …]
DPermissionManagerServiceLoggingDecorator.java25 import android.permission.PermissionManager.PermissionState;
250 public Map<String, PermissionState> getAllPermissionStates(@NonNull String packageName, in getAllPermissionStates()
DPermissionManagerServiceTracingDecorator.java26 import android.permission.PermissionManager.PermissionState;
349 public Map<String, PermissionState> getAllPermissionStates(@NonNull String packageName, in getAllPermissionStates()
DPermissionManagerServiceTestingShim.java27 import android.permission.PermissionManager.PermissionState;
322 public Map<String, PermissionState> getAllPermissionStates(@NonNull String packageName, in getAllPermissionStates()
DPermissionManagerService.java69 import android.permission.PermissionManager.PermissionState;
281 public Map<String, PermissionState> getAllPermissionStates(@NonNull String packageName, in getAllPermissionStates()
/frameworks/base/core/java/android/permission/
DIPermissionManager.aidl26 import android.permission.PermissionManager.PermissionState;
110 …Map<String, PermissionState> getAllPermissionStates(String packageName, String persistentDeviceId,… in getAllPermissionStates()
117 parcelable PermissionManager.PermissionState;
DPermissionManager.java1837 public Map<String, PermissionState> getAllPermissionStates(@NonNull String packageName, in getAllPermissionStates()
2056 public static final class PermissionState implements Parcelable { class in PermissionManager
2062 public PermissionState(boolean granted, int flags) { in PermissionState() method in PermissionManager.PermissionState
2097 private PermissionState(Parcel parcel) { in PermissionState() method in PermissionManager.PermissionState
2102 public static final @NonNull Creator<PermissionState> CREATOR = new Creator<>() {
2103 public PermissionState createFromParcel(Parcel source) {
2104 return new PermissionState(source);
2107 public PermissionState[] newArray(int size) {
2108 return new PermissionState[size];
2117 PermissionState that = (PermissionState) o; in equals()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java117 import com.android.server.pm.permission.LegacyPermissionState.PermissionState;
2569 permissionsState.putPermissionState(new PermissionState(name, false, granted,
5688 final Collection<PermissionState> permissions =
5747 Collection<PermissionState> permissionStates, boolean dumpAll) {
5749 for (PermissionState permissionState : permissionStates) {
5757 for (PermissionState permissionState : permissionStates) {
5803 Collection<PermissionState> permissionStates = permissionsState.getPermissionStates(
5805 for (PermissionState permissionState : permissionStates) {
5819 PermissionState systemPermissionState = permissionsState.getPermissionState(
5823 PermissionState permissionState;
[all …]
DPackageSetting.java1204 Collection<LegacyPermissionState.PermissionState> runtimePermissionStates;
1211 for (LegacyPermissionState.PermissionState permission : runtimePermissionStates) {
/frameworks/base/services/
Dart-profile-boot13 …/permission/PermissionsState$PermissionState;->access$100(Lcom/android/server/pm/permission/Permis…
20 …/permission/PermissionsState$PermissionState;->access$000(Lcom/android/server/pm/permission/Permis…
32 Lcom/android/server/pm/permission/PermissionsState$PermissionState;-><init>(Ljava/lang/String;)V
33 …/permission/PermissionsState$PermissionState;->access$002(Lcom/android/server/pm/permission/Permis…
38 …/permission/PermissionsState$PermissionState;->access$102(Lcom/android/server/pm/permission/Permis…
39 Lcom/android/server/pm/permission/PermissionsState$PermissionState;->isDefault()Z
69 …pm/permission/PermissionsState$PermissionState;-><init>(Lcom/android/server/pm/permission/Permissi…
185 …issionState(Ljava/lang/String;I)Lcom/android/server/pm/permission/PermissionsState$PermissionState;
186 …sionData;->getPermissionState(I)Lcom/android/server/pm/permission/PermissionsState$PermissionState;
188 …issionState(Ljava/lang/String;I)Lcom/android/server/pm/permission/PermissionsState$PermissionState;
[all …]
Dart-profile2598 …permission/LegacyPermissionState$PermissionState;Lcom/android/server/pm/permission/LegacyPermissio…
2771 …ssion/LegacyPermissionState$PermissionState;-><init>(Lcom/android/server/pm/permission/LegacyPermi…
2772 HSPLcom/android/server/pm/permission/LegacyPermissionState$PermissionState;-><init>(Ljava/lang/Stri…
2776 …missionState(Lcom/android/server/pm/permission/LegacyPermissionState$PermissionState;I)V+]Landroid…
Dart-wear-profile20453 HPLcom/android/server/pm/permission/LegacyPermissionState$PermissionState;-><init>(Ljava/lang/Strin…
20454 PLcom/android/server/pm/permission/LegacyPermissionState$PermissionState;->getFlags()I
20455 PLcom/android/server/pm/permission/LegacyPermissionState$PermissionState;->getName()Ljava/lang/Stri…
20456 PLcom/android/server/pm/permission/LegacyPermissionState$PermissionState;->isGranted()Z
20457 PLcom/android/server/pm/permission/LegacyPermissionState$PermissionState;->isRuntime()Z
20459 …onState(Ljava/lang/String;)Lcom/android/server/pm/permission/LegacyPermissionState$PermissionState;
20461 …ate;->putPermissionState(Lcom/android/server/pm/permission/LegacyPermissionState$PermissionState;)V
20465 …nState(Ljava/lang/String;I)Lcom/android/server/pm/permission/LegacyPermissionState$PermissionState;
20467 …te;->putPermissionState(Lcom/android/server/pm/permission/LegacyPermissionState$PermissionState;I)V
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionService.kt48 import android.permission.PermissionManager.PermissionState in <lambda>()
1101 ): Map<String, PermissionState> { in <lambda>()
1135 val permissionStates = ArrayMap<String, PermissionState>() in <lambda>()
1139 permissionStates[permissionName] = PermissionState(granted, apiFlags) in <lambda>()
2268 LegacyPermissionState.PermissionState( in <lambda>()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java2700 public @interface PermissionState {} annotation in PackageInstaller.SessionParams
3055 @PermissionState int state) { in setPermissionState()
/frameworks/base/core/api/
Dsystem-current.txt11562 … java.util.Map<java.lang.String,android.permission.PermissionManager.PermissionState> getAllPermis…
11582 …ermission_apis_enabled") public static final class PermissionManager.PermissionState implements an…
11587 … final android.os.Parcelable.Creator<android.permission.PermissionManager.PermissionState> CREATOR;