Home
last modified time | relevance | path

Searched refs:SessionLibrary (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/
DSessionLibrary.cpp32 Mutex SessionLibrary::sSingletonLock;
33 SessionLibrary* SessionLibrary::sSingleton = NULL;
35 SessionLibrary* SessionLibrary::get() { in get()
40 sSingleton = new SessionLibrary(); in get()
46 const sp<Session>& SessionLibrary::createSession() { in createSession()
60 const sp<Session>& SessionLibrary::findSession( in findSession()
66 void SessionLibrary::destroySession(const sp<Session>& session) { in destroySession()
DSessionLibrary.h30 class SessionLibrary {
32 static SessionLibrary* get();
42 DISALLOW_EVIL_CONSTRUCTORS(SessionLibrary);
44 SessionLibrary() : mNextSessionId(1) {} in SessionLibrary() function
47 static SessionLibrary* sSingleton;
DDrmFactory.cpp48 *plugin = new DrmPlugin(SessionLibrary::get()); in createDrmPlugin()
DAndroid.mk30 SessionLibrary.cpp \
DDrmPlugin.h42 DrmPlugin(SessionLibrary* sessionLibrary) in DrmPlugin()
236 SessionLibrary* mSessionLibrary;
DCryptoPlugin.cpp88 mSession = SessionLibrary::get()->findSession(sessionId); in setMediaDrmSession()