Searched refs:SessionLibrary (Results 1 – 7 of 7) 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 sp<Session> SessionLibrary::createSession() { in createSession()60 sp<Session> SessionLibrary::findSession( in findSession()69 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;
54 *plugin = new DrmPlugin(SessionLibrary::get()); in createDrmPlugin()
88 mSession = SessionLibrary::get()->findSession(sessionId); in setMediaDrmSession()
42 explicit DrmPlugin(SessionLibrary* sessionLibrary);248 SessionLibrary* mSessionLibrary;
31 "SessionLibrary.cpp",
45 DrmPlugin::DrmPlugin(SessionLibrary* sessionLibrary) in DrmPlugin()