Home
last modified time | relevance | path

Searched refs:installerPackageName (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/pm/
DInstallSource.java68 final String installerPackageName; field in InstallSource
80 @Nullable String originatingPackageName, @Nullable String installerPackageName) { in create() argument
81 return create(initiatingPackageName, originatingPackageName, installerPackageName, in create()
86 @Nullable String originatingPackageName, @Nullable String installerPackageName, in create() argument
91 intern(installerPackageName), in create()
96 @Nullable String originatingPackageName, @Nullable String installerPackageName, in createInternal() argument
100 && installerPackageName == null && initiatingPackageSignatures == null in createInternal()
105 installerPackageName, isOrphaned, isInitiatingPackageUninstalled, in createInternal()
111 @Nullable String originatingPackageName, @Nullable String installerPackageName, in InstallSource() argument
120 this.installerPackageName = installerPackageName; in InstallSource()
[all …]
DPackageInstallerService.java483 public int createSession(SessionParams params, String installerPackageName, int userId) { in createSession() argument
485 return createSessionInternal(params, installerPackageName, userId); in createSession()
491 private int createSessionInternal(SessionParams params, String installerPackageName, int userId) in createSessionInternal() argument
519 String requestedInstallerPackageName = (params.installerPackageName != null in createSessionInternal()
520 && params.installerPackageName.length() < SessionParams.MAX_PACKAGE_NAME_LENGTH) in createSessionInternal()
521 ? params.installerPackageName : installerPackageName; in createSessionInternal()
527 installerPackageName = null; in createSessionInternal()
531 mAppOps.checkPackage(callingUid, installerPackageName); in createSessionInternal()
535 if (!TextUtils.equals(requestedInstallerPackageName, installerPackageName)) { in createSessionInternal()
701 InstallSource installSource = InstallSource.create(installerPackageName, in createSessionInternal()
[all …]
DPackageManagerShellCommand.java1287 params.installerPackageName, params.userId); in doRunInstall()
1414 installParams.installerPackageName, installParams.userId); in runInstallCreate()
2736 String installerPackageName; field in PackageManagerShellCommand.InstallParams
2760 params.installerPackageName = getNextArg(); in makeInstallParams()
2761 if (params.installerPackageName == null) { in makeInstallParams()
2856 if (params.installerPackageName == null) { in makeInstallParams()
2864 params.installerPackageName = "com.android.shell"; in makeInstallParams()
2946 final String installerPackageName = getNextArg(); in runSetInstaller() local
2948 if (targetPackage == null || installerPackageName == null) { in runSetInstaller()
2953 mInterface.setInstallerPackageName(targetPackage, installerPackageName); in runSetInstaller()
[all …]
DPackageInstallerSession.java496 mInstallSource.installerPackageName, mInstallerUid); in isInstallerDeviceOwnerOrAffiliatedProfileOwnerLocked()
658 info.installerPackageName = mInstallSource.installerPackageName; in generateInfoInternal()
1669 if (!mPackageName.equals(mInstallSource.installerPackageName)) { in transfer()
1688 .setAdmin(mInstallSource.installerPackageName) in handleInstall()
2428 return getInstallSource().installerPackageName; in getInstallerPackageName()
3185 pw.printPair("installerPackageName", mInstallSource.installerPackageName); in dumpLocked()
3352 mInstallSource.installerPackageName); in write()
3485 final String installerPackageName = readStringAttribute(in, ATTR_INSTALLER_PACKAGE_NAME); in readFromXml() local
3487 installerPackageName, PackageManager.MATCH_UNINSTALLED_PACKAGES, userId)); in readFromXml()
3617 installOriginatingPackageName, installerPackageName); in readFromXml()
DPackageSetting.java277 proto.write(PackageProto.INSTALLER_NAME, installSource.installerPackageName); in dumpDebug()
DSettings.java2892 if (installSource.installerPackageName != null) { in writePackageLPr()
2893 serializer.attribute(null, "installer", installSource.installerPackageName); in writePackageLPr()
3671 String installerPackageName = null; in readPackageLPw() local
3719 installerPackageName = parser.getAttributeValue(null, "installer"); in readPackageLPw()
3882 installerPackageName, "true".equals(isOrphaned), in readPackageLPw()
3982 if (installSource.installerPackageName != null) { in addInstallerPackageNames()
3983 mInstallerPackages.add(installSource.installerPackageName); in addInstallerPackageNames()
4424 if (pkgSetting.installSource.installerPackageName != null) { in setPackageStoppedStateLPw()
4426 pkgSetting.installSource.installerPackageName, userId); in setPackageStoppedStateLPw()
4591 pw.print(ps.installSource.installerPackageName != null in dumpPackageLPr()
[all …]
/frameworks/base/services/core/java/com/android/server/utils/
DAppInstallerUtil.java37 String installerPackageName = null; in getInstallerPackageName() local
39 installerPackageName = in getInstallerPackageName()
44 if (installerPackageName == null) { in getInstallerPackageName()
47 return installerPackageName; in getInstallerPackageName()
53 public static Intent createIntent(Context context, String installerPackageName, in createIntent() argument
55 Intent intent = new Intent(Intent.ACTION_SHOW_APP_INFO).setPackage(installerPackageName); in createIntent()
69 String installerPackageName = getInstallerPackageName(context, packageName); in createIntent() local
70 return createIntent(context, installerPackageName, packageName); in createIntent()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollback.java200 String installerPackageName, int[] packageSessionIds, in Rollback() argument
208 mInstallerPackageName = installerPackageName; in Rollback()
218 String installerPackageName) { in Rollback() argument
219 this(rollbackId, backupDir, stagedSessionId, userId, installerPackageName, null, in Rollback()
228 int userId, String installerPackageName, SparseIntArray extensionVersions) { in Rollback() argument
231 mInstallerPackageName = installerPackageName; in Rollback()
523 String installerPackageName = mInstallerPackageName; in commit() local
525 installerPackageName = pm.getInstallerPackageName( in commit()
528 if (installerPackageName != null) { in commit()
529 params.setInstallerPackageName(installerPackageName); in commit()
DRollbackManagerServiceImpl.java808 String installerPackageName = session.getInstallerPackageName(); in enableRollbackForPackageSession() local
809 if (!enableRollbackAllowed(installerPackageName, packageName)) { in enableRollbackForPackageSession()
810 Slog.e(TAG, "Installer " + installerPackageName in enableRollbackForPackageSession()
1011 private boolean enableRollbackAllowed(String installerPackageName, String packageName) { in enableRollbackAllowed() argument
1012 if (installerPackageName == null) { in enableRollbackAllowed()
1019 installerPackageName) == PackageManager.PERMISSION_GRANTED; in enableRollbackAllowed()
1023 installerPackageName) == PackageManager.PERMISSION_GRANTED; in enableRollbackAllowed()
1264 String installerPackageName = parentSession.getInstallerPackageName(); in createNewRollbackLocked() local
1270 + " user=" + userId + " installer=" + installerPackageName); in createNewRollbackLocked()
1282 installerPackageName, packageSessionIds, getExtensionVersions()); in createNewRollbackLocked()
[all …]
DRollbackStore.java229 Rollback createNonStagedRollback(int rollbackId, int userId, String installerPackageName, in createNonStagedRollback() argument
232 return new Rollback(rollbackId, backupDir, -1, userId, installerPackageName, in createNonStagedRollback()
241 String installerPackageName, int[] packageSessionIds, in createStagedRollback() argument
244 return new Rollback(rollbackId, backupDir, stagedSessionId, userId, installerPackageName, in createStagedRollback()
/frameworks/base/core/java/android/content/pm/
DIPackageInstaller.aidl31 …int createSession(in PackageInstaller.SessionParams params, String installerPackageName, int userI… in createSession() argument
43 ParceledListSlice getMySessions(String installerPackageName, int userId); in getMySessions() argument
DPackageInstaller.java414 String installerPackageName, int userId) { in PackageInstaller() argument
416 mInstallerPackageName = installerPackageName; in PackageInstaller()
1501 public String installerPackageName; field in PackageInstaller.SessionParams
1544 installerPackageName = source.readString(); in SessionParams()
1575 ret.installerPackageName = installerPackageName; in copy()
1909 public void setInstallerPackageName(@Nullable String installerPackageName) { in setInstallerPackageName() argument
1910 this.installerPackageName = installerPackageName; in setInstallerPackageName()
2001 pw.printPair("installerPackageName", installerPackageName); in dump()
2034 dest.writeString(installerPackageName); in writeToParcel()
2111 public String installerPackageName; field in PackageInstaller.SessionInfo
[all …]
DIPackageManager.aidl219 void setInstallerPackageName(in String targetPackage, in String installerPackageName); in setInstallerPackageName() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageInstallerSessionTest.java276 assertEquals(expected.installerPackageName, actual.installerPackageName); in assertSessionParamsEquivalent()
327 assertEquals(expected.installerPackageName, actual.installerPackageName); in assertInstallSourcesEquivalent()
DAppsFilterTest.java894 String originatingPackageName, String installerPackageName, in withInstallSource() argument
897 originatingPackageName, installerPackageName, in withInstallSource()
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java278 String installerPackageName = getInstallerPackageName(intent); in handleIntegrityVerification() local
281 if (!integrityCheckIncludesRuleProvider() && isRuleProvider(installerPackageName)) { in handleIntegrityVerification()
303 getInstallerCertificateFingerprint(installerPackageName); in handleIntegrityVerification()
310 builder.setInstallerName(getPackageNameNormalized(installerPackageName)); in handleIntegrityVerification()
341 installerPackageName, in handleIntegrityVerification()
695 private boolean isRuleProvider(String installerPackageName) { in isRuleProvider() argument
697 if (ruleProvider.matches(installerPackageName)) { in isRuleProvider()
/frameworks/base/core/java/android/app/
DApplicationErrorReport.java106 public String installerPackageName; field in ApplicationErrorReport
236 dest.writeString(installerPackageName); in writeToParcel()
263 installerPackageName = in.readString(); in readFromParcel()
690 pw.println(prefix + "installerPackageName: " + installerPackageName); in dump()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DRestoreUtils.java75 String installerPackageName, in installApk() argument
90 params.setInstallerPackageName(installerPackageName); in installApk()
/frameworks/base/services/backup/java/com/android/server/backup/
DFileMetadata.java32 public String installerPackageName; // name of the market-type app that installed the owner field in FileMetadata
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/
DAppMetadataBackupWriterTest.java382 String packageName, @Nullable String installerPackageName, long versionCode) { in createPackageInfo() argument
387 if (installerPackageName != null) { in createPackageInfo()
388 mPackageManager.setInstallerPackageName(packageName, installerPackageName); in createPackageInfo()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstalledNotificationUtils.java199 @NonNull String installerPackageName, @NonNull String packageName) { in getAppStoreLink() argument
201 .setPackage(installerPackageName); in getAppStoreLink()
DPackageInstallerActivity.java563 String installerPackageName = getIntent().getStringExtra( in startInstall() local
574 if (installerPackageName != null) { in startInstall()
576 installerPackageName); in startInstall()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DFullRestoreEngine.java229 mPackageInstallers.put(pkg, info.installerPackageName); in restoreOneFile()
266 String installerPackageName = mPackageInstallers.get(pkg); in restoreOneFile() local
270 mPackagePolicies, info, installerPackageName, in restoreOneFile()
/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/
DPackageSessionTests.kt113 assertThat(installer.getSessionInfo(it)?.installerPackageName) in <lambda>()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java689 public void setInstallerPackageName(String targetPackage, String installerPackageName) { in setInstallerPackageName() argument

12