Home
last modified time | relevance | path

Searched refs:getInstalledApplicationsAsUser (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DAppListRepository.kt122 packageManager.getInstalledApplicationsAsUser(regularFlags, userId) in getSystemPackageNames()
130 packageManager.getInstalledApplicationsAsUser(regularFlags, it) in getSystemPackageNames()
138 packageManager.getInstalledApplicationsAsUser(adminFlags, userId) in getSystemPackageNames()
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/
DAppListRepositoryTest.kt96 on { getInstalledApplicationsAsUser(any<ApplicationInfoFlags>(), eq(userId)) } doReturn in mockInstalledApplications()
136 verify(packageManager).getInstalledApplicationsAsUser(capture(), eq(ADMIN_USER_ID)) in <lambda>()
152 verify(packageManager).getInstalledApplicationsAsUser(capture(), eq(ADMIN_USER_ID)) in <lambda>()
275 verify(packageManager).getInstalledApplicationsAsUser(capture(), eq(ADMIN_USER_ID)) in <lambda>()
320 getInstalledApplicationsAsUser(any<ApplicationInfoFlags>(), eq(ADMIN_USER_ID)) in <lambda>()
/frameworks/base/test-mock/api/
Dtest-current.txt13 …ed public java.util.List<android.content.pm.ApplicationInfo> getInstalledApplicationsAsUser(int, i…
/frameworks/base/services/tests/servicestests/src/com/android/server/locales/
DLocaleManagerBackupRestoreTest.java189 .getInstalledApplicationsAsUser(any(), anyInt()); in testBackupPayload_noAppsInstalled_returnsNull()
243 .getInstalledApplicationsAsUser(any(), anyInt()); in testBackupPayload_exceptionInGetLocalesSomePackages_appsWithExceptionNotBackedUp()
643 .getInstalledApplicationsAsUser(any(), anyInt()); in testStageDataDeletion_backupPassRunAfterRetentionPeriod_stageDataDeleted()
652 .getInstalledApplicationsAsUser(any(), anyInt()); in testStageDataDeletion_backupPassRunAfterRetentionPeriod_stageDataDeleted()
661 .getInstalledApplicationsAsUser(any(), anyInt()); in testStageDataDeletion_backupPassRunAfterRetentionPeriod_stageDataDeleted()
878 .getInstalledApplicationsAsUser(any(), anyInt()); in setUpDummyAppForPackageManager()
/frameworks/base/services/core/java/com/android/server/storage/
DAppCollector.java122 final List<ApplicationInfo> apps = mPm.getInstalledApplicationsAsUser( in handleMessage()
/frameworks/base/services/tests/servicestests/src/com/android/server/grammaticalinflection/
DGrammaticalInflectionBackupTest.java137 .getInstalledApplicationsAsUser(any(), anyInt()); in mockAppInstalled()
/frameworks/base/services/core/java/com/android/server/grammaticalinflection/
DGrammaticalInflectionBackupHelper.java78 for (ApplicationInfo appInfo : mPackageManager.getInstalledApplicationsAsUser( in getBackupPayload()
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DAppCollectorTest.java80 }).when(mPm).getInstalledApplicationsAsUser(anyInt(), anyInt()); in setUp()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DInstallerTest.java176 for (ApplicationInfo app : getContext().getPackageManager().getInstalledApplicationsAsUser( in getAppIds()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppCopyHelper.java189 final List<ApplicationInfo> userAppInfos = mPackageManager.getInstalledApplicationsAsUser( in removeSecondUsersApp()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAppCopyingHelperTest.java95 when(mPm.getInstalledApplicationsAsUser(anyInt(), eq(mTestUser.getIdentifier()))) in testFetchAndMergeApps()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java303 public List<ApplicationInfo> getInstalledApplicationsAsUser(int flags, int userId) { in getInstalledApplicationsAsUser() method in PackageManagerStub
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java354 public List<ApplicationInfo> getInstalledApplicationsAsUser(int flags, int userId) { in getInstalledApplicationsAsUser() method in BridgePackageManager
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1322 return getInstalledApplicationsAsUser(flags, getUserId()); in getInstalledApplications()
1327 return getInstalledApplicationsAsUser(flags, getUserId()); in getInstalledApplications()
1333 public List<ApplicationInfo> getInstalledApplicationsAsUser(int flags, int userId) { in getInstalledApplicationsAsUser() method in ApplicationPackageManager
1334 return getInstalledApplicationsAsUser(ApplicationInfoFlags.of(flags), userId); in getInstalledApplicationsAsUser()
1340 public List<ApplicationInfo> getInstalledApplicationsAsUser(ApplicationInfoFlags flags, in getInstalledApplicationsAsUser() method in ApplicationPackageManager
/frameworks/base/services/core/java/com/android/server/locales/
DLocaleManagerBackupHelper.java157 for (ApplicationInfo appInfo : mPackageManager.getInstalledApplicationsAsUser( in getBackupPayload()
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java378 public List<ApplicationInfo> getInstalledApplicationsAsUser(int flags, int userId) { in getInstalledApplicationsAsUser() method in MockPackageManager
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java338 public List<ApplicationInfo> getInstalledApplicationsAsUser(int flags, int userId) { in getInstalledApplicationsAsUser() method in MockPackageManager
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java556 for (ApplicationInfo app : mPackage.getInstalledApplicationsAsUser( in getAppIds()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java7242 public abstract List<ApplicationInfo> getInstalledApplicationsAsUser( in getInstalledApplicationsAsUser() method in PackageManager
7251 public List<ApplicationInfo> getInstalledApplicationsAsUser( in getInstalledApplicationsAsUser() method in PackageManager
/frameworks/base/services/core/java/com/android/server/tv/interactive/
DTvInteractiveAppManagerService.java150 List<ApplicationInfo> appInfos = pm.getInstalledApplicationsAsUser( in buildAppLinkInfoLocked()
/frameworks/base/core/api/
Dtest-current.txt1124 … abstract java.util.List<android.content.pm.ApplicationInfo> getInstalledApplicationsAsUser(int, i…
1125 …ll public java.util.List<android.content.pm.ApplicationInfo> getInstalledApplicationsAsUser(@NonNu…
/frameworks/base/boot/
Dboot-image-profile.txt1260 HSPLandroid/app/ApplicationPackageManager;->getInstalledApplicationsAsUser(II)Ljava/util/List;
1261 HSPLandroid/app/ApplicationPackageManager;->getInstalledApplicationsAsUser(Landroid/content/pm/Pack…
/frameworks/base/config/
Dboot-image-profile.txt1260 HSPLandroid/app/ApplicationPackageManager;->getInstalledApplicationsAsUser(II)Ljava/util/List;
1261 HSPLandroid/app/ApplicationPackageManager;->getInstalledApplicationsAsUser(Landroid/content/pm/Pack…