Searched refs:toHidlVec (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/drm/libmediadrm/ |
D | DrmHalListener.cpp | 34 static hidl_vec<T> toHidlVec(const Vector<T>& vector) { in toHidlVec() function 82 listener->sendEvent(eventType, toHidlVec(toVector(sessionId)), toHidlVec(toVector(data))); in onEvent() 96 listener->sendExpirationUpdate(toHidlVec(toVector(sessionId)), expiryTimeInMS); in onExpirationUpdate() 136 keyStatusList.push_back({type, toHidlVec(toVector(keyStatus.keyId))}); in onKeysChange() 141 listener->sendKeysChange(toHidlVec(toVector(sessionId)), keyStatusList, hasNewUsableKey); in onKeysChange() 164 listener->sendSessionLostState(toHidlVec(toVector(sessionId))); in onSessionLostState()
|
D | DrmHalHidl.cpp | 113 static hidl_vec<uint8_t> toHidlVec(const Vector<uint8_t>& vector) { in toHidlVec() function 266 drm->sendEvent(EventType::SESSION_RECLAIMED, toHidlVec(sessionId), hidl_vec<uint8_t>()); in reclaimResource() 675 Return<Status> status = mPlugin->closeSession(toHidlVec(sessionId)); in closeSession() 757 toHidlVec(sessionId), toHidlVec(initData), toHidlString(mimeType), hKeyType, in getKeyRequest() 770 toHidlVec(sessionId), toHidlVec(initData), toHidlString(mimeType), hKeyType, in getKeyRequest() 783 toHidlVec(sessionId), toHidlVec(initData), toHidlString(mimeType), hKeyType, in getKeyRequest() 813 mPlugin->provideKeyResponse(toHidlVec(sessionId), toHidlVec(response), in provideKeyResponse() 829 Return<Status> status = mPlugin->removeKeys(toHidlVec(keySetId)); in removeKeys() 840 Return<Status> status = mPlugin->restoreKeys(toHidlVec(sessionId), toHidlVec(keySetId)); in restoreKeys() 856 toHidlVec(sessionId), [&](Status status, const hidl_vec<KeyValue>& map) { in queryKeyStatus() [all …]
|
D | CryptoHalHidl.cpp | 58 static hidl_vec<uint8_t> toHidlVec(const Vector<uint8_t>& vector) { in toHidlVec() function 64 static hidl_vec<uint8_t> toHidlVec(const void* ptr, size_t size) { in toHidlVec() function 136 factory->createPlugin(toHidlArray16(uuid), toHidlVec(initData, initDataSize), in makeCryptoPlugin() 396 auto err = mPlugin->setMediaDrmSession(toHidlVec(sessionId)); in setMediaDrmSession()
|
D | CryptoHalAidl.cpp | 125 static hidl_vec<uint8_t> toHidlVec(const void* ptr, size_t size) { in toHidlVec() function 187 std::vector<uint8_t> dataAidl = toStdVec(toVector(toHidlVec(data, size))); in createPlugin()
|
D | DrmUtils.cpp | 112 hidl_vec<uint8_t> toHidlVec(const void* ptr, size_t size) { in toHidlVec() function 152 toHidlArray16(uuid), toHidlVec(initData, initDataSize), in MakeCryptoPlugin()
|
D | DrmHalAidl.cpp | 248 static hidl_vec<uint8_t> toHidlVec(const Vector<uint8_t>& vector) { in toHidlVec() function 368 drm->onEvent(EventTypeAidl::SESSION_RECLAIMED, toHidlVec(sessionId), hidl_vec<uint8_t>()); in reclaimResource()
|