Home
last modified time | relevance | path

Searched refs:installSource (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java129 @NonNull InstallSource installSource; field in PackageSettingBase
161 this.installSource = InstallSource.EMPTY; in PackageSettingBase()
179 installSource = installSource.setInstallerPackage(packageName); in setInstallerPackageName()
182 public void setInstallSource(InstallSource installSource) { in setInstallSource() argument
183 this.installSource = Objects.requireNonNull(installSource); in setInstallSource()
187 installSource = installSource.removeInstallerPackage(packageName); in removeInstallerPackage()
191 installSource = installSource.setIsOrphaned(isOrphaned); in setIsOrphaned()
243 installSource = orig.installSource; in doCopy()
748 this.installSource = other.installSource; in updateFrom()
DPackageSetting.java277 proto.write(PackageProto.INSTALLER_NAME, installSource.installerPackageName); in dumpDebug()
299 installSource.initiatingPackageName); in dumpDebug()
301 installSource.originatingPackageName); in dumpDebug()
DSettings.java2891 InstallSource installSource = pkg.installSource; in writePackageLPr() local
2892 if (installSource.installerPackageName != null) { in writePackageLPr()
2893 serializer.attribute(null, "installer", installSource.installerPackageName); in writePackageLPr()
2895 if (installSource.isOrphaned) { in writePackageLPr()
2898 if (installSource.initiatingPackageName != null) { in writePackageLPr()
2899 serializer.attribute(null, "installInitiator", installSource.initiatingPackageName); in writePackageLPr()
2901 if (installSource.isInitiatingPackageUninstalled) { in writePackageLPr()
2904 if (installSource.originatingPackageName != null) { in writePackageLPr()
2905 serializer.attribute(null, "installOriginator", installSource.originatingPackageName); in writePackageLPr()
2924 if (installSource.initiatingPackageSignatures != null) { in writePackageLPr()
[all …]
DAppsFilter.java375 final InstallSource installSource = querying.installSource; in canQueryAsInstaller() local
376 if (potentialTarget.getPackageName().equals(installSource.installerPackageName)) { in canQueryAsInstaller()
379 if (!installSource.isInitiatingPackageUninstalled in canQueryAsInstaller()
380 && potentialTarget.getPackageName().equals(installSource.initiatingPackageName)) { in canQueryAsInstaller()
DPackageInstallerService.java701 InstallSource installSource = InstallSource.create(installerPackageName, in createSessionInternal() local
705 installSource, params, createdMillis, in createSessionInternal()
DPackageInstallerSession.java540 int sessionId, int userId, int installerUid, @NonNull InstallSource installSource, in PackageInstallerSession() argument
558 mInstallSource = Objects.requireNonNull(installSource); in PackageInstallerSession()
3616 InstallSource installSource = InstallSource.create(installInitiatingPackageName, in readFromXml() local
3620 installSource, params, createdMillis, stageDir, stageCid, fileArray, in readFromXml()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageSettingBuilder.java152 public PackageSettingBuilder setInstallSource(InstallSource installSource) { in setInstallSource() argument
153 mInstallSource = installSource; in setInstallSource()
176 packageSetting.installSource = mInstallSource; in build()
DPackageInstallerSessionTest.java161 InstallSource installSource = InstallSource.create("testInstallInitiator", in createSession() local
173 /* installSource */ installSource, in createSession()
DAppsFilterTest.java896 final InstallSource installSource = InstallSource.create(initiatingPackageName, in withInstallSource() local
899 return setting -> setting.setInstallSource(installSource); in withInstallSource()
DPackageManagerSettingsTests.java805 assertSame(origPkgSetting.installSource, testPkgSetting.installSource); in verifySettingCopy()
DScanTests.java448 assertThat(scanResult.pkgSetting.installSource.isOrphaned, is(true)); in scanSystemApp_isOrphanedTrue()