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.java126 PackageInstaller packageInstaller = getPackageInstaller(); in cleanUp() local
127 List<PackageInstaller.SessionInfo> stagedSessions = packageInstaller.getStagedSessions(); in cleanUp()
131 packageInstaller.abandonSession(sessionInfo.getSessionId()); in cleanUp()
295 PackageInstaller packageInstaller = getPackageInstaller(); in testGetActiveStagedSession() local
298 PackageInstaller.SessionInfo session = packageInstaller.getActiveStagedSession(); in testGetActiveStagedSession()
304 PackageInstaller packageInstaller = getPackageInstaller(); in testGetActiveStagedSessionNoSessionActive() local
305 PackageInstaller.SessionInfo session = packageInstaller.getActiveStagedSession(); in testGetActiveStagedSessionNoSessionActive()
449 PackageInstaller packageInstaller = getPackageInstaller(); in testNonStagedInstallApkWithSameNameAsApexShouldFail() local
452 int sessionId = packageInstaller.createSession(sessionParams); in testNonStagedInstallApkWithSameNameAsApexShouldFail()
453 PackageInstaller.Session session = packageInstaller.openSession(sessionId); in testNonStagedInstallApkWithSameNameAsApexShouldFail()
[all …]
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DAtomicInstallTest.java312 final PackageInstaller packageInstaller = InstrumentationRegistry.getContext() in createSessionId() local
314 final int sessionId = packageInstaller.createSession(params); in createSessionId()
318 final PackageInstaller.Session session = packageInstaller.openSession(sessionId); in createSessionId()
333 final PackageInstaller packageInstaller = InstrumentationRegistry.getContext() in getSessionOrFail() local
335 return packageInstaller.openSession(sessionId); in getSessionOrFail()
340 final PackageInstaller packageInstaller = InstrumentationRegistry.getContext() in getSessionInfoOrFail() local
342 return packageInstaller.getSessionInfo(sessionId); in getSessionInfoOrFail()
377 final PackageInstaller packageInstaller = InstrumentationRegistry.getContext() in uninstall() local
379 packageInstaller.uninstall(packageName, LocalIntentSender.getIntentSender()); in uninstall()
/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/libs/rollback/src/com/android/cts/rollback/lib/
DUtils.java145 PackageInstaller packageInstaller = packageManager.getPackageInstaller(); in uninstall() local
146 packageInstaller.uninstall(packageName, LocalIntentSender.getIntentSender()); in uninstall()
/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/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.java732 final PackageInstaller packageInstaller = getContext() in installRestrictedPermissionUserApp() local
734 final int sessionId = packageInstaller.createSession(params); in installRestrictedPermissionUserApp()
735 final Session session = packageInstaller.openSession(sessionId); in installRestrictedPermissionUserApp()