Searched refs:mOpenSessions (Results 1 – 2 of 2) sorted by relevance
186 private final Map<Uri, Integer> mOpenSessions = new HashMap<>(); field in SessionCounters189 final Integer count = mOpenSessions.get(uri); in open()191 mOpenSessions.put(uri, 1); in open()194 mOpenSessions.put(uri, count + 1); in open()199 final int count = mOpenSessions.get(uri); in close()201 mOpenSessions.remove(uri); in close()204 mOpenSessions.put(uri, count - 1); in close()
100 private final ArrayMap<ContentCaptureSessionId, Session> mOpenSessions = new ArrayMap<>(); field in CtsContentCaptureService311 final Session session = mOpenSessions.get(sessionId); in onCreateContentCaptureSession()317 mOpenSessions.put(sessionId, new Session(sessionId, context)); in onCreateContentCaptureSession()329 mOpenSessions.remove(sessionId); in onDestroyContentCaptureSession()504 pw.print("mOpenSessions: "); pw.println(mOpenSessions); in dump()533 + ".\nOpen=" + mOpenSessions in throwIllegalSessionStateException()541 final Session session = mOpenSessions.get(sessionId); in getExistingSession()