Home
last modified time | relevance | path

Searched refs:restoreSessions (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DStagingManagerTest.java137 () -> mStagingManager.restoreSessions(Arrays.asList(session), false)); in restoreSessions_nonParentSession_throwsIAE()
145 () -> mStagingManager.restoreSessions(Arrays.asList(session), false)); in restoreSessions_nonCommittedSession_throwsIAE()
155 () -> mStagingManager.restoreSessions(Arrays.asList(session), false)); in restoreSessions_terminalSession_throwsIAE()
165 mStagingManager.restoreSessions(Arrays.asList(session1, session2), true); in restoreSessions_deviceUpgrading_failsAllSessions()
185 () -> mStagingManager.restoreSessions(Arrays.asList(session1, session2), false)); in restoreSessions_multipleSessions_deviceWithoutFsCheckpointSupport_throwISE()
222 mStagingManager.restoreSessions(sessions, false); in restoreSessions_handlesDestroyedAndNotReadySessions()
250 mStagingManager.restoreSessions(sessions, false); in restoreSessions_unknownApexSession_failsAllSessions()
306 mStagingManager.restoreSessions(sessions, false); in restoreSessions_failedApexSessions_failsAllSessions()
354 mStagingManager.restoreSessions(sessions, false); in restoreSessions_stagedApexSession_failsAllSessions()
420 mStagingManager.restoreSessions(sessions, false); in restoreSessions_failedAndActivatedApexSessions_abortsCheckpoint()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageInstallerSessionTest.java83 List<PackageInstallerSession> restored = restoreSessions(); in testWriteAndRestoreSessionXmlSimpleSession()
92 List<PackageInstallerSession> restored = restoreSessions(); in testWriteAndRestoreSessionXmlStagedSession()
101 List<PackageInstallerSession> restored = restoreSessions(); in testWriteAndRestoreSessionXmlGrantedPermission()
114 List<PackageInstallerSession> restored = restoreSessions(); in testWriteAndRestoreSessionXmlMultiPackageSessions()
224 private List<PackageInstallerSession> restoreSessions() { in restoreSessions() method in PackageInstallerSessionTest
/frameworks/base/services/core/java/com/android/server/pm/
DStagingManager.java905 void restoreSessions(@NonNull List<StagedSession> sessions, boolean isDeviceUpgrading) { in restoreSessions() method in StagingManager
DPackageInstallerService.java332 mStagingManager.restoreSessions(stagedSessionsToRestore, mPm.isDeviceUpgrading()); in restoreAndApplyStagedSessionIfNeeded()
/frameworks/base/services/
Dart-profile33155 HSPLcom/android/server/pm/StagingManager;->restoreSessions(Ljava/util/List;Z)V