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()
DSettings.java937 ret.setInstallSource(p.getInstallSource());
3094 } else if (ps.getInstallSource().mInstallerPackageName != null
3095 && !ps.getInstallSource().mInstallerPackageName.isEmpty()) {
3096 sb.append(ps.getInstallSource().mInstallerPackageName);
3215 InstallSource installSource = pkg.getInstallSource();
4353 packageSetting.getInstallSource()
4954 pw.print(ps.getInstallSource().mInstallerPackageName != null
4955 ? ps.getInstallSource().mInstallerPackageName : "?");
4956 pw.print(ps.getInstallSource().mInstallerPackageUid);
4957 pw.print(ps.getInstallSource().mUpdateOwnerPackageName != null
[all …]
DPackageSessionVerifier.java213 session.getInstallSource(), session.getInstallerUid(), session.getSigningDetails(), in createVerifyingSession()
489 final String installerPackageName = session.getInstallSource().mInstallerPackageName; in checkApexUpdateAllowed()
DDexOptHelper.java280 final InstallSource installSource = packageState.getInstallSource(); in isCallerInstallerForPackage()
779 && installRequest.getInstallSource().mInitiatingPackageName.equals("android")) in shouldPerformDexopt()
DPackageInstallerSession.java967 getInstallSource().mInstallerPackageName, mInstallerUid); in isInstallerDeviceOwnerOrAffiliatedProfileOwner()
1672 final String initiatingPackageName = getInstallSource().mInitiatingPackageName; in setChecksums()
1677 installerPackageName = getInstallSource().mInstallerPackageName; in setChecksums()
1726 getInstallSource().mInitiatingPackageName) in requestChecksums()
1727 ? getInstallSource().mInstallerPackageName in requestChecksums()
1728 : getInstallSource().mInitiatingPackageName; in requestChecksums()
2794 .setAdmin(getInstallSource().mInstallerPackageName) in handleInstall()
3587 getInstallSource().mInstallerPackageName, userId)) {
4241 return getInstallSource().mInstallerPackageName;
4245 return getInstallSource().mInstallerAttributionTag;
[all …]
DDeletePackageHelper.java470 outInfo.mInstallerPackageName = ps.getInstallSource().mInstallerPackageName; in executeDeletePackageLIF()
900 return packageState != null && packageState.getInstallSource().mIsOrphaned; in isOrphaned()
DMovePackageHelper.java145 final InstallSource installSource = packageState.getInstallSource(); in movePackageInternal()
DInstallPackageHelper.java321 InstallSource installSource = request.getInstallSource(); in commitReconciledScanResultLocked()
325 pkgAlreadyExists ? oldPkgSetting.getInstallSource().mUpdateOwnerPackageName : null; in commitReconciledScanResultLocked()
734 final String updateOwner = pkgSetting.getInstallSource().mUpdateOwnerPackageName; in installExistingPackageAsUser()
1090 mPm.snapshotComputer(), request.getInstallSource(), in installPackagesLI()
1857 ps.getInstallSource().mInstallerPackageName; in preparePackageLI()
2399 mPm.mSettings.addInstallerPackageNames(ps.getInstallSource()); in updateSettingsInternalLI()
DPackageInstallerService.java1040 mPm.addInstallerPackageName(session.getInstallSource());
1527 return TextUtils.equals(ps.getInstallSource().mInstallerPackageName, installerPackageName)
1528 || TextUtils.equals(ps.getInstallSource().mUpdateOwnerPackageName,
DInstallRequest.java393 public InstallSource getInstallSource() { in getInstallSource() method in InstallRequest
DComputerEngine.java5087 final InstallSource installSource = getInstallSource(packageName, callingUid, userId); in getInstallerPackageName()
5103 private InstallSource getInstallSource(@NonNull String packageName, int callingUid, in getInstallSource() method in ComputerEngine
5117 return ps.getInstallSource(); in getInstallSource()
5133 final InstallSource installSource = getInstallSource(packageName, callingUid, userId); in getInstallSourceInfo()
5503 packageState.getInstallSource().mInstallerPackageName); in isCallerInstallerOfRecord()
DBroadcastHelper.java800 info.mInstallerPackageName = packageState.getInstallSource().mInstallerPackageName; in sendApplicationHiddenForUser()
DPackageManagerService.java4643 packageState.getInstallSource().mInstallerPackageName;
5798 packageState.getInstallSource().mInstallerPackageName)) {
6100 targetPackageState.getInstallSource().mInstallerPackageName; in setInstallerPackageName()
6164 mSettings.addInstallerPackageNames(targetPackageState.getInstallSource()); in setInstallerPackageName()
6185 targetPackageState.getInstallSource().mUpdateOwnerPackageName; in relinquishUpdateOwnership()
DPackageSetting.java1802 public @NonNull InstallSource getInstallSource() {
DPackageArchiver.java1131 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.java1889 assertSame(origPkgSetting.getInstallSource(), testPkgSetting.getInstallSource()); in verifySettingCopy()
/frameworks/base/services/
Dart-wear-profile17910 HPLcom/android/server/pm/ComputerEngine;->getInstallSource(Ljava/lang/String;II)Lcom/android/server…
18213 HPLcom/android/server/pm/InstallRequest;->getInstallSource()Lcom/android/server/pm/InstallSource;
19010 PLcom/android/server/pm/PackageSetting;->getInstallSource()Lcom/android/server/pm/InstallSource;
Dart-profile2303 HSPLcom/android/server/pm/ComputerEngine;->getInstallSource(Ljava/lang/String;II)Lcom/android/serve…