Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/data/
DAutoRevokedPackagesLiveData.kt84 toAdd.forEach { userPackage -> in <lambda>() method
85 addSource(packagePermGroupsLiveDatas[userPackage]!!) { in <lambda>()
163 for ((userPackage, permGroups) in packageAutoRevokedPermsList) { in <lambda>() constant
164 autoRevokedCopy[userPackage] = permGroups.toSet() in <lambda>()
196 for ((userPackage, perms) in autoRevokedPackages) { in onUpdate() constant
197 unusedPackages[userPackage] = perms.toSet() in onUpdate()
203 val userPackage = stat.packageName to user in onUpdate() constant
204 if (userPackage in autoRevokedPackages && in onUpdate()
206 unusedPackages.remove(userPackage) in onUpdate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/webview/
DWebViewAppPicker.java154 for (UserPackage userPackage : userPackages) { in getDisabledReason()
155 if (!userPackage.isInstalledPackage()) { in getDisabledReason()
158 R.string.webview_uninstalled_for_user, userPackage.getUserInfo().name); in getDisabledReason()
159 } else if (!userPackage.isEnabledPackage()) { in getDisabledReason()
162 R.string.webview_disabled_for_user, userPackage.getUserInfo().name); in getDisabledReason()
/packages/apps/Settings/src/com/android/settings/webview/
DWebViewAppPicker.java154 for (UserPackage userPackage : userPackages) { in getDisabledReason()
155 if (!userPackage.isInstalledPackage()) { in getDisabledReason()
158 R.string.webview_uninstalled_for_user, userPackage.getUserInfo().name); in getDisabledReason()
159 } else if (!userPackage.isEnabledPackage()) { in getDisabledReason()
162 R.string.webview_disabled_for_user, userPackage.getUserInfo().name); in getDisabledReason()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java468 UserPackage userPackage = new UserPackage(userId, packageName); in includeHandlerApps() local
469 appsMapping.put(userPackage, info); in includeHandlerApps()
474 appItems.put(userPackage, item); in includeHandlerApps()
483 final UserPackage userPackage = new UserPackage(rootItem.userId, in includeHandlerApps() local
485 final ResolveInfo resolveInfo = appsMapping.get(userPackage); in includeHandlerApps()
491 appItems.remove(userPackage); in includeHandlerApps()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAutoRevokeViewModel.kt154 val userPackage = packageName to user in <lambda>() constant
156 RevokedPackageInfo(packageName, user, disableActionApps.contains(userPackage), in <lambda>()
157 unusedApps[userPackage]!!)) in <lambda>()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/service/
DLocationAccessCheck.java1008 UserPackage userPackage = (UserPackage) o; in equals() local
1009 return pkg.equals(userPackage.pkg) && user.equals(userPackage.user); in equals()