Home
last modified time | relevance | path

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

/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/systemui/themepresets/
DThemePresetsItem.kt27 val userPackages: List<String>, in <lambda>() constant in com.android.car.customization.tool.features.rro.systemui.themepresets.ThemeRRO
34 userPackages = userPackages.filter { rroPackage -> in <lambda>()
42 } && userPackages.all { rroPackage -> in <lambda>()
56 userPackages = getUserRroPackages(theme = "pink") in rroThemePresetsDropDownItem()
60 userPackages = getUserRroPackages(theme = "orange") in rroThemePresetsDropDownItem()
DThemePresetsReducer.kt45 toggleRROs(action.themeToEnable.userPackages, enable = true, UserHandle.CURRENT) in <lambda>()
50 toggleRROs(theme.userPackages, enable = false, UserHandle.CURRENT) in <lambda>()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/hibernation/
DHibernationControllerTest.kt108 val userPackages = listOf(makePackageInfo(PACKAGE_NAME_1), makePackageInfo(PACKAGE_NAME_2)) in testHibernateApps_hibernatesAppsForUser() constant
109 val map = mapOf(UserHandle.of(USER_ID) to userPackages) in testHibernateApps_hibernatesAppsForUser()
114 for (pkg in userPackages) { in testHibernateApps_hibernatesAppsForUser()
123 val userPackages = listOf(makePackageInfo(PACKAGE_NAME_1), makePackageInfo(PACKAGE_NAME_2)) in testHibernateApps_globallyUnusedAppIsGloballyHibernated() constant
124 val map = mapOf(UserHandle.of(USER_ID) to userPackages) in testHibernateApps_globallyUnusedAppIsGloballyHibernated()
138 val userPackages = listOf(makePackageInfo(PACKAGE_NAME_1), makePackageInfo(PACKAGE_NAME_2)) in testHibernateApps_globallyUsedAppIsNotGloballyHibernated() constant
139 val map = mapOf(UserHandle.of(USER_ID) to userPackages) in testHibernateApps_globallyUsedAppIsNotGloballyHibernated()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DUnusedAppsViewModel.kt172 userPackages: Map<UserHandle, List<LightPackageInfo>>, in <lambda>()
175 return userPackages in <lambda>()
190 userPackages: Map<UserHandle, List<PackageData>>, in <lambda>()
194 return userPackages in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DFullStoragePermissionAppsLiveData.kt63 val userPackages = in loadDataAndPostValue() constant
69 for (packageInfo in userPackages) { in loadDataAndPostValue()
/packages/apps/Settings/src/com/android/settings/webview/
DWebViewAppPicker.java152 List<UserPackage> userPackages = in getDisabledReason() local
154 for (UserPackage userPackage : userPackages) { in getDisabledReason()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DLocationAccessCheck.java888 private void sendToSafetyCenter(List<UserPackage> userPackages, SafetyEvent safetyEvent, in sendToSafetyCenter() argument
895 List<UserPackage> filteredPackages = userPackages.stream().filter( in sendToSafetyCenter()
931 List<UserPackage> userPackages) { in splitUserPackageByUserHandle() argument
933 for (UserPackage userPackage : userPackages) { in splitUserPackageByUserHandle()
943 private void sendUserDataToSafetyCenter(List<UserPackage> userPackages, in sendUserDataToSafetyCenter() argument
947 for (UserPackage userPkg : userPackages) { in sendUserDataToSafetyCenter()
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogStorage.java502 List<UserPackage> userPackages = UserPackageSettingsTable.queryUserPackages(db, users); in populateUserPackages() local
503 if (userPackages == null) { in populateUserPackages()
506 for (int i = 0; i < userPackages.size(); ++i) { in populateUserPackages()
507 UserPackage userPackage = userPackages.get(i); in populateUserPackages()
788 List<UserPackage> userPackages = new ArrayList<>(cursor.getCount()); in queryUserPackages() local
790 userPackages.add(new UserPackage( in queryUserPackages()
793 return userPackages; in queryUserPackages()