Home
last modified time | relevance | path

Searched refs:GetStateScope (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyTest.kt21 import com.android.server.permission.access.GetStateScope
279 GetStateScope(oldState).apply { in testOnStateMutated_notEmpty_isCalledForEachListener()
291 GetStateScope(oldState).apply { in testGetPermissionTrees()
306 GetStateScope(oldState).apply { in testFindPermissionTree()
332 GetStateScope(oldState).apply { in testGetPermissionGroups()
344 GetStateScope(oldState).apply { in testGetPermissions()
383 GetStateScope(oldState).apply { in testGetUidPermissionFlags()
DDevicePermissionPolicyTest.kt19 import com.android.server.permission.access.GetStateScope
129 GetStateScope(oldState).apply { in testOnStateMutated_notEmpty_isCalledForEachListener()
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DPackageAppOpPolicy.kt21 import com.android.server.permission.access.GetStateScope in <lambda>()
42 override fun GetStateScope.onStateMutated() { in <lambda>()
59 fun GetStateScope.getAppOpModes(packageName: String, userId: Int): IndexedMap<String, Int>? = in <lambda>() method
79 fun GetStateScope.getAppOpMode(packageName: String, userId: Int, appOpName: String): Int = in <lambda>() method
DAppIdAppOpPolicy.kt21 import com.android.server.permission.access.GetStateScope in <lambda>()
42 override fun GetStateScope.onStateMutated() { in <lambda>()
59 fun GetStateScope.getAppOpModes(appId: Int, userId: Int): IndexedMap<String, Int>? = in <lambda>() method
76 fun GetStateScope.getAppOpMode(appId: Int, userId: Int, appOpName: String): Int = in <lambda>() method
DAppOpService.kt40 import com.android.server.permission.access.GetStateScope in <lambda>()
192 private fun GetStateScope.getUidModeFromPermissionState( in <lambda>() method
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DDevicePermissionPolicy.kt25 import com.android.server.permission.access.GetStateScope in <lambda>()
49 override fun GetStateScope.onStateMutated() { in <lambda>()
205 fun GetStateScope.getPermissionFlags( in <lambda>() method
229 fun GetStateScope.getAllPermissionFlags( in <lambda>() method
DAppIdPermissionPolicy.kt32 import com.android.server.permission.access.GetStateScope in <lambda>()
75 override fun GetStateScope.onStateMutated() { in <lambda>()
1648 fun GetStateScope.getPermissionTrees(): IndexedMap<String, Permission> = in <lambda>() method
1651 fun GetStateScope.findPermissionTree(permissionName: String): Permission? = in <lambda>() method
1672 fun GetStateScope.getPermissionGroups(): IndexedMap<String, PermissionGroupInfo> = in <lambda>() method
1676 fun GetStateScope.getPermissions(): IndexedMap<String, Permission> = in <lambda>() method
1691 fun GetStateScope.getUidPermissionFlags(appId: Int, userId: Int): IndexedMap<String, Int>? = in <lambda>() method
1694 fun GetStateScope.getPermissionFlags(appId: Int, userId: Int, permissionName: String): Int = in <lambda>() method
1711 fun GetStateScope.getAllPermissionFlags(appId: Int, userId: Int): IndexedMap<String, Int>? = in <lambda>() method
DPermissionService.kt75 import com.android.server.permission.access.GetStateScope in <lambda>()
426 private fun GetStateScope.getAndEnforcePermissionTree(permissionName: String): Permission { in <lambda>() method
438 private fun GetStateScope.enforcePermissionTreeSize( in <lambda>() method
455 private fun GetStateScope.calculatePermissionTreeFootprint(permissionTree: Permission): Int { in <lambda>() method
553 private fun GetStateScope.isPermissionGranted( in <lambda>() method
585 private fun GetStateScope.isSinglePermissionGranted( in <lambda>() method
1588 private fun GetStateScope.getPermissionFlagsWithPolicy( in <lambda>() method
/frameworks/base/services/permission/java/com/android/server/permission/access/
DAccessCheckingService.kt285 internal inline fun <T> getState(action: GetStateScope.() -> T): T { in <lambda>()
287 return GetStateScope(state).action() in <lambda>()
299 with(policy) { GetStateScope(newState).onStateMutated() } in <lambda>()
DAccessState.kt493 open class GetStateScope(val state: AccessState) class
496 GetStateScope(newState)
DAccessPolicy.kt100 fun GetStateScope.onStateMutated() { in <lambda>() method
452 open fun GetStateScope.onStateMutated() {} in onStateMutated()
/frameworks/base/services/
Dart-profile2134 …s/AccessPolicy;->onStateMutated(Lcom/android/server/permission/access/GetStateScope;)V+]Lcom/andro…
2141 …AppIdAppOpPolicy;->getAppOpMode(Lcom/android/server/permission/access/GetStateScope;IILjava/lang/S…
2142 …pIdAppOpPolicy;->onStateMutated(Lcom/android/server/permission/access/GetStateScope;)V+]Lcom/andro…
2150 …->getUidModeFromPermissionState(Lcom/android/server/permission/access/GetStateScope;IILjava/lang/S…
2154 …ckageAppOpPolicy;->getAppOpMode(Lcom/android/server/permission/access/GetStateScope;Ljava/lang/Str…
2155 …kageAppOpPolicy;->getAppOpModes(Lcom/android/server/permission/access/GetStateScope;Ljava/lang/Str…
2156 …ageAppOpPolicy;->onStateMutated(Lcom/android/server/permission/access/GetStateScope;)V+]Lcom/andro…
2175 …rmissionPolicy;->getPermissions(Lcom/android/server/permission/access/GetStateScope;)Lcom/android/…
2177 …nPolicy;->getUidPermissionFlags(Lcom/android/server/permission/access/GetStateScope;II)Lcom/androi…
2179 …rmissionPolicy;->onStateMutated(Lcom/android/server/permission/access/GetStateScope;)V+]Lcom/andro…
[all …]
Dart-wear-profile655 Lcom/android/server/permission/access/GetStateScope;
17081 …mission/access/AccessPolicy;->onStateMutated(Lcom/android/server/permission/access/GetStateScope;)V
17129 PLcom/android/server/permission/access/GetStateScope;-><init>(Lcom/android/server/permission/access…
17130 PLcom/android/server/permission/access/GetStateScope;->getState()Lcom/android/server/permission/acc…
17231 …AppIdAppOpPolicy;->getAppOpMode(Lcom/android/server/permission/access/GetStateScope;IILjava/lang/S…
17232 …ppIdAppOpPolicy;->getAppOpModes(Lcom/android/server/permission/access/GetStateScope;II)Lcom/androi…
17234 …cess/appop/AppIdAppOpPolicy;->onStateMutated(Lcom/android/server/permission/access/GetStateScope;)V
17294 …ckageAppOpPolicy;->getAppOpMode(Lcom/android/server/permission/access/GetStateScope;Ljava/lang/Str…
17295 …kageAppOpPolicy;->getAppOpModes(Lcom/android/server/permission/access/GetStateScope;Ljava/lang/Str…
17297 …ss/appop/PackageAppOpPolicy;->onStateMutated(Lcom/android/server/permission/access/GetStateScope;)V
[all …]