Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java124 @NonNull InstallSource installSource; field in PackageSettingBase
154 this.installSource = InstallSource.EMPTY; in PackageSettingBase()
186 installSource = installSource.setInstallerPackage(packageName); in setInstallerPackageName()
190 public void setInstallSource(InstallSource installSource) { in setInstallSource() argument
191 this.installSource = Objects.requireNonNull(installSource); in setInstallSource()
196 installSource = installSource.removeInstallerPackage(packageName); in removeInstallerPackage()
201 installSource = installSource.setIsOrphaned(isOrphaned); in setIsOrphaned()
256 installSource = orig.installSource; in doCopy()
863 this.installSource = other.installSource; in updateFrom()
DPackageSetting.java364 proto.write(PackageProto.INSTALLER_NAME, installSource.installerPackageName);
386 installSource.initiatingPackageName);
388 installSource.originatingPackageName);
DSettings.java2635 } else if (pkg.installSource.installerPackageName != null
2636 && !pkg.installSource.installerPackageName.isEmpty()) {
2637 sb.append(pkg.installSource.installerPackageName);
2729 InstallSource installSource = pkg.installSource;
2730 if (installSource.installerPackageName != null) {
2731 serializer.attribute(null, "installer", installSource.installerPackageName);
2733 if (installSource.installerAttributionTag != null) {
2735 installSource.installerAttributionTag);
2737 if (installSource.isOrphaned) {
2740 if (installSource.initiatingPackageName != null) {
[all …]
DAppsFilter.java528 final InstallSource installSource = querying.installSource;
529 if (potentialTarget.getPackageName().equals(installSource.installerPackageName)) {
532 if (!installSource.isInitiatingPackageUninstalled
533 && potentialTarget.getPackageName().equals(installSource.initiatingPackageName)) {
DPackageManagerService.java5868 didRestore, args.installSource.installerPackageName, args.observer, in doHandleMessage()
14009 InstallSource installSource = reconciledPkg.installArgs.installSource;
14010 if (installSource.initiatingPackageName != null) {
14012 installSource.initiatingPackageName);
14014 installSource = installSource.setInitiatingPackageSignatures(
14018 pkgSetting.setInstallSource(installSource);
16028 info.installerPackageName = pkgSetting.installSource.installerPackageName; in sendApplicationHiddenForUser()
17198 targetPackageSetting.installSource.installerPackageName; in setInstallerPackageName()
17236 mSettings.addInstallerPackageNames(targetPackageSetting.installSource); in setInstallerPackageName()
17256 if (!Objects.equals(callerPackageName, ps.installSource.installerPackageName)) { in setApplicationCategoryHint()
[all …]
DPackageInstallerService.java783 InstallSource installSource = InstallSource.create(installerPackageName, in createSessionInternal() local
788 userId, callingUid, installSource, params, createdMillis, 0L, stageDir, stageCid, in createSessionInternal()
DPackageInstallerSession.java1002 int sessionId, int userId, int installerUid, @NonNull InstallSource installSource, in PackageInstallerSession() argument
1022 mInstallSource = Objects.requireNonNull(installSource); in PackageInstallerSession()
4823 InstallSource installSource = InstallSource.create(installInitiatingPackageName, in readFromXml() local
4827 installerUid, installSource, params, createdMillis, committedMillis, stageDir, in readFromXml()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageSettingBuilder.java156 public PackageSettingBuilder setInstallSource(InstallSource installSource) { in setInstallSource() argument
157 mInstallSource = installSource; in setInstallSource()
185 packageSetting.installSource = mInstallSource; in build()
DPackageInstallerSessionTest.java159 InstallSource installSource = InstallSource.create("testInstallInitiator", in createSession() local
172 /* installSource */ installSource, in createSession()
DScanTests.java458 assertThat(scanResult.pkgSetting.installSource.isOrphaned, is(true)); in scanSystemApp_isOrphanedTrue()
DAppsFilterTest.java1244 final InstallSource installSource = InstallSource.create(initiatingPackageName, in withInstallSource() local
1247 return setting -> setting.setInstallSource(installSource); in withInstallSource()
DPackageManagerSettingsTests.java921 assertSame(origPkgSetting.installSource, testPkgSetting.installSource); in verifySettingCopy()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DStagingManagerTest.java528 InstallSource installSource = InstallSource.create("testInstallInitiator", in createSession() local
542 /* installSource */ installSource, in createSession()