Home
last modified time | relevance | path

Searched refs:packageManagers (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppInfoSettingsMoreOptions.kt56 packageManagers: IPackageManagers = PackageManagers, in AppInfoSettingsMoreOptions()
58 val state = app.produceState(packageManagers).value ?: return in AppInfoSettingsMoreOptions()
124 packageManagers: IPackageManagers, in produceState()
129 value = getMoreOptionsState(context, packageManagers) in produceState()
136 packageManagers: IPackageManagers, in getMoreOptionsState()
144 packageManagers = packageManagers, in getMoreOptionsState()
169 packageManagers: IPackageManagers, in ApplicationInfo()
171 isOtherUserHasInstallPackage(userManager, packageManagers) in ApplicationInfo()
175 packageManagers: IPackageManagers, in ApplicationInfo()
179 .any { packageManagers.isPackageInstalledAsUser(packageName, it.id) } in <lambda>()
DPackageInfoPresenter.kt65 private val packageManagers: IPackageManagers = PackageManagers, in <lambda>() constant in com.android.settings.spa.app.appinfo.PackageInfoPresenter
175 packageManagers.getPackageInfoAsUser( in <lambda>()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/specialaccess/
DAlarmsAndRemindersAppListTest.kt53 private lateinit var packageManagers: IPackageManagers variable in com.android.settings.spa.app.specialaccess.AlarmsAndRemindersAppListTest
67 with(packageManagers) { in setUp()
71 listModel = AlarmsAndRemindersAppListModel(context, packageManagers) in setUp()
88 with(packageManagers) { in transformItem_whenNotRequestScheduleExactAlarm_recordHasCorrectState()
100 with(packageManagers) { in transformItem_whenRequestUseExactAlarm_recordHasCorrectState()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/
DWifiControlAppListModelTest.kt52 @Mock private lateinit var packageManagers: IPackageManagers variable in com.android.settings.spa.app.specialaccess.WifiControlAppListModelTest
58 listModel = WifiControlAppListModel(context, packageManagers) in setUp()
70 with(packageManagers) { in <lambda>()
81 with(packageManagers) { in <lambda>()
92 with(packageManagers) { in <lambda>()
103 with(packageManagers) { in <lambda>()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppInfoSettingsMoreOptionsTest.kt103 private lateinit var packageManagers: IPackageManagers variable in com.android.settings.spa.app.appinfo.AppInfoSettingsMoreOptionsTest
163 whenever(packageManagers.isPackageInstalledAsUser(PACKAGE_NAME, OTHER_USER_ID)) in uninstallForAllUsers_regularAppAndPrimaryUser_displayed()
181 whenever(packageManagers in uninstallForAllUsers_appHiddenNotInQuietModeAndPrimaryUser_displayed()
202 whenever(packageManagers in uninstallForAllUsers_appHiddenInQuietModeAndPrimaryUser_notDisplayed()
271 AppInfoSettingsMoreOptions(packageInfoPresenter, app, packageManagers) in setContent()
DPackageInfoPresenterTest.kt61 private val packageManagers = mock<IPackageManagers>() constant
67 PackageInfoPresenter(context, PACKAGE_NAME, USER_ID, TestScope(), packageManagers)
/packages/apps/Settings/src/com/android/settings/spa/app/specialaccess/
DWifiControlApps.kt37 packageManagers: IPackageManagers = PackageManagers in createModel()
38 ) : AppOpPermissionListModel(context, packageManagers) { in createModel()
DAlarmsAndRemindersAppList.kt57 private val packageManagers: IPackageManagers = PackageManagers, constant in com.android.settings.spa.app.specialaccess.AlarmsAndRemindersAppListModel
73 override fun transformItem(app: ApplicationInfo) = with(packageManagers) { in <lambda>()
129 private fun ApplicationInfo.isTrumped(): Boolean = with(packageManagers) { in <lambda>()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/notification/
DAppNotificationRepositoryTest.kt59 private lateinit var packageManagers: IPackageManagers variable in com.android.settings.spa.notification.AppNotificationRepositoryTest
73 packageManagers, in setUp()
188 with(packageManagers) { in isChangeable_appTargetTiramisuWithoutNotificationPermission()
203 with(packageManagers) { in isChangeable_appTargetTiramisuWithNotificationPermission()
/packages/apps/Settings/src/com/android/settings/spa/notification/
DAppNotificationRepository.kt63 private val packageManagers: IPackageManagers = PackageManagers, constant in com.android.settings.spa.notification.AppNotificationRepository
108 with(packageManagers) { in isEnabled()