• Home
  • Raw
  • Download

Lines Matching refs:DrmHal

237 Mutex DrmHal::mLock;
239 struct DrmHal::DrmSessionClient : public aidl::android::media::BnResourceManagerClient {
240 explicit DrmSessionClient(DrmHal* drm, const Vector<uint8_t>& sessionId) in DrmSessionClient()
252 wp<DrmHal> mDrm;
257 ::ndk::ScopedAStatus DrmHal::DrmSessionClient::reclaimResource(bool* _aidl_return) { in reclaimResource()
259 sp<DrmHal> drm = mDrm.promote(); in reclaimResource()
275 ::ndk::ScopedAStatus DrmHal::DrmSessionClient::getName(::std::string* _aidl_return) { in getName()
277 sp<DrmHal> drm = mDrm.promote(); in getName()
293 DrmHal::DrmSessionClient::~DrmSessionClient() { in ~DrmSessionClient()
297 DrmHal::DrmHal() in DrmHal() function in android::DrmHal
302 void DrmHal::closeOpenSessions() { in closeOpenSessions()
313 DrmHal::~DrmHal() { in ~DrmHal()
316 void DrmHal::cleanup() { in cleanup()
339 std::vector<sp<IDrmFactory>> DrmHal::makeDrmFactories() { in makeDrmFactories()
354 sp<IDrmPlugin> DrmHal::makeDrmPlugin(const sp<IDrmFactory>& factory, in makeDrmPlugin()
379 status_t DrmHal::initCheck() const { in initCheck()
383 status_t DrmHal::setListener(const sp<IDrmClient>& listener) in setListener()
390 Return<void> DrmHal::sendEvent(EventType hEventType, in sendEvent()
425 Return<void> DrmHal::sendExpirationUpdate(const hidl_vec<uint8_t>& sessionId, in sendExpirationUpdate()
439 Return<void> DrmHal::sendKeysChange(const hidl_vec<uint8_t>& sessionId, in sendKeysChange()
450 Return<void> DrmHal::sendKeysChange_1_2(const hidl_vec<uint8_t>& sessionId, in sendKeysChange_1_2()
502 Return<void> DrmHal::sendSessionLostState( in sendSessionLostState()
516 status_t DrmHal::matchMimeTypeAndSecurityLevel(const sp<IDrmFactory> &factory, in matchMimeTypeAndSecurityLevel()
547 status_t DrmHal::isCryptoSchemeSupported(const uint8_t uuid[16], in isCryptoSchemeSupported()
562 status_t DrmHal::createPlugin(const uint8_t uuid[16], in createPlugin()
604 status_t DrmHal::destroyPlugin() { in destroyPlugin()
609 status_t DrmHal::openSession(DrmPlugin::SecurityLevel level, in openSession()
680 status_t DrmHal::closeSession(Vector<uint8_t> const &sessionId) { in closeSession()
737 status_t DrmHal::getKeyRequest(Vector<uint8_t> const &sessionId, in getKeyRequest()
814 status_t DrmHal::provideKeyResponse(Vector<uint8_t> const &sessionId, in provideKeyResponse()
838 status_t DrmHal::removeKeys(Vector<uint8_t> const &keySetId) { in removeKeys()
846 status_t DrmHal::restoreKeys(Vector<uint8_t> const &sessionId, in restoreKeys()
858 status_t DrmHal::queryKeyStatus(Vector<uint8_t> const &sessionId, in queryKeyStatus()
881 status_t DrmHal::getProvisionRequest(String8 const &certType, in getProvisionRequest()
921 status_t DrmHal::provideProvisionResponse(Vector<uint8_t> const &response, in provideProvisionResponse()
944 status_t DrmHal::getSecureStops(List<Vector<uint8_t>> &secureStops) { in getSecureStops()
963 status_t DrmHal::getSecureStopIds(List<Vector<uint8_t>> &secureStopIds) { in getSecureStopIds()
989 status_t DrmHal::getSecureStop(Vector<uint8_t> const &ssid, Vector<uint8_t> &secureStop) { in getSecureStop()
1007 status_t DrmHal::releaseSecureStops(Vector<uint8_t> const &ssRelease) { in releaseSecureStops()
1022 status_t DrmHal::removeSecureStop(Vector<uint8_t> const &ssid) { in removeSecureStop()
1037 status_t DrmHal::removeAllSecureStops() { in removeAllSecureStops()
1050 status_t DrmHal::getHdcpLevels(DrmPlugin::HdcpLevel *connected, in getHdcpLevels()
1089 status_t DrmHal::getNumberOfSessions(uint32_t *open, uint32_t *max) const { in getNumberOfSessions()
1118 status_t DrmHal::getSecurityLevel(Vector<uint8_t> const &sessionId, in getSecurityLevel()
1146 status_t DrmHal::getOfflineLicenseKeySetIds(List<Vector<uint8_t>> &keySetIds) const { in getOfflineLicenseKeySetIds()
1171 status_t DrmHal::removeOfflineLicense(Vector<uint8_t> const &keySetId) { in removeOfflineLicense()
1186 status_t DrmHal::getOfflineLicenseState(Vector<uint8_t> const &keySetId, in getOfflineLicenseState()
1213 status_t DrmHal::getPropertyString(String8 const &name, String8 &value ) const { in getPropertyString()
1218 status_t DrmHal::getPropertyStringInternal(String8 const &name, String8 &value) const { in getPropertyStringInternal()
1237 status_t DrmHal::getPropertyByteArray(String8 const &name, Vector<uint8_t> &value ) const { in getPropertyByteArray()
1242 status_t DrmHal::getPropertyByteArrayInternal(String8 const &name, Vector<uint8_t> &value ) const { in getPropertyByteArrayInternal()
1265 status_t DrmHal::setPropertyString(String8 const &name, String8 const &value ) const { in setPropertyString()
1274 status_t DrmHal::setPropertyByteArray(String8 const &name, in setPropertyByteArray()
1284 status_t DrmHal::getMetrics(const sp<IDrmMetricsConsumer> &consumer) { in getMetrics()
1325 status_t DrmHal::setCipherAlgorithm(Vector<uint8_t> const &sessionId, in setCipherAlgorithm()
1337 status_t DrmHal::setMacAlgorithm(Vector<uint8_t> const &sessionId, in setMacAlgorithm()
1349 status_t DrmHal::encrypt(Vector<uint8_t> const &sessionId, in encrypt()
1372 status_t DrmHal::decrypt(Vector<uint8_t> const &sessionId, in decrypt()
1395 status_t DrmHal::sign(Vector<uint8_t> const &sessionId, in sign()
1418 status_t DrmHal::verify(Vector<uint8_t> const &sessionId, in verify()
1443 status_t DrmHal::signRSA(Vector<uint8_t> const &sessionId, in signRSA()
1466 std::string DrmHal::reportFrameworkMetrics(const std::string& pluginMetrics) const in reportFrameworkMetrics()
1505 std::string DrmHal::reportPluginMetrics() const in reportPluginMetrics()
1525 status_t DrmHal::requiresSecureDecoder(const char *mime, bool *required) const { in requiresSecureDecoder()
1541 status_t DrmHal::requiresSecureDecoder(const char *mime, DrmPlugin::SecurityLevel securityLevel, in requiresSecureDecoder()
1559 status_t DrmHal::setPlaybackId(Vector<uint8_t> const &sessionId, const char *playbackId) { in setPlaybackId()
1568 status_t DrmHal::getLogMessages(Vector<drm::V1_4::LogMessage> &logs) const { in getLogMessages()