Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBackgroundInstallControlServiceTest.java561 InstallSourceInfo installSourceInfo = in testHandleUsageEvent_packageAddedNoUsageEvent() local
567 assertEquals(installSourceInfo.getInstallingPackageName(), INSTALLER_NAME_1); in testHandleUsageEvent_packageAddedNoUsageEvent()
568 when(mPackageManager.getInstallSourceInfo(anyString())).thenReturn(installSourceInfo); in testHandleUsageEvent_packageAddedNoUsageEvent()
599 InstallSourceInfo installSourceInfo = in testHandleUsageEvent_packageAddedInsideTimeFrame() local
605 assertEquals(installSourceInfo.getInstallingPackageName(), INSTALLER_NAME_1); in testHandleUsageEvent_packageAddedInsideTimeFrame()
606 when(mPackageManager.getInstallSourceInfo(anyString())).thenReturn(installSourceInfo); in testHandleUsageEvent_packageAddedInsideTimeFrame()
645 InstallSourceInfo installSourceInfo = in testHandleUsageEvent_fallsBackToAppInfoTimeWhenHistoricalSessionsNotFound() local
651 assertEquals(installSourceInfo.getInstallingPackageName(), INSTALLER_NAME_1); in testHandleUsageEvent_fallsBackToAppInfoTimeWhenHistoricalSessionsNotFound()
652 when(mPackageManager.getInstallSourceInfo(anyString())).thenReturn(installSourceInfo); in testHandleUsageEvent_fallsBackToAppInfoTimeWhenHistoricalSessionsNotFound()
696 InstallSourceInfo installSourceInfo = in testHandleUsageEvent_usesHistoricalSessionCreateTimeWhenHistoricalSessionsFound() local
[all …]
/frameworks/base/core/java/com/android/internal/app/
DAppLocaleStore.java132 InstallSourceInfo installSourceInfo; in hasInstallerInfo() local
134 installSourceInfo = context.getPackageManager().getInstallSourceInfo(packageName); in hasInstallerInfo()
135 return installSourceInfo != null; in hasInstallerInfo()
/frameworks/base/services/core/java/com/android/server/
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 …]
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2603 final InstallSourceInfo installSourceInfo; in getInstallSourceInfo() local
2605 installSourceInfo = mPM.getInstallSourceInfo(packageName, getUserId()); in getInstallSourceInfo()
2609 if (installSourceInfo == null) { in getInstallSourceInfo()
2612 return installSourceInfo; in getInstallSourceInfo()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java1382 final InstallSourceInfo installSourceInfo = snapshot.getInstallSourceInfo(packageName, in requestChecksumsInternal() local
1385 if (installSourceInfo != null) { in requestChecksumsInternal()
1386 final String initiatingPackageName = installSourceInfo.getInitiatingPackageName(); in requestChecksumsInternal()
1390 installerPackageName = installSourceInfo.getInstallingPackageName(); in requestChecksumsInternal()