Home
last modified time | relevance | path

Searched refs:getInstallSource (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageStateInternal.java54 InstallSource getInstallSource(); in getInstallSource() method
/frameworks/base/services/core/java/com/android/server/pm/
DAppsFilterUtils.java83 final InstallSource installSource = querying.getInstallSource(); in canQueryAsInstaller()
96 final InstallSource installSource = querying.getInstallSource(); in canQueryAsUpdateOwner()
DPackageSessionVerifier.java213 session.getInstallSource(), session.getInstallerUid(), session.getSigningDetails(), in createVerifyingSession()
489 final String installerPackageName = session.getInstallSource().mInstallerPackageName; in checkApexUpdateAllowed()
DSettings.java939 ret.setInstallSource(p.getInstallSource());
3144 } else if (ps.getInstallSource().mInstallerPackageName != null
3145 && !ps.getInstallSource().mInstallerPackageName.isEmpty()) {
3146 sb.append(ps.getInstallSource().mInstallerPackageName);
3265 InstallSource installSource = pkg.getInstallSource();
4428 packageSetting.getInstallSource()
5076 pw.print(ps.getInstallSource().mInstallerPackageName != null
5077 ? ps.getInstallSource().mInstallerPackageName : "?");
5078 pw.print(ps.getInstallSource().mInstallerPackageUid);
5079 pw.print(ps.getInstallSource().mUpdateOwnerPackageName != null
[all …]
DPackageInstallerSession.java992 getInstallSource().mInstallerPackageName, mInstallerUid); in isInstallerDeviceOwnerOrAffiliatedProfileOwner()
1727 final String initiatingPackageName = getInstallSource().mInitiatingPackageName; in setChecksums()
1732 installerPackageName = getInstallSource().mInstallerPackageName; in setChecksums()
1781 getInstallSource().mInitiatingPackageName) in requestChecksums()
1782 ? getInstallSource().mInstallerPackageName in requestChecksums()
1783 : getInstallSource().mInitiatingPackageName; in requestChecksums()
2856 .setAdmin(getInstallSource().mInstallerPackageName) in handleInstall()
3744 getInstallSource().mInstallerPackageName, userId)) {
4392 return getInstallSource().mInstallerPackageName;
4396 return getInstallSource().mInstallerAttributionTag;
[all …]
DDexOptHelper.java296 final InstallSource installSource = packageState.getInstallSource(); in isCallerInstallerForPackage()
873 .getInstallSource()
DDeletePackageHelper.java476 outInfo.mInstallerPackageName = ps.getInstallSource().mInstallerPackageName; in executeDeletePackageLIF()
920 return packageState != null && packageState.getInstallSource().mIsOrphaned; in isOrphaned()
DMovePackageHelper.java145 final InstallSource installSource = packageState.getInstallSource(); in movePackageInternal()
DPackageInstallerService.java1052 mPm.addInstallerPackageName(session.getInstallSource());
1569 return TextUtils.equals(ps.getInstallSource().mInstallerPackageName, installerPackageName)
1570 || TextUtils.equals(ps.getInstallSource().mUpdateOwnerPackageName,
DInstallPackageHelper.java324 InstallSource installSource = request.getInstallSource(); in commitReconciledScanResultLocked()
328 pkgAlreadyExists ? oldPkgSetting.getInstallSource().mUpdateOwnerPackageName : null; in commitReconciledScanResultLocked()
741 final String updateOwner = pkgSetting.getInstallSource().mUpdateOwnerPackageName; in installExistingPackageAsUser()
1336 mPm.snapshotComputer(), request.getInstallSource(), in scanInstallPackages()
2151 ps.getInstallSource().mInstallerPackageName; in preparePackage()
2653 mPm.mSettings.addInstallerPackageNames(ps.getInstallSource()); in updateSettingsInternalLI()
DInstallRequest.java403 public InstallSource getInstallSource() { in getInstallSource() method in InstallRequest
DComputerEngine.java5130 final InstallSource installSource = getInstallSource(packageName, callingUid, userId); in getInstallerPackageName()
5146 private InstallSource getInstallSource(@NonNull String packageName, int callingUid, in getInstallSource() method in ComputerEngine
5160 return ps.getInstallSource(); in getInstallSource()
5176 final InstallSource installSource = getInstallSource(packageName, callingUid, userId); in getInstallSourceInfo()
5549 packageState.getInstallSource().mInstallerPackageName); in isCallerInstallerOfRecord()
DPackageManagerService.java4687 packageState.getInstallSource().mInstallerPackageName;
5844 packageState.getInstallSource().mInstallerPackageName)) { in setApplicationCategoryHint()
6207 targetPackageState.getInstallSource().mInstallerPackageName; in setInstallerPackageName()
6271 mSettings.addInstallerPackageNames(targetPackageState.getInstallSource()); in setInstallerPackageName()
6292 targetPackageState.getInstallSource().mUpdateOwnerPackageName; in relinquishUpdateOwnership()
DBroadcastHelper.java952 info.mInstallerPackageName = packageState.getInstallSource().mInstallerPackageName; in sendApplicationHiddenForUser()
DPackageSetting.java1989 public @NonNull InstallSource getInstallSource() {
DPackageArchiver.java1183 return getResponsibleInstallerPackage(ps.getInstallSource()); in getResponsibleInstallerPackage()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageArchiverTest.java171 when(mPackageState.getInstallSource()).thenReturn(mInstallSource); in setUp()
290 when(mPackageState.getInstallSource()).thenReturn(otherInstallSource); in archiveApp_noInstallerFound()
511 when(mPackageState.getInstallSource()).thenReturn(otherInstallSource); in unarchiveApp_noInstallerFound()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DScanTests.java537 assertThat(scanResult.mPkgSetting.getInstallSource().mIsOrphaned, is(true)); in scanSystemApp_isOrphanedTrue()
DPackageManagerSettingsTests.java2134 assertSame(origPkgSetting.getInstallSource(), testPkgSetting.getInstallSource()); in verifySettingCopy()
/frameworks/base/services/
Dart-profile2530 HSPLcom/android/server/pm/ComputerEngine;->getInstallSource(Ljava/lang/String;II)Lcom/android/serve…
2759 HSPLcom/android/server/pm/PackageSetting;->getInstallSource()Lcom/android/server/pm/InstallSource;
Dart-wear-profile14414 PLcom/android/server/pm/PackageInstallerSession;->getInstallSource()Lcom/android/server/pm/InstallS…
14859 PLcom/android/server/pm/PackageSetting;->getInstallSource()Lcom/android/server/pm/InstallSource;