Home
last modified time | relevance | path

Searched refs:mSessionMap (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/drm/libmediadrm/
DDrmSessionManager.cpp139 mSessionMap[toStdVec(sessionId)] = (SessionInfo){pid, uid, clientId}; in addSession()
147 auto it = mSessionMap.find(toStdVec(sessionId)); in useSession()
148 if (mService == NULL || it == mSessionMap.end()) { in useSession()
160 auto it = mSessionMap.find(toStdVec(sessionId)); in removeSession()
161 if (mService == NULL || it == mSessionMap.end()) { in removeSession()
168 mSessionMap.erase(it); in removeSession()
193 return mSessionMap.size(); in getSessionCount()
198 return mSessionMap.count(toStdVec(sessionId)); in containsSession()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipSessionGroup.java119 private Map<String, SipSessionImpl> mSessionMap = field in SipSessionGroup
207 SipSessionImpl[] ss = mSessionMap.values().toArray( in onConnectivityChanged()
208 new SipSessionImpl[mSessionMap.size()]); in onConnectivityChanged()
242 mSessionMap.clear(); in close()
274 return mSessionMap.containsKey(callId); in containsSession()
279 SipSessionImpl session = mSessionMap.get(key); in getSipSession()
283 for (String k : mSessionMap.keySet()) { in getSipSession()
284 if (DBG) log("getSipSession: ..." + k + ": " + mSessionMap.get(k)); in getSipSession()
293 mSessionMap.put(key, newSession); in addSipSession()
296 for (String k : mSessionMap.keySet()) { in addSipSession()
[all …]
/frameworks/base/media/java/android/media/
DMediaCas.java130 private final Map<Session, Integer> mSessionMap = new HashMap<>(); field in MediaCas
394 synchronized (mSessionMap) {
395 List<Session> sessionList = new ArrayList<>(mSessionMap.keySet());
898 synchronized (mSessionMap) { in addSessionToResourceMap()
899 mSessionMap.put(session, sessionResourceHandle); in addSessionToResourceMap()
906 synchronized (mSessionMap) { in removeSessionFromResourceMap()
907 if (mSessionMap.get(session) != null) { in removeSessionFromResourceMap()
908 mTunerResourceManager.releaseCasSession(mSessionMap.get(session), mClientId); in removeSessionFromResourceMap()
909 mSessionMap.remove(session); in removeSessionFromResourceMap()
/frameworks/av/drm/libmediadrm/include/mediadrm/
DDrmSessionManager.h80 SessionInfoMap mSessionMap; member