Searched refs:allSessions (Results 1 – 3 of 3) sorted by relevance
417 final ArrayList<ContentCaptureSessionId> allSessions = mAllSessions; in getOnlyFinishedSession() local418 assertWithMessage("Wrong number of sessions").that(allSessions).hasSize(1); in getOnlyFinishedSession()419 final ContentCaptureSessionId id = allSessions.get(0); in getOnlyFinishedSession()
1235 List<CameraCaptureSession> allSessions = new ArrayList<>(); in testCreateSessionsByCamera() local1255 allSessions = sessionListener.getAllSessions(NUM_SESSIONS, in testCreateSessionsByCamera()1258 allSessions.size(), NUM_SESSIONS), allSessions.size(), NUM_SESSIONS); in testCreateSessionsByCamera()1262 sessionListener.waitForSessionClose(allSessions.get(i), SESSION_TIMEOUT_MS); in testCreateSessionsByCamera()1266 CameraCaptureSession session = allSessions.get(allSessions.size() - 1); in testCreateSessionsByCamera()1284 for (CameraCaptureSession session : allSessions) { in testCreateSessionsByCamera()
378 List<PackageInstaller.SessionInfo> allSessions = packageInstaller.getAllSessions(); in testGetActiveStagedSessions() local379 for (PackageInstaller.SessionInfo session : allSessions) { in testGetActiveStagedSessions()395 List<PackageInstaller.SessionInfo> allSessions = packageInstaller.getAllSessions(); in testIsStagedSessionActive() local397 for (PackageInstaller.SessionInfo session : allSessions) { in testIsStagedSessionActive()