Lines Matching refs:cas
32 using namespace hardware::cas::V1_0;
33 using namespace hardware::cas::native::V1_0;
41 status_t setMediaCas(const sp<ICas> &cas, PidToSessionMap &sessionMap);
46 void closeAllSessions(const sp<ICas>& cas);
59 const sp<ICas>& cas,
62 void closeSession(const sp<ICas>& cas, const CasSession &casSession);
94 const sp<ICas> &cas, PidToSessionMap &sessionMap) { in setMediaCas() argument
96 return initSession(cas, sessionMap, &mProgramCas); in setMediaCas()
102 cas, sessionMap, &mStreamPidToCasMap.editValueAt(index)); in setMediaCas()
129 const sp<ICas>& cas, in initSession() argument
146 auto returnVoid = cas->openSession( in initSession()
157 returnStatus = cas->setSessionPrivateData(sessionId, descriptor.mPrivateData); in initSession()
197 cas->closeSession(sessionId); in initSession()
206 const sp<ICas>& cas, const CasSession &casSession) { in closeSession() argument
211 cas->closeSession(casSession.mSessionId); in closeSession()
216 const sp<ICas>& cas) { in closeAllSessions() argument
218 closeSession(cas, mProgramCas); in closeAllSessions()
221 closeSession(cas, mStreamPidToCasMap.editValueAt(index)); in closeAllSessions()
257 status_t ATSParser::CasManager::setMediaCas(const sp<ICas> &cas) { in setMediaCas() argument
258 if (cas == NULL) { in setMediaCas()
269 index)->setMediaCas(cas, mCAPidToSessionIdMap)) != OK) { in setMediaCas()
273 mICas = cas; in setMediaCas()