Searched refs:installSourceInfo (Results 1 – 6 of 6) sorted by relevance
84 InstallSourceInfo installSourceInfo = null; in InstalledPackageInfo() local86 installSourceInfo = AppGlobals.getPackageManager().getInstallSourceInfo(packageName, in InstalledPackageInfo()92 installSourceInfo == null ? null : installSourceInfo.getInstallingPackageName(); in InstalledPackageInfo()
541 InstallSourceInfo installSourceInfo = new InstallSourceInfo( in testHandleUsageEvent_packageAddedNoUsageEvent() local546 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() local583 assertEquals(installSourceInfo.getInstallingPackageName(), INSTALLER_NAME_1); in testHandleUsageEvent_packageAddedInsideTimeFrame()623 InstallSourceInfo installSourceInfo = new InstallSourceInfo( in testHandleUsageEvent_packageAddedOutsideTimeFrame1() local628 assertEquals(installSourceInfo.getInstallingPackageName(), INSTALLER_NAME_1); in testHandleUsageEvent_packageAddedOutsideTimeFrame1()672 InstallSourceInfo installSourceInfo = new InstallSourceInfo( in testHandleUsageEvent_packageAddedOutsideTimeFrame2() local677 assertEquals(installSourceInfo.getInstallingPackageName(), INSTALLER_NAME_1); in testHandleUsageEvent_packageAddedOutsideTimeFrame2()725 InstallSourceInfo installSourceInfo = new InstallSourceInfo( in testHandleUsageEvent_packageAddedThroughAdb() 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 …]
2562 final InstallSourceInfo installSourceInfo; in getInstallSourceInfo() local2564 installSourceInfo = mPM.getInstallSourceInfo(packageName, getUserId()); in getInstallSourceInfo()2568 if (installSourceInfo == null) { in getInstallSourceInfo()2571 return installSourceInfo; in getInstallSourceInfo()
1344 final InstallSourceInfo installSourceInfo = snapshot.getInstallSourceInfo(packageName, in requestChecksumsInternal() local1346 final String initiatingPackageName = installSourceInfo.getInitiatingPackageName(); in requestChecksumsInternal()1348 if (installSourceInfo != null) { in requestChecksumsInternal()1352 installerPackageName = installSourceInfo.getInstallingPackageName(); in requestChecksumsInternal()