Home
last modified time | relevance | path

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

/frameworks/av/drm/libmediadrm/
DCryptoHal.cpp85 : mFactories(makeCryptoFactories()), in CryptoHal()
86 mInitCheck((mFactories.size() == 0) ? ERROR_UNSUPPORTED : NO_INIT), in CryptoHal()
164 for (size_t i = 0; i < mFactories.size(); i++) { in isCryptoSchemeSupported()
165 if (mFactories[i]->isCryptoSchemeSupported(uuid)) { in isCryptoSchemeSupported()
176 for (size_t i = 0; i < mFactories.size(); i++) { in createPlugin()
177 if (mFactories[i]->isCryptoSchemeSupported(uuid)) { in createPlugin()
178 mPlugin = makeCryptoPlugin(mFactories[i], uuid, data, size); in createPlugin()
DDrmHal.cpp298 : mFactories(makeDrmFactories()), in DrmHal()
299 mInitCheck((mFactories.size() == 0) ? ERROR_UNSUPPORTED : NO_INIT) { in DrmHal()
553 for (ssize_t i = mFactories.size() - 1; i >= 0; i--) { in isCryptoSchemeSupported()
554 if (mFactories[i]->isCryptoSchemeSupported(uuid)) { in isCryptoSchemeSupported()
555 return matchMimeTypeAndSecurityLevel(mFactories[i], in isCryptoSchemeSupported()
566 for (ssize_t i = mFactories.size() - 1; i >= 0; i--) { in createPlugin()
567 auto hResult = mFactories[i]->isCryptoSchemeSupported(uuid); in createPlugin()
569 auto plugin = makeDrmPlugin(mFactories[i], uuid, appPackageName); in createPlugin()
/frameworks/av/media/codec2/hidl/plugin/samples/
DSampleFilterPlugin.cpp820 mFactories(CreateFactories()) { in SampleC2ComponentStore()
827 if (mFactories.count(name) == 0) { in createComponent()
830 return mFactories.at(name)->createComponent(++mNodeId, component); in createComponent()
834 if (mFactories.count(name) == 0) { in createInterface()
837 return mFactories.at(name)->createInterface(++mNodeId, interface); in createInterface()
841 for (const auto &[name, factory] : mFactories) { in listComponents()
938 const std::map<C2String, std::unique_ptr<ComponentFactory>> mFactories; member in android::SampleC2ComponentStore
/frameworks/av/drm/libmediadrm/include/mediadrm/
DCryptoHal.h80 const Vector<sp<ICryptoFactory>> mFactories; member
DDrmHal.h215 const std::vector<sp<IDrmFactory>> mFactories; member