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.cpp111 static const Vector<uint8_t> toVector(const hidl_vec<uint8_t> &vec) { in toVector() function
223 secureStops.push_back(toVector(hSecureStops[i].opaqueData)); in toSecureStops()
232 secureStopIds.push_back(toVector(hSecureStopIds[i])); in toSecureStopIds()
241 keySetIds.push_back(toVector(hKeySetIds[i])); in toKeySetIds()
724 sessionId = toVector(id); in openSession()
733 sessionId = toVector(id); in openSession()
860 request = toVector(hRequest); in getKeyRequest()
874 request = toVector(hRequest); in getKeyRequest()
888 request = toVector(hRequest); in getKeyRequest()
915 keySetId = toVector(hKeySetId); in provideKeyResponse()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DDrmPlugin.cpp150 sp<Session> session = mSessionLibrary->findSession(toVector(sessionId)); in closeSession()
193 const std::vector<uint8_t> scopeId = toVector(scope); in getKeyRequestCommon()
351 const std::vector<uint8_t> scopeId = toVector(scope); in provideKeyResponse()
455 sp<Session> session = mSessionLibrary->findSession(toVector(sessionId)); in restoreKeys()
553 mByteArrayProperties[kClientIdKey] = toVector(value); in setPropertyByteArray()
599 std::vector<uint8_t> sid = toVector(sessionId); in getSecurityLevel()
630 std::vector<uint8_t> sid = toVector(sessionId); in setSecurityLevel()
765 auto itr = mSecureStops.find(toVector(secureStopId)); in getSecureStop()
805 std::vector<uint8_t> input = toVector(ssRelease.opaqueData); in releaseSecureStops()
835 if (1 != mSecureStops.erase(toVector(secureStopId))) { in removeSecureStop()
DCryptoPlugin.cpp193 static_cast<uint8_t*>(destPtr), toVector(subSamples), &bytesDecrypted); in decrypt_1_2()