Home
last modified time | relevance | path

Searched refs:getPackageInfoAsUser (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DPackageManagerAdapter.java55 public PackageInfo getPackageInfoAsUser(String packageName, int flags, @UserIdInt int userId) in getPackageInfoAsUser() method in PackageManagerAdapter
57 return mPackageManager.getPackageInfoAsUser(packageName, flags, userId); in getPackageInfoAsUser()
DTileServices.java257 PackageInfo info = mContext.getPackageManager().getPackageInfoAsUser(packageName, 0, in updateStatusIcon()
DTileLifecycleManager.java342 mPackageManagerAdapter.getPackageInfoAsUser(packageName, 0, mUser.getIdentifier()); in isPackageAvailable()
/frameworks/base/services/core/java/com/android/server/security/
DKeyAttestationApplicationIdProviderService.java65 PackageInfo packageInfo = mPackageManager.getPackageInfoAsUser(packageNames[i], in getKeyAttestationApplicationId()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowApplicationPackageManager.java62 protected PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() method in ShadowApplicationPackageManager
/frameworks/base/core/java/android/webkit/
DUserPackage.java55 packageInfo = context.getPackageManager().getPackageInfoAsUser( in getPackageInfosAllUsers()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerBackupHelper.java126 packageInfo = packageManager.getPackageInfoAsUser(packageName, in apply()
185 packageInfo = packageManager.getPackageInfoAsUser(packageName, in backupAccountAccessPermissions()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRankingHelperTest.java119 when(mPm.getPackageInfoAsUser(eq(SYSTEM_PKG), anyInt(), anyInt())).thenReturn(info); in setUp()
120 when(mPm.getPackageInfoAsUser(eq(PKG), anyInt(), anyInt())) in setUp()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DAppBackupUtils.java123 PackageInfo packageInfo = pm.getPackageInfoAsUser(packageName, in appIsRunningAndEligibleForBackupWithTransport()
DRestoreUtils.java149 PackageInfo pkg = packageManager.getPackageInfoAsUser(info.packageName, in installApk()
DTarBackupReader.java400 PackageInfo pkgInfo = packageManager.getPackageInfoAsUser( in chooseRestorePolicy()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java225 PackageInfo info = pm.getPackageInfoAsUser(filterSet[i], 0, mUserId); in PerformUnifiedRestoreTask()
244 mAcceptSet.add(0, backupManagerService.getPackageManager().getPackageInfoAsUser( in PerformUnifiedRestoreTask()
252 mAcceptSet.add(backupManagerService.getPackageManager().getPackageInfoAsUser( in PerformUnifiedRestoreTask()
511 mCurrentPackage = backupManagerService.getPackageManager().getPackageInfoAsUser( in dispatchNextRestore()
DActiveRestoreSession.java313 app = mBackupManagerService.getPackageManager().getPackageInfoAsUser( in restorePackage()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DWatchlistLoggingHandlerTests.java152 }).when(mockPackageManager).getPackageInfoAsUser(anyString(), anyInt(), anyInt()); in setUp()
/frameworks/base/services/backup/java/com/android/server/backup/
DTransportManager.java565 mPackageManager.getPackageInfoAsUser(packageName, 0, mUserId); in registerTransportsFromPackage()
603 mPackageManager.getPackageInfoAsUser(transport.getPackageName(), 0, mUserId); in isTransportTrusted()
DPackageManagerBackupAgent.java243 homeInfo = mPackageManager.getPackageInfoAsUser(home.getPackageName(), in onBackup()
321 info = mPackageManager.getPackageInfoAsUser(packName, in onBackup()
DUserBackupManagerService.java982 PackageInfo pkg = mPackageManager.getPackageInfoAsUser(pkgName, 0, mUserId); in readFullBackupSchedule()
1303 mPackageManager.getPackageInfoAsUser(
1591 ApplicationInfo applicationInfo = mPackageManager.getPackageInfoAsUser( in clearApplicationDataSynchronous()
1737 PackageInfo packageInfo = mPackageManager.getPackageInfoAsUser(packageName, in requestBackup()
2209 PackageInfo appInfo = mPackageManager.getPackageInfoAsUser( in beginFullBackup()
2479 info = mPackageManager.getPackageInfoAsUser(packageName, in clearBackupData()
3398 app = mPackageManager.getPackageInfoAsUser(packageName, 0, mUserId); in beginRestoreSession()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileLifecycleManagerTest.java110 when(mMockPackageManagerAdapter.getPackageInfoAsUser(anyString(), anyInt(), anyInt())) in setPackageEnabled()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java51 return getPackageInfoAsUser(packageName, flags, UserHandle.USER_SYSTEM); in getPackageInfo()
61 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() method in PackageManagerStub
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistLoggingHandler.java336 final String apkPath = mPm.getPackageInfoAsUser(packageName, in getDigestFromUid()
/frameworks/base/services/core/java/com/android/server/
DGraphicsStatsService.java173 PackageInfo info = mContext.getPackageManager().getPackageInfoAsUser( in requestBufferForProcess()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java1235 packageInfo = context.getPackageManager().getPackageInfoAsUser( in isSystemPackage()
1251 sSystemSignature = context.getPackageManager().getPackageInfoAsUser( in isSystemPackage()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java606 return mPackageManager.getPackageInfoAsUser(packageName, 0, userId) != null; in isPackageInstalledForUser()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java71 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() method in BridgePackageManager
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java507 return context.getPackageManager().getPackageInfoAsUser(

12