Home
last modified time | relevance | path

Searched refs:getInstallerPackageName (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/utils/
DAppInstallerUtil.java36 public static String getInstallerPackageName(Context context, String packageName) { in getInstallerPackageName() method in AppInstallerUtil
40 context.getPackageManager().getInstallerPackageName(packageName); in getInstallerPackageName()
69 String installerPackageName = getInstallerPackageName(context, packageName); in createIntent()
/frameworks/base/core/java/android/content/pm/
DApkChecksum.java175 public @Nullable String getInstallerPackageName() { in getInstallerPackageName() method in ApkChecksum
DIPackageManager.aidl254 String getInstallerPackageName(in String packageName); in getInstallerPackageName() method
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerNative.java81 final String installerName = snapshot.getInstallerPackageName(packageName, callingUser); in getInstallerForPackage()
DPackageInstallerSession.java1078 && Objects.equals(existingInstallerPackageName, getInstallerPackageName()); in computeUserActionRequirement()
1080 getInstallerPackageName()); in computeUserActionRequirement()
1125 if (snapshot.isInstallDisabledForPackage(getInstallerPackageName(), mInstallerUid, in computeUserActionRequirement()
2713 session.getInstallerPackageName(), session.getPackageName())) { in checkUserActionRequirement()
2719 session.mSilentUpdatePolicy.track(session.getInstallerPackageName(), in checkUserActionRequirement()
3517 final String installerPackageName = getInstallerPackageName();
4240 String getInstallerPackageName() {
5142 if (!instantAppInstallerComponent.getPackageName().equals(getInstallerPackageName())) {
5306 getInstallerPackageName(), params.appPackageName, requiredStorageBytes,
DIPackageManagerBase.java494 public final String getInstallerPackageName(@NonNull String packageName) { in getInstallerPackageName() method in IPackageManagerBase
495 return snapshot().getInstallerPackageName(packageName, UserHandle.getCallingUserId()); in getInstallerPackageName()
DBroadcastHelper.java459 request.getInstallerPackageName() != null in sendPostInstallBroadcasts()
460 ? request.getInstallerPackageName() in sendPostInstallBroadcasts()
DComputer.java535 String getInstallerPackageName(@NonNull String packageName, @UserIdInt int userId); in getInstallerPackageName() method
DInstallRequest.java398 public String getInstallerPackageName() { in getInstallerPackageName() method in InstallRequest
DDeletePackageHelper.java912 snapshot.getInstallerPackageName(pkgName, userId), 0, callingUserId)) { in isCallerAllowedToSilentlyUninstall()
DPackageArchiver.java914 notifyUnarchivalListener(UNARCHIVAL_OK, session.getInstallerPackageName(), in attachListenerToSession()
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DRollbackStoreTest.java391 assertThat(a.getInstallerPackageName()).isEqualTo(b.getInstallerPackageName()); in assertRollbacksAreEquivalentExcludingBackupDir()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DAppMetadataBackupWriter.java136 String installerName = mPackageManager.getInstallerPackageName(packageName); in getManifestBytes()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollback.java334 @Nullable String getInstallerPackageName() { in getInstallerPackageName() method in Rollback
574 installerPackageName = pm.getInstallerPackageName( in commit()
DRollbackManagerServiceImpl.java933 final String installerPackageName = session.getInstallerPackageName();
1349 String installerPackageName = parentSession.getInstallerPackageName();
DRollbackStore.java335 dataJson.putOpt("installerPackageName", rollback.getInstallerPackageName()); in saveRollback()
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java285 String installerPackageName = getInstallerPackageName(intent); in handleIntegrityVerification()
385 private String getInstallerPackageName(Intent intent) { in getInstallerPackageName() method in AppIntegrityManagerServiceImpl
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DRollbackTest.java286 String installer = context.getPackageManager().getInstallerPackageName(TestApp.A); in testBadUpdateRollback()
/frameworks/base/core/java/android/app/
DApplicationErrorReport.java177 candidate = pm.getInstallerPackageName(packageName); in getErrorReportReceiver()
DApplicationPackageManager.java2592 public String getInstallerPackageName(String packageName) { in getInstallerPackageName() method in ApplicationPackageManager
2594 return mPM.getInstallerPackageName(packageName); in getInstallerPackageName()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java727 public String getInstallerPackageName(String packageName) { in getInstallerPackageName() method in PackageManagerStub
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java745 public String getInstallerPackageName(String packageName) { in getInstallerPackageName() method in BridgePackageManager
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java707 public String getInstallerPackageName(String packageName) { in getInstallerPackageName() method in MockPackageManager
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java831 public String getInstallerPackageName(@NonNull String packageName) { in getInstallerPackageName() method in MockPackageManager
/frameworks/base/test-mock/api/
Dcurrent.txt233 method @Deprecated public String getInstallerPackageName(String);

12