Home
last modified time | relevance | path

Searched refs:getApplicationInfoAsUser (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppInfoDashboardFragmentTest.java303 when(mPackageManager.getApplicationInfoAsUser( in getNumberOfUserWithPackageInstalled_twoUsersInstalled_shouldReturnTwo()
306 when(mPackageManager.getApplicationInfoAsUser( in getNumberOfUserWithPackageInstalled_twoUsersInstalled_shouldReturnTwo()
326 when(mPackageManager.getApplicationInfoAsUser( in getNumberOfUserWithPackageInstalled_oneUserInstalled_shouldReturnOne()
329 when(mPackageManager.getApplicationInfoAsUser( in getNumberOfUserWithPackageInstalled_oneUserInstalled_shouldReturnOne()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImplTest.java270 when(mPackageManager.getApplicationInfoAsUser(IME_PACKAGE_ID, 0, MY_USER_ID)) in testGetImeLabelIfOwnerSet()
284 when(mPackageManager.getApplicationInfoAsUser(IME_PACKAGE_ID, 0, MY_USER_ID)) in testGetImeLabelIfOwnerSet()
290 when(mPackageManager.getApplicationInfoAsUser(IME_PACKAGE_ID, 0, MY_USER_ID)) in testGetImeLabelIfOwnerSet()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DUtilsTest.java235 doReturn(mApplicationInfo).when(mPackageManager).getApplicationInfoAsUser( in getBadgedIcon_usePackageNameAndUserId()
241 verify(mPackageManager).getApplicationInfoAsUser(eq(PACKAGE_NAME), anyInt(), eq(USER_ID)); in getBadgedIcon_usePackageNameAndUserId()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/utils/
DPackageUtils.java88 public static ApplicationInfo getApplicationInfoAsUser(@NonNull String packageName, in getApplicationInfoAsUser() method in PackageUtils
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/data/
DNonSensitivePackagesLiveData.java83 appInfo = pm.getApplicationInfoAsUser(pkg, 0, user); in NonSensitivePackagesLiveData()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DRoleLiveData.java90 ApplicationInfo qualifyingApplicationInfo = PackageUtils.getApplicationInfoAsUser( in loadValueInBackground()
DRoleListLiveData.java115 ApplicationInfo holderApplicationInfo = PackageUtils.getApplicationInfoAsUser( in loadValueInBackground()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowApplicationPackageManager.java111 protected ApplicationInfo getApplicationInfoAsUser(String packageName, int flags, int userId) in getApplicationInfoAsUser() method in ShadowApplicationPackageManager
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationHeaderView.java235 info = mPackageManager.getApplicationInfoAsUser(packageName.trim(), /* flags= */ 0, in loadHeaderAppName()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java195 return mPm.getApplicationInfoAsUser(packageName, 0 /* flags */, MY_USER_ID) in getImeLabelIfOwnerSet()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DNotificationAccessPreferenceController.java143 title = packageManager.getApplicationInfoAsUser(service.packageName, /* flags= */ 0, in onServicesReloaded()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DRestrictedAppDetails.java155 final ApplicationInfo applicationInfo = mPackageManager.getApplicationInfoAsUser( in refreshUi()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DShortcutServicePickerFragment.java244 final ApplicationInfo appInfo = pmw.getApplicationInfoAsUser( in loadLabel()
/packages/apps/Settings/src/com/android/settings/accessibility/
DShortcutServicePickerFragment.java244 final ApplicationInfo appInfo = pmw.getApplicationInfoAsUser( in loadLabel()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DRestrictedAppDetails.java155 final ApplicationInfo applicationInfo = mPackageManager.getApplicationInfoAsUser( in refreshUi()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DRestrictedAppDetailsTest.java126 .getApplicationInfoAsUser(PACKAGE_NAME, 0, USER_ID); in refreshUi_displayPreference()
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java184 return mPm.getApplicationInfoAsUser(packageName, 0 /* flags */, MY_USER_ID) in getImeLabelIfOwnerSet()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/utils/
DManagedServiceSettings.java119 title = mPm.getApplicationInfoAsUser( in updateList()
/packages/apps/Settings/src/com/android/settings/utils/
DManagedServiceSettings.java119 title = mPm.getApplicationInfoAsUser( in updateList()
/packages/apps/Settings/src/com/android/settings/datausage/
DAppDataUsage.java162 final ApplicationInfo info = mPackageManager.getApplicationInfoAsUser( in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DAppDataUsage.java162 final ApplicationInfo info = mPackageManager.getApplicationInfoAsUser( in onCreate()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DRole.java544 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfoAsUser(packageName, user, in isPackageMinimallyQualifiedAsUser()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppInfoDashboardFragment.java516 final ApplicationInfo info = mPm.getApplicationInfoAsUser( in getNumberOfUserWithPackageInstalled()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppInfoDashboardFragment.java516 final ApplicationInfo info = mPm.getApplicationInfoAsUser( in getNumberOfUserWithPackageInstalled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DAppDataUsageTest.java121 when(mPackageManager.getApplicationInfoAsUser( in onCreate_appUid_shouldGetAppLabelFromAppInfo()

12