Searched refs:MockSessionLibrary (Results 1 – 4 of 4) sorted by relevance
26 Mutex MockSessionLibrary::sSingletonLock;27 MockSessionLibrary* MockSessionLibrary::sSingleton = NULL;29 MockSessionLibrary* MockSessionLibrary::get() { in get()34 sSingleton = new MockSessionLibrary(); in get()40 MockSessionLibrary::MockSessionLibrary() : mNextSessionId(1) {} in MockSessionLibrary() function in android::MockSessionLibrary42 status_t MockSessionLibrary::addSession( in addSession()59 sp<MockCasSession> MockSessionLibrary::findSession( in findSession()70 void MockSessionLibrary::destroySession(const CasSessionId& sessionId) { in destroySession()82 void MockSessionLibrary::destroyPlugin(CasPlugin *plugin) { in destroyPlugin()
34 friend class MockSessionLibrary;43 class MockSessionLibrary {45 static MockSessionLibrary* get();57 static MockSessionLibrary* sSingleton;63 MockSessionLibrary();64 DISALLOW_EVIL_CONSTRUCTORS(MockSessionLibrary);
111 MockSessionLibrary::get()->destroyPlugin(this); in ~MockCasPlugin()127 return MockSessionLibrary::get()->addSession(this, sessionId); in openSession()134 return MockSessionLibrary::get()->addSession(this, sessionId); in openSession()142 MockSessionLibrary::get()->findSession(sessionId); in closeSession()147 MockSessionLibrary::get()->destroySession(sessionId); in closeSession()158 MockSessionLibrary::get()->findSession(sessionId); in setSessionPrivateData()171 MockSessionLibrary::get()->findSession(sessionId); in processEcm()236 MockSessionLibrary::get()->findSession(sessionId); in setMediaCasSession()
22 "MockSessionLibrary.cpp",