Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
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()
479 + apexSession.sessionId() + " has duplicate apk-in-apex: " in checkDuplicateApkInApex()
569 final ApexSessionInfo apexSession = mApexManager.getStagedSessionInfo(session.sessionId()); in ensureActiveApexSessionIsAborted() local
570 if (apexSession == null || isApexSessionFinalized(apexSession)) { in ensureActiveApexSessionIsAborted()
686 final ApexSessionInfo apexSession = apexSessions.get(session.sessionId()); in restoreSessions() local
687 if (apexSession == null || apexSession.isUnknown) { in restoreSessions()
692 } else if (isApexSessionFailed(apexSession)) { in restoreSessions()
[all …]
DPackageSessionVerifier.java446 final ApexSessionInfo apexSession = mApexManager.getStagedSessionInfo(sessionId); in ensureActiveApexSessionIsAborted() local
447 if (apexSession == null || isApexSessionFinalized(apexSession)) { in ensureActiveApexSessionIsAborted()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DStagingManagerTest.java233 FakeStagedSession apexSession = new FakeStagedSession(1543); in restoreSessions_unknownApexSession_failsAllSessions() local
234 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()
248 assertThat(apexSession.getErrorCode()) in restoreSessions_unknownApexSession_failsAllSessions()
250 assertThat(apexSession.getErrorMessage()).isEqualTo("apexd did not know anything about a " in restoreSessions_unknownApexSession_failsAllSessions()
330 FakeStagedSession apexSession = new FakeStagedSession(1543); in restoreSessions_stagedApexSession_failsAllSessions() local
331 apexSession.setCommitted(true); in restoreSessions_stagedApexSession_failsAllSessions()
332 apexSession.setIsApex(true); in restoreSessions_stagedApexSession_failsAllSessions()
[all …]