/frameworks/base/services/core/java/com/android/server/pm/ |
D | SilentUpdatePolicy.java | 58 public boolean isSilentUpdateAllowed(@Nullable String installerPackageName, in isSilentUpdateAllowed() argument 60 if (installerPackageName == null) { in isSilentUpdateAllowed() 64 final long lastSilentUpdatedMs = getTimestampMs(installerPackageName, packageName); in isSilentUpdateAllowed() 79 public void track(@Nullable String installerPackageName, @NonNull String packageName) { in track() argument 80 if (installerPackageName == null) { in track() 86 && mAllowUnlimitedSilentUpdatesInstaller.equals(installerPackageName)) { in track() 92 final Pair<String, String> key = Pair.create(installerPackageName, packageName); in track() 101 void setAllowUnlimitedSilentUpdates(@Nullable String installerPackageName) { in setAllowUnlimitedSilentUpdates() argument 103 if (installerPackageName == null) { in setAllowUnlimitedSilentUpdates() 106 mAllowUnlimitedSilentUpdatesInstaller = installerPackageName; in setAllowUnlimitedSilentUpdates() [all …]
|
D | InstallSource.java | 111 @Nullable String originatingPackageName, @Nullable String installerPackageName, in create() argument 115 return create(initiatingPackageName, originatingPackageName, installerPackageName, in create() 122 @Nullable String originatingPackageName, @Nullable String installerPackageName, in create() argument 125 return create(initiatingPackageName, originatingPackageName, installerPackageName, in create() 131 @Nullable String originatingPackageName, @Nullable String installerPackageName, in create() argument 138 intern(installerPackageName), in create() 148 @Nullable String originatingPackageName, @Nullable String installerPackageName, in createInternal() argument 154 && installerPackageName == null && updateOwnerPackageName == null in createInternal() 161 installerPackageName, installerPackageUid, updateOwnerPackageName, in createInternal() 168 @Nullable String originatingPackageName, @Nullable String installerPackageName, in InstallSource() argument [all …]
|
D | PackageInstallerService.java | 643 public int createSession(SessionParams params, String installerPackageName, 656 return createSessionInternal(params, installerPackageName, callingAttributionTag, 663 int createSessionInternal(SessionParams params, String installerPackageName, 697 if (params.installerPackageName != null && !isValidPackageName( 698 params.installerPackageName)) { 699 params.installerPackageName = null; 703 if (installerPackageName != null && !isValidPackageName(installerPackageName)) { 704 installerPackageName = null; 708 params.installerPackageName != null ? params.installerPackageName 709 : installerPackageName; [all …]
|
D | BroadcastHelper.java | 458 final String installerPackageName = in sendPostInstallBroadcasts() local 478 if (installerPackageName != null && staticSharedLibraryName != null) { in sendPostInstallBroadcasts() 481 installerPackageName, null /*finishedReceiver*/, in sendPostInstallBroadcasts() 512 if (installerPackageName != null) { in sendPostInstallBroadcasts() 515 installerPackageName, null /*finishedReceiver*/, in sendPostInstallBroadcasts() 529 installerPackageName)) { in sendPostInstallBroadcasts() 552 if (installerPackageName != null) { in sendPostInstallBroadcasts() 555 installerPackageName, null /*finishedReceiver*/, in sendPostInstallBroadcasts() 561 installerPackageName)) { in sendPostInstallBroadcasts() 582 sendFirstLaunchBroadcast(packageName, installerPackageName, in sendPostInstallBroadcasts() [all …]
|
D | PackageSessionVerifier.java | 453 private boolean isApexUpdateAllowed(String apexPackageName, String installerPackageName) { in isApexUpdateAllowed() argument 461 return modulesInstaller.equals(installerPackageName); in isApexUpdateAllowed() 469 return vendorApexInstaller.equals(installerPackageName); in isApexUpdateAllowed() 489 final String installerPackageName = session.getInstallSource().mInstallerPackageName; in checkApexUpdateAllowed() local 490 if (!isApexUpdateAllowed(packageName, installerPackageName)) { in checkApexUpdateAllowed() 494 + installerPackageName); in checkApexUpdateAllowed()
|
D | BackgroundInstallControlService.java | 281 String installerPackageName; in handlePackageAdd() local 286 installerPackageName = installInfo.getInstallingPackageName(); in handlePackageAdd() 296 installerPackageName, in handlePackageAdd() 310 || wasForegroundInstallation(installerPackageName, userId, installTimestamp)) { in handlePackageAdd() 356 String installerPackageName, int userId, long installTimestamp) { in wasForegroundInstallation() argument 358 mInstallerForegroundTimeFrames.get(userId, installerPackageName); in wasForegroundInstallation()
|
D | ApkChecksums.java | 318 @Nullable String installerPackageName, in getChecksums() argument 330 getAvailableApkChecksums(split, file, optional | required, installerPackageName, in getChecksums() 396 @Nullable String installerPackageName, in getAvailableApkChecksums() argument 426 getInstallerChecksums(split, file, types, installerPackageName, trustedInstallers, in getAvailableApkChecksums() 432 @Nullable String installerPackageName, in getInstallerChecksums() argument 436 if (PackageManagerServiceUtils.isInstalledByAdb(installerPackageName)) { in getInstallerChecksums() 470 installerPackageName); in getInstallerChecksums() 516 new ApkChecksum(split, digest, installerPackageName, trustedCertBytes)); in getInstallerChecksums()
|
D | PackageArchiver.java | 631 private ApplicationInfo verifyInstaller(Computer snapshot, String installerPackageName, in verifyInstaller() argument 633 if (TextUtils.isEmpty(installerPackageName)) { in verifyInstaller() 638 && !verifySupportsUnarchival(installerPackageName, userId)) { in verifyInstaller() 642 installerPackageName, /* flags=*/ 0, userId); in verifyInstaller() 1173 void notifyUnarchivalListener(int status, String installerPackageName, String appPackageName, in notifyUnarchivalListener() argument 1181 final Intent dialogIntent = createErrorDialogIntent(status, installerPackageName, in notifyUnarchivalListener() 1210 private Intent createErrorDialogIntent(int status, String installerPackageName, in createErrorDialogIntent() argument 1224 dialogIntent.putExtra(EXTRA_INSTALLER_PACKAGE_NAME, installerPackageName); in createErrorDialogIntent()
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | AppInstallerUtil.java | 37 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/core/java/android/content/pm/ |
D | IPackageInstaller.aidl | 35 int createSession(in PackageInstaller.SessionParams params, String installerPackageName, in createSession() argument 48 ParceledListSlice getMySessions(String installerPackageName, int userId); in getMySessions() argument 74 void setAllowUnlimitedSilentUpdates(String installerPackageName); in setAllowUnlimitedSilentUpdates() argument 76 void checkInstallConstraints(String installerPackageName, in List<String> packageNames, in checkInstallConstraints() argument 78 void waitForInstallConstraints(String installerPackageName, in List<String> packageNames, in waitForInstallConstraints() argument 92 String installerPackageName, in UserHandle userHandle); in installPackageArchived() argument
|
D | ApkChecksum.java | 151 @Nullable String installerPackageName, in ApkChecksum() argument 157 this.mInstallerPackageName = installerPackageName; in ApkChecksum() 224 String installerPackageName = (flg & 0x4) == 0 ? null : in.readString(); in ApkChecksum() local 231 this.mInstallerPackageName = installerPackageName; in ApkChecksum()
|
D | PackageInstaller.java | 780 String installerPackageName, String installerAttributionTag, int userId) { in PackageInstaller() argument 783 mInstallerPackageName = installerPackageName; in PackageInstaller() 2773 public String installerPackageName; field in PackageInstaller.SessionParams 2837 installerPackageName = source.readString(); in SessionParams() 2877 ret.installerPackageName = installerPackageName; in copy() 3374 public void setInstallerPackageName(@Nullable String installerPackageName) { in setInstallerPackageName() argument 3375 this.installerPackageName = installerPackageName; in setInstallerPackageName() 3620 pw.printPair("installerPackageName", installerPackageName); in dump() 3662 dest.writeString(installerPackageName); in writeToParcel() 3786 public String installerPackageName; field in PackageInstaller.SessionInfo [all …]
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UnarchiveErrorActivity.java | 47 String installerPackageName = extras.getString(EXTRA_INSTALLER_PACKAGE_NAME); in onCreate() local 68 if (installerPackageName != null) { in onCreate() 69 args.putString(EXTRA_INSTALLER_PACKAGE_NAME, installerPackageName); in onCreate()
|
D | PackageInstalledNotificationUtils.java | 200 @NonNull String installerPackageName, @NonNull String packageName) { in getAppStoreLink() argument 202 .setPackage(installerPackageName); in getAppStoreLink()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | Rollback.java | 213 String installerPackageName, int[] packageSessionIds, in Rollback() argument 222 mInstallerPackageName = installerPackageName; in Rollback() 237 int userId, String installerPackageName, SparseIntArray extensionVersions) { in Rollback() argument 240 mInstallerPackageName = installerPackageName; in Rollback() 572 String installerPackageName = mInstallerPackageName; in commit() local 574 installerPackageName = pm.getInstallerPackageName( in commit() 577 if (installerPackageName != null) { in commit() 578 params.setInstallerPackageName(installerPackageName); in commit()
|
D | RollbackManagerServiceImpl.java | 933 final String installerPackageName = session.getInstallerPackageName(); 934 if (!enableRollbackAllowed(installerPackageName, packageName)) { 935 Slog.e(TAG, "Installer " + installerPackageName 1073 private boolean enableRollbackAllowed(String installerPackageName, String packageName) { 1074 if (installerPackageName == null) { 1081 installerPackageName) == PackageManager.PERMISSION_GRANTED; 1085 installerPackageName) == PackageManager.PERMISSION_GRANTED; 1349 String installerPackageName = parentSession.getInstallerPackageName(); 1354 + " user=" + userId + " installer=" + installerPackageName); 1368 installerPackageName, packageSessionIds, getExtensionVersions()); [all …]
|
D | RollbackStore.java | 224 String installerPackageName, int[] packageSessionIds, in createNonStagedRollback() argument 228 installerPackageName, packageSessionIds, extensionVersions); in createNonStagedRollback() 236 String installerPackageName, int[] packageSessionIds, in createStagedRollback() argument 240 installerPackageName, packageSessionIds, extensionVersions); in createStagedRollback()
|
/frameworks/base/services/core/java/com/android/server/integrity/ |
D | AppIntegrityManagerServiceImpl.java | 285 String installerPackageName = getInstallerPackageName(intent); in handleIntegrityVerification() local 288 if (!integrityCheckIncludesRuleProvider() && isRuleProvider(installerPackageName)) { in handleIntegrityVerification() 313 getInstallerCertificateFingerprint(installerPackageName); in handleIntegrityVerification() 321 builder.setInstallerName(getPackageNameNormalized(installerPackageName)); in handleIntegrityVerification() 354 installerPackageName, in handleIntegrityVerification() 739 private boolean isRuleProvider(String installerPackageName) { in isRuleProvider() argument 741 if (ruleProvider.matches(installerPackageName)) { in isRuleProvider()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageInstallerSessionTest.kt | 286 assertThat(expected.installerPackageName).isEqualTo(actual.installerPackageName) in <lambda>() 317 assertThat(expected.installerPackageName).isEqualTo(actual.installerPackageName) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/pm/pkg/mutate/ |
D | PackageStateWrite.java | 62 PackageStateWrite setInstaller(@Nullable String installerPackageName, int installerPackageUid); in setInstaller() argument
|
D | PackageStateMutator.java | 296 public PackageStateWrite setInstaller(@Nullable String installerPackageName, in setInstaller() argument 299 mState.setInstallerPackage(installerPackageName, installerPackageUid); in setInstaller()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationErrorReport.java | 106 public String installerPackageName; field in ApplicationErrorReport 236 dest.writeString(installerPackageName); in writeToParcel() 263 installerPackageName = in.readString(); in readFromParcel() 708 pw.println(prefix + "installerPackageName: " + installerPackageName); in dump()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | RestoreUtils.java | 76 String installerPackageName, in installApk() argument 91 params.setInstallerPackageName(installerPackageName); in installApk()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | FileMetadata.java | 32 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/ |
D | AppMetadataBackupWriterTest.java | 383 String packageName, @Nullable String installerPackageName, long versionCode) { in createPackageInfo() argument 388 if (installerPackageName != null) { in createPackageInfo() 389 mPackageManager.setInstallerPackageName(packageName, installerPackageName); in createPackageInfo()
|