Home
last modified time | relevance | path

Searched refs:DrmSessionManager (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/drm/libmediadrm/
DDrmSessionManager.cpp40 auto thiz = static_cast<DrmSessionManager*>(cookie); in ResourceManagerServiceDied()
91 sp<DrmSessionManager> DrmSessionManager::Instance() { in Instance()
92 static sp<DrmSessionManager> drmSessionManager = new DrmSessionManager(); in Instance()
97 DrmSessionManager::DrmSessionManager() in DrmSessionManager() function in android::DrmSessionManager
98 : DrmSessionManager(getResourceManagerService()) { in DrmSessionManager()
101 DrmSessionManager::DrmSessionManager(const std::shared_ptr<IResourceManagerService> &service) in DrmSessionManager() function in android::DrmSessionManager
110 DrmSessionManager::~DrmSessionManager() { in ~DrmSessionManager()
116 void DrmSessionManager::init() { in init()
127 void DrmSessionManager::addSession(int pid, in addSession()
143 void DrmSessionManager::useSession(const Vector<uint8_t> &sessionId) { in useSession()
[all …]
DDrmHalAidl.cpp390 DrmSessionManager::Instance()->removeSession(mSessionId); in ~DrmSessionClient()
527 retry = DrmSessionManager::Instance()->reclaimSession(AIBinder_getCallingPid()); in openSession()
537 DrmSessionManager::Instance()->addSession( in openSession()
556 DrmSessionManager::Instance()->removeSession(sessionId); in closeSession()
581 DrmSessionManager::Instance()->useSession(sessionId); in getKeyRequest()
622 DrmSessionManager::Instance()->useSession(sessionId); in provideKeyResponse()
651 DrmSessionManager::Instance()->useSession(sessionId); in restoreKeys()
664 DrmSessionManager::Instance()->useSession(sessionId); in queryKeyStatus()
980 DrmSessionManager::Instance()->useSession(sessionId); in setCipherAlgorithm()
991 DrmSessionManager::Instance()->useSession(sessionId); in setMacAlgorithm()
[all …]
DDrmHalHidl.cpp288 DrmSessionManager::Instance()->removeSession(mSessionId); in ~DrmSessionClient()
648 retry = DrmSessionManager::Instance()->reclaimSession(AIBinder_getCallingPid()); in openSession()
658 DrmSessionManager::Instance()->addSession( in openSession()
676 DrmSessionManager::Instance()->removeSession(sessionId); in closeSession()
734 DrmSessionManager::Instance()->useSession(sessionId); in getKeyRequest()
806 DrmSessionManager::Instance()->useSession(sessionId); in provideKeyResponse()
836 DrmSessionManager::Instance()->useSession(sessionId); in restoreKeys()
847 DrmSessionManager::Instance()->useSession(sessionId); in queryKeyStatus()
1296 DrmSessionManager::Instance()->useSession(sessionId); in setCipherAlgorithm()
1307 DrmSessionManager::Instance()->useSession(sessionId); in setMacAlgorithm()
[all …]
DAndroid.bp28 "DrmSessionManager.cpp",
/frameworks/av/drm/libmediadrm/include/mediadrm/
DDrmSessionManager.h52 struct DrmSessionManager : public RefBase { struct
53 static sp<DrmSessionManager> Instance();
55 DrmSessionManager();
56 explicit DrmSessionManager(const std::shared_ptr<IResourceManagerService> &service);
73 virtual ~DrmSessionManager();
84 DISALLOW_EVIL_CONSTRUCTORS(DrmSessionManager); argument
/frameworks/av/media/libmediaplayerservice/tests/
DDrmSessionManager_test.cpp85 FakeDrm(const std::vector<uint8_t>& sessionId, const sp<DrmSessionManager>& manager) in FakeDrm()
115 const sp<DrmSessionManager> mDrmSessionManager;
153 mDrmSessionManager(new DrmSessionManager(mService)), in DrmSessionManagerTest()
170 sp<DrmSessionManager> mDrmSessionManager;