Home
last modified time | relevance | path

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

/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DTypeConvert.h45 template<typename T> const std::vector<T> toVector(const hidl_vec<T> &hVec) { in toVector() function
51 template<typename T> std::vector<T> toVector(hidl_vec<T> &hVec) { in toVector() function
57 template<typename T, size_t SIZE> const std::vector<T> toVector( in toVector() function
64 template<typename T, size_t SIZE> std::vector<T> toVector( in toVector() function
/frameworks/av/drm/libmediadrm/
DDrmHal.cpp103 static const Vector<uint8_t> toVector(const hidl_vec<uint8_t> &vec) { in toVector() function
215 secureStops.push_back(toVector(hSecureStops[i].opaqueData)); in toSecureStops()
224 secureStopIds.push_back(toVector(hSecureStopIds[i])); in toSecureStopIds()
233 keySetIds.push_back(toVector(hKeySetIds[i])); in toKeySetIds()
683 sessionId = toVector(id); in openSession()
692 sessionId = toVector(id); in openSession()
821 request = toVector(hRequest); in getKeyRequest()
835 request = toVector(hRequest); in getKeyRequest()
849 request = toVector(hRequest); in getKeyRequest()
876 keySetId = toVector(hKeySetId); in provideKeyResponse()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DDrmPlugin.cpp157 sp<Session> session = mSessionLibrary->findSession(toVector(sessionId)); in closeSession()
200 const std::vector<uint8_t> scopeId = toVector(scope); in getKeyRequestCommon()
358 const std::vector<uint8_t> scopeId = toVector(scope); in provideKeyResponse()
468 sp<Session> session = mSessionLibrary->findSession(toVector(sessionId)); in restoreKeys()
566 mByteArrayProperties[kClientIdKey] = toVector(value); in setPropertyByteArray()
612 std::vector<uint8_t> sid = toVector(sessionId); in getSecurityLevel()
643 std::vector<uint8_t> sid = toVector(sessionId); in setSecurityLevel()
783 auto itr = mSecureStops.find(toVector(secureStopId)); in getSecureStop()
830 std::vector<uint8_t> input = toVector(ssRelease.opaqueData); in releaseSecureStops()
883 if (1 != mSecureStops.erase(toVector(secureStopId))) { in removeSecureStop()
DCryptoPlugin.cpp198 static_cast<uint8_t*>(destPtr), toVector(subSamples), &bytesDecrypted); in decrypt_1_2()