Home
last modified time | relevance | path

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

/frameworks/av/drm/libmediadrm/
DDrmHalAidl.cpp103 static std::vector<Byte> toStdVec(const Vector<uint8_t>& vector) { in toStdVec() function
560 std::vector<uint8_t> sessionIdAidl = toStdVec(sessionId); in closeSession()
605 std::vector<uint8_t> sessionIdAidl = toStdVec(sessionId); in getKeyRequest()
606 std::vector<uint8_t> initDataAidl = toStdVec(initData); in getKeyRequest()
634 std::vector<uint8_t> sessionIdAidl = toStdVec(sessionId); in provideKeyResponse()
635 std::vector<uint8_t> responseAidl = toStdVec(response); in provideKeyResponse()
650 ::ndk::ScopedAStatus status = mPlugin->removeKeys(toStdVec(keySetId)); in removeKeys()
662 keySetIdsAidl.keySetId = toStdVec(keySetId); in restoreKeys()
663 ::ndk::ScopedAStatus status = mPlugin->restoreKeys(toStdVec(sessionId), keySetIdsAidl); in restoreKeys()
675 ::ndk::ScopedAStatus status = mPlugin->queryKeyStatus(toStdVec(sessionId), &infoMapAidl); in queryKeyStatus()
[all …]
DDrmMetricsLogger.cpp31 std::vector<uint8_t> toStdVec(Vector<uint8_t> const& sessionId) { in toStdVec() function
179 std::vector<uint8_t> sessionKey = toStdVec(sessionId); in openSession()
199 std::vector<uint8_t> sid = toStdVec(sessionId); in closeSession()
221 reportMediaDrmErrored(status, __func__, toStdVec(sessionId)); in getKeyRequest()
231 reportMediaDrmErrored(status, __func__, toStdVec(sessionId)); in provideKeyResponse()
248 reportMediaDrmErrored(status, __func__, toStdVec(sessionId)); in restoreKeys()
257 reportMediaDrmErrored(status, __func__, toStdVec(sessionId)); in queryKeyStatus()
353 reportMediaDrmErrored(status, __func__, toStdVec(sessionId)); in getSecurityLevel()
429 reportMediaDrmErrored(status, __func__, toStdVec(sessionId)); in setCipherAlgorithm()
438 reportMediaDrmErrored(status, __func__, toStdVec(sessionId)); in setMacAlgorithm()
[all …]
DDrmSessionManager.cpp50 static std::vector<Byte> toStdVec(const Vector<uint8_t> &vector) { in toStdVec() function
69 toStdVec<>(sessionId), value}; in toResourceVec()
183 mSessionMap[toStdVec(sessionId)] = (SessionInfo){pid, uid, clientId, drm, INT64_MAX}; in addSession()
194 auto it = mSessionMap.find(toStdVec(sessionId)); in useSession()
211 auto it = mSessionMap.find(toStdVec(sessionId)); in removeSession()
256 return mSessionMap.count(toStdVec(sessionId)); in containsSession()
DCryptoHalAidl.cpp67 static std::vector<Byte> toStdVec(const Vector<uint8_t>& vector) { in toStdVec() function
142 static std::vector<uint8_t> toStdVec(const uint8_t* ptr, size_t n) { in toStdVec() function
187 std::vector<uint8_t> dataAidl = toStdVec(toVector(toHidlVec(data, size))); in createPlugin()
270 auto err = mPlugin->setMediaDrmSession(toStdVec(sessionId)); in setMediaDrmSession()
337 std::vector<uint8_t> keyIdAidl(toStdVec(keyId, 16)); in decrypt()
338 std::vector<uint8_t> ivAidl(toStdVec(iv, 16)); in decrypt()