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 const sp<Session>& SessionLibrary::findSession( in findSession()73 void SessionLibrary::destroySession(const sp<Session>& session) { in destroySession()
30 class SessionLibrary {32 static SessionLibrary* get();44 DISALLOW_EVIL_CONSTRUCTORS(SessionLibrary);46 SessionLibrary() : mNextSessionId(1) {} in SessionLibrary() function49 static SessionLibrary* sSingleton;
48 *plugin = new DrmPlugin(SessionLibrary::get()); in createDrmPlugin()
46 android::sp<Session> session = SessionLibrary::get()->findSession( in createPlugin()
30 SessionLibrary.cpp \
42 DrmPlugin(SessionLibrary* sessionLibrary) in DrmPlugin()239 SessionLibrary* mSessionLibrary;