Home
last modified time | relevance | path

Searched refs:in_sessionId (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/include/
DDrmPlugin.h45 ::ndk::ScopedAStatus closeSession(const std::vector<uint8_t>& in_sessionId) override;
46 ::ndk::ScopedAStatus decrypt(const std::vector<uint8_t>& in_sessionId,
51 ::ndk::ScopedAStatus encrypt(const std::vector<uint8_t>& in_sessionId,
90 const std::vector<uint8_t>& in_sessionId,
101 const std::vector<uint8_t>& in_sessionId,
109 ::ndk::ScopedAStatus removeKeys(const std::vector<uint8_t>& in_sessionId) override;
118 const std::vector<uint8_t>& in_sessionId,
120 ::ndk::ScopedAStatus setCipherAlgorithm(const std::vector<uint8_t>& in_sessionId,
126 ::ndk::ScopedAStatus setMacAlgorithm(const std::vector<uint8_t>& in_sessionId,
128 ::ndk::ScopedAStatus setPlaybackId(const std::vector<uint8_t>& in_sessionId,
[all …]
DCryptoPlugin.h73 ::ndk::ScopedAStatus setMediaDrmSession(const std::vector<uint8_t>& in_sessionId) override;
/frameworks/av/drm/libmediadrm/include/mediadrm/
DDrmHalListener.h33 const std::vector<uint8_t>& in_sessionId,
35 ::ndk::ScopedAStatus onExpirationUpdate(const std::vector<uint8_t>& in_sessionId,
37 ::ndk::ScopedAStatus onKeysChange(const std::vector<uint8_t>& in_sessionId,
40 ::ndk::ScopedAStatus onSessionLostState(const std::vector<uint8_t>& in_sessionId);
DDrmHalAidl.h116 const std::vector<uint8_t>& in_sessionId,
118 ::ndk::ScopedAStatus onExpirationUpdate(const std::vector<uint8_t>& in_sessionId,
120 ::ndk::ScopedAStatus onKeysChange(const std::vector<uint8_t>& in_sessionId,
123 ::ndk::ScopedAStatus onSessionLostState(const std::vector<uint8_t>& in_sessionId);
/frameworks/av/media/module/libmediatranscoding/
DTranscodingClientManager.cpp185 Status TranscodingClientManager::ClientImpl::cancelSession(int32_t in_sessionId, in cancelSession() argument
194 if (in_sessionId < 0) { in cancelSession()
198 *_aidl_return = owner->mSessionController->cancel(mClientId, in_sessionId); in cancelSession()
202 Status TranscodingClientManager::ClientImpl::getSessionWithId(int32_t in_sessionId, in getSessionWithId() argument
212 if (in_sessionId < 0) { in getSessionWithId()
217 owner->mSessionController->getSession(mClientId, in_sessionId, &out_session->request); in getSessionWithId()
220 out_session->sessionId = in_sessionId; in getSessionWithId()
226 Status TranscodingClientManager::ClientImpl::addClientUid(int32_t in_sessionId, in addClientUid() argument
236 if (in_sessionId < 0) { in addClientUid()
258 *_aidl_return = owner->mSessionController->addClientUid(mClientId, in_sessionId, in_clientUid); in addClientUid()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/
DDrmPlugin.cpp143 ::ndk::ScopedAStatus DrmPlugin::closeSession(const std::vector<uint8_t>& in_sessionId) { in closeSession() argument
144 if (in_sessionId.size() == 0) { in closeSession()
148 ::android::sp<Session> session = mSessionLibrary->findSession(in_sessionId); in closeSession()
152 sendSessionLostState(in_sessionId); in closeSession()
165 ::ndk::ScopedAStatus DrmPlugin::decrypt(const std::vector<uint8_t>& in_sessionId, in decrypt() argument
171 if (in_sessionId.size() == 0 || in_keyId.size() == 0 || in_input.size() == 0 || in decrypt()
178 ::ndk::ScopedAStatus DrmPlugin::encrypt(const std::vector<uint8_t>& in_sessionId, in encrypt() argument
184 if (in_sessionId.size() == 0 || in_keyId.size() == 0 || in_input.size() == 0 || in encrypt()
494 const std::vector<uint8_t>& in_sessionId, in getSecurityLevel() argument
496 if (in_sessionId.size() == 0) { in getSecurityLevel()
[all …]
DCryptoPlugin.cpp203 ::ndk::ScopedAStatus CryptoPlugin::setMediaDrmSession(const std::vector<uint8_t>& in_sessionId) { in setMediaDrmSession() argument
205 if (!in_sessionId.size()) { in setMediaDrmSession()
208 mSession = SessionLibrary::get()->findSession(in_sessionId); in setMediaDrmSession()
/frameworks/av/media/module/service.mediatranscoding/tests/
DMediaTranscodingServiceTestHelper.h299 Status onTranscodingStarted(int32_t in_sessionId) override { in onTranscodingStarted()
300 append(EventTracker::Start(mClientId, in_sessionId)); in onTranscodingStarted()
304 Status onTranscodingPaused(int32_t in_sessionId) override { in onTranscodingPaused()
305 append(EventTracker::Pause(mClientId, in_sessionId)); in onTranscodingPaused()
309 Status onTranscodingResumed(int32_t in_sessionId) override { in onTranscodingResumed()
310 append(EventTracker::Resume(mClientId, in_sessionId)); in onTranscodingResumed()
315 int32_t in_sessionId, in onTranscodingFinished()
317 append(Finished(mClientId, in_sessionId)); in onTranscodingFinished()
321 Status onTranscodingFailed(int32_t in_sessionId, in onTranscodingFailed()
323 append(Failed(mClientId, in_sessionId), in_errorCode); in onTranscodingFailed()
/frameworks/av/media/module/libmediatranscoding/tests/
DTranscodingClientManager_tests.cpp73 Status onTranscodingFinished(int32_t in_sessionId, in onTranscodingFinished()
75 EXPECT_EQ(in_sessionId, in_result.sessionId); in onTranscodingFinished()
76 mEventQueue.push_back(Finished(in_sessionId)); in onTranscodingFinished()
80 Status onTranscodingFailed(int32_t in_sessionId, in onTranscodingFailed()
82 mEventQueue.push_back(Failed(in_sessionId)); in onTranscodingFailed()
DTranscodingSessionController_tests.cpp256 Status onTranscodingFinished(int32_t in_sessionId, in onTranscodingFinished()
258 EXPECT_EQ(in_sessionId, in_result.sessionId); in onTranscodingFinished()
260 mOwner->onFinished(mClientId, in_sessionId); in onTranscodingFinished()
264 Status onTranscodingFailed(int32_t in_sessionId, TranscodingErrorCode in_errorCode) override { in onTranscodingFailed()
265 mOwner->onFailed(mClientId, in_sessionId, in_errorCode); in onTranscodingFailed()