Home
last modified time | relevance | path

Searched refs:appIdPermissionFlags (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionPersistence.kt156 val appIdPermissionFlags = userState.mutateAppIdPermissionFlags() in <lambda>() constant
159 TAG_APP_ID -> parseAppId(appIdPermissionFlags) in <lambda>()
163 appIdPermissionFlags.forEachReversedIndexed { appIdIndex, appId, _ -> in <lambda>()
166 appIdPermissionFlags.removeAt(appIdIndex) in <lambda>()
172 private fun BinaryXmlPullParser.parseAppId(appIdPermissionFlags: MutableAppIdPermissionFlags) { in <lambda>()
175 appIdPermissionFlags[appId] = permissionFlags in <lambda>()
193 serializeAppIdPermissions(state.userStates[userId]!!.appIdPermissionFlags) in <lambda>()
197 appIdPermissionFlags: AppIdPermissionFlags in <lambda>()
200 appIdPermissionFlags.forEachIndexed { _, appId, permissionFlags -> in <lambda>()
DAppIdPermissionMigration.kt78 val appIdPermissionFlags = userState.mutateAppIdPermissionFlags() in <lambda>() constant
87 appIdPermissionFlags[appId] = permissionFlags in <lambda>()
DDevicePermissionPersistence.kt74 appIdPermissionFlags: MutableAppIdDevicePermissionFlags in <lambda>()
78 appIdPermissionFlags[appId] = devicePermissionFlags in <lambda>()
DAppIdPermissionPolicy.kt93 if (appId in userState.appIdPermissionFlags) { in <lambda>()
699 userState.appIdPermissionFlags[appId]?.forEachReversedIndexed { _, permissionName, _ -> in <lambda>()
757 userState.appIdPermissionFlags[appId]?.forEachReversedIndexed { in <lambda>()
1692 state.userStates[userId]?.appIdPermissionFlags?.get(appId) in <lambda>()
1709 state.userStates[userId]?.appIdPermissionFlags?.get(appId).getWithDefault(permissionName, 0) in <lambda>()
1712 state.userStates[userId]?.appIdPermissionFlags?.get(appId) in <lambda>()
1738 .appIdPermissionFlags[appId] in <lambda>()
1744 val appIdPermissionFlags = newState.mutateUserState(userId)!!.mutateAppIdPermissionFlags() in <lambda>() constant
1745 val permissionFlags = appIdPermissionFlags.mutateOrPut(appId) { MutableIndexedMap() } in <lambda>()
1748 appIdPermissionFlags -= appId in <lambda>()
DPermissionService.kt2068 userState.appIdPermissionFlags.forEachIndexed { _, appId, _ -> appIds.add(appId) } in <lambda>()
2145 userState.appIdPermissionFlags[appId]?.forEachIndexed { in <lambda>()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DAppIdPermissionPolicyTest.kt389 assertThat(oldState.userStates[USER_ID_0]!!.appIdPermissionFlags[APP_ID_0]) in testGetUidPermissionFlags()
DBasePermissionPolicyTest.kt345 state.userStates[userId]?.appIdPermissionFlags?.get(appId).getWithDefault(permissionName, 0) in <lambda>()
/frameworks/base/services/permission/java/com/android/server/permission/access/
DAccessState.kt393 val appIdPermissionFlags: AppIdPermissionFlags constant