Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/preprocessing/aidl/
DPreProcessingSession.h69 if (mSessionMap.count(sessionId) == 0 && mSessionMap.size() >= MAX_PRE_PROC_SESSIONS) { in createSession()
74 if (mSessionMap.count(sessionId)) { in createSession()
75 if (findPreProcessingTypeInList(mSessionMap[sessionId], type)) { in createSession()
81 auto& list = mSessionMap[sessionId]; in createSession()
96 if (mSessionMap.count(sessionId)) { in releaseSession()
97 auto& list = mSessionMap[sessionId]; in releaseSession()
103 mSessionMap.erase(sessionId); in releaseSession()
112 mSessionMap; variable
/frameworks/av/media/libeffects/lvm/wrapper/Aidl/
DGlobalSession.h67 if (mSessionMap.count(sessionId) == 0 && mSessionMap.size() >= MAX_BUNDLE_SESSIONS) { in createSession()
72 if (mSessionMap.count(sessionId)) { in createSession()
73 if (findBundleTypeInList(mSessionMap[sessionId], type)) { in createSession()
79 auto& list = mSessionMap[sessionId]; in createSession()
94 if (mSessionMap.count(sessionId)) { in releaseSession()
95 auto& list = mSessionMap[sessionId]; in releaseSession()
101 mSessionMap.erase(sessionId); in releaseSession()
110 mSessionMap; variable
/frameworks/av/media/module/libmediatranscoding/
DTranscodingSessionController.cpp390 snprintf(buffer, SIZE, " Total num of Sessions: %zu\n", mSessionMap.size()); in dumpAllSessions()
407 auto sessionIt = mSessionMap.find(sessionKey); in dumpAllSessions()
408 if (sessionIt == mSessionMap.end()) { in dumpAllSessions()
432 if (mSessionMap.empty()) { in getTopSession_l()
452 return &mSessionMap[topSessionKey]; in getTopSession_l()
550 auto clientCallback = mSessionMap[topSession->key].callback.lock(); in updateCurrentSession_l()
603 if (mSessionMap.count(sessionKey) == 0) { in removeSession_l()
611 for (uid_t uid : mSessionMap[sessionKey].allClientUids) { in removeSession_l()
647 mSessionMap[sessionKey].allClientUids = remainingUids; in removeSession_l()
652 if (mCurrentSession == &mSessionMap[sessionKey]) { in removeSession_l()
[all …]
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubEndpointBroker.java239 private final SparseArray<Session> mSessionMap = new SparseArray<>(); field in ContextHubEndpointBroker
313 mSessionMap.put(sessionId, new Session(destination, false)); in openSession()
346 for (int i = mSessionMap.size() - 1; i >= 0; i--) { in unregister()
347 int id = mSessionMap.keyAt(i); in unregister()
373 Session info = mSessionMap.get(sessionId); in openSessionRequestComplete()
394 Session info = mSessionMap.get(sessionId); in sendMessage()
508 for (int i = mSessionMap.size() - 1; i >= 0; i--) { in onOpChanged()
509 int id = mSessionMap.keyAt(i); in onOpChanged()
510 HubEndpointInfo target = mSessionMap.get(id).getRemoteEndpointInfo(); in onOpChanged()
528 if (mSessionMap.size() != 0) { in toString()
[all …]
/frameworks/av/drm/libmediadrm/
DDrmSessionManager.cpp149 if (mSessionMap.empty()) { in reRegisterAllResources_l()
161 for (SessionInfoMap::const_iterator iter = mSessionMap.begin(); in reRegisterAllResources_l()
162 iter != mSessionMap.end(); ++iter) { in reRegisterAllResources_l()
183 mSessionMap[toStdVec(sessionId)] = (SessionInfo){pid, uid, clientId, drm, INT64_MAX}; in addSession()
194 auto it = mSessionMap.find(toStdVec(sessionId)); in useSession()
195 if (mService == NULL || it == mSessionMap.end()) { in useSession()
211 auto it = mSessionMap.find(toStdVec(sessionId)); in removeSession()
212 if (mService == NULL || it == mSessionMap.end()) { in removeSession()
222 mSessionMap.erase(it); in removeSession()
251 return mSessionMap.size(); in getSessionCount()
[all …]
DDrmMetricsLogger.cpp189 mSessionMap.insert({sessionKey, ctx}); in openSession()
203 mSessionMap.erase(sid); in closeSession()
564 auto it = mSessionMap.find(sessionId); in reportMediaDrmSessionOpened()
565 if (it != mSessionMap.end()) { in reportMediaDrmSessionOpened()
587 auto it = mSessionMap.find(sessionId); in reportMediaDrmErrored()
588 if (it != mSessionMap.end()) { in reportMediaDrmErrored()
/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.java140 private final Map<Session, Long> mSessionMap = new HashMap<>(); field in MediaCas
519 synchronized (mSessionMap) {
520 List<Session> sessionList = new ArrayList<>(mSessionMap.keySet());
1203 synchronized (mSessionMap) { in addSessionToResourceMap()
1204 mSessionMap.put(session, sessionResourceHandle); in addSessionToResourceMap()
1211 synchronized (mSessionMap) { in removeSessionFromResourceMap()
1212 if (mSessionMap.get(session) != null) { in removeSessionFromResourceMap()
1213 mTunerResourceManager.releaseCasSession(mSessionMap.get(session), mClientId); in removeSessionFromResourceMap()
1214 mSessionMap.remove(session); in removeSessionFromResourceMap()
/frameworks/av/drm/libmediadrm/include/mediadrm/
DDrmSessionManager.h110 SessionInfoMap mSessionMap; member
DDrmMetricsLogger.h221 std::map<std::vector<uint8_t>, SessionContext> mSessionMap; variable
/frameworks/av/media/module/libmediatranscoding/include/media/
DTranscodingSessionController.h157 std::map<SessionKeyType, Session> mSessionMap; variable
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java2146 mSessionMap;
2154 mSessionMap = new TreeMap<>(mSessionCreationComparator);
2158 return !(mSessionMap.isEmpty());
2162 if (!mSessionMap.containsKey(session)) {
2163 mSessionMap.put(session, new TreeSet<>(mSessionCreationComparator));
2170 mSessionMap.get(parentSession).add(session);
2187 : mSessionMap.entrySet()) {