Home
last modified time | relevance | path

Searched refs:installSourceInfo (Results 1 – 6 of 6) sorted by relevance

/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/
H A DInstalledPackageInfo.java84 InstallSourceInfo installSourceInfo = null; in InstalledPackageInfo() local
86 installSourceInfo = AppGlobals.getPackageManager().getInstallSourceInfo(packageName, in InstalledPackageInfo()
92 installSourceInfo == null ? null : installSourceInfo.getInstallingPackageName(); in InstalledPackageInfo()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DBackgroundInstallControlServiceTest.java541 InstallSourceInfo installSourceInfo = new InstallSourceInfo( in testHandleUsageEvent_packageAddedNoUsageEvent() local
546 assertEquals(installSourceInfo.getInstallingPackageName(), INSTALLER_NAME_1); in testHandleUsageEvent_packageAddedNoUsageEvent()
547 when(mPackageManager.getInstallSourceInfo(anyString())).thenReturn(installSourceInfo); in testHandleUsageEvent_packageAddedNoUsageEvent()
578 InstallSourceInfo installSourceInfo = new InstallSourceInfo( in testHandleUsageEvent_packageAddedInsideTimeFrame() local
583 assertEquals(installSourceInfo.getInstallingPackageName(), INSTALLER_NAME_1); in testHandleUsageEvent_packageAddedInsideTimeFrame()
623 InstallSourceInfo installSourceInfo = new InstallSourceInfo( in testHandleUsageEvent_packageAddedOutsideTimeFrame1() local
628 assertEquals(installSourceInfo.getInstallingPackageName(), INSTALLER_NAME_1); in testHandleUsageEvent_packageAddedOutsideTimeFrame1()
672 InstallSourceInfo installSourceInfo = new InstallSourceInfo( in testHandleUsageEvent_packageAddedOutsideTimeFrame2() local
677 assertEquals(installSourceInfo.getInstallingPackageName(), INSTALLER_NAME_1); in testHandleUsageEvent_packageAddedOutsideTimeFrame2()
725 InstallSourceInfo installSourceInfo = new InstallSourceInfo( in testHandleUsageEvent_packageAddedThroughAdb() local
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DAppLocaleStore.java132 InstallSourceInfo installSourceInfo; in hasInstallerInfo() local
134 installSourceInfo = context.getPackageManager().getInstallSourceInfo(packageName); in hasInstallerInfo()
135 return installSourceInfo != null; in hasInstallerInfo()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DBinaryTransparencyService.java244 InstallSourceInfo installSourceInfo = getInstallSourceInfo( in collectAppInfo() local
246 if (installSourceInfo != null) { in collectAppInfo()
247 base.initiator = installSourceInfo.getInitiatingPackageName(); in collectAppInfo()
249 installSourceInfo.getInitiatingPackageSigningInfo(); in collectAppInfo()
254 base.installer = installSourceInfo.getInstallingPackageName(); in collectAppInfo()
255 base.originator = installSourceInfo.getOriginatingPackageName(); in collectAppInfo()
633 InstallSourceInfo installSourceInfo = getInstallSourceInfo( in onShellCommand() local
635 if (installSourceInfo == null) { in onShellCommand()
640 + installSourceInfo.getInitiatingPackageName()); in onShellCommand()
642 + installSourceInfo.getInstallingPackageName()); in onShellCommand()
[all …]
/aosp14/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java2562 final InstallSourceInfo installSourceInfo; in getInstallSourceInfo() local
2564 installSourceInfo = mPM.getInstallSourceInfo(packageName, getUserId()); in getInstallSourceInfo()
2568 if (installSourceInfo == null) { in getInstallSourceInfo()
2571 return installSourceInfo; in getInstallSourceInfo()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java1344 final InstallSourceInfo installSourceInfo = snapshot.getInstallSourceInfo(packageName, in requestChecksumsInternal() local
1346 final String initiatingPackageName = installSourceInfo.getInitiatingPackageName(); in requestChecksumsInternal()
1348 if (installSourceInfo != null) { in requestChecksumsInternal()
1352 installerPackageName = installSourceInfo.getInstallingPackageName(); in requestChecksumsInternal()