Home
last modified time | relevance | path

Searched refs:RuntimePermissionsState (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/apex/permission/service/java/com/android/permission/persistence/
DRuntimePermissionsPersistenceImpl.java70 public RuntimePermissionsState readForUser(@NonNull UserHandle user) { in readForUser()
85 private static RuntimePermissionsState parseXml(@NonNull XmlPullParser parser) in parseXml()
105 private static RuntimePermissionsState parseRuntimePermissions(@NonNull XmlPullParser parser) in parseRuntimePermissions()
109 : RuntimePermissionsState.NO_VERSION; in parseRuntimePermissions()
112 Map<String, List<RuntimePermissionsState.PermissionState>> packagePermissions = in parseRuntimePermissions()
114 Map<String, List<RuntimePermissionsState.PermissionState>> sharedUserPermissions = in parseRuntimePermissions()
128 List<RuntimePermissionsState.PermissionState> permissions = parsePermissions( in parseRuntimePermissions()
135 List<RuntimePermissionsState.PermissionState> permissions = parsePermissions( in parseRuntimePermissions()
143 return new RuntimePermissionsState(version, fingerprint, packagePermissions, in parseRuntimePermissions()
148 private static List<RuntimePermissionsState.PermissionState> parsePermissions( in parsePermissions()
[all …]
DRuntimePermissionsState.java35 public final class RuntimePermissionsState { class
73 public RuntimePermissionsState(int version, @Nullable String fingerprint, in RuntimePermissionsState() method in RuntimePermissionsState
129 RuntimePermissionsState that = (RuntimePermissionsState) object; in equals()
DRuntimePermissionsPersistence.java43 RuntimePermissionsState readForUser(@NonNull UserHandle user); in readForUser()
53 void writeForUser(@NonNull RuntimePermissionsState runtimePermissions, in writeForUser()
/frameworks/base/apex/permission/service/api/
Dsystem-server-current.txt7 …method @Nullable public com.android.permission.persistence.RuntimePermissionsState readForUser(@No…
8 …ic void writeForUser(@NonNull com.android.permission.persistence.RuntimePermissionsState, @NonNull…
11 public final class RuntimePermissionsState {
12RuntimePermissionsState(int, @Nullable String, @NonNull java.util.Map<java.lang.String,java.util.L…
14 …va.lang.String,java.util.List<com.android.permission.persistence.RuntimePermissionsState.Permissio…
15 …va.lang.String,java.util.List<com.android.permission.persistence.RuntimePermissionsState.Permissio…
20 public static final class RuntimePermissionsState.PermissionState {
21 ctor public RuntimePermissionsState.PermissionState(@NonNull String, boolean, int);
/frameworks/base/services/api/
Dcurrent.txt7 …method @Nullable public com.android.permission.persistence.RuntimePermissionsState readForUser(@No…
8 …ic void writeForUser(@NonNull com.android.permission.persistence.RuntimePermissionsState, @NonNull…
11 public final class RuntimePermissionsState {
12RuntimePermissionsState(int, @Nullable String, @NonNull java.util.Map<java.lang.String,java.util.L…
14 …va.lang.String,java.util.List<com.android.permission.persistence.RuntimePermissionsState.Permissio…
15 …va.lang.String,java.util.List<com.android.permission.persistence.RuntimePermissionsState.Permissio…
20 public static final class RuntimePermissionsState.PermissionState {
21 ctor public RuntimePermissionsState.PermissionState(@NonNull String, boolean, int);
/frameworks/base/apex/permission/tests/java/com/android/permission/persistence/
DRuntimePermissionsPersistenceTest.kt51 private val permissionState = RuntimePermissionsState.PermissionState("permission", true, 3)
52 private val state = RuntimePermissionsState(
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java103 import com.android.permission.persistence.RuntimePermissionsState;
5466 RuntimePermissionsState runtimePermissions; in writePermissionsSync()
5474 Map<String, List<RuntimePermissionsState.PermissionState>> packagePermissions = in writePermissionsSync()
5481 List<RuntimePermissionsState.PermissionState> permissions = in writePermissionsSync()
5488 Map<String, List<RuntimePermissionsState.PermissionState>> sharedUserPermissions = in writePermissionsSync()
5494 List<RuntimePermissionsState.PermissionState> permissions = in writePermissionsSync()
5500 runtimePermissions = new RuntimePermissionsState(version, fingerprint, in writePermissionsSync()
5508 private List<RuntimePermissionsState.PermissionState> getPermissionsFromPermissionsState( in getPermissionsFromPermissionsState()
5512 List<RuntimePermissionsState.PermissionState> permissions = in getPermissionsFromPermissionsState()
5518 RuntimePermissionsState.PermissionState permission = in getPermissionsFromPermissionsState()
[all …]