Home
last modified time | relevance | path

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

12

/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/core/java/android/content/pm/
DPackageInstaller.java339 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 …]
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
DIPackageManager.aidl267 void setInstallerPackageName(in String targetPackage, in String installerPackageName); in setInstallerPackageName() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java124 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()
DPackageInstallerService.java463 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()
DPackageManagerShellCommand.java1062 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 …]
DPackageManagerService.java1516 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 …]
DPackageSetting.java190 proto.write(PackageProto.INSTALLER_NAME, installerPackageName); in writeToProto()
DSettings.java1044 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 …]
DPackageInstallerSession.java415 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/
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/core/java/com/android/server/rollback/
DRollbackManagerServiceImpl.java437 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/
DRestoreUtils.java75 String installerPackageName, in installApk() argument
90 params.setInstallerPackageName(installerPackageName); in installApk()
DTarBackupReader.java311 info.installerPackageName = (str[0].length() > 0) ? str[0] : null; in readAppManifestAndReturnSignatures()
/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.java562 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/
DFullRestoreEngine.java240 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/
DPackageInstallerSessionTest.java265 assertEquals(expected.installerPackageName, actual.installerPackageName); in assertSessionParamsEquivalent()
DPackageManagerSettingsTests.java763 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/
DPackageManagerStub.java705 public void setInstallerPackageName(String targetPackage, String installerPackageName) { in setInstallerPackageName() argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java689 public void setInstallerPackageName(String targetPackage, String installerPackageName) { in setInstallerPackageName() argument
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java696 String installerPackageName) { in setInstallerPackageName() argument

12