/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/ |
D | SessionAbandonBehaviorTest.java | 164 InstallUtils.getPackageInstaller().unregisterSessionCallback(sessionCallback); in tearDown() 193 InstallUtils.getPackageInstaller().registerSessionCallback(sessionCallback, mHandler); in registerSessionCallbacks() 215 InstallUtils.getPackageInstaller().getSessionInfo(sessionId); in getAllChildSessions() 272 InstallUtils.getPackageInstaller().abandonSession(sessionId); in abandon_stagedSession_shouldReceiveAbandonCallBack() 286 InstallUtils.getPackageInstaller().abandonSession(sessionId); in abandon_nonStagedSession_shouldReceiveAbandonCallBack() 302 InstallUtils.getPackageInstaller().abandonSession(sessionId); in abandon_stagedSession_openedSession_canNotGetNames() 319 InstallUtils.getPackageInstaller().abandonSession(sessionId); in abandon_nonStagedSession_openedSession_canNotGetNames() 337 InstallUtils.getPackageInstaller().abandonSession(sessionId); in abandon_stagedSession_openForWriting_shouldFail() 355 InstallUtils.getPackageInstaller().abandonSession(sessiondId); in abandon_nonStagedSession_openForWriting_shouldFail() 371 InstallUtils.getPackageInstaller().abandonSession(sessionId); in abandon_stagedSession_canNotOpenAgain() [all …]
|
D | AtomicInstallTest.java | 94 InstallUtils.getPackageInstaller().getMySessions().forEach(info -> { in cleanUpSessions() 96 InstallUtils.getPackageInstaller().abandonSession(info.getSessionId()); in cleanUpSessions() 123 retry(() -> InstallUtils.getPackageInstaller().getSessionInfo(sessionId), in testSessionCleanUp_Single() 138 retry(() -> InstallUtils.getPackageInstaller().getSessionInfo(sessionId), in testSessionCleanUp_Multi() 242 InstallUtils.getPackageInstaller().createSession(params); in testInvalidStateScenario_MultiSessionCantBeApex() 335 InstallUtils.getPackageInstaller().getSessionInfo(childId).getParentSessionId(); in testInvalidStateScenario_RemoveWrongChildShouldDoNothing()
|
/cts/hostsidetests/appsecurity/test-apps/SessionInspector/src/com/android/cts/sessioninspector/ |
D | SessionInspectorActivity.java | 49 getPackageManager().getPackageInstaller().createSession(params); in onCreate() 55 getPackageManager().getPackageInstaller().getSessionInfo(sessionId); in onCreate() 61 getPackageManager().getPackageInstaller().abandonSession(sessionId); in onCreate()
|
/cts/hostsidetests/install/app/src/android/cts/install/ |
D | SessionRule.java | 19 import static com.android.cts.install.lib.InstallUtils.getPackageInstaller; 79 return Optional.of(getPackageInstaller().getSessionInfo(retrieveSessionId())) in retrieveSessionInfo()
|
D | InstallRule.java | 19 import static com.android.cts.install.lib.InstallUtils.getPackageInstaller; 80 PackageInstaller packageInstaller = getPackageInstaller(); in cleanUp()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | InstallUtils.java | 123 PackageInstaller installer = getPackageInstaller(); in waitForSession() 169 public static PackageInstaller getPackageInstaller() { in getPackageInstaller() method in InstallUtils 170 return InstrumentationRegistry.getTargetContext().getPackageManager().getPackageInstaller(); in getPackageInstaller() 179 return getPackageInstaller().openSession(sessionId); in openPackageInstallerSession() 397 PackageInstaller packageInstaller = getPackageInstaller(); in getStagedSessionInfo()
|
D | Uninstall.java | 48 PackageInstaller packageInstaller = packageManager.getPackageInstaller(); in uninstallSinglePackage()
|
D | Install.java | 244 return InstallUtils.getPackageInstaller().createSession(params); in createEmptyInstallSession() 263 InstallUtils.getPackageInstaller().openSession(sessionId)) { in createSingleInstallSession()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoRollbackPermissionTest.java | 38 .getPackageInstaller(); in testCreateInstallSessionWithReasonRollbackFails()
|
/cts/hostsidetests/packagemanager/multiuser/app/src/com/android/tests/packagemanager/multiuser/app/ |
D | PackageManagerMultiUserTest.java | 54 PackageInstaller packageInstaller = packageManager.getPackageInstaller(); in testUninstallExistingPackage()
|
/cts/tests/rollback/src/com/android/cts/rollback/ |
D | RollbackManagerTest.java | 128 assertThat(InstallUtils.getPackageInstaller().getSessionInfo( in testGetRollbackDataPolicy() 132 InstallUtils.getPackageInstaller().abandonSession(sessionId); in testGetRollbackDataPolicy()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | InstallSessionTransferTest.java | 131 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in createSession() 145 PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in transferSession()
|
D | PackageManagerShellCommandTest.java | 98 private static PackageInstaller getPackageInstaller() { in getPackageInstaller() method in PackageManagerShellCommandTest 99 return InstrumentationRegistry.getContext().getPackageManager().getPackageInstaller(); in getPackageInstaller() 492 final PackageInstaller installer = getPackageInstaller(); in testDataLoaderParamsApiV1() 515 final PackageInstaller installer = getPackageInstaller(); in testDataLoaderParamsApiV2() 548 final PackageInstaller installer = getPackageInstaller(); in testRemoveFileApiV2()
|
D | ChecksumsTest.java | 160 private static PackageInstaller getPackageInstaller() { in getPackageInstaller() method in ChecksumsTest 161 return getPackageManager().getPackageInstaller(); in getPackageInstaller() 496 final PackageInstaller installer = getPackageInstaller(); in testInstallerSignedChecksumsInvalidSignature() 679 final PackageInstaller installer = getPackageInstaller(); in testInstallerChecksumsUpdate() 744 final PackageInstaller installer = getPackageInstaller(); in testInstallerChecksumsUpdate() 861 final PackageInstaller installer = getPackageInstaller(); in testInstallerSignedChecksumsUpdate() 926 final PackageInstaller installer = getPackageInstaller(); in testInstallerSignedChecksumsUpdate() 1118 final PackageInstaller installer = getPackageInstaller(); in testInstallerChecksumsDuplicate() 1170 final PackageInstaller installer = getPackageInstaller(); in installApkWithChecksums() 1195 final PackageInstaller installer = getPackageInstaller(); in installApkWithChecksumsIncrementally()
|
D | InstallSessionParamsUnitTest.java | 97 .getPackageInstaller();
|
/cts/hostsidetests/silentupdate/testapp/src/com/android/tests/silentupdate/ |
D | SilentUpdateTests.java | 230 getContext().getPackageManager().getPackageInstaller().abandonSession(sessionId); in install() 238 final PackageInstaller installer = context.getPackageManager().getPackageInstaller(); in commit()
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | StagedInstallTest.java | 21 import static com.android.cts.install.lib.InstallUtils.getPackageInstaller; 199 PackageInstaller packageInstaller = getPackageInstaller(); in cleanUp() 370 PackageInstaller packageInstaller = getPackageInstaller(); in testGetActiveStagedSessions() 392 PackageInstaller packageInstaller = getPackageInstaller(); in testIsStagedSessionActive() 416 PackageInstaller packageInstaller = getPackageInstaller(); in testGetActiveStagedSessionsNoSessionActive() 427 List<Integer> stagedSessionIds = getPackageInstaller().getActiveStagedSessions() in testGetActiveStagedSessions_MultiApkSession() 781 PackageInstaller packageInstaller = getPackageInstaller(); in testStagedApkSessionCallbacks() 1508 PackageInstaller packageInstaller = getPackageInstaller(); in assertSessionState() 1630 getPackageInstaller().abandonSession(sessionId); in abandonSession() 1634 return getPackageInstaller().getSessionInfo(sessionId); in getSessionInfo()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | PackageInstallTest.java | 38 mPackageInstaller = mPackageManager.getPackageInstaller(); in setUp()
|
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/ |
D | UninstallPinnedTest.java | 122 mContext.getPackageManager().getPackageInstaller().uninstall(TEST_PKG_NAME, in testCantUninstallAppDirectly()
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | BasePackageInstallTest.java | 90 mPackageInstaller = mPackageManager.getPackageInstaller(); in setUp()
|
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/ |
D | BasePackageInstallTest.java | 96 mPackageInstaller = mPackageManager.getPackageInstaller(); in setUp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | CommandReceiverActivity.java | 596 final PackageInstaller packageInstaller = getPackageManager().getPackageInstaller(); in installHelperPackage() 620 PackageInstaller packageInstaller = getPackageManager().getPackageInstaller(); in uninstallHelperPackage()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/ |
D | Packages.java | 376 PackageInstaller packageInstaller = packageManager.getPackageInstaller(); in install()
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | RestrictedPermissionsTest.java | 397 .getPackageManager().getPackageInstaller(); in installRestrictedPermissionUserApp()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/ |
D | ClientTest.java | 556 .getPackageInstaller(); in uninstallAndWaitForExtraUserInitiated()
|