Searched refs:stagedSession (Results 1 – 3 of 3) sorted by relevance
719 final StagedSession stagedSession = mStagedSessions.valueAt(i); in checkNonOverlappingWithStagedSessions() local720 if (stagedSession.hasParentSessionId() || !stagedSession.isCommitted() in checkNonOverlappingWithStagedSessions()721 || stagedSession.isInTerminalState() in checkNonOverlappingWithStagedSessions()722 || stagedSession.isDestroyed()) { in checkNonOverlappingWithStagedSessions()726 if (stagedSession.getCommittedMillis() > session.getCommittedMillis()) { in checkNonOverlappingWithStagedSessions()736 if (getSessionIdForParentOrSelf(session) == stagedSession.sessionId()) { in checkNonOverlappingWithStagedSessions()741 if (isRollback && !isRollback(stagedSession)) { in checkNonOverlappingWithStagedSessions()745 final StagedSession root = stagedSession; in checkNonOverlappingWithStagedSessions()757 } else if (stagedSession.sessionContains( in checkNonOverlappingWithStagedSessions()765 + stagedSession.sessionId(), null); in checkNonOverlappingWithStagedSessions()[all …]
313 StagingManager.StagedSession stagedSession = session.mStagedSession; in restoreAndApplyStagedSessionIfNeeded() local314 if (!stagedSession.isInTerminalState() && stagedSession.hasParentSessionId() in restoreAndApplyStagedSessionIfNeeded()315 && getSession(stagedSession.getParentSessionId()) == null) { in restoreAndApplyStagedSessionIfNeeded()316 stagedSession.setSessionFailed(SessionInfo.STAGED_SESSION_ACTIVATION_FAILED, in restoreAndApplyStagedSessionIfNeeded()317 "An orphan staged session " + stagedSession.sessionId() + " is found, " in restoreAndApplyStagedSessionIfNeeded()318 + "parent " + stagedSession.getParentSessionId() + " is missing"); in restoreAndApplyStagedSessionIfNeeded()321 if (!stagedSession.hasParentSessionId() && stagedSession.isCommitted() in restoreAndApplyStagedSessionIfNeeded()322 && !stagedSession.isInTerminalState()) { in restoreAndApplyStagedSessionIfNeeded()325 stagedSessionsToRestore.add(stagedSession); in restoreAndApplyStagedSessionIfNeeded()
562 StagingManager.StagedSession stagedSession = spy(session.mStagedSession); in createSession() local563 doReturn(packageName).when(stagedSession).getPackageName(); in createSession()566 return filter.test(stagedSession); in createSession()567 }).when(stagedSession).sessionContains(any()); in createSession()568 return stagedSession; in createSession()