Searched refs:StagedSession (Results 1 – 6 of 6) sorted by relevance
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
H A D | PackageSessionVerifierTest.java | 46 StagingManager.StagedSession session1 = createStagedSession(111, "com.foo", 1); in checkRebootlessApex() 61 StagingManager.StagedSession session1 = createStagedSession(111, "com.foo", 1); in checkActiveSessions() 68 StagingManager.StagedSession session2 = createStagedSession(222, "com.bar", 2); in checkActiveSessions() 79 StagingManager.StagedSession session1 = createStagedSession(111, "com.foo", 1); in checkRollbacks() 80 StagingManager.StagedSession session2 = createStagedSession(222, "com.bar", 2); in checkRollbacks() 81 StagingManager.StagedSession session3 = createStagedSession(333, "com.baz", 3); in checkRollbacks() 98 StagingManager.StagedSession session4 = createStagedSession(444, "com.fur", 4); in checkRollbacks() 105 StagingManager.StagedSession session1 = createStagedSession(111, "com.foo", 1); in checkOverlaps() 106 StagingManager.StagedSession session2 = createStagedSession(222, "com.foo", 2); in checkOverlaps() 114 StagingManager.StagedSession session3 = createStagedSession(333, "com.foo", 3); in checkOverlaps() [all …]
|
H A D | StagingManagerTest.java | 207 List<StagingManager.StagedSession> sessions = new ArrayList<>(); in restoreSessions_handlesDestroyedAndNotReadySessions() 238 List<StagingManager.StagedSession> sessions = new ArrayList<>(); in restoreSessions_unknownApexSession_failsAllSessions() 293 List<StagingManager.StagedSession> sessions = new ArrayList<>(); in restoreSessions_failedApexSessions_failsAllSessions() 343 List<StagingManager.StagedSession> sessions = new ArrayList<>(); in restoreSessions_stagedApexSession_failsAllSessions() 406 List<StagingManager.StagedSession> sessions = new ArrayList<>(); in restoreSessions_failedAndActivatedApexSessions_abortsCheckpoint() 437 List<StagingManager.StagedSession> sessions = new ArrayList<>(); in restoreSessions_apexSessionInImpossibleState_failsAllSessions() 760 StagingManager.StagedSession stagedSession = spy(session.mStagedSession); in createSession() 784 private final List<StagingManager.StagedSession> mChildSessions; 879 public List<StagingManager.StagedSession> getChildSessions() { in getChildSessions() 914 for (StagingManager.StagedSession session : mChildSessions) { in containsApkSession() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | StagingManager.java | 106 interface StagedSession { interface in StagingManager 115 List<StagedSession> getChildSessions(); in getChildSessions() 248 private List<StagedSession> extractApexSessions(StagedSession session) { in extractApexSessions() 275 for (StagedSession apexSession : apexSessions) { in checkInstallationOfApkInApexSuccessful() 472 for (StagedSession apexSession : apexSessions) { in checkDuplicateApkInApex() 518 void abortSession(@NonNull StagedSession session) { in abortSession() 597 StagedSession session = sessions.get(i); in handleNonReadyAndDestroyedSessions() 631 StagedSession session = sessions.get(i); in restoreSessions() 681 StagedSession session = sessions.get(i); in restoreSessions() 748 StagedSession session = sessions.get(i); in restoreSessions() [all …]
|
H A D | PackageSessionVerifier.java | 252 void storeSession(StagingManager.StagedSession session) { in storeSession() 338 private void endVerification(StagingManager.StagedSession session) in endVerification() 375 for (StagingManager.StagedSession s : session.getChildSessions()) { in submitSessionToApexService() 428 private static boolean isRollback(StagingManager.StagedSession session) { in isRollback() 510 for (StagingManager.StagedSession stagedSession : mStagedSessions) { in checkRebootlessApex() 540 for (StagingManager.StagedSession stagedSession : mStagedSessions) { in checkActiveSessions() 559 void checkRollbacks(StagingManager.StagedSession session) in checkRollbacks() 564 for (StagingManager.StagedSession stagedSession : mStagedSessions) { in checkRollbacks() 600 void checkOverlaps(StagingManager.StagedSession parent, in checkOverlaps() 601 StagingManager.StagedSession child) throws PackageManagerException { in checkOverlaps() [all …]
|
H A D | PackageInstallerSession.java | 557 final StagedSession mStagedSession; 568 public class StagedSession implements StagingManager.StagedSession { class in PackageInstallerSession 570 public List<StagingManager.StagedSession> getChildSessions() { in getChildSessions() 576 List<StagingManager.StagedSession> childSessions = new ArrayList<>(size); in getChildSessions() 679 public boolean sessionContains(Predicate<StagingManager.StagedSession> filter) { in sessionContains() 1095 mStagedSession = params.isStaged ? new StagedSession() : null; in PackageInstallerSession()
|
H A D | PackageInstallerService.java | 360 List<StagingManager.StagedSession> stagedSessionsToRestore = new ArrayList<>(); in restoreAndApplyStagedSessionIfNeeded() 367 StagingManager.StagedSession stagedSession = session.mStagedSession; in restoreAndApplyStagedSessionIfNeeded()
|