Home
last modified time | relevance | path

Searched refs:SessionIdType (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libmediatranscoding/include/media/
DTranscoderInterface.h35 virtual void start(ClientIdType clientId, SessionIdType sessionId,
38 virtual void pause(ClientIdType clientId, SessionIdType sessionId) = 0;
39 virtual void resume(ClientIdType clientId, SessionIdType sessionId,
44 virtual void stop(ClientIdType clientId, SessionIdType sessionId, bool abandon = false) = 0;
55 virtual void onStarted(ClientIdType clientId, SessionIdType sessionId) = 0;
56 virtual void onPaused(ClientIdType clientId, SessionIdType sessionId) = 0;
57 virtual void onResumed(ClientIdType clientId, SessionIdType sessionId) = 0;
58 virtual void onFinish(ClientIdType clientId, SessionIdType sessionId) = 0;
59 virtual void onError(ClientIdType clientId, SessionIdType sessionId,
61 virtual void onProgressUpdate(ClientIdType clientId, SessionIdType sessionId,
[all …]
DTranscoderWrapper.h48 void start(ClientIdType clientId, SessionIdType sessionId,
51 void pause(ClientIdType clientId, SessionIdType sessionId) override;
52 void resume(ClientIdType clientId, SessionIdType sessionId,
55 void stop(ClientIdType clientId, SessionIdType sessionId, bool abandon = false) override;
74 SessionIdType sessionId;
78 using SessionKeyType = std::pair<ClientIdType, SessionIdType>;
92 SessionIdType mCurrentSessionId;
100 void onFinish(ClientIdType clientId, SessionIdType sessionId);
101 void onError(ClientIdType clientId, SessionIdType sessionId, media_status_t status);
102 void onProgress(ClientIdType clientId, SessionIdType sessionId, int32_t progress);
[all …]
DTranscodingSessionController.h51 bool submit(ClientIdType clientId, SessionIdType sessionId, uid_t callingUid, uid_t clientUid,
54 bool cancel(ClientIdType clientId, SessionIdType sessionId) override;
55 bool getSession(ClientIdType clientId, SessionIdType sessionId,
57 bool addClientUid(ClientIdType clientId, SessionIdType sessionId, uid_t clientUid) override;
58 bool getClientUids(ClientIdType clientId, SessionIdType sessionId,
63 void onStarted(ClientIdType clientId, SessionIdType sessionId) override;
64 void onPaused(ClientIdType clientId, SessionIdType sessionId) override;
65 void onResumed(ClientIdType clientId, SessionIdType sessionId) override;
66 void onFinish(ClientIdType clientId, SessionIdType sessionId) override;
67 void onError(ClientIdType clientId, SessionIdType sessionId, TranscodingErrorCode err) override;
[all …]
DControllerClientInterface.h39 virtual bool submit(ClientIdType clientId, SessionIdType sessionId, uid_t callingUid,
53 virtual bool cancel(ClientIdType clientId, SessionIdType sessionId) = 0;
60 virtual bool getSession(ClientIdType clientId, SessionIdType sessionId,
69 virtual bool addClientUid(ClientIdType clientId, SessionIdType sessionId, uid_t clientUid) = 0;
83 virtual bool getClientUids(ClientIdType clientId, SessionIdType sessionId,
DTranscodingDefs.h29 using SessionIdType = int32_t; variable
/frameworks/av/services/mediatranscoding/
DSimulatedTranscoder.h46 SessionIdType sessionId;
56 void start(ClientIdType clientId, SessionIdType sessionId,
59 void pause(ClientIdType clientId, SessionIdType sessionId) override;
60 void resume(ClientIdType clientId, SessionIdType sessionId,
63 void stop(ClientIdType clientId, SessionIdType sessionId, bool abandon = false) override;
73 using SessionKeyType = std::pair<ClientIdType, SessionIdType>;
78 void queueEvent(Event::Type type, ClientIdType clientId, SessionIdType sessionId,
DSimulatedTranscoder.cpp60 ClientIdType clientId, SessionIdType sessionId, const TranscodingRequestParcel& request, in start()
83 void SimulatedTranscoder::pause(ClientIdType clientId, SessionIdType sessionId) { in pause()
93 ClientIdType clientId, SessionIdType sessionId, const TranscodingRequestParcel& /*request*/, in resume()
104 void SimulatedTranscoder::stop(ClientIdType clientId, SessionIdType sessionId, bool abandon) { in stop()
113 SessionIdType sessionId, std::function<void()> runnable) { in queueEvent()
/frameworks/av/media/libmediatranscoding/
DTranscoderWrapper.cpp139 SessionIdType sessionId) in CallbackImpl()
181 SessionIdType mSessionId;
204 void TranscoderWrapper::reportError(ClientIdType clientId, SessionIdType sessionId, in reportError()
225 void TranscoderWrapper::start(ClientIdType clientId, SessionIdType sessionId, in start()
243 void TranscoderWrapper::pause(ClientIdType clientId, SessionIdType sessionId) { in pause()
260 void TranscoderWrapper::resume(ClientIdType clientId, SessionIdType sessionId, in resume()
278 void TranscoderWrapper::stop(ClientIdType clientId, SessionIdType sessionId, bool abandon) { in stop()
303 void TranscoderWrapper::onFinish(ClientIdType clientId, SessionIdType sessionId) { in onFinish()
318 void TranscoderWrapper::onError(ClientIdType clientId, SessionIdType sessionId, in onError()
333 void TranscoderWrapper::onProgress(ClientIdType clientId, SessionIdType sessionId, in onProgress()
[all …]
DTranscodingSessionController.cpp34 static_assert((SessionIdType)-1 < 0, "SessionIdType should be signed");
727 ClientIdType clientId, SessionIdType sessionId, uid_t callingUid, uid_t clientUid, in submit()
769 bool TranscodingSessionController::cancel(ClientIdType clientId, SessionIdType sessionId) { in cancel()
824 bool TranscodingSessionController::addClientUid(ClientIdType clientId, SessionIdType sessionId, in addClientUid()
849 bool TranscodingSessionController::getClientUids(ClientIdType clientId, SessionIdType sessionId, in getClientUids()
869 bool TranscodingSessionController::getSession(ClientIdType clientId, SessionIdType sessionId, in getSession()
884 void TranscodingSessionController::notifyClient(ClientIdType clientId, SessionIdType sessionId, in notifyClient()
910 void TranscodingSessionController::onStarted(ClientIdType clientId, SessionIdType sessionId) { in onStarted()
919 void TranscodingSessionController::onPaused(ClientIdType clientId, SessionIdType sessionId) { in onPaused()
928 void TranscodingSessionController::onResumed(ClientIdType clientId, SessionIdType sessionId) { in onResumed()
[all …]
/frameworks/av/media/libmediatranscoding/tests/
DTranscodingClientManager_tests.cpp102 SessionIdType sessionId;
107 static Event action(SessionIdType sessionId) { return {Event::action, sessionId}; }
139 bool submit(ClientIdType clientId, SessionIdType sessionId, uid_t /*callingUid*/, in submit()
165 bool addClientUid(ClientIdType clientId, SessionIdType sessionId, uid_t clientUid) override { in addClientUid()
178 bool getClientUids(ClientIdType clientId, SessionIdType sessionId, in getClientUids()
194 bool cancel(ClientIdType clientId, SessionIdType sessionId) override { in cancel()
204 bool getSession(ClientIdType clientId, SessionIdType sessionId, in getSession()
252 typedef std::pair<ClientIdType, SessionIdType> SessionKeyType;
DTranscodingSessionController_tests.cpp45 constexpr SessionIdType kClientSessionId = 0;
125 void start(ClientIdType clientId, SessionIdType sessionId, in start()
130 void pause(ClientIdType clientId, SessionIdType sessionId) override { in pause()
133 void resume(ClientIdType clientId, SessionIdType sessionId, in resume()
138 void stop(ClientIdType clientId, SessionIdType sessionId, bool abandon) override { in stop()
142 void onFinished(ClientIdType clientId, SessionIdType sessionId) { in onFinished()
146 void onFailed(ClientIdType clientId, SessionIdType sessionId, TranscodingErrorCode err) { in onFailed()
158 SessionIdType sessionId;
164 static Event action(ClientIdType clientId, SessionIdType sessionId) { \