Home
last modified time | relevance | path

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

/frameworks/base/services/permission/java/com/android/server/permission/access/immutable/
DIntSetExtensions.kt52 operator fun IntSet.minus(element: Int): MutableIntSet = toMutable().apply { this -= element } in <lambda>()
67 operator fun IntSet.plus(element: Int): MutableIntSet = toMutable().apply { this += element } in <lambda>()
DIndexedListExtensions.kt53 toMutable().apply { this -= element } in minus()
65 toMutable().apply { this += element } in plus()
DIndexedListSetExtensions.kt53 toMutable().apply { this -= element } in minus()
65 toMutable().apply { this += element } in plus()
DIndexedSetExtensions.kt59 toMutable().apply { this -= element } in minus()
71 toMutable().apply { this += element } in plus()
DImmutable.kt20 fun toMutable(): M method
DMutableReference.kt52 return immutable.toMutable().also { in get()
DIndexedSet.kt34 override fun toMutable(): MutableIndexedSet<T> = MutableIndexedSet(this) in isEmpty() method in com.android.server.permission.access.immutable.IndexedSet
DIndexedListSet.kt33 override fun toMutable(): MutableIndexedListSet<T> = MutableIndexedListSet(this) in isEmpty() method in com.android.server.permission.access.immutable.IndexedListSet
DIntSet.kt34 override fun toMutable(): MutableIntSet = MutableIntSet(this) in isEmpty() method in com.android.server.permission.access.immutable.IntSet
DIndexedList.kt30 override fun toMutable(): MutableIndexedList<T> = MutableIndexedList(this) in isEmpty() method in com.android.server.permission.access.immutable.IndexedList
DIndexedMap.kt39 override fun toMutable(): MutableIndexedMap<K, V> = MutableIndexedMap(this) in isEmpty() method in com.android.server.permission.access.immutable.IndexedMap
DImmutable.md35 require a new call to `toMutable()` which ensures a new copy is created. This eliminates a whole
79 started by calling a `toMutable()` method on the root data structure, which would return a mutable
97 val newState = state.toMutable()
116 return immutable.toMutable().also {
126 fun toMutable(): M
158 override fun toMutable(): MutableSystemState =
DIntReferenceMap.kt44 override fun toMutable(): MutableIntReferenceMap<I, M> = MutableIntReferenceMap(this) in isEmpty() method in com.android.server.permission.access.immutable.IntReferenceMap
DIndexedReferenceMap.kt44 override fun toMutable(): MutableIndexedReferenceMap<K, I, M> = MutableIndexedReferenceMap(this) in isEmpty() method in com.android.server.permission.access.immutable.IndexedReferenceMap
DIntMap.kt38 override fun toMutable(): MutableIntMap<T> = MutableIntMap(this) in isEmpty() method in com.android.server.permission.access.immutable.IntMap
/frameworks/base/services/permission/java/com/android/server/permission/access/
DAccessState.kt50 override fun toMutable(): MutableAccessState = MutableAccessState(this) in toMutable() method in com.android.server.permission.access.AccessState
146 override fun toMutable(): MutableExternalState = MutableExternalState(this) in toMutable() method
290 override fun toMutable(): MutableSystemState = MutableSystemState(this) in toMutable() method
411 override fun toMutable(): MutableUserState = MutableUserState(this) in toMutable() method
DAccessCheckingService.kt295 val newState = oldState.toMutable() in <lambda>()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DBasePermissionPolicyTest.kt159 newState = oldState.toMutable() in <lambda>()
/frameworks/base/services/
Dart-wear-profile17102 HPLcom/android/server/permission/access/AccessState;->toMutable()Lcom/android/server/permission/acc…
17127 PLcom/android/server/permission/access/ExternalState;->toMutable()Lcom/android/server/permission/ac…
17128 PLcom/android/server/permission/access/ExternalState;->toMutable()Ljava/lang/Object;
17191 PLcom/android/server/permission/access/SystemState;->toMutable()Lcom/android/server/permission/acce…
17192 PLcom/android/server/permission/access/SystemState;->toMutable()Ljava/lang/Object;
17209 PLcom/android/server/permission/access/UserState;->toMutable()Lcom/android/server/permission/access…
17210 PLcom/android/server/permission/access/UserState;->toMutable()Ljava/lang/Object;
17312 HPLcom/android/server/permission/access/immutable/IndexedListSet;->toMutable()Lcom/android/server/p…
17313 PLcom/android/server/permission/access/immutable/IndexedListSet;->toMutable()Ljava/lang/Object;
17322 PLcom/android/server/permission/access/immutable/IndexedMap;->toMutable()Lcom/android/server/permis…
[all …]