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.java79 private final ArrayMap<ContentCaptureSessionId, Session> mOpenSessions = new ArrayMap<>(); field in CtsContentCaptureService
237 final Session session = mOpenSessions.get(sessionId); in onCreateContentCaptureSession()
243 mOpenSessions.put(sessionId, new Session(sessionId, context)); in onCreateContentCaptureSession()
255 mOpenSessions.remove(sessionId); in onDestroyContentCaptureSession()
364 pw.print("mOpenSessions: "); pw.println(mOpenSessions); in dump()
393 + ".\nOpen=" + mOpenSessions in throwIllegalSessionStateException()
401 final Session session = mOpenSessions.get(sessionId); in getExistingSession()