/frameworks/base/services/core/java/com/android/server/pm/ |
D | AppsFilterUtils.java | 83 final InstallSource installSource = querying.getInstallSource(); in canQueryAsInstaller() local 84 if (potentialTarget.getPackageName().equals(installSource.mInstallerPackageName)) { in canQueryAsInstaller() 87 if (!installSource.mIsInitiatingPackageUninstalled in canQueryAsInstaller() 88 && potentialTarget.getPackageName().equals(installSource.mInitiatingPackageName)) { in canQueryAsInstaller() 96 final InstallSource installSource = querying.getInstallSource(); in canQueryAsUpdateOwner() local 97 if (potentialTarget.getPackageName().equals(installSource.mUpdateOwnerPackageName)) { in canQueryAsUpdateOwner()
|
D | PackageSetting.java | 210 private InstallSource installSource; field in PackageSetting 258 this.installSource = InstallSource.EMPTY; 308 proto.write(PackageProto.INSTALLER_NAME, installSource.mInstallerPackageName); 328 installSource.mInitiatingPackageName); 330 installSource.mOriginatingPackageName); 332 installSource.mUpdateOwnerPackageName); 395 installSource = installSource.setInstallerPackage(installerPackageName, 402 installSource = installSource.setUpdateOwnerPackageName(updateOwnerPackageName); 407 public PackageSetting setInstallSource(InstallSource installSource) { 408 this.installSource = Objects.requireNonNull(installSource); [all …]
|
D | InstallArgs.java | 71 int installFlags, int developmentInstallFlags, InstallSource installSource, in InstallArgs() argument 84 mInstallSource = Preconditions.checkNotNull(installSource); in InstallArgs()
|
D | PackageInstallerHistoricalSession.java | 84 String originalInstallerPackageName, InstallSource installSource, int installerUid, in PackageInstallerHistoricalSession() argument 98 this.mInstallSource = installSource; in PackageInstallerHistoricalSession()
|
D | InstallingSession.java | 109 int installFlags, int developmentInstallFlags, InstallSource installSource, in InstallingSession() argument 119 mInstallSource = Preconditions.checkNotNull(installSource); in InstallingSession() 144 PackageInstaller.SessionParams sessionParams, InstallSource installSource, in InstallingSession() argument 153 installSource.mInstallerPackageName, installerUid, sessionParams.installReason); in InstallingSession() 158 mInstallSource = installSource; in InstallingSession()
|
D | Settings.java | 3215 InstallSource installSource = pkg.getInstallSource(); 3216 if (installSource.mInstallerPackageName != null) { 3217 serializer.attribute(null, "installer", installSource.mInstallerPackageName); 3219 if (installSource.mInstallerPackageUid != INVALID_UID) { 3220 serializer.attributeInt(null, "installerUid", installSource.mInstallerPackageUid); 3222 if (installSource.mUpdateOwnerPackageName != null) { 3223 serializer.attribute(null, "updateOwner", installSource.mUpdateOwnerPackageName); 3225 if (installSource.mInstallerAttributionTag != null) { 3227 installSource.mInstallerAttributionTag); 3230 installSource.mPackageSource); [all …]
|
D | InstallPackageHelper.java | 321 InstallSource installSource = request.getInstallSource(); in commitReconciledScanResultLocked() local 334 if (installSource != null) { in commitReconciledScanResultLocked() 337 if (!isInstalledByAdb(installSource.mInitiatingPackageName)) { in commitReconciledScanResultLocked() 339 installSource.mInitiatingPackageName); in commitReconciledScanResultLocked() 341 installSource = installSource.setInitiatingPackageSignatures( in commitReconciledScanResultLocked() 350 final int userId = installSource.mInstallerPackageUid != Process.INVALID_UID in commitReconciledScanResultLocked() 351 ? UserHandle.getUserId(installSource.mInstallerPackageUid) in commitReconciledScanResultLocked() 365 TextUtils.equals(oldUpdateOwner, installSource.mInstallerPackageName); in commitReconciledScanResultLocked() 368 installSource.mUpdateOwnerPackageName); in commitReconciledScanResultLocked() 379 installSource = installSource.setUpdateOwnerPackageName(null); in commitReconciledScanResultLocked() [all …]
|
D | PackageArchiver.java | 1116 private static String getResponsibleInstallerPackage(InstallSource installSource) { in getResponsibleInstallerPackage() argument 1117 return TextUtils.isEmpty(installSource.mUpdateOwnerPackageName) in getResponsibleInstallerPackage() 1118 ? installSource.mInstallerPackageName in getResponsibleInstallerPackage() 1119 : installSource.mUpdateOwnerPackageName; in getResponsibleInstallerPackage() 1136 InstallSource installSource, int requestUserId, int[] allUserIds) { in getResponsibleInstallerTitles() argument 1137 final String responsibleInstallerPackage = getResponsibleInstallerPackage(installSource); in getResponsibleInstallerTitles()
|
D | MovePackageHelper.java | 145 final InstallSource installSource = packageState.getInstallSource(); in movePackageInternal() local 319 installObserver, installFlags, /* developmentInstallFlags= */ 0, installSource, in movePackageInternal()
|
D | ComputerEngine.java | 5087 final InstallSource installSource = getInstallSource(packageName, callingUid, userId); in getInstallerPackageName() local 5088 if (installSource == null) { in getInstallerPackageName() 5091 String installerPackageName = installSource.mInstallerPackageName; in getInstallerPackageName() 5133 final InstallSource installSource = getInstallSource(packageName, callingUid, userId); in getInstallSourceInfo() local 5134 if (installSource == null) { in getInstallSourceInfo() 5138 installerPackageName = installSource.mInstallerPackageName; in getInstallSourceInfo() 5147 updateOwnerPackageName = installSource.mUpdateOwnerPackageName; in getInstallSourceInfo() 5163 if (installSource.mIsInitiatingPackageUninstalled) { in getInstallSourceInfo() 5170 initiatingPackageName = installSource.mInitiatingPackageName; in getInstallSourceInfo() 5175 if (Objects.equals(installSource.mInitiatingPackageName, in getInstallSourceInfo() [all …]
|
D | DexOptHelper.java | 280 final InstallSource installSource = packageState.getInstallSource(); in isCallerInstallerForPackage() local 283 snapshot.getPackageStateInternal(installSource.mInstallerPackageName); in isCallerInstallerForPackage()
|
D | VerifyingSession.java | 147 PackageInstaller.SessionParams sessionParams, InstallSource installSource, in VerifyingSession() argument 155 mInstallSource = installSource; in VerifyingSession()
|
D | PackageInstallerService.java | 1028 InstallSource installSource = InstallSource.create(installerPackageName, 1033 userId, callingUid, installSource, params, createdMillis, 0L, stageDir, stageCid,
|
D | PackageInstallerSession.java | 1152 int sessionId, int userId, int installerUid, @NonNull InstallSource installSource, in PackageInstallerSession() argument 1173 mInstallSource = Objects.requireNonNull(installSource); in PackageInstallerSession() 5963 InstallSource installSource = InstallSource.create(installInitiatingPackageName, 5968 installerUid, installSource, params, createdMillis, committedMillis, stageDir,
|
D | PackageManagerService.java | 8035 void addInstallerPackageName(InstallSource installSource) { in addInstallerPackageName() argument 8037 mSettings.addInstallerPackageNames(installSource); in addInstallerPackageName()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UnarchiveActivity.java | 111 InstallSourceInfo installSource) in getResponsibleInstallerTitle() argument 113 String packageName = TextUtils.isEmpty(installSource.getUpdateOwnerPackageName()) in getResponsibleInstallerTitle() 114 ? installSource.getInstallingPackageName() in getResponsibleInstallerTitle() 115 : installSource.getUpdateOwnerPackageName(); in getResponsibleInstallerTitle()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageSettingBuilder.java | 143 public PackageSettingBuilder setInstallSource(InstallSource installSource) { in setInstallSource() argument 144 mInstallSource = installSource; in setInstallSource()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageInstallerSessionTest.kt | 162 val installSource = InstallSource.create( in <lambda>() constant 179 /* installSource */ installSource, in <lambda>() 318 assertInstallSourcesEquivalent(expected.installSource, actual.installSource) in <lambda>()
|
D | AppsFilterImplTest.java | 1723 final InstallSource installSource = InstallSource.create(initiatingPackageName, in withInstallSource() local 1727 return setting -> setting.setInstallSource(installSource); in withInstallSource()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | StagingManagerTest.java | 725 InstallSource installSource = InstallSource.create("testInstallInitiator", in createSession() local 740 /* installSource */ installSource, in createSession()
|