Home
last modified time | relevance | path

Searched refs:installerUid (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DVerificationInfo.java34 VerificationInfo(Uri originatingUri, Uri referrer, int originatingUid, int installerUid) { in VerificationInfo() argument
38 mInstallerUid = installerUid; in VerificationInfo()
DPackageInstallerHistoricalSession.java84 String originalInstallerPackageName, InstallSource installSource, int installerUid, in PackageInstallerHistoricalSession() argument
99 this.mInstallerUid = installerUid; in PackageInstallerHistoricalSession()
214 info.installerUid = mInstallerUid; in generateInfo()
DPackageInstallerService.java597 int installerUid = session.getInstallerUid();
599 mHistoricalSessionsByInstaller.put(installerUid,
600 mHistoricalSessionsByInstaller.get(installerUid) + 1);
1051 int getExistingDraftSessionId(int installerUid,
1054 return getExistingDraftSessionIdInternal(installerUid, sessionParams, userId);
1059 private int getExistingDraftSessionIdInternal(int installerUid,
1062 if (!isArchivingEnabled() || installerUid == INVALID_UID || appPackageName == null) {
1078 && isValidDraftSession(session, appPackageName, installerUid, userId)) {
1088 && isValidDraftSession(session, appPackageName, installerUid, userId)) {
1097 @NonNull String appPackageName, int installerUid, int userId) {
[all …]
DInstallingSession.java145 UserHandle user, SigningDetails signingDetails, int installerUid, in InstallingSession() argument
153 installSource.mInstallerPackageName, installerUid, sessionParams.installReason); in InstallingSession()
416 private int fixUpInstallReason(String installerPackageName, int installerUid, in fixUpInstallReason() argument
419 installerUid) == PERMISSION_GRANTED) { in fixUpInstallReason()
425 UserHandle.getUserId(installerUid)); in fixUpInstallReason()
DVerifyingSession.java148 int installerUid, SigningDetails signingDetails, int sessionId, PackageLite lite, in VerifyingSession() argument
161 installerUid in VerifyingSession()
702 final int installerUid = mVerificationInfo == null ? -1 : mVerificationInfo.mInstallerUid; in isVerificationEnabled() local
722 .checkPackage(installerUid, requiredVerifierPackage); in isVerificationEnabled()
DInstallRequest.java195 Runnable runnable, int appId, int installerUid, boolean isSystem) { in InstallRequest() argument
207 mInstallerUidForInstallExisting = installerUid; in InstallRequest()
DPackageArchiver.java883 int installerUid = mPm.snapshotComputer().getPackageUid(installerPackage, 0, userId); in createDraftSession() local
885 int existingSessionId = mPm.mInstallerService.getExistingDraftSessionId(installerUid, in createDraftSession()
896 installerUid, in createDraftSession()
DPackageInstallerSession.java971 int installerUid) { in isEmergencyInstallerEnabled() argument
979 snapshot.getPackagesForUid(installerUid), emergencyInstaller)) { in isEmergencyInstallerEnabled()
992 installerUid) == PackageManager.PERMISSION_GRANTED); in isEmergencyInstallerEnabled()
1152 int sessionId, int userId, int installerUid, @NonNull InstallSource installSource, in PackageInstallerSession() argument
1171 mOriginalInstallerUid = installerUid; in PackageInstallerSession()
1172 mInstallerUid = installerUid; in PackageInstallerSession()
1379 info.installerUid = mInstallerUid; in generateInfoInternal()
5778 final int installerUid = in.getAttributeInt(null, ATTR_INSTALLER_UID, pm.snapshotComputer()
5968 installerUid, installSource, params, createdMillis, committedMillis, stageDir,
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStart.java304 int installerUid = sessionInfo.getInstallerUid(); in isCallerSessionOwner() local
305 return callingUid == installerUid; in isCallerSessionOwner()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DPackageUtil.kt212 val installerUid = sessionInfo.getInstallerUid() in isCallerSessionOwner() constant
213 return originatingUid == installerUid in isCallerSessionOwner()
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java391 int installerUid = intent.getIntExtra(PackageManager.EXTRA_VERIFICATION_INSTALLER_UID, -1); in getInstallerPackageName() local
392 if (installerUid < 0) { in getInstallerPackageName()
398 + installerUid); in getInstallerPackageName()
404 if (!getPackageListForUid(installerUid).contains(installer)) { in getInstallerPackageName()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageInstallerSessionTest.kt316 assertThat(expected.installerUid).isEqualTo(actual.installerUid) in <lambda>()
/frameworks/base/services/core/java/com/android/server/locales/
DLocaleManagerService.java470 int installerUid = getPackageUid(installingPackageName, userId); in isCallerInstaller() local
471 return installerUid >= 0 && UserHandle.isSameApp(Binder.getCallingUid(), installerUid); in isCallerInstaller()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java3883 public int installerUid; field in PackageInstaller.SessionInfo
3947 installerUid = source.readInt(); in SessionInfo()
4488 return installerUid; in getInstallerUid()
4585 dest.writeInt(installerUid); in writeToParcel()