Searched refs:allSessions (Results 1 – 2 of 2) sorted by relevance
326 final ArrayList<ContentCaptureSessionId> allSessions = mAllSessions; in getOnlyFinishedSession() local327 assertWithMessage("Wrong number of sessions").that(allSessions).hasSize(1); in getOnlyFinishedSession()328 final ContentCaptureSessionId id = allSessions.get(0); in getOnlyFinishedSession()
1213 List<CameraCaptureSession> allSessions = new ArrayList<>(); in testCreateSessionsByCamera() local1233 allSessions = sessionListener.getAllSessions(NUM_SESSIONS, in testCreateSessionsByCamera()1236 allSessions.size(), NUM_SESSIONS), allSessions.size(), NUM_SESSIONS); in testCreateSessionsByCamera()1240 sessionListener.waitForSessionClose(allSessions.get(i), SESSION_TIMEOUT_MS); in testCreateSessionsByCamera()1244 CameraCaptureSession session = allSessions.get(allSessions.size() - 1); in testCreateSessionsByCamera()1262 for (CameraCaptureSession session : allSessions) { in testCreateSessionsByCamera()