/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 | PackageInstaller.java | 339 String installerPackageName, int userId) { in PackageInstaller() argument 341 mInstallerPackageName = installerPackageName; in PackageInstaller() 366 if (params.installerPackageName == null) { in createSession() 369 installerPackage = params.installerPackageName; in createSession() 1321 public String installerPackageName; field in PackageInstaller.SessionParams 1357 installerPackageName = source.readString(); in SessionParams() 1380 ret.installerPackageName = installerPackageName; in copy() 1662 public void setInstallerPackageName(String installerPackageName) { in setInstallerPackageName() argument 1663 this.installerPackageName = installerPackageName; in setInstallerPackageName() 1728 pw.printPair("installerPackageName", installerPackageName); in dump() [all …]
|
D | IPackageInstaller.aidl | 31 …int createSession(in PackageInstaller.SessionParams params, String installerPackageName, int userI… in createSession() argument 43 ParceledListSlice getMySessions(String installerPackageName, int userId); in getMySessions() argument
|
D | IPackageManager.aidl | 267 void setInstallerPackageName(in String targetPackage, in String installerPackageName); in setInstallerPackageName() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSettingBase.java | 124 String installerPackageName; field in PackageSettingBase 184 installerPackageName = packageName; in setInstallerPackageName() 188 return installerPackageName; in getInstallerPackageName() 242 installerPackageName = orig.installerPackageName; in doCopy() 667 this.installerPackageName = other.installerPackageName; in updateFrom()
|
D | PackageInstallerService.java | 463 public int createSession(SessionParams params, String installerPackageName, int userId) { in createSession() argument 465 return createSessionInternal(params, installerPackageName, userId); in createSession() 471 private int createSessionInternal(SessionParams params, String installerPackageName, int userId) in createSessionInternal() argument 489 mAppOps.checkPackage(callingUid, installerPackageName); in createSessionInternal() 609 installerPackageName, callingUid, params, createdMillis, stageDir, stageCid, false, in createSessionInternal() 786 public ParceledListSlice<SessionInfo> getMySessions(String installerPackageName, int userId) { in getMySessions() argument 789 mAppOps.checkPackage(Binder.getCallingUid(), installerPackageName); in getMySessions() local 797 if (Objects.equals(info.getInstallerPackageName(), installerPackageName) in getMySessions()
|
D | PackageManagerShellCommand.java | 1062 params.installerPackageName, params.userId); in runInstall() 1107 installParams.installerPackageName, installParams.userId); in runInstallCreate() 2369 String installerPackageName; field in PackageManagerShellCommand.InstallParams 2391 params.installerPackageName = getNextArg(); in makeInstallParams() 2392 if (params.installerPackageName == null) { in makeInstallParams() 2484 if (params.installerPackageName == null) { in makeInstallParams() 2492 params.installerPackageName = "com.android.shell"; in makeInstallParams() 2560 final String installerPackageName = getNextArg(); in runSetInstaller() local 2562 if (targetPackage == null || installerPackageName == null) { in runSetInstaller() 2567 mInterface.setInstallerPackageName(targetPackage, installerPackageName); in runSetInstaller() [all …]
|
D | PackageManagerService.java | 1516 args.installerPackageName, args.observer); in doHandleMessage() 1526 args.installerPackageName, args.observer); in doHandleMessage() 1861 final String installerPackageName = in handlePackagePostInstall() local 1862 res.installerPackageName != null in handlePackagePostInstall() 1863 ? res.installerPackageName in handlePackagePostInstall() 1865 ? res.removedInfo.installerPackageName in handlePackagePostInstall() 1944 if (installerPackageName != null) { in handlePackagePostInstall() 1947 installerPackageName, null /*finishedReceiver*/, in handlePackagePostInstall() 1953 && !mRequiredVerifierPackage.equals(installerPackageName); in handlePackagePostInstall() 1975 if (installerPackageName != null) { in handlePackagePostInstall() [all …]
|
D | PackageSetting.java | 190 proto.write(PackageProto.INSTALLER_NAME, installerPackageName); in writeToProto()
|
D | Settings.java | 1044 final String installerPackageName = ps.getInstallerPackageName(); in removeInstallerPackageStatus() local 1045 if (installerPackageName != null in removeInstallerPackageStatus() 1046 && installerPackageName.equals(packageName)) { in removeInstallerPackageStatus() 2835 if (pkg.installerPackageName != null) { in writePackageLPr() 2836 serializer.attribute(null, "installer", pkg.installerPackageName); in writePackageLPr() 3598 String installerPackageName = null; in readPackageLPw() local 3644 installerPackageName = parser.getAttributeValue(null, "installer"); in readPackageLPw() 3800 packageSetting.installerPackageName = installerPackageName; in readPackageLPw() 3831 if (installerPackageName != null) { in readPackageLPw() 3832 mInstallerPackages.add(installerPackageName); in readPackageLPw() [all …]
|
D | PackageInstallerSession.java | 415 String installerPackageName, int installerUid, SessionParams params, long createdMillis, in PackageInstallerSession() argument 430 mInstallerPackageName = installerPackageName; in PackageInstallerSession() 469 info.installerPackageName = mInstallerPackageName; in generateInfo() 2490 final String installerPackageName = readStringAttribute(in, ATTR_INSTALLER_PACKAGE_NAME); in readFromXml() local 2492 installerPackageName, PackageManager.MATCH_UNINSTALLED_PACKAGES, userId)); in readFromXml() 2585 installerThread, stagingManager, sessionId, userId, installerPackageName, in readFromXml()
|
/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() 690 pw.println(prefix + "installerPackageName: " + installerPackageName); in dump()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackManagerServiceImpl.java | 437 String installerPackageName = pm.getInstallerPackageName(info.getPackageName()); in commitRollbackInternal() local 438 if (installerPackageName != null) { in commitRollbackInternal() 439 params.setInstallerPackageName(installerPackageName); in commitRollbackInternal() 1001 String installerPackageName = session.getInstallerPackageName(); in enableRollbackForPackageSession() local 1002 if (!enableRollbackAllowed(installerPackageName, packageName)) { in enableRollbackForPackageSession() 1003 Log.e(TAG, "Installer " + installerPackageName in enableRollbackForPackageSession() 1221 private boolean enableRollbackAllowed(String installerPackageName, String packageName) { in enableRollbackAllowed() argument 1222 if (installerPackageName == null) { in enableRollbackAllowed() 1229 installerPackageName) == PackageManager.PERMISSION_GRANTED; in enableRollbackAllowed() 1233 installerPackageName) == PackageManager.PERMISSION_GRANTED; in enableRollbackAllowed()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | RestoreUtils.java | 75 String installerPackageName, in installApk() argument 90 params.setInstallerPackageName(installerPackageName); in installApk()
|
D | TarBackupReader.java | 311 info.installerPackageName = (str[0].length() > 0) ? str[0] : null; in readAppManifestAndReturnSignatures()
|
/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 | 382 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/ |
D | PackageInstalledNotificationUtils.java | 199 @NonNull String installerPackageName, @NonNull String packageName) { in getAppStoreLink() argument 201 .setPackage(installerPackageName); in getAppStoreLink()
|
D | PackageInstallerActivity.java | 562 String installerPackageName = getIntent().getStringExtra( in startInstall() local 573 if (installerPackageName != null) { in startInstall() 575 installerPackageName); in startInstall()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | FullRestoreEngine.java | 240 mPackageInstallers.put(pkg, info.installerPackageName); in restoreOneFile() 277 String installerPackageName = mPackageInstallers.get(pkg); in restoreOneFile() local 281 mPackagePolicies, info, installerPackageName, in restoreOneFile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageInstallerSessionTest.java | 265 assertEquals(expected.installerPackageName, actual.installerPackageName); in assertSessionParamsEquivalent()
|
D | PackageManagerSettingsTests.java | 763 assertSame(origPkgSetting.installerPackageName, testPkgSetting.installerPackageName); in verifySettingCopy() 764 assertThat(origPkgSetting.installerPackageName, is(testPkgSetting.installerPackageName)); in verifySettingCopy()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/ |
D | PackageManagerStub.java | 705 public void setInstallerPackageName(String targetPackage, String installerPackageName) { in setInstallerPackageName() argument
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 689 public void setInstallerPackageName(String targetPackage, String installerPackageName) { in setInstallerPackageName() argument
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockPackageManager.java | 696 String installerPackageName) { in setInstallerPackageName() argument
|