Home
last modified time | relevance | path

Searched refs:userStateIndex (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DPackageAppOpPolicy.kt47 newState.userStates.forEachIndexed { userStateIndex, _, userState -> in <lambda>() method
51 .mutateUserStateAt(userStateIndex) in <lambda>()
63 val userStateIndex = newState.userStates.indexOfKey(userId) in <lambda>() constant
64 if (userStateIndex < 0) { in <lambda>()
68 newState.userStates.valueAt(userStateIndex).packageAppOpModes.indexOfKey(packageName) in <lambda>()
73 .mutateUserStateAt(userStateIndex) in <lambda>()
DAppIdAppOpPolicy.kt47 newState.userStates.forEachIndexed { userStateIndex, _, userState -> in <lambda>() method
51 .mutateUserStateAt(userStateIndex) in <lambda>()
63 val userStateIndex = newState.userStates.indexOfKey(userId) in <lambda>() constant
64 if (userStateIndex < 0) { in <lambda>()
68 newState.userStates.valueAt(userStateIndex).appIdAppOpModes.indexOfKey(appId) in <lambda>()
72 newState.mutateUserStateAt(userStateIndex).mutateAppIdAppOpModes().removeAt(appIdIndex) in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationLegacySettings.java139 for (int userStateIndex = 0; userStateIndex < userStatesSize; in writeSettings()
140 userStateIndex++) { in writeSettings()
141 final int userId = userStates.keyAt(userStateIndex); in writeSettings()
142 final int userState = userStates.valueAt(userStateIndex); in writeSettings()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DDevicePermissionPolicy.kt54 newState.userStates.forEachIndexed { userStateIndex, _, userState -> in <lambda>() method
56 newState.mutateUserStateAt(userStateIndex).mutateAppIdDevicePermissionFlags() -= in <lambda>()
DAppIdPermissionPolicy.kt92 newState.userStates.forEachIndexed { userStateIndex, _, userState -> in <lambda>() method
94 newState.mutateUserStateAt(userStateIndex).mutateAppIdPermissionFlags() -= appId in <lambda>()
/frameworks/base/services/permission/java/com/android/server/permission/access/
DAccessPolicy.kt231 newState.userStates.forEachIndexed { userStateIndex, _, userState -> in <lambda>() method
233 newState.mutateUserStateAt(userStateIndex).mutatePackageVersions() -= packageName in <lambda>()