Home
last modified time | relevance | path

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

/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DPackageAppOpPersistence.kt45 val packageAppOpModes = userState.mutatePackageAppOpModes() in <lambda>() constant
48 TAG_PACKAGE -> parsePackage(packageAppOpModes) in <lambda>()
52 packageAppOpModes.forEachReversedIndexed { packageNameIndex, packageName, _ -> in <lambda>()
55 packageAppOpModes.removeAt(packageNameIndex) in <lambda>()
61 private fun BinaryXmlPullParser.parsePackage(packageAppOpModes: MutablePackageAppOpModes) { in <lambda>()
64 packageAppOpModes[packageName] = appOpModes in <lambda>()
69 serializePackageAppOps(state.userStates[userId]!!.packageAppOpModes) in <lambda>()
72 private fun BinaryXmlSerializer.serializePackageAppOps(packageAppOpModes: PackageAppOpModes) { in <lambda>()
74 packageAppOpModes.forEachIndexed { _, packageName, appOpModes -> in <lambda>()
DPackageAppOpPolicy.kt48 val packageNameIndex = userState.packageAppOpModes.indexOfKey(packageName) in <lambda>()
60 state.userStates[userId]?.packageAppOpModes?.get(packageName) in <lambda>()
68 newState.userStates.valueAt(userStateIndex).packageAppOpModes.indexOfKey(packageName) in <lambda>()
81 ?.packageAppOpModes in <lambda>()
98 .packageAppOpModes[packageName] in <lambda>()
103 val packageAppOpModes = newState.mutateUserState(userId)!!.mutatePackageAppOpModes() in <lambda>() constant
104 val appOpModes = packageAppOpModes.mutateOrPut(packageName) { MutableIndexedMap() } in <lambda>()
107 packageAppOpModes -= packageName in <lambda>()
DPackageAppOpMigration.kt38 val packageAppOpModes = userState.mutatePackageAppOpModes() in <lambda>() constant
46 packageAppOpModes[packageName] = appOpModes in <lambda>()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpMigrationHelperImpl.java76 final SparseArray<ArrayMap<String, SparseIntArray>> packageAppOpModes = in readLegacyAppOpState() local
80 final int version = parser.readState(appOpFile, uidAppOpModes, packageAppOpModes); in readLegacyAppOpState()
94 mPackageAppOpModes = getPackageAppOpModes(packageAppOpModes); in readLegacyAppOpState()
124 Map<String, Map<String, Integer>> packageAppOpModes = userPackageAppOpModes.get(userId); in getPackageAppOpModes() local
125 if (packageAppOpModes == null) { in getPackageAppOpModes()
126 packageAppOpModes = new ArrayMap<>(); in getPackageAppOpModes()
127 userPackageAppOpModes.put(userId, packageAppOpModes); in getPackageAppOpModes()
137 packageAppOpModes.put(packageName, getAppOpModesForOpName(modes)); in getPackageAppOpModes()
/frameworks/base/services/permission/java/com/android/server/permission/access/
DAccessState.kt402 val packageAppOpModes: PackageAppOpModes constant
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionService.kt2074 userState.packageAppOpModes.forEachIndexed packageAppOpModes@{ _, packageName, _ -> in <lambda>()
2075 val appId = packageStates[packageName]?.appId ?: return@packageAppOpModes in <lambda>()
2187 userState.packageAppOpModes[packageName]?.forEachIndexed { in <lambda>()