Home
last modified time | relevance | path

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

/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DAppIdAppOpPersistence.kt45 val appIdAppOpModes = userState.mutateAppIdAppOpModes() in <lambda>() constant
48 TAG_APP_ID -> parseAppId(appIdAppOpModes) in <lambda>()
52 userState.appIdAppOpModes.forEachReversedIndexed { appIdIndex, appId, _ -> in <lambda>()
59 appIdAppOpModes.removeAt(appIdIndex) in <lambda>()
65 private fun BinaryXmlPullParser.parseAppId(appIdAppOpModes: MutableAppIdAppOpModes) { in <lambda>()
68 appIdAppOpModes[appId] = appOpModes in <lambda>()
73 serializeAppIdAppOps(state.userStates[userId]!!.appIdAppOpModes) in <lambda>()
76 private fun BinaryXmlSerializer.serializeAppIdAppOps(appIdAppOpModes: AppIdAppOpModes) { in <lambda>()
78 appIdAppOpModes.forEachIndexed { _, appId, appOpModes -> in <lambda>()
DAppIdAppOpPolicy.kt48 val appIdIndex = userState.appIdAppOpModes.indexOfKey(appId) in <lambda>()
60 state.userStates[userId]?.appIdAppOpModes?.get(appId) in <lambda>()
68 newState.userStates.valueAt(userStateIndex).appIdAppOpModes.indexOfKey(appId) in <lambda>()
78 ?.appIdAppOpModes in <lambda>()
95 .appIdAppOpModes[appId] in <lambda>()
100 val appIdAppOpModes = newState.mutateUserState(userId)!!.mutateAppIdAppOpModes() in <lambda>() constant
101 val appOpModes = appIdAppOpModes.mutateOrPut(appId) { MutableIndexedMap() } in <lambda>()
104 appIdAppOpModes -= appId in <lambda>()
DAppIdAppOpMigration.kt38 val appIdAppOpModes = userState.mutateAppIdAppOpModes() in <lambda>() constant
48 appIdAppOpModes[appId] = appOpModes in <lambda>()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpMigrationHelperImpl.java105 Map<Integer, Map<String, Integer>> appIdAppOpModes = userAppIdAppOpModes.get(userId); in getAppIdAppOpModes() local
106 if (appIdAppOpModes == null) { in getAppIdAppOpModes()
107 appIdAppOpModes = new ArrayMap<>(); in getAppIdAppOpModes()
108 userAppIdAppOpModes.put(userId, appIdAppOpModes); in getAppIdAppOpModes()
112 appIdAppOpModes.put(UserHandle.getAppId(uid), getAppOpModesForOpName(appOpModes)); in getAppIdAppOpModes()
/frameworks/base/services/permission/java/com/android/server/permission/access/
DAccessState.kt399 val appIdAppOpModes: AppIdAppOpModes constant
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionService.kt2069 userState.appIdAppOpModes.forEachIndexed { _, appId, _ -> appIds.add(appId) } in <lambda>()
2175 userState.appIdAppOpModes[appId]?.forEachIndexed { _, appOpName, appOpMode in <lambda>()