Home
last modified time | relevance | path

Searched refs:getPackageInstaller (Results 1 – 12 of 12) sorted by relevance

/cts/libs/install/src/com/android/cts/install/lib/
DInstallUtils.java110 PackageInstaller installer = getPackageInstaller(); in waitForSessionReady()
144 public static PackageInstaller getPackageInstaller() { in getPackageInstaller() method in InstallUtils
145 return InstrumentationRegistry.getContext().getPackageManager().getPackageInstaller(); in getPackageInstaller()
154 return getPackageInstaller().openSession(sessionId); in openPackageInstallerSession()
DInstall.java211 return InstallUtils.getPackageInstaller().createSession(params); in createEmptyInstallSession()
222 InstallUtils.getPackageInstaller().openSession(sessionId)) { in createSingleInstallSession()
DUninstall.java48 PackageInstaller packageInstaller = packageManager.getPackageInstaller(); in uninstallSinglePackage()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java19 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 …]
/cts/tests/tests/content/src/android/content/pm/cts/
DInstallSessionTransferTest.java120 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in createSession()
134 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in transferSession()
DInstallSessionParamsUnitTest.java185 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in getSessionInfo()
204 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in createSession()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DPackageInstallTest.java38 mPackageInstaller = mPackageManager.getPackageInstaller(); in setUp()
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DBasePackageInstallTest.java90 mPackageInstaller = mPackageManager.getPackageInstaller(); in setUp()
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
DBasePackageInstallTest.java96 mPackageInstaller = mPackageManager.getPackageInstaller(); in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCommandReceiverActivity.java537 final PackageInstaller packageInstaller = getPackageManager().getPackageInstaller(); in installHelperPackage()
558 getPackageManager().getPackageInstaller().uninstall(HELPER_APP_PKG, in uninstallHelperPackage()
/cts/hostsidetests/rollback/app/src/com/android/cts/rollback/host/app/
DHostTestHelper.java83 PackageInstaller packageInstaller = InstallUtils.getPackageInstaller(); in cleanUp()
/cts/tests/tests/permission2/src/android/permission2/cts/
DRestrictedPermissionsTest.java737 .getPackageManager().getPackageInstaller(); in installRestrictedPermissionUserApp()