Searched refs:SessionKeyType (Results 1 – 7 of 7) sorted by relevance
/aosp12/frameworks/av/media/libmediatranscoding/include/media/ |
H A D | TranscodingSessionController.h | 97 using SessionKeyType = std::pair<ClientIdType, SessionIdType>; variable 98 using SessionQueueType = std::list<SessionKeyType>; 126 SessionKeyType key; 157 std::map<SessionKeyType, Session> mSessionMap; 191 void addUidToSession_l(uid_t uid, const SessionKeyType& sessionKey); 192 void removeSession_l(const SessionKeyType& sessionKey, Session::State finalState, 197 std::function<void(const SessionKeyType&)> func); 201 static String8 sessionToString(const SessionKeyType& sessionKey);
|
H A D | TranscoderWrapper.h | 78 using SessionKeyType = std::pair<ClientIdType, SessionIdType>; variable 90 std::map<SessionKeyType, std::shared_ptr<ndk::ScopedAParcel>> mPausedStateMap;
|
/aosp12/frameworks/av/media/libmediatranscoding/ |
H A D | TranscodingSessionController.cpp | 72 void start(const SessionKeyType& key); 94 SessionKeyType mSessionToWatch GUARDED_BY(mLock); 179 SessionKeyType sessionKey = mSessionToWatch; in threadLoop() 451 SessionKeyType topSessionKey = *mSessionQueues[topUid].begin(); in getTopSession_l() 599 const SessionKeyType& sessionKey, Session::State finalState, in removeSession_l() 730 SessionKeyType sessionKey = std::make_pair(clientId, sessionId); in submit() 770 SessionKeyType sessionKey = std::make_pair(clientId, sessionId); in cancel() 774 std::list<SessionKeyType> sessionsToRemove, sessionsForOffline; in cancel() 826 SessionKeyType sessionKey = std::make_pair(clientId, sessionId); in addClientUid() 851 SessionKeyType sessionKey = std::make_pair(clientId, sessionId); in getClientUids() [all …]
|
H A D | TranscoderWrapper.cpp | 212 auto it = mPausedStateMap.find(SessionKeyType(clientId, sessionId)); in reportError() 214 mPausedStateMap.emplace(SessionKeyType(clientId, sessionId), in reportError() 293 mPausedStateMap.erase(SessionKeyType(clientId, sessionId)); in stop() 519 mPausedStateMap[SessionKeyType(clientId, sessionId)] = pauseStates; in handlePause() 529 auto it = mPausedStateMap.find(SessionKeyType(clientId, sessionId)); in handleResume()
|
/aosp12/frameworks/av/media/libmediatranscoding/tests/ |
H A D | TranscodingClientManager_tests.cpp | 142 SessionKeyType sessionKey = std::make_pair(clientId, sessionId); in submit() 166 SessionKeyType sessionKey = std::make_pair(clientId, sessionId); in addClientUid() 180 SessionKeyType sessionKey = std::make_pair(clientId, sessionId); in getClientUids() 195 SessionKeyType sessionKey = std::make_pair(clientId, sessionId); in cancel() 206 SessionKeyType sessionKey = std::make_pair(clientId, sessionId); in getSession() 252 typedef std::pair<ClientIdType, SessionIdType> SessionKeyType; typedef 253 std::map<SessionKeyType, Session> mSessions; 254 SessionKeyType mLastSession;
|
/aosp12/frameworks/av/services/mediatranscoding/ |
H A D | SimulatedTranscoder.h | 73 using SessionKeyType = std::pair<ClientIdType, SessionIdType>; variable 75 std::map<SessionKeyType, std::chrono::microseconds> mRemainingTimeMap;
|
H A D | SimulatedTranscoder.cpp | 71 SessionKeyType key = std::make_pair(clientId, sessionId); in start() 148 SessionKeyType key = in threadLoop() 184 SessionKeyType key = std::make_pair(event.clientId, event.sessionId); in threadLoop()
|