Home
last modified time | relevance | path

Searched refs:SessionKeyType (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libmediatranscoding/include/media/
DTranscodingSessionController.h97 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);
DTranscoderWrapper.h78 using SessionKeyType = std::pair<ClientIdType, SessionIdType>; variable
90 std::map<SessionKeyType, std::shared_ptr<ndk::ScopedAParcel>> mPausedStateMap;
/frameworks/av/media/libmediatranscoding/
DTranscodingSessionController.cpp40 String8 TranscodingSessionController::sessionToString(const SessionKeyType& sessionKey) { in sessionToString()
72 void start(const SessionKeyType& key);
94 SessionKeyType mSessionToWatch GUARDED_BY(mLock);
123 void TranscodingSessionController::Watchdog::start(const SessionKeyType& key) { in start()
179 SessionKeyType sessionKey = mSessionToWatch; in threadLoop()
451 SessionKeyType topSessionKey = *mSessionQueues[topUid].begin(); in getTopSession_l()
573 const SessionKeyType& sessionKey) { in addUidToSession_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()
[all …]
DTranscoderWrapper.cpp212 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()
/frameworks/av/services/mediatranscoding/
DSimulatedTranscoder.h73 using SessionKeyType = std::pair<ClientIdType, SessionIdType>; variable
75 std::map<SessionKeyType, std::chrono::microseconds> mRemainingTimeMap;
DSimulatedTranscoder.cpp71 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()
/frameworks/av/media/libmediatranscoding/tests/
DTranscodingClientManager_tests.cpp142 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;