Home
last modified time | relevance | path

Searched refs:packageInstaller (Results 1 – 8 of 8) sorted by relevance

/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java158 PackageInstaller packageInstaller = getPackageInstaller(); in cleanUp() local
159 List<PackageInstaller.SessionInfo> stagedSessions = packageInstaller.getStagedSessions(); in cleanUp()
167 packageInstaller.abandonSession(sessionInfo.getSessionId()); in cleanUp()
275 PackageInstaller packageInstaller = getPackageInstaller(); in testGetActiveStagedSessions() local
293 List<PackageInstaller.SessionInfo> allSessions = packageInstaller.getAllSessions(); in testGetActiveStagedSessions()
307 PackageInstaller packageInstaller = getPackageInstaller(); in testIsStagedSessionActive() local
315 List<PackageInstaller.SessionInfo> allSessions = packageInstaller.getAllSessions(); in testIsStagedSessionActive()
336 PackageInstaller packageInstaller = getPackageInstaller(); in testGetActiveStagedSessionsNoSessionActive() local
337 List<PackageInstaller.SessionInfo> sessions = packageInstaller.getActiveStagedSessions(); in testGetActiveStagedSessionsNoSessionActive()
693 PackageInstaller packageInstaller = getPackageInstaller(); in testStagedApkSessionCallbacks() local
[all …]
/cts/libs/install/src/com/android/cts/install/lib/
DUninstall.java48 PackageInstaller packageInstaller = packageManager.getPackageInstaller(); in uninstallSinglePackage() local
49 packageInstaller.uninstall(packageName, LocalIntentSender.getIntentSender()); in uninstallSinglePackage()
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DSessionTestInstant.kt37 pm.packageInstaller.createSession( in instantAppsCannotCreateInstallSessions()
DPackageInstallerTestBase.kt132 val pi = pm.packageInstaller in <lambda>()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCommandReceiverActivity.java537 final PackageInstaller packageInstaller = getPackageManager().getPackageInstaller(); in installHelperPackage() local
538 final PackageInstaller.Session session = packageInstaller.openSession( in installHelperPackage()
539 packageInstaller.createSession(new PackageInstaller.SessionParams( in installHelperPackage()
/cts/hostsidetests/rollback/app/src/com/android/cts/rollback/host/app/
DHostTestHelper.java83 PackageInstaller packageInstaller = InstallUtils.getPackageInstaller(); in cleanUp() local
84 packageInstaller.getStagedSessions().forEach(sessionInfo -> { in cleanUp()
92 packageInstaller.abandonSession(sessionInfo.getSessionId()); in cleanUp()
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/
DNoPermissionTests.kt118 val pi = pm.packageInstaller in <lambda>()
/cts/tests/tests/permission2/src/android/permission2/cts/
DRestrictedPermissionsTest.java736 final PackageInstaller packageInstaller = getContext() in installRestrictedPermissionUserApp() local
738 final int sessionId = packageInstaller.createSession(params); in installRestrictedPermissionUserApp()
739 final Session session = packageInstaller.openSession(sessionId); in installRestrictedPermissionUserApp()