Home
last modified time | relevance | path

Searched refs:IndexedMap (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/permission/java/com/android/server/permission/access/immutable/
DIndexedMapExtensions.kt19 inline fun <K, V> IndexedMap<K, V>.allIndexed(predicate: (Int, K, V) -> Boolean): Boolean { in <lambda>()
28 inline fun <K, V> IndexedMap<K, V>.anyIndexed(predicate: (Int, K, V) -> Boolean): Boolean { in anyIndexed()
37 inline fun <K, V, R> IndexedMap<K, V>.firstNotNullOfOrNullIndexed(transform: (Int, K, V) -> R): R? { in firstNotNullOfOrNullIndexed()
46 inline fun <K, V> IndexedMap<K, V>.forEachIndexed(action: (Int, K, V) -> Unit) { in forEachIndexed()
52 inline fun <K, V> IndexedMap<K, V>.forEachReversedIndexed(action: (Int, K, V) -> Unit) { in forEachReversedIndexed()
58 fun <K, V> IndexedMap<K, V>?.getWithDefault(key: K, defaultValue: V): V { in getWithDefault()
64 inline val <K, V> IndexedMap<K, V>.lastIndex: Int
67 inline fun <K, V> IndexedMap<K, V>.noneIndexed(predicate: (Int, K, V) -> Boolean): Boolean { in noneIndexed()
76 inline fun <K, V, R, C : MutableCollection<R>> IndexedMap<K, V>.mapIndexedTo( in mapIndexedTo()
84 inline fun <K, V, R, C : MutableCollection<R>> IndexedMap<K, V>.mapNotNullIndexedTo( in mapNotNullIndexedTo()
DIndexedMap.kt22 sealed class IndexedMap<K, V>(internal val map: ArrayMap<K, V>) : class
45 class MutableIndexedMap<K, V>(map: ArrayMap<K, V> = ArrayMap()) : IndexedMap<K, V>(map) { in isEmpty()
46 constructor(indexedMap: IndexedMap<K, V>) : this(ArrayMap(indexedMap.map)) in isEmpty()
DImmutable.md144 MutableReference<IndexedMap<String, Permission>, MutableIndexedMap<String, Permission>>
149 val permissions: IndexedMap<String, Permission>
163 For collection classes like `IndexedMap`, there are also classes like `IndexedReferenceMap` where
/frameworks/base/services/permission/java/com/android/server/permission/access/
DAccessState.kt108 implicitToSourcePermissions: IndexedMap<String, IndexedListSet<String>>,
139 var implicitToSourcePermissions: IndexedMap<String, IndexedListSet<String>> =
160 implicitToSourcePermissions: IndexedMap<String, IndexedListSet<String>>, in toMutable()
250 implicitToSourcePermissions: IndexedMap<String, IndexedListSet<String>> 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>>
278 val permissionGroups: IndexedMap<String, PermissionGroupInfo>
281 val permissionTrees: IndexedMap<String, Permission>
284 val permissions: IndexedMap<String, Permission>
[all …]
DAccessPolicy.kt27 import com.android.server.permission.access.immutable.IndexedMap in <lambda>()
42 private val schemePolicies: IndexedMap<String, IndexedMap<String, SchemePolicy>> in <lambda>()
56 } as IndexedMap<String, IndexedMap<String, SchemePolicy>> in <lambda>()
74 implicitToSourcePermissions: IndexedMap<String, IndexedListSet<String>> in <lambda>()
402 packageVersions: IndexedMap<String, Int> in <lambda>()
DAccessCheckingService.kt132 private val SystemConfig.implicitToSourcePermissions: IndexedMap<String, IndexedListSet<String>> in <lambda>()
143 } as IndexedMap<String, IndexedListSet<String>> in <lambda>()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyTest.kt290 val permissionTrees: IndexedMap<String, Permission> in testGetPermissionTrees()
331 val permissionGroups: IndexedMap<String, PermissionGroupInfo> in testGetPermissionGroups()
343 val permissions: IndexedMap<String, Permission> in testGetPermissions()
382 val uidPermissionFlags: IndexedMap<String, Int>? in testGetUidPermissionFlags()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DDevicePermissionPersistence.kt28 import com.android.server.permission.access.immutable.IndexedMap in <lambda>()
134 permissionFlags: IndexedMap<String, Int> in <lambda>()
DAppIdPermissionPersistence.kt127 permissions: IndexedMap<String, Permission> in <lambda>()
208 permissionFlags: IndexedMap<String, Int> in <lambda>()
DAppIdPermissionPolicy.kt1648 fun GetStateScope.getPermissionTrees(): IndexedMap<String, Permission> = in <lambda>()
1672 fun GetStateScope.getPermissionGroups(): IndexedMap<String, PermissionGroupInfo> = in <lambda>()
1676 fun GetStateScope.getPermissions(): IndexedMap<String, Permission> = in <lambda>()
1691 fun GetStateScope.getUidPermissionFlags(appId: Int, userId: Int): IndexedMap<String, Int>? = in <lambda>()
1711 fun GetStateScope.getAllPermissionFlags(appId: Int, userId: Int): IndexedMap<String, Int>? = in <lambda>()
DDevicePermissionPolicy.kt233 ): IndexedMap<String, Int>? = in <lambda>()
DPermissionService.kt2063 ): IndexedMap<Int, MutableIndexedSet<String>> { in <lambda>()
2249 permissions: IndexedMap<String, Permission> in <lambda>()
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DBaseAppOpPersistence.kt54 protected fun BinaryXmlSerializer.serializeAppOps(appOpModes: IndexedMap<String, Int>) { in <lambda>()
DAppIdAppOpPersistence.kt86 appOpModes: IndexedMap<String, Int> in <lambda>()
DPackageAppOpPersistence.kt82 appOpModes: IndexedMap<String, Int> in <lambda>()
DPackageAppOpPolicy.kt59 fun GetStateScope.getAppOpModes(packageName: String, userId: Int): IndexedMap<String, Int>? = in <lambda>()
DAppIdAppOpPolicy.kt59 fun GetStateScope.getAppOpModes(appId: Int, userId: Int): IndexedMap<String, Int>? = in <lambda>()
/frameworks/base/services/
Dart-wear-profile691 Lcom/android/server/permission/access/immutable/IndexedMap;
17045 …sions(Lcom/android/server/SystemConfig;)Lcom/android/server/permission/access/immutable/IndexedMap;
17076 …rmission/access/AccessPolicy;-><init>(Lcom/android/server/permission/access/immutable/IndexedMap;)V
17079 …ver/pm/permission/PermissionAllowlist;Lcom/android/server/permission/access/immutable/IndexedMap;)V
17090 …oid/modules/utils/BinaryXmlSerializer;Lcom/android/server/permission/access/immutable/IndexedMap;)V
17103 …er/pm/permission/PermissionAllowlist;Lcom/android/server/permission/access/immutable/IndexedMap;Z)V
17104 …on/PermissionAllowlist;Lcom/android/server/permission/access/immutable/IndexedMap;ZLcom/android/se…
17109 …State;->getImplicitToSourcePermissions()Lcom/android/server/permission/access/immutable/IndexedMap;
17120 …tate;->setImplicitToSourcePermissions(Lcom/android/server/permission/access/immutable/IndexedMap;)V
17142 …er/pm/permission/PermissionAllowlist;Lcom/android/server/permission/access/immutable/IndexedMap;Z)V
[all …]
Dart-profile2135 …ls/BinaryXmlSerializer;Lcom/android/server/permission/access/immutable/IndexedMap;)V+]Lcom/android…
2153 …ls/BinaryXmlSerializer;Lcom/android/server/permission/access/immutable/IndexedMap;)V+]Ljava/lang/N…
2155 …ccess/GetStateScope;Ljava/lang/String;I)Lcom/android/server/permission/access/immutable/IndexedMap;
2159 HSPLcom/android/server/permission/access/immutable/IndexedMap;->getSize()I
2160 HSPLcom/android/server/permission/access/immutable/IndexedMap;->keyAt(I)Ljava/lang/Object;
2161 HSPLcom/android/server/permission/access/immutable/IndexedMap;->valueAt(I)Ljava/lang/Object;
2166 …s/BinaryXmlSerializer;ILcom/android/server/permission/access/immutable/IndexedMap;)V+]Lcom/android…
2169 …izer;Ljava/lang/String;Lcom/android/server/permission/access/immutable/IndexedMap;)V+]Lcom/android…
2175 …server/permission/access/GetStateScope;)Lcom/android/server/permission/access/immutable/IndexedMap;
2177 …rver/permission/access/GetStateScope;II)Lcom/android/server/permission/access/immutable/IndexedMap;