Searched refs:SessionLibrary (Results 1 – 6 of 6) sorted by relevance
32 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()
30 class SessionLibrary {32 static SessionLibrary* get();42 DISALLOW_EVIL_CONSTRUCTORS(SessionLibrary);44 SessionLibrary() : mNextSessionId(1) {} in SessionLibrary() function47 static SessionLibrary* sSingleton;
48 *plugin = new DrmPlugin(SessionLibrary::get()); in createDrmPlugin()
30 SessionLibrary.cpp \
42 DrmPlugin(SessionLibrary* sessionLibrary) in DrmPlugin()236 SessionLibrary* mSessionLibrary;
88 mSession = SessionLibrary::get()->findSession(sessionId); in setMediaDrmSession()