Searched refs:installSource (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSettingBase.java | 129 @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()
|
D | PackageSetting.java | 277 proto.write(PackageProto.INSTALLER_NAME, installSource.installerPackageName); in dumpDebug() 299 installSource.initiatingPackageName); in dumpDebug() 301 installSource.originatingPackageName); in dumpDebug()
|
D | Settings.java | 2891 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 …]
|
D | AppsFilter.java | 375 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()
|
D | PackageInstallerService.java | 701 InstallSource installSource = InstallSource.create(installerPackageName, in createSessionInternal() local 705 installSource, params, createdMillis, in createSessionInternal()
|
D | PackageInstallerSession.java | 540 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/ |
D | PackageSettingBuilder.java | 152 public PackageSettingBuilder setInstallSource(InstallSource installSource) { in setInstallSource() argument 153 mInstallSource = installSource; in setInstallSource() 176 packageSetting.installSource = mInstallSource; in build()
|
D | PackageInstallerSessionTest.java | 161 InstallSource installSource = InstallSource.create("testInstallInitiator", in createSession() local 173 /* installSource */ installSource, in createSession()
|
D | AppsFilterTest.java | 896 final InstallSource installSource = InstallSource.create(initiatingPackageName, in withInstallSource() local 899 return setting -> setting.setInstallSource(installSource); in withInstallSource()
|
D | PackageManagerSettingsTests.java | 805 assertSame(origPkgSetting.installSource, testPkgSetting.installSource); in verifySettingCopy()
|
D | ScanTests.java | 448 assertThat(scanResult.pkgSetting.installSource.isOrphaned, is(true)); in scanSystemApp_isOrphanedTrue()
|