Home
last modified time | relevance | path

Searched refs:MutableIndexedMap (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/permission/java/com/android/server/permission/access/
DAccessState.kt187 MutableIndexedMap(), in toMutable()
263 IndexedMap<String, PermissionGroupInfo>, MutableIndexedMap<String, PermissionGroupInfo>
267 MutableReference<IndexedMap<String, Permission>, MutableIndexedMap<String, Permission>>
270 MutableReference<IndexedMap<String, Permission>, MutableIndexedMap<String, Permission>>
309 PermissionGroupsReference(MutableIndexedMap()), in toMutable()
310 PermissionTreesReference(MutableIndexedMap()), in toMutable()
311 PermissionsReference(MutableIndexedMap()), in toMutable()
324 fun mutatePermissionGroups(): MutableIndexedMap<String, PermissionGroupInfo> = in toMutable()
327 fun mutatePermissionTrees(): MutableIndexedMap<String, Permission> = in toMutable()
330 fun mutatePermissions(): MutableIndexedMap<String, Permission> = permissionsReference.mutate() in toMutable()
[all …]
DAccessPolicy.kt47 MutableIndexedMap<String, MutableIndexedMap<String, SchemePolicy>>().apply { in <lambda>()
49 getOrPut(policy.subjectScheme) { MutableIndexedMap() }[policy.objectScheme] = in <lambda>()
375 packageVersions: MutableIndexedMap<String, Int> in <lambda>()
DAccessCheckingService.kt135 MutableIndexedMap<String, MutableIndexedListSet<String>>().apply { in <lambda>()
/frameworks/base/services/permission/java/com/android/server/permission/access/immutable/
DIndexedMap.kt23 Immutable<MutableIndexedMap<K, V>> {
39 override fun toMutable(): MutableIndexedMap<K, V> = MutableIndexedMap(this) in isEmpty()
45 class MutableIndexedMap<K, V>(map: ArrayMap<K, V> = ArrayMap()) : IndexedMap<K, V>(map) { in isEmpty() class
DIndexedMapExtensions.kt92 inline fun <K, V> MutableIndexedMap<K, V>.getOrPut(key: K, defaultValue: () -> V): V { in getOrPut()
100 inline operator fun <K, V> MutableIndexedMap<K, V>.minusAssign(key: K) { in minusAssign()
104 fun <K, V> MutableIndexedMap<K, V>.putWithDefault(key: K, value: V, defaultValue: V): V { in putWithDefault()
125 inline operator fun <K, V> MutableIndexedMap<K, V>.set(key: K, value: V) { in set()
DImmutable.md144 MutableReference<IndexedMap<String, Permission>, MutableIndexedMap<String, Permission>>
156 fun mutatePermissions(): MutableIndexedMap<String, Permission> = permissionsReference.mutate()
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DBaseAppOpPersistence.kt39 protected fun BinaryXmlPullParser.parseAppOps(appOpModes: MutableIndexedMap<String, Int>) { in <lambda>()
48 private fun BinaryXmlPullParser.parseAppOp(appOpModes: MutableIndexedMap<String, Int>) { in <lambda>()
DPackageAppOpMigration.kt45 val appOpModes = MutableIndexedMap<String, Int>() in <lambda>()
DAppIdAppOpMigration.kt47 val appOpModes = MutableIndexedMap<String, Int>() in <lambda>()
DAppIdAppOpPersistence.kt67 val appOpModes = MutableIndexedMap<String, Int>() in <lambda>()
DPackageAppOpPersistence.kt63 val appOpModes = MutableIndexedMap<String, Int>() in <lambda>()
DPackageAppOpPolicy.kt104 val appOpModes = packageAppOpModes.mutateOrPut(packageName) { MutableIndexedMap() } in <lambda>()
DAppIdAppOpPolicy.kt101 val appOpModes = appIdAppOpModes.mutateOrPut(appId) { MutableIndexedMap() } in <lambda>()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DDevicePermissionPersistence.kt29 import com.android.server.permission.access.immutable.MutableIndexedMap in <lambda>()
93 val permissionFlags = MutableIndexedMap<String, Int>() in <lambda>()
104 permissionFlags: MutableIndexedMap<String, Int> in <lambda>()
DAppIdPermissionMigration.kt47 permissions: MutableIndexedMap<String, Permission>, in <lambda>()
86 val permissionFlags = MutableIndexedMap<String, Int>() in <lambda>()
DAppIdPermissionPersistence.kt91 permissions: MutableIndexedMap<String, Permission> in <lambda>()
174 val permissionFlags = MutableIndexedMap<String, Int>() in <lambda>()
185 permissionFlags: MutableIndexedMap<String, Int> in <lambda>()
DDevicePermissionPolicy.kt291 val permissionFlags = devicePermissionFlags.mutateOrPut(deviceId) { MutableIndexedMap() } in <lambda>()
DAppIdPermissionPolicy.kt1745 val permissionFlags = appIdPermissionFlags.mutateOrPut(appId) { MutableIndexedMap() } in <lambda>()
DPermissionService.kt2080 val appIdPackageNames = MutableIndexedMap<Int, MutableIndexedSet<String>>() in <lambda>()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyPermissionStatesTest.kt25 import com.android.server.permission.access.immutable.MutableIndexedMap
440 MutableIndexedMap<String, IndexedListSet<String>>().apply { in testEvaluatePermissionState_implicitSourceFromNonRuntime_getsImplicitGranted()
750 MutableIndexedMap<String, IndexedListSet<String>>().apply { in testInheritImplicitPermissionStates()
DDevicePermissionPolicyTest.kt268 devicePermissionFlags.mutateOrPut(deviceId) { MutableIndexedMap() } in getPermissionFlags()
DBasePermissionPolicyTest.kt355 MutableIndexedMap() in <lambda>()
/frameworks/base/services/
Dart-wear-profile704 Lcom/android/server/permission/access/immutable/MutableIndexedMap;
17077 …$lambda$1$addPolicy(Lcom/android/server/permission/access/immutable/MutableIndexedMap;Lcom/android…
17085 …ules/utils/BinaryXmlPullParser;Lcom/android/server/permission/access/immutable/MutableIndexedMap;)V
17157 …mState;->mutatePermissionGroups()Lcom/android/server/permission/access/immutable/MutableIndexedMap;
17158 …emState;->mutatePermissionTrees()Lcom/android/server/permission/access/immutable/MutableIndexedMap;
17159 …SystemState;->mutatePermissions()Lcom/android/server/permission/access/immutable/MutableIndexedMap;
17168 …erState;->mutatePackageVersions()Lcom/android/server/permission/access/immutable/MutableIndexedMap;
17266 …ules/utils/BinaryXmlPullParser;Lcom/android/server/permission/access/immutable/MutableIndexedMap;)V
17267 …ules/utils/BinaryXmlPullParser;Lcom/android/server/permission/access/immutable/MutableIndexedMap;)V
17322 …mmutable/IndexedMap;->toMutable()Lcom/android/server/permission/access/immutable/MutableIndexedMap;
[all …]