Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DStagingManager.java108 private final SparseArray<StagedSession> mStagedSessions = new SparseArray<>();
117 interface StagedSession { interface in StagingManager
126 List<StagedSession> getChildSessions(); in getChildSessions()
131 boolean sessionContains(Predicate<StagedSession> filter); in sessionContains()
255 private List<PackageInfo> submitSessionToApexService(@NonNull StagedSession session, in submitSessionToApexService()
259 for (StagedSession s : session.getChildSessions()) { in submitSessionToApexService()
330 private void checkRequiredVersionCode(final StagedSession session, in checkRequiredVersionCode()
346 private void checkDowngrade(final StagedSession session, in checkDowngrade()
399 private List<StagedSession> extractApexSessions(StagedSession session) { in extractApexSessions()
400 List<StagedSession> apexSessions = new ArrayList<>(); in extractApexSessions()
[all …]
DPackageInstallerSession.java433 final StagedSession mStagedSession;
436 public class StagedSession implements StagingManager.StagedSession { class in PackageInstallerSession
462 StagedSession(boolean isReady, boolean isApplied, boolean isFailed, int errorCode, in StagedSession() method in PackageInstallerSession.StagedSession
472 public List<StagingManager.StagedSession> getChildSessions() { in getChildSessions()
478 List<StagingManager.StagedSession> childSessions = new ArrayList<>(size); in getChildSessions()
634 public boolean sessionContains(Predicate<StagingManager.StagedSession> filter) { in sessionContains()
1063 mStagedSession = params.isStaged ? new StagedSession(isReady, isApplied, isFailed, in PackageInstallerSession()
DPackageInstallerService.java306 List<StagingManager.StagedSession> stagedSessionsToRestore = new ArrayList<>(); in restoreAndApplyStagedSessionIfNeeded()
313 StagingManager.StagedSession stagedSession = session.mStagedSession; in restoreAndApplyStagedSessionIfNeeded()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DStagingManagerTest.java119 StagingManager.StagedSession session1 = createSession(111, "com.foo", 1); in checkNonOverlappingWithStagedSessions_laterSessionShouldNotFailEarlierOnes()
120 StagingManager.StagedSession session2 = createSession(222, "com.foo", 2); in checkNonOverlappingWithStagedSessions_laterSessionShouldNotFailEarlierOnes()
214 List<StagingManager.StagedSession> sessions = new ArrayList<>(); in restoreSessions_handlesDestroyedAndNotReadySessions()
245 List<StagingManager.StagedSession> sessions = new ArrayList<>(); in restoreSessions_unknownApexSession_failsAllSessions()
300 List<StagingManager.StagedSession> sessions = new ArrayList<>(); in restoreSessions_failedApexSessions_failsAllSessions()
350 List<StagingManager.StagedSession> sessions = new ArrayList<>(); in restoreSessions_stagedApexSession_failsAllSessions()
413 List<StagingManager.StagedSession> sessions = new ArrayList<>(); in restoreSessions_failedAndActivatedApexSessions_abortsCheckpoint()
444 List<StagingManager.StagedSession> sessions = new ArrayList<>(); in restoreSessions_apexSessionInImpossibleState_failsAllSessions()
522 private StagingManager.StagedSession createSession(int sessionId, String packageName, in createSession()
562 StagingManager.StagedSession stagedSession = spy(session.mStagedSession); in createSession()
[all …]
/frameworks/base/services/
Dart-profile30127 …ckageInstallerSession$StagedSession$$ExternalSyntheticLambda0;-><init>(Lcom/android/server/pm/Pack…
30128 PLcom/android/server/pm/PackageInstallerSession$StagedSession$$ExternalSyntheticLambda0;->run()V
30129 HSPLcom/android/server/pm/PackageInstallerSession$StagedSession;-><init>(Lcom/android/server/pm/Pac…
30130 HPLcom/android/server/pm/PackageInstallerSession$StagedSession;->abandon()V
30131 HSPLcom/android/server/pm/PackageInstallerSession$StagedSession;->getParentSessionId()I
30132 HSPLcom/android/server/pm/PackageInstallerSession$StagedSession;->getSessionErrorCode()I
30133 HSPLcom/android/server/pm/PackageInstallerSession$StagedSession;->getSessionErrorMessage()Ljava/lan…
30134 HSPLcom/android/server/pm/PackageInstallerSession$StagedSession;->hasParentSessionId()Z
30135 HSPLcom/android/server/pm/PackageInstallerSession$StagedSession;->isCommitted()Z
30136 HSPLcom/android/server/pm/PackageInstallerSession$StagedSession;->isInTerminalState()Z
[all …]