Home
last modified time | relevance | path

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

/frameworks/native/headers/media_plugin/media/cas/
DCasAPI.h41 typedef std::vector<uint8_t> CasSessionId; typedef
57 const CasSessionId *sessionId);
110 virtual status_t openSession(CasSessionId *sessionId) = 0;
115 CasSessionId *sessionId) = 0;
118 virtual status_t closeSession(const CasSessionId &sessionId) = 0;
123 const CasSessionId &sessionId,
128 const CasSessionId &sessionId,
145 const CasSessionId &sessionId,
DDescramblerAPI.h77 virtual status_t setMediaCasSession(const CasSessionId& sessionId) = 0;
/frameworks/av/drm/mediacas/plugins/mock/
DMockCasPlugin.h74 virtual status_t openSession(CasSessionId *sessionId) override;
77 CasSessionId *sessionId) override;
80 const CasSessionId &sessionId) override;
83 const CasSessionId &sessionId,
87 const CasSessionId &sessionId, const CasEcm &ecm) override;
95 const CasSessionId &sessionId,
117 const CasSessionId &sessionId) override;
DMockSessionLibrary.h47 status_t addSession(CasPlugin *plugin, CasSessionId *sessionId);
49 sp<MockCasSession> findSession(const CasSessionId& sessionId);
51 void destroySession(const CasSessionId& sessionId);
61 KeyedVector<CasSessionId, sp<MockCasSession> > mIDToSessionMap;
DMockCasPlugin.cpp125 status_t MockCasPlugin::openSession(CasSessionId* sessionId) { in openSession()
131 CasSessionId* sessionId) { in openSession()
137 status_t MockCasPlugin::closeSession(const CasSessionId &sessionId) { in closeSession()
152 const CasSessionId &sessionId, const CasData& /*data*/) { in setSessionPrivateData()
166 const CasSessionId &sessionId, const CasEcm& ecm) { in processEcm()
200 const CasSessionId &sessionId, int32_t event, in sendSessionEvent()
233 const CasSessionId &sessionId) { in setMediaCasSession()
DMockSessionLibrary.cpp43 CasPlugin *plugin, CasSessionId *sessionId) { in addSession()
60 const CasSessionId& sessionId) { in findSession()
70 void MockSessionLibrary::destroySession(const CasSessionId& sessionId) { in destroySession()
/frameworks/av/drm/mediacas/plugins/clearkey/
DClearKeyCasPlugin.h80 virtual status_t openSession(CasSessionId *sessionId) override;
83 CasSessionId *sessionId) override;
86 const CasSessionId &sessionId) override;
89 const CasSessionId &sessionId,
93 const CasSessionId &sessionId, const CasEcm &ecm) override;
101 const CasSessionId &sessionId,
127 const CasSessionId &sessionId) override;
DClearKeySessionLibrary.h76 status_t addSession(CasPlugin *plugin, CasSessionId *sessionId);
78 std::shared_ptr<ClearKeyCasSession> findSession(const CasSessionId& sessionId);
80 void destroySession(const CasSessionId& sessionId);
90 KeyedVector<CasSessionId, std::shared_ptr<ClearKeyCasSession>> mIDToSessionMap;
DClearKeySessionLibrary.cpp54 CasPlugin *plugin, CasSessionId *sessionId) { in addSession()
73 const CasSessionId& sessionId) { in findSession()
83 void ClearKeySessionLibrary::destroySession(const CasSessionId& sessionId) { in destroySession()
DClearKeyCasPlugin.cpp140 status_t ClearKeyCasPlugin::openSession(CasSessionId* sessionId) { in openSession()
147 CasSessionId* sessionId) { in openSession()
159 status_t ClearKeyCasPlugin::closeSession(const CasSessionId &sessionId) { in closeSession()
172 const CasSessionId &sessionId, const CasData & /*data*/) { in setSessionPrivateData()
184 const CasSessionId &sessionId, const CasEcm& ecm) { in processEcm()
220 const CasSessionId &sessionId, int32_t event, in sendSessionEvent()
477 const CasSessionId &sessionId) { in setMediaCasSession()