Home
last modified time | relevance | path

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

/frameworks/av/drm/libmediadrm/
DCryptoHal.cpp120 : mFactories(makeCryptoFactories()), in CryptoHal()
121 mInitCheck((mFactories.size() == 0) ? ERROR_UNSUPPORTED : NO_INIT), in CryptoHal()
197 for (size_t i = 0; i < mFactories.size(); i++) { in isCryptoSchemeSupported()
198 if (mFactories[i]->isCryptoSchemeSupported(uuid)) { in isCryptoSchemeSupported()
209 for (size_t i = 0; i < mFactories.size(); i++) { in createPlugin()
210 if (mFactories[i]->isCryptoSchemeSupported(uuid)) { in createPlugin()
211 mPlugin = makeCryptoPlugin(mFactories[i], uuid, data, size); in createPlugin()
DDrmHal.cpp336 : mFactories(makeDrmFactories()), in DrmHal()
337 mInitCheck((mFactories.size() == 0) ? ERROR_UNSUPPORTED : NO_INIT) { in DrmHal()
646 for (ssize_t i = mFactories.size() - 1; i >= 0; i--) { in isCryptoSchemeSupported()
647 if (mFactories[i]->isCryptoSchemeSupported(uuid)) { in isCryptoSchemeSupported()
648 return matchMimeTypeAndSecurityLevel(mFactories[i], in isCryptoSchemeSupported()
659 for (ssize_t i = mFactories.size() - 1; i >= 0; i--) { in createPlugin()
660 if (mFactories[i]->isCryptoSchemeSupported(uuid)) { in createPlugin()
661 auto plugin = makeDrmPlugin(mFactories[i], uuid, appPackageName); in createPlugin()
/frameworks/av/drm/libmediadrm/include/mediadrm/
DCryptoHal.h74 const Vector<sp<ICryptoFactory>> mFactories; member
DDrmHal.h222 const Vector<sp<IDrmFactory>> mFactories; member