Searched refs:packageInstaller (Results 1 – 8 of 8) sorted by relevance
158 PackageInstaller packageInstaller = getPackageInstaller(); in cleanUp() local159 List<PackageInstaller.SessionInfo> stagedSessions = packageInstaller.getStagedSessions(); in cleanUp()167 packageInstaller.abandonSession(sessionInfo.getSessionId()); in cleanUp()275 PackageInstaller packageInstaller = getPackageInstaller(); in testGetActiveStagedSessions() local293 List<PackageInstaller.SessionInfo> allSessions = packageInstaller.getAllSessions(); in testGetActiveStagedSessions()307 PackageInstaller packageInstaller = getPackageInstaller(); in testIsStagedSessionActive() local315 List<PackageInstaller.SessionInfo> allSessions = packageInstaller.getAllSessions(); in testIsStagedSessionActive()336 PackageInstaller packageInstaller = getPackageInstaller(); in testGetActiveStagedSessionsNoSessionActive() local337 List<PackageInstaller.SessionInfo> sessions = packageInstaller.getActiveStagedSessions(); in testGetActiveStagedSessionsNoSessionActive()693 PackageInstaller packageInstaller = getPackageInstaller(); in testStagedApkSessionCallbacks() local[all …]
48 PackageInstaller packageInstaller = packageManager.getPackageInstaller(); in uninstallSinglePackage() local49 packageInstaller.uninstall(packageName, LocalIntentSender.getIntentSender()); in uninstallSinglePackage()
37 pm.packageInstaller.createSession( in instantAppsCannotCreateInstallSessions()
132 val pi = pm.packageInstaller in <lambda>()
537 final PackageInstaller packageInstaller = getPackageManager().getPackageInstaller(); in installHelperPackage() local538 final PackageInstaller.Session session = packageInstaller.openSession( in installHelperPackage()539 packageInstaller.createSession(new PackageInstaller.SessionParams( in installHelperPackage()
83 PackageInstaller packageInstaller = InstallUtils.getPackageInstaller(); in cleanUp() local84 packageInstaller.getStagedSessions().forEach(sessionInfo -> { in cleanUp()92 packageInstaller.abandonSession(sessionInfo.getSessionId()); in cleanUp()
118 val pi = pm.packageInstaller in <lambda>()
736 final PackageInstaller packageInstaller = getContext() in installRestrictedPermissionUserApp() local738 final int sessionId = packageInstaller.createSession(params); in installRestrictedPermissionUserApp()739 final Session session = packageInstaller.openSession(sessionId); in installRestrictedPermissionUserApp()