Home
last modified time | relevance | path

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

/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/
DStagedInstallInternalTest.java180 int sessionId = Install.multi(TEST_APEX_WITH_APK_V2, TestApp.A2).setStaged().commit(); in testDuplicateApkInApexShouldFail_Commit()
195 int sessionId = Install.single(TestApp.A1).setStaged().commit(); in testSystemServerRestartDoesNotAffectStagedSessions_Commit()
210 int id1 = Install.single(TestApp.A1).setStaged().createSession(); in testAbandonStagedSessionShouldCleanUp()
212 int id2 = Install.multi(TestApp.A1).setStaged().createSession(); in testAbandonStagedSessionShouldCleanUp()
214 int id3 = Install.single(TestApp.A1).setStaged().commit(); in testAbandonStagedSessionShouldCleanUp()
216 int id4 = Install.multi(TestApp.A1).setStaged().commit(); in testAbandonStagedSessionShouldCleanUp()
224 Install.single(APEX_WRONG_SHA_V2).setStaged()); in testStagedSessionShouldCleanUpOnVerificationFailure()
226 Install.multi(APEX_WRONG_SHA_V2, TestApp.A1).setStaged()); in testStagedSessionShouldCleanUpOnVerificationFailure()
231 Install.single(TestApp.A1).setStaged()); in testStagedSessionShouldCleanUpOnVerificationFailure()
233 Install.multi(TestApp.A1, TestApp.B1).setStaged()); in testStagedSessionShouldCleanUpOnVerificationFailure()
[all …]
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DStagedRollbackTest.java89 int sessionId = Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testPreviouslyAbandonedRollbacks_Phase1_InstallAndAbandon()
94 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testPreviouslyAbandonedRollbacks_Phase1_InstallAndAbandon()
136 Install.single(app).setStaged().setEnableRollback() in testRollbackAllowlistedApp_Phase1_Install()
174 Install.single(TEST_APEX_WITH_APK_V2_CRASHING).setStaged() in testRollbackApexWithApkCrashing_Phase1_Install()
211 Install.single(TestApp.ACrashing2).setEnableRollback().setStaged().commit(); in testWatchdogMonitorsAcrossReboots_Phase1_Install()
DMultiUserRollbackTest.java127 Install.single(TestApp.A1).setStaged().commit(); in testStagedRollback_Phase1()
134 Install.single(TestApp.A2).setStaged().setEnableRollback().commit(); in testStagedRollback_Phase2()
DNetworkStagedRollbackTest.java153 Install.single(NETWORK_STACK).setStaged().setEnableRollback() in installNetworkStackPackage()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollback.java553 parentParams.setStaged(); in commit()
585 params.setStaged(); in commit()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java3404 public void setStaged() { in setStaged() method in PackageInstaller.SessionParams
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java3617 sessionParams.setStaged(); in makeInstallParams()
/frameworks/base/core/api/
Dsystem-current.txt4202 … method @RequiresPermission(android.Manifest.permission.INSTALL_PACKAGES) public void setStaged();