Home
last modified time | relevance | path

Searched refs:mStagingManager (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DStagingManagerTest.java78 private StagingManager mStagingManager; field in StagingManagerTest
101 mStagingManager = new StagingManager(mContext, null, mApexManager); in setUp()
122 mStagingManager.createSession(session1); in checkNonOverlappingWithStagedSessions_laterSessionShouldNotFailEarlierOnes()
123 mStagingManager.createSession(session2); in checkNonOverlappingWithStagedSessions_laterSessionShouldNotFailEarlierOnes()
125 mStagingManager.checkNonOverlappingWithStagedSessions(session1); in checkNonOverlappingWithStagedSessions_laterSessionShouldNotFailEarlierOnes()
128 () -> mStagingManager.checkNonOverlappingWithStagedSessions(session2)); in checkNonOverlappingWithStagedSessions_laterSessionShouldNotFailEarlierOnes()
137 () -> 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()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java149 private final StagingManager mStagingManager; field in PackageInstallerService
257 mStagingManager = new StagingManager(context, apexParserSupplier); in PackageInstallerService()
269 mStagingManager.systemReady(); in systemReady()
332 mStagingManager.restoreSessions(stagedSessionsToRestore, mPm.isDeviceUpgrading()); in restoreAndApplyStagedSessionIfNeeded()
416 mContext, mPm, mInstallThread.getLooper(), mStagingManager, in readSessionsLocked()
787 mSilentUpdatePolicy, mInstallThread.getLooper(), mStagingManager, sessionId, in createSessionInternal()
1473 mStagingManager.abortSession(session.mStagedSession); in onSessionFinished()
DPackageInstallerSession.java278 private final StagingManager mStagingManager; field in PackageInstallerSession
690 mStagingManager.abortCommittedSession(this); in abandon()
1016 mStagingManager = stagingManager; in PackageInstallerSession()
2107 mStagingManager.notifyVerificationComplete(mStagedSession); in onSessionVerificationFailure()
2268 int sessionId = mStagingManager.getSessionIdByPackageName(mPackageName); in handleInstall()
2281 mStagingManager.commitSession(mStagedSession); in handleInstall()
2623 mStagingManager.notifyPreRebootVerification_Apk_Complete(mStagedSession); in onVerificationComplete()