/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/ |
D | PackageManagers.kt | 27 fun getPackageInfoAsUser(packageName: String, userId: Int): PackageInfo? in getPackageInfoAsUser() method 38 fun getPackageInfoAsUser(packageName: String, flags: Long, userId: Int): PackageInfo? in getPackageInfoAsUser() method 64 override fun getPackageInfoAsUser(packageName: String, userId: Int): PackageInfo? = in getPackageInfoAsUserCached() method in com.android.settingslib.spaprivileged.model.app.PackageManagersImpl 65 getPackageInfoAsUser(packageName, 0, userId) in getPackageInfoAsUserCached() 76 getPackageInfoAsUser(packageName, PackageManager.GET_PERMISSIONS.toLong(), userId) in getPackageInfoAsUserCached() 84 getPackageInfoAsUser(packageName, PackageManager.GET_PERMISSIONS.toLong(), userId) in getPackageInfoAsUserCached() 96 override fun getPackageInfoAsUser(packageName: String, flags: Long, userId: Int): PackageInfo? = in getPackageInfoAsUserCached() method in com.android.settingslib.spaprivileged.model.app.PackageManagersImpl
|
/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/ |
D | CarDisplayCompatScaleProviderUpdatableTest.java | 173 when(mInterface.getPackageInfoAsUser(eq("package1"), any(PackageInfoFlags.class), in hasMedataData_notDisplayCompat_returnsTrue() 191 when(mInterface.getPackageInfoAsUser(eq("package1"), any(PackageInfoFlags.class), in hasMedataDataDisplayCompat_requiredTrue_returnsTrue() 211 when(mInterface.getPackageInfoAsUser(eq("package1"), any(PackageInfoFlags.class), in hasFeatureAutomotive_requiredTrue_returnsFalse() 223 when(mInterface.getPackageInfoAsUser(eq("package1"), any(PackageInfoFlags.class), in hasFeatureAutomotive_requiredFalse_returnsFalse() 232 when(mInterface.getPackageInfoAsUser(eq("package1"), any(PackageInfoFlags.class), in hasNoActivities_returnsFalse() 245 when(mInterface.getPackageInfoAsUser(eq("package1"), any(PackageInfoFlags.class), in hasDistractionOptimizedActivity_returnsFalse() 256 when(mInterface.getPackageInfoAsUser(eq("package1"), any(PackageInfoFlags.class), in isPrivileged_returnsFalse() 271 when(mInterface.getPackageInfoAsUser(eq("package1"), any(PackageInfoFlags.class), in isSystem_returnsFalse() 286 when(mInterface.getPackageInfoAsUser(eq("package1"), any(PackageInfoFlags.class), in hasPlatformSignature_returnsFalse() 299 verify(mInterface, times(1)).getPackageInfoAsUser(eq("package1"), in requiresDisplayCompat_packageStateIsCached() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | PackageManagerAdapter.java | 58 public PackageInfo getPackageInfoAsUser(String packageName, int flags, @UserIdInt int userId) in getPackageInfoAsUser() method in PackageManagerAdapter 60 return mPackageManager.getPackageInfoAsUser(packageName, flags, userId); in getPackageInfoAsUser()
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/ |
D | PackageManagersTest.kt | 37 val packageInfo = packageManagersImpl.getPackageInfoAsUser(PACKAGE_NAME, 0) in getPackageInfoAsUser_notFound() 46 val packageInfo = packageManagersImpl.getPackageInfoAsUser(PACKAGE_NAME, 0) in getPackageInfoAsUser_found()
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/template/app/ |
D | AppInfoPage.kt | 36 packageManagers.getPackageInfoAsUser(packageName, userId) in AppInfoPage()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/ |
D | UserBackupManagerServiceTest.java | 185 when(mPackageManager.getPackageInfoAsUser(anyString(), anyInt(), anyInt())).thenReturn( in getRequestBackupParams_appIsEligibleForFullBackup() 201 when(mPackageManager.getPackageInfoAsUser(anyString(), anyInt(), anyInt())).thenReturn( in getRequestBackupParams_appIsEligibleForKeyValueBackup() 217 when(mPackageManager.getPackageInfoAsUser(anyString(), anyInt(), anyInt())).thenReturn( in getRequestBackupParams_appIsNotEligibleForBackup() 288 when(mPackageManager.getPackageInfoAsUser(anyString(), in testReportDelayedRestoreResult_sendsLogsToMonitor()
|
D | PackageManagerBackupAgentTest.java | 82 when(mPackageManager.getPackageInfoAsUser(eq(EXISTING_PACKAGE_NAME), anyInt(), anyInt())) in setUp() 167 mPackageManager.getPackageInfoAsUser( in onBackup_noAncestralRecordInfo_deletesUninstalledPackagesFromBackup() 219 when(mPackageManager.getPackageInfoAsUser( in onRestore_legacyBackupWithMissingSignature_restoresBackup()
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | CarDisplayCompatScaleProviderInterface.java | 60 PackageInfo getPackageInfoAsUser(@NonNull String packageName, in getPackageInfoAsUser() method
|
D | CarDisplayCompatScaleProvider.java | 130 public PackageInfo getPackageInfoAsUser(String packageName, in getBuiltinInterface() method in CarDisplayCompatScaleProvider 133 return mPackageManager.getPackageInfoAsUser(packageName, flags, userId); in getBuiltinInterface()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/impl/custom/data/repository/ |
D | FakePackageManagerAdapterFacade.kt | 53 packageManagerAdapter.getPackageInfoAsUser(
|
/frameworks/base/core/java/android/webkit/ |
D | UserPackage.java | 55 packageInfo = context.getPackageManager().getPackageInfoAsUser( in getPackageInfosAllUsers()
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | KeyAttestationApplicationIdProviderService.java | 69 PackageInfo packageInfo = mPackageManager.getPackageInfoAsUser(packageNames[i], in getKeyAttestationApplicationId()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbSerialReader.java | 85 .getPackageInfoAsUser(packageName, 0, user.getIdentifier()); in getSerial()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerBackupHelper.java | 122 packageInfo = packageManager.getPackageInfoAsUser(packageName, in apply() 181 packageInfo = packageManager.getPackageInfoAsUser(packageName, in backupAccountAccessPermissions()
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | ShadowApplicationPackageManager.java | 98 protected PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() method in ShadowApplicationPackageManager
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandlerTests.java | 152 }).when(mockPackageManager).getPackageInfoAsUser(anyString(), anyInt(), anyInt()); in setUp()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | RestoreUtils.java | 155 PackageInfo pkg = packageManager.getPackageInfoAsUser(info.packageName, in installApk()
|
D | BackupEligibilityRules.java | 275 PackageInfo packageInfo = mPackageManager.getPackageInfoAsUser(packageName, in appIsRunningAndEligibleForBackupWithTransport()
|
/frameworks/base/services/core/java/com/android/server/grammaticalinflection/ |
D | GrammaticalInflectionBackupHelper.java | 218 pkgInfo = mPackageManager.getPackageInfoAsUser(packageName, /* flags= */ 0, userId); in isPackageInstalledForUser()
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/template/app/ |
D | TogglePermissionAppInfoPageTest.kt | 55 on { getPackageInfoAsUser(PACKAGE_NAME, USER_ID) } doReturn PACKAGE_INFO in <lambda>()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | TransportManager.java | 646 mPackageManager.getPackageInfoAsUser(packageName, 0, mUserId); in registerTransportsFromPackage() 686 mPackageManager.getPackageInfoAsUser(transport.getPackageName(), 0, mUserId); in isTransportTrusted()
|
/frameworks/base/services/companion/java/com/android/server/companion/utils/ |
D | PackageUtils.java | 84 return pm.getPackageInfoAsUser(packageName, flags, userId); in getPackageInfo()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
D | PeopleBackupFollowUpJobTest.java | 101 when(mPackageManager.getPackageInfoAsUser(any(), anyInt(), anyInt())) in setUp()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/ |
D | PackageManagerStub.java | 51 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/backup/java/com/android/server/backup/restore/ |
D | PerformUnifiedRestoreTask.java | 271 PackageInfo info = pm.getPackageInfoAsUser(filterSet[i], 0, mUserId); in PerformUnifiedRestoreTask() 301 .getPackageInfoAsUser(PLATFORM_PACKAGE_NAME, 0, mUserId)); in PerformUnifiedRestoreTask() 311 .getPackageInfoAsUser(SETTINGS_PACKAGE, 0, mUserId)); in PerformUnifiedRestoreTask() 634 .getPackageInfoAsUser( in dispatchNextRestore()
|