Searched refs:getPackageInstaller (Results 1 – 12 of 12) sorted by relevance
110 PackageInstaller installer = getPackageInstaller(); in waitForSessionReady()144 public static PackageInstaller getPackageInstaller() { in getPackageInstaller() method in InstallUtils145 return InstrumentationRegistry.getContext().getPackageManager().getPackageInstaller(); in getPackageInstaller()154 return getPackageInstaller().openSession(sessionId); in openPackageInstallerSession()
211 return InstallUtils.getPackageInstaller().createSession(params); in createEmptyInstallSession()222 InstallUtils.getPackageInstaller().openSession(sessionId)) { in createSingleInstallSession()
48 PackageInstaller packageInstaller = packageManager.getPackageInstaller(); in uninstallSinglePackage()
19 import static com.android.cts.install.lib.InstallUtils.getPackageInstaller;158 PackageInstaller packageInstaller = getPackageInstaller(); in cleanUp()275 PackageInstaller packageInstaller = getPackageInstaller(); in testGetActiveStagedSessions()288 List<Integer> stagedSessionIds = getPackageInstaller().getActiveStagedSessions() in testGetActiveStagedSessions()307 PackageInstaller packageInstaller = getPackageInstaller(); in testIsStagedSessionActive()336 PackageInstaller packageInstaller = getPackageInstaller(); in testGetActiveStagedSessionsNoSessionActive()357 List<Integer> stagedSessionIds = getPackageInstaller().getActiveStagedSessions() in testGetActiveStagedSessions_MultiApkSession()444 PackageInstaller installer = getPackageInstaller(); in testsFailsNonStagedApexInstall()693 PackageInstaller packageInstaller = getPackageInstaller(); in testStagedApkSessionCallbacks()1074 PackageInstaller packageInstaller = getPackageInstaller(); in assertSessionState()[all …]
120 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in createSession()134 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in transferSession()
185 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in getSessionInfo()204 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in createSession()
38 mPackageInstaller = mPackageManager.getPackageInstaller(); in setUp()
90 mPackageInstaller = mPackageManager.getPackageInstaller(); in setUp()
96 mPackageInstaller = mPackageManager.getPackageInstaller(); in setUp()
537 final PackageInstaller packageInstaller = getPackageManager().getPackageInstaller(); in installHelperPackage()558 getPackageManager().getPackageInstaller().uninstall(HELPER_APP_PKG, in uninstallHelperPackage()
83 PackageInstaller packageInstaller = InstallUtils.getPackageInstaller(); in cleanUp()
737 .getPackageManager().getPackageInstaller(); in installRestrictedPermissionUserApp()