Home
last modified time | relevance | path

Searched refs:mIDToSessionMap (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/drm/mediacas/plugins/mock/
DMockSessionLibrary.cpp55 mIDToSessionMap.add(*sessionId, session); in addSession()
63 ssize_t index = mIDToSessionMap.indexOfKey(sessionId); in findSession()
67 return mIDToSessionMap.valueFor(sessionId); in findSession()
73 ssize_t index = mIDToSessionMap.indexOfKey(sessionId); in destroySession()
78 sp<MockCasSession> session = mIDToSessionMap.valueAt(index); in destroySession()
79 mIDToSessionMap.removeItemsAt(index); in destroySession()
85 for (ssize_t index = mIDToSessionMap.size() - 1; index >= 0; index--) { in destroyPlugin()
86 sp<MockCasSession> session = mIDToSessionMap.valueAt(index); in destroyPlugin()
88 mIDToSessionMap.removeItemsAt(index); in destroyPlugin()
DMockSessionLibrary.h61 KeyedVector<CasSessionId, sp<MockCasSession> > mIDToSessionMap; variable
/frameworks/av/drm/mediacas/plugins/clearkey/
DClearKeySessionLibrary.cpp68 mIDToSessionMap.add(*sessionId, session); in addSession()
76 ssize_t index = mIDToSessionMap.indexOfKey(sessionId); in findSession()
80 return mIDToSessionMap.valueFor(sessionId); in findSession()
86 ssize_t index = mIDToSessionMap.indexOfKey(sessionId); in destroySession()
91 std::shared_ptr<ClearKeyCasSession> session = mIDToSessionMap.valueAt(index); in destroySession()
92 mIDToSessionMap.removeItemsAt(index); in destroySession()
98 for (ssize_t index = (ssize_t)mIDToSessionMap.size() - 1; index >= 0; index--) { in destroyPlugin()
99 std::shared_ptr<ClearKeyCasSession> session = mIDToSessionMap.valueAt(index); in destroyPlugin()
101 mIDToSessionMap.removeItemsAt(index); in destroyPlugin()
DClearKeySessionLibrary.h90 KeyedVector<CasSessionId, std::shared_ptr<ClearKeyCasSession>> mIDToSessionMap; variable