/cts/tests/tests/content/src/android/content/pm/cts/util/ |
D | AbandonAllPackageSessionsRule.kt | 33 val packageInstaller = InstrumentationRegistry.getInstrumentation() in apply() constant 34 .getContext().packageManager.packageInstaller in apply() 35 packageInstaller.mySessions.forEach { in apply() 37 packageInstaller.abandonSession(it.sessionId) in apply()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoRollbackPermissionTest.java | 36 PackageInstaller packageInstaller = in testCreateInstallSessionWithReasonRollbackFails() local 46 assertThrows(SecurityException.class, () -> packageInstaller.createSession(parentParams)); in testCreateInstallSessionWithReasonRollbackFails()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | Uninstall.java | 48 PackageInstaller packageInstaller = packageManager.getPackageInstaller(); in uninstallSinglePackage() local 50 packageInstaller.uninstall(packageName, sender.getIntentSender()); in uninstallSinglePackage()
|
D | InstallUtils.java | 397 PackageInstaller packageInstaller = getPackageInstaller(); in getStagedSessionInfo() local 398 for (PackageInstaller.SessionInfo session : packageInstaller.getStagedSessions()) { in getStagedSessionInfo()
|
/cts/hostsidetests/packagemanager/multiuser/app/src/com/android/tests/packagemanager/multiuser/app/ |
D | PackageManagerMultiUserTest.java | 54 PackageInstaller packageInstaller = packageManager.getPackageInstaller(); in testUninstallExistingPackage() local 56 packageInstaller.uninstallExistingPackage(pkgName, null); in testUninstallExistingPackage()
|
/cts/hostsidetests/install/app/src/android/cts/install/ |
D | InstallRule.java | 80 PackageInstaller packageInstaller = getPackageInstaller(); in cleanUp() local 81 packageInstaller.getStagedSessions().stream() in cleanUp() 86 packageInstaller.abandonSession(sessionInfo.getSessionId()); in cleanUp()
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | StagedInstallTest.java | 193 PackageInstaller packageInstaller = getPackageInstaller(); in cleanUp() local 194 List<PackageInstaller.SessionInfo> stagedSessions = packageInstaller.getStagedSessions(); in cleanUp() 204 packageInstaller.abandonSession(sessionInfo.getSessionId()); in cleanUp() 364 PackageInstaller packageInstaller = getPackageInstaller(); in testGetActiveStagedSessions() local 367 List<Integer> stagedSessionIds = packageInstaller.getActiveStagedSessions() in testGetActiveStagedSessions() 372 List<PackageInstaller.SessionInfo> allSessions = packageInstaller.getAllSessions(); in testGetActiveStagedSessions() 386 PackageInstaller packageInstaller = getPackageInstaller(); in testIsStagedSessionActive() local 389 List<PackageInstaller.SessionInfo> allSessions = packageInstaller.getAllSessions(); in testIsStagedSessionActive() 410 PackageInstaller packageInstaller = getPackageInstaller(); in testGetActiveStagedSessionsNoSessionActive() local 411 List<PackageInstaller.SessionInfo> sessions = packageInstaller.getActiveStagedSessions(); in testGetActiveStagedSessionsNoSessionActive() [all …]
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | SessionTestInstant.kt | 37 pm.packageInstaller.createSession( in instantAppsCannotCreateInstallSessions()
|
D | PackageInstallerTestBase.kt | 141 val pi = pm.packageInstaller in <lambda>()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | CommandReceiverActivity.java | 561 final PackageInstaller packageInstaller = getPackageManager().getPackageInstaller(); in installHelperPackage() local 562 final PackageInstaller.Session session = packageInstaller.openSession( in installHelperPackage() 563 packageInstaller.createSession(new PackageInstaller.SessionParams( in installHelperPackage() 585 PackageInstaller packageInstaller = getPackageManager().getPackageInstaller(); in uninstallHelperPackage() local 586 Log.i(TAG, "Uninstalling package " + HELPER_APP_PKG + " using " + packageInstaller); in uninstallHelperPackage() 588 packageInstaller.uninstall(HELPER_APP_PKG, PendingIntent.getBroadcast(this, in uninstallHelperPackage()
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | RestrictedPermissionsTest.java | 396 final PackageInstaller packageInstaller = getContext() in installRestrictedPermissionUserApp() local 398 final int sessionId = packageInstaller.createSession(params); in installRestrictedPermissionUserApp() 399 final Session session = packageInstaller.openSession(sessionId); in installRestrictedPermissionUserApp()
|
/cts/tests/tests/appop2/src/android/app/appops2/cts/ |
D | AppOpsLoggingTest.kt | 93 .packageInstaller in <lambda>()
|
/cts/tests/tests/packageinstaller/install_appop_default/src/android/packageinstaller/install_appop_default/cts/ |
D | PackageInstallerTestBase.kt | 133 val pi = pm.packageInstaller in <lambda>()
|
/cts/tests/tests/packageinstaller/install_appop_denied/src/android/packageinstaller/install_appop_denied/cts/ |
D | PackageInstallerTestBase.kt | 133 val pi = pm.packageInstaller in <lambda>()
|
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/ |
D | NoPermissionTests.kt | 132 val pi = pm.packageInstaller in launchPackageInstallerViaSession()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/ |
D | ClientTest.java | 555 final PackageInstaller packageInstaller = context.getPackageManager() in uninstallAndWaitForExtraUserInitiated() 557 packageInstaller.uninstall(packageName, null); in uninstallAndWaitForExtraUserInitiated()
|