Searched refs:apexSession (Results 1 – 2 of 2) sorted by relevance
240 FakeStagedSession apexSession = new FakeStagedSession(1543); in restoreSessions_unknownApexSession_failsAllSessions() local241 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() local338 apexSession.setCommitted(true); in restoreSessions_stagedApexSession_failsAllSessions()339 apexSession.setIsApex(true); in restoreSessions_stagedApexSession_failsAllSessions()[all …]
426 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() local856 if (apexSession == null || isApexSessionFinalized(apexSession)) { in ensureActiveApexSessionIsAborted()971 final ApexSessionInfo apexSession = apexSessions.get(session.sessionId()); in restoreSessions() local972 if (apexSession == null || apexSession.isUnknown) { in restoreSessions()977 } else if (isApexSessionFailed(apexSession)) { in restoreSessions()[all …]