Home
last modified time | relevance | path

Searched refs:MutateStateScope (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DDevicePermissionPolicy.kt27 import com.android.server.permission.access.MutateStateScope in <lambda>()
53 override fun MutateStateScope.onAppIdRemoved(appId: Int) { in <lambda>()
62 fun MutateStateScope.trimDevicePermissionStates(deviceIds: Set<String>) { in <lambda>() method
79 fun MutateStateScope.onDeviceIdRemoved(deviceId: String) { in <lambda>() method
91 override fun MutateStateScope.onStorageVolumeMounted( in <lambda>()
104 override fun MutateStateScope.onPackageAdded(packageState: PackageState) { in <lambda>()
108 override fun MutateStateScope.onPackageRemoved(packageName: String, appId: Int) { in <lambda>()
114 override fun MutateStateScope.onPackageUninstalled( in <lambda>()
126 fun MutateStateScope.resetRuntimePermissions(packageName: String, userId: Int) { in <lambda>() method
152 private fun MutateStateScope.trimPermissionStates(appId: Int) { in <lambda>() method
[all …]
DAppIdPermissionPolicy.kt34 import com.android.server.permission.access.MutateStateScope in <lambda>()
79 override fun MutateStateScope.onUserAdded(userId: Int) { in <lambda>()
91 override fun MutateStateScope.onAppIdRemoved(appId: Int) { in <lambda>()
100 override fun MutateStateScope.onStorageVolumeMounted( in <lambda>()
136 override fun MutateStateScope.onPackageAdded(packageState: PackageState) { in <lambda>()
153 override fun MutateStateScope.onPackageRemoved(packageName: String, appId: Int) { in <lambda>()
168 override fun MutateStateScope.onPackageInstalled(packageState: PackageState, userId: Int) { in <lambda>()
174 private fun MutateStateScope.clearRestrictedPermissionImplicitExemption( in <lambda>() method
206 fun MutateStateScope.updatePermissionExemptFlags( in <lambda>() method
268 override fun MutateStateScope.onPackageUninstalled( in <lambda>()
[all …]
DAppIdPermissionUpgrade.kt22 import com.android.server.permission.access.MutateStateScope in <lambda>()
36 fun MutateStateScope.upgradePackageState( in <lambda>() method
82 private fun MutateStateScope.allowlistRestrictedPermissions( in <lambda>() method
101 private fun MutateStateScope.upgradeBackgroundLocationPermission( in <lambda>() method
131 private fun MutateStateScope.upgradeAccessMediaLocationPermission( in <lambda>() method
158 private fun MutateStateScope.upgradeAuralVisualMediaPermissions( in <lambda>() method
185 private fun MutateStateScope.upgradeBodySensorPermissions( in <lambda>() method
230 private fun MutateStateScope.upgradeUserSelectedVisualMediaPermission( in <lambda>() method
259 private fun MutateStateScope.grantRuntimePermission( in <lambda>() method
DPermissionService.kt76 import com.android.server.permission.access.MutateStateScope in <lambda>()
897 private fun MutateStateScope.setRuntimePermissionGranted( in <lambda>() method
1039 private fun MutateStateScope.setAppOpPermissionGranted( in <lambda>() method
1469 private fun MutateStateScope.updatePermissionFlags( in <lambda>() method
1612 private fun MutateStateScope.setPermissionFlagsWithPolicy( in <lambda>() method
2636 fun MutateStateScope.skipKillRuntimePermissionRevokedUids() { in <lambda>() method
2640 fun MutateStateScope.addKillRuntimePermissionRevokedUidsReason(reason: String) { in <lambda>() method
/frameworks/base/services/permission/java/com/android/server/permission/access/
DAccessPolicy.kt104 fun MutateStateScope.onUserAdded(userId: Int) { in <lambda>() method
116 fun MutateStateScope.onUserRemoved(userId: Int) { in <lambda>() method
122 fun MutateStateScope.onStorageVolumeMounted( in <lambda>() method
174 fun MutateStateScope.onPackageAdded( in <lambda>() method
204 fun MutateStateScope.onPackageRemoved( in <lambda>() method
238 fun MutateStateScope.onPackageInstalled( in <lambda>() method
257 fun MutateStateScope.onPackageUninstalled( in <lambda>() method
273 fun MutateStateScope.onSystemReady() { in <lambda>() method
286 private fun MutateStateScope.upgradePackageVersion(packageState: PackageState, userId: Int) { in <lambda>() method
454 open fun MutateStateScope.onUserAdded(userId: Int) {} in onUserAdded()
[all …]
DAccessCheckingService.kt291 internal inline fun mutateState(crossinline action: MutateStateScope.() -> Unit) { in <lambda>()
296 MutateStateScope(oldState, newState).action() in <lambda>()
DAccessState.kt495 class MutateStateScope(val oldState: AccessState, val newState: MutableAccessState) : class
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DPackageAppOpPolicy.kt23 import com.android.server.permission.access.MutateStateScope in <lambda>()
46 override fun MutateStateScope.onPackageRemoved(packageName: String, appId: Int) { in <lambda>()
62 fun MutateStateScope.removeAppOpModes(packageName: String, userId: Int): Boolean { in <lambda>() method
85 fun MutateStateScope.setAppOpMode( in <lambda>() method
131 override fun MutateStateScope.upgradePackageState( in <lambda>()
DAppIdAppOpPolicy.kt23 import com.android.server.permission.access.MutateStateScope in <lambda>()
46 override fun MutateStateScope.onAppIdRemoved(appId: Int) { in <lambda>()
62 fun MutateStateScope.removeAppOpModes(appId: Int, userId: Int): Boolean { in <lambda>() method
82 fun MutateStateScope.setAppOpMode( in <lambda>() method
128 override fun MutateStateScope.upgradePackageState( in <lambda>()
DPackageAppOpUpgrade.kt20 import com.android.server.permission.access.MutateStateScope
24 fun MutateStateScope.upgradePackageState( in MutateStateScope() method
DAppIdAppOpUpgrade.kt20 import com.android.server.permission.access.MutateStateScope
24 fun MutateStateScope.upgradePackageState( in MutateStateScope() method
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyPermissionResetTest.kt20 import com.android.server.permission.access.MutateStateScope
95 private fun MutateStateScope.testAction( in testAction() method
DBasePermissionPolicyTest.kt35 import com.android.server.permission.access.MutateStateScope in <lambda>()
158 protected inline fun mutateState(action: MutateStateScope.() -> Unit) { in <lambda>()
160 MutateStateScope(oldState, newState).action() in <lambda>()
DAppIdPermissionPolicyPermissionDefinitionsTest.kt21 import com.android.server.permission.access.MutateStateScope
727 private fun MutateStateScope.testAction(packageState: PackageState) { in testAction() method
DAppIdPermissionPolicyPermissionStatesTest.kt22 import com.android.server.permission.access.MutateStateScope
862 private fun MutateStateScope.testAction(packageState: PackageState) { in testAction() method
/frameworks/base/services/
Dart-wear-profile660 Lcom/android/server/permission/access/MutateStateScope;
17080 …ssion/access/AccessPolicy;->onInitialized(Lcom/android/server/permission/access/MutateStateScope;)V
17082 …licy;->onStorageVolumeMounted(Lcom/android/server/permission/access/MutateStateScope;Ljava/util/Ma…
17083 …ssion/access/AccessPolicy;->onSystemReady(Lcom/android/server/permission/access/MutateStateScope;)V
17093 …olicy;->upgradePackageVersion(Lcom/android/server/permission/access/MutateStateScope;Lcom/android/…
17171 HPLcom/android/server/permission/access/MutateStateScope;-><init>(Lcom/android/server/permission/ac…
17172 PLcom/android/server/permission/access/MutateStateScope;->getNewState()Lcom/android/server/permissi…
17173 PLcom/android/server/permission/access/MutateStateScope;->getOldState()Lcom/android/server/permissi…
17175 …ssion/access/SchemePolicy;->onAppIdAdded(Lcom/android/server/permission/access/MutateStateScope;I)V
17176 …ssion/access/SchemePolicy;->onInitialized(Lcom/android/server/permission/access/MutateStateScope;)V
[all …]
Dart-profile2170 …issionPolicy;->addPermissions(Lcom/android/server/permission/access/MutateStateScope;Lcom/android/…
2171 …PrivilegedPermissionAllowlist(Lcom/android/server/permission/access/MutateStateScope;Lcom/android/…
2172 …issionStatesForPackageAndUser(Lcom/android/server/permission/access/MutateStateScope;Lcom/android/…
2173 …icy;->evaluatePermissionState(Lcom/android/server/permission/access/MutateStateScope;IILjava/lang/…
2176 …legedPermissionAllowlistState(Lcom/android/server/permission/access/MutateStateScope;Lcom/android/…
2178 …olicy;->inheritImplicitPermissionStates(Lcom/android/server/permission/access/MutateStateScope;II)V
2180 …okePermissionsOnPackageUpdate(Lcom/android/server/permission/access/MutateStateScope;I)V+]Lcom/and…
2181 …ntPermissionByProtectionFlags(Lcom/android/server/permission/access/MutateStateScope;Lcom/android/…
2182 …uldGrantPermissionBySignature(Lcom/android/server/permission/access/MutateStateScope;Lcom/android/…
2183 …rantPrivilegedOrOemPermission(Lcom/android/server/permission/access/MutateStateScope;Lcom/android/…
[all …]