Home
last modified time | relevance | path

Searched refs:mOpenSessions (Results 1 – 2 of 2) sorted by relevance

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/settings/
DSettingsSession.java174 private final Map<Uri, Integer> mOpenSessions = new HashMap<>(); field in SettingsSession.SessionCounters
177 final Integer count = mOpenSessions.get(uri); in open()
179 mOpenSessions.put(uri, 1); in open()
182 mOpenSessions.put(uri, count + 1); in open()
187 final int count = mOpenSessions.get(uri); in close()
189 mOpenSessions.remove(uri); in close()
192 mOpenSessions.put(uri, count - 1); in close()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCtsContentCaptureService.java80 private final ArrayMap<ContentCaptureSessionId, Session> mOpenSessions = new ArrayMap<>(); field in CtsContentCaptureService
238 final Session session = mOpenSessions.get(sessionId); in onCreateContentCaptureSession()
244 mOpenSessions.put(sessionId, new Session(sessionId, context)); in onCreateContentCaptureSession()
256 mOpenSessions.remove(sessionId); in onDestroyContentCaptureSession()
365 pw.print("mOpenSessions: "); pw.println(mOpenSessions); in dump()
394 + ".\nOpen=" + mOpenSessions in throwIllegalSessionStateException()
402 final Session session = mOpenSessions.get(sessionId); in getExistingSession()