Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DStagingManager.java275 for (StagedSession apexSession : apexSessions) { in checkInstallationOfApkInApexSuccessful()
276 String packageName = apexSession.getPackageName(); in checkInstallationOfApkInApexSuccessful()
472 for (StagedSession apexSession : apexSessions) { in checkDuplicateApkInApex()
473 String packageName = apexSession.getPackageName(); in checkDuplicateApkInApex()
570 if (apexSession == null || isApexSessionFinalized(apexSession)) { in ensureActiveApexSessionIsAborted()
687 if (apexSession == null || apexSession.isUnknown) { in restoreSessions()
692 } else if (isApexSessionFailed(apexSession)) { in restoreSessions()
701 } else if (!TextUtils.isEmpty(apexSession.errorMessage)) { in restoreSessions()
702 errorMsg += " Error: " + apexSession.errorMessage; in restoreSessions()
707 } else if (apexSession.isActivated || apexSession.isSuccess) { in restoreSessions()
[all …]
H A DPackageSessionVerifier.java443 final ApexSessionInfo apexSession = mApexManager.getStagedSessionInfo(sessionId); in ensureActiveApexSessionIsAborted() local
444 if (apexSession == null || isApexSessionFinalized(apexSession)) { in ensureActiveApexSessionIsAborted()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
H A DStagingManagerTest.java234 apexSession.setCommitted(true); in restoreSessions_unknownApexSession_failsAllSessions()
235 apexSession.setIsApex(true); in restoreSessions_unknownApexSession_failsAllSessions()
236 apexSession.setSessionReady(); in restoreSessions_unknownApexSession_failsAllSessions()
240 sessions.add(apexSession); in restoreSessions_unknownApexSession_failsAllSessions()
331 apexSession.setCommitted(true); in restoreSessions_stagedApexSession_failsAllSessions()
332 apexSession.setIsApex(true); in restoreSessions_stagedApexSession_failsAllSessions()
333 apexSession.setSessionReady(); in restoreSessions_stagedApexSession_failsAllSessions()
345 sessions.add(apexSession); in restoreSessions_stagedApexSession_failsAllSessions()
427 apexSession.setIsApex(true); in restoreSessions_apexSessionInImpossibleState_failsAllSessions()
428 apexSession.setSessionReady(); in restoreSessions_apexSessionInImpossibleState_failsAllSessions()
[all …]