Home
last modified time | relevance | path

Searched refs:unusedApps (Results 1 – 2 of 2) sorted by relevance

/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAutoRevokeViewModel.kt101 val unusedApps = UnusedAutoRevokedPackagesLiveData.value!! in <lambda>() constant
102 val overSixMonthApps = unusedApps.keys.toMutableSet() in <lambda>()
112 if (unusedApps.contains(key) && in <lambda>()
125 if (!unusedApps.contains(statPackage)) { in <lambda>()
131 disableActionApps.contains(statPackage), unusedApps[statPackage]!!)) in <lambda>()
157 unusedApps[userPackage]!!)) in <lambda>()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/service/
DAutoRevokePermissions.kt250 val unusedApps = allPackagesByUser.toMutableMap() in revokePermissionsOnUnusedApps() constant
262 for (user in unusedApps.keys.toList()) { in revokePermissionsOnUnusedApps()
267 unusedApps.remove(user) in revokePermissionsOnUnusedApps()
272 var unusedUserApps = unusedApps[user] ?: continue in revokePermissionsOnUnusedApps()
305 unusedApps[user] = unusedUserApps in revokePermissionsOnUnusedApps()
314 for ((user, userApps) in unusedApps) { in revokePermissionsOnUnusedApps()