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);
101 virtual status_t openSession(CasSessionId *sessionId) = 0;
104 virtual status_t closeSession(const CasSessionId &sessionId) = 0;
109 const CasSessionId &sessionId,
114 const CasSessionId &sessionId,
131 const CasSessionId &sessionId,
DDescramblerAPI.h77 virtual status_t setMediaCasSession(const CasSessionId& sessionId) = 0;
/frameworks/av/drm/mediacas/plugins/mock/
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.h71 virtual status_t openSession(CasSessionId *sessionId) override;
74 const CasSessionId &sessionId) override;
77 const CasSessionId &sessionId,
81 const CasSessionId &sessionId, const CasEcm &ecm) override;
89 const CasSessionId &sessionId,
111 const CasSessionId &sessionId) override;
DMockCasPlugin.cpp119 status_t MockCasPlugin::openSession(CasSessionId* sessionId) { in openSession()
124 status_t MockCasPlugin::closeSession(const CasSessionId &sessionId) { in closeSession()
139 const CasSessionId &sessionId, const CasData& /*data*/) { in setSessionPrivateData()
153 const CasSessionId &sessionId, const CasEcm& ecm) { in processEcm()
187 const CasSessionId &sessionId, int32_t event, in sendSessionEvent()
220 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.h77 virtual status_t openSession(CasSessionId *sessionId) override;
80 const CasSessionId &sessionId) override;
83 const CasSessionId &sessionId,
87 const CasSessionId &sessionId, const CasEcm &ecm) override;
95 const CasSessionId &sessionId,
120 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.cpp132 status_t ClearKeyCasPlugin::openSession(CasSessionId* sessionId) { in openSession()
138 status_t ClearKeyCasPlugin::closeSession(const CasSessionId &sessionId) { in closeSession()
151 const CasSessionId &sessionId, const CasData & /*data*/) { in setSessionPrivateData()
163 const CasSessionId &sessionId, const CasEcm& ecm) { in processEcm()
199 const CasSessionId &sessionId, int32_t event, in sendSessionEvent()
456 const CasSessionId &sessionId) { in setMediaCasSession()