Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DStagingManagerTest.java240 FakeStagedSession apexSession = new FakeStagedSession(1543); in restoreSessions_unknownApexSession_failsAllSessions() local
241 apexSession.setCommitted(true); in restoreSessions_unknownApexSession_failsAllSessions()
242 apexSession.setIsApex(true); in restoreSessions_unknownApexSession_failsAllSessions()
243 apexSession.setSessionReady(); in restoreSessions_unknownApexSession_failsAllSessions()
247 sessions.add(apexSession); in restoreSessions_unknownApexSession_failsAllSessions()
255 assertThat(apexSession.getErrorCode()) in restoreSessions_unknownApexSession_failsAllSessions()
257 assertThat(apexSession.getErrorMessage()).isEqualTo("apexd did not know anything about a " in restoreSessions_unknownApexSession_failsAllSessions()
337 FakeStagedSession apexSession = new FakeStagedSession(1543); in restoreSessions_stagedApexSession_failsAllSessions() local
338 apexSession.setCommitted(true); in restoreSessions_stagedApexSession_failsAllSessions()
339 apexSession.setIsApex(true); in restoreSessions_stagedApexSession_failsAllSessions()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DStagingManager.java426 for (StagedSession apexSession : apexSessions) { in checkInstallationOfApkInApexSuccessful()
427 String packageName = apexSession.getPackageName(); in checkInstallationOfApkInApexSuccessful()
625 for (StagedSession apexSession : apexSessions) { in checkDuplicateApkInApex()
626 String packageName = apexSession.getPackageName(); in checkDuplicateApkInApex()
632 + apexSession.sessionId() + " has duplicate apk-in-apex: " in checkDuplicateApkInApex()
855 final ApexSessionInfo apexSession = mApexManager.getStagedSessionInfo(session.sessionId()); in ensureActiveApexSessionIsAborted() local
856 if (apexSession == null || isApexSessionFinalized(apexSession)) { in ensureActiveApexSessionIsAborted()
971 final ApexSessionInfo apexSession = apexSessions.get(session.sessionId()); in restoreSessions() local
972 if (apexSession == null || apexSession.isUnknown) { in restoreSessions()
977 } else if (isApexSessionFailed(apexSession)) { in restoreSessions()
[all …]