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.java175 private final Map<Uri, Integer> mOpenSessions = new HashMap<>(); field in SettingsSession.SessionCounters
178 final Integer count = mOpenSessions.get(uri); in open()
180 mOpenSessions.put(uri, 1); in open()
183 mOpenSessions.put(uri, count + 1); in open()
188 final int count = mOpenSessions.get(uri); in close()
190 mOpenSessions.remove(uri); in close()
193 mOpenSessions.put(uri, count - 1); in close()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCtsContentCaptureService.java91 private final ArrayMap<ContentCaptureSessionId, Session> mOpenSessions = new ArrayMap<>(); field in CtsContentCaptureService
278 final Session session = mOpenSessions.get(sessionId); in onCreateContentCaptureSession()
284 mOpenSessions.put(sessionId, new Session(sessionId, context)); in onCreateContentCaptureSession()
296 mOpenSessions.remove(sessionId); in onDestroyContentCaptureSession()
458 pw.print("mOpenSessions: "); pw.println(mOpenSessions); in dump()
487 + ".\nOpen=" + mOpenSessions in throwIllegalSessionStateException()
495 final Session session = mOpenSessions.get(sessionId); in getExistingSession()