Searched refs:allSessions (Results 1 – 4 of 4) sorted by relevance
111 final List<PackageInstaller.SessionInfo> allSessions = mPackageInstaller.getAllSessions(); in getNumSessions() local113 for (PackageInstaller.SessionInfo sessionInfo : allSessions) { in getNumSessions()
462 final ArrayList<ContentCaptureSessionId> allSessions = mAllSessions; in getOnlyFinishedSession() local463 assertWithMessage("Wrong number of sessions").that(allSessions).hasSize(1); in getOnlyFinishedSession()464 final ContentCaptureSessionId id = allSessions.get(0); in getOnlyFinishedSession()
1245 List<CameraCaptureSession> allSessions = new ArrayList<>(); in testCreateSessionsByCamera() local1265 allSessions = sessionListener.getAllSessions(NUM_SESSIONS, in testCreateSessionsByCamera()1268 allSessions.size(), NUM_SESSIONS), allSessions.size(), NUM_SESSIONS); in testCreateSessionsByCamera()1272 sessionListener.waitForSessionClose(allSessions.get(i), SESSION_TIMEOUT_MS); in testCreateSessionsByCamera()1276 CameraCaptureSession session = allSessions.get(allSessions.size() - 1); in testCreateSessionsByCamera()1294 for (CameraCaptureSession session : allSessions) { in testCreateSessionsByCamera()
381 List<PackageInstaller.SessionInfo> allSessions = packageInstaller.getAllSessions(); in testGetActiveStagedSessions() local382 for (PackageInstaller.SessionInfo session : allSessions) { in testGetActiveStagedSessions()398 List<PackageInstaller.SessionInfo> allSessions = packageInstaller.getAllSessions(); in testIsStagedSessionActive() local400 for (PackageInstaller.SessionInfo session : allSessions) { in testIsStagedSessionActive()