Home
last modified time | relevance | path

Searched refs:installRequest (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DReconcilePackageUtils.java82 for (InstallRequest installRequest : installRequests) { in reconcilePackages()
83 installRequest.onReconcileStarted(); in reconcilePackages()
86 combinedPackages.put(installRequest.getScannedPackageSetting().getPackageName(), in reconcilePackages()
87 installRequest.getParsedPackage()); in reconcilePackages()
91 sharedLibraries.getAllowedSharedLibInfos(installRequest); in reconcilePackages()
107 for (InstallRequest installRequest : installRequests) { in reconcilePackages()
108 final String installPackageName = installRequest.getParsedPackage().getPackageName(); in reconcilePackages()
110 sharedLibraries.getAllowedSharedLibInfos(installRequest); in reconcilePackages()
114 if (installRequest.isInstallReplace() && !installRequest.isInstallSystem()) { in reconcilePackages()
115 final boolean killApp = (installRequest.getScanFlags() & SCAN_DONT_KILL_APP) == 0; in reconcilePackages()
[all …]
DReconciledPackage.java47 InstallRequest installRequest, in ReconciledPackage() argument
55 mInstallRequest = installRequest; in ReconciledPackage()
74 for (InstallRequest installRequest : mInstallRequests) { in getCombinedAvailablePackages()
75 combined.put(installRequest.getScannedPackageSetting().getPackageName(), in getCombinedAvailablePackages()
76 installRequest.getParsedPackage()); in getCombinedAvailablePackages()
DInstallingSession.java280 private void handleReturnCode(InstallRequest installRequest) { in handleReturnCode() argument
281 processPendingInstall(installRequest); in handleReturnCode()
284 private void processPendingInstall(InstallRequest installRequest) { in processPendingInstall() argument
286 mRet = copyApk(installRequest); in processPendingInstall()
290 mPm.mContext.getContentResolver(), new File(installRequest.getCodePath())); in processPendingInstall()
292 installRequest.setReturnCode(mRet); in processPendingInstall()
294 mParentInstallingSession.tryProcessInstallRequest(installRequest); in processPendingInstall()
299 Collections.singletonList(installRequest))); in processPendingInstall()
487 InstallRequest installRequest = new InstallRequest(this); in start() local
488 handleStartCopy(installRequest); in start()
[all …]
DInstallPackageHelper.java1122 InstallRequest installRequest = reconciledPkg.mInstallRequest; in installPackagesLI() local
1123 String packageName = installRequest.getParsedPackage().getPackageName(); in installPackagesLI()
1125 UserHandle.USER_ALL, installRequest.getInstallFlags(), in installPackagesLI()
1127 installRequest); in installPackagesLI()
1128 installRequest.setFreezer(freezer); in installPackagesLI()
1163 for (InstallRequest installRequest : requests) { in installPackagesLI()
1164 if (installRequest.getParsedPackage() != null && createdAppId.getOrDefault( in installPackagesLI()
1165 installRequest.getParsedPackage().getPackageName(), false)) { in installPackagesLI()
1166 cleanUpAppIdCreation(installRequest); in installPackagesLI()
2181 final InstallRequest installRequest = reconciledPkg.mInstallRequest; in commitPackagesLocked() local
[all …]
DSharedLibrariesImpl.java433 PackageSetting getStaticSharedLibLatestVersionSetting(@NonNull InstallRequest installRequest) {
434 if (installRequest.getParsedPackage() == null) {
440 getLatestStaticSharedLibraVersionLPr(installRequest.getParsedPackage());
834 List<SharedLibraryInfo> getAllowedSharedLibInfos(InstallRequest installRequest) {
836 final ParsedPackage parsedPackage = installRequest.getParsedPackage();
837 if (installRequest.getSdkSharedLibraryInfo() == null
838 && installRequest.getStaticSharedLibraryInfo() == null
839 && installRequest.getDynamicSharedLibraryInfos() == null) {
844 if (installRequest.getSdkSharedLibraryInfo() != null) {
845 return Collections.singletonList(installRequest.getSdkSharedLibraryInfo());
[all …]
DDexOptHelper.java716 static DexoptOptions getDexoptOptionsByInstallRequest(InstallRequest installRequest, in getDexoptOptionsByInstallRequest() argument
718 final PackageSetting ps = installRequest.getScannedPackageSetting(); in getDexoptOptionsByInstallRequest()
721 installRequest.getInstallReason() == INSTALL_REASON_DEVICE_RESTORE in getDexoptOptionsByInstallRequest()
722 || installRequest.getInstallReason() == INSTALL_REASON_DEVICE_SETUP; in getDexoptOptionsByInstallRequest()
730 installRequest.getInstallScenario()); in getDexoptOptionsByInstallRequest()
733 if (installRequest.getDexoptCompilerFilter() != null) { in getDexoptOptionsByInstallRequest()
734 options = options.overrideCompilerFilter(installRequest.getDexoptCompilerFilter()); in getDexoptOptionsByInstallRequest()
744 static DexoptResult dexoptPackageUsingArtService(InstallRequest installRequest, in dexoptPackageUsingArtService() argument
746 final PackageSetting ps = installRequest.getScannedPackageSetting(); in dexoptPackageUsingArtService()
754 (installRequest.getInstallFlags() in dexoptPackageUsingArtService()
[all …]
DPackageMetrics.java90 PackageMetrics(InstallRequest installRequest) { in PackageMetrics() argument
94 mInstallRequest = installRequest; in PackageMetrics()
DPackageManagerService.java1270 final InstallRequest installRequest = in notifyInstallObserver() local
1274 if (installRequest != null) { in notifyInstallObserver()
1275 notifyInstallObserver(installRequest); in notifyInstallObserver()
3273 final InstallRequest installRequest = mRunningInstalls.valueAt(i);
3274 if (installRequest.getReturnCode() != PackageManager.INSTALL_SUCCEEDED) {
3277 if (packageName.equals(installRequest.getPkg().getPackageName())) {
3279 for (int uIndex = 0; uIndex < installRequest.getNewUsers().length; uIndex++) {
3280 if (userId == installRequest.getNewUsers()[uIndex]) {
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DSharedLibrariesImplTest.kt227 var installRequest = InstallRequest(parsedPackage, 0, 0, UserHandle(0), scanResult, null) in <lambda>() variable
230 mSharedLibrariesImpl.getStaticSharedLibLatestVersionSetting(installRequest)!! in <lambda>()
312 var installRequest = InstallRequest(mock(), 0, 0, UserHandle(0), scanResult, null) in <lambda>() variable
314 val allowedInfos = mSharedLibrariesImpl.getAllowedSharedLibInfos(installRequest) in <lambda>()
335 var installRequest = InstallRequest(parsedPackage, 0, 0, UserHandle(0), scanResult, null) in <lambda>() variable
337 val allowedInfos = mSharedLibrariesImpl.getAllowedSharedLibInfos(installRequest) in <lambda>()