Searched refs:installSourceInfo (Results 1 – 5 of 5) sorted by relevance
561 InstallSourceInfo installSourceInfo = in testHandleUsageEvent_packageAddedNoUsageEvent() local567 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() local605 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() local651 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 …]
132 InstallSourceInfo installSourceInfo; in hasInstallerInfo() local134 installSourceInfo = context.getPackageManager().getInstallSourceInfo(packageName); in hasInstallerInfo()135 return installSourceInfo != null; in hasInstallerInfo()
244 InstallSourceInfo installSourceInfo = getInstallSourceInfo( in collectAppInfo() local246 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() local635 if (installSourceInfo == null) { in onShellCommand()640 + installSourceInfo.getInitiatingPackageName()); in onShellCommand()642 + installSourceInfo.getInstallingPackageName()); in onShellCommand()[all …]
2603 final InstallSourceInfo installSourceInfo; in getInstallSourceInfo() local2605 installSourceInfo = mPM.getInstallSourceInfo(packageName, getUserId()); in getInstallSourceInfo()2609 if (installSourceInfo == null) { in getInstallSourceInfo()2612 return installSourceInfo; in getInstallSourceInfo()
1382 final InstallSourceInfo installSourceInfo = snapshot.getInstallSourceInfo(packageName, in requestChecksumsInternal() local1385 if (installSourceInfo != null) { in requestChecksumsInternal()1386 final String initiatingPackageName = installSourceInfo.getInitiatingPackageName(); in requestChecksumsInternal()1390 installerPackageName = installSourceInfo.getInstallingPackageName(); in requestChecksumsInternal()